/* OZO School of Design
   Layout: dark navy "studio" chapters alternating with light paper chapters; text left-aligned on a 12-col grid,
   one bold move — the hero type stretches from condensed to wide (Archivo width axis) and squeezes back on scroll. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-var.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-italic-var.woff") format("woff"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* colour */
  --navy: #00245C;      /* base: OZO deep navy */
  --deep: #001A44;      /* darker chapter */
  --royal: #003B95;     /* secondary blue */
  --volt: #1677FF;      /* the one accent */
  --mist: #B5CEDB;      /* quiet text on navy, soft fills */
  --paper: #EEF3F6;     /* light chapters, blue-tinted */
  --white: #FFFFFF;
  --blush: #F8BBCB;     /* tiny touches only: selection, focus */
  --ink: #00245C;       /* text on paper */
  --ink-soft: #3D5878;
  --line-dark: rgba(181, 206, 219, .22);
  --line-light: rgba(0, 36, 92, .14);

  /* type */
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(.84rem, .8rem + .15vw, .94rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5.2rem);
  --step-hero: clamp(3.4rem, 1rem + 12.6vw, 14rem);

  /* layout */
  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --max: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--navy); color: var(--white);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blush); color: var(--navy); }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 200; background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 760; font-stretch: 100%; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; max-width: 64ch; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* chapters */
.chapter { padding-block: clamp(4.5rem, 3rem + 7vw, 10rem); position: relative; }
.chapter--paper { background: var(--paper); color: var(--ink); }
.chapter--deep { background: var(--deep); }
.chapter--white { background: var(--white); color: var(--ink); }
.chapter-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); max-width: 60rem; }
.chapter-head h2 { font-size: var(--step-4); font-stretch: 112%; }
.chapter-head p { font-size: var(--step-1); color: var(--mist); }
.chapter--paper .chapter-head p, .chapter--white .chapter-head p { color: var(--ink-soft); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 52px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--volt); color: var(--white); transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; border-color: var(--line-dark); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.chapter--paper .btn--ghost, .chapter--white .btn--ghost { border-color: var(--line-light); color: var(--ink); }
.chapter--paper .btn--ghost:hover, .chapter--white .btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.link-line { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .5s var(--ease), background .4s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.is-solid { background: rgba(0, 26, 68, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .8rem; background: none; border: 0; padding: .5rem 0; cursor: pointer;
  font-weight: 600; font-size: var(--step-0); color: var(--white);
}
.menu-toggle .bars { width: 28px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 10px; }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }
.header-right { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
.header-cta { min-height: 44px; padding: .5rem 1.1rem; font-size: var(--step--1); }
.brand { display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--deep); color: var(--white);
  display: grid; align-content: center; padding-top: var(--header-h);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a {
  display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 760;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6.4rem); line-height: 1.04; font-stretch: 75%;
  transition: font-stretch .5s var(--ease), color .3s;
}
.menu-links a:hover, .menu-links a:focus-visible, .menu-links a[aria-current="page"] { font-stretch: 125%; color: var(--mist); }
.menu-aside { display: grid; gap: 1.6rem; color: var(--mist); font-size: var(--step--1); }
.menu-aside strong { display: block; color: var(--white); font-weight: 600; margin-bottom: .2rem; }
.menu-aside a { text-decoration: none; }

/* page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--volt); transform: translateY(100%); pointer-events: none; visibility: hidden; }
.curtain.is-covering, .curtain.is-leaving { visibility: visible; }
.curtain.is-covering { transform: translateY(0); transition: transform .55s var(--ease); }
.curtain.is-leaving { transform: translateY(-100%); transition: transform .7s var(--ease); }

/* preloader */
.preloader { position: fixed; inset: 0; z-index: 160; background: var(--navy); display: grid; place-items: center; }
.preloader-inner { display: grid; justify-items: center; gap: 1.4rem; }
.preloader img { width: min(240px, 50vw); }
.preloader-count { font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: var(--step-1); color: var(--mist); font-variant-numeric: tabular-nums; }
.no-js .preloader, .preloader.is-done { display: none; }

/* hero */
.hero { min-height: 100svh; padding-top: calc(var(--header-h) + clamp(1rem, 4vh, 3rem)); padding-bottom: clamp(1.5rem, 4vh, 3rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); grid-template-rows: auto 1fr; column-gap: clamp(1.5rem, 4vw, 5rem); align-items: end; }
.hero-kicker { grid-column: 1 / -1; font-size: var(--step-1); color: var(--mist); font-weight: 500; align-self: start; }
.hero-title { font-size: min(var(--step-hero), 21svh); line-height: .9; font-weight: 820; font-stretch: 125%; letter-spacing: -.02em; display: grid; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-foot { display: grid; gap: 2rem; padding-bottom: .6em; }
.hero-lede { font-size: var(--step-1); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.proofs { list-style: none; margin: 0; padding: 1.4rem 0 0; display: grid; gap: .55rem; color: var(--mist); border-top: 1px solid var(--line-dark); }
.proofs li { display: flex; gap: .7rem; align-items: center; }
.proofs li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); flex: none; }

/* hero image that opens up on scroll */
.reveal-media { position: relative; height: 100svh; overflow: hidden; }
.reveal-frame { position: absolute; inset: 0; clip-path: inset(14% 18% 14% 18% round 28px); will-change: clip-path; }
.reveal-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.reveal-caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 5vh, 3rem); display: flex; justify-content: space-between; gap: 1rem; color: var(--white); font-weight: 500; text-shadow: 0 1px 12px rgba(0, 20, 50, .6); }
.no-js .reveal-frame, .reduced .reveal-frame { clip-path: none; }

