/*
  CatchMap v02, in Conceptual Studio's house style.
  Layout: warm paper, hairlines margin to margin, one big word per page,
  Instrument Sans for everything else, round pills, 28px corners. The college's
  own brand lives only in the outputs (the map sheet), never in the tool chrome.
  Single light theme by choice: it matches the studio site and the printed maps.
*/
/* Two faces: Libre Caslon Text for headings, titles and big figures, Instrument Sans for everything else (Josh, 27 Nov
   2026, after Cormorant and then Marcellus). Both are open source (SIL OFL), so they can ship inside a product colleges
   pay for. Only Caslon's regular is loaded: it answers for every weight (no fake bold), and it is set at 88% so its
   tall lowercase sits at about the size and width the headings had. Stand-ins are scaled to the same width, so a
   heading wraps the same way before and after the font arrives. */
@font-face { font-family: 'Libre Caslon Text'; src: url('assets/fonts/libre-caslon-text-latin-400-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; size-adjust: 88%; }
@font-face { font-family: 'Caslon Georgia'; src: local('Georgia'); size-adjust: 102%; }
@font-face { font-family: 'Caslon Times'; src: local('Times New Roman'), local('Liberation Serif'), local('Tinos'), local('FreeSerif'); size-adjust: 112%; }
@font-face { font-family: 'Instrument Sans'; src: url('assets/fonts/instrument-sans-text.woff2') format('woff2-variations'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Instrument Arial'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo'), local('FreeSans'); size-adjust: 105.8%; }
@font-face { font-family: 'Instrument DejaVu'; src: local('DejaVu Sans'); size-adjust: 90.2%; }

:root {
  --paper: #F1DFC8;
  --paper-2: #E8D3B8;
  --paper-3: #F7ECDD;
  --ink: #000000;
  /* the same mixes worked out by hand, for browsers before color-mix (Chrome and Edge before 111, on older Chromebooks) */
  --ink-2: #302D28;
  --ink-3: #5C554C;
  --rule: #BCAE9C;
  --gold: #926E34;
  --live: #1F9D55;
  --amber: #F1A90F;
  --warn-bg: #F4D9A6;
  --warn-ink: #5A3A05;
  --bad: #A3271B;
  --night: #14110D;

  --text: 'Instrument Sans', 'Instrument Arial', 'Instrument DejaVu', system-ui, sans-serif;
  --display: 'Libre Caslon Text', 'Caslon Georgia', 'Caslon Times', Georgia, serif;

  --margin: max(16px, 2.5vw);
  --radius: 28px;
  --radius-inner: 16px;
  --pill: 999px;

  /* Motion, from conceptualstudio.co.uk: Framer's label-slide curve. --ease is the old name, kept for app code. */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: var(--ease-out);
  --t-fill: 300ms;   /* hover fills and tints */
  --t-press: 160ms;  /* press down */
  --t-turn: 180ms;   /* arrow → to ↗ */
  --t-swap: 560ms;   /* label slide */
  --t-rise: 560ms;   /* sections and lists rising in */

  /* Depth (Josh's site): a contact shadow, then two soft ones for the lift. Light from the top left. */
  --lift: 0 1px 2px rgb(40 24 8 / .12), 0 6px 14px -4px rgb(40 24 8 / .14), 2px 22px 44px -16px rgb(40 24 8 / .36);
  --lift-sm: 0 1px 2px rgb(40 24 8 / .16), 0 6px 14px -6px rgb(40 24 8 / .32);
  --lift-night: 0 1px 2px rgb(0 0 0 / .5), 0 6px 14px -4px rgb(0 0 0 / .35), 0 18px 40px -14px rgb(0 0 0 / .75);

  /* Buttons (Josh's site sizes). Every target is 44px or more. */
  --btn-h: 48px; --btn-px: 22px; --btn-fs: 17px;
  --btn-h-sm: 44px; --btn-px-sm: 18px; --btn-fs-sm: 16px;

  /* Glass dials at the live site's values (site.yml). */
  --g-frost: 1; --g-blur: .67; --g-shine: .65; --g-sat: 1.3;
  --rim: rgb(255 250 240 / calc(.95 * var(--g-shine)));
  --rim-2: rgb(255 250 240 / calc(.55 * var(--g-shine)));
  /* A slab of the site's glass resting on the paper (.glass in components.css): a lifted cream fill, the thick lit rim
     top left with a weaker catch bottom right, a soft glow inside the top, a little shade inside the bottom, the gold
     hairline and the three-step lift. The page behind is plain paper, so panels skip the blur: same look, no cost. */
  --slab-bg: color-mix(in srgb, #FFFAF0 46%, transparent);
  --slab:
    inset 1.5px 1.5px 1px -1px var(--rim), inset -1.5px -1.5px 1px -1px var(--rim-2),
    inset 6px 8px 14px -12px rgb(255 252 246 / calc(.7 * var(--g-shine))),
    inset 0 -8px 14px -12px rgb(110 80 36 / .22),
    inset 0 0 0 .5px rgb(110 80 36 / .2),
    var(--lift);
  color-scheme: light;
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --ink-2: color-mix(in srgb, var(--ink) 80%, var(--paper));
    --ink-3: color-mix(in srgb, var(--ink) 62%, var(--paper));
    --rule: color-mix(in srgb, var(--ink) 22%, var(--paper));
  }
}
::selection { background: var(--gold); color: #F1DFC8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--pill); z-index: 100; }
.skip:focus { top: 12px; }

.wrap { padding-left: max(var(--margin), env(safe-area-inset-left, 0px)); padding-right: max(var(--margin), env(safe-area-inset-right, 0px)); max-width: 1480px; margin: 0 auto; }

/* ---------- top bar ---------- */
/* The site's nav (Nav.astro + .glass--nav): a floating bar of glass inset from the margins, 60px tall, 28px corners,
   lit rim with a faint red and blue fringe at the ends. The page scrolls under it, so it is real glass: one of only
   three backdrop-filter pieces in the tool (bar, modal, toast), to stay light on Chromebooks. */
.top { position: sticky; top: 0; z-index: 40; padding: 14px max(var(--margin), env(safe-area-inset-right, 0px)) 0 max(var(--margin), env(safe-area-inset-left, 0px)); }
.top__inner {
  max-width: calc(1480px - 2 * var(--margin)); margin: 0 auto; min-height: 60px; padding: 8px 8px 8px 22px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px;
  background: color-mix(in srgb, var(--paper) min(96%, calc(88% * var(--g-frost))), transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    inset 1.5px 1.5px 0 -.5px rgb(255 250 240 / .95), inset -1.5px -1.5px 0 -.5px rgb(255 250 240 / .7),
    inset 3px 0 4px -2px rgb(255 70 40 / .22), inset -3px 0 4px -2px rgb(40 110 255 / .22),
    inset 0 0 14px rgb(255 252 246 / .3), inset 0 0 0 1px rgb(110 80 36 / .14), var(--lift);
}
/* Nav: Josh's glass pills. Plain text at rest, ink fill on hover, the current page a lifted piece of glass. */
.nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; padding: 4px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 7%, var(--paper)); box-shadow: inset 0 1px 2px rgb(40 24 8 / .14), inset 0 -1px 0 rgb(255 252 245 / .6); }
.nav__label { font-size: 15px; color: var(--ink-2); padding: 0 6px 0 10px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--pill);
  text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
.nav a:not([aria-current="page"]) { box-shadow: inset 0 0 0 1px rgb(110 80 36 / .28); }
.nav a[aria-current="page"] {
  background: var(--ink); color: var(--paper);
  box-shadow: inset 1px 1px 0 rgb(255 250 240 / calc(.9 * var(--g-shine))), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .14), var(--lift-sm);
}
@media (hover: hover) { .nav a:hover { background: var(--ink); color: var(--paper); box-shadow: var(--lift-sm); } }
.nav a:active { transform: scale(.97); }
.nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--pill); }
.who { position: relative; }
.who__btn {
  display: flex; align-items: center; gap: 10px; min-height: 44px; border: 0; border-radius: var(--pill); padding: 4px 16px 4px 6px; cursor: pointer; font-size: 16px; font-weight: 500;
  background: color-mix(in srgb, #FFFAF0 40%, transparent); color: var(--ink);
  box-shadow: inset 1px 1px 0 rgb(255 250 240 / calc(.9 * var(--g-shine))), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .14), var(--lift-sm);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
@media (hover: hover) { .who__btn:hover { background: var(--ink); color: var(--paper); } }
.who__btn:active { transform: scale(.97); }
.who__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--pill); }
/* the college's own logo beside its name: its own shape, never cropped into a circle */
.who__logo { display: flex; align-items: center; flex: none; height: 32px; max-width: 132px; }
.who__logo .logo-tile { width: auto; height: 100%; padding: 0 2px; border-radius: 6px; }
.who__logo .logo-tile--dark { padding: 0 6px; }
.who__logo svg, .who__logo img { height: 26px; width: auto; max-width: 120px; display: block; object-fit: contain; }
/* The account menu drops over the page but is kept solid: no extra blur layer (Chromebooks). */
.menu { position: absolute; right: 0; top: calc(100% + 14px); background: #F8EDDE; border-radius: 24px; box-shadow: inset 1px 1px 0 var(--rim), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift); padding: 6px; min-width: 270px; z-index: 50; display: grid; gap: 2px; transform-origin: top right; animation: sheet-in 260ms var(--ease-out) both; }
.menu p { padding: 10px 14px 12px; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.menu p strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.menu button, .menu a { display: flex; align-items: center; min-height: 44px; text-align: left; border: 0; background: none; padding: 0 14px; border-radius: 16px; cursor: pointer; font-size: 16px; text-decoration: none; transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out; }
@media (hover: hover) { .menu button:hover, .menu a:hover { background: var(--ink); color: var(--paper); } }
.menu :is(button, a):focus-visible { outline-offset: -2px; border-radius: 16px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ---------- page head: one big word on a hairline ---------- */
.head { padding-top: clamp(28px, 5vw, 64px); }
.head__word { font-family: var(--display); font-weight: 500; font-size: clamp(64px, 9vw, 136px); line-height: .92; letter-spacing: -0.015em; margin: 0 0 0 -0.03em; } /* the site's page heading (.ph__h) */
/* a long one-word heading (Accessibility) breaks with a hyphen on the narrowest phones rather than pushing the page sideways */
@media (max-width: 400px) { .head__word { hyphens: auto; overflow-wrap: anywhere; } }
.head__rule { height: 1px; background: var(--ink); margin-top: clamp(12px, 1.6vw, 22px); }
.head__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; padding-top: 14px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; }
.head__row > * { min-width: 0; }
.head__row .muted { color: var(--ink-2); }
.head--small .head__word { font-size: clamp(52px, 6.6vw, 96px); }

/* setup steps: the credits row */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 12px; font-size: 16px; }
.steps li { color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.steps li.is-done { color: var(--ink-2); }
.steps li.is-done::after { content: ""; width: 10px; height: 6px; border-left: 1.6px solid var(--live); border-bottom: 1.6px solid var(--live); transform: rotate(-45deg) translateY(-3px); flex: none; }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.steps b { font-weight: 600; font-variant-numeric: tabular-nums; }

main { padding-bottom: 80px; }
.section { padding-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; } /* minmax: a wide table scrolls in its own box instead of widening the page on a phone */
.section > h2 { font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.08; font-weight: 500; letter-spacing: -0.01em; } /* the site's .mid */
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 60ch; }

/* ---------- buttons ---------- */
/* Josh's button (conceptualstudio.co.uk components.css). A pale pill that sits on the page: lit top edge,
   shaded bottom edge, contact shadow and a soft lift. One change per hover: the fill turns ink and the text
   paper, and the arrow turns → to ↗. Pressing pushes it onto the page (down 1px, 97%) and the lift goes.
   The solid button inverts on hover to the pale pill and rises 1px. Plain buttons on paper get this depth;
   real glass (backdrop blur) is kept for things with the page behind them: the top bar, modals, toasts. */
.btn {
  --fill: color-mix(in srgb, var(--ink) 5%, var(--paper));
  --fill-hover: var(--ink);
  --fill-pressed: color-mix(in srgb, var(--ink) 84%, var(--paper));
  --depth: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 var(--btn-px); border: 1px solid transparent; border-radius: var(--pill);
  background: var(--fill); color: var(--ink); box-shadow: var(--depth);
  font: 500 var(--btn-fs)/1.1 var(--text); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn--solid {
  --fill: var(--ink);
  --fill-hover: color-mix(in srgb, var(--ink) 5%, var(--paper));
  --fill-pressed: color-mix(in srgb, var(--ink) 12%, var(--paper));
  --depth: inset 0 1px 0 rgb(255 252 245 / .22), inset 0 -1px 0 rgb(0 0 0 / .3), 0 1px 2px rgb(40 24 8 / .25), 0 8px 18px -8px rgb(40 24 8 / .45);
  color: var(--paper);
}
.btn--sm { min-height: var(--btn-h-sm); padding: 0 var(--btn-px-sm); font-size: var(--btn-fs-sm); }
@media (hover: hover) {
  .btn:hover { background: var(--fill-hover); color: var(--paper); }
  .btn.btn--solid:hover { color: var(--ink); }
  .btn--solid:hover:not(:active):not([disabled]) { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm); }
}
.btn:is(:active, .is-pressed) { background: var(--fill-pressed); color: var(--paper); transform: translateY(1px) scale(.97); box-shadow: inset 0 1px 2px rgb(0 0 0 / .18), 0 1px 1px rgb(40 24 8 / .12); }
.btn.btn--solid:is(:active, .is-pressed) { color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--pill); }
/* Disabled reads as "not yet", not as faded-out text: flat, no lift, still 5:1 text. */
.btn[disabled], .btn[aria-disabled="true"] { --fill: var(--paper-2); --fill-hover: var(--paper-2); --fill-pressed: var(--paper-2); color: var(--ink-2); box-shadow: none; border: 1px dashed color-mix(in srgb, var(--ink) 30%, var(--paper)); cursor: not-allowed; transform: none; }
.btn[disabled]:hover { color: var(--ink-2); }

/* The arrow (Josh's site): a rounded arrow drawn from shapes in the text colour, whatever glyph the markup holds
   (→ stays in the HTML as the fallback). Hover tips it up to ↗. Sizes are in cqw, so it scales with the type. */
.arrow {
  display: inline-block; position: relative; width: .8em; height: .8em; vertical-align: -0.04em; flex: none;
  overflow: hidden; text-indent: 1.5em; white-space: nowrap; color: inherit; container-type: size;
  transform: scaleX(var(--flip, 1)) rotate(var(--turn, 0deg)); transition: transform var(--t-turn) ease-out;
  background:
    radial-gradient(5% 5% at 16.67% 50%, currentColor calc(100% - .5px), transparent) no-repeat,
    linear-gradient(transparent 45%, currentColor 45% 55%, transparent 55%) 47.06% 0 / 64.58% 100% no-repeat;
}
.arrow::before, .arrow::after { content: ""; position: absolute; left: 45.64cqw; width: 48.3cqw; height: 10cqw; border-radius: 5cqw; background: currentColor; }
.arrow::before { top: 31.46cqw; rotate: 45deg; }
.arrow::after { top: 58.54cqw; rotate: -45deg; }
.arrow--back { --flip: -1; }
@media (hover: hover) { :is(.btn, .mc-badge):not([disabled]):hover .arrow { --turn: -45deg; } }
:is(.btn, .mc-badge):focus-visible .arrow { --turn: -45deg; }

