/* PURE MARBLE — the book-match */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #e9ebe8;
  --ground-2: #dde0dc;
  --ink: #141615;
  --ink-soft: #3d423f;
  --ink-faint: #5d6360;
  --rule: rgba(20, 22, 21, 0.16);
  --verde: #1d4a3b;
  --verde-deep: #133628;
  --verde-night: #0f1f19;
  --on-verde: #edf2ee;
  --on-verde-soft: #b9c9bf;
  --seam: #1d4a3b;

  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --gutter: clamp(16px, 3.4vw, 52px);
  --max: 1480px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: 84px;
  scrollbar-color: #9aa19c var(--ground);
}
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--verde); color: var(--on-verde); }
img { height: auto; }
img, svg { display: block; max-width: 100%; }
a, button, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(29, 74, 59, 0.16); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--verde); color: var(--on-verde); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------------ */
/* Header strip                                                       */
/* ------------------------------------------------------------------ */

.strip { position: sticky; top: 0; z-index: 50; background: rgba(233, 235, 232, 0.94); border-bottom: 1px solid var(--rule); }
.strip__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: 64px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap;
  font-weight: 750; font-stretch: 80%; font-size: clamp(1.25rem, 1.8vw, 1.45rem); letter-spacing: 0.06em; text-transform: uppercase;
  font-variation-settings: "opsz" 48;
}
.wordmark svg { width: 24px; height: 24px; flex: none; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: block; padding: 8px 0; font-size: 0.95rem; font-weight: 550; color: var(--ink-soft); text-decoration: none; transition: color 160ms var(--ease-out); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--verde); transform: scaleX(0); transform-origin: center; transition: transform 260ms var(--ease-out); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 1px solid var(--rule); color: var(--ink); font: inherit; font-size: 0.95rem; font-weight: 600; padding: 10px 14px; min-height: 44px; cursor: pointer; }
.menu-btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .strip .strip__cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--rule); display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; padding: 6px var(--gutter) 18px; }
  .nav__link { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--verde); font-weight: 700; }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 22px; background: var(--verde); color: var(--on-verde);
  border: 0; border-radius: 0; font: inherit; font-size: 0.98rem; font-weight: 650;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 220ms var(--ease-out); }