/* statement + stats */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.statement h2 { font-size: var(--step-4); font-stretch: 112%; }
.statement-body { display: grid; gap: 2.5rem; }
.statement-body > p { font-size: var(--step-2); line-height: 1.32; font-weight: 500; max-width: 30ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line-light); padding-top: 1.8rem; }
.stat-num { display: block; font-family: var(--display); font-weight: 780; font-stretch: 118%; font-size: var(--step-4); line-height: 1; color: var(--royal); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: .5rem; color: var(--ink-soft); font-size: var(--step--1); }
.chapter--deep .stat-num, .chapter:not(.chapter--paper):not(.chapter--white) .stat-num { color: var(--white); }
.logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.logos img { height: 88px; width: auto; background: var(--white); border-radius: 12px; padding: .5rem; }

/* courses: pinned horizontal track */
.courses { overflow: hidden; }
.courses-pin { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding-block: calc(var(--header-h) + 1rem) 2.5rem; }
.courses-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(1.5rem, 4vh, 3rem); }
.courses-head h2 { font-size: var(--step-4); font-stretch: 112%; }
.courses-head p { color: var(--mist); max-width: 34ch; }
.track { display: flex; gap: clamp(1rem, 2vw, 1.8rem); padding-inline: var(--gutter); width: max-content; }
.course {
  position: relative; width: clamp(270px, 28vw, 420px); flex: none; display: grid; grid-template-rows: auto 1fr; gap: 1.2rem;
  text-decoration: none; color: inherit;
}
.course-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--royal); }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.course:hover .course-media img, .course:focus-visible .course-media img { transform: scale(1.06); }
.course h3 { font-size: var(--step-2); font-stretch: 100%; transition: font-stretch .5s var(--ease); }
.course:hover h3 { font-stretch: 118%; }
.course p { color: var(--mist); font-size: var(--step--1); margin-top: .5rem; }
.course-more { display: inline-block; margin-top: .9rem; font-weight: 600; }
.track-hint { margin-top: 1.5rem; color: var(--mist); font-size: var(--step--1); }

/* student work: three columns drifting at different speeds */
.work-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.6rem); align-items: start; }
.work-col { display: grid; gap: clamp(.8rem, 1.6vw, 1.6rem); }
.work-col:nth-child(2) { margin-top: 18vh; }
.work-col:nth-child(3) { margin-top: 6vh; }
.work-col img { width: 100%; border-radius: 12px; }
.work-section { padding-bottom: clamp(2rem, 4vw, 4rem); }
.course-media img.trim, .course-block-media img.trim { transform: scale(1.22); }
.course:hover .course-media img.trim { transform: scale(1.28); }