/* Label swap (Framer): the offer at rest, the action on hover, sliding in from 12px right.
   Markup: <span class="swap"><span>Export</span><span aria-hidden="true">Save a copy</span></span> */
.swap { display: inline-grid; overflow: hidden; }
.swap > * { grid-area: 1 / 1; transition: transform var(--t-swap) var(--ease-out), opacity var(--t-fill) ease-out; }
.swap > :last-child { transform: translateX(12px); opacity: 0; }
@media (hover: hover) {
  .btn:hover .swap > :first-child { transform: translateX(-12px); opacity: 0; }
  .btn:hover .swap > :last-child { transform: none; opacity: 1; }
}

.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.linkbtn { width: fit-content; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 500; color: var(--ink); }
/* Text links draw the site's footer underline in from the left on hover (.draw in components.css). In running text a
   faint line stays at rest, so a link never relies on hover to be found. Works the same in Firefox. */
:is(.linkbtn, main p a, main li a, main small a, .mc-banner a, .note a, .menu p a, .look a) {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(color-mix(in srgb, currentColor 32%, transparent), color-mix(in srgb, currentColor 32%, transparent)) 0 100% / 100% 1px no-repeat;
  padding-bottom: .08em; transition: background-size 300ms var(--ease-out);
}
@media (hover: hover) { :is(.linkbtn, main p a, main li a, main small a, .mc-banner a, .note a, .menu p a, .look a):hover { background-size: 100% 1px, 100% 1px; } }
:is(.linkbtn, main p a, main li a, main small a, .mc-banner a, .note a, .menu p a, .look a):focus-visible { background-size: 100% 1px, 100% 1px; }
:is(main p, main li, main small) :is(a.btn, a.mc-badge) { background: var(--fill, var(--paper-2)); padding-bottom: 0; }

/* ---------- panels and fields ---------- */
.panel { background: var(--slab-bg); box-shadow: var(--slab); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 18px; min-width: 0; }
/* The site's inner light: a soft highlight from the top left, on a layer under the content. */
:is(.panel:not(.panel--plain), .ldr, .mc-banner, .next-steps, .upload-strip) { position: relative; isolation: isolate; }
:is(.panel:not(.panel--plain), .ldr, .mc-banner, .next-steps, .upload-strip)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at 0 0, rgb(255 252 246 / calc(.3 * var(--g-shine))), transparent 55%);
}
.panel--plain { background: transparent; box-shadow: inset 0 0 0 1px var(--rule); }
.panel h3, .panel .h3 { font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -0.01em; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.grid-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.sticky { position: sticky; top: calc(var(--top-h, 68px) + 16px); }

.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-size: 16px; font-weight: 600; }
.field small { color: var(--ink-2); font-size: 16px; }
/* Fields: the site's enquiry form. A faint ink edge on a lighter well, a darker edge on hover, a 2px ink ring on focus.
   Selects draw their own rounded chevron instead of the browser's. */
