/* ─────────────────────────────────────────────────────────────
   Bandeasy — colour chapters
   Direction: colour-chapters · seed 1113145868
   Idea: the IELTS band scale becomes the chapter structure.
   One typeface (Albert Sans). Square corners. Flat fields only.
   ───────────────────────────────────────────────────────────── */

:root {
  /* palette — "Sky and sand", dealt */
  --ink:        #0a0a0a;
  --paper:      #f2f2f2;
  --muted:      #44606e;
  --accent:     #b0298f;
  --accent-ink: #ffffff;

  --sky:    #cbe4f2;
  --sand:   #f1e3b5;
  --yellow: #ffc013;

  /* type steps — five, no more */
  --step-small:   clamp(0.8125rem, 0.79rem + 0.10vw, 0.875rem);
  --step-body:    clamp(1.0625rem, 1.00rem + 0.25vw, 1.1875rem);
  --step-lead:    clamp(1.25rem,  1.10rem + 0.70vw, 1.625rem);
  --step-head:    clamp(2.25rem,  1.30rem + 3.20vw, 4rem);
  --step-display: clamp(3.9rem,   0.60rem + 9.80vw, 9.6rem);

  --gutter: clamp(20px, 4vw, 64px);
  --radius: 0px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--accent); color: var(--accent-ink);
  padding: 14px 20px; font-weight: 500; text-decoration: none;
}
.skip:focus { left: 0; }

