/* ArkadIA one-pager.
   Every colour, size, space and radius below is copied from the brand token file
   03_Brand/Guidelines/_wip-refonte-2026-08-18/design-tokens.json (version 1.0.0, 5 June 2026).
   Nothing here is invented. If a token changes there, change it here and nowhere else.
   Note recorded on purpose: that token file is marked "to-review", so this page is
   built ON the current tokens, it is not certified against an approved brand charter. */

:root {
  /* colour, identity */
  --ink: #050237;
  --ink-body: #1E2A4A;
  --ink-mute: #5A6985;
  --azure: #1E5BAA;
  --azure-soft: #4A7DC4;
  --cyan: #00C2CC;
  --coral: #FF4200;
  --maize: #FFDA6B;
  --white: #FFFFFF;

  /* colour, backgrounds */
  --bg-warm: #FAFAF5;
  --bg-dark: #050237;
  --bg-azure-pale: #EBF1FA;
  --bg-cyan-soft: #EAF7F8;

  /* type families, four voices with one job each */
  --ff-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --ff-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ff-quote: 'Newsreader', Georgia, 'Times New Roman', serif;
  --ff-mono: 'Space Mono', ui-monospace, 'SF Mono', monospace;

  /* type scale, ~1.25 modular, min at 390px, max at 1440px */
  --fs-display: clamp(46px, 27.43px + 4.762vw, 96px);
  --fs-h1: clamp(38px, 29.83px + 2.095vw, 60px);
  --fs-h2: clamp(31px, 25.43px + 1.429vw, 46px);
  --fs-h3: clamp(26px, 22.29px + 0.952vw, 36px);
  --fs-quote: clamp(22px, 19.40px + 0.667vw, 29px);
  --fs-h4: clamp(21px, 19.14px + 0.476vw, 26px);
  --fs-h5: clamp(18px, 16.89px + 0.286vw, 21px);
  --fs-body-lg: clamp(18px, 17.26px + 0.190vw, 20px);
  --fs-body: clamp(16px, 15.26px + 0.190vw, 18px);
  --fs-body-sm: clamp(15px, 14.63px + 0.095vw, 16px);
  --fs-caption: clamp(13px, 12.63px + 0.095vw, 14px);
  --fs-button: clamp(15px, 14.63px + 0.095vw, 16px);
  --fs-mono: 12px;

  /* spacing, 4 / 8 grid */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --stroke-hair: 1px; --stroke-reg: 1.5px; --stroke-bold: 2px;

  /* derived surface roles, kept here so no component invents its own */
  --page: var(--bg-warm);
  --text: var(--ink-body);
  --title: var(--ink);
  --eyebrow: var(--azure);
  --rule: rgba(30, 91, 170, 0.16);
  --card: rgba(255, 255, 255, 0.72);

  --shell: 1200px;
  --gutter: var(--sp-5);
}

@media (min-width: 900px) { :root { --gutter: var(--sp-7); } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--title);
  margin: 0;
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); line-height: 1.25; font-weight: 600; }
h5 { font-size: var(--fs-h5); line-height: 1.3; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0;
}

.accent { font-family: var(--ff-quote); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }

.lede { font-size: var(--fs-body-lg); color: var(--ink-body); }
.muted { color: var(--ink-mute); }
.caption { font-size: var(--fs-caption); color: var(--ink-mute); line-height: 1.5; }

.measure { max-width: 62ch; }
.measure-tight { max-width: 46ch; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-size: var(--fs-button);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--r-pill);
  padding: 14px var(--sp-6);
  border: var(--stroke-reg) solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: var(--stroke-bold) solid var(--azure); outline-offset: 3px; }
.btn--primary { background: var(--ink); color: var(--bg-warm); }
.btn--primary:hover { background: var(--azure); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--azure); color: var(--azure); }
.btn--sm { padding: 10px var(--sp-5); }

.on-dark .btn--primary { background: var(--white); color: var(--ink); }
.on-dark .btn--primary:hover { background: var(--cyan); color: var(--ink); }
.on-dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.28); }
.on-dark .btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.textlink {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; color: var(--azure); text-decoration: none;
  border-bottom: var(--stroke-reg) solid rgba(30,91,170,0.3);
  padding-bottom: 2px;
  transition: border-color .18s ease;
}
.textlink:hover { border-color: var(--azure); }