.btn:hover { background: var(--verde-deep); text-decoration: none; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn--light { background: var(--on-verde); color: var(--verde-night); }
.btn--light:hover { background: #ffffff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 220ms var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* Type                                                               */
/* ------------------------------------------------------------------ */

h1, h2, h3 { margin: 0; text-wrap: balance; font-variation-settings: "opsz" 96; }
.display { font-weight: 700; font-stretch: 78%; font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 0.92; letter-spacing: -0.025em; }
.h2 { font-weight: 680; font-stretch: 80%; font-size: clamp(2.1rem, 4.2vw, 3.8rem); line-height: 0.98; letter-spacing: -0.02em; }
.h3 { font-weight: 650; font-stretch: 88%; font-size: clamp(1.3rem, 1.8vw, 1.65rem); line-height: 1.15; letter-spacing: -0.01em; font-variation-settings: "opsz" 32; }
.lede { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.55; max-width: 46ch; margin: 0; color: var(--ink-soft); text-wrap: pretty; }
.prose p { max-width: 64ch; color: var(--ink-soft); text-wrap: pretty; }
.prose p strong { color: var(--ink); font-weight: 650; }
.tag { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ */
/* The book: one slab, mirrored at the seam                            */
/* ------------------------------------------------------------------ */

.book {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  perspective: 2400px;
  background: var(--ground-2);
  overflow: hidden;
}
.book__half { position: relative; margin: 0; overflow: hidden; }
.book__half img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.book__half--r img { transform: scaleX(-1); }
.book[data-match="slip"] .book__half--r img { transform: none; object-position: 0% 50%; }
.book[data-match="end"] .book__half--r img { transform: scaleY(-1) scaleX(-1); }
.book::after {
  /* the seam */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-0.5px);
  background: rgba(20, 22, 21, 0.28);
  pointer-events: none;
}
.book--dark::after { background: rgba(237, 242, 238, 0.55); }
.book--seam-green::after { background: var(--seam); width: 2px; transform: translateX(-1px); }
.hero .book::after {
  /* the seam steps back behind the headline */
  -webkit-mask: linear-gradient(to bottom, #000 0 18%, transparent 26% 66%, #000 74%);
  mask: linear-gradient(to bottom, #000 0 18%, transparent 26% 66%, #000 74%);
}

@media (prefers-reduced-motion: no-preference) {
  .js .book--opens .book__half--l { transform-origin: 100% 50%; animation: open-l 1200ms var(--ease-out) 150ms backwards; }
  .js .book--opens .book__half--r { transform-origin: 0% 50%; animation: open-r 1200ms var(--ease-out) 150ms backwards; }
  @keyframes open-l { from { transform: rotateY(62deg); filter: brightness(0.7); } to { transform: none; filter: none; } }
  @keyframes open-r { from { transform: rotateY(-62deg); filter: brightness(0.7); } to { transform: none; filter: none; } }
}

/* ------------------------------------------------------------------ */
/* Hero                                                               */
/* ------------------------------------------------------------------ */

.hero { position: relative; overflow: clip; }
.hero .book { height: min(calc(100svh - 64px), 900px); min-height: 560px; }
.hero__over {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: 1fr auto;
  justify-items: center;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(24px, 3vw, 40px);
  pointer-events: none;
}
.hero__title { position: relative; z-index: 1; align-self: center; text-align: center; display: grid; gap: 22px; justify-items: center; max-width: 1100px; }
.hero__title .display { color: var(--ink); }
.hero__title .lede { color: #232725; text-align: center; max-width: 52ch; }
.hero__title > * { pointer-events: auto; }

/* sample request: sits on the seam */
.sample {
  position: relative; z-index: 1;
  pointer-events: auto;
  width: min(100%, 760px);
  background: var(--verde); color: var(--on-verde);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0 18px; align-items: end;
  padding: 16px clamp(16px, 2.4vw, 26px) 18px;
}
.sample__title { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid rgba(237, 242, 238, 0.25); margin-bottom: 4px; }
.sample__title b { font-weight: 700; font-stretch: 85%; font-size: 1.15rem; letter-spacing: 0.01em; }
.sample__title span { font-size: 0.85rem; color: var(--on-verde-soft); }
.sample .field { border-bottom-color: rgba(237, 242, 238, 0.35); }
.sample .field label { color: var(--on-verde-soft); }
.sample .field select { color: var(--on-verde); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23edf2ee' stroke-width='2'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); }
.sample .field:focus-within { border-bottom-color: var(--on-verde); }
.sample .field:focus-within label { color: var(--on-verde); }
.sample :focus-visible { outline-color: var(--on-verde); }
@media (max-width: 720px) {
  .hero { display: grid; }
  .hero__over { display: contents; }
  .hero .book { grid-row: 1; grid-column: 1; height: auto; min-height: 0; aspect-ratio: 3 / 4; }
  .hero__title { grid-row: 1; grid-column: 1; align-self: center; justify-self: center; padding: 0 var(--gutter); gap: 14px; }
  .hero__title .lede { font-size: 1rem; }
  .hero__title::before { content: ""; position: absolute; inset: -18% 0; z-index: -1; background: radial-gradient(closest-side, rgba(236, 238, 235, 0.9), rgba(236, 238, 235, 0.65) 55%, rgba(236, 238, 235, 0)); }
  .sample { grid-row: 2; width: 100%; grid-template-columns: 1fr; }
  .sample .btn { width: 100%; justify-content: space-between; margin-top: 14px; }
}

/* ------------------------------------------------------------------ */
/* Fields                                                             */
/* ------------------------------------------------------------------ */

.field { display: grid; gap: 2px; padding: 10px 0 8px; border-bottom: 1.5px solid var(--rule); min-width: 0; }
.field label, .field legend { font-size: 0.82rem; font-weight: 650; color: var(--ink-faint); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; background: transparent; border: 0; border-radius: 0; padding: 4px 0 2px;
  color: var(--ink); font: inherit; font-size: 1.05rem; font-weight: 550; caret-color: var(--verde);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23141615' stroke-width='2'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 14px; padding-right: 24px; cursor: pointer;
}
.field select option { color: #111; background: #fff; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #545c58; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field:focus-within { border-bottom-color: var(--verde); }
.field:focus-within label { color: var(--ink); }
.field[data-invalid] { border-bottom-color: #a3290f; }
.field__error { font-size: 0.85rem; font-weight: 600; color: #9a2410; }
.field__count { justify-self: end; font-size: 0.82rem; font-weight: 600; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.field__count[data-near] { color: #9a2410; }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--ground) inset; -webkit-text-fill-color: var(--ink); }

/* ------------------------------------------------------------------ */
/* Sections: halves either side of the seam                            */
/* ------------------------------------------------------------------ */

.section { position: relative; padding-block: clamp(80px, 10vw, 152px); }
.section::before {
  /* the seam continues down the page between sections */
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: clamp(48px, 6vw, 96px);
  background: var(--seam); transform: translateX(-0.5px);
}
.section--flush::before { display: none; }
.halves { display: grid; grid-template-columns: 1fr 1fr; }
.halves > * { min-width: 0; }
.halves > :first-child { padding-right: clamp(20px, 4vw, 64px); }
.halves > :last-child { padding-left: clamp(20px, 4vw, 64px); border-left: 1px solid var(--rule); }
.halves--head { align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.halves--head > :last-child { border-left: 0; }
.centered { text-align: center; display: grid; justify-items: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.centered .lede { text-align: center; }
@media (max-width: 860px) {
  .halves { grid-template-columns: 1fr; }
  .halves > :first-child { padding-right: 0; }
  .halves > :last-child { padding-left: 0; border-left: 0; margin-top: 28px; }
}

.reasons { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.reasons li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.reasons b { font-weight: 650; font-stretch: 88%; font-size: 1.25rem; font-variation-settings: "opsz" 32; }
.reasons span { color: var(--ink-soft); }

/* ------------------------------------------------------------------ */
/* Stone families: a run of opened pairs                               */
/* ------------------------------------------------------------------ */

.family { display: grid; gap: 14px; text-decoration: none; }
.family .book { height: clamp(240px, 30vw, 420px); }
.family__label {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 18px;
}
.family__label .h3 { grid-column: 2; text-align: center; }
.family__label .tag:first-child { justify-self: end; text-align: right; color: var(--ink-faint); }
.family__label .tag:last-child { justify-self: start; color: var(--ink-faint); }
a.family:hover .h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.families { display: grid; gap: clamp(48px, 6vw, 88px); }
.families--two { grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 64px) clamp(24px, 3vw, 48px); }
.families--two .family .book { height: clamp(220px, 22vw, 320px); }
@media (max-width: 860px) {
  .families--two { grid-template-columns: 1fr; }
  .family__label { grid-template-columns: 1fr; text-align: center; gap: 4px; }
  .family__label .h3 { grid-column: 1; grid-row: 1; }
  .family__label .tag:first-child, .family__label .tag:last-child { justify-self: center; text-align: center; }
}

/* matching patterns */
.matcher { display: grid; gap: 18px; }
.matcher > * { min-width: 0; }
.matcher .book { height: clamp(280px, 34vw, 480px); }
.matcher__controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; border: 1px solid var(--ink); width: fit-content; max-width: 100%; margin-inline: auto; flex-wrap: nowrap; }
@media (max-width: 480px) { .matcher__controls { width: 100%; } .matcher__controls button { flex: 1 1 0; padding: 10px 6px; font-size: 0.9rem; } }
.matcher__controls button {
  min-height: 46px; padding: 10px 20px; background: transparent; border: 0; border-left: 1px solid var(--ink);
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.matcher__controls button:first-child { border-left: 0; }
.matcher__controls button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.matcher__controls button:hover:not([aria-pressed="true"]) { background: rgba(20, 22, 21, 0.06); }
.matcher__note { text-align: center; margin: 0 auto; max-width: 60ch; color: var(--ink-soft); min-height: 3.2em; }

/* sourcing route: steps alternate across the seam */
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--seam); transform: translateX(-0.5px); }
.route li { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-block: clamp(20px, 3vw, 40px); position: relative; }
.route li::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; background: var(--verde); transform: translate(-50%, -50%) rotate(45deg); }
.route__text { padding-inline: clamp(24px, 4vw, 64px); display: grid; gap: 8px; }
.route__text p { margin: 0; color: var(--ink-soft); }
.route__media { margin: 0; padding-inline: clamp(24px, 4vw, 64px); }
.route__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.route li:nth-child(even) .route__text { order: 2; }
.route li:nth-child(odd) .route__text { text-align: right; justify-items: end; }
@media (max-width: 860px) {
  .route::before { left: 8px; }
  .route li { grid-template-columns: 1fr; padding-left: 32px; gap: 14px; }
  .route li::after { left: 8px; top: 34px; }
  .route li:nth-child(even) .route__text { order: 0; }
  .route li:nth-child(odd) .route__text { text-align: left; justify-items: start; }
  .route__text, .route__media { padding-inline: 0; }
}

/* engineered stone note: a dark verde band */
.band { background: var(--verde-night); color: var(--on-verde); }
.band .lede, .band .prose p { color: var(--on-verde-soft); }
.band .section::before, .band.section::before { background: var(--on-verde-soft); }
.band a { color: var(--on-verde); }

/* finishes / edges */
.finishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.finishes > div { padding: 22px clamp(12px, 1.6vw, 24px) 0 0; display: grid; gap: 10px; align-content: start; }
.finishes > div + div { padding-left: clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--rule); }
.finishes p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.swatch { height: 120px; background-size: cover; background-position: center; }
.edges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.edges figure { margin: 0; padding: 22px 14px 0 0; display: grid; gap: 10px; }
.edges figure + figure { padding-left: 14px; border-left: 1px solid var(--rule); }
.edges svg { width: 100%; height: auto; }
.edges figcaption b { display: block; font-weight: 650; }
.edges figcaption span { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 960px) {
  .finishes { grid-template-columns: 1fr 1fr; }
  .finishes > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .edges { grid-template-columns: 1fr 1fr; }
  .edges figure:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) { .finishes, .edges { grid-template-columns: 1fr; } .finishes > div, .finishes > div + div, .edges figure, .edges figure + figure { border-left: 0; padding-left: 0; } }

.spec { margin: 0; display: grid; grid-template-columns: minmax(130px, auto) 1fr; border-top: 1px solid var(--ink); }
.spec dt, .spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-weight: 650; padding-right: 16px; }
.spec dd { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .spec { grid-template-columns: 1fr; } .spec dt { border-bottom: 0; padding-bottom: 0; } }

.stone-entry { scroll-margin-top: 80px; }
.stone-entry + .stone-entry { margin-top: clamp(72px, 9vw, 128px); }
.stone-entry:target .family__label .h3 { color: var(--verde); }


.photo { margin: 0; }
.photo--band img { width: 100%; height: clamp(260px, 34vw, 520px); object-fit: cover; }
.photo--band figcaption { margin-top: 10px; }
.photo img { width: 100%; object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--ink-faint); }

/* contact */
.docket { display: grid; gap: 0; }
.docket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.docket__head b { font-weight: 700; font-stretch: 82%; font-size: clamp(1.5rem, 2.4vw, 2rem); font-variation-settings: "opsz" 64; }
.docket__head span { font-size: 0.85rem; color: var(--ink-faint); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.docket__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.docket__note { margin: 0; font-size: 0.88rem; color: var(--ink-faint); max-width: 38ch; }
.sent { margin-top: 16px; padding: 14px 16px; background: var(--verde-night); color: var(--on-verde); font-size: 0.95rem; line-height: 1.5; }
.sent[hidden] { display: none; }
@media (max-width: 460px) {
  .row2 { grid-template-columns: 1fr; }
  .docket__actions { flex-direction: column; align-items: stretch; }
  .docket .btn { width: 100%; justify-content: space-between; }
}
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; border-top: 1px solid var(--ink); }
.facts dt, .facts dd { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.facts dt { font-weight: 650; }
.facts dd { color: var(--ink-soft); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform 220ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 62ch; }

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.foot { position: relative; background: var(--verde-night); color: var(--on-verde-soft); padding-block: clamp(56px, 7vw, 96px) 28px; }
.foot::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 48px; background: var(--on-verde-soft); opacity: 0.5; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); }
.foot .wordmark { color: var(--on-verde); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.foot__brand p { margin: 14px 0 0; max-width: 34ch; font-size: 0.95rem; }
.foot h2 { font-size: 0.88rem; font-weight: 650; color: var(--on-verde); margin-bottom: 12px; font-variation-settings: "opsz" 14; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: var(--on-verde); text-decoration: underline; }
.foot dl { margin: 0; display: grid; gap: 10px; }
.foot dt { font-size: 0.82rem; font-weight: 650; color: #8ea597; }
.foot dd { margin: 2px 0 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid rgba(237, 242, 238, 0.16); font-size: 0.85rem; color: #8ea597; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

.lost { min-height: 60vh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