/* why OZO: list + swapping image (tabs) */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.why-item { border-bottom: 1px solid var(--line-light); }
.why-item button {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.25rem 0; color: var(--ink);
}
.why-item h3 { font-size: var(--step-2); font-stretch: 90%; transition: font-stretch .5s var(--ease), color .3s; }
.why-item p { grid-column: 1 / -1; color: var(--ink-soft); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.why-item .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--royal); align-self: center; transition: background .3s; }
.why-item.is-active h3 { font-stretch: 120%; color: var(--royal); }
.why-item.is-active p { max-height: 6rem; opacity: 1; }
.why-item.is-active .dot { background: var(--volt); border-color: var(--volt); }
.why-media { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.why-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.why-media img.is-active { opacity: 1; transform: scale(1); }

/* 3D world behind every page (world3d.js) */
.world3d { display: none; }
.has-3d { background: var(--navy); }
.has-3d body { background: transparent; }
.has-3d .world3d { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }
.has-3d .chapter--deep { background: rgba(0, 26, 68, .72); }
.tilt { transition: transform .5s var(--ease), background .3s, color .3s; transform-style: preserve-3d; will-change: transform; }

/* 3D scenes (three.js) — shown only when main.js sets .has-3d */
.photo3d, .ring-stage { display: none; }
.has-3d .photo3d { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.has-3d .reveal-media { background: var(--navy); }
.has-3d .reveal-frame { clip-path: none; opacity: 0; }
.has-3d .reveal-frame img { transform: none; }
.has-3d .reveal-caption { opacity: 0; }
.has-3d.no-3d-photo .reveal-frame, .has-3d.no-3d-photo .reveal-caption { opacity: 1 !important; }
.has-3d .ring-stage { display: block; position: relative; height: 100svh; margin-top: clamp(-3rem, -4vw, -1.5rem); }
.has-3d .ring3d { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.has-3d .ring3d.is-dragging { cursor: grabbing; }
.ring-hint { position: absolute; left: 50%; bottom: clamp(1.2rem, 4vh, 2.5rem); transform: translateX(-50%); color: var(--mist); font-size: var(--step--1); white-space: nowrap; pointer-events: none; }
.has-3d .work-cols { display: none; }
.has-3d.no-3d-ring .work-cols { display: grid; }
.has-3d.no-3d-ring .ring-stage { display: none; }
.has-3d .work-section { padding-bottom: 0; }

/* drag strip */
.strip { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--gutter); padding-bottom: 1rem; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--mist) transparent; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip figure { margin: 0; flex: none; width: clamp(260px, 42vw, 640px); scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; pointer-events: none; user-select: none; }
.strip figcaption { margin-top: .7rem; color: var(--mist); font-size: var(--step--1); }
.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; max-width: var(--max); }
.strip-head p { color: var(--mist); }

/* testimonials */
.voices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.voice { display: none; margin: 0; }
.voice.is-active { display: grid; gap: 2rem; animation: voiceIn .7s var(--ease); }
@keyframes voiceIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.voice blockquote { margin: 0; font-size: var(--step-1); line-height: 1.5; display: grid; gap: 1rem; }
.voice blockquote p { max-width: 60ch; }
.voice figcaption { display: flex; align-items: center; gap: 1rem; }
.voice figcaption img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.voice figcaption strong { display: block; font-weight: 650; }
.voice figcaption span { color: var(--mist); font-size: var(--step--1); }
.voices-nav { display: flex; gap: .6rem; margin-top: 2rem; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.round-btn:hover { background: var(--white); color: var(--navy); }
.round-btn svg { width: 20px; height: 20px; }
.voices-count { font-variant-numeric: tabular-nums; color: var(--mist); align-self: center; margin-left: .6rem; }

/* journal cards */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.post-card { text-decoration: none; color: inherit; display: grid; gap: 1.1rem; }
.post-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--mist); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card time { color: var(--ink-soft); font-size: var(--step--1); }
.post-card h3 { font-size: var(--step-2); font-stretch: 100%; }
.post-card p { color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 6rem); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq details:first-child { border-top: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-family: var(--display); font-weight: 680; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; margin-top: .25rem; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--royal); transition: transform .4s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details p { padding-bottom: 1.5rem; color: var(--ink-soft); }

/* closing CTA + footer */
.closing { padding-top: clamp(5rem, 4rem + 8vw, 11rem); }
.closing h2 { font-size: clamp(2.8rem, 1.2rem + 7vw, 8.5rem); font-stretch: 118%; line-height: .95; max-width: 14ch; }
.closing-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2.5rem; border-top: 1px solid var(--line-dark); font-size: var(--step--1); color: var(--mist); }
.footer-grid h3 { font-family: var(--body); font-size: var(--step--1); font-weight: 650; color: var(--white); margin-bottom: .8rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-grid address { font-style: normal; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 2rem 2.5rem; color: var(--mist); font-size: var(--step--1); }
.footer-base img { height: 34px; width: auto; }

/* inner page hero */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 10vh, 7rem)); padding-bottom: clamp(3rem, 8vh, 6rem); }
.page-hero h1 { font-size: clamp(3.2rem, 1rem + 10vw, 11rem); font-stretch: 125%; font-weight: 820; line-height: .9; letter-spacing: -.02em; }
.page-hero p { font-size: var(--step-1); color: var(--mist); margin-top: 1.6rem; max-width: 46ch; }

