/* Nudge Tags — site styles
   Paper, ink and brass. Nothing else. */

:root {
  --ink: #0B0B0D;
  --ink-soft: #23222411;
  --brass: #C2A15C;
  --brass-lt: #E4CE9B;
  --bone: #F7F5F0;
  --graphite: #6B6862;
  --paper: #EDE4D2;
  --paper-2: #E5DAC4;
  --paper-3: #F3ECDD;
  --green: #43792C;
  --rule: rgba(11, 11, 13, 0.12);
  --shadow: 0 24px 60px -28px rgba(48, 38, 20, 0.45);
  --font: "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

/* Never put overflow on <html>, <body> or an ancestor of the header — it
   silently kills position:sticky. Wide content clips itself instead. */
.photo, .stage-surface, .showcase { overflow: hidden; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0.012em;
  color: var(--ink);
  background-color: var(--paper);
  /* the paper: a warm wash plus a very fine grain, drawn not downloaded */
  background-image:
    radial-gradient(120% 90% at 12% -10%, rgba(255, 252, 244, 0.85), rgba(255, 252, 244, 0) 55%),
    radial-gradient(100% 80% at 100% 0%, rgba(194, 161, 92, 0.14), rgba(194, 161, 92, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* An author rule on `img` overrides the user agent's [hidden] rule, which is
   how a hidden fallback image ended up rendering on every page. */
[hidden] { display: none !important; }

a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--brass); }

::selection { background: var(--brass); color: #fff; }

/* ---------- type ---------- */

h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.012em; line-height: 1.1; }

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -0.004em; }

p { margin: 0 0 1.1em; }

.lede { font-size: clamp(1.1rem, 1.9vw, 1.32rem); line-height: 1.55; color: #2E2C29; max-width: 62ch; }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin: 0 0 1.1rem; display: block;
}

.muted { color: var(--graphite); }

.small { font-size: 0.9rem; line-height: 1.55; }

.brass-dot::after {
  content: ""; display: inline-block; width: 0.19em; height: 0.19em;
  border-radius: 50%; background: var(--brass); margin-left: 0.18em; vertical-align: baseline;
}

/* ---------- layout ---------- */

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.6rem, 780px); margin-inline: auto; }

