/* Bite the Bits – site styles (ported from the Claude Design file) */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); }

:root {
  --bg: #F4F2ED; --ink: #16181B; --acc: #C4411A; --line: #DCD8CF; --white: #FFFFFF;
  --t2: #3E4247; --t3: #4A4E54; --muted: #5A5E64; --faint: #B9B5AC; --sand: #E8E5DE; --body: #2A2D31;
  --d-text: #D9D7D2; --d-muted: #A9ACB0; --d-faint: #8A8D92; --d-line: #33363B;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
button, input, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--bg); }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-quote { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section-tight-top { padding-top: 0; }
.section-flush { padding: 0; }
.section-pad-bottom { padding-bottom: clamp(72px, 9vw, 120px); }
.section-xl { padding-block: clamp(80px, 11vw, 160px); }
.section-white { background: var(--white); }
.bordered { border-block: 1px solid var(--line); }
.bordered-top { border-top: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--bg); }

/* Stacks */
.stack-4, .stack-8, .stack-20, .stack-24, .stack-28, .stack-32, .stack-40, .stack-lg, .stack-xl, .stack-quote { display: flex; flex-direction: column; }
.stack-4 { gap: 4px; } .stack-8 { gap: 8px; } .stack-20 { gap: 20px; } .stack-24 { gap: 24px; } .stack-28 { gap: 28px; } .stack-32 { gap: 32px; } .stack-40 { gap: 40px; }
.stack-lg { gap: clamp(40px, 5vw, 64px); } .stack-xl { gap: clamp(40px, 5vw, 72px); } .stack-quote { gap: clamp(28px, 3vw, 40px); }
.align-start { align-items: flex-start; } .align-self-start { align-self: flex-start; }
.narrow { max-width: 760px; }