.input, select.input, textarea.input {
  width: 100%; height: 48px; padding: 0 16px; border-radius: var(--radius-inner); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: color-mix(in srgb, #FFFAF0 62%, transparent); font-size: 17px; appearance: none; -webkit-appearance: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
select.input {
  padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px 16px; background-position: right 16px center;
}
@media (hover: hover) { .input:hover, .prefix:hover { border-color: color-mix(in srgb, var(--ink) 28%, transparent); } }
.input::placeholder, .prefix input::placeholder { color: var(--ink-2); opacity: .8; }
textarea.input { height: auto; min-height: 110px; padding: 12px 16px; line-height: 1.45; resize: vertical; }
.input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.prefix { display: flex; align-items: center; border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); background: color-mix(in srgb, #FFFAF0 62%, transparent); border-radius: var(--radius-inner); overflow: hidden; transition: border-color 150ms ease-out; }
.prefix span { padding: 0 4px 0 16px; color: var(--ink-2); }
.prefix input { border: 0; background: transparent; height: 48px; flex: 1; min-width: 0; padding-right: 16px; font-size: 17px; }
.prefix:focus-within { outline: 2px solid var(--ink); }
.prefix input:focus { outline: none; }

/* Tabs: a sunk track with the chosen tab as a lifted cream pill (Josh's glass-pill, current state). */
.tabs { justify-self: start; max-width: 100%; display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 6%, var(--paper)); box-shadow: inset 0 1px 2px rgb(40 24 8 / .12), inset 0 -1px 0 rgb(255 252 245 / .6); flex-wrap: wrap; }
.tabs button {
  min-height: 44px; border: 0; background: transparent; border-radius: var(--pill); padding: 0 18px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; color: var(--ink);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
.tabs button[aria-selected="true"] { font-weight: 600; background: #FFFAF0; box-shadow: inset 1px 1px 0 rgb(255 250 240 / .9), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .18), var(--lift-sm); }
@media (hover: hover) { .tabs button:not([aria-selected="true"]):hover { background: var(--ink); color: var(--paper); } }
.tabs button:active { transform: scale(.97); }
.tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--pill); }
/* phones: the views scroll sideways in one row instead of stacking into a blob */
@media (max-width: 640px) { .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tabs button { white-space: nowrap; flex: none; } }

.drop { display: grid; place-items: center; text-align: center; gap: 6px; padding: 40px 20px; border: 1.5px dashed color-mix(in srgb, var(--ink) 45%, var(--paper)); border-radius: var(--radius); cursor: pointer; transition: background-color var(--t-fill) ease-out, border-color var(--t-fill) ease-out; background: transparent; }
@media (hover: hover) { .drop:hover .btn { background: var(--ink); color: var(--paper); } .drop:hover .arrow { --turn: -45deg; } }
.drop:hover, .drop.is-over { background: var(--slab-bg); border-color: var(--ink); }
.drop strong { font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -0.01em; }
.drop span { color: var(--ink-2); font-size: 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 16px; padding: 4px 11px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .6), 0 0 0 .5px rgb(110 80 36 / .2); color: var(--ink-2); }
.chip--live { color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }

/* progress lines (brand finding, file reading) */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; animation: rise 500ms var(--ease-out) both; }
.ticks li::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg) translateY(-3px); flex: none; }
.ticks li.is-warn::before { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--amber); transform: none; }
/* Busy: a gold status dot that breathes (status dots are the one thing allowed to loop), never a spinner. */
.ticks li.is-busy::before { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--gold); transform: none; animation: breathe 1.6s ease-in-out infinite; }
.ticks small { display: block; color: var(--ink-2); font-size: 16px; }
@keyframes rise { from { opacity: .001; transform: translateY(10px); } }
@keyframes rise-in { from { opacity: .001; transform: translateY(14px); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* MapCheck's list is written in one go: it must never replay its rise per item (that was the flashing). */
.ticks--mc li { animation: none; }

/* ---------- brand editor ---------- */
.logo-slot { display: flex; gap: 16px; align-items: center; }
.logo-slot__img { width: 88px; height: 88px; border-radius: 20px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; border: 1px solid var(--rule); }
.logo-slot__img svg, .logo-slot__img img { width: 72px; height: 72px; object-fit: contain; }
.logo-tile { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-tile--dark { background: #1E1A1B; }
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.swatch { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; }
.swatch input[type="color"] { width: 48px; height: 48px; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: none; }
.swatch input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.swatch input[type="color"]::-webkit-color-swatch { border: 1px solid rgb(0 0 0 / .15); border-radius: 14px; }
.swatch strong { display: block; font-size: 16px; font-weight: 600; }
.swatch span { font-size: 16px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pass { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.pass::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }
.swatch :is(.pass, .fail) { white-space: normal; }
.swatch .fail { border-radius: 10px; }
.fail { display: inline-block; margin-top: 4px; font-size: 16px; padding: 2px 8px; border-radius: var(--pill); background: var(--warn-bg); color: var(--warn-ink); white-space: nowrap; }
.fontpair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.specimen { font-size: 28px; line-height: 1.1; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--rule); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.specimen--body { font-size: 17px; line-height: 1.4; white-space: normal; }

/* ---------- the map sheet (the exhibit) ---------- */
.sheet { background: #fff; border-radius: var(--radius-inner); overflow: hidden; box-shadow: var(--lift); line-height: 0; }
.sheet svg { width: 100%; height: auto; display: block; }
.sheet .district, .sheet .area { cursor: pointer; transition: opacity .15s; }
.sheet .district:hover, .sheet .area:hover, .sheet .area:focus { opacity: .82; outline: none; }
/* The site's plate caption: the only small caps. Bold title line over a light line. */
.caption { font-size: 16px; line-height: 1.55; padding-top: 14px; color: var(--ink); }
.caption b { font-weight: 600; display: block; }
.caption span { color: var(--ink-2); font-weight: 400; }
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--night); color: var(--paper); padding: 8px 12px; border-radius: 12px; font-size: 16px; line-height: 1.35; transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tip b { font-weight: 600; }

/* filters */
.filters { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: end; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.filters .field { min-width: 150px; flex: 1 1 150px; max-width: 230px; }
.filters .field > label { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.filters select.input { height: 44px; font-size: 16px; border-radius: var(--pill); padding: 0 40px 0 16px; background-position: right 14px center; }
.toggles { display: flex; gap: 6px; flex-wrap: wrap; }
/* Map layer toggles: Josh's pill. Off is a pale pill with an empty ring; on is a lifted cream pill with a
   filled dot and bold text, so the state never rests on colour alone. Hover deepens the tint (one change). */
.toggle {
  min-height: 44px; border: 1px solid transparent; border-radius: var(--pill); padding: 0 16px 0 14px; font-size: 16px; font-weight: 500; cursor: pointer; color: var(--ink);
  display: inline-flex; gap: 8px; align-items: center;
  background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10);
  transition: background-color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
.toggle::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; transition: background-color var(--t-fill) ease-out; }
.toggle[aria-pressed="true"], .toggle[aria-checked="true"], .toggle[data-on] { font-weight: 600; background: #FFFAF0; box-shadow: inset 1px 1px 0 rgb(255 250 240 / .9), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .22), var(--lift-sm); }
.toggle[aria-pressed="true"]::before, .toggle[aria-checked="true"]::before, .toggle[data-on]::before { background: var(--ink); }
@media (hover: hover) { .toggle:hover { background: color-mix(in srgb, var(--ink) 12%, var(--paper)); } .toggle[aria-pressed="true"]:hover { background: #FFF4E4; } }
.toggle:active { transform: scale(.97); }
.toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--pill); }

.report { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-top: 24px; }
.side { display: grid; gap: 22px; min-width: 0; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; border-top: 1px solid var(--ink); padding-top: 14px; }
.fig strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(44px, 3.6vw, 56px); line-height: .92; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; } /* the home page's stat figures */
.fig span { font-size: 16px; color: var(--ink-2); line-height: 1.3; display: block; padding-top: 4px; }
.block { border-top: 1px solid var(--rule); padding-top: 12px; display: grid; gap: 10px; }
.block h2 { font-family: var(--display); font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 90px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.bar__t { height: 12px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.bar__t i { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.bar b { text-align: right; font-weight: 600; }
.bars--time .bar { grid-template-columns: 112px minmax(0, 1fr) 44px; }
.jt-typical { margin: 12px 0 10px; font-size: 16px; color: var(--ink-2); }
.jt-typical strong { display: block; font-size: 28px; line-height: 1.1; color: var(--ink); }
.places { list-style: none; margin: 0; padding: 0; display: grid; }
.places li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 16px; font-variant-numeric: tabular-nums; }
.places li > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; min-width: 0; }
.places li > span em { margin-left: 0; }
.places li > b { white-space: nowrap; flex: none; }
.places li:last-child { border-bottom: 0; }
.places em { font-style: normal; font-size: 16px; color: var(--warn-ink); background: var(--warn-bg); border-radius: var(--pill); padding: 1px 8px; margin-left: 6px; white-space: nowrap; }
.places em.wrap { white-space: normal; display: inline-block; margin: 2px 0 0; }
.places .step { display: block; margin-top: 4px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.findings { margin: 0; padding: 0 0 0 18px; display: grid; gap: 10px; font-size: 16px; line-height: 1.45; }
.findings li::marker { color: var(--gold); }

/* tables */
/* position: relative keeps screen-reader-only labels inside the table's own scroll area, so a wide table never makes the page scroll sideways */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius-inner); }
.tbl { border-collapse: collapse; width: 100%; font-size: 16px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 600; font-size: 16px; color: var(--ink-2); padding: 8px 12px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl select.input { height: 40px; font-size: 16px; border-radius: 12px; padding: 0 36px 0 12px; min-width: 190px; background-position: right 12px center; background-size: 14px 14px; }
.tbl code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; background: #FFFBF5; padding: 2px 6px; border-radius: 6px; }
.conf { font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.conf--hi::before, .conf--drop::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--live); }
.conf--drop::before { background: var(--ink-3); }
.sample { color: var(--ink-2); font-size: 16px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.found { display: grid; gap: 0; }
.found__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.found__item:first-child { border-top: 1px solid var(--rule); }
.found__item strong { font-weight: 600; display: block; }
.found__item small { color: var(--ink-2); font-size: 16px; display: block; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: -8px -2px; opacity: 0; margin: 0; cursor: pointer; } /* a 44px tall target */
.switch i { position: absolute; inset: 0; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 52%, var(--paper)); box-shadow: inset 0 1px 2px rgb(0 0 0 / .2); transition: background-color var(--t-fill) ease-out; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFAF0; transition: transform var(--t-fill) var(--ease-out); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(40 24 8 / .3), 0 3px 6px -2px rgb(40 24 8 / .3); }
.switch input:checked + i { background: var(--live); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--ink); outline-offset: 2px; }

.campus-row { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, .8fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.campus-row input[type="color"] { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: none; }
.campus-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.campus-row input[type="color"]::-webkit-color-swatch { border: 1px solid rgb(0 0 0 / .15); border-radius: 50%; }
.campus-row .input { height: 44px; }
.campus-row small { color: var(--ink-2); font-size: 16px; display: block; }
.num { font-variant-numeric: tabular-nums; }

/* sign in */
.signin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 5vw, 80px); padding-top: 36px; align-items: start; }
.signin form { display: grid; gap: 16px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 16px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.creds { display: grid; gap: 10px; }
.cred { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.cred code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; }
.error { color: var(--bad); font-size: 16px; }
.ms { width: 18px; height: 18px; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ms i { display: block; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
/* Josh's veil (his phone menu): the page behind blurs and darkens a little, then the panel, a sheet of light
   glass, rises 14px into place. The panel tint is high (88%) so tables and forms read cleanly. */
.modal__bg { position: absolute; inset: 0; background: rgb(34 29 23 / .38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fade 300ms ease-out both; }
.modal__panel {
  position: relative; border-radius: var(--radius); width: min(1180px, 100%); max-height: calc(100% - 32px); overflow: auto; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 20px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  box-shadow:
    inset 1.5px 1.5px 1px -1px var(--rim), inset -1.5px -1.5px 1px -1px var(--rim-2),
    inset 6px 8px 14px -12px rgb(255 252 246 / calc(.7 * var(--g-shine))),
    inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift);
  animation: pop 420ms var(--ease-out) both;
  overscroll-behavior: contain;
}
.modal__panel--narrow { width: min(620px, 100%); }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
@media (hover: hover) { .modal__close:hover { background: var(--ink); color: var(--paper); } }
.modal__close:active { transform: scale(.94); }
.modal__close:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 50%; }
.modal h2 { font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.08; font-weight: 500; padding-right: 48px; letter-spacing: -0.01em; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

.export { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.export__preview { background: var(--paper-2); border-radius: var(--radius-inner); padding: 16px; display: grid; place-items: center; min-height: 300px; }
.export__preview img { max-width: 100%; max-height: 62vh; box-shadow: var(--lift); background: #fff; }
.presets { display: grid; gap: 8px; }
.preset { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 16px; cursor: pointer; }
.preset { transition: background-color var(--t-fill) ease-out, box-shadow var(--t-fill) ease-out; }
.preset:has(input:checked) { border-color: transparent; background: #FFFAF0; box-shadow: inset 1px 1px 0 rgb(255 250 240 / .9), inset 0 0 0 1px var(--ink), var(--lift-sm); }
.preset input { margin: 4px 0 0; accent-color: #000; grid-row: span 2; }
.preset strong { font-weight: 600; font-size: 16px; }
.preset small { color: var(--ink-2); font-size: 16px; }
/* two columns of formats on a laptop, so the Save button is on screen without scrolling */
@media (min-width: 1101px) { .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .preset { align-content: start; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 16px; }
.checks label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.checks input { accent-color: #000; width: 16px; height: 16px; }

/* privacy page */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.flow > div { padding: 16px 18px 18px 0; display: grid; gap: 6px; align-content: start; }
.flow > div + div { border-left: 1px solid var(--rule); padding-left: 18px; }
.flow strong { font-family: var(--display); font-size: 24px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.flow p { color: var(--ink-2); font-size: 16px; }
.flow .where { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: #765A2A; /* gold, darkened to 4.5 to 1 on the page */ font-weight: 600; }
.prose { max-width: 70ch; display: grid; gap: 14px; font-size: 17px; }
.prose h3 { font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -0.01em; padding-top: 12px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
/* A note to read: a slab of glass with the amber dot (the site's only other status colour), never a yellow box. */
.note { position: relative; background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm); color: var(--ink); border-radius: var(--radius-inner); padding: 13px 18px 13px 38px; font-size: 16px; }
.note::before { content: ""; position: absolute; left: 18px; top: calc(13px + .72em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.night-band { background: var(--night); color: var(--paper); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); display: grid; gap: 12px; }
.night-band p { color: color-mix(in srgb, var(--paper) 72%, var(--night)); }

/* Toast: Josh's dark glass, floating over whatever is on screen. */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90;
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px 12px 18px; border-radius: var(--pill); max-width: calc(100% - 32px);
  color: #F1DFC8; font-size: 16px; font-weight: 500;
  background: rgb(34 29 23 / .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 1.5px 1.5px 0 -.5px rgb(237 220 180 / calc(.7 * var(--g-shine))), inset -1px -1px 0 -.5px rgb(237 220 180 / calc(.35 * var(--g-shine))), var(--lift-night);
  animation: toast-in 420ms var(--ease-out) both;
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3FD37E; flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  #brand-editor .sticky { order: -1; position: static; }
  .report { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .figs { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-aside, .export { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .head__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2, .signin, .fontpair, .swatches { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: minmax(0, 1fr); }
  .figs { grid-template-columns: 1fr 1fr; }
  .fig strong { font-size: 36px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .campus-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .campus-row .pc, .campus-row .src, .campus-row [data-del] { grid-column: 2 / -1; }
  .campus-row [data-del] { justify-self: start; }
  .filters .field { max-width: none; }
  /* On a phone the bar takes two rows (mark and college, then the pages in one row that scrolls sideways), too tall
     to keep on screen, so it scrolls away with the page. */
  .top { position: relative; padding-top: 10px; }
  .top__inner { flex-wrap: wrap; column-gap: 8px; padding: 6px 6px 6px 16px; }
  .who__btn { padding-right: 14px; }
  .nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -6px 0 -12px; padding: 2px 4px 4px; scroll-padding-inline: 12px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 0 13px; flex: none; }
  .who__btn > span:last-child { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  /* iteration-count 1 matters: an infinite animation at .01ms would flicker. */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* PDF export: print only the prepared pages */
.print-pages { display: none; }
@media print {
  @page { size: A4 landscape; margin: 0; }
  body { background: #fff; }
  body > *:not(.print-pages) { display: none !important; }
  .print-pages { display: block; }
  .print-page { width: 297mm; height: 210mm; break-after: page; overflow: hidden; }
  .print-page img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .print-text { padding: 16mm 18mm; font: 11pt/1.45 'Instrument Sans', Arial, sans-serif; color: #000; display: grid; gap: 5mm; align-content: start; }
  .print-text h1 { font-size: 18pt; }
  .print-text h2 { font-size: 12pt; }
  .print-text table { border-collapse: collapse; width: 100%; }
  .print-text th, .print-text td { text-align: left; border-bottom: .3mm solid #bbb; padding: 1.4mm 2mm; }
}

/* keyboard users can reach every file picker */
.drop:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; background: var(--paper-3); }
.drop .btn { margin-top: 10px; pointer-events: none; }

/* "More options" folds away what most people never need */
.more { border-top: 1px solid var(--rule); padding-top: 14px; }
.more > summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; gap: 10px; align-items: center; min-height: 44px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; flex: none; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm); transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out; }
@media (hover: hover) { .more > summary:hover::before { background: var(--ink); color: var(--paper); } }
.more[open] > :not(summary) { animation: sheet-in 320ms var(--ease-out) both; }
.more[open] > summary::before { content: "–"; }
.more[open] > summary { margin-bottom: 12px; }

/* MapCheck */
.mc-banner { border-radius: var(--radius); padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px); display: grid; gap: 8px; background: var(--slab-bg); box-shadow: var(--slab); }
.mc-banner strong::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 14px; vertical-align: .16em; background: var(--ink-3); }
.mc-banner strong { font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
.mc-banner span { color: var(--ink-2); font-size: 16px; }
.mc-banner.is-pass strong::before { background: var(--live); box-shadow: 0 0 6px 1px rgb(31 157 85 / .35); }
.mc-banner.is-warn strong::before { background: var(--amber); }
.mc-banner.is-fail strong::before { background: var(--bad); } .mc-banner.is-fail strong { color: var(--bad); }
.mc-page { display: grid; gap: 22px; }
.mc-for { color: var(--ink-2); font-size: 16px; }
.mc-group { border-top: 1px solid var(--rule); padding-top: 16px; display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 16px; }
.mc-group h3, .mc-group .h3 { font-family: var(--display); font-size: 22px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.ticks--mc { gap: 14px; }
.ticks--mc em { font-style: normal; font-size: 16px; font-weight: 600; padding: 2px 10px; border-radius: var(--pill); background: color-mix(in srgb, var(--amber) 22%, var(--paper)); color: var(--warn-ink); margin-left: 6px; }
.ticks li.is-fail::before { width: 10px; height: 10px; border: 0; border-radius: 2px; background: var(--bad); transform: none; }
.ticks li.is-fail em { background: #F2D3CC; color: var(--bad); }
/* MapCheck's stamp beside each map: a card of lifted glass. Hover is the site's card hover: a brighter cream
   lift and the arrow tipping to ↗ (one change), never a colour filter. */
.mc-badge { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 12px 16px; border-radius: var(--radius-inner); font-size: 16px; text-decoration: none; color: var(--ink); background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 0 0 .5px rgb(110 80 36 / .2); transition: background-color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out), box-shadow var(--t-fill) ease-out; }
:is(a, button).mc-badge { box-shadow: inset 1px 1px 0 var(--rim), inset 0 -1px 0 rgb(110 80 36 / .10), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm); }
@media (hover: hover) { :is(a, button).mc-badge:hover { background: color-mix(in srgb, #FFFAF0 78%, transparent); } }
:is(a, button).mc-badge:active { transform: scale(.985); box-shadow: none; }
.mc-badge b { font-weight: 600; }
.mc-badge b::before { content: ""; display: inline-block; width: 12px; height: 7px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg) translateY(-3px); margin-right: 8px; }
.mc-badge span { color: var(--ink-2); font-size: 16px; }
.mc-badge.is-warn b::before { border: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); transform: none; vertical-align: .1em; }
.mc-badge.is-fail b { color: var(--bad); }
.mc-badge.is-fail b::before { border: 0; width: 10px; height: 10px; background: var(--bad); transform: none; border-radius: 2px; }
@media (max-width: 760px) { .mc-group { grid-template-columns: 1fr; gap: 8px; } .mc-banner strong { font-size: 20px; } }
@media (max-width: 760px) { .cred { grid-template-columns: 1fr; row-gap: 14px; } } /* the buttons get room from the words above them (Josh, 27 Nov) */

/* ---------- v04: recruitment ---------- */
.upload-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 26px; padding: 20px 24px; border-radius: var(--radius); background: var(--slab-bg); box-shadow: var(--slab); }
.upload-strip strong { display: block; font-size: 17px; }
.upload-strip > div > span { color: var(--ink-2); font-size: 16px; }
/* an arrow is always the colour of its button's label (a grey arrow on a black button looked broken, Josh, 27 Nov) */
.btn .arrow { color: inherit; }
.legend-key { display: flex; gap: 18px; font-size: 16px; color: var(--ink-2); padding-bottom: 8px; }
.legend-key span { display: inline-flex; align-items: center; gap: 6px; }
.k { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.k--last, .b--last { background: #B8B0A7; }
.k--now, .b--now { background: var(--ink); }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; }
@media (max-width: 420px) { .months { gap: 2px; } .month { font-size: 13px; } }
.month { display: grid; grid-template-rows: 96px auto auto; gap: 4px; text-align: center; font-size: 16px; color: var(--ink-2); }
.month > span:first-child { order: 2; }
.month__bars { order: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 96px; }
.month__bars .b { width: 7px; border-radius: 4px 4px 0 0; display: block; min-height: 0; }
.month small { order: 3; font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; min-height: 1em; }
.flag { display: inline-block; font-size: 16px; font-weight: 600; padding: 2px 10px; border-radius: var(--pill); white-space: nowrap; }
.flag--down { background: #F3D6D1; color: #7A2420; }
.flag--up { background: #D5E2F2; color: #1F4373; }
.flag--down::before { content: "▼ "; }
.flag--up::before { content: "▲ "; }
button.mc-badge { border: 0; cursor: pointer; text-align: left; font: inherit; }
@media (max-width: 760px) { .month { grid-template-rows: 70px auto auto; } .month__bars { height: 70px; } .month__bars .b { width: 5px; } }

/* ---------- v05: motion on view change ---------- */
/* loader.js puts .is-entering on <main> for a moment when the route changes (not when a view redraws itself),
   so each new page rises in once, Josh's way: 14px, 560ms, his curve, sections 60ms apart, list rows 40ms
   apart (capped, so a long list never waits). Nothing here runs under Reduce Motion. */
@media (prefers-reduced-motion: no-preference) {
  main.is-entering > * { animation: rise-in var(--t-rise) var(--ease-out) both; animation-delay: calc(var(--s, 0) * 60ms); }
  main.is-entering > :nth-child(2) { --s: 1; } main.is-entering > :nth-child(3) { --s: 2; }
  main.is-entering > :nth-child(4) { --s: 3; } main.is-entering > :nth-child(n+5) { --s: 4; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div) {
    animation: rise-in 500ms var(--ease-out) both; animation-delay: calc(120ms + var(--n, 0) * 40ms);
  }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(2) { --n: 1; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(3) { --n: 2; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(4) { --n: 3; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(5) { --n: 4; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(6) { --n: 5; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(7) { --n: 6; }
  :is(main.is-entering, .ttl-enter) :is(.ticks > li, .found__item, .places > li, .mc-group, .campus-row, .preset, .cred, .steps > li, .flow > div):nth-child(n+8) { --n: 7; }
  /* A result that replaces the loader: its own blocks rise in, in order. */
  .ttl-enter > * { animation: rise-in var(--t-rise) var(--ease-out) both; }
  .ttl-enter > :nth-child(2) { animation-delay: 60ms; } .ttl-enter > :nth-child(3) { animation-delay: 120ms; } .ttl-enter > :nth-child(n+4) { animation-delay: 180ms; }
}

/* ---------- v05: the loader (loader.js) ---------- */
/* A centred spinning circle, with the title and a line saying what is happening right under it, and the
   steps below that. All steps are drawn from the start and only their state changes, so the box never
   changes size while it works. */
.ldr {
  display: grid; justify-items: center; gap: 18px; padding: clamp(28px, 4vw, 48px) clamp(20px, 2.6vw, 32px);
  border-radius: var(--radius); background: var(--slab-bg); text-align: center; box-shadow: var(--slab);
  transition: opacity 240ms ease-out;
}
.ldr.is-leaving { opacity: 0; }
.ldr__spin { width: 44px; height: 44px; border-radius: 50%; border: 3.5px solid color-mix(in srgb, var(--ink) 12%, transparent); border-top-color: var(--ink); animation: ldr-spin 0.9s linear infinite; }
@keyframes ldr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ldr__spin { animation-duration: 2.4s; } }
.ldr[data-state="done"] .ldr__spin, .ldr[data-state="fail"] .ldr__spin { animation: none; }
.ldr[data-state="done"] .ldr__spin { border-color: var(--live); }
.ldr[data-state="fail"] .ldr__spin { border-color: var(--bad); }
.ldr__text { display: grid; gap: 6px; justify-items: center; max-width: 560px; }
.ldr__title { font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
.ldr__now { min-height: calc(2 * 1.45em); font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.ldr__now > span { transition: opacity 200ms ease-out; }
.ldr__now.is-swapping > span { opacity: 0; }
.ldr__note { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ldr__steps { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 16px; line-height: 1.35; text-align: left; width: min(100%, 460px); }
.ldr__steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); transition: color var(--t-fill) ease-out; }
.ldr__steps li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid color-mix(in srgb, var(--ink) 45%, var(--paper));
  transition: background-color var(--t-fill) ease-out, border-color var(--t-fill) ease-out;
}
.ldr__steps li.is-now { color: var(--ink); } /* same weight in every state, so a line never re-wraps and the box never changes size */
.ldr__steps li.is-now::before { border: 2px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3.5px, transparent 4px); }
.ldr__steps li.is-done { color: var(--ink); }
.ldr__steps li.is-done::before {
  border-color: var(--ink); background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.4 2.6 2.6L14 7.6' fill='none' stroke='%23F1DFC8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.ldr__steps li.is-fail { color: var(--bad); }
.ldr__steps li.is-fail::before { border-color: var(--bad); background: var(--bad); border-radius: 5px; }
.ldr__fail { display: grid; gap: 14px; }
.ldr__fail[hidden] { display: none; }

/* ---------- v05: accessibility fallbacks for glass and depth (Josh's site rules) ---------- */
/* Reduce Transparency: glass becomes solid paper or warm black. */
@media (prefers-reduced-transparency: reduce) {
  .top__inner { background: var(--paper-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modal__bg { background: rgb(34 29 23 / .7); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modal__panel { background: var(--paper); }
  .toast { background: #221D17; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav a[aria-current="page"], .who__btn { background: var(--paper-3); }
}
/* Increase Contrast: solid fills and a 2px ink outline on every control. */
@media (prefers-contrast: more) {
  :root { --ink-2: color-mix(in srgb, var(--ink) 80%, var(--paper)); --rule: color-mix(in srgb, var(--ink) 55%, var(--paper)); }
  .top__inner { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 2px var(--ink); }
  .modal__panel { background: var(--paper); outline: 2px solid var(--ink); outline-offset: -2px; }
  .toast { background: #14110D; outline: 2px solid #F1DFC8; outline-offset: -4px; }
  .btn, .toggle, .tabs, .who__btn, .modal__close, .nav a[aria-current="page"] { border: 2px solid var(--ink); }
  .toggle[aria-pressed="true"], .tabs button[aria-selected="true"] { outline: 2px solid var(--ink); outline-offset: -2px; }
  :focus-visible { outline-width: 3px !important; }
}
/* Windows High Contrast and similar: shadows vanish, so give controls real borders. */
@media (forced-colors: active) {
  .btn, .toggle, .tabs button, .who__btn, .modal__close, .nav a { border: 1px solid ButtonText; }
  .arrow, .arrow::before, .arrow::after { forced-color-adjust: none; color: ButtonText; }
  .ldr__steps li::before { forced-color-adjust: none; }
}

/* change the look, next to the map */
.look { padding: 4px 0 6px; border-bottom: 1px solid var(--rule); }
.look > summary { gap: 12px; flex-wrap: wrap; }
.look__body { display: grid; gap: 16px; padding-bottom: 10px; }
.look__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; }
.look__sw { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.look__sw input[type=color] { width: 48px; height: 48px; border: 0; padding: 0; border-radius: 14px; background: none; cursor: pointer; flex: none; }
.look__sw span { display: grid; gap: 2px; }
.look__sw small { color: var(--ink-2); font-size: 16px; }
/* what to do next, shown once after set-up */
.next-steps { display: flex; gap: 16px; justify-content: space-between; align-items: start; padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px); margin: 18px 0 4px; border-radius: var(--radius); background: var(--slab-bg); box-shadow: var(--slab); }
.next-steps ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); }
.next-steps a { color: var(--ink); }
@media (max-width: 560px) { .next-steps { flex-direction: column; } }

/* Your college: register search results */
.picks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pick { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; font: inherit; color: inherit; cursor: pointer;
  padding: 14px 18px; border-radius: var(--radius-inner); border: 0; min-height: 44px;
  background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 -1px 0 rgb(110 80 36 / .10), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out); }
/* A row you pick is a card: the site's cream hover and the arrow sliding in, tipped to ↗. */
@media (hover: hover) { .pick:hover { background: color-mix(in srgb, #FFFAF0 82%, transparent); } }
.pick:active { transform: scale(.985); }
.pick small { display: block; color: var(--ink-2); font-size: 16px; padding-top: 3px; }
/* on a phone the grey note under a "more" heading goes on its own line, not squeezed beside it */
/* phones: the + sits in its own column, centred on the title and the line under it, however many lines they wrap to */
@media (max-width: 760px) {
  .more > summary { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: center; padding-block: 6px; }
  .more > summary:has(> .muted)::before { grid-row: 1 / 3; }
  .more > summary > .muted { grid-column: 2; }
}

.table-wrap:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* an unexpected error: a calm note pinned to the bottom of the screen */
.oops { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(640px, calc(100% - 32px)); z-index: 200; box-shadow: var(--lift-sm); }
.oops code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; }

/* on a phone the map keeps a readable size and scrolls sideways inside its frame, instead of shrinking until its labels can't be read */
/* on a phone the whole sheet shows at once (pinch to zoom in), rather than half of it with the title cut off */
.sheet:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.next-steps summary { cursor: pointer; margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.next-steps .linkbtn { white-space: nowrap; }
html { scroll-padding-top: 110px; }
/* a short screen (a laptop zoomed in) cannot spare a bar that stays on screen */
@media (max-height: 620px) { .top { position: relative; } html { scroll-padding-top: 16px; } }
small { font-size: max(16px, 0.9em); }
@media (max-height: 620px) {
  .head__word, .head--small .head__word { font-size: 48px; }
  .head__row { padding-top: 8px; font-size: 17px; }
}
.map-options > .note { margin: 0; }
.ticks li.ticks__more { display: block; }
.ticks li.ticks__more::before { content: none; }
.ticks__more .ticks { padding-top: 6px; }
.logo-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-pick { width: 132px; height: 72px; padding: 8px; border-radius: 14px; border: 2px solid var(--rule); background: #fff; cursor: pointer; display: grid; place-items: center; }
.logo-pick img { max-width: 100%; max-height: 100%; }
.logo-pick[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.understood { font-size: 17px; margin: 12px 0 4px; color: var(--ink); }
.export .para { font-size: 17px; line-height: 1.55; margin: 4px 0 8px; padding: 14px 16px; border-left: 3px solid var(--ink-2); background: color-mix(in srgb, var(--ink) 4%, transparent); }

/* A group of colleges: the "which map" switch, the colleges list, campuses under each college */
.switch-view { display: grid; gap: 8px; padding-top: 18px; }
.switch-view .label { font-size: 16px; font-weight: 600; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; vertical-align: -2px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.dot--big { width: 22px; height: 22px; margin: 0; }
.toggles--big .toggle { min-height: 52px; font-size: 17px; padding: 0 20px 0 16px; }
.member-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; }
.member-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.member-row small { display: block; color: var(--ink-2); font-size: 16px; }
.member-row .row { gap: 8px; }
.member-block { padding: 6px 0 14px; }
.member-block + .member-block { border-top: 2px solid var(--rule); }
.member-block__head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0 4px; }
.member-block__head small { display: block; color: var(--ink-2); font-size: 16px; }
.member-block__head input[type="color"] { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: none; }
.member-block__head input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.member-block__head input[type="color"]::-webkit-color-swatch { border: 1px solid rgb(0 0 0 / .15); border-radius: 50%; }
.campus-row__member { grid-column: 2 / -1; display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--ink-2); }
.campus-row__member .input { max-width: 320px; }
@media (max-width: 640px) { .member-row { grid-template-columns: 22px minmax(0, 1fr); } .member-row > :last-child { grid-column: 2; } }

/* the recruitment year and what's changed since the last export */
.year, .since { margin-top: 26px; padding: 20px 24px; border-radius: var(--radius); background: var(--slab-bg); box-shadow: var(--slab); }
.since ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 17px; }
.year__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.year__step { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-inner); background: var(--paper, #fff); border: 1px solid rgb(0 0 0 / .08); font-size: 16px; }
.year__step span { color: var(--ink-2); }
.year__step b { font-weight: 700; }
.year__step.is-done b { color: var(--ok, #2f6b3a); }
.year__step.is-now, .year__step.is-next { border: 2px solid var(--ink); }
.year__step.is-missed b, .year__step.is-later b { color: var(--ink-2); font-weight: 600; }

/* v06: the check before the maps open. One list, large type, each line with its fix beside it */
.ticks--review { gap: 16px; margin-bottom: 6px; }
.ticks--review > li { font-size: 19px; font-weight: 600; padding: 14px 0 0; border-top: 1px solid var(--rule); }
.ticks--review > li:first-child { border-top: 0; padding-top: 0; }
.ticks--review small { font-weight: 400; font-size: 17px; line-height: 1.5; margin-top: 4px; }
.ticks li.is-none::before { width: 10px; height: 10px; border: 1.6px solid var(--ink-3); border-radius: 50%; transform: none; }
.swatches { display: inline-flex; gap: 6px; align-items: center; vertical-align: middle; margin-left: 12px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.swatches .logo-tile { width: auto; height: 28px; padding: 0 6px; border-radius: 6px; }
.swatches .logo-tile img, .swatches .logo-tile svg { height: 22px; width: auto; }
.btn--big { min-height: 56px; padding: 0 28px; font-size: 19px; }
/* on the narrowest phones (and 400% zoom) a long button label wraps instead of pushing the page sideways */
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; padding-block: 10px; line-height: 1.25; } }
.pitch-panel { margin-top: 28px; max-width: 980px; }
.pitch-list { margin: 14px 0; padding-left: 22px; display: grid; gap: 10px; font-size: 18px; line-height: 1.5; }

/* ================= v07: launch polish ================= */

/* The display face: kerning and ligatures on, lining figures (so numbers sit level with each other in tables and stat
   boxes), and never a synthesised bold (only Caslon's regular is loaded). */
:is(.head__word, .intro__h, .views__name, .door__h, .insights__h, .h3, .panel h3, .block h2, .fig strong, .drop strong, .ldr__title, .modal h2, .section > h2, .studio__name, .mc-banner strong, .points strong, .moments__h) {
  font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1, "lnum" 1; font-variant-numeric: lining-nums; letter-spacing: 0; word-spacing: 0;
}
.fig strong { letter-spacing: 0; }

/* ---------- top bar ---------- */
.top__end { display: flex; align-items: center; gap: 6px; min-width: 0; }
.private { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px 0 6px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.private svg { color: var(--gold); flex: none; }
.toplink { min-height: 44px; padding: 0 14px; border: 0; background: none; border-radius: var(--pill); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out; }
@media (hover: hover) { .toplink:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); } }
#top-signin { min-height: 44px; }
.who__btn { padding: 4px 16px 4px 10px; }
.who__btn:not(:has(.who__logo)) { padding-left: 16px; }
.who__bars { flex: none; }
.who__name { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { min-width: 290px; max-height: calc(100vh - 120px); overflow-y: auto; }
.menu .menu__who { border-bottom: 0; margin: 0 0 4px; background: color-mix(in srgb, var(--ink) 5%, transparent); border-radius: 18px; }
.menu__group { display: grid; gap: 2px; }
.menu__group + .menu__group { margin-top: 8px; }
.menu .menu__label { border: 0; margin: 0; padding: 6px 14px 2px; font-size: 15px; color: var(--ink-3); }
.menu a[aria-current="page"] { font-weight: 600; }
.menu a[aria-current="page"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 10px; }
@media (max-width: 1100px) { .private > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .private { padding: 0 8px; } }
@media (max-width: 760px) {
  .top__inner { flex-wrap: nowrap; }
  .toplink, #what-btn, #top-signin, #top-start { display: none; }
  .who__name { max-width: 30vw; }
}

/* ================= Site-wide look (Josh, 27 Nov 2026) =================
   Sizes, matching conceptualstudio.co.uk. Use exactly these four, so every page changes shape at the same widths:
     desktop          1100px and wider     (no query)
     tablet           @media (max-width: 1099.98px)
     phone            @media (max-width: 759.98px)
     extra-slim phone @media (max-width: 392.98px)
   Content is never wider than the top bar: .wrap and .top__inner share --content-max. */
:root { --content-max: calc(1480px - 2 * var(--margin)); }
.wrap { max-width: calc(var(--content-max) + 2 * var(--margin)); }
.top__inner { max-width: var(--content-max); }
main.wrap > * { max-width: 100%; }

/* Weights kept from Cormorant; only Caslon's regular is loaded, so these no longer change how it looks. */
:is(.door__h, .panel h3, .panel .h3, .block h2, .drop strong, .ldr__title, .modal h2, .section > h2, .mc-banner strong,
  .points strong, .moments__h, .mc-group h3, .mc-group .h3, .prose h3, .flow strong, .files__more .h3, .faq-sec__h, .trust-card strong) { font-weight: 600; }

/* ---------- top bar: "CatchMap by Conceptual Studio" ---------- */
.studio { display: flex; align-items: center; gap: 14px; min-height: 44px; min-width: 0; text-decoration: none; color: var(--ink); border-radius: 8px; }
.studio__name { font-family: var(--display); font-weight: 600; font-size: 31px; line-height: 1; white-space: nowrap; }
.studio__by { display: flex; align-items: center; gap: 8px; padding-top: 3px; }
.studio__word { font-size: 15px; color: var(--ink-3); }
/* Josh's wordmark at the size his own site's bar uses it; the gold flow (brand.js) plays over it once per visit */
.studio__logo { position: relative; display: block; flex: none; width: 150px; aspect-ratio: 5; overflow: hidden; }
.studio__logo > img { display: block; width: 100%; height: auto; }
.studio__logo.is-flowing > img { visibility: hidden; }
/* the video frame is 1920 by 512 with room round the logo; this lines its logo up with the still (from the site) */
.studio__logo > video { position: absolute; top: 0; left: 0; width: 107.323%; max-width: none; height: auto; margin: -3.8569% 0 0 -3.01845%; }
/* two links: the name goes to CatchMap's home, "by" and the studio's wordmark to conceptualstudio.co.uk.
   Each is at least 24px tall, so a tap on a phone can't land on the wrong one (WCAG 2.5.8) */
.studio__name, .studio__by { display: inline-flex; align-items: center; min-height: 24px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.studio__by { transition: opacity .2s ease; }
@media (hover: hover) { .studio__name:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; } .studio__by:hover { opacity: .72; } }
.studio__name:focus-visible, .studio__by:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* "Your data stays on this computer": a link to how it's kept, not just a claim */
a.private { text-decoration: none; min-height: 44px; border-radius: var(--pill); transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out; }
a.private > span { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); text-underline-offset: 4px; }
@media (hover: hover) { a.private:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); } }

/* a college's black or dark grey logo (marked "ink" by app.js) turns cream with the text when its button turns black
   on hover, so it never disappears; colourful logos already show on black and stay as they are */
.logo-tile--ink :is(img, svg) { transition: filter var(--t-fill) ease-out; }
@media (hover: hover) {
  :is(.who__btn, .choice, .pick, .btn, .nav a, .tabs button):hover .logo-tile--ink :is(img, svg) { filter: brightness(0) invert(94%) sepia(18%) saturate(260%) hue-rotate(-12deg); }
}

/* ---------- footer: the gold flow wordmark and the links on one line, the company details centred under them ---------- */
.foot {
  margin-top: clamp(56px, 8vw, 104px); padding: clamp(18px, 2.2vw, 26px) clamp(20px, 3vw, 36px) 16px; border-radius: var(--radius);
  background: var(--night); color: #F1DFC8; display: grid; gap: 14px;
  box-shadow: inset 1.5px 1.5px 1px -1px rgb(237 220 180 / .4), inset -1.5px -1.5px 1px -1px rgb(237 220 180 / .16), var(--lift);
}
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; }
.foot__logo { position: relative; display: block; width: clamp(200px, 20vw, 280px); aspect-ratio: 720 / 192; border-radius: 8px; flex: none; }
.foot__logo > img, .foot__logo > video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.foot__logo.is-flowing > img { visibility: hidden; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 22px; font-size: 16px; }
.foot__links a {
  display: inline-flex; align-items: center; min-height: 44px; color: color-mix(in srgb, #F1DFC8 80%, var(--night)); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + .8em) / 0 1px no-repeat; transition: color var(--t-fill) ease-out, background-size 420ms var(--ease-out);
}
@media (hover: hover) { .foot__links a:hover { color: #F1DFC8; background-size: 100% 1px; } }
.foot__links a:focus-visible { outline-color: #F1DFC8; }
.foot__legal { margin: 0; padding-top: 14px; border-top: 1px solid rgb(241 223 200 / .14); text-align: center; font-size: 14px; line-height: 1.5; color: color-mix(in srgb, #F1DFC8 62%, var(--night)); text-wrap: balance; }
.foot-wrap { padding-bottom: max(clamp(16px, 2.5vw, 32px), env(safe-area-inset-bottom, 0px)); }
.foot ::selection { background: #D9BE91; color: var(--night); }

/* ---------- "Conceptual Studio has worked with": a slow sliding row, as on conceptualstudio.co.uk ---------- */
.trusted { display: grid; justify-items: center; gap: 18px; margin: clamp(20px, 3vw, 32px) auto clamp(28px, 4vw, 48px); padding-block: 22px 26px; border-block: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.trusted__l { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.trusted__marquee {
  --gap: 64px; --edge: min(12%, 120px); position: relative; display: flex; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
}
.trusted__list { display: flex; flex: none; align-items: center; gap: var(--gap); margin: 0; padding: 4px calc(var(--gap) / 2); list-style: none; animation: trusted-slide 40s linear infinite; }
.trusted__list li { display: flex; align-items: center; }
/* each logo toned to the page's ink, so the row reads as one quiet line */
.trusted__list img { display: block; width: auto; height: var(--h, 26px); filter: brightness(0); opacity: .62; }
@keyframes trusted-slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .trusted__marquee { -webkit-mask-image: none; mask-image: none; }
  .trusted__list[aria-hidden] { display: none; }
  .trusted__list { flex: 1; flex-wrap: wrap; justify-content: center; gap: 22px 36px; animation: none; }
}

/* ---------- FAQ page and "How your data stays private" (also opened as a panel in the tool) ---------- */
.faq-sec { margin-top: clamp(36px, 5vw, 64px); padding-inline: 22px; }
.faq-sec__h { font-family: var(--display); font-size: clamp(30px, 3vw, 42px); line-height: 1.05; margin-bottom: clamp(16px, 2vw, 24px); }
.faq-sec__more { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 70ch; }
.trust-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.trust-card { display: grid; align-content: start; gap: 8px; padding: 22px 22px 24px; border-radius: 24px; background: var(--slab-bg); box-shadow: var(--slab); }
.trust-card__k { font-size: 14px; font-weight: 600; color: #6E5024; letter-spacing: .02em; } /* the gold, darkened to pass 4.5:1 at this size */
.trust-card strong { font-family: var(--display); font-size: 25px; line-height: 1.08; }
.trust-card span { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq { padding: 8px 20px; border-radius: 22px; background: var(--slab-bg); box-shadow: var(--slab); }
.faq > summary { font-size: 18px; }
.faq > p { padding: 0 0 14px 40px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 72ch; }
.modal .trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.modal .trust-card { padding: 18px; }
.modal .trust-card strong { font-size: 22px; }

/* ---------- tablet ---------- */
@media (max-width: 1099.98px) {
  .studio__name { font-size: 28px; }
  .studio__logo { width: 132px; }
  .trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__links { gap: 0 16px; font-size: 15px; }
}
/* ---------- phone: the name above, "by Conceptual Studio" under it ---------- */
@media (max-width: 759.98px) {
  .studio { flex-direction: column; align-items: flex-start; gap: 2px; }
  .studio__name { font-size: 25px; }
  .studio__by { gap: 6px; padding-top: 0; }
  .studio__word { font-size: 13px; }
  .studio__logo { width: 100px; }
  .faq-sec { padding-inline: 16px; }
  .trust-cards, .modal .trust-cards { grid-template-columns: minmax(0, 1fr); }
  .faq { padding: 6px 14px; }
  .faq > p { padding-left: 0; }
  .foot__top { flex-direction: column; align-items: center; }
  .foot__links { justify-content: center; gap: 0 18px; font-size: 15px; }
  .foot__links a { min-height: 36px; }
  .trusted__marquee { --gap: 44px; }
  .trusted__list { animation-duration: 30s; }
}
/* ---------- extra-slim phone ---------- */
@media (max-width: 392.98px) {
  .studio__name { font-size: 22px; }
  .studio__logo { width: 88px; }
  .foot__links { gap: 0 12px; font-size: 14px; }
  .foot__logo { width: 180px; }
  .trusted__list img { height: calc(var(--h, 26px) * .85); }
}

/* ---------- page head: the name, then one line ---------- */
.head__line { margin-top: clamp(12px, 1.4vw, 18px); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.45; max-width: 66ch; }
.head__line .muted { color: var(--ink-2); }
.head__step { font-weight: 600; }

/* ---------- sign-in: the point in the middle, then two doors ---------- */
.intro { max-width: 900px; margin: 0 auto; text-align: center; padding: clamp(40px, 8vw, 104px) 0 clamp(36px, 5vw, 64px); }
.intro__h { font-family: var(--display); font-weight: 500; font-size: clamp(46px, 6.6vw, 96px); line-height: .98; margin: 0 auto; max-width: 14ch; }
.intro__lead { margin: clamp(18px, 2vw, 26px) auto 0; max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); }
.points { list-style: none; margin: clamp(32px, 4vw, 52px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; text-align: left; }
.points li { display: grid; gap: 6px; align-content: start; }
.points strong { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.1; }
.points span { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.points--full { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 20px 0; }
.modal .points--full strong { font-size: 22px; }
.modal .lead { font-size: 18px; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1000px; margin: 0 auto; align-items: stretch; }
.door { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 4%, var(--paper)); display: grid; align-content: start; gap: 0; }
.door--glass { background: var(--slab-bg); box-shadow: var(--slab); position: relative; isolation: isolate; }
.door__h { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 2.8vw, 38px); line-height: 1.05; }
.door__p { margin: 8px 0 22px; font-size: 16px; color: var(--ink-2); }
.door--glass .door__h { margin-bottom: 22px; }
.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 68px; padding: 12px 22px; text-align: left;
  border: 0; border-radius: 20px; background: #FBF3E7; color: var(--ink); cursor: pointer; box-shadow: var(--lift-sm);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out);
}
.choice strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.choice small { display: block; font-size: 16px; color: var(--ink-2); transition: color var(--t-fill) ease-out; }
@media (hover: hover) { .choice:hover { background: var(--ink); color: var(--paper); } .choice:hover small { color: color-mix(in srgb, var(--paper) 78%, var(--ink)); } .choice:hover .arrow { --turn: -45deg; } }
.choice:active { transform: scale(.985); }
.choice:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 20px; }
#signin-form { display: grid; gap: 16px; }
#signin-form .btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .points { grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: center; } .points li { justify-items: center; } .doors { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Your files ---------- */
.files { display: grid; gap: clamp(36px, 5vw, 64px); padding-top: clamp(24px, 3vw, 40px); }
.files .drop { min-height: clamp(240px, 30vw, 320px); gap: 10px; padding: 40px 24px; background: color-mix(in srgb, #FFFAF0 30%, transparent); }
.files .drop strong { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.files .drop > span:not(.btn) { max-width: 50ch; font-size: 17px; }
.files .drop .btn { margin-top: 14px; }
.files .drop small { font-size: 16px; color: var(--ink-2); }
.files__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.files__more > div { display: grid; gap: 10px; align-content: start; }
.files__more p { font-size: 16px; color: var(--ink-2); max-width: 52ch; }
.files__more .row { margin-top: 6px; }
.more--quiet { border-top: 0; padding-top: 4px; }
@media (max-width: 760px) { .files__more { grid-template-columns: minmax(0, 1fr); } }
/* reading files: the loader takes the middle of the screen while the drop box steps aside */
body.is-reading #import { display: none; }
body.is-reading #tidy { min-height: 58vh; display: grid; align-content: center; }
body.is-reading #tidy > .ldr, #r-page > .ldr, #reopen > .ldr { width: min(100%, 640px); margin-inline: auto; }
#r-page > .ldr, #reopen > .ldr { margin-block: 12vh; }

/* ---------- the two map pages ---------- */
.head--views { padding-top: clamp(28px, 4.5vw, 56px); }
.views { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px clamp(24px, 3.5vw, 56px); }
.views a { position: relative; display: grid; gap: 6px; padding-bottom: 14px; text-decoration: none; color: var(--ink-3); background: none; transition: color var(--t-fill) ease-out; }
.views__name { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.6vw, 64px); line-height: .95; display: inline-flex; align-items: baseline; gap: .25em; }
.views__name .arrow { font-family: var(--text); font-size: .4em; transform: translateY(-.25em); }
.views__what { font-size: 16px; line-height: 1.35; color: var(--ink-2); max-width: 30ch; }
.views a[aria-current="page"] { color: var(--ink); }
.views a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-swap) var(--ease-out); }
.views a[aria-current="page"]::after { transform: none; }
@media (hover: hover) { .views a:not([aria-current]):hover { color: var(--ink); } .views a:not([aria-current]):hover::after { transform: scaleX(.35); } .views a:hover .arrow { --turn: -45deg; } }
.views a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 8px; }
.head--views .head__line { margin-top: clamp(18px, 2vw, 26px); }
@media (max-width: 640px) { .views { gap: 10px 22px; } .views__name { font-size: 38px; } .views__what { font-size: 15px; } }

.report { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 3vw, 40px); align-items: start; padding-top: 24px; }
.report__map { display: grid; gap: 12px; min-width: 0; }
.report__aside { display: grid; gap: 22px; align-content: start; min-width: 0; position: sticky; top: calc(var(--top-h, 88px) + 16px); }
.report__aside .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; padding-top: 4px; gap: 22px 18px; }
.report__aside .fig strong { font-size: clamp(40px, 3.4vw, 52px); }
.actions { display: grid; gap: 10px; }
.actions .btn { width: 100%; justify-content: center; }
.actions .linkbtn { justify-self: center; margin-top: 2px; }
@media (max-width: 1100px) {
  .report { grid-template-columns: minmax(0, 1fr); }
  .report__aside { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .report__aside .figs { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .report__aside .figs:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .report__aside { grid-template-columns: minmax(0, 1fr); }
  .report__aside .figs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .report__aside .fig strong { font-size: 36px; }
}

/* what the map shows: room to read, in columns that flow, never squeezed down the side */
.insights { padding-top: clamp(48px, 6vw, 88px); }
.insights__h { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; margin-bottom: clamp(20px, 2.4vw, 32px); }
.insights__grid { columns: 2 340px; column-gap: clamp(32px, 4.5vw, 72px); }
.insights__grid > * { break-inside: avoid; margin-bottom: clamp(32px, 3.4vw, 48px); }
.insights__grid > :first-child { margin-top: 0; }
.insights .block { border-top: 0; padding-top: 0; gap: 12px; }
.insights .block h2 { font-size: 26px; }
.insights .places li { border-bottom: 0; padding: 9px 0; }
.insights .places li + li { box-shadow: 0 -1px 0 color-mix(in srgb, var(--ink) 8%, transparent); }
.insights .findings { font-size: 17px; gap: 12px; }

/* map options: one list, one gap between each, no stacked lines */
.map-options { display: grid; gap: 2px; margin-top: 0; padding-top: clamp(40px, 5vw, 72px); border-top: 0; max-width: 980px; }
.map-options > .note { margin: 0 0 10px; }
.map-options .more { border-top: 0; padding-top: 2px; }
.map-options .more[open] { padding-bottom: 14px; }

/* "Save the insights": the summary printed under the map */
.print-insights .figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; border: 0; }
.print-insights .fig strong { font-size: 28pt; }
.print-insights .block { break-inside: avoid; margin-top: 14px; }
.print-insights .toggles, .print-insights button { display: none !important; }
@media print { .print-page.print-insights { height: auto; overflow: visible; } }
.map-options .look { border-bottom: 0; padding: 2px 0; }
.files__more .h3 { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.1; }
.views { align-items: flex-start; }
.views__what { max-width: none; }
.intro__lead { max-width: 54ch; }
@media (max-width: 760px) { .who__btn:has(.who__logo) .who__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .top__inner { min-width: 0; } .studio { min-width: 0; } }
.intro__lead, .points span { text-wrap: balance; }
@media (max-width: 640px) {
  .views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
  .views__name { font-size: 30px; line-height: 1; }
  .views__what { font-size: 15px; }
}
.files .drop .btn--solid { color: var(--paper); }
/* once files are in, the drop box shrinks to "add another" size and the help beside it steps away for the check */
#import:has(+ #tidy .review, + #tidy #review) .files__more { display: none; }
#import:has(+ #tidy .review, + #tidy #review) .drop { min-height: 0; padding: 26px 24px; }

/* v07 feedback: the three points on the sign-in page sit in little boxes, numbered, like the demo choices */
.points:not(.points--full) { max-width: 980px; gap: 16px; text-align: center; }
.points:not(.points--full) li { padding: 22px 22px 24px; border-radius: 24px; background: #FBF3E7; box-shadow: var(--lift-sm); justify-items: center; }
/* a shade darker than --gold, so 14px text passes WCAG AA contrast (5.3:1) on the panel */
.points__n { font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: .04em; color: #805F2C; }
.points:not(.points--full) strong { font-size: 24px; }

/* v07 feedback: radio buttons and ticks in the brand's ink, never the browser's blue */
input[type=radio], input[type=checkbox] { accent-color: var(--ink); }

/* the licence choice: one card per licence, the chosen one ringed in ink */
.licence { display: grid; gap: 16px; }
.licence > .h3 { margin: 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.plan { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px 22px; border-radius: 20px; background: #FBF3E7; box-shadow: var(--lift-sm); cursor: pointer; transition: box-shadow var(--t-fill) ease-out; }
.plan input { width: 22px; height: 22px; margin: 3px 0 0; }
.plan:has(input:checked) { box-shadow: 0 0 0 2px var(--ink), var(--lift-sm); }
.plan:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.plan__body { display: grid; gap: 4px; }
.plan__name { font-size: 18px; font-weight: 600; }
.plan__price { font-family: var(--display); font-size: 32px; line-height: 1.1; }
.plan__blurb { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.licence p { margin: 0; }

/* the real sign-in (accounts on) shares the demo's front page */
.door__btns .row { display: grid; gap: 10px; }
.door__btns .btn { width: 100%; justify-content: center; }
.door__small { margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.door__small strong { color: var(--ink); font-weight: 600; }
.door .field { margin-top: 4px; }
.door__check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.door__check input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
details.door__small summary { cursor: pointer; color: var(--ink); }
details.door__small p { margin: 8px 0 0; }
.door .row { margin-top: 18px; }
.door .note { margin-bottom: 16px; }

/* no rule straight under a heading: lists start clean, and only rows after the first are divided */
.panel > .h3 + .cred, .panel > h2 + .cred, .panel > .h3 + div > .cred:first-child { border-top: 0; padding-top: 4px; }

/* key-value tables (licence, invoices): row headers take the row's own light rule, not the column header's dark one */
.tbl tbody th { border-bottom: 1px solid var(--rule); padding-left: 0; vertical-align: top; }
.tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody th + td { vertical-align: top; }

/* quieter secondary panels: a soft fill like the sign-in's "Try it free", not an outline */
.panel--plain { background: color-mix(in srgb, var(--ink) 4%, var(--paper)); box-shadow: none; }
.licence__promise { font-size: 16px; line-height: 1.5; padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 10%, var(--paper)); }

/* columns never push past the screen: a form's inputs shrink with their column */
.grid2 > * { min-width: 0; }
.panel { grid-template-columns: minmax(0, 1fr); }
.input { min-width: 0; max-width: 100%; }
.campus-row { grid-template-columns: 44px minmax(0, 2.2fr) minmax(76px, .6fr) auto auto; gap: 10px; }
.field .door__check, .field .door__check span { font-weight: 400; }

/* the answer, as the headline: a longer line, so a little smaller and wider than before */
.intro__h { font-size: clamp(38px, 5.2vw, 72px); max-width: 21ch; line-height: 1.02; }
/* the four checkpoints, named by the moment in the college's year */
.moments { max-width: 980px; margin: clamp(28px, 3.5vw, 44px) auto 0; text-align: center; }
.moments__h { margin: 0 0 14px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 26px); }
.moments ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: 20px; overflow: hidden; background: color-mix(in srgb, var(--ink) 4%, var(--paper)); }
.moments li { padding: 16px 14px; font-size: 16px; line-height: 1.35; display: grid; gap: 4px; }
.moments li + li { box-shadow: inset 1px 0 0 color-mix(in srgb, var(--ink) 8%, transparent); }
.moments li small { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #6B4E22; } /* darker than --gold: 5.4:1 on the card */
/* the checkpoint that's up now or next (from today's date): lifted out as a cream card with a small gold tag */
.moments ol { padding: 6px; }
.moments li.is-next { border-radius: 14px; }
.moments ol li.is-next { background: var(--paper-3); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 18px -10px color-mix(in srgb, var(--ink) 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); position: relative; z-index: 1; }
.moments ol li.is-next + li { box-shadow: none; }
.moments li small { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; min-width: 0; }
/* a gold dot by the month: filled while you're in that checkpoint, a ring when it's the next one (shape, not only colour) */
.moments__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.moments__dot--next { background: none; box-shadow: inset 0 0 0 2px var(--gold); }
.moments__p { margin: 14px auto 0; max-width: 60ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }
.modal .moments { text-align: left; margin-top: 20px; }
.modal .moments__p { margin-left: 0; }
.modal .moments li small { justify-content: flex-start; }
@media (max-width: 760px) { .moments ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .moments li:nth-child(3) { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent); } .moments li:nth-child(4) { box-shadow: inset 1px 1px 0 color-mix(in srgb, var(--ink) 8%, transparent); } }
.plan__per { font-size: 15px; color: var(--gold); font-weight: 600; }

/* Account pages: the column sits in the middle of the page; the page title and its line stay left.
   One hierarchy everywhere: a question is a glass panel, each answer to it is a cream card of the same shape. */
.section--mid { margin-inline: auto; width: 100%; }
.section--mid :is(.panel, .card) > :is(.h3, h2, p:not(.error)), .section--mid .licence__promise { text-align: center; }
.section--mid .row:not(.field .row) { justify-content: center; }
.section--mid .panel > p.muted { margin-inline: auto; max-width: 62ch; }
.section--mid .note { width: fit-content; margin-inline: auto; }
.plan { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 24px 22px 22px; }
.plan input { margin: 0; }
.plan__body { justify-items: center; }
.pays { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; align-items: stretch; }
.paycard { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 20px; background: #FBF3E7; box-shadow: var(--lift-sm); text-align: left; }
.paycard > :is(.paycard__tag, .paycard__h, .paycard__lead, .muted) { text-align: center; margin: 0; }
.paycard__tag { font-size: 15px; font-weight: 600; color: var(--gold); }
.paycard__h { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.paycard__lead { font-size: 17px; line-height: 1.5; }
.paycard .field { margin: 0; }
.paycard__go { margin-top: auto; align-self: center; }
.paycard .error { text-align: center; }
.plan { align-content: start; }
.section--mid > p { text-align: center; }
.paycard__go { max-width: 100%; white-space: normal; text-align: center; }
/* side by side, two panels are one pair: same height, same surface */
.section--mid.grid2, .section--mid .grid2 { align-items: stretch; }
.section--mid .panel--plain { background: var(--slab-bg); box-shadow: var(--slab); }
.section--mid .panel { align-content: start; }

/* page headings start where the nav bar's logo starts, as on conceptualstudio.co.uk */
.head { padding-inline: 22px; }
@media (max-width: 760px) { .head { padding-inline: 16px; } }
/* the sticky bar: the page fades out above and beside it, so text never shows round the pill as it scrolls under */
.top { background: linear-gradient(var(--paper) 55%, color-mix(in srgb, var(--paper) 0%, transparent)); }
/* "I agree to the Terms": one big, easy box above the ways to pay */
.terms-ok{display:flex;justify-content:center;gap:12px;align-items:flex-start;font-size:18px;font-weight:400;margin:4px 0 20px}
.terms-ok input{width:24px;height:24px;flex:none;margin-top:2px}
/* only one way to pay (card payments off): one centred card */
.pays:has(> :only-child){grid-template-columns:minmax(0,520px);justify-content:center}

/* the referral thank-you on the licence page: the college's code, big enough to read out over the phone */
#ref-body { display: grid; gap: 16px; text-align: center; }
#ref-body ul { text-align: left; justify-self: center; }
.refcode { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 18px 16px; border-radius: 14px; background: #FFFBF5; box-shadow: inset 0 0 0 1px var(--rule); }
.refcode__label { font-size: 16px; opacity: 0.75; }
.refcode__code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(26px, 6vw, 34px); letter-spacing: 0.08em; font-weight: 600; }
.refcode__link { font-size: 16px; overflow-wrap: anywhere; }
#ref-body .row { justify-content: center; }

/* "Figures for": a campus picker above the travel figures, for colleges with more than one campus */
.campus-pick { display: grid; gap: 10px; margin: calc(-1 * clamp(8px, 1.2vw, 16px)) 0 clamp(28px, 3vw, 40px); max-width: 720px; }
.campus-pick__label { font-weight: 600; font-size: 16px; }
.campus-pick__select { max-width: 420px; font-size: 18px; }
.campus-pick__why { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.campus-glance li > span { display: grid; gap: 2px; }
.campus-glance strong { font-weight: 600; }
.campus-glance__sub { color: var(--ink-2); font-size: 15px; line-height: 1.4; }

/* Market share: the groups colleges look for */
.g-intro { font-size: 17px; line-height: 1.45; color: var(--ink-2); max-width: 62ch; margin: -6px 0 22px; }
.g-note { color: var(--ink-2); font-size: 15px; line-height: 1.4; display: block; }
.campus-pick__others { display: grid; gap: 8px; margin-top: 4px; }
#s-pick { margin: 22px 0 6px; }

/* Prices for a college or a sixth form: two big buttons in a pill, like the main menu. One tap, nothing to drag. */
.pricing { margin-top: 16px; display: grid; gap: 12px; justify-items: start; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 7%, var(--paper)); box-shadow: inset 0 1px 2px rgb(40 24 8 / .14), inset 0 -1px 0 rgb(255 252 245 / .6); }
.seg__opt { position: relative; display: inline-flex; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--pill); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.seg__opt input:checked + span { background: var(--ink); color: var(--paper); box-shadow: var(--lift-sm); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .seg__opt:hover input:not(:checked) + span { background: color-mix(in srgb, var(--ink) 12%, var(--paper)); } }
.pricing__body { display: grid; gap: 8px; max-width: 62ch; }
.pricing__price { margin: 0; font-size: 17px; line-height: 1.4; color: var(--ink-2); }
/* "From" small and quiet before the figure (Josh, 27 Nov) */
.pricing__from { font-family: var(--text); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2); margin-right: 2px; vertical-align: 0.35em; }
.pricing__price strong { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.pricing__founding { margin: 4px 0 2px; padding: 10px 0 10px 14px; border-left: 3px solid var(--ink); font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.pricing__founding strong { display: block; color: var(--ink); font-size: 18px; font-weight: 600; }
/* the founding places count, in a gold pill so it stands out from the price text */
.pricing__founding .pricing__places { display: table; margin: 0 0 8px; padding: 5px 14px; border-radius: var(--pill); background: var(--gold); color: #FFF8EC; font-size: 16px; line-height: 1.4; box-shadow: var(--lift-sm); }
.pricing__list { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.panel .pricing { margin-top: 4px; }

/* ---------- Staying on (school sixth forms, staying.js) ---------- */
.head--four .views { gap: 14px clamp(20px, 2.4vw, 40px); }
.head--four .views__name { font-size: clamp(28px, 2.4vw, 42px); }
.head--four .views__what { max-width: 23ch; }
@media (max-width: 640px) { .head--four .views__name { font-size: 30px; } }
.report__aside .fig--trend { grid-column: 1 / -1; }
.report__aside .fig--trend strong { font-size: clamp(32px, 2.6vw, 40px); }
.fig .tag-dfe, .tag-dfe { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 1; padding: 3px 6px; border-radius: 4px; background: var(--ink); color: var(--paper); vertical-align: 1px; }
.staying-first { display: grid; gap: clamp(28px, 3vw, 40px); padding-top: 24px; }
.staying-first .figs { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.y11-add { display: grid; gap: 12px; max-width: 760px; }
.y11-add h2, .patterns h2, .winback h2 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; }
.y11-add p { margin: 0; color: var(--ink-2); }
.y11-add p strong { color: var(--ink); font-weight: 500; }
.staying-more { display: grid; gap: clamp(40px, 5vw, 72px); padding-top: clamp(48px, 6vw, 88px); max-width: 960px; }
.patterns { border-top: 0; padding-top: 0; gap: 14px; }
.findings--n { list-style: decimal; padding-left: 22px; gap: 14px; font-size: 17px; }
.findings--n li::marker { color: var(--ink); font-weight: 600; }
.findings--n small { display: block; color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.patterns > small { font-size: 16px; }
.winback { display: grid; gap: 14px; }
.winback > p { margin: 0; }
.winback > small { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.winback__idea { padding: 14px 18px; border-radius: var(--radius-inner); background: var(--paper-2); }
.winback .up { font-size: 14px; font-weight: 600; color: var(--gold); }
.tbl td.down { color: var(--bad); }

/* ---------- Map pages, 27 Nov 2026 (Josh's MapCheck feedback) ----------
   One centred glass switch for the maps, the map on the left with its buttons and options beside it (so a change
   shows straight away), MapCheck and the headline figures under the map in glass boxes, and everything written
   about the map in glass boxes that fold away, each part a cream card inside. */
.head--views { padding-top: clamp(20px, 3vw, 36px); display: grid; justify-items: center; text-align: center; }
.views, .head--four .views { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 5px; border-radius: 26px; align-items: stretch;
  background: var(--slab-bg); box-shadow: var(--slab); max-width: 100%; }
.views a { display: grid; gap: 2px; align-content: center; justify-items: center; text-align: center; padding: 10px clamp(14px, 2vw, 26px) 11px; border-radius: 21px; color: var(--ink-2);
  transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out, transform var(--t-press) var(--ease-out); }
.views a::after { display: none; }
.views__name, .head--four .views__name { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.1; display: block; }
.views__what { font-size: 14px; line-height: 1.3; color: var(--ink-3); max-width: none; }
@media (min-width: 1100px) { .views__what { white-space: nowrap; } }
.views a[aria-current="page"] { color: var(--ink); background: #FFFAF0; box-shadow: inset 1px 1px 0 rgb(255 250 240 / .9), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .18), var(--lift-sm); }
.views a[aria-current="page"] .views__what { color: var(--ink-2); }
@media (hover: hover) { .views a:not([aria-current]):hover { background: var(--ink); color: var(--paper); } .views a:not([aria-current]):hover .views__what { color: color-mix(in srgb, var(--paper) 78%, transparent); } }
.views a:active { transform: scale(.98); }
.views a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 21px; }
.head--views .head__line { margin: 16px auto 0; max-width: 100%; font-size: 17px; line-height: 1.45; text-wrap: balance; }
.head__line .fname { display: inline-block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
@media (min-width: 1100px) { .head--views .head__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 759.98px) {
  .views { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 22px; }
  .views--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .views a { padding: 10px 6px; border-radius: 17px; }
  .views__name, .head--four .views__name { font-size: 19px; }
  .views__what { display: none; }
  .head--views .head__line { font-size: 16px; }
}
/* a real college looking at test files: a small tag in the line, not a box */
.tag-test { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .03em; line-height: 1; padding: 5px 9px; border-radius: var(--pill); background: var(--warn-bg); color: var(--warn-ink); vertical-align: 2px; white-space: nowrap; }
.note--slim { margin: 18px auto 0; width: fit-content; max-width: 100%; }
.tabs--mid { display: flex; width: fit-content; margin: 22px auto 0; }
@media (max-width: 759.98px) { .tabs--mid { width: auto; margin-inline: 0; } .mapbar .fs-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .fs-btn { width: 44px; padding: 0; justify-content: center; } }

/* the map, its buttons and options beside it, and its figures under it */
/* the figures under the map run the full width, under the options too, so nothing sits off to one side (Josh, 27 Nov) */
.report { grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto auto; grid-template-areas: "map aside" "under under"; gap: 18px clamp(24px, 3vw, 36px); align-items: start; }
.report__map { grid-area: map; }
.report__aside { grid-area: aside; position: static; gap: 18px; }
.report__under { grid-area: under; display: grid; gap: 14px; min-width: 0; align-self: start; }
@media (max-width: 1099.98px) {
  .report { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "under" "aside"; grid-template-rows: auto; }
  .report__aside { grid-template-columns: minmax(0, 1fr); }
  .report__aside .actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
/* no repeated title under the map: the map carries its own; only the small "hover over an area" line stays */
.report .caption { padding-top: 0; font-size: 15px; }
.report .caption b { display: none; }
.mapbox { position: relative; }
.mapbar { display: flex; gap: 10px 16px; align-items: center; justify-content: space-between; padding-top: 10px; }
.mapbar .caption { min-width: 0; }
.fs-btn { flex: none; gap: 8px; }
.fs-btn .fs-back, .fs-btn[aria-pressed="true"] .fs-go { display: none; }
.fs-btn[aria-pressed="true"] .fs-back { display: inline; }
.mapbox:fullscreen, .mapbox.is-full { display: grid; place-items: center; padding: 16px; background: var(--paper); }
.mapbox.is-full { position: fixed; inset: 0; z-index: 200; overflow: auto; }
.mapbox:fullscreen .sheet, .mapbox.is-full .sheet { width: auto; max-width: 100%; }
.mapbox:fullscreen .sheet svg, .mapbox.is-full .sheet svg { width: auto; height: auto; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); }
.mapbox:fullscreen, .mapbox.is-full { grid-template-rows: minmax(0, 1fr) auto; }
.mapbox:fullscreen .mapbar, .mapbox.is-full .mapbar { width: 100%; max-width: 1400px; }
html.map-full { overflow: hidden; }

/* the buttons, then the options: each option a box of glass that opens in place */
.report__aside .actions { gap: 10px; }
.opts { display: grid; gap: 10px; }
.opts__h { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.1; padding: 6px 2px 2px; }
.opts > .note { margin: 0; }
.opts .more { border-top: 0; padding: 4px 16px; border-radius: 20px; background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 -1px 0 rgb(110 80 36 / .10), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm); }
.opts .more[open] { padding-bottom: 16px; }
.opts .more > summary { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; row-gap: 1px; align-items: center; min-height: 52px; padding-block: 10px; font-size: 17px; line-height: 1.25; }
.opts .more > summary:has(> .muted)::before { grid-row: 1 / 3; }
.opts .more > summary > .muted { grid-column: 2; font-weight: 400; font-size: 14px !important; line-height: 1.35; color: var(--ink-3); }
.opts .more[open] > summary { margin-bottom: 6px; }
.opts .filters { grid-template-columns: minmax(0, 1fr); }
.opts .look__row { grid-template-columns: minmax(0, 1fr); }
.opts .look { border-bottom: 0; }
.opts .toggles { gap: 6px; }
@media (max-width: 1099.98px) { .opts .filters { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* MapCheck and the headline figures under the map: the figures in glass boxes, number at the top, words under it,
   as in "Why clients work with me" on conceptualstudio.co.uk */
.report__under .mc-badge { width: 100%; }
.figs-box:empty { display: none; }
.report__under .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; border-top: 0; padding-top: 0; }
.report__under .fig { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; border-radius: 22px; background: var(--slab-bg); box-shadow: var(--slab); min-height: 118px; }
.report__under .fig strong { font-size: clamp(34px, 3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.report__under .fig span { margin-top: auto; padding-top: 0; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.report__under .fig--trend { grid-column: 1 / -1; min-height: 0; }
@media (max-width: 759.98px) { .report__under .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .report__under .fig { padding: 14px 14px 16px; min-height: 108px; border-radius: 18px; } .report__under .fig strong { font-size: 30px; } .report__under .fig span { font-size: 14px; } }

/* folding glass boxes: What the Map Shows, Your Recruitment Year, Feeder Schools… */
.insights { padding-top: clamp(28px, 3.4vw, 44px); }
.boxes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: clamp(22px, 2.6vw, 32px); }
.insights + .insights { padding-top: 18px; }
.box { min-width: 0; border-radius: var(--radius); background: var(--slab-bg); box-shadow: var(--slab); position: relative; isolation: isolate; }
.box__sum { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 20px clamp(18px, 2.2vw, 28px); border-radius: var(--radius); }
.box__sum::-webkit-details-marker { display: none; }
.box__sum::before { content: "+"; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 18px; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); box-shadow: inset 0 1px 0 rgb(255 252 245 / .7), inset 0 -1px 0 rgb(40 24 8 / .10), var(--lift-sm); transition: background-color var(--t-fill) ease-out, color var(--t-fill) ease-out; }
.box[open] > .box__sum::before { content: "–"; }
@media (hover: hover) { .box__sum:hover::before { background: var(--ink); color: var(--paper); } }
.box__sum:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.box__t { display: grid; gap: 3px; min-width: 0; }
.box__h { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.box__what { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.box__body { padding: 0 clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 22px); }
.box[open] > .box__body { animation: sheet-in 320ms var(--ease-out) both; }
.box .insights__grid { columns: 2 340px; column-gap: 16px; }

/* each part inside a box is a cream card of its own */
.box .block, .box .campus-pick, .box .year, .box .upload-strip, .box .since { padding: 18px 20px 20px; border-radius: 20px; background: #FBF3E7; box-shadow: var(--lift-sm); border-top: 0; margin: 0; }
.box .campus-pick { max-width: none; margin-bottom: 16px; }
.box .upload-strip { margin-top: 0; }
/* the button sits right after its sentence, not pushed to the far side (Josh, 27 Nov) */
.box .upload-strip { justify-content: flex-start; }
.box .upload-strip > div { min-width: 0; flex: 0 1 auto; }
.box .upload-strip::after { display: none; }
.box .block h2 { font-size: 22px; }
.box .block h3 { font-size: 18px; }
.box .insights__grid > * { break-inside: avoid; margin: 0 0 16px !important; display: grid; }
.subs { display: grid; gap: 16px; }
.subs > * { margin: 0 !important; min-width: 0; }
.subs--two { grid-template-columns: minmax(0, 1fr); }
.block__note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.box .table-wrap { background: #FFFBF5; border-radius: 14px; }
@media (max-width: 759.98px) { .box__sum { padding: 16px; gap: 12px; } .box__h { font-size: 23px; } .box__what { font-size: 14px; } .box__body { padding: 0 10px 10px; } .box .block, .box .campus-pick, .box .year, .box .upload-strip { padding: 16px; border-radius: 16px; } }

/* the typical journey: a rounded glass bubble, never bigger than its heading */
.jt-typical { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; justify-self: start; margin: 4px 0 6px; padding: 10px 16px; border-radius: 16px; background: var(--slab-bg); box-shadow: inset 1px 1px 0 var(--rim), inset 0 0 0 .5px rgb(110 80 36 / .2), var(--lift-sm); font-size: 15px; }
.jt-typical strong { display: inline; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.1; }

/* Your files: the map switch at the top once there are maps to go to */
.files-views { display: flex; justify-content: center; padding-top: clamp(20px, 3vw, 36px); }

/* ---------- Charts at a Glance, 27 Nov 2026 (v07/dash.js) ----------
   Two charts under each map, each a cream card in a folding glass box. Plain HTML bars (real text at any width,
   light on Chromebooks) and a little SVG for the line and the doughnut. Colours: the studio's ink brown and gold,
   with a tan, a rust and a warm grey for the five destinations; colour-blind separation checked, and every series
   also has a label or a key. Bars grow in once, as the figures count up; never with reduced motion. */
.dash { --c-ink: #3A3128; --c-gold: #926E34; --c-tan: #D2B27C; --c-rust: #8A4B2E; --c-grey: #CFC3B2; --c-track: #EFE3D1; --c-label: #6E5024; }
.dash__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1099.98px) { .dash__grid { grid-template-columns: minmax(0, 1fr); } }
.dash__card { align-content: start; gap: 10px !important; }
.dash__card h2 { font-size: 22px; }
.dash__plot { display: grid; gap: 12px; padding-top: 6px; min-width: 0; }
.dash__foot { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.dash__none { margin: 0; font-size: 16px; color: var(--ink-2); }
.dash__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 14px; color: var(--ink-2); }
.dash__key span { display: inline-flex; align-items: center; gap: 7px; }
.dash__sw { width: 14px; height: 10px; border-radius: 3px; background: var(--sw); }
.dash__sw.is-line { height: 3px; border-radius: 2px; }
.dash__sw.is-range { height: 8px; opacity: .9; }
.c-ink { --sw: var(--c-ink); } .c-ink2 { --sw: var(--c-ink); } .c-gold { --sw: var(--c-gold); } .c-tan { --sw: var(--c-tan); } .c-rust { --sw: var(--c-rust); } .c-grey { --sw: var(--c-grey); }

/* rows: label, track, value */
.dash__rows { display: grid; gap: 9px; }
.dash__row { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 4.6em; gap: 12px; align-items: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.dash__lab { line-height: 1.25; overflow-wrap: anywhere; }
.dash__row > b { text-align: right; font-weight: 600; display: grid; line-height: 1.15; }
.dash__row > b small { font-weight: 400; font-size: 13px; color: var(--ink-2); }
.dash__row.is-picked .dash__lab { font-weight: 600; }
.dash__track { position: relative; height: 14px; border-radius: 4px; background: var(--c-track); }
.dash__track.is-thin { height: 9px; }
.dash__track.is-hidden { background: repeating-linear-gradient(135deg, var(--c-track) 0 4px, #DCCDB8 4px 6px); }
.dash__bar { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--sw); transform-origin: left center; }
.dash__ref { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 1.5px dashed var(--ink-2); }
.dash__pair { display: grid; gap: 3px; }
.dash__row--pair > b { font-size: 15px; }

/* the share and its likely range */
.dash__track.is-range { height: 14px; background: none; }
.dash__track.is-range::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #DCCDB8; }
.dash__rng { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--c-tan); }
.dash__pt { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--c-ink); box-shadow: 0 0 0 2px #FBF3E7; }

/* the pace line */
.dash__chart { display: grid; gap: 6px; }
.dash__plotarea { position: relative; height: 210px; margin-left: 38px; border-bottom: 1px solid var(--rule); }
.dash__plotarea svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dash__line { fill: none; stroke: var(--sw); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.dash__line.is-now { stroke-width: 3; }
.dash__gl { position: absolute; left: 0; right: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.dash__gl small { position: absolute; right: 100%; top: -9px; padding-right: 8px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dash__today { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--rule); }
.dash__today small { position: absolute; top: -2px; left: 5px; font-size: 12px; color: var(--ink-2); }
.dash__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px #FBF3E7; }
.dash__val { position: absolute; transform: translate(-100%, -150%); padding-right: 4px; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--ink); white-space: nowrap; }
.dash__m1 { display: none; }
.dash__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-left: 38px; font-size: 12px; color: var(--ink-2); text-align: center; }

/* where school leavers go: the home council's doughnut, then each council as one bar */
.dash__dest { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.dash__home { display: grid; gap: 6px; justify-items: center; text-align: center; }
.dash__home p { margin: 0; display: grid; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.dash__home strong { font-size: 16px; color: var(--ink); }
.dash__donut { width: 130px; height: 130px; }
.dash__donut path { fill: var(--sw); }
.dash__donut text { font-family: var(--display); font-size: 17px; fill: var(--ink); }
.dash__donut .dash__donut-s { font-family: var(--text); font-size: 7.5px; fill: var(--ink-2); }
.dash__row--stack { grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); }
.dash__row--stack .dash__lab { overflow-wrap: normal; }
.dash__row--stack.is-ref .dash__lab { font-style: italic; color: var(--ink-2); }
.dash__stack { display: flex; gap: 2px; height: 22px; border-radius: 5px; overflow: hidden; }
.dash__stack i { display: grid; place-items: center; min-width: 0; background: var(--sw); font-style: normal; font-size: 12px; font-weight: 600; color: #FBF3E7; overflow: hidden; white-space: nowrap; }
.dash__stack i.c-tan, .dash__stack i.c-grey { color: var(--ink); }
@media (max-width: 759.98px) {
  .dash__row { grid-template-columns: minmax(0, 1fr) 4.6em; row-gap: 4px; }
  .dash__row .dash__lab { grid-column: 1 / -1; }
  .dash__row--stack { grid-template-columns: minmax(0, 1fr); }
  .dash__dest { grid-template-columns: minmax(0, 1fr); }
  .dash__plotarea { height: 180px; }
  .dash__m { display: none; } .dash__m1 { display: inline; }
}

/* growing in, once, as the box first shows */
@media (prefers-reduced-motion: no-preference) {
  .dash.is-new .dash__bar { animation: dash-grow 900ms var(--ease-out) both; }
  .dash.is-new .dash__stack i, .dash.is-new .dash__rng { animation: dash-fade 700ms ease-out both; }
  .dash.is-new .dash__plotarea svg, .dash.is-new .dash__dot, .dash.is-new .dash__val { animation: dash-wipe 1100ms var(--ease-out) both; }
}
@keyframes dash-grow { from { transform: scaleX(0); } }
@keyframes dash-fade { from { opacity: 0; } }
@keyframes dash-wipe { from { clip-path: inset(0 100% 0 0); opacity: .2; } }

/* Fold buttons (Josh, 27 Nov 2026: the pluses weren't centred). The + and – are drawn as two bars rather than
   typed, so they sit in the exact middle of the circle whatever the font; in Map Options the circle is centred
   on the title and its one-line description together. */
.more > summary::before, .box__sum::before {
  content: "" !important; color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor) !important;
  background-repeat: no-repeat !important; background-position: center !important; background-size: 12px 1.75px, 1.75px 12px !important;
}
.box__sum::before { background-size: 14px 2px, 2px 14px !important; }
.more[open] > summary::before { background-size: 12px 1.75px, 0 0 !important; }
.box[open] > .box__sum::before { background-size: 14px 2px, 0 0 !important; }
@media (hover: hover) { .more > summary:hover::before, .box__sum:hover::before { color: var(--paper); } }
.opts .more > summary { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-items: center; padding: 10px 0; }
.opts .more > summary::before { grid-row: 1 / span 2; grid-column: 1; align-self: center; }
.opts .more > summary > .muted { grid-column: 2; padding: 0 !important; margin: 0 !important; }
/* ---------- phone fit and finish (27 Nov launch pass) ---------- */
@media (max-width: 759.98px) {
  /* the three views fit their glass switch at any phone width: names shrink with the screen, never clip */
  .views a { padding: 10px 4px; }
  .views__name, .head--four .views__name { font-size: clamp(15px, 4.4vw, 19px); }
  /* Recruitment's four views as a 2 by 2 grid, all on screen, instead of a strip that runs off the edge */
  .tabs--mid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; border-radius: 24px; }
  .tabs--mid button { white-space: normal; flex: initial; min-height: 48px; padding: 6px 10px; line-height: 1.2; border-radius: 20px; }
  /* the test-data note reads as a short paragraph, set left */
  .note--slim { width: auto; text-align: left; }
  .note--slim strong { display: block; }
  .note--slim .linkbtn { text-align: left; }
}
@media (max-width: 759.98px) {
  .note--slim .linkbtn { background: none; text-decoration: underline 1px color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
  .views__name, .head--four .views__name { font-size: clamp(15px, 4.2vw, 19px); }
}
.report__under .fig strong { text-wrap: balance; }
/* the logo strip can be paused (WCAG 2.2.2): a small quiet text button under it */
.trusted__pause { min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--pill); background: none; font: inherit; font-size: 13px; letter-spacing: .04em; color: var(--ink-2); cursor: pointer; margin-top: -6px; }
.trusted__pause:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .trusted__pause:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.trusted.is-paused .trusted__list { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .trusted__pause { display: none; } }
/* First paint (27 Nov launch pass, PageSpeed): the page keeps a screen's height while the tool's scripts load, so
   the footer never shows first and then jumps down; the front page's heading is already in the HTML (.pre). */
main:has(> .pre), main:empty { min-height: 100svh; }
.has-session main > .pre { visibility: hidden; }
/* the top bar's buttons appear together once the Menu button is in, rather than sliding left as it arrives */
.top__end:has(> .who:empty) { visibility: hidden; }
/* the strip's label opens conceptualstudio.co.uk: a quiet link, with the site's drawn underline on hover */
.trusted__l a { color: inherit; text-decoration: none; padding: 6px 2px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size 300ms var(--ease-out), color var(--t-fill) ease-out; }
@media (hover: hover) { .trusted__l a:hover { color: var(--ink); background-size: 100% 1px; } }
.trusted__l a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
/* front page details (27 Nov launch pass): headings break evenly with no one-word last lines, paragraphs avoid
   short last lines, the four checkpoints line up from the top, the strip's pause control sits quietly at the right */
:is(.intro__h, .points strong, .moments__h, .door__h, .head__word) { text-wrap: balance; }
:is(.intro__lead, .points span, .moments p, .door p) { text-wrap: pretty; }
.moments li { align-content: start; }
.trusted__pause { justify-self: end; margin: -8px 0 -6px; }
@media (max-width: 759.98px) { .head__from { display: none; } }
@media (max-width: 759.98px) { .moments__p { text-align: left; } }
:root { font-synthesis-weight: none; } /* only Caslon's regular is loaded: never thicken it by hand */
/* Menu rows are pills inside the rounded menu, like the main site's phone menu (Josh, 27 Nov) */
.menu button, .menu a { border-radius: var(--pill); }
/* the checkpoints: label and line centred in each cell, top to bottom as well (Josh, 27 Nov) */
.moments li { align-content: center; justify-items: center; text-align: center; }

/* ---------- compare bars in "The Groups Colleges Look For" (Josh picked direction A, 27 Nov) ----------
   One row per council: name, bar, figure. The upright line is England (or all leavers). Notes fold away. */
.cmp-card { gap: 16px !important; align-content: start; }
.cmp { display: grid; gap: 10px; }
.cmp__k { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.cmp__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp__row { display: grid; grid-template-columns: minmax(84px, 11em) minmax(60px, 1fr) minmax(48px, auto); align-items: center; gap: 12px; font-size: 16px; line-height: 1.3; }
.cmp__n { min-width: 0; overflow-wrap: anywhere; }
.cmp__bar { position: relative; height: 10px; border-radius: 99px; background: rgb(110 80 36 / .13); }
.cmp__bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 99px; background: #6E4420; }
.cmp__bar i.cmp__b2 { background: #C08A57; border-radius: 0 99px 99px 0; }
.cmp__bar b { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.cmp__v { font-family: var(--display); font-size: 22px; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp__axis { margin: -4px 0 0; display: grid; grid-template-columns: minmax(84px, 11em) minmax(60px, 1fr) minmax(48px, auto); gap: 12px; font-size: 13px; color: var(--ink-2); }
.cmp__ax { grid-column: 2; display: flex; justify-content: space-between; gap: 8px; }
.cmp__key { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: var(--ink-2); }
.cmp__line { width: 2px; height: 14px; border-radius: 2px; background: var(--ink); }
.cmp__sw { width: 10px; height: 10px; border-radius: 50%; background: #6E4420; }
.cmp__sw--2 { background: #C08A57; margin-left: 8px; }
.cmp__minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 18px; padding-top: 14px; border-top: 1px solid rgb(110 80 36 / .18); }
.cmp-card > .cmp:first-of-type + .cmp__minis, .cmp-card > h2 + .cmp__minis { border-top: 0; padding-top: 0; }
.cmp__mini { margin: 0; display: grid; gap: 4px; align-content: start; }
.cmp__mini strong { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.cmp__mini span { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.cmp__p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cmp + .cmp { padding-top: 14px; border-top: 1px solid rgb(110 80 36 / .18); }
.g-src > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.g-src > summary::-webkit-details-marker { display: none; }
.g-src > summary::before { content: "+"; font-weight: 600; text-decoration: none; display: inline-block; width: .7em; }
.g-src[open] > summary::before { content: "\2013"; }
.g-src > summary:hover { color: var(--ink); text-decoration-color: currentColor; }
.g-src > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.g-src .g-note { margin: 10px 0 0; }
/* a narrow card (phones, tablets' two columns): name and figure on one line, the bar full width under them */
.cmp-card { container-type: inline-size; }
@container (max-width: 460px) {
  .cmp__rows { gap: 12px; }
  .cmp__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .cmp__bar { grid-column: 1 / -1; grid-row: 2; }
  .cmp__axis { grid-template-columns: minmax(0, 1fr); }
  .cmp__ax { grid-column: 1; }
  .cmp__v { font-size: 20px; }
}
@media print { .cmp__bar i, .cmp__bar b, .cmp__sw, .cmp__line { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* the 10 by 10 dots under a figure out of 100 (app.js figDots) */
.fig .fig__dots { display: grid; grid-template-columns: repeat(10, 6px); gap: 3px; width: max-content; margin-top: 10px; padding: 0; }
.report__under .fig .fig__dots { margin-top: 0; }
.fig__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(110 80 36 / .18); transition: background-color 120ms linear; }
.fig__dots i.on { background: #6E4420; }
@media (prefers-reduced-motion: reduce) { .fig__dots i { transition: none; } }

/* Pricing on the front page, under the two doors (Josh, 27 Nov: he couldn't find the prices) */
.price-sec { max-width: 1000px; margin: clamp(28px, 4vw, 48px) auto 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 4%, var(--paper)); scroll-margin-top: calc(var(--top-h, 88px) + 16px); }
.price-sec .pricing { margin-top: 16px; }
/* one column, as wide as the doors' reading width, so nothing sits squeezed beside empty space (Josh, 27 Nov) */
main.wrap > .price-sec { max-width: min(840px, 100%); }
.price-sec .pricing__founding { max-width: none; }
.price-sec :is(p, li) { text-wrap: pretty; }

/* ---- Matched to conceptualstudio.co.uk (Josh, 27 Nov 2026: "I want it to feel like my main site") ----
   Values read from the live main site: its nav glass, its nav links (.glass-pill), its nav CTA (.nav__cta) and its
   glass buttons (.glass-button). */
.top__inner {
  min-height: 60px; padding: 0 8px 0 24px; border-radius: 28px;
  background: color-mix(in srgb, #F1DFC8 40%, transparent);
  -webkit-backdrop-filter: blur(9.38px) saturate(1.6); backdrop-filter: blur(9.38px) saturate(1.6);
  box-shadow:
    inset 1.5px 1.5px 0 -.5px rgb(255 250 240 / .616), inset -1.5px -1.5px 0 -.5px rgb(255 250 240 / .455),
    inset 3px 0 4px -2px rgb(255 70 40 / .22), inset -3px 0 4px -2px rgb(40 110 255 / .22),
    inset 0 0 14px rgb(255 252 246 / .196), inset 0 0 0 1px rgb(110 80 36 / .14),
    0 1px 2px rgb(40 24 8 / .12), 0 6px 14px -4px rgb(40 24 8 / .14), 2px 22px 44px -16px rgb(40 24 8 / .36);
}
/* What It Does and Sign In: the main site's nav links. Plain text at rest, ink fill on hover. */
.top__end :is(#what-btn, #top-signin) {
  --fill: transparent; --depth: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 0 16px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
@media (hover: hover) { .top__end :is(#what-btn, #top-signin):hover { box-shadow: var(--lift-sm); } }
/* Get Started: the main site's Start a Project. Lifted glass at rest, ink fill on hover. */
.top__end #top-start {
  --fill: color-mix(in srgb, #FFFAF0 40%, transparent); --fill-hover: var(--ink);
  --depth: inset 1px 1px 0 rgb(255 250 240 / .584), inset 0 -1px 0 rgb(110 80 36 / .10), 0 0 0 .5px rgb(110 80 36 / .14), var(--lift-sm);
  margin-left: 6px; padding: 0 18px 0 16px; font-size: 17px; color: var(--ink);
}
@media (hover: hover) { .top__end #top-start:hover:not(:active) { color: var(--paper); transform: none; box-shadow: var(--depth); } }
.top__end #top-start:is(:active, .is-pressed) { color: var(--paper); }
/* every other plain button: the main site's glass button, not a flat tan fill */
.btn:not(.btn--solid) {
  --fill: color-mix(in srgb, #F1DFC8 48%, transparent);
  --depth: inset 1.5px 1.5px 1px -1px rgb(255 250 240 / .616), inset -1.5px -1.5px 1px -1px rgb(255 250 240 / .357),
    inset 6px 8px 14px -12px rgb(255 252 246 / .455), inset 0 -8px 14px -12px rgb(110 80 36 / .22), inset 0 0 0 .5px rgb(110 80 36 / .2),
    0 1px 2px rgb(40 24 8 / .12), 0 6px 14px -4px rgb(40 24 8 / .14);
  -webkit-backdrop-filter: blur(9.38px) saturate(1.6); backdrop-filter: blur(9.38px) saturate(1.6);
}
@media (prefers-reduced-transparency: reduce) { .top__inner, .btn:not(.btn--solid) { background: var(--paper-3); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Colour pickers (Josh, 27 Nov 2026: the colour sat as a square inside a grey-edged squircle). The colour now
   fills the whole rounded shape in every browser, with a hairline drawn inside it rather than a grey border. */
input[type="color"] { -webkit-appearance: none; appearance: none; border: 0 !important; padding: 0 !important; overflow: hidden; background: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; border-radius: inherit; }
input[type="color"]::-webkit-color-swatch { border: 0 !important; border-radius: inherit !important; }
input[type="color"]::-moz-color-swatch { border: 0; border-radius: inherit; }
.look__sw input[type=color] { overflow: hidden; }

/* Our colour picker (Josh, 27 Nov 2026), in place of the system colour window: a glass panel by the colour box,
   or a sheet from the foot of the screen on a phone. The map changes as you pick. */
.cp { position: fixed; z-index: 80; width: 300px; padding: 16px; display: grid; gap: 14px; border-radius: 22px; background: var(--slab-bg, var(--paper-3)); box-shadow: inset 1px 1px 0 var(--rim, rgb(255 255 255 / .6)), var(--lift); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); animation: sheet-in 240ms var(--ease-out) both; }
.cp--sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto; border-radius: 24px 24px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.cp__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; }
.cp__done { font: inherit; font-weight: 600; font-size: 15px; min-height: 36px; padding: 0 16px; border: 0; border-radius: var(--pill); cursor: pointer; background: var(--ink); color: var(--paper); }
.cp__sws { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cp__sw { aspect-ratio: 1; min-height: 32px; border: 0; border-radius: 10px; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); transition: transform var(--t-press) var(--ease-out); }
.cp__sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12), 0 0 0 2px var(--paper-3), 0 0 0 4px var(--ink); }
.cp__sw:active { transform: scale(.94); }
.cp__sq { --hue: red; position: relative; height: 160px; border-radius: 14px; cursor: crosshair; touch-action: none; background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, var(--hue)); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }

.cp__dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .35), 0 2px 6px rgb(0 0 0 / .3); pointer-events: none; }
.cp__sq:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cp__hue { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; border-radius: var(--pill); margin: 0; cursor: pointer; background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.cp__hue::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgb(0 0 0 / .3), 0 2px 6px rgb(0 0 0 / .3); }
.cp__hue::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgb(0 0 0 / .3), 0 2px 6px rgb(0 0 0 / .3); }
.cp__hue:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cp__hexrow { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.cp__hexrow .input { flex: 1; min-height: 44px; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.cp--sheet { background: var(--paper-3); gap: 12px; }
.cp--sheet .cp__sws { grid-template-columns: repeat(8, 1fr); gap: 6px; }
.cp--sheet .cp__sw { min-height: 0; border-radius: 8px; }
.cp--sheet .cp__sq { height: 120px; }

/* Support (support.js): its four views as tabs, each with a Phosphor icon (as on conceptualstudio.co.uk) */
.tabs--icons button { display: inline-flex; align-items: center; gap: 8px; }
.tabs--icons .ph { flex: none; }
.tabs--icons button:disabled { opacity: .45; cursor: not-allowed; }
.tabs__what { margin: 10px auto 0; text-align: center; font-size: 16px; color: var(--ink-2); }
/* five map pages (a school sixth form's Staying On, then the four): the lines under the names wrap */
@media (min-width: 1100px) { .views--five .views__what { white-space: normal; max-width: 19ch; margin-inline: auto; } }
@media (max-width: 759.98px) { .views--five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Figure pictures (Josh, 28 Nov 2026): "2 in 10" as a doughnut of ten, and a plain count as little people, one per so many */
.fig .fig__ring { display: block; margin-top: 10px; line-height: 0; }
.fig__ring path { fill: rgb(110 80 36 / .18); transition: fill 120ms linear; }
.fig__ring path.on { fill: #6E4420; }
.fig__ring path.maybe { fill: rgb(110 80 36 / .45); }
.fig .fig__people { display: grid; grid-template-columns: repeat(10, 16px); gap: 4px 2px; width: max-content; margin-top: 10px; }
.fig__people svg { width: 16px; height: 16px; fill: rgb(110 80 36 / .18); }
.fig__people svg.on { fill: #6E4420; }
.fig__key { grid-column: 1 / -1; font-weight: 400; font-size: 12px; color: var(--ink-3); margin-top: 4px; white-space: nowrap; }
.print-insights .dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.print-insights .dash__grid > * { break-inside: avoid; }
@media print { .print-insights .dash__bar, .print-insights .dash__sw, .print-insights .dash__track, .fig__dots i, .fig__ring path, .fig__people svg { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.report__under .fig .fig__ring, .report__under .fig .fig__people { margin-top: 0; padding-top: 0; }
@media (max-width: 759.98px) { .fig .fig__people { grid-template-columns: repeat(10, 12px); gap: 3px 2px; } .fig__people svg { width: 12px; height: 12px; } }
