/* =========================================================
   ASKA - design system ("editorial")
   Paper + ink, one muted green, one muted clay. Serif display, sans body, mono labels.
   Shape rule: everything is square-cut (2px), hairlines instead of shadows.
   Motion: transform/opacity only, calm ease-out, no tilt / magnetic effects.
   Class names are shared with the SAKS system, so every view and admin module works unchanged.
   ========================================================= */

:root {
  /* Brand: change --brand to re-colour buttons, links and highlights (admin > Settings > Accent colour overrides it) */
  --brand: #2F5D50;            /* forest green, 6.8:1 on paper */
  --brand-hover: #244A3F;
  --brand-soft: #DCE5DF;
  --clay: #8A5B3F;             /* education accent, 5.2:1 on paper */
  --clay-soft: #EADFD4;
  --forest-900: #1E3A31;       /* deep panels (CTA, about plate) */
  --forest-950: #121815;       /* animated hero variants */
  --on-forest: #F2F0EA;
  --on-forest-2: #C9D3CC;
  --on-forest-muted: #9AA89F;

  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  /* Light (default) */
  --bg: #F5F3EE;
  --bg-2: #EDEAE3;
  --surface: #FBFAF7;
  --surface-2: #EFECE5;
  --line: rgba(28, 33, 30, 0.12);
  --line-2: rgba(28, 33, 30, 0.22);
  --rule: #1C211E;
  --text: #1C211E;
  --text-2: #4B524D;
  --muted: #6B726C;
  --shadow: 0 18px 40px -28px rgba(28, 33, 30, 0.28);

  --accent-business: var(--brand);
  --accent-education: var(--clay);
  --accent: var(--accent-business);
  --accent-ink: #F7F5F0;
  --glow: color-mix(in srgb, var(--accent) 14%, transparent);

  --r-card: 2px;
  --r-input: 2px;
  --r-pill: 2px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 700ms;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #141714;
  --bg-2: #191C19;
  --surface: #1C201C;
  --surface-2: #232823;
  --line: rgba(236, 234, 227, 0.1);
  --line-2: rgba(236, 234, 227, 0.2);
  --rule: #ECEAE3;
  --text: #ECEAE3;
  --text-2: #B5B9B1;
  --muted: #8D928A;
  --shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
  --accent-business: #9DC2AE;
  --accent-education: #D6A985;
  --accent-ink: #141714;
  --brand-soft: rgba(157, 194, 174, 0.12);
  --clay-soft: rgba(214, 169, 133, 0.12);
  color-scheme: dark;
}

.theme-education, .theme-education .cta-band { --accent: var(--accent-education); }
.theme-business { --accent: var(--accent-business); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.012em; line-height: 1.1; text-wrap: balance; font-optical-sizing: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--brand-soft); color: var(--text); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.mono { font-family: var(--font-mono); font-size: 0.8em; letter-spacing: 0.02em; }
.muted { color: var(--muted); }

/* Type scale: serif display, regular weight, italics carry the emphasis */
.display-xl { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.025em; }
.display { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.h4 { font-size: 1.32rem; line-height: 1.22; font-weight: 500; }
.h5 { font-size: 0.95rem; letter-spacing: 0; font-family: var(--font-body); font-weight: 600; color: var(--text-2); line-height: 1.45; }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
.display-xl em, .display em, .h1 em, .h2 em { font-style: italic; color: var(--accent); }
.eyebrow { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.5; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
.eyebrow::before { content: ''; width: 7px; height: 7px; margin-top: 0.42em; background: var(--accent); flex: none; }
.logos-title { text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.6rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--r-pill); font-weight: 500; font-size: 0.95rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease, transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-outline { border-color: var(--rule); color: var(--text); background: transparent; }
.btn-ghost { color: var(--text); padding: 10px 2px; border-radius: 0; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, black); }
  :root[data-theme="dark"] .btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, white); }
  .btn-outline:hover { background: var(--text); color: var(--bg); }
  .btn-ghost:hover { text-decoration-color: currentColor; }
  .btn:hover .icon { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) ease, border-color var(--dur) ease, transform 320ms var(--ease-out);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner { width: min(1440px, 100% - 2 * var(--gutter)); height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 30px; width: auto; }
.logo-dark { display: none; }
.logo-light { display: block; }
:root[data-theme="dark"] .logo-dark { display: block; }
:root[data-theme="dark"] .logo-light { display: none; }

