/* Spacers.ae — site styles v4
   Violet → pink aurora on ink, subtle motion. Instrument Serif display, Plus Jakarta Sans body.
   Light mode via [data-theme="light"]. Middlesex sub-brand (red) via [data-brand="mdx"] on <html>. */

:root {
  --ink:    #0B0A14;
  --panel:  #17152A;
  --sunken: #0D0B18;
  --grid:        rgba(255,255,255,.05);
  --grid-strong: rgba(255,255,255,.11);

  --white: #FFFFFF;   /* primary text — redefined per theme below */
  --mist:  #C7C4DA;   /* secondary text */
  --dim:   #8B87A3;   /* tertiary text */

  --accent-1: #8B4CF2;   /* violet */
  --accent-2: #E23FA6;   /* pink */
  --accent-3: #4F7CFF;   /* blue — aurora mesh only */
  --accent-soft:  color-mix(in srgb, var(--accent-1) 16%, transparent);
  --accent-glow:  color-mix(in srgb, var(--accent-1) 38%, transparent);

  --unit: 48px;
  --r-lg: 20px; --r-md: 14px; --r-sm: 9px;

  --shadow-card:   0 1px 0 rgba(255,255,255,.05) inset, 0 20px 44px -20px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.35);
  --shadow-inset:  inset 0 1px 3px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.03);
  --shadow-press:  inset 0 1px 5px rgba(0,0,0,.65);

  --ease:  cubic-bezier(.22,1,.36,1);
  --display: "Instrument Serif", Georgia, serif;
  --text:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono:    "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Middlesex sub-brand: same system, red accent instead of violet/pink.
   Approximate MDX red — swap for the exact brand hex if/when supplied. */
[data-brand="mdx"] {
  --accent-1: #C8102E;
  --accent-2: #8C0F22;
  --accent-3: #E3543F;
}

[data-theme="light"] {
  --ink:    #FAF9FC;
  --panel:  #FFFFFF;
  --sunken: #F1EEF8;
  --grid:        rgba(23,17,45,.06);
  --grid-strong: rgba(23,17,45,.12);

  --white: #16132A;
  --mist:  #514C6B;
  --dim:   #837E9C;

  --shadow-card:   0 1px 0 rgba(255,255,255,.6) inset, 0 20px 40px -22px rgba(30,20,60,.18), 0 2px 8px rgba(30,20,60,.08);
  --shadow-inset:  inset 0 1px 3px rgba(30,20,60,.12), inset 0 0 0 1px rgba(30,20,60,.04);
  --shadow-press:  inset 0 1px 4px rgba(30,20,60,.18);
}

* { box-sizing: border-box; }
html {
  font: 100%/1.5 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  scroll-behavior: smooth; background: var(--ink);
  color-scheme: dark;
}
html[data-theme="light"] { color-scheme: light; }
body {
  margin: 0; color: var(--white); background: var(--ink);
  font-optical-sizing: auto; overflow-x: hidden;
  transition: background 260ms var(--ease), color 260ms var(--ease);
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.narrow { max-width: 44rem; }
section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
section + section { border-top: 1px solid var(--grid-strong); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; }
.display { font-size: clamp(2.5rem, 5.8vw, 4.4rem); line-height: 1.02; letter-spacing: -.01em; }
h2, .h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -.005em; }
h3, .h3 { font-family: var(--text); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.25; letter-spacing: -.008em; font-weight: 650; }
p, li { font-size: 1.0625rem; line-height: 1.62; letter-spacing: 0; color: var(--mist); }
p { margin: 0 0 1.1rem; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; letter-spacing: -.005em; color: var(--white); max-width: 34rem; font-weight: 450; }
.eyebrow { display: block; font-family: var(--text); font-size: .82rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 1.1rem; }
.muted { color: var(--dim); }
strong { color: var(--white); font-weight: 600; }
.measure { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.dim-x, .dim-y, .card .venue, .tag { font-family: var(--mono); }
.readout b { font-family: var(--mono); }

/* Big serif numbers — the display face, not mono, for every marketing stat */
.num { display: block; font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: 1; color: var(--white); font-size: clamp(2.1rem, 4.4vw, 2.75rem); }
.num-md { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 72%, transparent); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--grid-strong);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: calc(var(--unit) * 1.4); gap: .75rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.4rem; letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; }
.brand em { font-style: italic; color: var(--accent-2); }
.nav-right { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--grid-strong); background: transparent;
  color: var(--mist); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: color 120ms, border-color 120ms;
}
.theme-toggle:hover { color: var(--white); border-color: var(--dim); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="light"] .theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .moon { display: block; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent;
  color: var(--white); cursor: pointer; align-items: center; justify-content: center; flex: none;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav li a {
  display: inline-block; padding: .55rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 550; color: var(--mist);
  transition: color 120ms, background 120ms;
}
.nav li a:hover, .nav li a[aria-current="page"] { color: var(--white); }
.nav li a[aria-current="page"] { background: var(--panel); }
.nav li a.btn { color: #fff; }
@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: color-mix(in srgb, var(--ink) 97%, transparent); border-bottom: 1px solid var(--grid-strong);
    max-height: 0; overflow: hidden; transition: max-height 220ms var(--ease);
  }
  .nav.open ul { max-height: 24rem; }
  .nav li { width: 100%; }
  .nav li a { display: block; padding: .9rem clamp(1.25rem,4vw,3rem); border-radius: 0; }
  .nav li.keep { padding: .6rem clamp(1.25rem,4vw,3rem) 1rem; }
  .nav li.keep a.btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .82rem 1.4rem; border-radius: 999px;
  font-family: var(--text); font-weight: 650; font-size: .98rem; letter-spacing: -.005em; border: 0; cursor: pointer; color: var(--white);
  background: var(--panel); box-shadow: var(--shadow-card);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: var(--shadow-press); transition-duration: 60ms; }
