/* Kraulain OÜ. Tokens and rules live in design-system/MASTER.md.
   Brand: gold #CC9900, light gold #FFE45B, charcoal, white. */

:root {
  --white:      #ffffff;
  --fog:        #f1f0ec;
  --ink:        #1f1e1b;
  --ink-2:      #4d4b45;
  --muted:      #66635c;
  --rule:       #e2e0da;
  --field:      #8c887e;
  --gold:       #cc9900;
  --gold-dk:    #b38600;
  --gold-text:  #8a6a00;
  --gold-hi:    #ffe45b;
  --char:       #2b2a27;
  --char-ink:   #ece9e1;
  --char-muted: #b4b0a6;
  --char-rule:  #46443f;
  --ok:         #2f7a46;
  --err:        #b3261e;

  color-scheme: light;
  --sans:  'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --fs-hero: clamp(2.6rem, 6vw, 4.5rem);
  --fs-h2:   clamp(1.85rem, 3.4vw, 2.75rem);
  --fs-h3:   1.3rem;
  --fs-stat: clamp(2.4rem, 5vw, 3.6rem);
  --fs-sm:   0.9375rem;
  --fs-meta: 0.875rem;

  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --wrap: 1240px;
  --gutter: 20px;
  --r-lg: 12px;
  --r-sm: 6px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}
@media (min-width: 800px) { :root { --gutter: 40px; } }

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 800px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--sans); text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--gold-hi); color: var(--ink); }
html { caret-color: var(--gold-text); accent-color: var(--gold); -webkit-tap-highlight-color: rgba(204, 153, 0, .18); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@supports (padding: max(0px)) {
  .container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
}
.container.narrow { max-width: 820px; }

.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 50;
  padding: 10px 16px; background: var(--ink); color: var(--white);
  font-family: var(--sans); font-weight: 600; text-decoration: none; border-radius: var(--r-sm);
}
.skip:focus { top: var(--s-3); }

.meta, .label { font-family: var(--sans); font-size: var(--fs-meta); }
.meta { color: var(--muted); }
.label { font-weight: 600; color: var(--ink-2); }

.text-link {
  font-family: var(--sans); font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: color .15s var(--ease), text-decoration-color .15s var(--ease);
}
.hero-actions .text-link, .situation .text-link, .project .text-link, .case .text-link {
  display: inline-flex; align-items: center; min-height: 44px;
}
.text-link:hover { color: var(--gold-text); text-decoration-color: var(--gold-text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-sm);
  background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center; text-wrap: balance;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .15s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--gold-dk); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: var(--fs-sm); }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--sans); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none;
}
.brand-ou { font-weight: 400; color: var(--gold-text); }

.nav { display: none; font-family: var(--sans); font-size: var(--fs-sm); }
.nav-links a, .lang a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; color: var(--ink-2); transition: color .15s var(--ease);
}
.nav-links a:hover, .lang a:hover { color: var(--ink); }
.nav-links a.is-current { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lang { display: flex; gap: 0; }
.lang a { justify-content: center; min-width: 44px; padding: 0 6px; font-size: var(--fs-meta); color: var(--muted); }
.lang a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--field); border-radius: var(--r-sm); background: transparent;
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.site-header.open .nav-toggle-bars { background: transparent; }
.site-header.open .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.site-header.open .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-header.open .nav {
    display: flex; flex-direction: column; gap: var(--s-4);
    position: absolute; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--s-2) var(--gutter) var(--s-6);
    background: var(--white); border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 32px -24px rgba(31, 30, 27, .35);
  }
  .site-header.open .nav-links a { display: flex; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 1.125rem; color: var(--ink); }
  .site-header.open .lang { margin-left: -8px; }
  .site-header.open .nav .btn { min-height: 48px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: var(--s-5); }
  .nav-links { display: flex; gap: var(--s-5); }
  .lang { padding-left: var(--s-4); border-left: 1px solid var(--rule); }
  .nav-toggle { display: none; }
}