/* ── Buttons: flat, square, one shape ───────────────────────── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step-body);
  padding: 18px 30px;
  border: 0;
  border-radius: var(--radius);
  min-height: 44px;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { background: #8e1f73; }
.btn:active { transform: translateY(2px); }

.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #ffffff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #262626; }
.btn-small { padding: 12px 20px; font-size: var(--step-small); }

/* ── Top bar: plain, no chrome ──────────────────────────────── */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; gap: 28px;
  padding: 24px var(--gutter);
  color: var(--paper);
}
.wordmark {
  font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.04em;
  text-decoration: none;
}
.topbar nav { display: flex; gap: 26px; margin-left: auto; }
.topbar nav a {
  text-decoration: none; font-size: var(--step-small);
  padding: 8px 0; opacity: .82;
  transition: opacity .18s var(--ease);
}
.topbar nav a:hover { opacity: 1; }
.topbar-action {
  text-decoration: none; font-size: var(--step-small); font-weight: 500;
  background: var(--paper); color: var(--ink);
  padding: 12px 18px; min-height: 44px; display: flex; align-items: center;
  transition: background-color .18s var(--ease);
}
.topbar-action:hover { background: #fff; }

/* ═══ HERO ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 0;
  overflow: hidden;
}

#globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.hero-type {
  position: relative; z-index: 2;
  text-align: center;
  padding-top: clamp(104px, 15vh, 168px);
  max-width: 1200px;
  margin: 0 auto;
}
.hero-h1 {
  font-size: var(--step-display);
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.hero-sub {
  margin: clamp(28px, 4vh, 44px) auto 0;
  max-width: 46ch;
  font-size: var(--step-lead);
  line-height: 1.35;
  color: var(--paper);
}

/* ── The tabbed folder stack: each tab is a rung ────────────── */
.stack {
  position: relative; z-index: 3;
  width: 100%;
  max-width: 1180px;
  margin: clamp(56px, 9vh, 120px) auto 0;
  padding-top: 42px;
}

.folder {
  position: relative;
  display: block;
  height: 74px;
  background: var(--c);
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s var(--ease);
}
.folder .tab {
  position: absolute;
  top: -40px;
  height: 40px;
  background: var(--c);
  color: var(--ink);
  clip-path: polygon(0 100%, 14px 0, calc(100% - 14px) 0, 100% 100%);
  display: flex; align-items: center;
  padding: 0 26px;
  font-size: var(--step-small);
  font-weight: 500;
  white-space: nowrap;
}
a.folder:hover { transform: translateY(-5px); }

.f1 { --c: var(--sky);    z-index: 1; }
.f2 { --c: var(--sand);   z-index: 2; }
.f3 { --c: var(--yellow); z-index: 3; }
.f4 { --c: #9fd0e8;       z-index: 4; }
.f5 { --c: var(--accent); z-index: 5; }
.f5 .tab, .f5 { color: var(--accent-ink); }

.f1 .tab { left: 0; }
.f2 .tab { left: 19%; }
.f3 .tab { left: 38%; }
.f4 .tab { left: 57%; }
.f5 .tab { left: 76%; }

.folder.open {
  --c: var(--paper);
  z-index: 6;
  height: auto;
  padding: clamp(34px, 4.4vh, 52px) clamp(24px, 3.4vw, 52px) clamp(36px, 5vh, 56px);
}

.live-h {
  font-size: var(--step-head);
  max-width: 18ch;
  letter-spacing: -0.04em;
}
.bandpick { margin-top: 30px; }
.bandpick-label {
  display: block; font-size: var(--step-small);
  color: var(--muted); margin-bottom: 10px;
}
.bandpick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: inherit;
  font-size: var(--step-body);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  background: #1e2a31;
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  min-height: 52px;
  min-width: 72px;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.chip:hover { background: #2d3f49; }
.chip:active { transform: translateY(2px); }
.chip.is-on { background: var(--yellow); color: var(--ink); }
.ch-ink .bandpick-label { color: #93a7b1; }

.readout {
  margin-top: 26px;
  font-size: var(--step-lead);
  line-height: 1.35;
  max-width: 40ch;
  min-height: 4.3em;
  letter-spacing: -0.01em;
}
.folder.open .btn { margin-top: 26px; }
.live-note {
  margin-top: 16px;
  font-size: var(--step-small);
  color: var(--muted);
}

/* ═══ CHAPTERS ═══════════════════════════════════════════════ */
.chapter {
  padding: clamp(84px, 11vh, 150px) var(--gutter);
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ch-sky  { background: var(--sky);  color: var(--ink); }
.ch-sand { background: var(--sand); color: var(--ink); }

.ch-h {
  font-size: var(--step-head);
  max-width: 16ch;
  margin-bottom: clamp(36px, 5vh, 56px);
}
.ch-lede {
  max-width: 62ch;
  margin: -14px 0 clamp(36px, 5vh, 52px);
  font-size: var(--step-body);
}
.ch-foot {
  margin-top: 34px;
  font-size: var(--step-small);
  color: var(--muted);
  max-width: 72ch;
}

/* ── stats: photograph with figure tiles ────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  min-height: 62vw;
  max-height: 760px;
}
.mosaic-photo {
  grid-row: 1 / 3;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.mosaic-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.mosaic-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: var(--paper);
  padding: 20px 26px;
  font-size: var(--step-small);
  line-height: 1.45;
}
.tile { padding: 28px; display: flex; flex-direction: column; }
.tile-a { background: var(--yellow); }
.tile-b { background: var(--ink); color: var(--paper); }
.fig {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.fig-cap {
  margin-top: 14px;
  font-size: var(--step-small);
  line-height: 1.5;
  max-width: 30ch;
}

/* ── how it works: tiles that grow ──────────────────────────── */
.grow {
  display: grid;
  grid-template-columns: 3fr 4fr 5fr;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  align-items: end;
}
.grow-col { display: contents; }
.grow-col:nth-child(1) > * { grid-column: 1; }
.grow-col:nth-child(2) > * { grid-column: 2; }
.grow-col:nth-child(3) > * { grid-column: 3; }
.grow-tile { grid-row: 1; overflow: hidden; background: var(--ink); }
.grow-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ── What the student is handed at each stage.
      Real documents of this service, drawn rather than photographed:
      no honest photograph of a marked script exists to be found.
      Each root carries data-ui, so it keeps its own rules and fields. */
.doc {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: clamp(14px, 1.5vw, 22px);
  font-size: var(--step-small);
}
.doc p, .doc li, .doc dt { max-width: 62ch; }
.doc-top {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: var(--step-small);
  padding-bottom: 12px;
}

/* 1 — the diagnostic report */
.doc-report { background: var(--paper); color: var(--ink); }
.score { margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.score-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; padding: 7px 11px; background: #e4e4e4;
}
.score-row dt { font-size: var(--step-body); }
.score-row dd {
  margin: 0; font-size: var(--step-lead); font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.score-row.is-weak { background: var(--accent); color: var(--accent-ink); }
.doc-note { margin-top: 12px; font-size: var(--step-small); }

/* 2 — the marked script */
.doc-script { background: var(--paper); color: var(--ink); }
.script { font-size: var(--step-body); line-height: 1.5; }
.mk {
  text-decoration: underline wavy var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.marks { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: flex; flex-direction: column; gap: 9px; }
.marks li { font-size: var(--step-small); line-height: 1.45; }
.mk-tag {
  display: inline-block; background: var(--yellow); color: var(--ink);
  padding: 1px 8px; margin-right: 7px; font-weight: 500;
}

/* 3 — the computer-delivered exam screen */
.doc-screen { background: var(--ink); color: var(--paper); padding: 0; }
.screen-bar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px clamp(12px, 1.4vw, 18px);
  background: #1e2a31; font-size: var(--step-small);
}
.screen-foot { margin-top: auto; color: #93a7b1; }
.clock { color: var(--yellow); font-variant-numeric: tabular-nums; font-weight: 500; }
.screen-body { flex: 1; display: flex; flex-direction: column; padding: clamp(14px, 1.5vw, 20px); }
.q-no { font-size: var(--step-small); color: #93a7b1; }
.q { font-size: var(--step-body); line-height: 1.45; margin-top: 10px; }
.q-field {
  margin-top: 14px; padding: 10px 12px;
  background: #121c21; border: 1px solid #364a55; /* taste-skill-ignore: a real answer field inside a data-ui exam screen */
  font-size: var(--step-body);
}
.q-pager { margin-top: auto; padding-top: 16px; display: flex; gap: 4px; flex-wrap: wrap; }
.pg {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: #1e2a31; font-size: var(--step-small); font-variant-numeric: tabular-nums;
}
.pg.is-here { background: var(--yellow); color: var(--ink); font-weight: 500; }
.gt1 { height: 30vh; min-height: 200px; }
.gt2 { height: 44vh; min-height: 280px; }
.gt3 { height: 60vh; min-height: 360px; }
.grow-name { grid-row: 2; font-size: var(--step-lead); margin-top: 22px; letter-spacing: -0.03em; }
.grow-text { grid-row: 3; margin-top: 10px; max-width: 34ch; font-size: var(--step-body); }

/* ── statements on colour fields ────────────────────────────── */
.field {
  min-height: 78svh;
  padding: clamp(60px, 8vh, 100px) var(--gutter) clamp(40px, 6vh, 64px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(16px, 2vw, 32px);
}
.fl-yellow { background: var(--yellow); color: var(--ink); }
.fl-ink    { background: var(--ink);    color: var(--paper); }
.fl-sky    { background: var(--sky);    color: var(--ink); }

.field-text {
  grid-row: 1;
  grid-column: 8 / 13;
  max-width: 34ch;
  font-size: var(--step-body);
  line-height: 1.55;
}
.field-phrase {
  grid-row: 3;
  grid-column: 1 / 11;
  font-size: var(--step-display);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
/* mirror the middle field */
.fl-ink .field-text { grid-column: 2 / 7; }
.fl-ink .field-phrase { grid-column: 3 / 13; text-align: right; }

/* ── destinations: the globe, the control, the table ────────── */
.ch-ink { background: var(--ink); color: var(--paper); }
.ch-ink .ch-foot, .ch-ink .bands thead th, .ch-ink .live-note { color: #93a7b1; }

.atlas {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(48px, 7vh, 88px);
}
.atlas-control { align-self: center; }
.atlas-globe {
  position: relative;
  width: 100%;
  height: clamp(380px, 58svh, 620px);
  justify-self: center;
}
/* The globe is a thing you turn, so the cursor says so.
   touch-action: pan-y hands vertical drags back to the page, so a
   finger can still scroll past the globe instead of being trapped
   turning it; horizontal drags are ours. */
#globe {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}
#globe.is-turning { cursor: grabbing; }

/* The name under the pointer. A label, not a card: flat paper, square
   corners, the small type step, weight 500. JS positions it with a
   transform from the canvas's top-left corner. */
.globe-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 11px;
  white-space: nowrap;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step-small);
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .14s var(--ease);
}
.globe-tip.is-on { opacity: 1; }
.globe-tip-name { font-weight: 500; letter-spacing: -0.01em; }
.globe-tip-band { color: var(--muted); font-variant-numeric: tabular-nums; }
.globe-tip.is-home .globe-tip-band { color: var(--accent); }

/* No WebGL, or three.js missing: drop the column rather than leave a void.
   The readout and the table already carry every number. */
.atlas.no-globe { grid-template-columns: 1fr; }
.atlas.no-globe .atlas-globe { display: none; }

.live-text { margin-top: 20px; max-width: 42ch; font-size: var(--step-body); line-height: 1.55; }

/* rows dim when their bar is above the chosen band */
.bands tbody tr { transition: opacity .3s var(--ease); }
.bands tbody tr.is-shut { opacity: .42; }
.bands tbody tr.is-open .band-cell { color: var(--yellow); }

/* Thirty-four destinations in one column is a screen and a half of
   near-empty ground, so the list runs as two tables side by side. */
.bands-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(28px, 3.5vw, 64px);
  align-items: start;
}

.bands {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-body);
}
.bands th, .bands td {
  text-align: left;
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid rgba(10, 10, 10, .18);
  vertical-align: baseline;
}
.bands thead th {
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.bands tbody th {
  font-weight: 500;
  font-size: var(--step-lead);
  letter-spacing: -0.03em;
  width: 32%;
}
.band-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: var(--step-lead);
  letter-spacing: -0.03em;
  width: 16%;
}
/* the reason column carries the detail, so it takes the small step and
   stays on one or two lines in half the width */
.bands tbody td:last-child {
  font-size: var(--step-small);
  line-height: 1.45;
  color: var(--muted);
}
.ch-ink .bands tbody td:last-child { color: #93a7b1; }
.bands tbody tr:last-child th,
.bands tbody tr:last-child td { border-bottom: 0; }
.ch-ink .bands th, .ch-ink .bands td { border-bottom-color: rgba(242, 242, 242, .2); }

/* Where you sit it, and where it takes you. Both at the same hour. */
.diptych {
  margin: clamp(44px, 6vh, 72px) 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.diptych figure { margin: 0; display: flex; flex-direction: column; }
.diptych img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.diptych figcaption {
  flex: 1;
  max-width: 62ch;
  background: #16222a; color: var(--paper);
  padding: 20px 24px;
  font-size: var(--step-small);
  line-height: 1.55;
}
.diptych figcaption strong { font-weight: 500; }

/* ── fees: two plans, two fields ────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 68svh;
}
.plan {
  padding: clamp(40px, 5vh, 64px) var(--gutter);
  display: flex;
  flex-direction: column;
}
.plan-a { background: var(--sand); color: var(--ink); }
.plan-b { background: var(--accent); color: var(--accent-ink); }
.plan-name { font-size: var(--step-head); letter-spacing: -0.045em; }
.plan-for {
  margin-top: 22px;
  max-width: 30ch;
  font-size: var(--step-body);
  line-height: 1.55;
}
.plan-price { margin-top: auto; padding-top: clamp(40px, 7vh, 88px); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.amount {
  font-size: var(--step-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.period { font-size: var(--step-small); opacity: .85; }
.plan .btn { align-self: flex-start; margin-top: 30px; }
.plan-b .period { opacity: .9; }

/* ── faq ────────────────────────────────────────────────────── */
.faq-ch { display: block; }
.faq-wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(16px, 2vw, 32px);
}
.faq-h {
  grid-column: 1 / 5;
  font-size: var(--step-head);
  position: sticky; top: 96px;
  align-self: start;
  max-width: 10ch;
}
.faq-list { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 8px; }

.faq-list details {
  background: #b9dbee;
  border-radius: var(--radius);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex; align-items: center;
  min-height: 72px;
  padding: 18px 64px 18px 24px;
  font-size: var(--step-lead);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
/* plus becomes minus: the upright bar collapses. Two solid bars, no gradient. */
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  right: 24px;
}
.faq-list summary::before {
  width: 18px; height: 3px;
  margin-top: -1.5px;
}
.faq-list summary::after {
  width: 3px; height: 18px;
  margin-top: -9px;
  right: 31.5px;
  transition: transform .22s var(--ease);
}
.faq-list details[open] { background: var(--accent); color: var(--accent-ink); }
.faq-list details[open] summary::after { transform: scaleY(0); }
.answer { padding: 0 24px 26px; max-width: 56ch; }
.answer p { font-size: var(--step-body); line-height: 1.6; }

/* ── cta row ────────────────────────────────────────────────── */
.cta-row {
  display: grid;
  grid-template-columns: 1.4fr 7fr 1.4fr;
  gap: 10px;
  padding: 10px 0;
  background: var(--sky);
  min-height: 380px;
}
.cta-main {
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(32px, 5vh, 56px) var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 64px);
  align-content: center;
}
.cta-h { font-size: var(--step-head); grid-column: 1; grid-row: 1 / 3; align-self: center; }
.cta-text { grid-column: 2; grid-row: 1; align-self: end; max-width: 34ch; font-size: var(--step-body); }
.cta-main .btn { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; margin-top: 22px; }
.cta-side { overflow: hidden; }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-flat { background: var(--yellow); }

/* ═══ FOOTER: the mark, built large ══════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vh, 96px) var(--gutter) 36px;
}
.mark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: clamp(110px, 24svh, 260px);
  margin-bottom: 56px;
}
.blk {
  flex: 1 1 0;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  padding-bottom: .12em;
  color: var(--ink);
}
.b1 { background: var(--sky);    height: 72%; }
.b2 { background: var(--sand);   height: 100%; }
.b3 { background: var(--yellow); height: 60%; }
.b4 { background: var(--paper);  height: 88%; }
.b5 { background: var(--accent); height: 66%; color: var(--accent-ink); }
.b6 { background: var(--sand);   height: 94%; }
.b7 { background: var(--sky);    height: 64%; }
.b8 { background: var(--yellow); height: 82%; }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
}
.foot-col, .foot-contact { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3, .foot-contact h3 {
  font-size: var(--step-small);
  font-weight: 500;
  color: #93a7b1;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.foot-col a, .foot-contact a {
  font-size: var(--step-body);
  text-decoration: none;
  padding: 3px 0;
  transition: color .18s var(--ease);
}
.foot-col a:hover, .foot-contact a:hover { color: var(--yellow); }
.foot-contact p { font-size: var(--step-body); }

.credits {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
}
.credits p { font-size: var(--step-small); color: #93a7b1; line-height: 1.6; max-width: 70ch; }
.credits strong { color: var(--paper); font-weight: 500; }

.foot-last {
  margin-top: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.foot-last p { font-size: var(--step-small); color: #93a7b1; }

/* ═══ MOTION ═════════════════════════════════════════════════ */

/* the one moving picture: a very slow drift across the platform shot */
@keyframes drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(0, -1.4%, 0); }
}
.mosaic-photo img { animation: drift 26s ease-in-out infinite alternate; will-change: transform; }

.rv { opacity: 0; transform: translateY(26px); }
.rv-in {
  opacity: 1; transform: none;
  transition: opacity .62s var(--ease), transform .62s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ═══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .topbar nav { display: none; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; max-height: none; }
  .mosaic-photo { grid-row: 1; display: flex; flex-direction: column; }
  .mosaic-photo img { aspect-ratio: 4 / 3; height: auto; }
  .mosaic-photo figcaption { position: static; }
  .mosaic-tiles { display: contents; }
  .tile-a, .tile-b { grid-row: 2; }
  .tile-a { grid-column: 1; }
  .grow { grid-template-columns: 1fr; }
  .grow-col > * { grid-column: 1 !important; }
  .grow-col { display: block; margin-bottom: 30px; }
  .gt1 { height: 34vw; min-height: 180px; }
  .gt2 { height: 46vw; min-height: 220px; }
  .gt3 { height: 62vw; min-height: 260px; }
  .grow-tile img { height: 100%; }
  .field {
    display: block;
    min-height: 0;
    padding: clamp(64px, 9vh, 96px) var(--gutter);
  }
  .field-text, .field-phrase,
  .fl-ink .field-text, .fl-ink .field-phrase { text-align: left; max-width: 44ch; }
  .field-text { margin-bottom: clamp(40px, 6vh, 72px); }
  .field-phrase { max-width: 16ch; }
  .split { grid-template-columns: 1fr; }
  .faq-wrap { display: block; }
  .faq-h { position: static; max-width: none; margin-bottom: 28px; }
  .cta-row { grid-template-columns: 1fr 1fr; min-height: 0; }
  .cta-main { grid-column: 1 / 3; order: -1; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 48px); }
  .cta-text { max-width: 44ch; margin-top: 16px; }
  .cta-main .btn { align-self: flex-start; margin-top: 26px; }
  .cta-side { grid-row: 2; height: clamp(150px, 26vw, 240px); }
  .cta-photo { grid-column: 1; }
  .cta-flat { grid-column: 2; }
  /* price and action share the bottom row so the field is not half empty */
  .plan {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 20px;
  }
  .plan-name, .plan-for { grid-column: 1 / 3; }
  .plan-price { grid-column: 1; margin-top: clamp(28px, 5vh, 56px); padding-top: 0; }
  .plan .btn { grid-column: 2; align-self: end; justify-self: end; margin-top: clamp(28px, 5vh, 56px); }
  .credits { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .dhaka { grid-template-columns: 1fr; }
  .atlas { grid-template-columns: 1fr; gap: 32px; }
  .atlas-globe { order: -1; max-height: 46svh; max-width: 460px; }
  /* one column is wide enough for the three real columns again */
  .bands-pair { grid-template-columns: 1fr; }
  .bands-pair .bands + .bands thead { display: none; }
}

@media (max-width: 640px) {
  .hero-type { padding-top: 100px; }
  .stack { padding-top: 34px; }
  .folder { height: 58px; }
  .folder .tab { top: -32px; height: 32px; padding: 0 16px; font-size: var(--step-small); }
  .f1 .tab { left: 0; }
  .f2 .tab { left: auto; right: 0; }
  .f3 .tab { left: 0; }
  .f4 .tab { left: auto; right: 0; }
  .f5 .tab { left: 0; }
  .folder.open { padding: 32px 20px 36px; }
  .chip { min-width: 60px; padding: 0 14px; }
  .readout { min-height: 6em; }
  .folder.open .btn { width: 100%; text-align: center; }
  .bands tbody th { width: auto; }
  .bands th, .bands td { padding: 14px 10px 14px 0; }
  .bands thead { display: none; }
  .bands tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-bottom: 1px solid rgba(10,10,10,.18); }
  .ch-ink .bands tbody tr { border-bottom-color: rgba(242,242,242,.2); }
  .bands tbody th, .bands tbody td { border: 0; padding: 0; }
  .bands tbody td:last-child { grid-column: 1 / 3; margin-top: 6px; font-size: var(--step-small); color: var(--muted); }
  .ch-ink .bands tbody td:last-child { color: #93a7b1; }
  .cta-row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .mark { height: 120px; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .rv-in { transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