.nav-desktop { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-item > a { position: relative; display: inline-block; white-space: nowrap; padding: 10px 13px; font-size: 0.93rem; font-weight: 500; color: var(--text-2); transition: color var(--dur) ease; }
.nav-item > a.active { color: var(--text); }
.nav-item > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav-item > a.active::after { transform: none; background: var(--accent); height: 2px; }
@media (hover: hover) and (pointer: fine) { .nav-item > a:hover { color: var(--text); } .nav-item > a:hover::after { transform: none; } }
.dropdown { position: absolute; top: calc(100% + 8px); left: 6px; min-width: 240px; background: var(--surface); border: 1px solid var(--line-2); padding: 6px 0; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(4px); visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease-out) 120ms, transform var(--dur-fast) var(--ease-out) 120ms, visibility 0s linear 280ms; }
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; }
.dropdown a { display: block; padding: 9px 16px; font-size: 0.92rem; color: var(--text-2); border-left: 2px solid transparent; transition: color var(--dur) ease, border-color var(--dur) ease, background-color var(--dur) ease; }
.nav-item.has-children:hover .dropdown, .nav-item.has-children:focus-within .dropdown { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .dropdown a:hover { color: var(--text); border-left-color: var(--accent); background: var(--bg); } }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch a { padding: 6px 7px; font-size: 0.74rem; font-weight: 500; font-family: var(--font-mono); letter-spacing: 0.06em; color: var(--muted); transition: color var(--dur) ease; }
.lang-switch a + a::before { content: '/'; display: inline-block; margin-right: 9px; color: var(--line-2); text-decoration: none; }
.lang-switch a.active { color: var(--text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.lang-switch a:hover { color: var(--text); }
.theme-toggle { width: 38px; height: 38px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); position: relative; overflow: hidden; transition: border-color var(--dur) ease, color var(--dur) ease; }
.theme-toggle:hover { border-color: var(--rule); color: var(--text); }
.theme-toggle .sun, .theme-toggle .moon { position: absolute; display: grid; place-items: center; transition: transform 320ms var(--ease-out), opacity var(--dur) ease; }
/* light theme shows the moon (switch to dark), dark theme shows the sun */
.theme-toggle .sun { opacity: 0; transform: translateY(16px); }
:root[data-theme="dark"] .theme-toggle .sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle .moon { opacity: 0; transform: translateY(-16px); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform 280ms var(--ease-out), top 280ms var(--ease-out); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Overlay menu */
.overlay-menu { position: fixed; inset: 0; z-index: 45; visibility: hidden; pointer-events: none; }
.overlay-menu.open { visibility: visible; pointer-events: auto; }
.overlay-bg { position: absolute; inset: 0; background: var(--bg); transform: translateY(-100%); }
.overlay-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); overflow-y: auto; }
.overlay-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.overlay-item { opacity: 0; transform: translateY(24px); border-bottom: 1px solid var(--line); }
.overlay-link { display: flex; align-items: baseline; gap: 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 6.5vw, 3.6rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--text); padding: 10px 0; transition: color var(--dur) ease; }
.overlay-link .num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); }
.overlay-link.active { font-style: italic; color: var(--accent); }
.overlay-link:hover { color: var(--accent); }
.overlay-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 0 14px 44px; }
.overlay-sub a { color: var(--text-2); font-size: 0.95rem; }
.overlay-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; opacity: 0; }
.overlay-contact { display: flex; flex-direction: column; gap: 4px; font-size: 0.92rem; color: var(--text-2); }
.overlay-contact small { color: var(--muted); font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-left: 6px; }

/* ---------- Hero (shared) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-inner { position: relative; z-index: 1; width: min(var(--container), 100% - 2 * var(--gutter)); }
.hero-copy { max-width: 760px; }
.hero-eyebrow { margin-bottom: 1.8rem; }
.hero-lead { margin-top: 1.8rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.6rem; }
html.js .hero [data-hero] { opacity: 0; }
.display-xl .word, .display .word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.1em; margin: 0 -0.06em -0.1em; }
.display-xl .word > span, .display .word > span { display: inline-block; will-change: transform; }

/* Editorial hero (default): serif headline + framed photo + numbered index */
.hero-editorial { padding: calc(var(--header-h) + clamp(2.6rem, 6vw, 5.5rem)) 0 0; background: var(--bg); }
.ed-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.ed-copy { max-width: none; padding-bottom: 0.4rem; }
.ed-copy .display-xl { font-size: clamp(2.7rem, 5.2vw, 4.7rem); }
.ed-figure { margin: 0; }
.ed-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.ed-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.02); }
.ed-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 0.8rem; font-size: 0.84rem; color: var(--muted); }
.ed-figure figcaption .mono { color: var(--text); letter-spacing: 0.12em; }
.ed-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(2.8rem, 6vw, 4.5rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.ed-index li { border-right: 1px solid var(--line); }
.ed-index li:last-child { border-right: 0; }
.ed-index a { display: flex; gap: 14px; align-items: baseline; padding: 1.1rem 1.2rem 1.4rem 0; font-weight: 500; font-size: 0.98rem; color: var(--text); transition: color var(--dur) ease; }
.ed-index li + li a { padding-left: 1.2rem; }
.ed-index .mono { color: var(--muted); font-size: 0.74rem; }
@media (hover: hover) and (pointer: fine) { .ed-index a:hover { color: var(--accent); } }
@media (prefers-reduced-motion: no-preference) {
  html.js .ed-frame { animation: ed-unveil 1.3s var(--ease-out) 0.25s both; }
  html.js .ed-frame img { animation: ed-settle 1.9s var(--ease-out) 0.25s both; }
  html.js .ed-figure figcaption { animation: ed-fade 0.9s var(--ease-out) 1s both; }
}
@keyframes ed-unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ed-settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes ed-fade { from { opacity: 0; } to { opacity: 1; } }

/* Page hero (sub pages): text on paper; a photo, when set, becomes a wide band under the title */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(2.8rem, 6vw, 5rem)) 0 clamp(2.6rem, 5vw, 4rem); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .display { max-width: 18ch; margin-top: 0.4rem; }
.page-hero .lead { max-width: 58ch; margin-top: 1.4rem; }
.page-hero-grid { display: none; }
.page-hero.has-image { display: flex; flex-direction: column; padding-bottom: 0; border-bottom: 0; }
.page-hero-media { position: relative; order: 2; width: min(var(--container), 100% - 2 * var(--gutter)); margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; height: clamp(220px, 34vw, 460px); overflow: hidden; background: var(--surface-2); }
.page-hero-media img { width: 100%; height: 116%; object-fit: cover; transform: translateY(-7%); filter: saturate(0.82); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; font-family: var(--font-mono); }
.crumbs a { color: var(--muted); transition: color var(--dur) ease; }
.crumbs a:hover { color: var(--text); }
.crumbs .current { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); padding-top: 1.3rem; border-top: 1px solid var(--rule); }
.section-head > .h2, .section-head > div > .h2 { max-width: 22ch; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.container.narrow .section-head { max-width: none; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head .lead, .section-head .side-lead { margin-top: 1rem; max-width: 56ch; color: var(--text-2); }
.section-head:has(.side-lead) { display: block; }

/* Reveal (IntersectionObserver adds .in) */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* Area strip (used by the animated hero styles) */
.area-strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.area-strip-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.area-strip a { display: flex; align-items: center; gap: 12px; padding: 1.15rem 1.2rem; font-weight: 500; font-size: 0.93rem; color: var(--text); border-right: 1px solid var(--line); transition: color var(--dur) ease, background-color var(--dur) ease; }
.area-strip a:first-child { padding-left: 0; }
.area-strip a:last-child { border-right: 0; }
.area-strip a > .icon:first-child { color: var(--accent); flex: none; }
.area-strip a span { flex: 1; }
.area-strip a .go { color: var(--muted); opacity: 0; transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out); }
.area-strip a.is-edu > .icon:first-child { color: var(--accent-education); }
@media (hover: hover) and (pointer: fine) { .area-strip a:hover { color: var(--accent); } .area-strip a:hover .go { opacity: 1; transform: translate(2px, -2px); } }

/* Gates: two editorial teasers, photo on top, coloured rule, text on paper */
.gates { padding-top: var(--section); }
.gates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); }
.gate { position: relative; display: flex; flex-direction: column; color: var(--text); border-top: 3px solid var(--accent); padding-top: 0; isolation: isolate; }
.gate-business { --accent: var(--accent-business); }
.gate-education { --accent: var(--accent-education); }
.gate-bg, .gate-icon { display: none; }
.gate-img { order: -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.8); transition: filter 600ms ease, opacity 600ms ease; }
.gate-content { display: flex; flex-direction: column; gap: 14px; padding-top: 1.6rem; max-width: 520px; }
.gate-content p { color: var(--text-2); }
.gate-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; margin-top: 4px; }
.gate-link .icon { transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .gate:hover .gate-img { filter: saturate(1); }
  .gate:hover .gate-link .icon { transform: translateX(4px); }
  .gate:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line-2); }
}

