:root {
  color-scheme: light;
  --paper: #f1eee5;
  --paper-bright: #faf8f2;
  --ink: #142622;
  --muted: #60716c;
  --forest: #173f37;
  --teal: #177c6b;
  --sage: #abc6b8;
  --clay: #c27e48;
  --line: rgba(20, 38, 34, .16);
  --surface-soft: rgba(250, 248, 242, .7);
  --surface-card: rgba(250, 248, 242, .55);
  --glow: rgba(23, 124, 107, .08);
  --header-backdrop: rgba(241, 238, 229, .9);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1815;
  --paper-bright: #14231f;
  --ink: #edf4f0;
  --muted: #a5b7b1;
  --forest: #245e52;
  --teal: #78d8c1;
  --sage: #35584f;
  --clay: #e2a06a;
  --line: rgba(237, 244, 240, .16);
  --surface-soft: rgba(20, 35, 31, .82);
  --surface-card: rgba(20, 35, 31, .68);
  --glow: rgba(120, 216, 193, .1);
  --header-backdrop: rgba(13, 24, 21, .9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, var(--glow), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  transition: color .22s ease, background-color .22s ease;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  background: var(--paper-bright);
  padding: .7rem 1rem;
  border: 1px solid var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.preview-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: .48rem 1.5rem;
  color: #f8f4e9;
  background: var(--forest);
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.preview-bar span { font-weight: 800; color: #aee9d9; }
.preview-bar p { margin: 0; opacity: .78; }

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.site-actions { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; }
.language-toggle,
.theme-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: .5rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font: 800 .66rem/1 var(--sans);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-toggle { font-size: 1rem; letter-spacing: 0; }
.language-toggle:hover,
.language-toggle:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible { border-color: var(--teal); color: var(--teal); }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { position: relative; width: 34px; height: 34px; display: inline-grid; place-items: center; }
.brand-mark i { position: absolute; width: 9px; height: 27px; border: 1.5px solid currentColor; border-radius: 50%; transform: rotate(45deg); }
.brand-mark i:nth-child(2) { transform: rotate(90deg); }
.brand-mark i:nth-child(3) { transform: rotate(135deg); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--display); font-size: 1.42rem; font-weight: 500; }
.brand-copy small { margin-top: .3rem; color: var(--muted); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; }

nav { display: flex; gap: 1.7rem; }
nav a, .text-link {
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
nav a { color: var(--muted); }
nav a:hover, nav a:focus-visible, .text-link:hover, .text-link:focus-visible { color: var(--teal); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.35rem;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--teal); }
.button-small { justify-self: end; min-height: 42px; padding: .65rem 1rem; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  min-height: 750px;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 55%;
  width: 1px;
  background: var(--line);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--teal);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.15rem, 6.25vw, 6.3rem);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.045em;
}
.hero h1 span { color: var(--teal); font-style: italic; }
.hero-lead { max-width: 590px; margin: 2rem 0 0; color: var(--muted); font-size: 1.14rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.text-link { padding: .8rem 0; }
.text-link span { margin-left: .35rem; color: var(--clay); font-size: 1rem; }
.audiences { display: flex; flex-wrap: wrap; gap: .65rem; margin: 3.2rem 0 0; padding: 0; list-style: none; }
.audiences li { padding: .45rem .75rem; border: 1px solid var(--line); color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.hero-visual { position: relative; padding: 1rem 0 3.5rem; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5.25; background: #ced6cf; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(12, 42, 36, .32)); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(.78) contrast(1.04); }
.route-card {
  position: absolute;
  left: -3.5rem;
  bottom: 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .55rem .9rem;
  width: min(320px, 84%);
  padding: 1.2rem;
  color: #edf5ef;
  background: rgba(23, 63, 55, .96);
  box-shadow: 0 20px 50px rgba(20, 38, 34, .2);
}
.route-card span { color: #9bd8c8; font-size: .62rem; letter-spacing: .12em; }
.route-card b { font-family: var(--display); font-size: 1.08rem; font-weight: 400; }
.route-card i { grid-column: 1 / -1; height: 1px; background: rgba(255,255,255,.14); }
.visual-caption { position: absolute; right: .5rem; bottom: 1.65rem; margin: 0; color: var(--muted); font-family: var(--display); font-size: .85rem; transform: rotate(-90deg); transform-origin: bottom right; }

.section, .statement { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }
.statement { display: grid; grid-template-columns: .55fr 1.45fr; gap: 2rem; padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.statement h2, .section-heading h2, .journey h2, .institute h2, .partnership h2, .founder h2, .status h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.statement div > p { max-width: 760px; color: var(--muted); font-size: 1.17rem; }

.journey-visual {
  position: relative;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--forest);
}
.journey-visual img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.journey-visual figcaption {
  padding: .8rem 1rem;
  color: var(--muted);
  background: var(--paper-bright);
  font-size: .66rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pillars { padding: clamp(5rem, 8vw, 7rem) 0; }
.section-heading { display: grid; grid-template-columns: .7fr 1.1fr .85fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { align-self: start; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.pillar-card { min-height: 470px; padding: 2rem; background: var(--surface-soft); border-right: 1px solid var(--line); }
.pillar-card:last-child { border-right: 0; }
.pillar-card::before { content: ""; display: block; width: 48px; height: 5px; margin-bottom: 4.5rem; background: var(--teal); }
.pillar-card.career::before { background: var(--clay); }
.pillar-card.advisory::before { background: var(--forest); }
.card-index { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pillar-card h3 { max-width: 8ch; margin: 1.2rem 0; font-family: var(--display); font-size: 2.4rem; font-weight: 400; line-height: 1.05; }
.pillar-card p { color: var(--muted); }
.pillar-card ul { margin: 2rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.pillar-card li { padding: .35rem 0; font-size: .84rem; }

.journey { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 8vw, 8rem) 0; border-top: 1px solid var(--line); }
.journey-intro { position: sticky; top: 2rem; align-self: start; }
.journey-intro > p:last-child { max-width: 430px; color: var(--muted); }
.journey-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.journey-list li { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.journey-list li > span { color: var(--clay); font-family: var(--display); font-size: 1.35rem; }
.journey-list div { display: grid; gap: .15rem; }
.journey-list strong { font-family: var(--display); font-size: 1.55rem; font-weight: 400; }
.journey-list small { color: var(--muted); }

.institute { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 590px; color: #f4f3eb; background: var(--forest); }
.institute-main { padding: clamp(3rem, 7vw, 6rem); }
.institute .eyebrow { color: #9be1cf; }
.institute-main > p:not(.eyebrow) { max-width: 690px; color: rgba(255,255,255,.68); font-size: 1.06rem; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2.4rem; }
.topic-cloud span { padding: .65rem .85rem; border: 1px solid rgba(255,255,255,.18); font-size: .72rem; letter-spacing: .06em; }
.institute-aside { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 5vw, 4rem); color: var(--ink); background: var(--sage); }
.aside-number { color: var(--teal); font-family: var(--display); font-size: 4rem; }
.institute-aside h3 { margin: auto 0 1.5rem; font-family: var(--display); font-size: clamp(2rem, 3.3vw, 3.25rem); font-weight: 400; line-height: 1.04; }
.institute-aside p { color: #38554e; }

.partnership { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; padding: clamp(5rem, 9vw, 8rem) 0; border-bottom: 1px solid var(--line); }
.partnership h2 span { color: var(--clay); }
.partnership > p, .partnership > div:last-child > p { margin: 0 0 1rem; color: var(--muted); font-size: 1.08rem; }

.founder { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; padding: clamp(5rem, 9vw, 8rem) 0; }
.founder-label { display: flex; flex-direction: column; justify-content: space-between; }
.monogram { margin: 0; color: rgba(23, 124, 107, .09); font-family: var(--display); font-size: clamp(7rem, 15vw, 13rem); line-height: .7; }
.founder-copy { max-width: 780px; }
.founder-lead { color: var(--teal); font-family: var(--display); font-size: 1.45rem; }
.founder-copy > p:not(.founder-lead) { color: var(--muted); }
.validation-note { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--clay); background: rgba(194,126,72,.08); font-size: .83rem; }

.mentoring { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 7rem); padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.mentoring h2 { margin: 0; font-family: var(--display); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.mentoring > div:last-child > p { max-width: 690px; margin-top: 0; color: var(--muted); font-size: 1.08rem; }
.mentoring ul { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mentoring li { padding: .9rem 0; border-bottom: 1px solid var(--line); }

.status { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; padding: clamp(4rem, 7vw, 6rem); color: #f5f3eb; background: #102924; }
.status .eyebrow { color: #9be1cf; }
.status ul { margin: 0; padding: 0; list-style: none; }
.status li { display: grid; grid-template-columns: 48px 1fr; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.status li span { color: #9be1cf; font-family: var(--display); }
.course-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding-top: 1rem; }
.status .text-link { color: #f5f3eb; }

.inner-page main { min-height: 70vh; }
.page-hero {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: inline-flex; gap: .55rem; margin-bottom: 3rem; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.page-hero h1 { max-width: 13ch; margin: 0; font-family: var(--display); font-size: clamp(3.4rem, 7vw, 7rem); font-weight: 400; line-height: .94; letter-spacing: -.05em; }
.page-hero > p:last-of-type { max-width: 760px; margin: 2rem 0 0; color: var(--muted); font-size: 1.16rem; }
.page-hero .hero-actions { margin-top: 2.4rem; }

.content-section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--line); }
.content-section h2 { max-width: 14ch; margin: 0 0 2rem; font-family: var(--display); font-size: clamp(2.4rem, 4.7vw, 4.7rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.content-section h3 { margin: 0; font-family: var(--display); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.content-section > p, .prose p { max-width: 780px; color: var(--muted); font-size: 1.03rem; line-height: 1.8; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.content-card { min-height: 280px; padding: 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-card); }
.content-card span { display: block; margin-bottom: 3rem; color: var(--teal); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.content-card p { color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 1.2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--clay); font-family: var(--display); font-size: 1.35rem; }
.steps strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.steps small { color: var(--muted); }
.article-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.article-list a { min-height: 220px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.article-list a:nth-child(even) { border-right: 0; }
.article-list strong { display: block; margin-top: 2rem; font-family: var(--display); font-size: 2rem; font-weight: 400; line-height: 1.05; }
.article-list p { color: var(--muted); }
.cta-band { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem); color: #fff; background: var(--forest); }
.cta-band h2 { max-width: 14ch; margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; line-height: 1; }
.cta-band p { max-width: 680px; color: rgba(255,255,255,.7); }
.cta-band .button { margin-top: 1rem; border-color: var(--paper-bright); background: var(--paper-bright); color: var(--forest); }

footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 3rem 0;
}
footer > p { margin: 0; color: var(--muted); font-family: var(--display); text-align: center; }
footer > span { color: var(--muted); font-size: .62rem; letter-spacing: .09em; text-align: right; text-transform: uppercase; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

:root[data-theme="dark"] .portrait-frame { background: #213a34; }
:root[data-theme="dark"] .journey-visual img,
:root[data-theme="dark"] .portrait-frame img { filter: saturate(.72) contrast(1.08) brightness(.86); }
:root[data-theme="dark"] .institute-aside { color: var(--ink); }
:root[data-theme="dark"] .institute-aside p { color: #c7d8d2; }
:root[data-theme="dark"] .monogram { color: rgba(120, 216, 193, .12); }
:root[data-theme="dark"] .validation-note { background: rgba(226, 160, 106, .1); }
:root[data-theme="dark"] .cta-band .button { border-color: #edf4f0; background: #edf4f0; color: #173f37; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr .72fr; gap: 3rem; min-height: 650px; }
  .hero h1 { font-size: clamp(3rem, 7vw, 5rem); }
  .section-heading { grid-template-columns: 1fr 1.5fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .pillar-card { min-height: 430px; padding: 1.45rem; }
  .pillar-card h3 { font-size: 2rem; }
  .route-card { left: -2rem; }
  .visual-caption { display: none; }
}

@media (max-width: 720px) {
  .preview-bar { align-items: center; justify-content: flex-start; gap: .55rem; overflow: hidden; white-space: nowrap; }
  .preview-bar p { overflow: hidden; text-overflow: ellipsis; }
  .site-header, .hero, .section, .statement, footer { width: min(calc(100% - 2rem), var(--max)); }
  .site-header { padding: 1rem 0; }
  .brand-copy small { display: none; }
  .button-small { min-height: 38px; padding: .55rem .75rem; font-size: .62rem; }
  .site-actions { gap: .4rem; }
  .language-toggle, .theme-toggle { min-width: 38px; min-height: 38px; }
  .site-actions .button-small { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0 5rem; }
  .hero::before { display: none; }
  .hero h1 { max-width: 100%; font-size: clamp(3.05rem, 14vw, 5rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .audiences { margin-top: 2rem; }
  .hero-visual { width: 90%; margin-left: auto; }
  .route-card { left: -11%; width: 82%; }
  .statement, .journey, .partnership, .founder, .status, .mentoring { grid-template-columns: 1fr; gap: 2.5rem; }
  .statement { padding: 5rem 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar-card:last-child { border-bottom: 0; }
  .pillar-card::before { margin-bottom: 2.5rem; }
  .section-heading { display: block; }
  .section-heading > p:last-child { margin-top: 1.5rem; }
  .journey-intro { position: static; }
  .institute { grid-template-columns: 1fr; }
  .institute-main, .institute-aside { padding: 2rem; }
  .institute-aside { min-height: 360px; }
  .founder-label { min-height: 180px; }
  .status { width: 100%; padding: 3.5rem 1.25rem; }
  .page-hero, .content-section, .cta-band { width: min(calc(100% - 2rem), var(--max)); }
  .content-grid, .article-list { grid-template-columns: 1fr; }
  .article-list a { border-right: 0; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer > p, footer > span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