/* ── hero ── */
.hero { padding: var(--s-8) 0 var(--s-8); }
@media (min-width: 800px) { .hero { padding: var(--s-9) 0 var(--s-9); } }
.hero-title {
  font-size: var(--fs-hero); font-weight: 650; line-height: 1.02; letter-spacing: -0.035em;
}
@media (max-width: 639px) { .hero-title { text-wrap: pretty; } }
@media (min-width: 640px) { .hero-title { max-width: 15ch; } }
@media (min-width: 1024px) { .hero-title { max-width: 20ch; } }
.hero-sub { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
@media (min-width: 960px) { .hero-sub { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: end; margin-top: var(--s-7); } }
.hero-lead { color: var(--ink-2); max-width: 36em; font-size: 1.0625em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
@media (max-width: 559px) { .hero-actions .btn { width: 100%; } }
.hero-recent {
  display: flex; flex-wrap: wrap; gap: 4px var(--s-4);
  margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-2);
}
.hero-figure { margin-top: var(--s-6); }
.shot {
  overflow: hidden; border-radius: var(--r-lg); background: var(--fog);
  box-shadow: 0 0 0 1px rgba(31, 30, 27, .1), 0 30px 60px -40px rgba(31, 30, 27, .45);
}
.shot img { width: 100%; }
@media (max-width: 639px) { .hero-figure .shot img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 18% 0; } }
figcaption { text-wrap: pretty; margin-top: var(--s-3); font-family: var(--sans); font-size: var(--fs-meta); color: var(--muted); max-width: 52em; }

/* ── blocks ── */
.block { padding: var(--s-8) 0; }
@media (min-width: 800px) { .block { padding: var(--s-9) 0; } }
.block + .block { border-top: 1px solid var(--rule); }
.block-title { font-size: var(--fs-h2); font-weight: 650; line-height: 1.08; letter-spacing: -0.025em; max-width: 18ch; }
.block-intro { color: var(--ink-2); max-width: 34em; }
.block-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
@media (min-width: 960px) { .block-head { grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: end; } }
.split { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: var(--s-8); } }

.dash-list li { position: relative; padding-left: 22px; }
.dash-list li + li { margin-top: var(--s-3); }
.dash-list li::before { content: ''; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--gold); }

/* ── situations ── */
.situations { padding-top: 0; }
@media (min-width: 800px) { .situations { padding-top: var(--s-4); } }
.situation-grid { display: grid; margin-top: var(--s-6); }
@media (min-width: 960px) { .situation-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); margin-top: var(--s-7); } }
.situation { display: flex; flex-direction: column; align-items: flex-start; padding: var(--s-5) 0 var(--s-6); border-top: 2px solid var(--ink); }
.situation h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.situation p { margin: var(--s-3) 0 var(--s-4); color: var(--ink-2); }
.situation .text-link { margin-top: auto; }

/* ── work: the charcoal drawing sheet ── */
.work { padding-bottom: var(--s-8); }
@media (min-width: 800px) { .work { padding-bottom: var(--s-9); } }
.sheet { background: var(--char); color: var(--char-ink); padding: var(--s-8) 0; }
@media (min-width: 800px) { .sheet { padding: var(--s-9) 0; } }
.sheet .block-title { color: var(--white); }
.sheet .meta { color: var(--char-muted); }
.sheet .text-link { color: var(--white); }
.sheet .hero-actions .text-link, .situation .text-link, .project .text-link, .case .text-link {
  display: inline-flex; align-items: center; min-height: 44px;
}
.text-link:hover { color: var(--gold-hi); text-decoration-color: var(--gold-hi); }
.sheet :focus-visible { outline-color: var(--gold-hi); }