section { padding: clamp(3.6rem, 8vw, 6.6rem) 0; }
section.tight { padding: clamp(2.6rem, 5vw, 4rem) 0; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(1.6rem, 3.4vw, 3rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { grid-template-columns: 1.05fr 0.95fr; align-items: center; }

@media (max-width: 880px) {
  .g-2, .g-3, .g-4, .split { grid-template-columns: 1fr; }
}

/* ---------- surfaces ---------- */

.dark {
  background: var(--ink);
  color: var(--bone);
  background-image:
    radial-gradient(90% 70% at 80% 0%, rgba(194, 161, 92, 0.13), rgba(0, 0, 0, 0) 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
.dark .lede { color: #C9C5BC; }
.dark .muted { color: #99958C; }
.dark .card { background: rgba(247, 245, 240, 0.045); border-color: rgba(247, 245, 240, 0.14); }
.dark .rule { background: rgba(247, 245, 240, 0.14); }

.card {
  background: rgba(255, 253, 247, 0.62);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  backdrop-filter: blur(6px);
}

.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.86rem 1.5rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bone); box-shadow: 0 10px 26px -14px rgba(11, 11, 13, 0.8); }
.btn-primary:hover { background: #1c1b1f; }
.btn-brass { background: var(--brass); color: #17140C; }
.btn-brass:hover { background: var(--brass-lt); }
.btn-ghost { border-color: rgba(11, 11, 13, 0.24); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(11, 11, 13, 0.04); }
.dark .btn-ghost { border-color: rgba(247, 245, 240, 0.3); color: var(--bone); }
.dark .btn-ghost:hover { background: rgba(247, 245, 240, 0.08); border-color: var(--bone); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* ---------- header ---------- */

header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(237, 228, 210, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}
header.site .mark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
header.site .mark img { height: 26px; width: auto; }
nav.main { display: flex; align-items: center; gap: 1.35rem; }
nav.main a:not(.btn) {
  font-size: 0.92rem; text-decoration: none; color: #2b2a27; font-weight: 500;
  position: relative; padding: 0.2rem 0;
}
/* the CTA is a button first and a nav link second — it keeps its own colours */
nav.main a.btn-primary { color: var(--bone); }
nav.main a.btn-brass { color: #17140C; }
nav.main a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--brass); transition: right 0.22s ease;
}
nav.main a:not(.btn):hover::after,
nav.main a[aria-current="page"]:not(.btn)::after { right: 0; }
nav.main a[aria-current="page"]:not(.btn) { color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule); border-radius: 8px;
  width: 40px; height: 36px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative;
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  nav.main {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper-3); border-bottom: 1px solid var(--rule);
    padding: 0.6rem 1.3rem 1.2rem; display: none;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 0.75rem 0; width: 100%; border-bottom: 1px solid var(--rule); }
  nav.main .btn { margin-top: 0.9rem; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(3rem, 7vw, 5.4rem) 0 clamp(2.6rem, 6vw, 4.4rem); }
.hero h1 { margin-bottom: 1rem; }
.hero .lede { margin-bottom: 1.9rem; }

.hero-stage {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  display: grid; place-items: center;
}
.hero-stage::before {
  content: ""; position: absolute; inset: 8%;
  background: radial-gradient(50% 50% at 50% 52%, rgba(255, 251, 242, 0.9), rgba(237, 228, 210, 0) 70%);
  border-radius: 50%;
}

/* ---------- viewer ---------- */

.viewer {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  touch-action: none; cursor: grab; outline: none; display: block;
  filter: drop-shadow(0 26px 34px rgba(60, 46, 22, 0.28));
  opacity: 0; transition: opacity 0.5s ease;
}
.viewer.is-ready { opacity: 1; }
.viewer.is-dragging { cursor: grabbing; }
.viewer:focus-visible { box-shadow: 0 0 0 2px var(--brass); border-radius: 12px; }

.viewer-hint {
  position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--graphite); pointer-events: none; white-space: nowrap;
}

.showroom { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
@media (max-width: 900px) { .showroom { grid-template-columns: 1fr; } }

.control { margin-bottom: 1.5rem; }
.control label {
  display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--graphite); margin-bottom: 0.55rem;
}
select.field {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 0.82rem 2.6rem 0.82rem 1rem;
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: rgba(255, 253, 247, 0.8); border: 1px solid rgba(11, 11, 13, 0.2);
  border-radius: 10px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C2A15C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
select.field:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(194, 161, 92, 0.22); }

.swatches { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.swatch {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(11, 11, 13, 0.18);
  cursor: pointer; padding: 0; position: relative; transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--brass); }
.swatch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.spec { list-style: none; padding: 0; margin: 1.6rem 0 0; border-top: 1px solid var(--rule); }
.spec li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.68rem 0; border-bottom: 1px solid var(--rule); font-size: 0.94rem;
}
.spec li span:first-child { color: var(--graphite); }
.spec li span:last-child { text-align: right; font-weight: 500; }

/* ---------- the small turning gallery ---------- */

.mini-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.6rem);
}
/* two-up under each card, so the finishes sit with the plaque they belong to */
.mini-grid.mini-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; }
/* the cards stretch to match each other so both sets of plaques line up */
.plaque-pair { align-items: stretch; }
.plaque-pair > .reveal { display: flex; flex-direction: column; }
.plaque-pair > .reveal > .card { flex: 1 1 auto; }
@media (max-width: 900px) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mini { margin: 0; text-align: center; }
.mini canvas {
  width: 100%; aspect-ratio: 1 / 1; display: block; cursor: grab;
  touch-action: none; outline: none;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
  opacity: 0; transition: opacity 0.5s ease;
}
.mini canvas.is-ready { opacity: 1; }
.mini canvas.is-dragging { cursor: grabbing; }
.mini figcaption {
  margin-top: 0.2rem; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #8E8A82;
}

.hardware-stage { display: grid; place-items: center; }
.hardware-stage canvas {
  width: min(100%, 380px); aspect-ratio: 1 / 1; display: block; cursor: grab;
  touch-action: none; outline: none; opacity: 0; transition: opacity 0.5s ease;
  filter: drop-shadow(0 22px 26px rgba(60, 46, 22, 0.30));
}
.dark .hardware-stage canvas { filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.5)); }
.hardware-stage canvas.is-ready { opacity: 1; }
.hardware-stage canvas.is-dragging { cursor: grabbing; }

/* ---------- table surfaces ---------- */