.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }

/* ---------- Cards ---------- */
/* Default card = magazine teaser: image, then text, no box */
.card { position: relative; display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; }
.card-body { padding: 1.15rem 0 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--text-2); font-size: 0.96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1s var(--ease-out), filter 600ms ease; }
.media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--bg-2) 10px 20px); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.card-meta span + span::before { content: '·'; margin-right: 14px; color: var(--line-2); }
.card h3 { transition: color var(--dur) ease; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 0.92rem; margin-top: auto; padding-top: 4px; }
.card-link .icon { transition: transform var(--dur) var(--ease-out); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover .card-media img { transform: scale(1.035); filter: saturate(1); }
  a.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-2); }
  a.card:hover .card-link .icon { transform: translateX(4px); }
}

/* Service cards: numbered columns under a rule */
.grid-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(1.4rem, 2.6vw, 2.4rem); counter-reset: svc; }
.grid-services.grid-services-even { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-service { border-top: 1px solid var(--line-2); padding-top: 1rem; gap: 12px; counter-increment: svc; }
.card-service::before { content: counter(svc, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); }
.card-service .card-photo { aspect-ratio: 4 / 3; overflow: hidden; margin: 0.3rem 0 0.5rem; background: var(--surface-2); }
.card-service .card-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82); transition: transform 1s var(--ease-out), filter 600ms ease; }
.card-service .card-photo + .card-icon { display: none; }
.card-service .card-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); margin: 0.3rem 0 0.4rem; }
.card-service h3 { font-size: 1.4rem; }
.card-service p { color: var(--text-2); font-size: 0.96rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .card-service:hover { border-top-color: var(--accent); }
  .card-service:hover .card-photo img { transform: scale(1.035); filter: saturate(1); }
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(1.4rem, 2.6vw, 2.4rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.4rem); }
.grid-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.6rem, 3vw, 2.6rem); }
.grid-feature > :first-child { grid-row: span 2; }
.grid-feature > :first-child .card-media { aspect-ratio: 4 / 3; }
.grid-feature > :first-child h3 { font-size: 1.7rem; }
.grid-feature > :nth-child(n+2) { flex-direction: row; gap: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.grid-feature > :nth-child(n+2) .card-media { width: 38%; aspect-ratio: 4 / 3; flex: none; }
.grid-feature > :nth-child(n+2) .card-body { padding-top: 0; }
[data-filter-items] > div { display: contents; }
[data-filter-items] > div.hide { display: none; }

/* Horizontal scroll (projects) */
.hscroll { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 12px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: clamp(1.4rem, 2.6vw, 2.4rem); width: max-content; min-width: 100%; margin-inline: 0; padding-inline: max(var(--gutter), (100% - var(--container)) / 2); }
.hscroll-track .card { width: clamp(290px, 30vw, 380px); scroll-snap-align: start; flex: none; }

/* Stats */
.section-stats { padding-block: clamp(3rem, 6vw, 5rem); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; }
.stat-item { display: flex; flex-direction: column; gap: 8px; padding: 0.4rem 1.6rem; border-left: 1px solid var(--line-2); }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-icon { color: var(--accent); margin-bottom: 4px; }
.stat-value { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat-label { color: var(--text-2); font-size: 0.95rem; }

/* Testimonials */
.testimonials { position: relative; max-width: 900px; }
.testimonial { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); pointer-events: none; }
.testimonial.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote .icon { color: var(--accent); margin-bottom: 18px; }
.testimonial blockquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -0.012em; text-wrap: pretty; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: 1.8rem; }
.testimonial figcaption img { width: 46px; height: 46px; object-fit: cover; }
.testimonial figcaption strong { display: block; font-weight: 600; }
.testimonial figcaption span { color: var(--muted); font-size: 0.9rem; }
.testimonial-nav { display: flex; gap: 8px; margin-top: 1.8rem; }
.testimonial-nav button { width: 28px; height: 2px; background: var(--line-2); transition: background-color var(--dur) ease, width var(--dur) var(--ease-out); }
.testimonial-nav button.active { background: var(--accent); width: 48px; }

