/* ───────────────────────────────────────────────────────────
   00·EVO — 2003 Lancer Evolution VIII listing
   Dark editorial · rally-red accent · Inter throughout · modern
   ─────────────────────────────────────────────────────────── */

:root {
  --bg:           #0a0a0a;
  --bg-elevated:  #111111;
  --surface:      #161616;
  --surface-2:    #1c1c1c;
  --border:       #262626;
  --border-strong:#333333;
  --text:         #fafafa;
  --text-muted:   #a3a3a3;
  --text-subtle:  #525252;
  --accent:       #e7000b;
  --accent-hover: #ff2024;
  --accent-soft:  rgba(231, 0, 11, 0.10);
  --accent-line:  rgba(231, 0, 11, 0.35);

  --gutter:       clamp(20px, 4vw, 48px);
  --max:          1080px;
  --max-prose:    680px;
  --section-pad:  clamp(72px, 11vh, 140px);

  --font:         'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: var(--font);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
@media (min-width: 768px) { body { font-size: 17px; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--text-muted); }

/* ─── Sticky nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav__brand {
  font-weight: 700; font-size: 0.95rem; letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.nav__brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(231,0,11,0.15);
}
.nav__links {
  display: none; flex: 1; gap: 24px;
  font-size: 0.875rem; color: var(--text-muted); font-weight: 500;
}
.nav__links a:hover { color: var(--text); }
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__cta {
  margin-left: auto; padding: 9px 18px;
  background: var(--accent); color: white; border: none; cursor: pointer;
  font: 600 0.875rem var(--font); border-radius: 999px;
  transition: background 120ms ease, transform 120ms ease;
  letter-spacing: -0.005em;
}
.nav__cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
  position: relative; width: 100%;
  min-height: clamp(560px, 88vh, 920px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 55%,
      rgba(10,10,10,0.55) 82%,
      rgba(10,10,10,0.92) 97%,
      var(--bg) 100%
    );
}
.hero__overlay-inner {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: var(--gutter) var(--gutter) clamp(40px, 6vh, 80px);
  max-width: var(--max); margin: 0 auto;
}
/* Title gets a subtle text-shadow for readability now that gradient is softer */
.hero__title-l1,
.hero__title-l2,
.hero__eyebrow,
.hero__meta,
.hero__price-amount,
.hero__price-incl {
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.hero__title {
  margin: 0; font-family: var(--font);
  line-height: 0.92; letter-spacing: -0.045em;
  color: var(--text);
}
.hero__title-l1 {
  display: block;
  font-weight: 500; font-size: clamp(40px, 9vw, 96px);
  letter-spacing: -0.03em;
  color: var(--text);
  opacity: 0.85;
}
.hero__title-l2 {
  display: block;
  font-weight: 900; font-size: clamp(52px, 13vw, 144px);
  letter-spacing: -0.05em;
  color: var(--text);
  margin-top: -0.08em;
}
.hero__meta {
  margin: 18px 0 0;
  font-family: var(--font-mono); font-size: 0.84rem;
  color: var(--text-muted); letter-spacing: 0.02em;
}
.hero__row {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px;
}
.hero__price { display: flex; flex-direction: column; gap: 4px; }
.hero__price-amount {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -0.035em;
  color: var(--text); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__price-incl {
  font-size: 0.78rem; color: var(--text-muted);
  font-weight: 500; letter-spacing: 0;
}
.hero__cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: var(--accent); color: white; border: none; cursor: pointer;
  font: 600 0.95rem var(--font); border-radius: 999px;
  letter-spacing: -0.005em;
  transition: background 120ms ease, transform 120ms ease, gap 120ms ease;
}
.hero__cta:hover { background: var(--accent-hover); gap: 12px; }
.hero__cta svg { width: 18px; height: 18px; }

/* ─── Vital stats strip ─── */
.vital {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.vital__grid {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 6vh, 56px) var(--gutter);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}
@media (min-width: 600px) { .vital__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .vital__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vital__grid > div { display: flex; flex-direction: column; gap: 6px; }
.vital__grid .vital__wide { grid-column: span 1; }
@media (min-width: 900px) { .vital__grid .vital__wide { grid-column: span 2; } }
.vital__grid dt {
  font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.vital__grid dd {
  margin: 0; font-family: var(--font-mono);
  font-size: 0.94rem; font-weight: 500; color: var(--text);
}
.vital__grid dd em { color: var(--text-subtle); font-style: normal; font-weight: 400; }
.vital__grid dt em { color: var(--text-subtle); font-style: normal; font-weight: 500; }

/* ─── Generic section head ─── */
.section-head {
  max-width: var(--max-prose); margin: 0 auto 56px;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; gap: 16px;
}
.section-head__num {
  margin: 0; font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  color: var(--accent); letter-spacing: 0.04em;
}
.section-head__num::before { content: "/ "; opacity: 0.6; }
.section-head__title {
  margin: 0; font-family: var(--font);
  font-weight: 800; line-height: 1;
  font-size: clamp(36px, 6.5vw, 64px);
  letter-spacing: -0.04em; color: var(--text);
}
.section-head__lede {
  margin: 0; font-size: 1.05rem; color: var(--text-muted);
  max-width: 56ch; letter-spacing: -0.005em;
}

/* ─── Section: Story (overview) ─── */
.story {
  max-width: var(--max); margin: 0 auto;
  padding: var(--section-pad) 0;
}
.story__body {
  max-width: var(--max-prose); margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 1.0625rem; line-height: 1.7; color: var(--text);
}
.story__body > p { margin: 0 0 22px; }
.story__lede {
  font-size: 1.22rem; line-height: 1.55; letter-spacing: -0.012em;
  color: var(--text);
  margin-bottom: 26px !important;
}
.story__body a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.story__body a:hover { background: var(--accent-soft); }

/* ─── Section: Driving ─── */
.driving {
  padding: var(--section-pad) 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.driving__body {
  max-width: var(--max-prose); margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 1.0625rem; line-height: 1.7; color: var(--text-muted);
}
.driving__body > p { margin: 0 0 22px; }
.driving__lede {
  font-size: 1.22rem; line-height: 1.55; letter-spacing: -0.012em;
  color: var(--text); font-weight: 500;
  margin-bottom: 26px !important;
}
.driving__pitch {
  margin-top: 28px !important; padding: 22px 26px;
  background: var(--surface); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 1.05rem; color: var(--text); font-weight: 500;
  letter-spacing: -0.005em;
}

/* ─── Section: Specification ─── */
.spec { padding: var(--section-pad) 0; }
.spec__group {
  max-width: var(--max); margin: 0 auto;
  padding: 44px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.spec__group:last-child { border-bottom: 0; }
.spec__group-title {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.025em;
  margin: 0 0 8px; color: var(--text);
}
.spec__group-note { margin: 0 0 22px; color: var(--text-muted); max-width: 64ch; }
.spec__note {
  margin: 18px 0 0; font-size: 0.92rem; color: var(--text-muted);
  padding: 14px 18px; background: var(--surface); border-radius: 8px;
  border-left: 2px solid var(--border-strong);
}
.spec__note strong { color: var(--text); font-weight: 600; }
.spec__pull {
  margin-top: 24px; padding: 22px 26px;
  background: var(--surface); border-radius: 12px;
  border: 1px solid var(--border);
}
.spec__pull-title {
  margin: 0 0 10px; font-size: 0.74rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}
.spec__pull-stats {
  display: grid; grid-template-columns: 1fr;
  gap: 0; margin: 0; padding: 0;
}
@media (min-width: 720px) { .spec__pull-stats { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.spec__pull-stats > div {
  display: grid; grid-template-columns: 160px 1fr;
  padding: 10px 0; gap: 14px;
  border-bottom: 1px solid var(--border);
}
.spec__pull-stats > div:last-child { border-bottom: 0; }
@media (max-width: 540px) {
  .spec__pull-stats > div { grid-template-columns: 1fr; gap: 4px; }
}
.spec__pull-stats dt {
  font-size: 0.82rem; color: var(--text-muted); font-weight: 500;
}
.spec__pull-stats dd {
  margin: 0; font-size: 0.94rem; color: var(--text); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.spec__pull-stats dd em {
  color: var(--text-muted); font-weight: 400; font-style: normal;
  font-size: 0.86em;
}
.spec__pull-note {
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.55;
  font-style: italic;
}

/* Generic key/value list */
.kv {
  display: grid; grid-template-columns: 1fr;
  gap: 0; margin: 0; padding: 0;
}
@media (min-width: 720px) {
  .kv { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
.kv > div {
  display: grid; grid-template-columns: 200px 1fr;
  padding: 12px 0; gap: 16px;
  border-bottom: 1px solid var(--border);
}
.kv > div:last-child { border-bottom: 0; }
@media (max-width: 540px) {
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
}
.kv dt {
  font-size: 0.86rem; color: var(--text-muted); font-weight: 500;
}
.kv dd {
  margin: 0; font-size: 0.96rem; color: var(--text); font-weight: 500;
}
.kv dd em { color: var(--text-muted); font-weight: 400; font-style: italic; }
.kv--tight > div { padding: 8px 0; grid-template-columns: 200px 1fr; }

/* ─── Section: Condition ─── */
.condition { padding: var(--section-pad) 0; background: var(--bg-elevated); border-block: 1px solid var(--border); }
.cond__panel {
  max-width: var(--max); margin: 0 auto;
  padding: 36px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.cond__panel:last-child { border-bottom: 0; }
.cond__panel-title {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.025em;
  margin: 0 0 16px; color: var(--text);
}
.cond__panel p {
  max-width: 64ch; margin: 0 0 18px;
  font-size: 1.02rem; line-height: 1.7; color: var(--text-muted);
}
.cond__panel p strong { color: var(--text); font-weight: 600; }
.cond__panel a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.cond__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.cond__list li {
  padding: 14px 18px; background: var(--surface);
  border-radius: 8px; font-size: 0.96rem;
  color: var(--text-muted); line-height: 1.55;
  border-left: 2px solid var(--border-strong);
}
.cond__list li strong { color: var(--text); font-weight: 600; }
.cond__list li em { color: var(--text); font-style: italic; font-weight: 500; }
.cond__panel--callouts { background: var(--bg); }
.cond__notes {
  counter-reset: cnote;
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.cond__notes li {
  counter-increment: cnote;
  padding: 18px 22px 18px 62px; position: relative;
  background: var(--surface); border-radius: 10px;
  font-size: 0.98rem; color: var(--text-muted); line-height: 1.6;
}
.cond__notes li::before {
  content: counter(cnote, decimal-leading-zero);
  position: absolute; left: 18px; top: 18px;
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--accent); font-weight: 500;
}
.cond__notes li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* ─── Section: Included ─── */
.included { padding: var(--section-pad) 0; }
.included__list {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
  display: grid; gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .included__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .included__list { grid-template-columns: 1fr 1fr 1fr; } }
.included__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem; color: var(--text);
  display: flex; align-items: center; gap: 12px;
}
.included__list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ─── Section: Provenance ─── */
.provenance { padding: var(--section-pad) 0; background: var(--bg-elevated); border-block: 1px solid var(--border); }
.provenance__grid {
  max-width: var(--max); margin: 0 auto 32px;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) { .provenance__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.provenance__col-title {
  font-family: var(--font); font-weight: 700;
  font-size: 1.2rem; letter-spacing: -0.015em;
  margin: 0 0 16px; color: var(--text);
}
.doc {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  text-decoration: none; transition: border-color 120ms ease, transform 120ms ease;
}
.doc:hover { border-color: var(--accent); transform: translateY(-1px); }
.doc__tag {
  font: 600 0.7rem var(--font-mono); letter-spacing: 0.06em;
  padding: 4px 8px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
}
.doc__body { display: flex; flex-direction: column; gap: 2px; }
.doc__body strong { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.doc__body small { color: var(--text-muted); font-size: 0.82rem; }
.provenance__note {
  max-width: var(--max-prose); margin: 0 auto 36px;
  padding: 0 var(--gutter);
  color: var(--text-muted); font-size: 0.96rem; line-height: 1.65;
}
.provenance__cta {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; justify-content: flex-start;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font: 600 0.95rem var(--font);
  border-radius: 999px; cursor: pointer; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text);
  letter-spacing: -0.005em;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.btn:hover { background: var(--surface); border-color: var(--text-subtle); }
.btn--accent {
  background: var(--accent); color: white; border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }

/* ─── Sale terms inline block (within Provenance) ─── */
.sale-terms {
  max-width: var(--max-prose); margin: 0 auto 36px;
  padding: 28px var(--gutter);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  scroll-margin-top: 80px;
}
.sale-terms:target {
  animation: saleTermsPulse 1.8s ease-out;
}
@keyframes saleTermsPulse {
  0%   { box-shadow: 0 0 0 0 var(--accent), 0 0 0 0 rgba(231,0,11,0.0); }
  35%  { box-shadow: 0 0 0 2px var(--accent), 0 0 0 14px rgba(231,0,11,0.18); }
  100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; }
}
@media (min-width: 720px) {
  .sale-terms { margin-inline: auto; padding: 32px 36px; border-radius: 0 12px 12px 0; }
}
.sale-terms__title {
  margin: 0 0 14px; font-size: 0.74rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}
.sale-terms p { margin: 0 0 14px; color: var(--text); font-size: 1rem; line-height: 1.65; }
.sale-terms p:last-child { margin-bottom: 0; }
.sale-terms p.muted { color: var(--text-muted); }
.sale-terms strong { font-weight: 600; }

/* Swap criteria inside sale-terms */
.swap__intro { margin-top: 8px !important; }
.swap__label {
  margin: 18px 0 8px !important;
  font-size: 0.74rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}
.swap__list {
  list-style: none; margin: 0 0 6px; padding: 0;
  display: grid; gap: 6px;
}
@media (min-width: 540px) { .swap__list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.swap__list li {
  position: relative; padding-left: 18px;
  font-size: 0.94rem; color: var(--text); line-height: 1.45;
}
.swap__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 1px; background: var(--accent);
}

/* ─── Gallery (plates) ─── */
.plates { padding: var(--section-pad) 0; }
.plates__grid {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.plate {
  position: relative; display: block; grid-column: span 2;
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--surface); border-radius: 10px;
  cursor: zoom-in; isolation: isolate;
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.plate img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 320ms ease;
  filter: saturate(0.92) brightness(0.96);
}
.plate:hover { transform: translateY(-2px); }
.plate:hover img { transform: scale(1.03); filter: saturate(1.05) brightness(1); }
.plate figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 14px 12px; z-index: 2;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 60%, transparent 100%);
  font-size: 0.82rem; line-height: 1.35; color: var(--text);
  opacity: 0; transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.plate:hover figcaption { opacity: 1; transform: translateY(0); }
.plate--wide { grid-column: span 6; aspect-ratio: 16/9; }
@media (max-width: 720px) {
  .plates__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .plate { grid-column: span 1; }
  .plate--wide { grid-column: span 2; aspect-ratio: 4/3; }
  .plate figcaption { opacity: 1; transform: none; }
}

/* Defect plates — subtle tagging */
.plate--defect { border: 1px solid rgba(231,0,11,0.16); }
.plate__tag {
  display: inline-block; padding: 2px 8px; margin-right: 8px;
  font: 600 0.66rem var(--font-mono); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 3px;
}

/* ─── Album (historical) ─── */
.album { padding: var(--section-pad) 0; }
.album__grid {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 720px) { .album__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.album__plate {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 10px; background: var(--surface);
  cursor: zoom-in;
}
.album__plate img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 320ms ease;
}
.album__plate:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.album__plate::after {
  content: attr(data-year);
  position: absolute; bottom: 10px; left: 10px;
  padding: 4px 8px; border-radius: 4px;
  font: 600 0.7rem var(--font-mono); letter-spacing: 0.06em;
  background: rgba(10,10,10,0.78); color: var(--text);
  backdrop-filter: blur(8px);
}
.album__caption {
  position: absolute; bottom: 10px; left: 60px; right: 10px;
  font-size: 0.78rem; color: var(--text); line-height: 1.3;
  padding: 4px 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ─── Footer / colophon ─── */
.colophon {
  padding: 56px var(--gutter) 80px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.colophon__inner {
  max-width: var(--max); margin: 0 auto;
  text-align: center;
}
.colophon__brand {
  font-family: var(--font); font-weight: 800;
  font-size: 1.5rem; color: var(--text); margin: 0 0 14px;
  letter-spacing: -0.03em;
}
.colophon__line { margin: 6px 0; color: var(--text-muted); font-size: 0.92rem; }
.colophon__line--small { color: var(--text-subtle); font-size: 0.82rem; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ─── Enquiry modal ─── */
.enquiry {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  display: grid; place-items: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.enquiry[hidden] { display: none; }
.enquiry__card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px 32px;
  max-width: 440px; width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.enquiry__close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: none; color: var(--text-muted);
  font-size: 22px; cursor: pointer; line-height: 1;
  transition: background 120ms ease, color 120ms ease;
}
.enquiry__close:hover { background: var(--surface-2); color: var(--text); }
.enquiry__eyebrow {
  margin: 0 0 6px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.enquiry__heading {
  margin: 0 0 22px; font-family: var(--font);
  font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.025em;
}
.enquiry__details {
  margin: 0 0 22px; padding: 18px 20px;
  background: var(--bg-elevated); border-radius: 10px;
  display: grid; gap: 12px;
}
.enquiry__details > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: baseline; }
.enquiry__details dt {
  font-size: 0.78rem; font-weight: 500; color: var(--text-muted);
}
.enquiry__details dd {
  margin: 0; font-size: 0.96rem; color: var(--text); font-weight: 500;
}
.enquiry__phone {
  font-family: var(--font-mono); color: var(--accent);
  font-weight: 600; letter-spacing: 0.02em;
}
.enquiry__phone:hover { color: var(--accent-hover); }
.enquiry__terms {
  margin: 0; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.55;
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.94);
  display: grid; place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: white; font-size: 26px; cursor: pointer; line-height: 1;
  backdrop-filter: blur(6px);
  transition: background 120ms ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.16); }

/* ─── Selection ─── */
::selection { background: var(--accent); color: white; }
