/* simply. The brand-line look (Home + /enquire/), spec 2026-11-23. Tokens and the parts both pages share.
   One purple, one Lemon accent on the button only, deep-violet shadows, grain on the ground only. */
:root {
  --purple: #8A1CFF;
  --lemon: #FEED25;
  --on-lemon: #8A1CFF;
  --violet-deep: #2A0866;
  --page: #F7F4FE;
  --ink: #17141F;
  --ink-2: #57525F;
  --white: #FFFFFF;
  --font-display: "Saira", "Arial Black", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mark: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.45, .64, 1);
  --stage-h: max(100svh, 640px);
  --u: calc(var(--stage-h) / 844);          /* one design pixel, vertically, on the 390x844 frame */
  --fade: 120px;
  --floor: #CDC7DE;                          /* bottom-row colour of ground-390.webp (asset report) */
  --ground: url("img/ground-390.webp");
  --ground-ratio: 0.4621;                    /* 390 / 844 */
  --radius-card: 24px;                       /* Figma 305:327 */
  --shadow-card: 0 28px 24px rgba(42, 8, 102, .10), 0 8px 8px rgba(42, 8, 102, .12);   /* Figma 305:327 */
}
@media (min-width: 900px) {
  :root {
    --u: calc(var(--stage-h) / 900);        /* the 1440x900 frame */
    --floor: #D0CBE0;                        /* bottom-row colour of ground-1440.webp (asset report) */
    --ground: url("img/ground-1440.webp");
    --ground-ratio: 1.6;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font: 400 17px/1.45 var(--font-body);
  -webkit-font-smoothing: antialiased;
  /* Top to bottom: grain, the page colour below the fade, the fade, the stage, the page colour. Grain is here only. */
  background:
    url("img/grain-256.webp") 0 0 / 256px 256px repeat,
    linear-gradient(var(--page), var(--page)) 0 calc(var(--stage-h) + var(--fade)) / 100% 100% no-repeat,
    linear-gradient(var(--floor), var(--page)) 0 var(--stage-h) / 100% var(--fade) no-repeat,
    var(--ground) 50% 0 / max(100%, calc(var(--stage-h) * var(--ground-ratio))) auto no-repeat,
    var(--page);
}
::selection { background: var(--purple); color: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* The wordmark: Archivo Black, one weight. */
.top { position: absolute; inset: 0 0 auto; display: flex; justify-content: center; padding-top: 25px; z-index: 2; }
.wordmark { margin: 0; font: 400 22px/1 var(--font-mark); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
@media (min-width: 900px) { .top { padding-top: 37px; } }

/* A white card: no grain over it (it is an element above the ground). */
.card { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* The asterisk button (spec 4.5). --ast is its size; --rim the purple edge, drawn by a non-scaling stroke. */
.ast-wrap { position: relative; width: var(--ast); height: var(--ast); }
.ast-btn { position: absolute; inset: 0; display: block; border-radius: 50%; text-decoration: none; -webkit-tap-highlight-color: transparent; z-index: 1; }
.ast-btn:focus-visible { outline: 3px solid var(--purple); outline-offset: 8px; }
.ast-fly { position: absolute; inset: 0; display: block; transition: transform 760ms var(--ease-out), scale 100ms var(--ease-out); }
.ast-btn:active .ast-fly { scale: .97; }
.ast { width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 7px 4px rgba(42, 8, 102, .2)); } /* Figma 305:319 Rim: y 7, blur 8 (std-dev 4), #2A0866 at 20% */
.ast-arms { transform-box: fill-box; transform-origin: center; transition: transform 320ms var(--ease-out); }
.ast-rim { fill: var(--purple); stroke: var(--purple); stroke-width: var(--rim, 6px); stroke-linejoin: round; }
.ast-fill { fill: var(--lemon); }
.ast-disc { fill: var(--lemon); transform-box: fill-box; transform-origin: center; transition: transform 300ms var(--ease-back); }
.ast-label { position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: var(--on-lemon);
  font: 600 var(--ast-label, 15px)/1 var(--font-body); white-space: nowrap; pointer-events: none; transition: opacity 250ms var(--ease-out); }
.ast-floor { position: absolute; left: 50%; top: calc(var(--ast) * var(--floor-top, .945)); translate: -50% 0;
  width: calc(var(--ast) * .98); height: calc(var(--ast) * .144); pointer-events: none;
  background: radial-gradient(closest-side, rgba(42, 8, 102, .32), rgba(42, 8, 102, 0));
  transition: opacity 300ms var(--ease-out), scale 100ms var(--ease-out); }
.ast-wrap:has(.ast-btn:active) .ast-floor { scale: .9; }

/* Reduced motion: every change is instant (spec section 6 stills). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important;
  }
}
