
/* YFI DAY 5 — ABOUT / CREDIBILITY. Extends Day 4 + FRAMELOCK V2; does not replace prior rules. */
.day5-page{background:#f7f5f0;color:#081a2b}.d5-hero{min-height:780px;position:relative;display:flex;align-items:flex-end;overflow:hidden;background:#081a2b;color:#fff}.d5-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% 28%}.d5-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,16,28,.96),rgba(4,16,28,.7) 52%,rgba(4,16,28,.18))}.d5-hero-copy{position:relative;z-index:2;width:min(1280px,100%);padding:170px max(24px,calc((100vw - 1280px)/2)) 92px}.d5-hero h1,.d5-safehero h1{font:400 clamp(48px,6.3vw,90px)/.94 Georgia,serif;letter-spacing:-.035em;margin:15px 0 24px}.d5-hero h1 em,.d5-safehero h1 em,.d5-story h2 em,.d5-founder h2 em,.d5-world h2 em,.d5-philosophy h2 em,.d5-path h2 em,.d5-breadth h2 em,.d5-education h2 em,.d5-values h2 em,.d5-safe h2 em,.d5-why h2 em,.d5-coop h2 em,.d5-final h2 em,.d5-policy h2 em{font-style:italic;color:#c6a15b}.d5-hero-copy>p:not(.eyebrow){max-width:700px;font-size:18px;line-height:1.7;color:#d6dde2}.d5-trust{display:grid;grid-template-columns:repeat(4,1fr);max-width:1280px;margin:-1px auto 0;background:#fff;border-bottom:1px solid rgba(8,26,43,.12)}.d5-trust div{padding:30px;border-right:1px solid rgba(8,26,43,.1)}.d5-trust strong{display:block;font:400 25px Georgia,serif}.d5-trust span{display:block;font-size:12px;color:#63717b;margin-top:7px}.d5-story{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px;align-items:start}.d5-story h2,.d5-founder h2,.d5-breadth h2,.d5-education h2,.d5-safe h2,.d5-coop h2,.d5-final h2{font:400 clamp(40px,4.8vw,68px)/1 Georgia,serif;margin:10px 0 22px}.d5-story-copy{font-size:16px;line-height:1.8;color:#56656f}.d5-story-copy .lead{font:400 25px/1.55 Georgia,serif;color:#081a2b}.d5-founder{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;background:#fff;align-items:center}.d5-founder-media{overflow:hidden;aspect-ratio:4/5;background:#081a2b}.d5-founder-media img,.d5-breadth-media img,.d5-education-media img{width:100%;height:100%;display:block;object-fit:cover}.d5-founder-media img{object-position:50% 20%}.d5-founder-copy>p{line-height:1.7;color:#56656f}.d5-founder-copy .lead{font:400 21px Georgia,serif;color:#081a2b}.d5-checks{list-style:none;padding:0;margin:25px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.d5-checks li{padding:12px 0;border-top:1px solid rgba(8,26,43,.12);font-size:13px;font-weight:700}.d5-world,.d5-path,.d5-values{background:#081a2b;color:#fff}.d5-world .d4-head>p:last-child,.d5-path .d4-head>p:last-child{color:#bdc8cf}.country-field{display:flex;flex-wrap:wrap;gap:10px;margin-top:48px}.country-field span{border:1px solid rgba(255,255,255,.22);padding:13px 17px;border-radius:999px;font-size:12px;letter-spacing:.05em}.d5-pillars,.d5-value-grid,.d5-policy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(8,26,43,.12);margin-top:50px}.d5-pillars article,.d5-policy-grid article{background:#fff;padding:32px}.d5-pillars b{font-size:11px;color:#c6a15b}.d5-pillars h3,.d5-value-grid h3,.d5-policy-grid h3{font:400 23px Georgia,serif;margin:18px 0 10px}.d5-pillars p,.d5-policy-grid p{color:#63717b;line-height:1.65;font-size:14px}.d5-breadth,.d5-education{display:grid;grid-template-columns:1fr 1fr;gap:76px;align-items:center}.d5-breadth-media,.d5-education-media{overflow:hidden;aspect-ratio:4/3;background:#081a2b}.d5-breadth-media img{object-position:center 35%}.d5-education-media img{object-position:center center}.d5-breadth-copy>p,.d5-education-copy>p{line-height:1.75;color:#5c6972}.d5-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.d5-tags span{border:1px solid rgba(8,26,43,.16);padding:10px 13px;border-radius:999px;font-size:11px;font-weight:800}.d5-dual{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#d8d4cc}.d5-dual article{background:#fff;padding:48px}.d5-dual h3{font:400 30px/1.15 Georgia,serif}.d5-dual p:last-child{color:#5d6972;line-height:1.7}.d5-note{font-size:12px!important;border-left:2px solid #c6a15b;padding-left:15px}.d5-value-grid{grid-template-columns:repeat(3,1fr);background:rgba(255,255,255,.14)}.d5-value-grid article{padding:31px;background:#0a2135}.d5-value-grid p{font-size:13px;line-height:1.6;color:#bdc8cf}.d5-safe{display:grid;grid-template-columns:1fr 1fr;gap:76px;align-items:center;background:#fff}.d5-safe-copy>p{line-height:1.75;color:#5b6972}.d5-certificate{border:1px solid rgba(8,26,43,.12);background:#f7f5f0;padding:20px}.d5-certificate img{width:100%;height:auto;display:block;max-height:440px;object-fit:contain;background:#fff}.d5-certificate div{padding:18px 5px 4px}.d5-certificate strong,.d5-certificate span,.d5-certificate small{display:block}.d5-certificate strong{font-size:11px;letter-spacing:.12em}.d5-certificate span{font:400 22px Georgia,serif;margin:6px 0}.d5-certificate small{color:#68757e;line-height:1.5}.d5-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(8,26,43,.12);margin-top:45px}.d5-why-grid span{background:#fff;padding:27px 22px;font-weight:750;font-size:13px}.d5-coop{background:linear-gradient(110deg,#061422,#0c2a43);color:#fff}.d5-coop-copy{max-width:850px}.d5-coop-copy>p{max-width:760px;color:#c2ccd3;line-height:1.75}.d5-final{text-align:center;background:#081a2b;color:#fff}.d5-final>p:not(.eyebrow){color:#c2ccd3}.d5-final .actions{justify-content:center}.d5-safehero{min-height:600px;background:linear-gradient(120deg,#061422,#0b2942);color:#fff;display:flex;align-items:end}.d5-safehero-copy{width:min(1280px,100%);margin:auto;padding:170px 24px 85px}.d5-safehero-copy>p:not(.eyebrow){max-width:720px;color:#c3cdd4;line-height:1.7}.d5-policy-grid{grid-template-columns:repeat(3,1fr)}
html[dir="rtl"] .d5-story,html[dir="rtl"] .d5-founder,html[dir="rtl"] .d5-breadth,html[dir="rtl"] .d5-education,html[dir="rtl"] .d5-safe{text-align:right}.day5-page footer a{color:inherit}
@media(max-width:1100px){.d5-story{gap:50px}.d5-founder,.d5-breadth,.d5-education,.d5-safe{gap:44px}.d5-pillars{grid-template-columns:repeat(2,1fr)}.d5-why-grid{grid-template-columns:repeat(2,1fr)}.d5-checks{grid-template-columns:1fr}.d5-trust{margin:0 36px}.d5-policy-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.d5-hero{min-height:720px}.d5-hero>img{object-position:62% 24%}.d5-hero-shade{background:linear-gradient(0deg,rgba(4,16,28,.97),rgba(4,16,28,.68) 70%,rgba(4,16,28,.18))}.d5-hero-copy{padding:145px 20px 60px}.d5-hero h1,.d5-safehero h1{font-size:clamp(40px,11vw,54px)}.d5-trust{grid-template-columns:1fr 1fr;margin:0}.d5-trust div{padding:22px 18px}.d5-story,.d5-founder,.d5-breadth,.d5-education,.d5-safe,.d5-dual{display:flex;flex-direction:column;gap:34px}.d5-founder-media,.d5-breadth-media,.d5-education-media{width:100%;aspect-ratio:4/3}.d5-founder-media{aspect-ratio:4/5}.d5-pillars,.d5-value-grid,.d5-why-grid,.d5-policy-grid{grid-template-columns:1fr}.d5-dual article{padding:34px 24px}.d5-certificate{padding:12px}.d5-safehero{min-height:540px}.d5-safehero-copy{padding:145px 20px 65px}}
/* FRAMELOCK V2 — Day 5 subject preservation for short landscape phones. */
@media(orientation:landscape) and (max-height:600px) and (max-width:1000px){.d5-hero{min-height:100svh;height:auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);padding-top:72px}.d5-hero>img{position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;height:calc(100svh - 72px);min-height:250px;object-fit:contain!important;object-position:center center!important;background:#081a2b}.d5-hero-shade{display:none}.d5-hero-copy{grid-column:1;grid-row:1;align-self:center;padding:30px 28px;background:linear-gradient(90deg,#061422,#0a2135);width:100%}.d5-hero h1{font-size:clamp(32px,6vw,52px)}.d5-founder-media,.d5-breadth-media,.d5-education-media{aspect-ratio:auto!important;height:auto!important;min-height:0}.d5-founder-media img,.d5-breadth-media img,.d5-education-media img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important}.d5-certificate img{height:auto!important;object-fit:contain!important}.d5-safehero{min-height:100svh}}
@media(prefers-reduced-motion:reduce){.day5-page .reveal{opacity:1!important;transform:none!important;transition:none!important}}

/* YFI FINAL MEDIA QA — subject-safe responsive framing */
img{max-width:100%;display:block}
.media-frame img,.d4-photo img,.d5-founder-media img,.d5-breadth-media img,.d5-education-media img,.founder-image img,.school-media img,.camp-image img,.results-image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:#081a2b}
.media-frame,.d4-photo,.d5-founder-media,.d5-breadth-media,.d5-education-media,.founder-image,.school-media,.camp-image,.results-image{height:auto!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden}
@media(max-width:767px){.d4-photo img,.d5-founder-media img,.d5-breadth-media img,.d5-education-media img,.founder-image img,.school-media img,.camp-image img,.results-image img{width:100%;height:auto!important;object-fit:contain!important}}
@media(orientation:landscape) and (max-height:500px) and (max-width:1000px){.d4-photo img,.d5-founder-media img,.d5-breadth-media img,.d5-education-media img,.founder-image img,.school-media img,.camp-image img,.results-image img{width:100%;height:auto!important;object-fit:contain!important}.d4-hero{min-height:calc(100svh - 62px)!important}.d4-hero>img{width:100%!important;height:calc(100svh - 62px)!important;object-fit:contain!important;object-position:center!important;background:#081a2b!important}}