/* ---------- logo lockup ---------- */
/* Compass always left of the wordmark, never vertical, never the compass alone.
   Sizes derive from the wordmark cap height: compass diameter = 1.5 x cap,
   gap = 0.32 x compass diameter. */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: calc(0.32 * var(--compass, 30px));
  text-decoration: none;
  line-height: 1;
}
.lockup__mark { width: var(--compass, 30px); height: var(--compass, 30px); flex: none; display: block; }
/* Real lockup file: height is set from the same --compass variable (the mark is ~1/2 of the file height). */
.lockup__img { height: calc(var(--compass, 30px) * 2); width: auto; display: block; }
.lockup__word {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: calc(var(--compass, 30px) / 1.5 / 0.72);
  letter-spacing: -0.02em;
  color: var(--azure);
  line-height: 1;
}
.lockup__word i {
  font-family: var(--ff-quote);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}
.on-dark .lockup__word { color: var(--white); }

/* ---------- header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  /* Kept close to opaque on purpose: the page has two dark bands, and a thinner
     wash let them bleed through and turned the bar muddy grey. */
  background: rgba(250, 250, 245, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: var(--stroke-hair) solid var(--rule);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  height: 72px;
}
.header .lockup { --compass: 28px; }
.nav { display: none; gap: var(--sp-6); }
.nav a {
  font-size: var(--fs-body-sm); font-weight: 600; color: var(--ink-body);
  text-decoration: none; padding: 6px 0; border-bottom: var(--stroke-bold) solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: var(--azure); border-color: var(--azure); }
@media (min-width: 900px) { .nav { display: flex; } }

/* On a narrow screen the header button says "Book a call" so it does not crowd
   the logo. Same link, shorter words. */
.btn__long { display: none; }
@media (min-width: 560px) {
  .btn__long { display: inline; }
  .btn__short { display: none; }
}

/* ---------- sections ---------- */

.section { padding-block: var(--sp-8); }
@media (min-width: 900px) { .section { padding-block: var(--sp-9); } }

/* The header stays on screen, so an anchor must stop below it, not behind it. */
section[id] { scroll-margin-top: 88px; }

.section--dark {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.78);
}
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5 { color: var(--white); }
.section--dark .eyebrow { color: var(--cyan); }
.section--dark .muted { color: rgba(255,255,255,0.6); }
.section--dark .caption { color: rgba(255,255,255,0.55); }

.section__head { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-7); }
@media (min-width: 900px) {
  .section__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--sp-7); align-items: end; }
  .section__head .eyebrow { grid-column: 1 / -1; margin-bottom: calc(-1 * var(--sp-2)); }
}

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding-block: var(--sp-8) var(--sp-7); }
@media (min-width: 900px) { .hero { padding-block: var(--sp-9) var(--sp-8); } }
.hero::before {
  content: ""; position: absolute; inset: -34% -14% auto auto;
  width: min(980px, 96vw); aspect-ratio: 1;
  background: radial-gradient(circle at 58% 42%, rgba(30,91,170,0.09), rgba(30,91,170,0) 72%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: var(--sp-8); align-items: center; }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--sp-7); }
}
.hero h1 { margin-top: var(--sp-4); max-width: 18ch; }
.hero h1 .accent { color: var(--ink); }
.hero__sub { margin-top: var(--sp-5); font-size: var(--fs-body-lg); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-top: var(--sp-7); }
.hero__note { margin-top: var(--sp-4); max-width: 48ch; }

.hero__art { display: none; }
@media (min-width: 980px) { .hero__art { display: block; justify-self: center; width: min(460px, 100%); } }

.stats {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: var(--stroke-hair) solid var(--rule);
}
.stat__figure {
  font-family: var(--ff-display); font-weight: 700;
  font-size: var(--fs-h3); color: var(--coral); line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label { margin-top: var(--sp-2); font-size: var(--fs-body-sm); color: var(--ink-body); }
.stats__note { margin-top: var(--sp-5); }
@media (max-width: 620px) {
  .stats { grid-template-columns: 1fr; gap: var(--sp-4); }
  .stat { display: flex; align-items: baseline; gap: var(--sp-4); }
  .stat__figure { min-width: 88px; }
  .stat__label { margin-top: 0; }
}

/* ---------- service cards ---------- */

.cards { display: grid; gap: var(--sp-5); }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }

