/* v3 — implementation of the approved dark-blue single-page reference. */
:root{--v3-deep:#06182a;--v3-navy:#0a2138;--v3-blue:#60c9ff;--v3-ink:#0a2342;--v3-line:#dce6f0}
html{scroll-padding-top:84px}
.site-header{position:sticky;top:0;z-index:100;height:72px;background:#071b2f;border-bottom:1px solid rgba(131,203,255,.11)}
.site-header .brand,.footer .brand{letter-spacing:-.07em;font-weight:800;font-size:29px}
.site-header .brand span,.footer .brand span{margin-left:.16em;color:#4f91f0}
.site-header .desktop-nav{gap:32px;font-size:12px;color:#d1e1f0}
.site-header .desktop-nav a{padding:25px 0}
.site-header .desktop-nav a.current::after{bottom:18px;background:var(--v3-blue)}
.site-header .header-cta{font-size:12px}
.home-hero{background:radial-gradient(ellipse at 80% 47%,#113b5f 0,#071e35 49%,#06192b 88%);color:#fff;isolation:isolate;position:relative;overflow:hidden;border-bottom:1px solid #bad8e21f}
.home-hero::after{content:"";position:absolute;z-index:0;inset:0;background:linear-gradient(100deg,rgba(3,17,30,.2),transparent 68%),repeating-linear-gradient(130deg,transparent 0,transparent 230px,rgba(46,162,251,.055) 231px,transparent 233px);pointer-events:none}
.hero-world{position:absolute;inset:0 0 0 auto;width:92%;background-image:url('/assets/hero-world.svg');background-size:contain;background-repeat:no-repeat;background-position:center right;opacity:.55;pointer-events:none;z-index:0}
.home-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:center;min-height:555px;z-index:1}
.home-hero-copy{position:relative;z-index:4;padding:45px 0 43px;max-width:760px}
.home-hero .eyebrow{font-size:11px;letter-spacing:.26em;font-weight:800;color:#72d4ff}
.home-hero h1{font-size:clamp(38px,3.85vw,56px);letter-spacing:-.063em;line-height:1.12;margin:20px 0 14px;max-width:760px;font-weight:800;text-wrap:balance}
.home-hero h1 span{color:#67c7ff}
.home-hero-copy>p{max-width:610px;font-size:19px;color:#ebf4fd;font-weight:400;margin:0 0 27px;line-height:1.4}
.home-hero-copy>p strong{font-weight:800;color:white}
.home-hero-ctas{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.home-hero-ctas .button{min-width:190px;padding:13px 27px;min-height:49px;justify-content:center;gap:17px;font-size:13px}
.home-hero-ctas .button-ghost{min-width:138px;border-color:#b2d6ec;color:white;background:rgba(0,6,18,.18)}
.home-hero-ctas .button-ghost:hover{background:rgba(255,255,255,.1)}
.hero-attributes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;max-width:655px;margin-top:48px}
.hero-attribute{display:flex;gap:11px;align-items:center;min-width:0;color:#ecf5fd}
.hero-attribute span{font-size:11px;line-height:1.34}
.line-icon{display:block;width:29px;height:29px;flex:none}
.hero-attribute .line-icon{width:30px;height:30px;color:#5dccff;stroke-width:1.7}
.hero-person{position:absolute;right:-32px;bottom:0;width:min(42.5%,490px);height:100%;z-index:2;pointer-events:none}
.hero-person::before{content:"";position:absolute;inset:auto 0 0;height:25%;z-index:2;background:linear-gradient(0deg,#081c2e 0,transparent 78%);opacity:.03}
.hero-person>img{position:absolute;right:0;bottom:-101px;width:100%;height:auto;min-height:0;object-fit:contain;object-position:bottom right;filter:drop-shadow(-17px 6px 38px rgba(3,8,20,.15))}
.hero-person-caption{position:absolute;z-index:3;right:-5px;top:48%;font-family:Georgia,serif;font-style:italic;font-size:21px;color:#e6f4ff;text-align:center;text-shadow:0 2px 11px #061528}
.hero-person-caption small{font-family:'DM Sans',sans-serif;font-style:normal;font-size:8px;letter-spacing:.16em;display:block;margin-top:4px;color:#80d4ff}
/* 2 — Who I am: exactly the user-provided family photograph and four credentials. */
.home-identity{background:#fff;padding:45px 0 49px;color:#102543}
.identity-grid{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:55px}
.identity-picture{height:410px;min-height:0;overflow:hidden;border-radius:12px;background:#d6e8f2;box-shadow:0 10px 26px rgba(4,24,43,.065)}
.identity-picture img{width:100%;height:100%;object-fit:cover;object-position:center 29%}
.identity-copy{max-width:545px}
.identity-copy .eyebrow{color:#4d93df;letter-spacing:.25em;font-size:10px}
.identity-copy h2{font-size:clamp(36px,3.7vw,48px);line-height:1.12;margin:10px 0 13px;color:#0b2848}
.identity-copy>p{font-size:16px;color:#233e5c;line-height:1.65;max-width:495px;margin:0 0 26px}
.identity-facts{list-style:none;padding:0;margin:0;display:grid;gap:17px}
.identity-facts li{display:flex;gap:23px;align-items:center;font-size:14px;font-weight:600;line-height:1.5;color:#123150}
.identity-facts .line-icon{width:28px;height:28px;stroke-width:1.75;color:#122b4e}
.identity-more{font-size:12px;font-weight:800;display:inline-flex;gap:12px;color:#1c76b8;align-items:center;margin-top:24px;border-bottom:1px solid #8dbbdb;padding-bottom:5px}
/* 3 — Dark flexible learning section + the original NG Prime materials. */
.home-learning{position:relative;overflow:hidden;background:radial-gradient(ellipse at 54% 0,#144267 0,transparent 53%),linear-gradient(130deg,#071a2d,#092139 70%,#061929);color:white;padding:63px 0 57px}
.home-learning::before{content:"";position:absolute;inset:0;opacity:.13;background:repeating-linear-gradient(135deg,transparent 0,transparent 160px,#368abd 160px,#368abd 161px,transparent 162px)}
.learning-wrap{position:relative;z-index:1}
.learning-intro{width:68%;position:relative;z-index:2}
.learning-intro .eyebrow{color:#70cfff}
.learning-intro h2{font-size:clamp(34px,3.7vw,51px);line-height:1.11;margin:11px 0 12px}
.learning-intro>p{font-size:17px;color:#f4f8fd;line-height:1.4;margin-bottom:12px}
.learning-caption{font-size:12px;color:#acd1eb;max-width:630px;line-height:1.5}
.learning-covers{position:absolute;top:-75px;right:7%;width:325px;height:245px;z-index:1;pointer-events:none}
.learning-covers .cover{position:absolute;top:20px;width:140px;height:198px;object-fit:cover;box-shadow:0 14px 24px rgba(0,4,13,.55);border:1px solid rgba(255,255,255,.48);border-radius:3px}
.learning-covers .cover-1{left:10px;transform:rotate(-15deg);top:40px}
.learning-covers .cover-2{left:104px;transform:rotate(1deg);top:20px}
.learning-covers .cover-3{left:196px;transform:rotate(14deg);top:39px}
.flex-language-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:51px}
.flex-language-card{min-width:0;overflow:hidden;border:1px solid #326180;border-radius:11px;background:#0e2b47;box-shadow:0 15px 29px rgba(0,6,20,.18)}
.flex-language-card>img{width:100%;height:190px;object-fit:cover;object-position:center;filter:saturate(.92)}
.flex-language-label{padding:15px 22px 19px;min-height:98px;color:#fff;background:linear-gradient(125deg,#0d2943,#0b2038)}
.flex-language-label h3{font-size:22px;margin:0 0 4px;letter-spacing:-.03em}
.flex-language-label p{margin:0;color:#d9e7f4;font-size:12px;line-height:1.45;max-width:260px}
/* 4 — Light pricing with two cards and simple inclusions. */
.home-pricing{padding:74px 0 72px;background:#fff;color:#0b2441}
.home-pricing .eyebrow{font-size:10px;letter-spacing:.25em;color:#4e9bd5}
.home-pricing h2{font-size:clamp(37px,4.1vw,53px);line-height:1.1;margin:10px 0 32px}
.home-price-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(240px,.9fr);gap:22px;align-items:stretch}
.home-price-card{position:relative;min-height:285px;border:1px solid #dfe7ef;border-radius:12px;padding:30px 26px 25px;display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(#fff,#fbfcfe)}
.home-price-card.featured{background:linear-gradient(132deg,#eff8ff,#f9fcfe);border-color:#8bcdf9}
.home-price-card h3{font-size:17px;letter-spacing:-.02em;margin:0 0 9px;color:#123052}
.home-price{line-height:1.05;font-size:21px;font-weight:700;margin:0;color:#072342;letter-spacing:-.06em;white-space:nowrap}
.home-price strong{font-size:clamp(36px,3.2vw,49px);font-weight:800}
.home-price span{font-size:17px;font-weight:600;letter-spacing:-.03em}
.home-price-rule{height:1px;background:#d5e3ef;width:100%;margin:20px 0 17px}
.home-price-card>p:not(.home-price){font-size:14px;line-height:1.45;margin:0 0 20px;color:#344b67}
.plan-inline-link{font-size:12px;font-weight:800;color:#176294;display:inline-flex;gap:10px;align-items:center;margin-top:auto;border-bottom:1px solid #a5c8df;padding-bottom:5px}
.price-badge{position:absolute;top:-14px;right:15px;background:#68cbff;color:#05243d;border-radius:30px;padding:6px 14px;font-size:10px;font-weight:800}
.home-price-perks{border-left:1px solid #d8e2ea;padding-left:24px;display:grid;grid-template-rows:repeat(4,minmax(0,1fr))}
.price-perk{display:flex;gap:17px;align-items:center;padding:12px 0;border-bottom:1px solid #e4ebf0}
.price-perk:first-child{padding-top:0}.price-perk:last-child{border:0;padding-bottom:0}
.price-perk .line-icon{width:27px;height:27px;stroke-width:1.65;color:#123253}
.price-perk div{display:flex;flex-direction:column;gap:3px}
.price-perk strong{font-size:13px;font-weight:800;color:#143352}
.price-perk span{font-size:12px;color:#62738a;line-height:1.35}
/* 5 — FAQ in two columns, matching the reference. */
.home-faq{padding:68px 0 72px;background:radial-gradient(ellipse at 78% 15%,#12395c,#071e34 63%,#061b2f);color:white}
.home-faq .eyebrow{font-size:10px;color:#6fcfff;letter-spacing:.24em}
.home-faq h2{font-size:clamp(34px,3.8vw,49px);margin:9px 0 29px;color:white}
.home-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);grid-auto-flow:column;gap:10px 28px;align-items:start}
.faq-entry{border:1px solid rgba(132,192,233,.25);border-radius:7px;background:rgba(4,20,38,.27);overflow:hidden}
.faq-entry summary{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:13px 15px;cursor:pointer;font-size:13px;font-weight:700;color:#f1f7fc;list-style:none}
.faq-entry summary::-webkit-details-marker{display:none}
.faq-entry .plus{display:inline-grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border:1px solid #aacfe5;border-radius:50%;font-size:17px;font-weight:400;line-height:1;transition:transform .15s}
.faq-entry[open] .plus{transform:rotate(45deg);background:#75cfff;color:#0d2944}
.faq-entry p{padding:0 16px 15px;font-size:13px;color:#c8ddeb;line-height:1.6;margin:0}
/* Final New York City image: only the photo changes, the dark reference is preserved. */
.nyc-cta{background-image:linear-gradient(90deg,#071b2f 0%,#071b2ffb 45%,#081e35d0 67%,#0b23477a 100%),url('/assets/nyc-footer.webp');background-position:center,center 54%;background-size:cover;min-height:240px;color:white;border-top:1px solid rgba(147,199,222,.2)}
.nyc-cta-inner{display:flex;gap:60px;align-items:center;justify-content:space-between;min-height:240px;padding:46px 0}
.nyc-cta h2{font-size:clamp(34px,3.8vw,50px);margin:9px 0 9px}
.nyc-cta p{font-size:14px;color:#e8f2fa;line-height:1.55;max-width:590px;margin:0}
.nyc-cta .button{min-width:175px;padding:13px 24px;box-shadow:0 8px 30px #03132235}
.footer{background:#061829}
.footer .footer-links a:hover{color:#7bd2ff}
@media(min-width:1300px){.home-hero-grid{min-height:610px}.hero-person{right:-46px}.hero-person>img{bottom:-124px}.home-identity{padding:58px 0 61px}.identity-picture{height:450px}}
@media(max-width:1100px){.home-hero-grid{min-height:525px;grid-template-columns:1.2fr .8fr}.home-hero h1{font-size:clamp(36px,4.1vw,51px)}.hero-attributes{gap:15px;max-width:550px}.hero-attribute{gap:8px}.hero-attribute span{font-size:10px}.hero-person{width:43%;right:-22px}.hero-person>img{bottom:-75px}.hero-person-caption{right:0;font-size:15px;top:55%}.identity-grid{gap:35px}.identity-picture{height:370px}.learning-covers{right:3%;transform:scale(.86);transform-origin:right top}.home-price-grid{gap:13px}.home-price-card{padding:27px 19px}.home-price-perks{padding-left:17px}}
@media(max-width:800px){.site-header .desktop-nav,.site-header .header-cta{display:none}.home-hero-grid{min-height:490px}.hero-person-caption{display:none}.hero-attributes{grid-template-columns:repeat(2,minmax(0,1fr));max-width:360px;gap:13px;margin-top:27px}.home-hero-copy>p{max-width:410px}.home-hero-copy{padding:30px 0}.hero-person{width:47%;right:-20px}.hero-person>img{bottom:-50px}.identity-grid{grid-template-columns:1fr 1fr;gap:23px}.identity-copy h2{font-size:35px}.identity-picture{height:365px}.identity-copy>p{font-size:13px;margin-bottom:14px}.identity-facts{gap:10px}.identity-facts li{gap:12px;font-size:11px}.identity-facts .line-icon{width:24px;height:24px}.identity-more{margin-top:15px}.learning-covers{transform:scale(.65);right:0;top:-45px}.learning-intro{width:75%}.flex-language-card>img{height:145px}.flex-language-label{padding:14px}.flex-language-label h3{font-size:17px}.flex-language-label p{font-size:10px}.home-price-grid{grid-template-columns:1fr 1fr}.home-price-perks{grid-column:1/-1;border-left:0;border-top:1px solid #dce4ec;padding:16px 0 0;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px 28px}.price-perk{border-bottom:0;padding:8px 0}.home-price-card{min-height:260px}}
@media(max-width:620px){.site-header{height:67px}.site-header .brand{font-size:27px}.home-hero-grid{display:block;min-height:0}.home-hero-copy{padding:55px 0 0}.home-hero h1{font-size:clamp(38px,9.3vw,56px);margin:16px 0}.home-hero-copy>p{font-size:16px;max-width:100%;margin-bottom:23px}.home-hero-ctas{gap:12px}.home-hero-ctas .button{min-width:unset;padding:12px 19px;font-size:12px}.hero-attributes{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:370px;margin-top:27px;padding-bottom:12px}.hero-attribute .line-icon{width:26px;height:26px}.hero-attribute span{font-size:11px}.hero-person{position:relative;height:345px;width:min(100%,360px);right:auto;bottom:auto;margin-left:auto;overflow:hidden}.hero-person>img{width:100%;right:0;bottom:-120px}.home-identity{padding:45px 0 50px}.identity-grid{grid-template-columns:1fr;gap:27px}.identity-picture{height:345px;max-width:520px}.identity-copy h2{font-size:40px}.identity-copy>p{font-size:15px;margin-bottom:24px}.identity-facts{gap:16px}.identity-facts li{font-size:14px;gap:16px}.identity-more{margin-top:23px}.home-learning{padding:51px 0 56px}.learning-intro{width:100%}.learning-intro h2{font-size:37px}.learning-intro>p{font-size:15px}.learning-caption{font-size:12px}.learning-covers{position:relative;width:300px;height:185px;right:auto;top:auto;margin:10px auto 0;transform:scale(.77);transform-origin:center center}.flex-language-grid{grid-template-columns:1fr;gap:16px;margin-top:12px}.flex-language-card>img{height:190px}.flex-language-label{min-height:0;padding:16px 22px}.flex-language-label h3{font-size:23px}.flex-language-label p{font-size:12px}.home-pricing{padding:60px 0 63px}.home-pricing h2{font-size:40px}.home-price-grid{grid-template-columns:1fr;gap:22px}.home-price-card{min-height:265px;padding:27px}.home-price strong{font-size:46px}.home-price-perks{grid-column:auto;grid-template-columns:1fr;gap:0;padding-top:10px}.price-perk{padding:16px 0;border-bottom:1px solid #dfe7ed}.price-perk:last-child{border-bottom:0}.home-faq{padding:57px 0 61px}.home-faq h2{font-size:38px}.home-faq-grid{grid-template-columns:1fr;grid-template-rows:auto;grid-auto-flow:row;gap:9px}.faq-entry summary{font-size:13px}.nyc-cta{background-position:center,64% 55%}.nyc-cta-inner{min-height:260px;flex-direction:column;align-items:flex-start;justify-content:center;gap:26px;padding:43px 0}.nyc-cta h2{font-size:40px}.nyc-cta p{font-size:13px}.nyc-cta .button{min-width:0}.footer{padding-top:37px}}
@media(prefers-reduced-motion:reduce){.faq-entry .plus{transition:none}}

.anchor-alias{position:absolute;inset:0 auto auto 0;visibility:hidden;pointer-events:none}

/* v4 — "Como funciona": three concise promises, with generous spacing and the original reference layout. */
.home-learning{padding-top:79px;padding-bottom:77px}
.learning-intro{width:66%}
.learning-intro h2{margin-bottom:14px}
.learning-intro>p{font-size:18px;line-height:1.5;color:#f1f7fd;max-width:570px}
.learning-caption{color:#a9cfe7}
.learning-covers{top:-66px}
.learning-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:73px 0 48px;border-top:1px solid rgba(141,197,234,.23);border-bottom:1px solid rgba(141,197,234,.23)}
.learning-feature{min-width:0;padding:28px 25px 28px 0;display:flex;flex-direction:column;align-items:flex-start}
.learning-feature:not(:first-child){padding-left:32px;border-left:1px solid rgba(141,197,234,.22)}
.learning-feature .line-icon{color:#72cdfd;width:30px;height:30px;margin-bottom:4px}
.learning-feature h3{font-size:17px;line-height:1.3;letter-spacing:-.022em;margin:0 0 7px;color:#fff}
.learning-feature p{font-size:13px;line-height:1.58;color:#b9d2e6;margin:0;max-width:280px}
.learning-language-eyebrow{font-weight:800;letter-spacing:.19em;color:#76d1ff;font-size:10px}
.flex-language-grid{margin-top:22px}
/* The original two plan cards stay, with a quiet callout for small groups. */
.home-plan-included{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#166591;margin:0 0 20px}
.home-plan-included .line-icon{width:16px;height:16px;stroke-width:2.5}
.home-group-offer{display:flex;align-items:center;gap:23px;border:1px solid #d8e7f3;border-radius:13px;margin-top:28px;padding:22px 27px;background:#f7fbfe}
.group-offer-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:50%;background:#e4f5ff;color:#216d9d}
.group-offer-icon .line-icon{width:25px;height:25px}
.group-offer-copy{flex:1;min-width:0}
.group-offer-copy h3{font-size:17px;line-height:1.35;margin:0 0 5px;color:#123050}
.group-offer-copy p{font-size:13px;line-height:1.55;color:#50677b;max-width:680px;margin:0}
.group-offer-link{flex:none;color:#116a9e;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:5px;white-space:nowrap}
.group-offer-link span{margin-left:7px}
/* Expanded answers are legible, and opening a question does not resize its neighboring column. */
.home-faq{padding-top:78px;padding-bottom:83px}
.home-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;gap:26px;align-items:start}
.faq-column{display:flex;flex-direction:column;gap:11px;min-width:0}
.faq-entry{border-radius:9px;background:rgba(7,28,49,.38)}
.faq-entry summary{padding:16px 19px;font-size:14px;line-height:1.42}
.faq-entry p{padding:0 19px 19px;font-size:13.5px;line-height:1.75;color:#c8e0ef}
.faq-entry[open]{background:rgba(13,46,74,.72);border-color:rgba(119,209,255,.48)}
@media(max-width:950px){
  .learning-intro{width:71%}
  .learning-feature:not(:first-child){padding-left:22px}
  .learning-feature{padding-right:20px}
  .learning-feature h3{font-size:15px}
  .learning-feature p{font-size:12px}
  .home-group-offer{flex-wrap:wrap}
  .group-offer-link{margin-left:69px}
}
@media(max-width:620px){
  .home-learning{padding-top:59px;padding-bottom:61px}
  .learning-intro{width:100%}
  .learning-intro>p{font-size:15px}
  .learning-feature-grid{display:flex;flex-direction:column;gap:0;margin:14px 0 31px}
  .learning-feature,.learning-feature:not(:first-child){display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:15px;align-items:start;padding:18px 0;border-left:0;border-top:1px solid rgba(141,197,234,.17)}
  .learning-feature:first-child{border-top:0}
  .learning-feature .line-icon{grid-row:1/span 2;margin-top:3px}
  .learning-feature h3{font-size:16px;margin-bottom:4px}
  .learning-feature p{font-size:12px;max-width:none}
  .learning-covers{margin-bottom:-15px}
  .home-group-offer{padding:21px 19px;gap:14px;align-items:flex-start}
  .group-offer-icon{flex:0 0 38px;height:38px}
  .group-offer-copy{flex-basis:calc(100% - 54px)}
  .group-offer-copy h3{font-size:16px}
  .group-offer-copy p{font-size:12px}
  .group-offer-link{margin-left:52px;font-size:12px}
  .home-faq-grid{grid-template-columns:1fr;gap:11px}
  .home-faq{padding-top:65px;padding-bottom:69px}
  .faq-entry summary{font-size:13.5px;padding:16px}
  .faq-entry p{padding:0 16px 17px;font-size:13px}
}

/* v6 — one-page site: restrained project section and contact-first footer. */
.home-projects{padding:90px 0 102px;background:linear-gradient(155deg,#f6f9fc,#eaf1f7);color:#0b2848}
.projects-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:32px}
.projects-heading .eyebrow{color:#448fe0;letter-spacing:.2em;font-size:10px}
.projects-heading h2{margin:9px 0 0;font-size:clamp(37px,4.2vw,56px);line-height:1.1;letter-spacing:-.045em}
.project-dot{color:#61bbf2}
.projects-heading>p{max-width:315px;margin:0 0 5px;color:#4b6680;font-size:14px;line-height:1.7}
.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.project-card{min-height:300px;padding:30px 32px 26px;border:1px solid #d4e2ef;border-radius:16px;box-shadow:0 8px 28px rgba(5,33,63,.04);background:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.project-card::after{content:"";position:absolute;right:-115px;top:-115px;width:230px;height:230px;border:1px solid #c9e4f8;border-radius:50%;pointer-events:none}
.project-card:nth-child(2){background:#0d2b49;color:#fff;border-color:#173e62}
.project-card:nth-child(2)::after{border-color:#285477}
.project-top{display:flex;align-items:start;justify-content:space-between;gap:16px;position:relative;z-index:1}
.project-mark{width:72px;height:72px;border-radius:15px;display:grid;place-items:center;position:relative;font-family:Manrope,Arial,sans-serif;font-weight:800;font-size:28px;letter-spacing:-.075em}
.project-mark span{position:absolute;right:6px;top:6px;font-size:13px;font-weight:700}
.project-mark-rich{background:linear-gradient(145deg,#d0edff,#91cafa);color:#0d3557}
.project-mark-haddad{background:#274966;color:#b7e5ff}
.project-index{font-size:10px;letter-spacing:.12em;font-weight:800;color:#4b8fc5;white-space:nowrap}
.project-card:nth-child(2) .project-index{color:#a5cee9}
.project-body{position:relative;z-index:1;margin-top:20px}
.project-body h3{font-size:clamp(25px,2.7vw,35px);font-weight:800;letter-spacing:-.035em;margin:0 0 7px}
.project-body p{color:#486782;line-height:1.7;font-size:14px;max-width:400px;margin:0}
.project-card:nth-child(2) .project-body p{color:#c9ddea}
.project-foot{border-top:1px solid #dce8f1;display:block;margin-top:24px;padding-top:17px;letter-spacing:.12em;font-size:9px;font-weight:800;color:#5989b2}
.project-card:nth-child(2) .project-foot{border-color:#315774;color:#9cc8e4}
.footer-shortcut{display:flex;flex-direction:column;gap:10px}
.footer-shortcut>span,.footer-contact>span{font-size:10px;letter-spacing:.17em;color:#92b8d0;font-weight:800;margin-bottom:6px}
.footer-shortcut a{font-size:13px;color:#d6e8f7}
.footer-shortcut a:hover,.footer-contact a:hover{color:#78cdff}
.footer-contact p{font-size:12px;color:#8bacbf;margin-top:9px}
.privacy-holder{margin-top:12px;border-top:1px solid rgba(155,202,233,.14)}
.privacy-details{padding:17px 0;color:#9dbbcf;font-size:11px;max-width:780px}
.privacy-details summary{cursor:pointer;list-style:none;display:inline-block;border-bottom:1px solid #5c7c93;padding:0 0 3px}
.privacy-details summary::-webkit-details-marker{display:none}
.privacy-content{padding:10px 0 8px;max-width:760px;font-size:12px;line-height:1.75;color:#b7d0df}
.privacy-content p{margin:0}
.hero-person>img{image-rendering:auto}
@media(max-width:800px){.projects-heading{align-items:start}.home-projects{padding:72px 0 82px}}
@media(max-width:620px){.home-projects{padding:59px 0 70px}.projects-heading{display:block;margin-bottom:24px}.projects-heading>p{margin-top:15px}.projects-grid{grid-template-columns:1fr;gap:15px}.project-card{min-height:275px;padding:27px}.project-body h3{font-size:29px}.footer-shortcut{gap:10px}}

/* v7: original brand marks, quieter portfolio cards, and reliable return-to-top. */
.home-projects {
  padding: clamp(76px, 9vw, 122px) 0 clamp(80px, 9vw, 120px);
  background: linear-gradient(150deg,#f2f8fc 0%,#e8f2f8 52%,#eff6fb 100%);
  color: #102b45;
}
.projects-heading { align-items: end; margin-bottom: 35px; }
.projects-heading h2 { max-width: 600px; font-size:clamp(36px,4.5vw,56px); }
.projects-heading>p { max-width:360px; font-size:15px; line-height:1.65; }
.projects-grid { gap: 22px; align-items: stretch; }
.project-card, .project-card:nth-child(2) {
  border-radius: 24px; min-height: 450px; padding: 32px 34px;
  border: 1px solid #d5e4ec; box-shadow: 0 18px 45px rgba(19,52,76,.055);
  display: flex; flex-direction: column; justify-content: initial; overflow:hidden;
}
.project-card::after, .project-card:nth-child(2)::after { display:none; }
.project-card-gorich, .project-card-gorich:nth-child(1) {
  background: radial-gradient(circle at 5% 10%,#184e45 0%,transparent 53%),
    linear-gradient(130deg,#073427 0%,#102c30 70%,#102e3b 100%);
  color:#fff; border-color:#265347;
}
.project-card-haddad, .project-card-haddad:nth-child(2) { background: #fff; color:#102b45; border-color:#d6e4ed; }
.project-card .project-top { align-items: center; gap:16px; }
.project-card .project-index, .project-card:nth-child(2) .project-index {
  font-size:10px; font-weight:800; letter-spacing:.17em; color:#93d7c1;
}
.project-card-haddad .project-index { color:#4a91a2!important; }
.project-role { font-size:11px; font-weight:750; padding:7px 12px; border-radius:99px; white-space:nowrap; }
.project-role-rich { color:#d8f4e6; background:rgba(178,238,202,.12); border:1px solid rgba(198,242,215,.22); }
.project-role-haddad { color:#176d80; background:#eaf8fb; border:1px solid #cbe9f0; }
.project-brand { margin:24px 0 16px; display:flex; align-items:center; position:relative; z-index:1; min-height:100px; }
.project-brand-gorich { gap:24px; margin-top:17px; }
.project-brand-gorich img { width:100px; height:117px; object-fit:contain; object-position:bottom; filter:drop-shadow(0 10px 12px rgba(3,17,19,.12)); }
.project-wordmark { font-family:Manrope,Arial,sans-serif; font-size:clamp(44px,5vw,62px); font-weight:800; letter-spacing:-.075em; color:#fff; line-height:1; }
.project-wordmark span { color:#6feaaf; }
.project-brand-haddad { min-height:125px; margin-top:14px; margin-bottom:11px; }
.project-brand-haddad img { width:min(100%,390px); height:auto; max-height:130px; object-fit:contain; object-position:left center; }
.project-card .project-body { margin-top:auto; padding-top:4px; }
.project-card .project-body h3, .project-card:nth-child(2) .project-body h3 {
  font-size:clamp(21px,2.25vw,27px); font-weight:800; line-height:1.25; letter-spacing:-.04em;
  margin:0 0 10px;
}
.project-card .project-body p { font-size:14px; line-height:1.7; max-width:415px; color:#cde4dd; margin:0; }
.project-card-haddad .project-body p, .project-card:nth-child(2) .project-body p { color:#537086; }
.project-visit { display:inline-flex; align-items:center; justify-content:space-between; align-self:stretch; margin-top:26px;
  min-height:49px; padding:0 4px; border-top:1px solid rgba(255,255,255,.22); text-decoration:none;
  font-size:13px; font-weight:800; letter-spacing:-.01em; transition:color .18s ease; }
.project-visit-rich { color:#c2f6df; }
.project-visit-haddad { color:#176979; border-color:#d8e8ed; }
.project-visit span { font-size:24px; line-height:1; }
.project-visit-rich:hover { color:white; }
.project-visit-haddad:hover { color:#0b4255; }
.project-visit:focus-visible { outline:3px solid #57c0ef; outline-offset:5px; border-radius:4px; }
.projects-academic { display:flex; align-items:center; gap:23px; margin-top:24px;
  padding:25px 31px; background:rgba(255,255,255,.86); border:1px solid #d5e4ed;
  border-radius:20px; box-shadow:0 10px 32px rgba(19,52,76,.03); }
.academic-mark { width:57px; height:57px; flex:0 0 57px; display:grid;place-items:center;
  border-radius:14px; color:#f2dfe3; background:#7a2636; }
.academic-mark .line-icon { width:28px; height:28px; }
.academic-detail { min-width:0; flex:1; }
.academic-eyebrow { display:block; color:#6a8499; font-size:10px; font-weight:800; letter-spacing:.17em; margin-bottom:5px; }
.academic-detail h3 { margin:0 0 4px; font-size:19px; letter-spacing:-.03em; color:#12314a; }
.academic-detail p { margin:0; font-size:14px; color:#506b80; }
.academic-status { display:inline-flex; padding:8px 12px; border-radius:999px; font-size:11px;
  font-weight:800; background:#f8eef0; color:#813646; white-space:nowrap; }
.footer-to-top { display:inline-flex; align-items:center; gap:9px; min-height:42px; }
.back-to-top { position:fixed; right:clamp(16px,2.7vw,34px); bottom:clamp(17px,2.7vw,30px);
  width:52px; height:52px; display:grid;place-items:center; border:1px solid #406984; border-radius:50%;
  background:linear-gradient(145deg,#173a59,#0b253f); color:#d5efff;
  box-shadow:0 12px 32px rgba(5,25,44,.22); z-index:75; cursor:pointer;
  opacity:0; visibility:hidden; pointer-events:none; transform:translateY(9px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s; }
.back-to-top svg { width:23px; height:23px; }
.back-to-top.is-visible { opacity:1; visibility:visible; transform:translateY(0); pointer-events:auto; }
.back-to-top:hover { background:#19527a; transform:translateY(-2px); }
.back-to-top:focus-visible { outline:3px solid #78d2ff; outline-offset:4px; }
@media(max-width:800px) {
  .project-card, .project-card:nth-child(2) { padding:26px; min-height:430px; }
  .project-brand-gorich img { width:85px; height:112px; }
  .project-wordmark { font-size:49px; }
  .project-brand-haddad img { max-height:116px; }
}
@media(max-width:620px) {
  .home-projects { padding:65px 0 76px; }
  .projects-heading { margin-bottom:26px; }
  .projects-heading>p { margin-top:15px; }
  .projects-grid { grid-template-columns:1fr; gap:15px; }
  .project-card, .project-card:nth-child(2) { min-height:415px; padding:25px 23px; border-radius:21px; }
  .project-brand { margin-top:17px; }
  .project-brand-gorich { gap:15px; }
  .project-brand-gorich img { width:88px; height:116px; }
  .project-wordmark { font-size:50px; }
  .project-brand-haddad img { max-width:330px; }
  .project-role { font-size:10px; padding:6px 9px; }
  .project-card .project-index { font-size:9px; }
  .projects-academic { margin-top:15px; padding:19px; gap:15px; flex-wrap:wrap; }
  .academic-mark { width:49px; height:49px; flex-basis:49px; }
  .academic-detail h3 { font-size:17px; }
  .academic-detail p { font-size:13px; }
  .academic-status { margin-left:64px; margin-top:-5px; }
  .back-to-top { width:45px; height:45px; right:15px; bottom:16px; }
}
@media(prefers-reduced-motion:reduce){ .back-to-top{transition:none;transform:none} .back-to-top:hover{transform:none} }

/* v7 mobile: allow metadata to wrap without squeezing the credential. */
@media(max-width:620px) {
  .project-card .project-top { gap:8px; }
  .projects-academic { display:grid; grid-template-columns:49px minmax(0,1fr); align-items:center; gap:9px 15px; }
  .academic-mark { grid-column:1; grid-row:1; }
  .academic-detail { grid-column:2; grid-row:1; }
  .academic-status { grid-column:2; grid-row:2; margin:0; justify-self:start; }
}

/* v8 — Approved portfolio: navy background, original visual identities, crimson academic highlight. */
.home-projects {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 8vw, 108px) 0 clamp(80px, 8.5vw, 115px);
  background: radial-gradient(ellipse at 84% 10%, rgba(14,82,143,.28), transparent 52%), linear-gradient(125deg,#061828 0%,#041b31 54%,#06192a 100%);
  color: #f7f9ff;
}
.home-projects::before { content:""; position:absolute; right:-13%; top:-23%; width:56%; height:58%; border-radius:50%; transform:rotate(-25deg); background:radial-gradient(ellipse at 50% 50%,rgba(26,100,166,.19),transparent 70%); pointer-events:none; }
.home-projects .wrap { position:relative; z-index:1; width:min(calc(100% - 92px),1280px); max-width:none; }
.projects-heading { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(0,.92fr); align-items:center; gap:50px; margin:0 0 45px; }
.projects-heading .eyebrow { color:#49a8ff; font-size:12px; letter-spacing:.23em; font-weight:800; }
.projects-heading .eyebrow::before { content:""; width:35px; height:2px; background:#4aaeff; display:inline-block; margin-right:12px; vertical-align:middle; }
.projects-heading h2 { color:#fff; max-width:none; margin:19px 0 0; font-size:clamp(41px,4.75vw,68px); line-height:1.07; letter-spacing:-.055em; }
.projects-heading>p { color:#e5eff9; border-left:1px solid #496e8d; padding-left:37px; max-width:460px; font-size:19px; line-height:1.54; margin:24px 0 0; }
.project-dot { color:#4da9ff; }
.projects-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:stretch; }
.project-card, .project-card:nth-child(2) {
  border-radius:24px; min-width:0; min-height:462px; padding:29px clamp(28px,3.4vw,47px) 38px;
  border:1px solid rgba(88,193,223,.58); box-shadow:0 22px 54px rgba(0,5,17,.13);
  color:white; display:flex; flex-direction:column; justify-content:flex-start;
  position:relative; overflow:hidden;
  transition: transform .24s ease,box-shadow .24s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow:0 29px 60px rgba(0,5,17,.21); }
.project-card::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:radial-gradient(circle at 110% 105%,rgba(52,191,172,.13),transparent 53%); }
.project-card::after, .project-card:nth-child(2)::after { display:block; content:""; position:absolute; width:80%; height:65%; border:1px solid rgba(53,226,184,.18); border-radius:70% 0 0 0; right:-37%; top:auto; bottom:-47%; transform:rotate(-27deg); pointer-events:none; }
.project-card-gorich, .project-card-gorich:nth-child(1) { background:radial-gradient(ellipse at 18% 8%,#074333 0%,transparent 60%),linear-gradient(140deg,#022b27 0%,#003326 56%,#063f3b 100%); border-color:#20a87f; }
.project-card-haddad, .project-card-haddad:nth-child(2) { background:radial-gradient(circle at 100% 100%,rgba(14,87,152,.45),transparent 51%),linear-gradient(145deg,#06263f 0%,#042039 62%,#063054 100%); border-color:#2780bd; color:#f9fcff; }
.project-card-haddad::before { background:radial-gradient(circle at 98% 90%,rgba(64,158,229,.17),transparent 57%); }
.project-card-haddad::after, .project-card-haddad:nth-child(2)::after { border-color:rgba(66,151,223,.23); }
.project-card>* { position:relative; z-index:1; }
.project-card .project-top { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.project-card .project-index, .project-card:nth-child(2) .project-index { font-size:11px; color:#c4e8e1; font-weight:850; letter-spacing:.18em; white-space:normal; line-height:1.35; }
.project-card-haddad .project-index { color:#c9e9ff!important; }
.project-role { border-radius:999px; padding:7px 14px; font-size:11px; font-weight:800; white-space:nowrap; background:rgba(0,20,32,.25); }
.project-role-rich { color:#b6ffda; border:1px solid #55e9a7; background:rgba(0,45,33,.62); }
.project-role-haddad { color:#d7efff; border:1px solid #40a9ff; background:rgba(6,42,73,.62); }
.project-brand { min-height:0; margin:19px 0 12px; display:flex; align-items:center; }
.project-brand-gorich { gap:24px; min-height:144px; margin:11px 0 14px; }
.project-brand-gorich img { flex:none; width:118px; height:145px; object-fit:contain; object-position:center; filter:drop-shadow(0 12px 13px rgba(0,0,0,.16)); }
.project-wordmark { font-family:Manrope,Arial,sans-serif; color:#fff; font-size:clamp(49px,5vw,73px); font-weight:800; letter-spacing:-.075em; white-space:nowrap; }
.project-wordmark span { color:#63f0ad; }
.project-brand-haddad { min-height:135px; margin:12px 0 19px; }
.project-logo-panel { width:min(100%,425px); min-height:132px; border-radius:16px; display:flex; align-items:center; justify-content:center; padding:18px 25px; background:#fff; box-shadow:0 15px 25px rgba(0,7,25,.22); }
.project-brand-haddad img { width:100%; max-width:365px; max-height:115px; height:auto; object-fit:contain; object-position:center; filter:contrast(1.12); }
.project-card .project-body { margin-top:0; padding:0; flex:1 0 auto; }
.project-card .project-body h3, .project-card:nth-child(2) .project-body h3 { font-size:clamp(22px,2.15vw,28px); letter-spacing:-.036em; line-height:1.27; font-weight:800; margin:0 0 12px; color:white; }
.project-card-haddad .project-body h3 { font-size:clamp(27px,2.45vw,34px)!important; margin:0 0 3px!important; }
.project-card .project-body p, .project-card:nth-child(2) .project-body p { margin:0; max-width:490px; color:#e8f1f5; font-size:15px; line-height:1.63; }
.project-card-haddad .project-body p.project-subtitle { color:#8bddff; font-size:18px; font-weight:800; margin:2px 0 9px; line-height:1.4; }
.project-visit { align-self:flex-start; flex:none; display:inline-flex; align-items:center; justify-content:space-between; gap:35px; min-width:246px; min-height:51px; margin-top:24px; padding:12px 27px; border:0; border-radius:15px; font-size:15px; font-weight:800; text-decoration:none; line-height:1.25; transition:transform .2s ease,filter .2s ease; }
.project-visit:focus-visible { outline:3px solid #d9f6ff; outline-offset:4px; }
.project-visit:hover { transform:translateY(-2px); filter:brightness(1.06); }
.project-visit-rich, .project-visit-rich:hover { background:linear-gradient(110deg,#8cf7ca,#59e6b2); color:#063d2b; }
.project-visit-haddad, .project-visit-haddad:hover { background:linear-gradient(105deg,#9ce0ff,#5bbdfa); color:#052943; }
.project-visit span { font-size:22px; line-height:1; }
.projects-academic {
  isolation:isolate; overflow:hidden; position:relative; display:flex; align-items:center; gap:36px;
  min-height:252px; margin-top:30px; padding:39px 46px; border:1px solid #d53b68; border-radius:24px;
  color:white; background:#330717 url('/assets/harvard-burgundy-background.webp') center center / cover no-repeat; box-shadow:0 22px 58px rgba(0,4,16,.13);
}
.projects-academic::before { display:none; }
.projects-academic::after { content:""; z-index:-1; position:absolute; inset:0; background:linear-gradient(90deg,rgba(24,2,17,.16) 0%,rgba(24,2,17,.04) 60%,transparent 86%); pointer-events:none; }
.academic-mark { z-index:1; width:107px; height:107px; flex:0 0 107px; display:grid; place-items:center; border-radius:23px; color:#fff; background:linear-gradient(145deg,#9c1f3b,#5d1128); border:1px solid #a82b49; box-shadow:0 12px 22px rgba(0,0,0,.15); }
.academic-mark .line-icon { width:59px; height:59px; }
.academic-detail { z-index:1; position:relative; flex:1; min-width:0; max-width:790px; padding-left:39px; border-left:2px solid #ed4472; }
.academic-eyebrow { display:block; font-size:11px; color:#ff9fb6; font-weight:800; letter-spacing:.22em; margin-bottom:14px; }
.academic-detail h3 { margin:0 0 12px; color:white; font-size:clamp(27px,3.15vw,41px); line-height:1.16; font-weight:800; letter-spacing:-.042em; text-wrap:balance; }
.academic-detail p { font-size:16px; max-width:700px; color:#ecdee6; margin:0; line-height:1.5; }
@media(max-width:980px){
  .home-projects .wrap{width:min(calc(100% - 62px),1280px)}
  .projects-heading{gap:25px}
  .projects-heading h2{font-size:clamp(36px,5vw,53px)}
  .projects-heading>p{font-size:16px;padding-left:23px}
  .project-card,.project-card:nth-child(2){padding:26px 27px 29px;min-height:430px}
  .project-brand-gorich{gap:13px}
  .project-brand-gorich img{width:92px;height:123px}
  .project-wordmark{font-size:clamp(39px,5.7vw,60px)}
  .project-logo-panel{min-height:114px;padding:15px}
  .project-card .project-body h3{font-size:23px}
  .projects-academic{padding:33px 30px;gap:20px}
  .academic-mark{width:85px;height:85px;flex-basis:85px}
  .academic-detail{padding-left:25px}
  .academic-detail h3{font-size:clamp(26px,3.5vw,37px)}
}
@media(max-width:720px){
  .home-projects{padding:63px 0 77px}
  .home-projects .wrap{width:min(calc(100% - 36px),1280px)}
  .projects-heading{display:block;margin:0 0 27px}
  .projects-heading .eyebrow{font-size:10px}
  .projects-heading h2{font-size:clamp(37px,8vw,51px);margin-top:15px}
  .projects-heading>p{max-width:480px;font-size:15px;border-left:2px solid #4c98cb;margin:17px 0 0;padding-left:16px}
  .projects-grid{grid-template-columns:1fr;gap:16px}
  .project-card,.project-card:nth-child(2){min-height:425px;padding:25px 25px 27px;border-radius:20px}
  .project-brand-gorich{min-height:120px;margin:12px 0 15px}
  .project-brand-gorich img{width:92px;height:120px}
  .project-wordmark{font-size:clamp(48px,13vw,67px)}
  .project-brand-haddad{min-height:115px;margin:17px 0 17px}
  .project-logo-panel{min-height:112px;max-width:360px}
  .project-card .project-body h3,.project-card:nth-child(2) .project-body h3{font-size:clamp(21px,5vw,27px)}
  .project-card-haddad .project-body h3{font-size:28px!important}
  .project-card .project-body p{font-size:14px}
  .project-card-haddad .project-body p.project-subtitle{font-size:16px}
  .project-visit{min-width:220px;padding:11px 21px;font-size:14px;margin-top:26px}
  .projects-academic{margin-top:17px;padding:26px 23px;min-height:0;align-items:flex-start;gap:18px;border-radius:20px}
  .projects-academic{background-position:75% center}
  .projects-academic::after{background:linear-gradient(90deg,rgba(18,2,12,.52),rgba(18,2,12,.12))}
  .academic-mark{width:62px;height:62px;flex-basis:62px;border-radius:16px}
  .academic-mark .line-icon{width:39px;height:39px}
  .academic-detail{border-left:0;padding-left:0;max-width:none}
  .academic-eyebrow{font-size:10px;margin-bottom:8px}
  .academic-detail h3{font-size:clamp(22px,5.4vw,31px);line-height:1.18;margin-bottom:10px}
  .academic-detail p{font-size:13px;line-height:1.5}
}
@media(max-width:380px){
  .project-card .project-top{flex-wrap:wrap;gap:9px}
  .project-card,.project-card:nth-child(2){padding:23px 18px 24px}
  .project-brand-gorich img{width:74px;height:106px}
  .project-wordmark{font-size:47px}
  .academic-mark{width:48px;height:48px;flex-basis:48px}
  .academic-mark .line-icon{width:31px;height:31px}
  .projects-academic{gap:14px;padding:24px 17px}
}
@media(prefers-reduced-motion:reduce){ .project-card,.project-visit{transition:none!important;transform:none!important} }

/* v9 - Responsive refinements only. All rules are scoped to <= 980px.
   HTML, section order, desktop layout, brand artwork and desktop styles are unchanged. */
@media (max-width: 980px) {
  html { scroll-padding-top: 84px; }
  .home-hero, .home-identity, .home-learning, .home-pricing,
  .home-faq, .home-projects, .nyc-cta { scroll-margin-top: 84px; }
  .wrap { width: min(calc(100% - 48px), var(--wrap)); }
  .home-identity { padding-block: 70px; }
  .identity-grid { gap: clamp(22px, 4vw, 42px); }
  .identity-copy > p { font-size: 15px; line-height: 1.67; }
  .identity-facts li { font-size: 13.5px; line-height: 1.52; }
  .learning-intro { width: 69%; }
  .learning-intro > p { line-height: 1.57; }
  .learning-feature h3 { line-height: 1.3; }
  .learning-feature p { line-height: 1.55; }
  .home-faq-grid { column-gap: 17px; }
  .faq-entry summary { min-height: 52px; line-height: 1.5; }
  .projects-heading > p { line-height: 1.6; }
  .project-card, .project-card:nth-child(2) { min-width: 0; }
  .project-card .project-body p { line-height: 1.65; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 76px; }
  .site-header { position: sticky; top: 0; z-index: 100; }
  .site-header .wrap { width: min(calc(100% - 40px), var(--wrap)); }
  .site-header .mobile-trigger { width: 46px; height: 46px; flex: 0 0 46px; touch-action: manipulation; }
  .mobile-navigation:not([hidden]) {
    top: 100%; z-index: 101; max-height: calc(100dvh - 72px);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 14px 24px max(18px, env(safe-area-inset-bottom)); gap: 2px;
    border-top: 1px solid rgba(137,205,249,.18);
    background: #071e34;
    box-shadow: 0 20px 35px rgba(0,12,29,.34);
  }
  .mobile-navigation a {
    display: flex; align-items: center; min-height: 49px;
    border-bottom: 1px solid rgba(169,215,243,.09);
    font-size: 15px; font-weight: 600; line-height: 1.4;
    padding: 9px 4px; text-decoration: none;
  }
  .mobile-navigation .mobile-action {
    justify-content: center; margin-top: 10px; min-height: 49px;
    border: 1px solid rgba(119,208,255,.5); border-radius: 12px;
    background: #123a58; color: #a9e5ff; font-weight: 800;
  }
  .mobile-navigation a:focus-visible, .mobile-trigger:focus-visible {
    outline: 3px solid #79d1ff; outline-offset: 3px;
  }
  .home-hero-copy { position: relative; z-index: 4; }
  .home-hero h1 { line-height: 1.115; }
  .home-hero-copy > p { line-height: 1.62; }
  .identity-grid { grid-template-columns: .9fr 1.1fr; gap: 24px; }
  .identity-facts { gap: 13px; }
  .identity-facts li { font-size: 13px; }
  .identity-picture { height: 370px; }
  .learning-feature-grid { margin-top: 44px; }
  .learning-feature h3 { font-size: 15px; }
  .learning-feature p { font-size: 12.5px; }
  .flex-language-label p { font-size: 12px; }
  .home-price-card { padding: 25px 23px; }
  .home-price-perks { gap: 4px 24px; }
  .faq-entry summary { padding-block: 17px; font-size: 14px; }
  .faq-entry p { font-size: 14px; line-height: 1.66; }
  .project-card .project-body h3 { text-wrap: pretty; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 77px; }
  .wrap { width: min(calc(100% - 40px), var(--wrap)); }
  .site-header { height: 68px; }
  .site-header .brand { font-size: 25px; }
  .mobile-navigation:not([hidden]) { max-height: calc(100dvh - 68px); }

  .home-hero-grid { display: block; min-height: 0; }
  .home-hero-copy { max-width: 570px; padding: 52px 0 0; }
  .home-hero h1 { font-size: clamp(35px, 6.9vw, 49px); max-width: 620px; margin: 17px 0 17px; line-height: 1.13; }
  .home-hero-copy > p { max-width: 540px; font-size: 16px; line-height: 1.63; margin-bottom: 24px; }
  .home-hero-ctas { gap: 12px; }
  .home-hero-ctas .button { min-height: 48px; padding: 13px 20px; font-size: 14px; }
  .hero-attributes { max-width: 520px; margin-top: 27px; gap: 14px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-attribute span { font-size: 12.5px; line-height: 1.4; }
  .hero-person { position: relative; width: min(100%, 344px); height: 325px; margin: 6px auto 0; right: auto; bottom: auto; overflow: hidden; }
  .hero-person > img { bottom: -104px; right: 0; width: 100%; }
  .hero-world { width: 100%; background-position: 80% 28%; opacity: .39; }
  .hero-person-caption { display: none; }

  .home-identity { padding: 60px 0 68px; }
  .identity-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .identity-picture { height: clamp(315px, 69vw, 410px); max-width: 570px; }
  .identity-copy { max-width: 600px; }
  .identity-copy h2 { font-size: clamp(34px, 6.5vw, 42px); margin: 10px 0 15px; }
  .identity-copy > p { font-size: 15px; line-height: 1.72; margin-bottom: 24px; }
  .identity-facts { gap: 16px; }
  .identity-facts li { font-size: 14.5px; gap: 15px; }
  .identity-facts .line-icon { flex: 0 0 27px; width: 27px; height: 27px; }

  .home-learning { padding: 65px 0 72px; }
  .learning-intro { width: 100%; max-width: 620px; }
  .learning-intro h2 { font-size: clamp(34px, 6.5vw, 43px); }
  .learning-intro > p { font-size: 15.5px; line-height: 1.6; }
  .learning-caption { font-size: 13px; line-height: 1.6; }
  .learning-covers { position: relative; width: 310px; height: 187px; top: auto; right: auto; margin: 6px auto 0; transform: scale(.78); transform-origin: center; }
  .learning-feature-grid { display: grid; grid-template-columns: minmax(0,1fr); margin: 4px 0 30px; }
  .learning-feature, .learning-feature:not(:first-child) {
    display: grid; grid-template-columns: 32px minmax(0,1fr);
    grid-template-rows: auto auto; column-gap: 15px; align-items: start;
    border-left: 0; border-top: 1px solid rgba(141,197,234,.2);
    padding: 18px 0;
  }
  .learning-feature:first-child { border-top: 0; }
  .learning-feature .line-icon { grid-row: 1 / span 2; width: 28px; height: 28px; margin-top: 3px; }
  .learning-feature h3 { font-size: 17px; margin-bottom: 4px; }
  .learning-feature p { max-width: none; font-size: 14px; line-height: 1.55; }
  .learning-language-eyebrow { font-size: 11px; }
  .flex-language-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; margin-top: 18px; }
  .flex-language-card { display: grid; grid-template-columns: 37% minmax(0,1fr); min-height: 144px; border-radius: 14px; }
  .flex-language-card > img { width: 100%; height: 100%; min-height: 144px; object-fit: cover; }
  .flex-language-label { display: flex; flex-direction: column; justify-content: center; min-height: 144px; padding: 19px 21px; }
  .flex-language-label h3 { font-size: clamp(20px, 4.2vw, 25px); line-height: 1.23; }
  .flex-language-label p { font-size: 13px; line-height: 1.5; }

  .home-pricing { padding: 68px 0 74px; }
  .home-pricing h2 { font-size: clamp(34px, 6.2vw, 42px); margin-bottom: 27px; }
  .home-price-grid { grid-template-columns: minmax(0,1fr); gap: 17px; }
  .home-price-card { min-height: 0; padding: 26px 25px 23px; border-radius: 15px; }
  .home-price-card h3 { font-size: 18px; }
  .home-price strong { font-size: clamp(40px, 7.5vw, 49px); }
  .home-price-card > p:not(.home-price) { font-size: 14px; line-height: 1.6; }
  .plan-inline-link { min-height: 48px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; padding-block: 12px; }
  .home-price-perks { grid-column: auto; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 10px 0 0; }
  .price-perk { padding: 12px 0; gap: 11px; }
  .home-group-offer { display: grid; grid-template-columns: 43px minmax(0,1fr); gap: 14px; padding: 22px; margin-top: 23px; }
  .group-offer-icon { grid-column: 1; grid-row: 1; }
  .group-offer-copy { grid-column: 2; grid-row: 1; min-width: 0; flex-basis: auto; }
  .group-offer-copy p { font-size: 13.5px; line-height: 1.6; }
  .group-offer-link { grid-column: 1 / -1; margin: 2px 0 0; justify-self: stretch; min-height: 45px; display: flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; background: #e4f3fd; text-decoration: none; font-size: 13px; }

  .home-faq { padding: 69px 0 76px; }
  .home-faq h2 { font-size: clamp(34px, 6.5vw, 43px); margin-bottom: 26px; }
  .home-faq-grid { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .faq-column { gap: 11px; }
  .faq-entry { border-radius: 12px; }
  .faq-entry summary { min-height: 57px; padding: 15px 18px; font-size: 14.5px; line-height: 1.48; gap: 14px; }
  .faq-entry summary .plus { flex-shrink: 0; }
  .faq-entry p { padding: 0 18px 19px; font-size: 14px; line-height: 1.75; }

  .home-projects .wrap { width: min(calc(100% - 40px), 680px); }
  .projects-heading { margin-bottom: 28px; }
  .projects-heading h2 { font-size: clamp(36px, 6.7vw, 48px); }
  .projects-heading > p { font-size: 15px; line-height: 1.65; }
  .projects-grid { gap: 18px; }
  .project-card, .project-card:nth-child(2) { min-height: 0; padding: 27px 26px 29px; }
  .project-card .project-top { flex-wrap: wrap; gap: 10px 13px; }
  .project-card .project-index { font-size: 10.5px; }
  .project-brand-gorich { min-height: 117px; margin: 13px 0 15px; gap: 16px; }
  .project-brand-gorich img { width: 89px; height: 119px; }
  .project-wordmark { font-size: clamp(42px, 9vw, 62px); }
  .project-brand-haddad { min-height: 115px; margin-block: 18px; }
  .project-logo-panel { min-height: 105px; width: min(100%, 425px); padding: 13px 18px; }
  .project-card .project-body { flex: 0 1 auto; }
  .project-card .project-body h3, .project-card:nth-child(2) .project-body h3 { font-size: clamp(23px, 5vw, 29px); }
  .project-card .project-body p { font-size: 14px; line-height: 1.65; }
  .project-card-haddad .project-body h3 { font-size: clamp(25px, 5.3vw, 29px)!important; }
  .project-visit { min-height: 49px; min-width: 0; margin-top: 24px; padding: 12px 22px; font-size: 14px; }
  .projects-academic { min-height: 0; padding: 28px 24px; gap: 18px; border-radius: 20px; background-position: 72% center; }
  .academic-mark { width: 60px; height: 60px; flex-basis: 60px; }
  .academic-detail { padding-left: 0; border-left: 0; }
  .academic-detail h3 { font-size: clamp(22px, 4.9vw, 31px); line-height: 1.2; }
  .academic-detail p { font-size: 13.5px; line-height: 1.6; }

  .nyc-cta-inner { gap: 22px; padding-block: 48px; }
  .nyc-cta h2 { font-size: clamp(35px, 6.8vw, 44px); }
  .nyc-cta p { font-size: 14px; line-height: 1.6; }
  .nyc-cta .button { min-height: 49px; font-size: 14px; }
  .footer { padding-top: 46px; }
  .footer-main { gap: 26px; }
  .footer-contact a, .footer-shortcut a { min-height: 35px; display: inline-flex; align-items: center; }
  .footer-line { row-gap: 17px; }
  .back-to-top { bottom: max(15px, env(safe-area-inset-bottom)); right: 16px; width: 49px; height: 49px; }
}

@media (max-width: 480px) {
  .wrap { width: min(calc(100% - 36px), var(--wrap)); }
  .site-header .wrap { width: calc(100% - 36px); }
  .home-hero-copy { padding-top: 42px; }
  .home-hero h1 { font-size: clamp(33px, 8.5vw, 40px); line-height: 1.115; letter-spacing: -.051em; }
  .home-hero-copy > p { font-size: 15.5px; }
  .home-hero-ctas { display: grid; grid-template-columns: 1fr; gap: 11px; }
  .home-hero-ctas .button { width: 100%; display: flex; align-items: center; justify-content: center; min-height: 49px; font-size: 14px; }
  .hero-attributes { gap: 14px 10px; margin-top: 26px; }
  .hero-attribute { gap: 10px; }
  .hero-attribute span { font-size: 12px; }
  .hero-person { height: 310px; width: min(100%, 325px); }
  .hero-person > img { bottom: -98px; }
  .identity-picture { height: clamp(295px, 82vw, 350px); }
  .identity-copy h2 { font-size: 37px; }
  .identity-facts li { gap: 13px; font-size: 14px; }
  .learning-covers { width: 300px; transform: scale(.74); height: 175px; }
  .learning-feature p { font-size: 13.5px; }
  .flex-language-card { grid-template-columns: 37% minmax(0,1fr); min-height: 125px; }
  .flex-language-card > img { min-height: 125px; }
  .flex-language-label { min-height: 125px; padding: 14px 17px; }
  .flex-language-label h3 { font-size: 21px; }
  .flex-language-label p { font-size: 12px; }
  .home-price-perks { grid-template-columns: 1fr; }
  .price-perk { border-bottom: 1px solid #dfe7ed; }
  .price-perk:last-child { border-bottom: 0; }
  .home-price-card { padding: 25px 23px 22px; }
  .faq-entry summary { font-size: 14.5px; }
  .project-card, .project-card:nth-child(2) { padding: 24px 22px 25px; }
  .project-role { font-size: 10px; padding: 6px 11px; }
  .project-card .project-index { font-size: 9.5px; }
  .project-brand-gorich { gap: 13px; min-height: 108px; }
  .project-brand-gorich img { width: 81px; height: 108px; }
  .project-wordmark { font-size: clamp(40px, 11.3vw, 52px); }
  .project-brand-haddad { min-height: 102px; }
  .project-logo-panel { min-height: 100px; padding: 12px; }
  .project-card .project-body h3, .project-card:nth-child(2) .project-body h3 { font-size: 23px; }
  .project-card-haddad .project-body h3 { font-size: 24px!important; }
  .projects-academic { padding: 22px 19px; gap: 13px; align-items: flex-start; background-position: 71% center; }
  .academic-mark { width: 51px; height: 51px; flex: 0 0 51px; border-radius: 13px; }
  .academic-mark .line-icon { width: 33px; height: 33px; }
  .academic-eyebrow { font-size: 9.5px; letter-spacing: .17em; }
  .academic-detail h3 { font-size: 22px; }
  .academic-detail p { font-size: 12.5px; }
  .back-to-top { width: 47px; height: 47px; right: 13px; }
}

@media (max-width: 360px) {
  .home-hero h1 { font-size: 32px; }
  .home-hero-copy > p { font-size: 15px; }
  .hero-attribute span { font-size: 11.5px; }
  .hero-person { width: min(100%, 300px); height: 288px; }
  .hero-person > img { bottom: -92px; }
  .learning-covers { transform: scale(.68); margin-left: calc(50% - 150px); }
  .flex-language-card { grid-template-columns: 35% minmax(0, 1fr); }
  .flex-language-label { padding: 12px 13px; }
  .flex-language-label h3 { font-size: 19px; }
  .flex-language-label p { font-size: 11.5px; }
  .project-wordmark { font-size: 38px; }
  .project-brand-gorich img { width: 68px; height: 99px; }
  .project-card, .project-card:nth-child(2) { padding: 21px 18px 23px; }
  .projects-academic { padding: 20px 16px; gap: 11px; }
  .academic-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .academic-mark .line-icon { width: 28px; height: 28px; }
  .academic-detail h3 { font-size: 20px; }
  .academic-detail p { font-size: 12px; }
}

/* v10: only the hero portrait framing and mobile workbook spacing. */
.hero-person > img {
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom right;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 87%, transparent 100%);
}
@media (max-width: 720px) {
  .hero-person {
    width: min(100%, 410px);
    height: clamp(335px, 70vw, 475px);
    margin: 8px auto 0;
    overflow: hidden;
  }
  .hero-person > img {
    right: 50%;
    bottom: 0;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    transform: translateX(50%);
    object-position: center bottom;
  }
  .learning-covers {
    margin-bottom: 46px;
  }
}
@media (max-width: 480px) {
  .hero-person {
    width: min(100%, 350px);
    height: clamp(335px, 95vw, 400px);
  }
}
@media (max-width: 360px) {
  .hero-person {
    width: min(100%, 315px);
    height: 335px;
  }
}


/* v11: feather the original portrait's hard lateral image boundaries.
   This changes only the hero photo in desktop and mobile layouts. */
.hero-person > img {
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 76%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 16%, #000 76%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 84%, transparent 100%);
  mask-composite: intersect;
}
