/* KS Media site (redesign, 29 October 2026). One stylesheet for every page.

   Every choice traces to research/design-references/README.md (the steal list):
   - condensed heavy capitals for display and prices (Hook Agency), a sturdy neutral grotesk for
     text (Basecamp, Mailchimp); open stand-ins until G-27
   - white page, warm near-black ink (Mailchimp), one loud lime accent for the main action and
     highlights (Hook Agency), a mint strip for the free offer (Rise at Seven)
   - a dark rounded hero panel inset from the page edges (Exposure Ninja), the product's output as
     the hero visual (Ahrefs), highlighter behind key words (Whitespark), hand-drawn marks
     (Basecamp), prices beside every service (Bigfork), big tappable rows (Sterling Sky)
   - uneven vertical rhythm and radii chosen by role, not one value everywhere
   Motion: the highlighter draws in once and arrows nudge on hover. Nothing moves under reduced
   motion. Faces are declared in css/fonts.css. */

:root {
  --ink: #1d1a15;
  --ink-2: #47423a;
  --muted: #6b655b;
  --page: #ffffff;
  --grey: #f2f1ed;
  --grey-2: #e6e4de;
  --line: #dcd9d1;
  --lime: #d8ff3e;
  --lime-deep: #b8e000;
  --mint: #c8f3e3;
  --on-ink: #ffffff;
  --on-ink-muted: #b9b3a8;
  --display: "Big Shoulders Display", "Big Shoulders Fallback", Impact, "Arial Narrow", sans-serif;
  --text: "Albert Sans", "Albert Sans Fallback", Arial, sans-serif;
  --gutter: clamp(16px, 3.4vw, 40px);
  --max: 1320px;
  --measure: 36rem;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .hero-panel :focus-visible, .footer :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--on-ink); border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- type ---------- */

.display, .h1, .h2, .h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.display { font-size: clamp(3.25rem, 8.2vw, 7.5rem); line-height: 0.9; }
.h1 { font-size: clamp(2.9rem, 6.6vw, 5.75rem); line-height: 0.92; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 0.95; }
.h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1; letter-spacing: 0.01em; }

