/* ==========================================================================
   Akhorlak design system
   Direction: "engineered editorial" – warm paper, deep ink, brand blue from
   the AHK logo, a single red accent taken from the logo's triangle.
   Fonts: Instrument Serif (display) + Hanken Grotesk (text/UI).
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --ink: #0a1020;
  --ink-2: #141c33;
  --ink-3: #1f2a47;
  --paper: #f5f3ee;
  --paper-2: #ebe7dd;
  --white: #ffffff;
  --blue: #123a9c;
  --blue-700: #0d2c7a;
  --blue-100: #e5eaf8;
  --red: #d9291c;
  --text: #121a2e;
  --muted: #566078;          /* 5.9:1 on paper */
  --muted-light: #aab3c8;    /* on ink */
  --line: rgba(10, 16, 32, .14);
  --line-light: rgba(245, 243, 238, .16);
  --ok: #176b3a;
  --err: #b3261e;

  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: clamp(.8125rem, .79rem + .12vw, .875rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  --step-5: clamp(2.75rem, 1.6rem + 5.2vw, 6.25rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1240px;
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 var(--step-0)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #9db4ff; }
::selection { background: var(--blue); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ---- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.on-dark { background: var(--ink); color: var(--paper); }
.on-blue { background: var(--blue); color: #fff; }
.on-paper-2 { background: var(--paper-2); }

/* ---- Type --------------------------------------------------------------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font: 600 var(--step-0)/1.3 var(--font-body); }
em, .it { font-style: italic; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 40rem; text-wrap: pretty; }
.on-dark .lede { color: var(--muted-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.eyebrow--light, .on-dark .eyebrow { color: #9db4ff; }
.num { font-family: var(--font-display); font-style: italic; color: var(--red); }

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); max-width: 52rem; }
.stack { display: grid; gap: 1.1rem; align-content: start; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--blue); --bd: var(--blue); }
.btn--primary:hover { --bg: var(--blue-700); --bd: var(--blue-700); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); border-color: rgba(10,16,32,.3); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.on-dark .btn--ghost { --fg: var(--paper); border-color: rgba(245,243,238,.35); }
.on-dark .btn--ghost:hover { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--light:hover { --bg: #fff; --bd: #fff; }
.btn--sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn__spinner { display: none; width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: .15rem; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(245, 243, 238, .96); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,16,32,.5); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.primary-nav { margin-left: auto; display: none; }
.primary-nav__list { display: flex; align-items: center; gap: .25rem; }
.primary-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .85rem;
  background: none; border: 0; cursor: pointer; text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: var(--radius);
}
.primary-nav__link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav__link:hover::after, .primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__link[aria-current="page"] { color: var(--blue); }
.chev { transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu-panel {
  position: absolute; top: calc(100% + .6rem); left: -.5rem; width: 21rem; padding: .6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 48px -24px rgba(10,16,32,.45);
}
.menu-panel[hidden] { display: none; }
.menu-panel a { display: grid; padding: .7rem .85rem; border-radius: var(--radius); text-decoration: none; }
.menu-panel a span { font-weight: 600; }
.menu-panel a small { color: var(--muted); font-size: .84rem; }
.menu-panel a:hover { background: var(--blue-100); }
.menu-panel .menu-panel__all { margin-top: .3rem; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); font-weight: 600; color: var(--blue); }
.site-header__cta { display: none; }
@media (min-width: 980px) {
  .primary-nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}
.nav-toggle { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 1.5px solid var(--line); border-radius: 50%; cursor: pointer; }
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle__bars i:first-child { top: 1px; }
.nav-toggle__bars i:last-child { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { top: 5px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); overflow-y: auto; padding: 1.5rem var(--gutter) 3rem; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: grid; gap: 1.5rem; max-width: 34rem; margin-inline: auto; }
.mobile-nav > nav > ul > li > a { display: block; padding: .55rem 0; font: 400 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--font-display); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--blue); }
.mobile-nav__label { font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mobile-nav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
.mobile-nav__sub a { display: block; padding: .6rem 0; text-decoration: none; font-weight: 500; }
body.nav-open { overflow: hidden; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: clip; }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero h1 em { color: var(--blue); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: .6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); width: 100%; font-size: var(--step--1); color: var(--muted); }
.hero__facts strong { color: var(--text); font-weight: 600; }
.hero__art { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: .9rem; }
.hero__art figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .a { grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.hero__art .b, .hero__art .c { aspect-ratio: 4 / 3; }
.hero__art figcaption { position: absolute; left: .6rem; bottom: .6rem; background: var(--paper); color: var(--ink); padding: .3rem .65rem; border-radius: 999px; font: 600 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.hero__badge { position: absolute; z-index: 2; right: -.4rem; top: -1rem; width: 6.2rem; height: 6.2rem; display: grid; place-items: center; text-align: center; background: var(--red); color: #fff; border-radius: 50%; font: 600 .68rem/1.25 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: .5rem; }
.hero__badge b { display: block; font: italic 400 1.6rem/1 var(--font-display); letter-spacing: 0; text-transform: none; }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
  .hero__badge { right: -1.2rem; }
}

/* ---- Ticker of divisions ------------------------------------------------ */
.strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip__list { display: flex; flex-wrap: wrap; }
.strip__list li { flex: 1 1 50%; padding: 1.1rem 0; font: 600 var(--step--1)/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .7rem; }
.strip__list li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); flex-shrink: 0; }
@media (min-width: 760px) { .strip__list li { flex: 1 1 0; } }

/* ---- Divisions (varied layout) ------------------------------------------ */
.divisions { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.division { position: relative; display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.division:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(10,16,32,.5); }
.division__media { position: relative; overflow: hidden; background: var(--ink-2); aspect-ratio: 16 / 10; }
.division__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.division:hover .division__media img { transform: scale(1.04); }
.division__body { display: grid; gap: .8rem; padding: clamp(1.3rem, 3vw, 2.2rem); align-content: start; }
.division__idx { font: italic 400 1.1rem/1 var(--font-display); color: var(--red); }
.division h3 { font-size: var(--step-3); }
.division p { color: var(--muted); }
.division__status { justify-self: start; font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px; background: var(--blue-100); color: var(--blue); }
.division__status--soon { background: var(--paper-2); color: var(--muted); }
.division--lead { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.division--lead p { color: var(--muted-light); }
.division--lead .division__status { background: rgba(157,180,255,.16); color: #b9c9ff; }
.division--lead h3 { color: #fff; }
.division--lead .division__idx { color: #ff8a80; }
.division--c { background: var(--blue); border-color: var(--blue); color: #fff; }
.division--c p { color: #d3dcf5; }
.division--c h3 { color: #fff; }
.division--c .division__idx { color: #ffb3ac; }
.division--c .division__status { background: rgba(255,255,255,.16); color: #fff; }
.division__more { display: inline-flex; gap: .5rem; font-weight: 600; margin-top: .4rem; }
@media (min-width: 900px) {
  .divisions { grid-template-columns: repeat(6, 1fr); }
  .division--lead { grid-column: span 6; grid-template-columns: 1.1fr 1fr; }
  .division--lead .division__media { aspect-ratio: auto; min-height: 22rem; order: 2; }
  .division--lead h3 { font-size: var(--step-4); }
  .division--a, .division--b { grid-column: span 3; }
  .division--c, .division--d { grid-column: span 3; }
}
@media (min-width: 1100px) {
  .division--a { grid-column: span 2; } .division--b { grid-column: span 2; } .division--c { grid-column: span 2; }
  .division--d { grid-column: span 6; grid-template-columns: 1fr 1fr; }
  .division--d .division__media { aspect-ratio: auto; min-height: 14rem; max-height: 20rem; }
  .division--d .division__body { align-content: center; }
}

/* ---- Work --------------------------------------------------------------- */
.work-grid { display: grid; gap: 1.25rem; }
.work-card { display: grid; gap: 1rem; text-decoration: none; }
.work-card__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); aspect-ratio: 16 / 10; border: 1px solid var(--line-light); }
.work-card__frame::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.6rem; background: rgba(0,0,0,.35); z-index: 1; }
.work-card__frame::after { content: ""; position: absolute; left: .7rem; top: .55rem; width: .5rem; height: .5rem; border-radius: 50%; background: #ff6b60; box-shadow: .9rem 0 #ffd166, 1.8rem 0 #6bd69a; z-index: 2; }
.work-card__frame img { position: absolute; inset: 1.6rem 0 0 0; width: 100%; height: calc(100% - 1.6rem); object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.work-card:hover .work-card__frame img { transform: scale(1.04); }
.work-card__ph { position: absolute; inset: 1.6rem 0 0 0; display: grid; place-items: center; padding: 1rem; text-align: center; font: italic 400 var(--step-2)/1.1 var(--font-display); color: #8fa3d9; }
.work-card__name { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.work-card__name h3 { font-size: var(--step-2); color: #fff; }
.work-card__go { font-size: var(--step--1); font-weight: 600; color: #9db4ff; white-space: nowrap; }
.work-card p { color: var(--muted-light); font-size: .95rem; }
@media (min-width: 760px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .work-card:nth-child(even) { margin-top: 3rem; }
}
.work-grid--light .work-card__name h3 { color: var(--text); }
.work-grid--light .work-card__go { color: var(--blue); }
.work-grid--light .work-card p { color: var(--muted); }

.samples { display: grid; gap: 0; border-top: 1px solid var(--line); }
.sample { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease), background .3s; }
.sample:hover { padding-inline: 1rem; background: var(--blue-100); }
.sample b { font: 400 var(--step-2)/1.1 var(--font-display); }
.sample span { color: var(--muted); font-size: .92rem; grid-column: 1; }
.sample i { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-weight: 600; color: var(--blue); }
@media (min-width: 760px) { .samples { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }

/* ---- Principles / process ----------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; align-items: start; } .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); } }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.principle { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-light); }
.principle .num { font-size: 1.5rem; }
.principle h3 { margin-bottom: .4rem; color: #fff; }
.principle p { color: var(--muted-light); max-width: 36rem; }

.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; align-content: start; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font: italic 400 1.6rem/1 var(--font-display); color: var(--red); }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); max-width: 34rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } .step { grid-template-columns: 1fr; border-top: 2px solid var(--ink); padding-top: 1.2rem; } }

/* ---- Founder ------------------------------------------------------------ */
.founder { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.founder__photo { position: relative; max-width: 24rem; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); }
.founder__photo::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1.5px solid var(--blue); border-radius: var(--radius); z-index: -1; }
.founder__copy { display: grid; gap: 1.2rem; }
.founder__copy p { max-width: 38rem; color: var(--muted); }
.founder__name { font: 600 var(--step--1)/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
@media (min-width: 900px) { .founder { grid-template-columns: 5fr 7fr; } }
.mv { display: grid; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 700px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv > div { padding-top: 1rem; border-top: 2px solid var(--ink); }
.mv h3 { margin-bottom: .5rem; }

/* ---- Contact ------------------------------------------------------------ */
.contact { display: grid; gap: clamp(2rem, 6vw, 5rem); }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 6fr; align-items: start; } }
.contact__info { display: grid; gap: 1.6rem; align-content: start; }
.contact__list { display: grid; gap: 1.1rem; margin-top: .6rem; }
.contact__list dt { font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: .35rem; }
.contact__list dd, .contact__list a { font-size: var(--step-1); }
.contact__list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact__list a:hover { border-color: #fff; }
.contact__panel { background: var(--paper); color: var(--text); padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: var(--radius-lg); }

/* ---- Forms -------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; background: var(--white); border: 1.5px solid rgba(10,16,32,.28); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,58,156,.22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .88rem; font-weight: 500; min-height: 0; }
.field__err:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: .75rem; }
.field--check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--blue); }
.field--check label { font-weight: 400; font-size: .9rem; color: var(--muted); }
.field--check .field__err { grid-column: 1 / -1; }
.form__status { font-weight: 600; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }
.form__note { font-size: .84rem; color: var(--muted); }
.form__note a { color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form--inline { max-width: 34rem; }

.toast { position: fixed; z-index: 300; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: calc(100vw - 2rem); padding: .9rem 1.3rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 12px 36px -10px rgba(0,0,0,.5); }
.toast[hidden] { display: none; }
.toast.is-err { background: var(--err); }

/* ---- Page header (inner pages) ------------------------------------------ */
.page-head { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-head__inner { display: grid; gap: 1.4rem; max-width: 56rem; }
.page-head h1 { font-size: var(--step-5); }
.page-head h1 em { color: var(--blue); }
.crumbs { font-size: var(--step--1); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---- Service detail rows (offers page) ----------------------------------- */
.svc { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__media { border-radius: var(--radius); overflow: hidden; background: var(--ink-2); aspect-ratio: 16 / 10; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__copy { display: grid; gap: 1rem; align-content: center; justify-items: start; }
.svc__copy ul { display: grid; gap: .55rem; }
.svc__copy li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; color: var(--muted); }
.svc__copy li::before { content: "\2192"; color: var(--red); font-weight: 700; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
  .svc:nth-of-type(even) .svc__media { order: 2; }
}

/* ---- Courses ------------------------------------------------------------ */
.courses { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .courses { grid-template-columns: 1fr 1fr; } }
.course { display: grid; gap: 1rem; align-content: start; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.course--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.course__price { font: 400 var(--step-4)/1 var(--font-display); }
.course__meta { color: var(--muted); font-weight: 500; }
.course--feature .course__meta { color: var(--muted-light); }
.course ul { display: grid; gap: .5rem; }
.course li { display: grid; grid-template-columns: 1.3rem 1fr; }
.course li::before { content: "\2713"; color: var(--blue); font-weight: 700; }
.course--feature li::before { color: #9db4ff; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font: 400 var(--step-2)/1.2 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.8rem/1 var(--font-body); color: var(--blue); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq .faq__a { padding: 0 0 1.5rem; color: var(--muted); max-width: 40rem; }

/* ---- Coming soon -------------------------------------------------------- */
.soon { padding-block: clamp(3rem, 8vw, 6rem); }
.soon__grid { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.soon__copy { display: grid; gap: 1.4rem; justify-items: start; }
.soon__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.soon__media img { width: 100%; height: 100%; object-fit: cover; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px; background: var(--blue-100); color: var(--blue); font: 600 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); }
.soon__list { display: grid; gap: .5rem; color: var(--muted); }
.soon__list li { display: grid; grid-template-columns: 1.4rem 1fr; }
.soon__list li::before { content: "\2192"; color: var(--red); font-weight: 700; }
@media (min-width: 900px) { .soon__grid { grid-template-columns: 1.1fr .9fr; } }

.soon__type { height: 100%; min-height: 16rem; display: grid; place-items: center; background: var(--ink); color: var(--paper); padding: 2rem; text-align: center; }
.soon__type span { font: italic 400 var(--step-4)/1 var(--font-display); }

/* ---- Prose (legal) ------------------------------------------------------ */
.prose { max-width: 44rem; display: grid; gap: 1.1rem; }
.prose h2 { font-size: var(--step-3); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { display: grid; gap: .6rem; padding-left: 1.2rem; list-style: disc; color: var(--muted); }
.prose p { color: var(--muted); }
.prose a { color: var(--blue); }

/* ---- Callout band ------------------------------------------------------- */
.band { display: grid; gap: 1.4rem; align-items: center; }
.band h2 { font-size: var(--step-4); }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; } }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.site-footer__lead { display: grid; gap: 1.2rem; justify-items: start; }
.site-footer__statement { font: 400 var(--step-3)/1.1 var(--font-display); max-width: 22ch; text-wrap: balance; }
.site-footer__h { font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 1rem; }
.site-footer__col ul { display: grid; gap: .55rem; }
.site-footer__addr { font-style: normal; color: var(--muted-light); margin-top: 1rem; max-width: 18rem; font-size: .92rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: .9rem; color: var(--muted-light); }
.social { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
@media (min-width: 560px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__lead { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .site-footer__lead { grid-column: auto; } }

/* ---- Motion ------------------------------------------------------------- */
/* Content is visible by default. Only while .can-animate is set (motion allowed
   and script expected) are [data-anim] items held back for their entrance. */
.can-animate [data-anim]:not([data-anim-done]) { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}
