:root {
  --paper: #f3eee4;
  --paper-light: #fbf8f1;
  --ink: #25323a;
  --muted: #6d716e;
  --line: rgba(37, 50, 58, 0.18);
  --sage: #8f9b82;
  --clay: #bb6f52;
  --blue: #6f8996;
  --mustard: #c4a157;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Jost", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
a { color: inherit; }
button { font: inherit; }
.logo {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.03em;
  text-decoration: none;
}
.logo span { color: var(--sage); }
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: auto;
  padding: 28px 36px;
}
.menu-button {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  padding: 9px 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 600;
}
.menu-button__icon { display: grid; gap: 5px; width: 28px; }
.menu-button__icon i { display: block; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-button__icon i:nth-child(2) { width: 19px; justify-self: end; }
.menu-button:hover .menu-button__icon i:nth-child(2) { transform: translateX(-9px); }
.menu-panel {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  width: min(520px, 92vw);
  height: 100dvh;
  padding: 32px clamp(28px, 6vw, 64px) 40px;
  overflow-y: auto;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateX(102%);
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.menu-open .menu-panel { transform: translateX(0); }
.menu-scrim {
  position: fixed;
  z-index: 30;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(18, 26, 30, .46);
  transition: opacity .35s ease, visibility .35s;
}
.menu-open .menu-scrim { visibility: visible; opacity: 1; }
.menu-panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.menu-kicker, .menu-close { color: #c5c8c2; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.menu-close { border: 0; border-bottom: 1px solid currentColor; padding: 0 0 3px; background: none; cursor: pointer; }
.menu-list { margin: 0; padding: 0; list-style: none; counter-reset: menu; }
.menu-list > li { position: relative; border-top: 1px solid rgba(255,255,255,.14); }
.menu-list > li::before {
  counter-increment: menu;
  content: "0" counter(menu);
  position: absolute;
  top: 20px;
  left: 0;
  color: #9ca8a3;
  font-size: 10px;
  letter-spacing: .1em;
}
.menu-list > li > a, .menu-group > span {
  display: block;
  padding: 13px 0 13px 38px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  text-decoration: none;
}
.menu-group ul { margin: -2px 0 15px; padding: 0 0 0 38px; list-style: none; }
.menu-group li a { display: block; padding: 4px 0; color: #c8ceca; font-size: 14px; text-decoration: none; }
.menu-list a:hover { color: #dfb69f; }
.menu-note { margin: 28px 0 0; color: #9ca8a3; font-size: 12px; letter-spacing: .04em; }
.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3, blockquote { font-family: "Cormorant Garamond", serif; font-weight: 500; }
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr);
  align-items: end;
  gap: 72px;
  min-height: 780px;
  max-width: var(--max);
  margin: auto;
  padding: 150px 36px 92px;
  overflow: hidden;
}
.home-hero__copy { position: relative; z-index: 2; max-width: 740px; }
.home-hero h1 { max-width: 760px; margin: 0; font-size: clamp(60px, 7.7vw, 112px); line-height: .86; letter-spacing: -.055em; }
.home-hero h1 em { display: block; color: var(--sage); font-weight: 500; }
.home-hero__copy > p { max-width: 520px; margin: 38px 0 30px 18%; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; gap: 34px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.home-hero .text-link { margin-left: 18%; }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateY(4px); }
.brand-question { position: relative; z-index: 2; margin: 0 0 34px; padding: 30px 0 0; border-top: 1px solid var(--line); font-size: clamp(24px, 2.7vw, 36px); line-height: 1.17; }
.brand-question span { display: block; margin-bottom: 15px; color: var(--muted); font-family: "Jost", sans-serif; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.home-hero__number { position: absolute; right: 2%; top: 40px; color: rgba(37,50,58,.045); font-family: "Cormorant Garamond", serif; font-size: 440px; line-height: 1; }
.orbit-mark { position: absolute; right: 22%; top: 135px; width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 50%; animation: drift 9s ease-in-out infinite alternate; }
.orbit-mark span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--clay); }
.orbit-mark span:nth-child(1) { left: 14px; top: 42px; }
.orbit-mark span:nth-child(2) { right: 28px; bottom: 16px; background: var(--sage); }
.orbit-mark span:nth-child(3) { right: -4px; top: 75px; background: var(--mustard); }
@keyframes drift { to { transform: translate(10px, -13px) rotate(8deg); } }
.pathways { padding: 120px max(36px, calc((100vw - var(--max)) / 2)); background: var(--paper-light); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; margin-bottom: 72px; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2 { margin: 0; font-size: clamp(46px, 5vw, 72px); line-height: .96; letter-spacing: -.035em; }
.section-intro p { align-self: end; max-width: 460px; margin: 0 0 5px; color: var(--muted); }
.pathway-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.pathway-card {
  position: relative;
  min-height: 500px;
  padding: 26px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pathway-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgba(37,50,58,.13); }
.pathway-card:nth-child(2), .pathway-card:nth-child(3) { min-height: 430px; }
.pathway-card--aprender { background: #dce1d5; }
.pathway-card--internacional { margin-top: 70px; background: #d6e0e2; }
.pathway-card--atletas { background: #e8d7cb; }
.pathway-card--neuro { margin-top: -70px; background: #eadfbd; }
.pathway-card__index { position: absolute; top: 24px; right: 26px; z-index: 2; font-size: 11px; letter-spacing: .14em; }
.pathway-card__body { position: absolute; z-index: 2; inset: auto 30px 28px; }
.pathway-card__for { display: block; max-width: 300px; margin-bottom: 13px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pathway-card h3 { margin: 0; font-size: clamp(42px, 4.7vw, 66px); line-height: .82; letter-spacing: -.04em; }
.pathway-card p { margin: 20px 0 0; font-family: "Cormorant Garamond", serif; font-size: 22px; font-style: italic; }
.card-link { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 13px; border-top: 1px solid rgba(37,50,58,.25); font-size: 12px; font-weight: 600; }
.card-link b { font-size: 17px; transition: transform .25s; }
.pathway-card:hover .card-link b { transform: translate(4px, -4px); }
.pathway-visual { position: absolute; inset: 0; transition: transform .55s ease; }
.pathway-card:hover .pathway-visual { transform: scale(1.025); }
.pathway-visual--blocks i { position: absolute; display: block; border: 1px solid rgba(37,50,58,.28); transform: rotate(-9deg); }
.pathway-visual--blocks i:nth-child(1) { width: 125px; height: 125px; top: 55px; left: 16%; background: rgba(255,255,255,.22); }
.pathway-visual--blocks i:nth-child(2) { width: 75px; height: 75px; top: 108px; left: 41%; border-radius: 50%; background: var(--clay); }
.pathway-visual--blocks i:nth-child(3) { width: 110px; height: 54px; top: 46px; left: 58%; transform: rotate(13deg); background: var(--mustard); }
.pathway-visual--blocks i:nth-child(4) { width: 55px; height: 145px; top: 146px; left: 61%; transform: rotate(21deg); background: var(--blue); }
.pathway-visual--world i:nth-child(1) { position: absolute; width: 220px; height: 220px; top: 48px; left: 50%; transform: translateX(-50%); border: 1px solid var(--ink); border-radius: 50%; }
.pathway-visual--world i:nth-child(2), .pathway-visual--world i:nth-child(3) { position: absolute; width: 100%; left: 0; top: 132px; border-top: 1px solid var(--ink); transform: rotate(16deg); }
.pathway-visual--world i:nth-child(3) { transform: rotate(-16deg); }
.pathway-visual--track i { position: absolute; left: 11%; top: -70px; width: 79%; height: 330px; border: 1px solid rgba(37,50,58,.35); border-radius: 0 0 48% 48%; }
.pathway-visual--track i:nth-child(2) { inset: -45px 17% auto; width: 66%; }
.pathway-visual--track i:nth-child(3) { inset: -20px 24% auto; width: 52%; }
.pathway-visual--paths i { position: absolute; display: block; width: 120px; height: 120px; border: 1px solid rgba(37,50,58,.32); border-radius: 50% 50% 8% 50%; }
.pathway-visual--paths i:nth-child(1) { top: 35px; left: 11%; transform: rotate(28deg); background: rgba(255,255,255,.18); }
.pathway-visual--paths i:nth-child(2) { top: 82px; left: 34%; transform: rotate(110deg); background: rgba(187,111,82,.3); }
.pathway-visual--paths i:nth-child(3) { top: 24px; left: 57%; transform: rotate(190deg); background: rgba(111,137,150,.35); }
.pathway-visual--paths i:nth-child(4) { top: 130px; left: 66%; width: 70px; height: 70px; transform: rotate(245deg); background: rgba(143,155,130,.5); }
.connecting-statement { position: relative; max-width: var(--max); margin: 0 auto; padding: 140px 12%; }
.connecting-statement p { max-width: 920px; margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(38px, 5.5vw, 70px); line-height: 1.08; letter-spacing: -.03em; }
.connecting-statement em { color: var(--clay); }
.connecting-statement__mark { position: absolute; left: 4%; top: 112px; color: var(--mustard); font-family: serif; font-size: 90px; }
.two-logics { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 20px; padding: 110px max(36px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--paper-light); }
.two-logics__heading { padding-right: 50px; }
.two-logics__heading h2 { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: .98; }
.logic-card { display: flex; flex-direction: column; min-height: 390px; padding: 34px; color: var(--ink); }
.logic-card--programs { background: #dce1d5; }
.logic-card--shop { margin-top: 52px; background: #e8d7cb; }
.logic-card__label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.logic-card h3 { margin: auto 0 8px; font-size: 48px; line-height: 1; }
.logic-card p { margin: 0 0 30px; font-size: 14px; }
.logic-card a { align-self: flex-start; padding-bottom: 3px; border-bottom: 1px solid; font-size: 12px; font-weight: 600; text-decoration: none; }
.contact-band { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; padding: 110px max(36px, calc((100vw - var(--max)) / 2)); background: var(--clay); color: var(--paper-light); }
.contact-band .eyebrow { color: #f1d5c9; }
.contact-band h2 { max-width: 630px; margin: 0; font-size: clamp(48px, 5.5vw, 76px); line-height: .95; }
.contact-email { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.65); text-decoration: none; font-size: clamp(16px, 2vw, 22px); }
.site-footer { display: grid; grid-template-columns: .6fr 1fr auto; align-items: end; gap: 40px; padding: 52px max(36px, calc((100vw - var(--max)) / 2)); background: var(--paper); }
.site-footer p { max-width: 440px; margin: 0; color: var(--muted); font-size: 13px; }
.site-footer > span { color: var(--muted); font-size: 11px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.pathway-card:nth-child(2) { transition-delay: .08s; }
.pathway-card:nth-child(3) { transition-delay: .12s; }
.pathway-card:nth-child(4) { transition-delay: .18s; }

/* Interior program pages */
.program-page { min-height: 100vh; background: var(--paper-light); }
.program-hero { max-width: var(--max); margin: auto; padding: 170px 36px 90px; }
.program-hero__back { display: inline-block; margin-bottom: 55px; color: var(--muted); font-size: 12px; text-decoration: none; }
.program-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.program-hero h1 { margin: 0; font-size: clamp(64px, 9vw, 124px); line-height: .79; letter-spacing: -.055em; }
.program-hero h1 em { display: block; color: var(--sage); }
.program-tagline { margin: 0 0 14px; font-family: "Cormorant Garamond", serif; font-size: clamp(28px, 3vw, 42px); font-style: italic; line-height: 1.08; }
.program-audience { color: var(--muted); }
.program-content { padding: 90px max(36px, calc((100vw - var(--max)) / 2)); background: var(--paper); }
.program-content__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.program-content h2 { margin: 0; font-size: 48px; line-height: 1; }
.program-content p, .program-content li { color: var(--muted); }
.program-content ul { columns: 2; gap: 50px; margin: 0; padding-left: 20px; }
.program-content li { break-inside: avoid; margin-bottom: 12px; }
.notice { margin-top: 55px; padding: 26px 30px; border-left: 4px solid var(--clay); background: #eee5d7; font-size: 14px; }
.language-switch { display: flex; gap: 8px; margin-top: 30px; }
.language-switch a { min-width: 42px; padding: 7px 10px; border: 1px solid var(--line); text-align: center; text-decoration: none; font-size: 11px; font-weight: 600; }
.language-switch a[aria-current="page"] { color: var(--paper-light); background: var(--ink); }

@media (max-width: 850px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 145px; gap: 65px; }
  .home-hero__copy > p, .home-hero .text-link { margin-left: 0; }
  .brand-question { max-width: 500px; }
  .orbit-mark { right: -65px; top: 120px; }
  .section-intro, .program-hero__grid, .program-content__grid { grid-template-columns: 1fr; }
  .section-intro { gap: 28px; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card, .pathway-card:nth-child(2), .pathway-card:nth-child(3) { min-height: 480px; margin-top: 0; }
  .pathway-card--neuro { margin-top: 0; }
  .two-logics { grid-template-columns: 1fr 1fr; }
  .two-logics__heading { grid-column: 1 / -1; padding: 0 0 35px; }
  .logic-card--shop { margin-top: 35px; }
  .contact-band { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .program-hero__grid { gap: 42px; }
  .program-content__grid { gap: 35px; }
}

@media (max-width: 560px) {
  .site-header { padding: 22px 20px; }
  .menu-button__label { display: none; }
  .home-hero { padding: 130px 20px 70px; }
  .home-hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .home-hero__number { right: -40px; top: 80px; font-size: 250px; }
  .pathways { padding: 82px 20px; }
  .pathway-card, .pathway-card:nth-child(2), .pathway-card:nth-child(3) { min-height: 450px; }
  .pathway-card h3 { font-size: 46px; }
  .connecting-statement { padding: 95px 32px; }
  .connecting-statement__mark { left: 12px; top: 62px; }
  .two-logics { grid-template-columns: 1fr; padding: 80px 20px; }
  .logic-card--shop { margin-top: 0; }
  .contact-band { padding: 80px 20px; }
  .contact-email { font-size: 15px; }
  .site-footer { grid-template-columns: 1fr; padding: 42px 20px; }
  .site-footer p { grid-column: auto; grid-row: auto; }
  .program-hero { padding: 135px 20px 70px; }
  .program-hero h1 { font-size: 67px; }
  .program-content { padding: 70px 20px; }
  .program-content ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