.stage-surface {
  position: relative; border-radius: 18px; overflow: hidden;
  transition: background 0.45s ease;
  background: var(--surface, radial-gradient(60% 60% at 50% 45%, #FBF7EE, #E9E0CD));
}
.stage-surface .hero-stage::before { display: none; }
.stage-surface[data-surface="dark"]   { --surface: radial-gradient(58% 58% at 50% 42%, #2B2B31, #121215); }
.stage-surface[data-surface="walnut"] { --surface: radial-gradient(58% 58% at 50% 42%, #6B4A2F, #3A2718); }
.stage-surface[data-surface="oak"]    { --surface: radial-gradient(58% 58% at 50% 42%, #C99C63, #9A7040); }
.stage-surface[data-surface="marble"] { --surface: radial-gradient(58% 58% at 50% 42%, #FFFFFF, #DCD9D2); }
.stage-surface[data-surface="dark"] .viewer-hint { color: #8E8A82; }

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)' opacity='0.07'/%3E%3C/svg%3E");
}

/* a finish swatch that is a real plaque, not a picture of one */
.finish-stage { position: relative; }
.finish-stage canvas {
  width: 100%; aspect-ratio: 1 / 1; display: block; cursor: grab;
  touch-action: none; outline: none; opacity: 0; transition: opacity 0.5s ease;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45));
}
.finish-stage canvas.is-ready { opacity: 1; }
.finish-stage canvas.is-dragging { cursor: grabbing; }
.finish-name {
  margin: 0.6rem 0 0; font-size: 0.74rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #A8A49B; text-align: center;
}

/* ---------- interactive dimensions ---------- */

.dims { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .dims { grid-template-columns: 1fr; } }

.dims-stage {
  background: rgba(255, 253, 247, 0.6); border: 1px solid var(--rule);
  border-radius: 16px; padding: 1rem 1rem 0.4rem;
}
.dims-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.6rem; }
.dims-tab {
  font-family: var(--font); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule); background: none; color: var(--graphite);
}
.dims-tab[aria-selected="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.dims-svg { width: 100%; height: auto; display: block; }
.dims-svg .body { fill: #E7D9BC; stroke: rgba(11,11,13,0.25); stroke-width: 1; }
.dims-svg .brass, .dims-svg .hair, .dims-svg .tapecircle { fill: none; stroke: var(--brass); stroke-width: 1; }
.dims-svg .hair { stroke: rgba(11,11,13,0.28); }
.dims-svg .tapecircle { stroke-dasharray: 4 4; }
.dims-svg .chip { fill: rgba(11,11,13,0.10); stroke: var(--brass); stroke-width: 1.2; }
.dims-svg .face { fill: var(--brass); opacity: 0.55; }
.dims-svg .tape { fill: rgba(11,11,13,0.35); }
.dims-svg .dot { fill: var(--brass); }
.dims-svg .divider { stroke: var(--brass); stroke-width: 1; }
.dims-svg .mark { font-family: var(--font); font-size: 26px; text-anchor: middle; fill: var(--ink); }
.dims-svg .cap { font-family: var(--font); font-size: 8px; letter-spacing: 1.4px; text-anchor: middle; fill: var(--graphite); }
.dims-svg .note { font-family: var(--font); font-size: 8.5px; fill: var(--graphite); }
.dims-svg .dimline line { stroke: rgba(11,11,13,0.45); stroke-width: 1; }
.dims-svg .dimline text { font-family: var(--font); font-size: 10px; text-anchor: middle; fill: var(--ink); }

/* the link between the list and the drawing */
.dims-svg [data-dim] { transition: opacity 0.18s ease; }
.dims-svg.is-focused [data-dim]:not(.lit) { opacity: 0.18; }
.dims-svg [data-dim].lit line, .dims-svg [data-dim].lit { stroke: var(--brass); }
.dims-svg .dimline.lit text, .dims-svg text.lit { fill: var(--ink); font-weight: 600; }
.dims-svg .dimline.lit line { stroke: var(--brass); stroke-width: 1.8; }

.dims-list .spec li { cursor: default; transition: background 0.15s ease; border-radius: 6px; }
.dims-list .spec li:hover, .dims-list .spec li.active { background: rgba(194, 161, 92, 0.16); }

/* ---------- steps ---------- */

.steps { counter-reset: step; }
.step-n {
  font-size: 0.72rem; letter-spacing: 0.2em; color: var(--brass);
  font-weight: 600; display: block; margin-bottom: 0.7rem;
}

/* the numbered walk-through — the numeral stands beside its words, set to the
   height of the block it belongs to, almost touching it */
.step { display: flex; align-items: stretch; gap: 0.65rem; }
.step .n {
  flex: 0 0 auto; display: flex; align-items: center;
  font-size: clamp(3.6rem, 6.2vw, 5.2rem); font-weight: 700; line-height: 0.86;
  letter-spacing: -0.05em; color: var(--brass);
  pointer-events: none; user-select: none;
}
.dark .step .n {
  color: transparent;
  -webkit-text-stroke: 1.6px var(--brass-lt);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}
.step-body { flex: 1 1 auto; min-width: 0; }
.step h3 { margin-bottom: 0.35rem; }
@media (max-width: 700px) { .step .n { font-size: 3.4rem; } }

/* ---------- details / faq ---------- */

details.faq {
  border-bottom: 1px solid var(--rule); padding: 0.35rem 0;
}
details.faq summary {
  list-style: none; cursor: pointer; padding: 1.05rem 2.4rem 1.05rem 0;
  font-size: 1.06rem; font-weight: 500; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 11px; height: 11px;
  border-right: 1.6px solid var(--brass); border-bottom: 1.6px solid var(--brass);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq .body { padding: 0 0 1.2rem; max-width: 68ch; color: #33312D; }
details.faq .body p:last-child { margin-bottom: 0; }

/* ---------- the montage band ---------- */

.montage-band { position: relative; overflow: hidden; isolation: isolate; }
.montage-band > canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -2; opacity: 0; transition: opacity 1.2s ease;
  pointer-events: none;
}
.montage-band > canvas.is-ready { opacity: 0.62; }
/* the scrim exists so the copy stays readable no matter what the shot is doing */
.montage-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,11,13,0.96) 0%, rgba(11,11,13,0.88) 38%, rgba(11,11,13,0.55) 100%),
    linear-gradient(180deg, rgba(11,11,13,0.85) 0%, rgba(11,11,13,0.35) 38%, rgba(11,11,13,0.88) 100%);
}
.montage-band .wrap { position: relative; z-index: 1; }
.montage-band h2, .montage-band .step h3 { text-shadow: 0 2px 18px rgba(0,0,0,0.85); }
.montage-band .step p { color: #D2CEC5; text-shadow: 0 1px 12px rgba(0,0,0,0.9); }

/* ---------- misc blocks ---------- */

.pull {
  border-left: 2px solid var(--brass); padding-left: 1.4rem;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.45; font-weight: 500;
}

.stat { font-size: clamp(2.2rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.stat + p { margin-top: 0.6rem; }

.photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: auto; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.tag-list li {
  font-size: 0.82rem; padding: 0.34rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--rule); color: var(--graphite);
}
.dark .tag-list li { border-color: rgba(247, 245, 240, 0.2); color: #A8A49B; }

/* ---------- footer ---------- */

footer.site { background: var(--ink); color: #A8A49B; padding: clamp(3rem, 6vw, 4.4rem) 0 2.4rem; font-size: 0.93rem; }
footer.site a { color: #D6D2C9; text-decoration: none; }
footer.site a:hover { color: var(--brass-lt); }
footer.site h4 { color: var(--bone); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 0.6rem; }
footer.site img.fmark { height: 24px; margin-bottom: 1rem; }
footer.site .base {
  margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(247, 245, 240, 0.14);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.84rem;
}
@media (max-width: 780px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- doc pages ---------- */

.doc { max-width: 74ch; }
.doc h2 { font-size: 1.35rem; margin-top: 2.6rem; }
.doc h3 { font-size: 1.05rem; margin-top: 1.8rem; }
.doc ul { padding-left: 1.15rem; }
.doc li { margin-bottom: 0.5rem; }

/* ---------- reveal ---------- */

/* Content is visible by default and stays visible — the entrance is pure
   decoration and must never be the reason a section cannot be read. Where the
   browser supports scroll-driven animations it fades in; where it doesn't,
   nothing happens at all. */
.reveal { opacity: 1; transform: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .swatch:hover { transform: none; }
}

/* ---------- enquiry form ---------- */

.form-card { padding: clamp(1.5rem, 2.8vw, 2.1rem); }
.field-row { margin-bottom: 1rem; }
.field-row label {
  display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--graphite); margin-bottom: 0.45rem;
}
input.field, textarea.field {
  width: 100%; padding: 0.8rem 1rem; font-family: var(--font); font-size: 1rem;
  color: var(--ink); background: rgba(255, 253, 247, 0.85);
  border: 1px solid rgba(11, 11, 13, 0.2); border-radius: 10px; resize: vertical;
}
input.field:focus, textarea.field:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(194, 161, 92, 0.22);
}
input.field.invalid, textarea.field.invalid { border-color: #A6402F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 0.9rem 0 0; min-height: 1.2em; }
.form-note.ok { color: #4A6B3A; }
.form-note.err { color: #A6402F; }