.card {
  background: var(--card);
  border: var(--stroke-hair) solid var(--rule);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.card__num {
  font-family: var(--ff-mono); font-size: var(--fs-mono); font-weight: 700;
  letter-spacing: 0.2em; color: var(--azure);
}
.card__line { font-size: var(--fs-body-lg); color: var(--ink); font-weight: 600; }
.card__body { font-size: var(--fs-body-sm); }
.card__proof {
  margin-top: auto; padding-top: var(--sp-4);
  border-top: var(--stroke-hair) solid var(--rule);
  display: flex; gap: var(--sp-3); align-items: flex-start;
  font-size: var(--fs-caption); color: var(--ink-mute); line-height: 1.5;
}
.card__proof .star { flex: none; margin-top: 3px; }

/* ---------- how we work ---------- */

.steps { display: grid; gap: var(--sp-6); position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
  .steps::before {
    /* The line joins the four dots and stops at the last one. Four equal columns
       with a 24px gap put the fourth dot's centre at 75% of the width plus 25px. */
    content: ""; position: absolute; left: 7px; right: calc(25% - 25px); top: 7px;
    height: var(--stroke-hair); background: rgba(0, 194, 204, 0.42);
  }
}
.step { position: relative; padding-top: var(--sp-6); }
.step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: var(--r-pill);
  background: var(--bg-dark); box-shadow: 0 0 0 var(--stroke-reg) var(--cyan) inset, 0 0 0 6px var(--bg-dark);
}
.step__mark {
  font-family: var(--ff-mono); font-size: var(--fs-mono); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
}
.step__name { margin-top: var(--sp-3); font-size: var(--fs-h5); }
.step__body { margin-top: var(--sp-3); font-size: var(--fs-body-sm); }
.steps__closer { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: var(--stroke-hair) solid rgba(255,255,255,0.12); }

/* ---------- proof ---------- */

.proof__grid { display: grid; gap: var(--sp-7); }
@media (min-width: 900px) { .proof__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); } }

.blocklabel {
  font-family: var(--ff-body); font-size: var(--fs-caption); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--azure);
  display: flex; align-items: center; gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.builtlist { display: grid; gap: var(--sp-3); }
.builtlist li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-body-sm); }
.builtlist .star { flex: none; margin-top: 5px; }

.measures { display: grid; gap: var(--sp-5); }
.measure-row {
  display: flex; align-items: baseline; gap: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: var(--stroke-hair) solid var(--rule);
}
.measure-row:last-child { border-bottom: 0; padding-bottom: 0; }
.measure-row b {
  font-family: var(--ff-display); font-weight: 700; font-size: var(--fs-h4);
  color: var(--coral); line-height: 1; min-width: 116px; letter-spacing: -0.02em;
}
.measure-row span { font-size: var(--fs-body-sm); }

.callout {
  margin-top: var(--sp-8);
  background: rgba(30, 91, 170, 0.05);
  border: var(--stroke-hair) solid var(--rule);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex; gap: var(--sp-4); align-items: flex-start;
}
.callout .star { flex: none; margin-top: 6px; }
.callout p { font-size: var(--fs-body-lg); color: var(--ink); }

/* one highlight only, on the words that carry the meaning */
.ink-mark {
  background-image: linear-gradient(to top, rgba(255, 218, 107, 0.78) 34%, transparent 34%);
  padding: 0 2px;
}

.creds { display: grid; gap: var(--sp-5); margin-top: var(--sp-8); }
@media (min-width: 760px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); } }
@media (min-width: 1060px) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cred { border-top: var(--stroke-bold) solid var(--azure); padding-top: var(--sp-4); }
.cred h4 { font-size: var(--fs-h5); }
.cred p { margin-top: var(--sp-2); font-size: var(--fs-body-sm); }

/* ---------- founder ---------- */

.founder { background: var(--bg-azure-pale); }
/* Name on top, then one wide opening paragraph, then the rest in two columns.
   An earlier two-column split left half the section empty on a laptop. */