.btn-primary { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #fff; box-shadow: 0 12px 28px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px var(--accent-glow); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(0); filter: brightness(.95); }
.btn-ghost { background: transparent; box-shadow: none; border: 1px solid var(--grid-strong); }
.btn-ghost:hover { background: var(--panel); transform: translateY(-1px); }

/* ---------- Surfaces ---------- */
.plate {
  background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
}
.well { background: var(--sunken); border-radius: var(--r-md); box-shadow: var(--shadow-inset); }

/* ---------- Hero (abstract aurora, no photography) ---------- */
.hero { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .4; will-change: transform; }
.hero-bg .glow-a { width: 40rem; height: 40rem; left: -14rem; top: -18rem; background: var(--accent-1); animation: drift-a 38s ease-in-out infinite alternate; }
.hero-bg .glow-b { width: 30rem; height: 30rem; right: -10rem; top: -6rem; background: var(--accent-2); opacity: .26; animation: drift-b 44s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--unit) var(--unit); mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 70%);
}
@keyframes drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(3rem,3.5rem) scale(1.06); } }
@keyframes drift-b { from { transform: translate(0,0) scale(1); } to { transform: translate(-2.5rem,3rem) scale(1.08); } }
.hero .wrap { position: relative; z-index: 1; }
.hero .two { align-items: center; }
.hero-copy { max-width: 34rem; }
.hero .display { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.8rem; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero .board { max-width: 30rem; margin: 0 auto; }
@media (min-width: 900px) { .hero .board { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-bg .glow { animation: none; } }

/* ---------- Trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.trust span { font-size: .82rem; font-weight: 600; color: var(--mist); padding: .5rem .9rem; border-radius: 999px; background: var(--panel); box-shadow: var(--shadow-card); }
.trust span b { color: var(--white); font-weight: 700; }

/* ---------- Plot widget (draw a footprint) — lives inside the hero ---------- */
.board { position: relative; user-select: none; -webkit-user-select: none; }
.board .plate { padding: 1.1rem; }
.plot {
  position: relative; touch-action: none; cursor: crosshair; border-radius: var(--r-md);
  background: var(--sunken); box-shadow: var(--shadow-inset); aspect-ratio: 12 / 8; overflow: hidden;
  background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
  background-size: calc(100% / 12) calc(100% / 8);
}
.plot .sel {
  position: absolute; background: var(--accent-soft); border: 2px solid var(--accent-1);
  border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 10px 30px var(--accent-glow);
  pointer-events: none; will-change: transform, width, height;
}
.plot .sel::before, .plot .sel::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--white); border-radius: 2px; }
.plot .sel::before { left: -5px; top: -5px; } .plot .sel::after { right: -5px; bottom: -5px; }
.plot .hint { position: absolute; right: .9rem; bottom: .7rem; color: var(--dim); font-size: .8rem; font-weight: 500; pointer-events: none; transition: opacity 200ms; }
.plot .hint.hide { opacity: 0; }
.dim-x, .dim-y { position: absolute; color: var(--white); font-size: .78rem; font-weight: 600; pointer-events: none; }
.dim-x { display: flex; align-items: center; gap: .4rem; height: 18px; }
.dim-y { display: flex; flex-direction: column; align-items: center; gap: .4rem; width: 18px; }
.dim-x::before, .dim-x::after { content: ""; flex: 1; height: 1px; background: var(--white); }
.dim-y::before, .dim-y::after { content: ""; flex: 1; width: 1px; background: var(--white); }
.readout { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding: 0 .2rem; }
.readout b { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; color: var(--white); }
.readout > span { color: var(--dim); font-size: .85rem; text-align: right; }