/* Highlighter behind a heading's key word (Whitespark, Basecamp). */
.display em, .h1 em, .h2 em, .h3 em {
  font-style: normal;
  padding: 0 0.06em;
  margin: 0 -0.02em;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.42em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* On the dark hero the key words take the accent as their colour (Whitespark), underlined by a
   hand-drawn lime stroke that draws in once (Basecamp). */
.hero-panel .display em { color: var(--lime); background-image: none; padding: 0; margin: 0; }
.demo-foot a { white-space: nowrap; }

.kicker, .eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: var(--measure); }
.small { font-size: 0.875rem; color: var(--muted); }
.price { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 13px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font: 700 1rem/1.15 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-deep); border-color: var(--lime-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--on-ink); }
.hero-panel .btn--line, .on-ink .btn--line { color: var(--on-ink); border-color: rgba(255, 255, 255, 0.5); }
.hero-panel .btn--line:hover, .on-ink .btn--line:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.arrow { display: inline-block; transition: transform 0.25s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }
.link-line { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- header: mint strip, bar, pill (Rise at Seven) ---------- */

.nav { position: sticky; top: 0; z-index: 50; background: var(--page); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.strip { background: var(--mint); font-size: 0.9375rem; font-weight: 600; text-align: center; }
.strip a { display: block; padding: 9px var(--gutter); text-decoration: none; }
.strip a:hover { text-decoration: underline; }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 1.85rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.wordmark span { background: linear-gradient(var(--lime), var(--lime)) 0 85% / 100% 0.38em no-repeat; padding: 0 0.04em; }
.nav-menu { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-list a { padding-block: 8px; font-size: 0.975rem; font-weight: 600; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; text-decoration-color: var(--lime-deep); }
.nav-cta { display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--lime); color: var(--ink); }
.nav-toggle { display: none; min-height: 44px; margin-left: auto; padding: 8px 18px; border: 2px solid var(--ink); border-radius: 999px; background: none; color: inherit; font: 700 0.95rem/1 var(--text); cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 20px; margin: 0; padding: 16px var(--gutter) 28px; background: var(--page); border-bottom: 1px solid var(--line); display: none; }
  .nav-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav-list a { display: block; font-family: var(--display); font-weight: 800; font-size: 2.1rem; text-transform: uppercase; padding-block: 4px; }
}

/* ---------- home hero: dark inset panel (Exposure Ninja) with the check as its visual (Ahrefs) ---------- */

.hero { padding: clamp(12px, 1.6vw, 24px) 0 clamp(48px, 6vw, 88px); }
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 28px;
  background: var(--ink);
  color: var(--on-ink);
}
.hero-panel .kicker { color: var(--on-ink-muted); margin-bottom: 20px; }
.hero-panel .lead { color: #e7e2d8; margin-top: 24px; }
.hero-panel .actions { margin-top: 32px; }
@media (max-width: 960px) { .hero-panel { grid-template-columns: 1fr; } }

.demo { position: relative; }
.demo-card { background: var(--page); color: var(--ink); border-radius: 18px; padding: 20px 20px 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04); transform: rotate(-1deg); }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.demo-head p { font-weight: 700; font-size: 0.9375rem; }
.demo-head span { font-size: 0.8125rem; color: var(--muted); }
.demo table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.demo th, .demo td { padding: 10px 6px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.demo thead th { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.demo tbody th { font-weight: 500; }
.demo td.r, .demo th.r { text-align: right; padding-right: 0; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.tag--no { background: var(--grey-2); }
.tag--yes { background: var(--lime); }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; font-size: 0.8125rem; color: var(--muted); }
.demo-foot a { color: var(--ink); font-weight: 700; }
/* Hand-drawn marks (Basecamp). Decorative, single-stroke SVG. */
.mark { position: absolute; pointer-events: none; color: var(--lime); }
.mark path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mark--circle { right: -14px; top: 92px; width: 118px; }
.mark--note { left: -6px; bottom: -44px; display: flex; align-items: flex-end; gap: 6px; color: var(--on-ink); font-weight: 700; font-size: 0.875rem; }
.mark--note svg { width: 44px; color: var(--lime); }
@media (max-width: 960px) { .mark--note { position: static; margin-top: 18px; } }

/* ---------- section scaffolding (rhythm varies by section on purpose) ---------- */

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--short { padding-block: clamp(40px, 5vw, 72px); }
.section--grey { background: var(--grey); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head .h2 { max-width: 15ch; }
.section-head .lead { max-width: 30rem; }
.label { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--grey-2); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }
.section--grey .label { background: var(--page); }

/* ---------- services as big rows with prices beside them (Sterling Sky, Bigfork) ---------- */

.rows { border-top: 2px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 10px 32px;
  align-items: center;
  padding: clamp(18px, 2.4vw, 28px) 16px;
  margin-inline: -16px;
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: background-color 0.2s;
}
a.row:hover { background: var(--grey); }
.row-name { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 0.95; text-transform: uppercase; }
.row-text { color: var(--ink-2); max-width: 32rem; }
.row-price { justify-self: end; text-align: right; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--lime); white-space: nowrap; }
.chip small { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.chip .price { font-size: 1.35rem; line-height: 1; }
.chip--grey { background: var(--grey-2); }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr auto; }
  .row-text { grid-column: 1 / -1; grid-row: 2; }
  .row-price { grid-column: 2; grid-row: 1; }
}
@media (max-width: 420px) {
  .row { grid-template-columns: 1fr; }
  .row-price { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; }
}
.rows-note { margin-top: 18px; font-size: 0.875rem; color: var(--muted); }

/* ---------- free offers as two coloured cards (Rise at Seven, Mailchimp) ---------- */