.founder__id { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.founder__id h2 { font-size: var(--fs-h3); }
.founder__lede {
  font-size: var(--fs-body-lg); color: var(--ink); max-width: 62ch;
  padding-bottom: var(--sp-6); margin-bottom: var(--sp-6);
  border-bottom: var(--stroke-hair) solid var(--rule);
}
.founder__cols { display: grid; gap: var(--sp-5); }
@media (min-width: 860px) { .founder__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); } }
/* Deliberately NOT uppercased. The company is written ArkadIA, and ARKADIA is one
   of the four spellings the brand rules forbid, so no rule here may transform it. */
.founder__role {
  font-family: var(--ff-body); font-size: var(--fs-body-sm); font-weight: 700;
  letter-spacing: 0.02em; color: var(--azure);
}

/* ---------- contact ---------- */

.contact__grid { display: grid; gap: var(--sp-7); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--sp-8); align-items: center; } }
.contact h2 { max-width: 16ch; }
.contact__body { margin-top: var(--sp-5); font-size: var(--fs-body-lg); max-width: 46ch; }
.contact__panel {
  border: var(--stroke-hair) solid rgba(255,255,255,0.16);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: grid; gap: var(--sp-5);
  background: rgba(255,255,255,0.03);
}
.contact__rows { display: grid; gap: var(--sp-4); }
.contact__row { display: grid; gap: 2px; }
.contact__row dt {
  font-family: var(--ff-mono); font-size: var(--fs-mono); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
}
.contact__row dd { margin: 0; font-size: var(--fs-body); color: var(--white); }
.contact__row a { text-decoration: none; border-bottom: var(--stroke-hair) solid rgba(255,255,255,0.3); }
.contact__row a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- footer ---------- */

.footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding-block: var(--sp-7); border-top: var(--stroke-hair) solid rgba(255,255,255,0.12); }
.footer__in { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between; }
.footer .lockup { --compass: 26px; }
.footer__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-caption); }

/* ---------- preview strip ---------- */
/* One quiet line above everything: this page is not final copy. Brand colours,
   no alarm styling, it is a note and not a warning. */

.preview-strip {
  margin: 0;
  background: var(--bg-azure-pale);
  color: var(--azure);
  border-bottom: var(--stroke-hair) solid var(--rule);
  font-family: var(--ff-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--sp-2) var(--sp-4);
}

/* ---------- forms ---------- */

.formwrap { padding-block: var(--sp-8); }
.formwrap h1 { margin-top: var(--sp-4); max-width: 20ch; }

/* The two "to be announced" pills on the bootcamp page. They are the honest
   part of that page, so they sit above the form, not in small print. */
.tbd { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.tbd__pill {
  display: inline-flex; align-items: center;
  border: var(--stroke-reg) dashed var(--azure-soft);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-5);
  font-family: var(--ff-mono); font-size: var(--fs-mono); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--azure);
  background: rgba(30, 91, 170, 0.04);
}

.form {
  margin-top: var(--sp-7);
  max-width: 560px;
  background: var(--card);
  border: var(--stroke-hair) solid var(--rule);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-5);
}
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--fs-body-sm); font-weight: 700; color: var(--ink); }
.field__req { color: var(--coral); }
.field__help { font-size: var(--fs-caption); color: var(--ink-mute); }
.field input,
.field textarea {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--ink-body);
  background: var(--white);
  border: var(--stroke-hair) solid var(--rule);
  border-radius: var(--r-md);
  padding: 12px var(--sp-4);
  width: 100%;
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: var(--stroke-bold) solid var(--azure);
  outline-offset: 2px;
  border-color: transparent;
}
.form .btn { justify-self: start; cursor: pointer; }
.form__note { max-width: 52ch; }

/* The honeypot. Off screen for people, still there for a bot to fill. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks__title { margin-top: var(--sp-4); max-width: 20ch; }

/* ---------- brand geometry ---------- */

.star { display: block; }

.astro { display: block; width: 100%; height: auto; }
.astro__spin { transform-origin: 130px 130px; animation: astro-spin 90s linear infinite; }
.astro__spin--rev { animation-duration: 140s; animation-direction: reverse; }
@keyframes astro-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .astro__spin { animation: none; } }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--r-md) 0; z-index: 100;
}
.skip:focus { left: 0; }