/* ---------- Spaces ---------- */
.spaces-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.spaces-head p { margin: 0; max-width: 28rem; }
.cards { display: grid; gap: 1.4rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card.soon { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 2rem; }
  .card.soon .plan { width: 14rem; aspect-ratio: 16/9; flex: none; }
  .card.soon > div:nth-child(2) { min-width: 12rem; }
  .card.soon p { flex: 1; }
  .card.soon .cta { margin-top: 0; padding-top: 0; }
}
.card { display: flex; flex-direction: column; gap: 1rem; }
.card .plan { position: relative; aspect-ratio: 16/10; padding: .9rem; }
.card .plan svg { width: 100%; height: 100%; }
.card .venue { color: var(--dim); font-size: .86rem; margin: 0; }
.card .facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .2rem 0 .3rem; }
.card .facts div { padding: .75rem .85rem; border-radius: var(--r-sm); background: var(--sunken); box-shadow: var(--shadow-inset); }
.card .facts .num { font-size: clamp(1.25rem, 2vw, 1.5rem); white-space: nowrap; margin-bottom: .1rem; }
.card .facts .lbl { font-size: .78rem; color: var(--dim); line-height: 1.35; display: block; }
.card p { font-size: .96rem; margin: 0; }
.card .cta { margin-top: auto; display: flex; gap: .6rem; align-items: center; justify-content: space-between; padding-top: .3rem; }
.tag { white-space: nowrap; font-size: .74rem; font-weight: 600; color: var(--accent-2); padding: .3rem .6rem; border-radius: 999px; background: var(--accent-soft); }
.card.soon .plan { display: grid; place-items: center; color: var(--dim); font-size: .95rem; }
.card.soon .plan svg { width: 40%; height: auto; opacity: .35; }

/* ---------- Middlesex: hero background (dedicated page) + homepage teaser ---------- */
.mx { position: relative; overflow: hidden; }
.mx-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 60% at 85% 20%, var(--accent-soft), transparent 60%), var(--ink); }
.mx .wrap { position: relative; z-index: 1; }

.mx-teaser { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.mx-teaser .copy { max-width: 34rem; }
.mx-teaser h2 { margin-bottom: .5rem; }
.mx-teaser p { margin: 0; }

/* ---------- How it works ---------- */
.steps { position: relative; padding-left: 2.6rem; margin: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: .8rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--grid-strong); }
.steps .fill { position: absolute; left: .8rem; top: .5rem; width: 2px; background: linear-gradient(var(--accent-1), var(--accent-2)); height: 0; transform-origin: top; }
.steps li { position: relative; padding: 0 0 2rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: -2.6rem; top: .4rem; width: 1.65rem; height: 2px; background: var(--grid-strong); transition: background 300ms; }
.steps li.on::before { background: var(--accent-1); }
.steps li b { display: block; font-family: var(--text); color: var(--white); font-size: 1.08rem; font-weight: 650; letter-spacing: -.008em; margin-bottom: .2rem; }
.steps li p { margin: 0; }
.two { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: 5fr 7fr; } .two > .sticky { position: sticky; top: 6rem; } }