.card-quote { padding: 1.4rem 0 0; gap: 14px; margin: 0; border-top: 1px solid var(--line-2); }
.card-quote > .icon { color: var(--accent); }
.card-quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.22rem; line-height: 1.45; color: var(--text); }
.card-quote figcaption { margin-top: auto; padding-top: 10px; font-size: 0.9rem; color: var(--muted); display: flex; flex-direction: column; }
.card-quote figcaption strong { color: var(--text); }

/* Logos marquee */
.section-logos { padding: clamp(2.8rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { display: grid; place-items: center; height: 44px; opacity: 0.6; filter: grayscale(1); transition: opacity var(--dur) ease, filter var(--dur) ease; }
:root[data-theme="dark"] .logo-item { filter: grayscale(1) brightness(1.6); }
.logo-item:hover { opacity: 1; filter: none; }
.logo-item img { max-height: 38px; width: auto; max-width: 150px; }
.logo-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA band: one deliberate deep-green block before the footer */
.cta-band { position: relative; margin: 0; padding: clamp(3.4rem, 7vw, 6rem) 0; background: var(--forest-900); color: var(--on-forest); overflow: hidden; isolation: isolate; --text: var(--on-forest); --text-2: var(--on-forest-2); }
.theme-education .cta-band { background: #4A3426; --text-2: #E2D3C6; }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cta-inner .h2 { max-width: 20ch; }
.cta-inner .lead { margin-top: 1rem; color: var(--text-2); }
.cta-band .btn-primary { background: var(--on-forest); color: #1C211E; }
.cta-band .btn-primary:hover { background: #fff; }
.cta-glow { position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 100% 56px; mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }
:root[data-theme="dark"] .cta-band { background: #1A2620; border-block: 1px solid var(--line); }
:root[data-theme="dark"] .theme-education .cta-band { background: #2A211B; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3.4rem, 6vw, 5rem) 0 2rem; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr; gap: 40px; }
.footer-text { color: var(--text-2); margin: 1.3rem 0; max-width: 36ch; font-size: 0.95rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); transition: border-color var(--dur) ease, color var(--dur) ease; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { border-color: var(--accent); color: var(--accent); } }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line-2); }
.footer-col li { margin-bottom: 9px; font-size: 0.95rem; }
.footer-col a { color: var(--text-2); transition: color var(--dur) ease; }
.footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.footer-contact li { display: flex; flex-direction: column; gap: 1px; margin-bottom: 14px; color: var(--text-2); }
.fc-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.footer-legal-info li { color: var(--text-2); }
.footer-legal-info li:first-child { color: var(--text); font-weight: 500; }
.footer-legal-info .mono { color: var(--muted); }
.footer-registration { margin-top: 6px; max-width: 30ch; line-height: 1.4; color: var(--muted); font-size: 0.85rem; }
.footer-mark { margin-top: clamp(2.5rem, 6vw, 4rem); font-family: var(--font-display); font-size: clamp(5.5rem, 25vw, 21rem); line-height: 0.78; letter-spacing: -0.04em; color: color-mix(in srgb, var(--text) 8%, transparent); user-select: none; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); } .footer-links a:hover { color: var(--text); }

/* ---------- Lists & detail pages ---------- */
.service-list { display: flex; flex-direction: column; }
.service-row { display: grid; grid-template-columns: 64px 1fr 48px; gap: 28px; align-items: start; padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line-2); transition: padding-left 320ms var(--ease-out); }
.service-row:last-child { border-bottom: 1px solid var(--line-2); }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); }
.service-text { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.service-text p { color: var(--text-2); }
.service-arrow { color: var(--muted); transition: transform 320ms var(--ease-out), color var(--dur) ease; margin-top: 12px; }
@media (hover: hover) and (pointer: fine) { .service-row:hover { padding-left: 8px; } .service-row:hover .service-arrow { transform: translate(4px, -4px); color: var(--accent); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { font-size: 0.74rem; padding: 5px 10px; border: 1px solid var(--line-2); color: var(--text-2); font-family: var(--font-mono); letter-spacing: 0.03em; }
.chips.tags { margin-top: 2rem; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.detail-side { order: 2; }
.detail-layout > :not(.detail-side) { order: 1; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 1.6rem; display: flex; flex-direction: column; gap: 18px; }
.side-card.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.side-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); }
.check-list { display: flex; flex-direction: column; gap: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--text-2); padding: 10px 0; border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: 0; padding-top: 0; }
.check-list .icon { color: var(--accent); flex: none; margin-top: 3px; }
.side-nav { display: flex; flex-direction: column; gap: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.side-nav a { padding: 9px 0 9px 12px; font-size: 0.93rem; color: var(--text-2); border-left: 2px solid transparent; transition: color var(--dur) ease, border-color var(--dur) ease; }
.side-nav a.active { border-left-color: var(--accent); color: var(--text); font-weight: 500; }
.side-nav a:hover { color: var(--text); border-left-color: var(--line-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: 0.95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts dd a { color: var(--accent); }
.facts .price { font-size: 1.25rem; }
.instructor { padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.instructor-row { display: flex; align-items: center; gap: 12px; }
.instructor-row small { display: block; color: var(--muted); }
.avatar { width: 92px; height: 92px; overflow: hidden; background: var(--brand-soft); display: grid; place-items: center; color: var(--accent); font-family: var(--font-display); font-size: 1.7rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.avatar.sm { width: 48px; height: 48px; font-size: 1.05rem; }
.avatar.xs { width: 28px; height: 28px; font-size: 0.75rem; display: inline-grid; vertical-align: middle; margin-right: 8px; }

.prose { font-size: 1.07rem; line-height: 1.75; color: var(--text-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 2em; font-weight: 400; }
.prose h2 { font-size: 1.9rem; } .prose h3 { font-size: 1.5rem; } .prose h4 { font-size: 1.2rem; font-weight: 500; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 0.7em; height: 1px; background: var(--accent); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 2px solid var(--accent); color: var(--text); font-family: var(--font-display); font-style: italic; font-size: 1.3em; line-height: 1.45; }
.prose pre { background: var(--surface); border: 1px solid var(--line); padding: 1rem 1.2rem; overflow-x: auto; font-family: var(--font-mono); font-size: 0.88rem; color: var(--text); }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface-2); padding: 2px 5px; }
.prose pre code { background: none; padding: 0; }
.prose .prose-title { margin-top: 0; margin-bottom: 1.4rem; color: var(--text); }

/* Accordion */
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 1.3rem 0; text-align: left; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.3; }
.acc-head > span:not(.num) { flex: 1; }
.acc-head .num { color: var(--muted); font-size: 0.75rem; font-family: var(--font-mono); }
.acc-head .icon { flex: none; color: var(--muted); transition: transform 280ms var(--ease-out), color var(--dur) ease; }
.acc-head[aria-expanded="true"] .icon { transform: rotate(45deg); color: var(--accent); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.acc-head[aria-expanded="true"] + .acc-body { grid-template-rows: 1fr; }
.acc-content { overflow: hidden; color: var(--text-2); line-height: 1.7; max-width: 70ch; }
.acc-head[aria-expanded="true"] + .acc-body .acc-content { padding-bottom: 1.4rem; }
.curriculum { margin-top: 3rem; }
.curriculum h2 { margin-bottom: 1.2rem; }

/* Workshops: dated rows */
.workshop-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.card-workshop { flex-direction: row; align-items: center; gap: 28px; padding: 1.4rem 0; border-bottom: 1px solid var(--line-2); }
.card-workshop .card-body { padding: 0; gap: 6px; }
.card-workshop p { -webkit-line-clamp: 2; }
.date-badge { flex: none; width: 76px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--accent); line-height: 1; }
.date-badge strong { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; letter-spacing: -0.03em; }
.date-badge span { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; color: var(--text-2); }
.card-arrow { color: var(--muted); transition: transform 320ms var(--ease-out), color var(--dur) ease; }
@media (hover: hover) and (pointer: fine) { .card-workshop:hover .card-arrow { transform: translate(3px, -3px); color: var(--accent); } }
.workshop-list.past .card { opacity: 0.6; }

/* Team */
.card-team { padding-top: 1.2rem; border-top: 1px solid var(--line-2); align-items: flex-start; gap: 6px; }
.card-team .avatar { margin-bottom: 12px; }
.card-team .h5 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--text); }
.card-team .role { color: var(--accent); font-size: 0.78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; }
.card-team p { color: var(--text-2); font-size: 0.93rem; margin-top: 8px; -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.team-links { display: flex; gap: 6px; margin-top: auto; padding-top: 14px; }
.team-links a { width: 34px; height: 34px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); }
.team-links a:hover { border-color: var(--accent); color: var(--accent); }

/* Partners grid */
.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-tile { height: 130px; display: grid; place-items: center; background: var(--bg); padding: 20px; transition: background-color var(--dur) ease; }
.partner-tile img { max-height: 46px; width: auto; max-width: 100%; filter: grayscale(1); opacity: 0.7; transition: filter var(--dur) ease, opacity var(--dur) ease; }
:root[data-theme="dark"] .partner-tile img { filter: grayscale(1) brightness(1.6); }
@media (hover: hover) and (pointer: fine) { .partner-tile:hover { background: var(--surface); } .partner-tile:hover img { filter: none; opacity: 1; } }

/* Resources */
.resource-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.resource-list a { display: grid; grid-template-columns: 44px 1fr auto 20px; gap: 18px; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line-2); transition: padding-left 320ms var(--ease-out), color var(--dur) ease; }
.resource-list a:hover { padding-left: 8px; }
.res-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); }
.res-text { display: flex; flex-direction: column; min-width: 0; }
.res-text strong { font-weight: 600; }
.res-text small { color: var(--muted); }
.res-meta { color: var(--muted); }
.resource-list .icon:last-child { color: var(--muted); }

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.2rem; }
.filter-bar button, .filter-bar a { padding: 8px 14px; border: 1px solid var(--line-2); font-size: 0.86rem; font-weight: 500; color: var(--text-2); transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease; }
.filter-bar button:hover, .filter-bar a:hover { border-color: var(--rule); color: var(--text); }
.filter-bar .active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.value { padding-top: 1.2rem; border-top: 2px solid var(--accent); display: flex; flex-direction: column; gap: 10px; }
.value p { color: var(--text-2); font-size: 0.96rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.facts.compact { font-size: 0.9rem; gap: 7px 14px; }

/* Article */
.article-head { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) 0 2rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 1.4rem; color: var(--muted); font-size: 0.9rem; }
.article-meta .author { display: inline-flex; align-items: center; color: var(--text-2); }
.article-cover { margin: 2.5rem 0 0; overflow: hidden; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
article .container.narrow .lead { margin: 2rem 0 1.5rem; font-size: 1.25rem; }
article .container.narrow .prose { max-width: none; }
article + .section { margin-top: var(--section); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-list { display: flex; flex-direction: column; margin-bottom: 2.2rem; border-top: 1px solid var(--rule); }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line-2); }
.contact-list li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-list small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-list a, .contact-list span:not(.ci) { font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }
.ci { width: 42px; height: 42px; flex: none; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(1.4rem, 3vw, 2.6rem); }
.map { height: 420px; border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(0.15) contrast(1.02); opacity: 0.92; }
:root[data-theme="dark"] .map iframe { filter: grayscale(1) invert(0.9) hue-rotate(180deg) contrast(1.05); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea, .field select { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-input); color: var(--text); padding: 12px 14px; font: inherit; outline: 0; transition: border-color var(--dur) ease, box-shadow var(--dur) ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-2); cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 16px; margin-bottom: 1.2rem; font-weight: 500; border: 1px solid; border-left-width: 3px; }
.notice.success { background: #E5EEE7; border-color: #7FA48C; color: #24503A; }
.notice.error { background: #F4E4DF; border-color: #C28472; color: #7A2E1F; }
:root[data-theme="dark"] .notice.success { background: rgba(127, 164, 140, 0.12); color: #A9CDB4; }
:root[data-theme="dark"] .notice.error { background: rgba(194, 132, 114, 0.12); color: #E3A898; }
.apply-box { margin-top: 3rem; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); scroll-margin-top: 100px; }
.apply-box h2 { margin-bottom: 1.4rem; }
.form .btn { align-self: flex-start; }

/* Error page */
.error-page { min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; }
.error-page .container { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.error-code { font-size: 1rem; color: var(--accent); }
.error-page .btn { margin-top: 1rem; }

/* ---------- Home: industries, approach, about band ---------- */
.industry-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.industry-head > div { max-width: 760px; }
.industry-head .btn { flex: none; margin-bottom: 4px; }
.section-head.industry-head:has(.side-lead) { display: flex; }
.industry-head .side-lead { max-width: 56ch; }
.industry-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: stretch; }
.industry-body.has-preview { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.industry-preview { position: relative; overflow: hidden; background: var(--surface-2); min-height: 340px; }
.industry-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: saturate(0.82); transform: scale(1.04); transition: opacity 560ms var(--ease-out), transform 1400ms var(--ease-out); }
.industry-preview img.active { opacity: 1; transform: none; }
.feature-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.feature-row { flex: 1; display: grid; grid-template-columns: 48px 1fr 24px; gap: 20px; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line-2); color: inherit; transition: padding-left 320ms var(--ease-out); }
.feature-row .feature-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease; }
.feature-row h3 { margin-bottom: 4px; }
.feature-row p { color: var(--text-2); font-size: 0.97rem; }
.feature-row .icon-go { color: var(--muted); transition: transform var(--dur) var(--ease-out), color var(--dur) ease; }
.feature-row .feature-thumb { width: 96px; height: 72px; overflow: hidden; flex: none; }
.feature-row .feature-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-row.has-thumb { grid-template-columns: 96px 1fr 24px; }
.feature-row.is-current { padding-left: 10px; }
.feature-row.is-current .feature-icon { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.feature-row.is-current .icon-go { color: var(--accent); transform: translate(3px, -3px); }
@media (hover: hover) and (pointer: fine) { .feature-row:hover { padding-left: 10px; } .feature-row:hover .icon-go { color: var(--accent); transform: translate(3px, -3px); } }

/* Industry tiles (business page) */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line-2); background: var(--line-2); }
.tile { display: flex; flex-direction: column; gap: 12px; padding: clamp(1.4rem, 2.4vw, 1.9rem); background: var(--bg-2); transition: background-color var(--dur) ease; }
.section:not(.section-alt) .tile { background: var(--bg); }
.tile p { color: var(--text-2); font-size: 0.95rem; }
.tile-num { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 0.76rem; letter-spacing: 0.06em; }
.tile-icon, .value-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); }
.tile .tile-photo { margin: calc(-1 * clamp(1.4rem, 2.4vw, 1.9rem)) calc(-1 * clamp(1.4rem, 2.4vw, 1.9rem)) 0.6rem; aspect-ratio: 16 / 10; overflow: hidden; }
.tile .tile-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82); transition: transform 1s var(--ease-out); }
.tile h3, .value h3 { margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .tile:hover { background: var(--surface); } .tile:hover .tile-photo img { transform: scale(1.04); } }