.free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.free-card {
  display: grid;
  align-content: space-between;
  gap: 36px;
  min-height: 320px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 18px;
  background: var(--mint);
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.free-card:nth-child(2) { background: var(--lime); }
.free-card:hover { transform: translateY(-3px); }
.free-card .h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 0.95; max-width: 14ch; }
.free-card-text { color: var(--ink); max-width: 28rem; }
.free-card-go { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
@media (max-width: 720px) { .free-grid { grid-template-columns: 1fr; } .free-card { min-height: 0; } }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.step { position: relative; padding: 26px 26px 30px; border: 2px solid var(--ink); border-radius: 18px; background: var(--page); }
.step .h3 { margin-bottom: 12px; }
.step p { color: var(--ink-2); }
.step-when { display: block; margin-bottom: 18px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.cf-line { margin-top: clamp(32px, 4vw, 48px); padding: 18px 22px; border-radius: 14px; background: var(--grey); color: var(--ink-2); }
.cf-line a { font-weight: 700; color: var(--ink); }

/* ---------- closing band: full lime (Hook, Mailchimp) ---------- */

.close { background: var(--lime); padding-block: clamp(64px, 10vw, 140px); }
.close .display { max-width: 12ch; }
.close-mail { display: inline-block; margin-top: 28px; font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.close .actions { margin-top: 32px; }

/* ---------- inner page heads ---------- */

.page-head { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px); }
.page-head .kicker { margin-bottom: 18px; }
.page-head .h1 { max-width: 16ch; }
.page-head .lead { margin-top: 22px; }
.vat { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--grey-2); font-size: 0.8125rem; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------- services page groups ---------- */

.menu-group { padding-block: clamp(36px, 5vw, 64px); border-top: 2px solid var(--ink); }
.menu-group > .grid { row-gap: 20px; }
.menu-group-head { grid-column: 1 / span 4; }
.menu-group-head .h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.menu-group-head p { margin-top: 12px; color: var(--ink-2); max-width: 22rem; }
.menu { grid-column: 5 / span 8; }
@media (max-width: 900px) { .menu-group-head, .menu { grid-column: 1 / -1; } }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.item:first-child { padding-top: 0; }
.item-name { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.item-name a { text-decoration: none; }
.item-name a:hover { text-decoration: underline; }
.item-price { justify-self: end; }
.item-text { grid-column: 1 / -1; color: var(--ink-2); max-width: 36rem; }
@media (max-width: 480px) { .item { grid-template-columns: 1fr; } .item-price { justify-self: start; } }
.terms-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.terms-strip > div { padding: 20px 22px; border-radius: 14px; background: var(--grey); }
.terms-strip dt { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.terms-strip dd { color: var(--ink); }
@media (max-width: 760px) { .terms-strip { grid-template-columns: 1fr; } }
.aside-line { margin-top: 20px; padding-bottom: clamp(48px, 6vw, 80px); color: var(--ink-2); }

/* ---------- offer pages ---------- */

.fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.fact-grid > div { padding: 20px; border-radius: 16px; background: var(--grey); }
.fact-grid > div:nth-child(3) { background: var(--lime); }
.fact-grid dt { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }
.fact-grid > div:nth-child(3) dt { color: var(--ink); }
.fact-grid dd { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 0.95; }
.fact-grid dd small { display: block; margin-top: 10px; font-family: var(--text); font-weight: 400; text-transform: none; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.fact-grid > div:nth-child(3) dd small { color: var(--ink); }
.fact-grid .vat { background: var(--page); }
@media (max-width: 960px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fact-grid { grid-template-columns: 1fr; } }

.offer-section { padding-block: clamp(48px, 6vw, 88px); }
.offer-section + .offer-section { border-top: 1px solid var(--line); }
.offer-section--tint { background: var(--grey); border-top: 0 !important; }
.offer-section--tint + .offer-section { border-top: 0; }
.offer-section > .grid { row-gap: 20px; }
.offer-section .offer-label { grid-column: 1 / span 3; padding-top: 6px; }
.offer-section .offer-label span { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--grey-2); font-size: 0.8125rem; font-weight: 700; }
.offer-section--tint .offer-label span { background: var(--page); }
.offer-section .offer-body { grid-column: 4 / span 9; min-width: 0; }
.offer-section .offer-body > .h2 { margin-bottom: clamp(22px, 3vw, 36px); max-width: 16ch; }
@media (max-width: 900px) { .offer-section .offer-label, .offer-section .offer-body { grid-column: 1 / -1; padding-top: 0; } }

.spec { border-top: 2px solid var(--ink); }
.spec li { display: grid; grid-template-columns: minmax(5.5rem, 1.2fr) minmax(0, 3fr) minmax(0, 4fr); gap: 6px 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.spec .n { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1.2; }
.spec .what { font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.spec .why { color: var(--ink-2); }
@media (max-width: 720px) { .spec li { grid-template-columns: 1fr; } }

.exhibit { margin: clamp(28px, 4vw, 48px) 0 0; padding: clamp(18px, 2.4vw, 28px); border-radius: 18px; border: 2px solid var(--ink); background: var(--page); }
.exhibit-head { margin-bottom: 14px; }
.exhibit-no { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--mint); font-size: 0.75rem; font-weight: 700; }
.exhibit-title { margin-top: 10px; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.exhibit-sub, .exhibit-source { font-size: 0.875rem; color: var(--muted); }
.exhibit-sub { margin-top: 4px; }
.exhibit-source { margin-top: 14px; max-width: 44rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 11px 14px 11px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.data-table tbody th { font-weight: 700; }
.data-table .r { text-align: right; }
.data-table tfoot th, .data-table tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--ink); }
.data-table td small, .data-table th small { display: block; font-weight: 400; color: var(--muted); }
@media (max-width: 720px) {
  .data-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table.stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .data-table.stack th, .data-table.stack td { padding: 0; border: 0; text-align: left; }
  .data-table.stack tbody th, .data-table.stack tfoot th { grid-column: 1 / -1; }
  .data-table.stack td::before { content: attr(data-label); display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
  .data-table.stack tfoot tr { border-top: 2px solid var(--ink); }
}
.status { white-space: nowrap; }
.status--won { padding: 1px 8px; border-radius: 999px; background: var(--lime); font-weight: 700; }
.template { margin: 18px 0; padding: clamp(20px, 3vw, 30px); border-radius: 16px; background: var(--grey); font-size: 1rem; }
.template p + p { margin-top: 10px; }
.template .subject { font-weight: 700; }

/* ---------- forms ---------- */

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(14px, 2vw, 24px); }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }
.offer-form { max-width: 44rem; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.95rem; font-weight: 700; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field .hint { display: block; font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.4 var(--text);
  transition: border-color 0.15s;
}
.offer-section--tint .field input, .offer-section--tint .field textarea, .offer-section--tint .field select { border-color: var(--grey-2); }
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime); }
.field [aria-invalid="true"] { border-color: #a1281b; }
.field-hint { font-size: 0.875rem; color: var(--muted); }
.field-error { font-size: 0.875rem; font-weight: 600; color: #a1281b; }
.form-foot { display: grid; gap: 12px; margin-top: 6px; }
.form-foot p { font-size: 0.875rem; color: var(--muted); max-width: 32rem; }
.form-status { min-height: 1.5em; font-size: 1rem; font-weight: 600; color: var(--ink); max-width: 32rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; padding-bottom: clamp(64px, 9vw, 120px); }
.contact-side { grid-column: 1 / span 4; display: grid; align-content: start; gap: 12px; }
.contact-side > div { padding: 18px 20px; border-radius: 14px; background: var(--grey); }
.contact-side > div:last-child { background: var(--mint); }
.contact-side dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.contact-side dd { font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-side dd a { text-decoration: none; }
.contact-side dd a:hover { text-decoration: underline; }
.contact-form { grid-column: 6 / span 7; }
@media (max-width: 900px) { .contact-side, .contact-form { grid-column: 1 / -1; } }

/* ---------- about ---------- */

.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts-row > div { padding: 20px 22px; border-radius: 16px; background: var(--grey); }
.facts-row dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.facts-row dd { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1; }
@media (max-width: 720px) { .facts-row { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 14px; padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.split:last-child { border-bottom: 0; padding-bottom: clamp(64px, 8vw, 112px); }
.split > .eyebrow { grid-column: 1 / span 3; padding-top: 4px; }
.split > .eyebrow span, .split > p.eyebrow { font-size: 0.8125rem; font-weight: 700; }
.split > .split-body { grid-column: 4 / span 8; display: grid; gap: 14px; }
.split p { color: var(--ink-2); max-width: var(--measure); }
.split .h3 { color: var(--ink); }
@media (max-width: 900px) { .split > .eyebrow, .split > .split-body { grid-column: 1 / -1; } }
.plain-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 30px; color: var(--ink-2); max-width: var(--measure); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 16px; height: 9px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }

/* ---------- prose, articles ---------- */

.prose { max-width: 44rem; padding-bottom: clamp(64px, 9vw, 120px); }
.prose h2 { margin: 48px 0 14px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 1.15rem; font-weight: 700; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 1.25em; display: grid; gap: 8px; }
.prose a { overflow-wrap: anywhere; }
.prose dl.facts { margin: 20px 0; border-top: 2px solid var(--ink); }
.prose dl.facts > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 4px 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.prose dl.facts dt { font-weight: 700; }
.prose dl.facts dd { color: var(--ink-2); }
@media (max-width: 560px) { .prose dl.facts > div { grid-template-columns: 1fr; } }
.article-meta { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }
.article-body { padding-bottom: clamp(64px, 9vw, 120px); }
.article-body .prose { padding-bottom: 0; }
.article-body .exhibit { max-width: 44rem; margin-block: 36px; }
.note-box { margin-top: 32px; padding: 20px 24px; border-radius: 16px; background: var(--mint); }
.note-box p { color: var(--ink); }
.article-list { display: grid; gap: 12px; padding-bottom: clamp(64px, 9vw, 120px); }
.article-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr); gap: 10px 28px; align-items: baseline; padding: clamp(20px, 2.6vw, 30px); border-radius: 18px; background: var(--grey); text-decoration: none; transition: background-color 0.2s; }
a.article-row:hover { background: var(--mint); }
.article-row time { font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.article-row p { color: var(--ink-2); }
@media (max-width: 900px) { .article-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: var(--on-ink); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.footer-brand { grid-column: 1 / span 6; }
.footer-brand .wordmark { font-size: clamp(3rem, 7vw, 5.5rem); color: var(--on-ink); }
.footer-brand .wordmark span { color: var(--lime); background: none; }
.footer-brand p { margin-top: 18px; max-width: 26rem; color: var(--on-ink-muted); }
.footer-col { grid-column: span 2; }
.footer-h { margin-bottom: 14px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lime); }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-place { color: var(--on-ink-muted); }
@media (max-width: 900px) { .footer-brand { grid-column: 1 / -1; } .footer-col { grid-column: span 4; } }
@media (max-width: 560px) { .footer-col { grid-column: span 6; } .footer-col:nth-child(2) { grid-column: 1 / -1; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.8125rem; color: var(--on-ink-muted); }
.footer-base p { max-width: 52rem; }
.footer-base .legal-links { display: flex; gap: 20px; }

/* ---------- work (ready for permitted projects; markup in _drafts/) ---------- */

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.tile { display: block; text-decoration: none; }
.tile--wide { grid-column: 1 / -1; }
.tile-media { overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; background: var(--grey); }
.tile-media img, .tile-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; }
.tile-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.tile-kind { color: var(--muted); }
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }
.delivered, .metric-headline { padding-block: clamp(40px, 6vw, 80px); }

/* ---------- 404 ---------- */

.lost { min-height: 56vh; display: grid; align-content: center; padding-block: 80px; }
.lost .actions { margin-top: 32px; }

/* ---------- motion ---------- */

/* Reveals are added by js/studio.js only when motion is allowed, so nothing is ever hidden
   without JavaScript. */
.js-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js-reveal { opacity: 1; transform: none; }
}

@media print { .nav, .footer, .close { display: none; } }
@media (max-width: 960px) { .mark--circle { display: none; } }