/* courses page */
.course-index { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.course-index a { text-decoration: none; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line-dark); font-size: var(--step--1); transition: background .3s, color .3s; }
.course-index a:hover { background: var(--white); color: var(--navy); }
.course-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; scroll-margin-top: var(--header-h); }
.course-block + .course-block { margin-top: clamp(5rem, 10vw, 9rem); }
.course-block:nth-child(even) .course-block-media { order: 2; }
.course-block-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--royal); }
.course-block-media img { width: 100%; height: 100%; object-fit: cover; }
.course-block h2 { font-size: var(--step-4); font-stretch: 110%; }
.course-block .desc { font-size: var(--step-1); margin-top: 1.4rem; color: var(--ink-soft); }
.chips { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .4rem .9rem; border-radius: 999px; background: var(--white); color: var(--royal); font-size: var(--step--1); font-weight: 550; }
.brochures { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: stretch; }
.brochure { display: flex; gap: 1rem; align-items: center; text-decoration: none; padding: .7rem 1.1rem .7rem .7rem; border-radius: 14px; background: var(--white); color: var(--ink); transition: background .3s, color .3s; }
.brochure:hover { background: var(--navy); color: var(--white); }
.brochure img { width: 52px; height: 72px; object-fit: cover; border-radius: 6px; }
.brochure strong { display: block; font-weight: 650; }
.brochure span { font-size: var(--step--1); opacity: .75; }
.course-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* about page */
.lead-media { border-radius: var(--radius); overflow: hidden; }
.lead-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.campuses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.campus { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--royal); display: grid; gap: 1rem; align-content: start; }
.chapter--paper .campus { background: var(--white); color: var(--ink); }
.campus h3 { font-size: var(--step-3); font-stretch: 112%; }
.campus address { font-style: normal; color: var(--mist); }
.chapter--paper .campus address { color: var(--ink-soft); }
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery img { width: 100%; border-radius: 12px; }
.gallery figcaption { margin-top: .5rem; font-size: var(--step--1); color: var(--ink-soft); }

/* journal + article */
.article { max-width: 46rem; margin-inline: auto; }
.article-head { padding-top: calc(var(--header-h) + clamp(2.5rem, 8vh, 5rem)); padding-bottom: 2.5rem; }
.article-head h1 { font-size: var(--step-4); font-stretch: 105%; }
.article-head time { display: block; color: var(--mist); margin-top: 1.2rem; }
.article-cover { max-width: 64rem; margin: 0 auto; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; }
.prose { color: var(--ink); font-size: 1.12rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: var(--step-2); font-stretch: 105%; margin-top: 2.2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 680; }
.back-link { display: inline-block; margin-top: 3rem; font-weight: 600; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.contact-lines { display: grid; gap: 1.8rem; }
.contact-lines h2 { font-family: var(--body); font-size: var(--step--1); color: var(--mist); font-weight: 600; letter-spacing: 0; margin-bottom: .4rem; }
.contact-lines a, .contact-lines address { font-size: var(--step-2); font-family: var(--display); font-weight: 650; font-style: normal; text-decoration: none; line-height: 1.25; }
.contact-lines a.link-line { font-family: var(--body); font-size: var(--step-0); font-weight: 600; }
.contact-lines address { font-size: var(--step-0); font-family: var(--body); font-weight: 400; color: var(--white); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.8rem); display: grid; gap: 1.2rem; }
.form h2 { font-size: var(--step-3); font-stretch: 110%; }
.form p { color: var(--ink-soft); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 10px; padding: .85rem 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: var(--step--1); }
.form-error { color: #B3261E; font-size: var(--step--1); min-height: 1.2em; }

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: 2rem; align-content: space-between; }
  .hero-title { font-size: min(var(--step-hero), 17svh); }
  .statement, .why, .voices, .faq, .course-block, .contact-grid, .menu .wrap { grid-template-columns: minmax(0, 1fr); }
  .course-block:nth-child(even) .course-block-media { order: 0; }
  .why-media { position: relative; top: 0; aspect-ratio: 16 / 11; order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-aside { display: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .brand img { height: 32px; }
  .header-cta { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .work-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-col:nth-child(3) { display: none; }
  .work-col:nth-child(2) { margin-top: 10vh; }
  .posts, .campuses, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .courses-head { flex-direction: column; align-items: start; }
  .reveal-frame { clip-path: inset(10% 6% 10% 6% round 20px); }
  .reveal-caption { flex-direction: column; }
  .logos img { height: 64px; }
  .hero-title { font-size: min(19.5vw, 15svh); }
}
/* on small screens the course track scrolls natively instead of pinning */
.track-native { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.track-native .course { scroll-snap-align: start; }

/* set by main.js when the device asks for reduced motion (unless ?motion=on) */
.reduced *, .reduced *::before, .reduced *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
.reduced { scroll-behavior: auto; }