/* Approach: numbered steps along a line that draws itself */
.steps { position: relative; list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
.steps-line { position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line-2); }
.steps-line-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left center; transform: scaleX(0); }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-num { position: relative; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); color: var(--text-2); font-size: 0.78rem; transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease; }
.section-alt .step-num { background: var(--bg-2); }
.step.is-on .step-num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step h3 { margin-top: 10px; font-size: 1.45rem; }
.step p { color: var(--text-2); font-size: 0.96rem; }
html:not(.js) .steps-line-fill { transform: none; }

/* About band */
.band-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.band-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.band-copy .lead { color: var(--text-2); }
.brand-plate { position: relative; aspect-ratio: 5 / 4; background: var(--forest-900); color: var(--on-forest); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(1.4rem, 3vw, 2.2rem); overflow: hidden; isolation: isolate; }
.brand-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(0.75); }
.brand-plate::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 30, 25, 0.82) 0%, rgba(18, 30, 25, 0.25) 55%, rgba(18, 30, 25, 0) 100%); }
.brand-plate-ring { display: none; }
.brand-plate strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6vw, 4.8rem); letter-spacing: -0.03em; line-height: 0.95; }
.brand-plate-sub { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-forest-2); }

/* Education focus band */
.section-focus { background: var(--clay-soft); }
.focus-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.focus-grid .h1 { margin-top: 1.1rem; }
.focus-grid.has-media .lead { margin-top: 1.3rem; }
.focus-media { overflow: hidden; aspect-ratio: 4 / 3; }
.focus-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82); }
.detail-side .side-card .h5 { line-height: 1.5; font-weight: 500; }