/* ---------- Scope (about) ---------- */
.scope { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope ul { list-style: none; margin: 0; padding: 0; }
.scope li { padding: .65rem 0 .65rem 1.8rem; position: relative; border-bottom: 1px solid var(--grid-strong); font-size: .98rem; }
.scope li:last-child { border-bottom: 0; }
.scope li::before { position: absolute; left: 0; top: .7rem; font-weight: 700; }
.scope .we li::before { content: "\2713"; color: var(--accent-1); }
.scope .you li::before { content: "\2014"; color: var(--dim); }
.scope h3 { margin-bottom: .4rem; }

/* ---------- Page headers ---------- */
.page-head { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-head .display { font-size: clamp(2.3rem, 5.6vw, 3.8rem); margin-bottom: 1.1rem; }
.prose p { max-width: 40rem; }
.prose h2 { margin: 2.4rem 0 .9rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }

/* ---------- Enquire block (redesigned) ---------- */
.enquire-head { text-align: center; max-width: 40rem; margin: 0 auto 2.6rem; }
.enquire-head h2 { margin-bottom: .8rem; }
.enquire-head p { margin: 0 auto; }
.enquire-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 900px) { .enquire-grid { grid-template-columns: 4fr 8fr; align-items: start; } }
.enquire-card { display: grid; gap: 1.5rem; align-content: start; }
.contact-block h3 { font-size: .82rem; font-family: var(--text); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: .9rem; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.contact-lines li { display: flex; flex-direction: column; gap: .1rem; }
.contact-lines .k { font-size: .78rem; color: var(--dim); }
.contact-lines a, .contact-lines .v { color: var(--white); font-weight: 600; letter-spacing: -.008em; font-size: 1.02rem; }
.contact-lines a { border-bottom: 1px solid transparent; transition: border-color 140ms; }
.contact-lines a:hover { border-color: var(--accent-1); }
.socials { display: flex; gap: .55rem; margin-top: .3rem; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--sunken); box-shadow: var(--shadow-inset); color: var(--mist); transition: transform 160ms var(--ease), color 120ms; }
.socials a:hover { color: var(--white); transform: translateY(-1px); } .socials a:active { transform: translateY(0) scale(.95); }
.socials svg { width: 19px; height: 19px; }

.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: .4rem; font-size: .88rem; color: var(--mist); font-weight: 500; }
input, select, textarea {
  font: inherit; color: var(--white); width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm); border: 0;
  background: var(--sunken); box-shadow: var(--shadow-inset); outline: none; transition: box-shadow 160ms;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { box-shadow: var(--shadow-inset), 0 0 0 2px var(--accent-1); }
textarea { min-height: 7rem; resize: vertical; }
select { padding-right: 2.6rem; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 50%, calc(100% - .95rem) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form .actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form .status { font-size: .9rem; color: var(--mist); min-height: 1.4em; }
.form .status.ok { color: var(--white); } .form .status.err { color: var(--accent-2); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer (proper multi-column, glass) ---------- */
footer {
  position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-1) 8%, transparent) 0%, transparent 40%),
    var(--ink);
  backdrop-filter: blur(30px) saturate(1.1); -webkit-backdrop-filter: blur(30px) saturate(1.1);
  border-top: 1px solid var(--grid-strong);
}
.foot-main { display: grid; gap: 2.4rem; padding: clamp(3rem,6vw,4.5rem) 0 2.5rem; border-top: 1px solid var(--grid-strong); margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 780px) { .foot-main { grid-template-columns: 1.3fr .8fr .8fr .8fr; gap: 2rem; } }
.foot-brand .brand { margin-bottom: .9rem; }
.foot-brand p { max-width: 22rem; font-size: .95rem; margin: 0; }
.foot-col h3 { font-size: .78rem; font-family: var(--text); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.foot-col a, .foot-col span { font-size: .95rem; color: var(--mist); }
.foot-col a:hover { color: var(--white); }
.foot-col .v { color: var(--white); font-weight: 600; }
.legal { padding: 1.4rem 0 2.4rem; border-top: 1px solid var(--grid-strong); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.legal p, .legal a { font-size: .84rem; color: var(--dim); margin: 0; }
.legal a:hover { color: var(--white); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 620ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }
.reveal[data-delay="4"] { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity 200ms ease; transform: none !important; }
  .btn, .socials a { transition: none; }
}
@media (prefers-reduced-transparency: reduce) { .nav, footer { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); } }
@media (prefers-contrast: more) { .plate, .btn { border: 1px solid var(--mist); } }