.case { margin-top: var(--s-7); }
.case-head { padding-bottom: var(--s-5); border-bottom: 1px solid var(--char-rule); }
.case-head h3 { margin-top: var(--s-2); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--white); max-width: 24ch; }
.case-stats { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
@media (min-width: 700px) { .case-stats { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.case-stats div { padding-top: var(--s-4); border-top: 2px solid var(--gold); }
.case-stats dt {
  font-family: var(--sans); font-size: var(--fs-stat); font-weight: 600; line-height: 1;
  letter-spacing: -0.03em; color: var(--gold-hi); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
.case-stats dd { margin-top: var(--s-3); font-family: var(--sans); font-size: var(--fs-sm); color: var(--char-ink); max-width: 22em; }
.case-cols { display: grid; gap: 0 var(--s-8); margin-top: var(--s-5); }
@media (min-width: 960px) { .case-cols { grid-template-columns: 1fr 1fr; } }
.case h4 { margin: var(--s-6) 0 var(--s-2); font-size: 1rem; font-weight: 650; color: var(--gold-hi); }
.case-cols p, .case-cols li { color: var(--char-ink); }
.case-cols p + p { margin-top: var(--s-4); }

.case-figure { margin-top: var(--s-8); }
.case-figure figcaption { color: var(--char-muted); }
.flow-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  padding: var(--s-6) var(--s-5); border: 1px solid var(--char-rule); border-radius: var(--r-lg);
  background-color: #252421;
  background-image: radial-gradient(circle, rgba(236, 233, 225, .08) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.flow { width: 100%; min-width: 680px; color: var(--char-muted); }
.flow-scroll.can-scroll { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.flow-scroll { scrollbar-width: thin; scrollbar-color: var(--char-rule) transparent; }
.flow .nodes rect { fill: var(--char); stroke: #6b685f; stroke-width: 1.25; }
.flow .nodes rect.key { stroke: var(--gold-hi); stroke-width: 1.5; }
.flow .nodes rect.out { fill: var(--gold-hi); stroke: var(--gold-hi); }
.flow .nodes rect.out + text { fill: var(--ink); font-weight: 650; }
.flow text { font-family: var(--sans); }
.flow .nodes text { text-anchor: middle; fill: var(--white); font-weight: 500; }
.flow text.small { fill: var(--char-muted); font-size: 12px; font-weight: 400; }
.flow .side text { fill: var(--white); font-weight: 600; }
.flow .side text.small { fill: var(--char-muted); font-weight: 400; }

/* one request, traced in a single pass; the provider that answered stays lit */
.flow .prov { transition: stroke .3s var(--ease), stroke-width .3s var(--ease); }
.flow.is-playing .prov { transition-delay: 2.3s; }
.flow[data-route="0"] .prov-0, .flow[data-route="1"] .prov-1, .flow[data-route="2"] .prov-2 { stroke: var(--gold-hi); stroke-width: 1.5; }
.flow .p { fill: var(--gold-hi); opacity: 0; filter: drop-shadow(0 0 4px rgba(255, 228, 91, .8)); }
.flow .p4 { display: none; }
.flow[data-route="0"] .p4-0, .flow[data-route="1"] .p4-1, .flow[data-route="2"] .p4-2 { display: inline; }
.flow .p1   { offset-path: path('M118 70H186'); }
.flow .p2   { offset-path: path('M354 70H422'); }
.flow .p3   { offset-path: path('M506 96V138'); }
.flow .p4-0 { offset-path: path('M470 186L330 224'); }
.flow .p4-1 { offset-path: path('M506 186V224'); }
.flow .p4-2 { offset-path: path('M542 186L682 224'); }
.flow .p5   { offset-path: path('M590 70H658'); }
.flow.is-playing .p { animation: pulse .6s cubic-bezier(.4, 0, .2, 1) both; }
.flow.is-playing .p2 { animation-delay: .6s; }
.flow.is-playing .p3 { animation-delay: 1.2s; }
.flow.is-playing .p4 { animation-delay: 1.8s; }
.flow.is-playing .p5 { animation-delay: 2.4s; }
@keyframes pulse {
  0%   { offset-distance: 0%;   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
[data-flow] { cursor: pointer; }

/* other projects */
.projects { display: grid; gap: var(--s-8); padding-top: var(--s-8); }
@media (min-width: 800px) { .projects { grid-template-columns: 1fr 1fr; gap: var(--s-7); padding-top: var(--s-9); } }
.project-shot {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: var(--s-5);
  border-radius: var(--r-lg); background: var(--fog);
  box-shadow: 0 0 0 1px rgba(31, 30, 27, .1);
}
.project-shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.project-shot:hover > img { transform: scale(1.015); }
.project-shot.is-phones { display: flex; justify-content: center; align-items: flex-start; gap: var(--s-4); padding: var(--s-5) var(--s-5) 0; background: #ebe5d8; }
.project-shot.is-phones > img { width: auto; height: 118%; object-fit: contain; border: 4px solid var(--char); border-radius: 16px; }
.project-shot.is-phones:hover > img { transform: translateY(-4px); }
.project h3 { font-size: 1.4rem; font-weight: 650; letter-spacing: -0.015em; }
.project .meta { margin-top: 2px; }
.project-text { margin: var(--s-3) 0; color: var(--ink-2); max-width: 36em; }

.more { margin-top: var(--s-8); }
.more-title { font-size: var(--fs-h3); font-weight: 650; padding-bottom: var(--s-4); border-bottom: 2px solid var(--ink); }
.more-list { display: grid; }
@media (min-width: 800px) { .more-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }
.more-list > div { padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.more-list dt { font-family: var(--sans); font-weight: 650; font-size: 1.0625rem; }
.more-list dt .meta { display: block; font-weight: 400; margin-top: 2px; }
.more-list dd { margin-top: var(--s-2); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }

/* ── services: a price list, not a card grid ── */
.offers { display: grid; gap: var(--s-3); }
.offer {
  display: grid; gap: var(--s-5); padding: var(--s-6) var(--s-5);
  background: var(--fog); border-radius: var(--r-lg);
}
@media (min-width: 800px) { .offer { padding: var(--s-6); } }
@media (min-width: 1024px) { .offer { grid-template-columns: 5fr 6fr; gap: var(--s-8); align-items: start; } }
.offer h3 { font-size: 1.45rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.offer-main p { margin-top: var(--s-2); color: var(--ink-2); max-width: 30em; }
.offer-main .offer-price { margin-top: var(--s-4); font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.offer-price .label { margin-right: 4px; color: var(--muted); font-weight: 500; }
.offer .dash-list { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 1024px) { .offer .dash-list { padding-top: 6px; } }
.offer:target { box-shadow: inset 0 0 0 2px var(--gold); }

/* ── process: the one real sequence, on its own band ── */
.block.band { background: var(--fog); border-top: 0; }
.block.band + .block { border-top: 0; }
.steps { display: grid; margin-top: var(--s-7); counter-reset: step; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); } }
.steps li { position: relative; padding: 0 0 var(--s-6) 64px; }
.steps li::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #d6d3cb; }
.steps li:last-child::before { display: none; }
@media (min-width: 1024px) {
  .steps li { padding: 72px 0 0; }
  .steps li::before { left: 56px; right: calc(var(--s-6) * -1); top: 21px; bottom: auto; width: auto; height: 2px; }
}
.step-n {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--fog);
  font-family: var(--sans); font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps h3 { padding-top: 8px; font-size: var(--fs-h3); font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
@media (min-width: 1024px) { .steps h3 { padding-top: 0; } }
.steps p { margin-top: var(--s-2); color: var(--ink-2); font-size: 1rem; }

/* ── why ── */
.why { display: grid; gap: 0 var(--s-7); }
@media (min-width: 700px) { .why { grid-template-columns: 1fr 1fr; } }
.why > div { padding: var(--s-5) 0 var(--s-6); border-top: 2px solid var(--ink); }
.why dt { font-family: var(--sans); font-size: 1.15rem; font-weight: 650; line-height: 1.3; }
.why dd { margin-top: var(--s-2); color: var(--ink-2); }

/* ── faq ── */
.faq details { border-top: 1px solid var(--rule); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: var(--s-5) 48px var(--s-5) 0;
  font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.35;
  transition: color .15s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-text); }
.faq summary::before, .faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; margin-top: -1px;
  background: var(--gold); transition: transform .2s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px var(--s-5) 0; color: var(--ink-2); max-width: 40em; }

/* ── contact ── */
.contact { background: var(--white); }
.contact-text { margin-top: var(--s-4); color: var(--ink-2); max-width: 30em; }
.contact-email {
  margin-top: var(--s-6); font-family: var(--sans);
  font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere;
}
.contact-email a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.contact-email a:hover { color: var(--gold-text); }
.contact-other { margin-top: var(--s-4); font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.contact-other a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.contact-other a:hover { color: var(--gold-text); text-decoration: underline; }

.form { display: grid; gap: var(--s-4); align-self: start; padding: var(--s-6) var(--s-5); background: var(--fog); border-radius: var(--r-lg); }
@media (min-width: 800px) { .form { padding: var(--s-7) var(--s-6); } }
.form-title { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.01em; }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { text-wrap: balance; }
.field { display: grid; gap: 6px; align-content: start; font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field-error { font-weight: 500; color: var(--err); }
.field-error:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--field); border-radius: var(--r-sm); background: var(--white);
  font-family: var(--serif); font-size: 1.0625rem; font-weight: 400; line-height: 1.5;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold); }
.form .btn { justify-self: start; margin-top: var(--s-2); }
@media (max-width: 559px) { .form .btn { justify-self: stretch; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; min-height: 1.5em; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ── mobile CTA: appears once the hero CTA has scrolled away, hides at the contact form ── */
.mobile-cta {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 15;
  min-height: 52px; box-shadow: 0 10px 30px -10px rgba(31, 30, 27, .45);
  visibility: hidden; opacity: 0; transform: translateY(16px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.mobile-cta.is-visible { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
@media (min-width: 1024px) { .mobile-cta { display: none; } }
@media (max-width: 1023px) { html { scroll-padding-bottom: 88px; } }

/* ── footer ── */
.site-footer { background: var(--char); color: var(--char-ink); font-family: var(--sans); font-size: var(--fs-sm); padding: var(--s-8) 0 0; }
.site-footer a { text-decoration: none; color: var(--white); transition: color .15s var(--ease); }
.site-footer a:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--gold-hi); }
.footer-inner { display: grid; gap: var(--s-6); }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr 1.6fr; } }
.footer-brand { display: flex; gap: var(--s-4); align-items: center; }
.footer-name { font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.footer-name .brand-ou { color: var(--gold-hi); }
.footer-tagline { margin-top: 2px; color: var(--char-muted); }
.footer-cols { display: grid; gap: var(--s-4); line-height: 2.4; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-5);
  margin-top: var(--s-7); padding-top: var(--s-4); padding-bottom: var(--s-4);
  position: relative; font-size: var(--fs-meta); color: var(--char-muted);
}
.footer-bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--char-rule); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--char-ink); }
.footer-links a:first-child { padding-left: 0; margin-right: var(--s-3); }
.footer-links a[aria-current] { color: var(--gold-hi); font-weight: 700; }

/* ── inner pages ── */
.page-hero { padding: var(--s-8) 0 var(--s-2); }
@media (min-width: 800px) { .page-hero { padding: var(--s-9) 0 var(--s-3); } }
.h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 650; line-height: 1.05; letter-spacing: -0.03em; }
.section-lead { margin-top: var(--s-4); color: var(--ink-2); font-size: 1.125em; max-width: 34em; }
.page-body { padding: var(--s-6) 0 var(--s-9); }
.prose { color: var(--ink-2); }
.container.narrow.prose, .container.narrow:has(> .section-lead) { max-width: calc(38em + 2 * var(--gutter)); }
.prose h2 { margin: var(--s-7) 0 var(--s-3); padding-top: var(--s-4); border-top: 2px solid var(--ink); font-size: 1.4rem; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: var(--s-4); }
.prose ul { list-style: none; }
.prose li { position: relative; padding-left: 22px; }
.prose li + li { margin-top: var(--s-2); }
.prose li::before { content: ''; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--gold); }
.prose strong { color: var(--ink); font-family: var(--sans); font-weight: 600; }
.prose a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.not-found { padding: var(--s-9) 0 var(--s-10); }
.not-found-code {
  font-family: var(--sans); font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: .9;
  letter-spacing: -0.04em; color: var(--gold-text); font-variant-numeric: tabular-nums;
}
.not-found .h1 { margin-top: var(--s-5); }
.not-found-home { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s-5); font-size: 1.25rem; }

/* ── motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .flow .p { display: none; }
}