/* Industries page rows */
.industry-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.industry-row { display: grid; grid-template-columns: 72px 1fr; gap: clamp(1.2rem, 3vw, 3rem); padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: calc(var(--header-h) + 24px); }
.industry-row:has(.industry-media) { grid-template-columns: 72px 1fr 340px; }
.industry-num { display: none; }
.industry-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); }
.industry-text { display: flex; flex-direction: column; gap: 12px; max-width: 64ch; }
.industry-text .lead { color: var(--text); }
.industry-text p { color: var(--text-2); }
.industry-text .card-link { margin-top: 6px; }
.industry-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.82); }
.form .field select { width: 100%; }

/* ---------- Page transitions & reading progress ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); transform-origin: left center; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: scroll-progress-grow linear both; animation-timeline: scroll(root); }
  @keyframes scroll-progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Dark hero variants (globe, wave, streams, aurora, studio, classic) ----------
   Selectable in admin > Hero. They sit on a deep forest-ink background in both themes. */
.hero:not(.hero-editorial) {
  --hero-bg: var(--forest-950); --bg: var(--hero-bg); --text: var(--on-forest); --text-2: var(--on-forest-2); --muted: var(--on-forest-muted);
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.22); --rule: rgba(255, 255, 255, 0.5); --accent: #A9C5B3; --accent-ink: #121815;
  min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; background: var(--hero-bg); color: var(--text);
}
.hero:not(.hero-editorial) .btn-primary { background: var(--on-forest); color: #1C211E; }
.hero:not(.hero-editorial) .btn-outline { color: var(--on-forest); border-color: rgba(255, 255, 255, 0.4); }
.hero:not(.hero-editorial) .btn-outline:hover { background: var(--on-forest); color: #1C211E; }
body:has(.hero:not(.hero-editorial)) .site-header:not(.scrolled):not(.menu-open) { background: transparent; border-color: transparent; backdrop-filter: none; --text: var(--on-forest); --text-2: var(--on-forest-2); --muted: var(--on-forest-muted); --line-2: rgba(255, 255, 255, 0.3); --rule: #fff; }
body:has(.hero:not(.hero-editorial)) .site-header:not(.scrolled):not(.menu-open) .logo-dark { display: block; }
body:has(.hero:not(.hero-editorial)) .site-header:not(.scrolled):not(.menu-open) .logo-light { display: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-canvas.ready { opacity: 1; }
.hero-image { position: absolute; inset: 0; z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: 0.6; filter: saturate(0.7); }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-bg) 0%, color-mix(in srgb, var(--hero-bg) 80%, transparent) 35%, transparent 80%); }
.hero-grid { display: none; }
.motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.4s ease; }
.motion-canvas.ready { opacity: 1; }
.motion-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-copy.is-centered { margin-inline: auto; text-align: center; max-width: 920px; }
.hero-copy.is-centered .hero-lead { margin-inline: auto; }
.hero-copy.is-centered .hero-actions, .hero-copy.is-centered .hero-eyebrow { justify-content: center; }
.v-globe .motion-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.motion-globe { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; margin-left: auto; }
.motion-globe .motion-canvas { position: absolute; inset: -8%; width: 116%; height: 116%; }
.v-wave { align-items: flex-start; padding-top: calc(var(--header-h) + clamp(3rem, 9vh, 7rem)); }
.v-wave .motion-veil { background: radial-gradient(55% 40% at 50% 32%, rgba(18, 24, 21, 0.75), transparent 75%); }
.v-streams .motion-veil { background: linear-gradient(90deg, var(--hero-bg) 0%, color-mix(in srgb, var(--hero-bg) 80%, transparent) 30%, transparent 60%); }
.aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(80px); }
.aurora span { position: absolute; width: 55%; height: 60%; border-radius: 50%; opacity: 0.45; }
.aurora span:nth-child(1) { left: 5%; top: 15%; background: radial-gradient(closest-side, #3E6E5E, transparent); }
.aurora span:nth-child(2) { right: 0; top: 5%; background: radial-gradient(closest-side, #8A5B3F, transparent); }
.aurora span:nth-child(3) { left: 30%; bottom: 0; background: radial-gradient(closest-side, #5E7F6E, transparent); }
.aurora span:nth-child(4) { right: 15%; bottom: 15%; width: 40%; height: 45%; background: radial-gradient(closest-side, #B4946E, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .aurora span:nth-child(1) { animation: aurora-a 24s ease-in-out infinite alternate; }
  .aurora span:nth-child(2) { animation: aurora-b 28s ease-in-out infinite alternate; }
  .aurora span:nth-child(3) { animation: aurora-c 32s ease-in-out infinite alternate; }
  .aurora span:nth-child(4) { animation: aurora-d 20s ease-in-out infinite alternate; }
}
@keyframes aurora-a { to { transform: translate(35%, 20%) scale(1.25); } }
@keyframes aurora-b { to { transform: translate(-40%, 25%) scale(0.85); } }
@keyframes aurora-c { to { transform: translate(-25%, -35%) scale(1.2); } }
@keyframes aurora-d { to { transform: translate(-50%, -20%) scale(1.3); } }

/* Studio hero: copy + proof numbers left, photo collage right */
.hero-studio { min-height: min(100dvh, 960px); padding-bottom: 6rem; }
.studio-aura { display: none; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.hero-studio .display-xl { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.studio-proof { display: flex; gap: clamp(1.4rem, 3vw, 2.6rem); margin: 3rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line-2); }
.studio-proof div { display: flex; flex-direction: column-reverse; gap: 4px; }
.studio-proof dt { font-size: 0.82rem; color: var(--muted); }
.studio-proof dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1; }
.studio-visual { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; margin-left: auto; --px: 0; --py: 0; }
.studio-shot, .studio-chip { position: absolute; translate: calc(var(--px) * var(--depth) * -1px) calc(var(--py) * var(--depth) * -1px); transition: translate 1s var(--ease-out); }
.studio-shot { margin: 0; overflow: hidden; background: #1C2620; }
.studio-shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.shot-a { right: 0; top: 6%; width: 60%; height: 76%; }
.shot-b { left: 0; top: 0; width: 44%; height: 40%; }
.shot-c { left: 8%; bottom: 2%; width: 44%; height: 44%; }
.studio-chip { display: flex; align-items: center; gap: 12px; max-width: 330px; padding: 12px 18px 12px 12px; color: #1C211E; background: #F5F3EE; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6); }
.chip-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; color: #F5F3EE; background: var(--brand); }
.chip-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chip-text small { white-space: nowrap; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: #6B726C; }
.chip-text strong { font-size: 0.92rem; font-weight: 600; line-height: 1.25; }
.chip-course { left: 22%; top: 43%; }
.chip-project { right: -3%; bottom: 10%; }
@media (prefers-reduced-motion: no-preference) {
  html.js .studio-shot { animation: ed-unveil 1.3s var(--ease-out) var(--delay) both; }
  html.js .studio-shot img { animation: ed-settle 1.8s var(--ease-out) var(--delay) both; }
  html.js .studio-chip { animation: studio-pop 0.9s var(--ease-out) var(--delay) both; }
}
@keyframes studio-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .header-inner { gap: 16px; }
  .nav-item > a { padding: 10px 10px; }
  .nav-item > a::after { left: 10px; right: 10px; }
}
@media (max-width: 1220px) {
  .nav-desktop, .header-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 1100px) {
  .grid-4, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-side { order: 1; }
  .detail-layout > :not(.detail-side) { order: 2; }
  .side-card.sticky { position: static; }
}
@media (max-width: 1024px) {
  .grid-services.grid-services-even, .tile-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .ed-grid { grid-template-columns: 1fr; }
  .ed-frame { aspect-ratio: 16 / 10; }
  .ed-index { grid-template-columns: repeat(2, 1fr); }
  .ed-index li:nth-child(2) { border-right: 0; }
  .ed-index li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ed-index li:nth-child(3) a { padding-left: 0; }
  .band-grid, .focus-grid, .focus-grid.has-media { grid-template-columns: 1fr; }
  .industry-row, .industry-row:has(.industry-media) { grid-template-columns: 1fr; gap: 1rem; }
  .industry-media { max-width: 460px; }
  .industry-head { flex-direction: column; align-items: flex-start; }
  .industry-body.has-preview { grid-template-columns: 1fr; }
  .industry-preview { display: none; }
  .steps-line { display: none; }
  .step { border-top: 1px solid var(--line-2); padding-top: 1.2rem; }
  .v-globe .motion-grid, .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .motion-globe { max-width: 460px; margin: 0 auto; }
  .studio-visual { max-width: 560px; margin: 0 auto; aspect-ratio: 5 / 4; }
  .hero-studio { min-height: 0; padding-bottom: 4rem; }
  .area-strip-inner { grid-template-columns: 1fr 1fr; }
  .area-strip a { border-bottom: 1px solid var(--line); padding-left: 0; }
}
@media (max-width: 900px) {
  .grid-3, .grid-services { grid-template-columns: repeat(2, 1fr); }
  .grid-feature { grid-template-columns: 1fr; }
  .grid-feature > :first-child { grid-row: auto; }
  .grid-feature > :nth-child(n+2) { flex-direction: column; }
  .grid-feature > :nth-child(n+2) .card-media { width: 100%; aspect-ratio: 3 / 2; }
  .grid-feature > :nth-child(n+2) .card-body { padding-top: 1rem; }
  .gates-grid, .intro-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 10px; }
  .service-row { grid-template-columns: 52px 1fr; }
  .service-icon { width: 48px; height: 48px; }
  .service-arrow { display: none; }
  .stats-grid { gap: 0 2rem; }
  .stat-item, .stat-item:first-child { padding: 1rem 0; border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .site-header .logo img { height: 26px; }
  .grid-3, .grid-4, .grid-services, .grid-services.grid-services-even, .values-grid, .tile-grid, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions > .lang-switch, .theme-toggle { display: none; }
  .overlay-menu .lang-switch { display: inline-flex; }
  .hero-actions .btn { width: 100%; }
  .ed-index { grid-template-columns: 1fr; }
  .ed-index li { border-right: 0; border-top: 1px solid var(--line); }
  .ed-index li:first-child { border-top: 0; }
  .ed-index li + li a, .ed-index li:nth-child(3) a { padding-left: 0; }
  .ed-index a { padding: 0.9rem 0; }
  .card-workshop { flex-direction: column; align-items: flex-start; gap: 12px; }
  .resource-list a { grid-template-columns: 40px 1fr 20px; }
  .res-meta { display: none; }
  .testimonial figcaption { align-items: flex-start; }
  .feature-row, .feature-row.has-thumb { grid-template-columns: 44px 1fr; }
  .feature-row .feature-icon { width: 44px; height: 44px; }
  .feature-row .icon-go { display: none; }
  .area-strip-inner { grid-template-columns: 1fr; }
  .area-strip a { border-right: 0; }
  .chip-project { display: none; }
  .chip-course { left: 4%; top: auto; bottom: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .hero [data-hero] { opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .hero-canvas { opacity: 1; }
  .scroll-progress { animation: none; transform: none; opacity: 0; }
  .steps-line-fill { transform: none; }
}