/* Grids */
.grid-2, .grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.eyebrow-dark { color: var(--d-muted); }
.h-display { font-size: clamp(48px, 7.4vw, 104px); line-height: .95; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.h-section { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.h-card { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
.h-card-lg { font-size: 26px; line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.h-step { font-size: 28px; letter-spacing: -.025em; font-weight: 700; line-height: 1.1; }
.h-step-lg { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; font-weight: 700; line-height: 1; }
.h-cta { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; max-width: 16em; text-wrap: balance; }
.h-cta-xl { font-size: clamp(34px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; max-width: 15em; text-wrap: balance; }
.h-article { font-size: clamp(38px, 5.6vw, 76px); line-height: 1; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.h-article-card { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; text-wrap: pretty; }
.h-article-card a { color: inherit; }
.h-contact { font-size: clamp(44px, 6.2vw, 88px); line-height: .97; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.h-scan { font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.h-sent { font-size: 32px; letter-spacing: -.03em; font-weight: 700; }
.accent { color: var(--acc); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--t2); max-width: 34em; text-wrap: pretty; }
.page-head .lead { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; }
.page-head-stack .lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; max-width: 30em; }
.lead-sm { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--t2); max-width: 36em; text-wrap: pretty; }
.lead-on-dark { color: var(--d-text); }
.text { font-size: 17px; line-height: 1.55; color: var(--t3); text-wrap: pretty; }
.text-sm { font-size: 16px; line-height: 1.55; color: var(--t3); text-wrap: pretty; }
.num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.num-acc { color: var(--acc); }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.mono-note { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--d-muted); font-size: 15px; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; line-height: 1.2; padding: 15px 22px; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.btn-sm { font-size: 14px; padding: 11px 18px; border-width: 0; white-space: nowrap; }
.btn-lg { font-size: 16px; padding: 16px 26px; }
.btn-accent { background: var(--acc); color: #fff; }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-accent.btn-invert:hover { background: var(--bg); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--acc); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-underline { font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--acc); padding-bottom: 4px; }
.link-underline:hover { color: var(--acc); }
.back-link { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--t3); }
.back-link:hover { color: var(--acc); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244, 242, 237, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-light { color: var(--bg); }
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.logo-mark { display: grid; grid-template-columns: 10px 10px; gap: 3px; flex: none; }
.logo-mark span { width: 10px; height: 10px; background: currentColor; }
.logo-mark .acc { background: var(--acc); transform: translate(3px, -3px); }
.main-nav { display: none; align-items: center; gap: 28px; }
.main-nav a { font-size: 15px; font-weight: 500; padding: 6px 0; color: var(--t3); border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--acc); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; gap: 2px; font-family: var(--mono); font-size: 12px; }
.lang-switch a { display: block; padding: 6px 7px; color: var(--t3); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--bg); }
.header-actions > .lang-switch, .header-actions > .book { display: none; }
.menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-toggle > span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); padding: 12px var(--gutter) 28px; display: flex; flex-direction: column; gap: 4px; background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { font-size: 26px; font-weight: 600; letter-spacing: -.02em; padding: 10px 0; color: var(--t3); }
.mobile-menu > a[aria-current] { color: var(--ink); }
.lang-switch-lg { font-size: 13px; gap: 4px; margin: 12px 0 16px; }
.lang-switch-lg a { padding: 12px 14px; }
@media (min-width: 1100px) {
  .main-nav { display: flex; }
  .header-actions > .lang-switch, .header-actions > .book { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 820px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero-visual { display: flex; justify-content: center; }
.motif { position: relative; width: 100%; max-width: 260px; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (min-width: 820px) { .motif { max-width: 460px; } }
.motif.done { cursor: crosshair; }
.motif-static { position: absolute; inset: 0; width: 100%; height: 100%; }
.motif .b { position: absolute; display: block; }
.motif .pac { position: absolute; z-index: 2; overflow: visible; }

/* Problems */
.problems { gap: clamp(24px, 3vw, 48px); }
.problem { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }

/* Step tiles (home) */
.section-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.step-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 560px) { .step-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .step-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step-tile { background: var(--bg); padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 28px; min-height: 280px; }
.step-tile-top { display: flex; justify-content: space-between; align-items: flex-start; }
.step-tile-body { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.cells { display: grid; grid-template-columns: repeat(3, 14px); gap: 4px; flex: none; }
.cells > span { width: 14px; height: 14px; }
.cells-lg { grid-template-columns: repeat(3, 18px); gap: 5px; }
.cells-lg > span { width: 18px; height: 18px; }
.cells-row { grid-template-columns: repeat(3, 14px); }
.cells .on { background: var(--ink); } .cells .acc { background: var(--acc); } .cells .off { box-shadow: inset 0 0 0 1px var(--faint); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card-link { color: var(--ink); min-height: 300px; gap: 18px; transition: border-color .2s, transform .2s; }
.card-link:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.card-top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.card-more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--acc); }
.badge { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--acc); color: #fff; padding: 5px 9px; }
.card-service { padding: clamp(28px, 3vw, 40px); min-height: 260px; scroll-margin-top: 96px; }
.card-service .text-sm { line-height: 1.6; }
.value { gap: 12px; }
.value-tag { font-size: 17px; line-height: 1.55; color: var(--t3); }
.value-body { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--t2); text-wrap: pretty; }

/* Quotes */
.quote-section { padding-block: clamp(72px, 10vw, 144px); }
.qmark { display: grid; grid-template-columns: repeat(2, 14px); gap: 4px; }
.qmark > span { width: 14px; height: 14px; background: var(--acc); }
.qmark > .off { background: none; box-shadow: inset 0 0 0 1px var(--faint); }
.qmark-dark > .off { box-shadow: inset 0 0 0 1px var(--muted); }
.pull-quote { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.18; letter-spacing: -.025em; font-weight: 500; font-style: italic; text-wrap: pretty; }
.pull-quote em { color: var(--acc); font-style: italic; }
.quote-by { border-top: 1px solid var(--line); padding-top: 20px; font-size: 18px; font-weight: 600; }
.section-quote-dark { padding-block: clamp(72px, 10vw, 140px); }
.section-quote-dark .wrap-quote { width: min(1080px, 100% - 2 * var(--gutter)); }
.statement { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }

/* Credentials strip */
.creds { padding-block: clamp(32px, 4vw, 44px); }
.cred-list { gap: 20px 40px; }
.cred-list li { display: flex; align-items: baseline; gap: 14px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty; }
.sq { flex: none; width: 10px; height: 10px; background: var(--acc); transform: translateY(-1px); display: inline-block; }
.facts { border-top: 1px solid var(--d-line); padding-top: 24px; font-size: 15px; line-height: 1.6; color: var(--d-muted); text-wrap: pretty; }

/* CTA */
.cta-inline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-box { background: var(--ink); color: var(--bg); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-box .h-cta { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; }

/* Page heads */
.page-head { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head-inner { display: flex; flex-direction: column; gap: 24px; }
.page-head-split { padding-bottom: clamp(48px, 6vw, 80px); }
.page-head-split .page-head-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 80px; align-items: end; }
.page-head-stack { padding-bottom: clamp(56px, 7vw, 96px); }
.page-head-stack .page-head-inner { gap: 28px; }

/* Approach rows */
.step-rows { display: flex; flex-direction: column; padding-bottom: clamp(0px, 1vw, 8px); }
.step-row { border-top: 1px solid var(--ink); padding: clamp(28px, 4vw, 48px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px 48px; }
.step-row-head { display: flex; align-items: center; gap: 24px; }
.step-row .lead-sm { align-self: center; }

/* Services */
.scan-block { background: var(--ink); color: var(--bg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px 64px; align-items: start; scroll-margin-top: 96px; }
.scan-tags { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.scan-tags .badge { padding: 6px 10px; }
.scan-terms { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--d-muted); }
.services-list { padding-top: clamp(24px, 3vw, 32px); padding-bottom: clamp(72px, 9vw, 128px); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 820px) { .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.portrait { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.role { font-family: var(--mono); font-size: 13px; color: var(--acc); }
.facts-list { border-top: 1px solid var(--line); }
.facts-list > div { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts-list dd { font-size: 16px; line-height: 1.55; color: var(--t2); }

/* Testimonials */
.testimonials { padding-block: clamp(64px, 9vw, 120px); margin-bottom: clamp(72px, 9vw, 120px); }
.testimonials .wrap-quote { width: min(1080px, 100% - 2 * var(--gutter)); }
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.t-nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--t3); background: none; color: var(--bg); font-size: 18px; cursor: pointer; }
.icon-btn:hover { border-color: var(--bg); }
.t-slides { display: flex; flex-direction: column; gap: 56px; }
.t-slide blockquote { font-size: clamp(24px, 3vw, 40px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; text-wrap: pretty; }
.t-slide figcaption { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--d-line); padding-top: 24px; font-size: 18px; font-weight: 600; }
.is-carousel .t-slides { display: grid; }
.is-carousel .t-slide { grid-area: 1 / 1; transition: opacity .35s; }
.is-carousel .t-slide[aria-hidden="true"] { opacity: 0; visibility: hidden; }
.t-dots { display: flex; gap: 6px; justify-content: flex-end; margin-top: -8px; }
.t-dots button { background: none; border: 0; padding: 12px 0; cursor: pointer; }
.t-dots button span { display: block; width: 28px; height: 4px; background: var(--t3); }
.t-dots button[aria-current="true"] span { background: var(--bg); }

/* Insights */
.article-cards { gap: clamp(24px, 3vw, 40px); }
.article-card { position: relative; display: flex; flex-direction: column; gap: 20px; }
.article-card.no-image { border-top: 2px solid var(--ink); padding-top: 24px; }
.article-card-img { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.stretched::after { content: ""; position: absolute; inset: 0; }
.card-cta { font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--acc); align-self: flex-start; padding-bottom: 3px; }
.article-card:hover .card-cta { color: var(--acc); }
.is-soon .card-cta { color: var(--d-faint); border-bottom-color: transparent; }
.is-soon.no-image { border-top-color: var(--faint); }

/* Article & documents */
.article { padding-top: clamp(40px, 6vw, 72px); }
.doc { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 128px); }
.article-head { max-width: 980px; }
.article-head .lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.preview-flag { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px dashed var(--acc); color: var(--acc); padding: 3px 8px; }
.article-hero-img { aspect-ratio: 21 / 9; min-height: 220px; background: var(--sand); overflow: hidden; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; width: 100%; margin-inline: auto; display: flex; flex-direction: column; gap: 24px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.65; color: var(--body); }
.prose p { text-wrap: pretty; }
.prose h2 { margin: 16px 0 -12px; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
.prose h3 { margin: 8px 0 -12px; font-size: 20px; font-weight: 700; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.prose ol:not(.steps) { list-style: decimal; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.prose ol.steps { margin: 8px 0; border-top: 1px solid var(--line); }
.prose ol.steps li { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 8px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.prose ol.steps .k { display: flex; align-items: baseline; gap: 10px; }
.prose ol.steps .n { font-family: var(--mono); font-size: 12px; color: var(--acc); }
.prose ol.steps strong { font-size: 18px; font-weight: 700; }
.prose ol.steps .t { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
@media (max-width: 520px) { .prose ol.steps li { grid-template-columns: minmax(0, 1fr); } }
.prose blockquote { margin: 24px 0; padding-left: 28px; border-left: 3px solid var(--acc); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; font-style: italic; color: var(--ink); text-wrap: pretty; }
.prose .fineprint { margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--t3); }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.share-row .btn { padding: 14px 20px; }

/* Contact */
.contact { padding-bottom: clamp(72px, 9vw, 128px); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(48px, 6vw, 96px); align-items: start; }
.contact .lead { max-width: 28em; }
.promise { display: flex; gap: 14px; align-items: baseline; font-size: 17px; line-height: 1.55; color: var(--t2); max-width: 30em; }
.contact-lines { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.contact-lines a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--acc); }
.contact-lines .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; align-self: center; flex: none; }
.form-box { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); scroll-margin-top: 96px; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input { font-size: 17px; padding: 14px 0; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; outline: none; color: var(--ink); border-radius: 0; }
.field input:focus { border-bottom-color: var(--acc); }
.field textarea { font-size: 17px; line-height: 1.5; padding: 14px; border: 1.5px solid var(--ink); background: transparent; outline: none; resize: vertical; color: var(--ink); border-radius: 0; }
.field textarea:focus { border-color: var(--acc); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-note a { text-decoration: underline; }
.form-error { background: #FBEDE8; border-left: 3px solid var(--acc); padding: 12px 16px; font-size: 16px; color: var(--ink); }
.contact-form .btn { align-self: flex-start; }
.sent { padding: 24px 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--d-text); padding: clamp(56px, 7vw, 88px) 0 32px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 480px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a { color: var(--d-text); }
.footer-col a:hover { color: #fff; }
.footer-company { font-size: 14px; line-height: 1.5; color: var(--d-muted); }
.footer-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--d-faint); margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid var(--d-line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--d-faint); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--d-muted); }
.footer-links a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
