/* Geist variable font (weights 100–900 in one file; the page uses 300, 400 and 500) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Switzer"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/switzer-400.woff2") format("woff2"); }
@font-face { font-family: "Switzer"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/switzer-500.woff2") format("woff2"); }

/* ==========================================================
   KB Ventures: brushed metal and piano-black glass, calm and light.
   One container, one easing curve, one card style. The design system is in brand.md.
   ========================================================== */
:root {
  --bg-obsidian: #0D0E12;
  --bg-graphite: #1A1C23;
  --text-platinum: #E4E6ED;
  --silver-brushed: #8A8F9E;
  --text-2: #B3B8C4;          /* lead paragraphs and card text (8:1 or better on every surface) */
  --label: #9CA2B0;           /* small labels (6:1 or better) */
  --gold-champagne: #D4AF37;
  --border-premium: 1px solid rgba(138, 143, 158, .2);
  --radius-card: 2px;
  --radius-pill: 2px;

  /* surface and shine */
  --bg-deep: #0D0E12;        /* obsidian */
  --light: 168, 186, 222;
  --edge: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0));
  --sheen: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .045) 45%, rgba(255, 255, 255, .01) 52%, rgba(255, 255, 255, 0) 62%);
  --panel: linear-gradient(180deg, #1F222A 0%, #181A21 55%, #15171D 100%);
  --metal-text: linear-gradient(180deg, #EEF0F5 0%, #E4E6ED 50%, #D6D9E0 100%);   /* about 6% light-to-silver */
  --platinum-pill: linear-gradient(180deg, #F6F7FA 0%, #E2E4EA 52%, #CDD0D8 100%);
  --horizon: radial-gradient(50% 50% at 50% 50%, rgba(var(--light), .055), rgba(var(--light), .018) 55%, rgba(var(--light), 0) 100%);

  /* type */
  --font: "Switzer", "General Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --void: #08090B; --obsidian: #0D0E12; --basalt: #16171C; --graphite: #1A1C23; --platinum: #E4E6ED; --silver: #8A8F9E; --hairline: rgba(228, 230, 237, .10);
  --fs-h1: clamp(32px, 4.2vw, 60px);
  --fs-h2: clamp(26px, 3.2vw, 46px);
  --fs-card: clamp(22px, 2.2vw, 32px);
  --fs-lead: clamp(16px, 15.6px + .1vw, 17px);
  --w-head: 500;

  /* layout */
  --container: 1120px;
  --gutter: 24px;
  --section: 40px;           /* half the gap between sections: 80px on phones, 96px from 720px, 120px from 1024px */
  --nav-h: 64px;

  /* motion: one curve everywhere */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fast: 200ms;
  --slow: 700ms;
}
@media (min-width: 720px) { :root { --gutter: 32px; --section: 48px; } }
@media (min-width: 1024px) { :root { --section: 60px; } }

/* Lenis 1.1.18 base styles (folded in here to save a request) */
html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:clip}.lenis.lenis-smooth iframe{pointer-events:none}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg-deep); color-scheme: dark; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { position: relative; margin: 0; background: transparent; color: var(--text-platinum); font: 400 16px/1.65 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .55) 100%), radial-gradient(90% 55% at 50% 0%, rgba(var(--light), .055), rgba(var(--light), 0) 70%), linear-gradient(180deg, #111216 0%, var(--bg-deep) 45%, #08090B 100%); }
/* fine film grain over everything (4%), which also dithers the gradients so they don't band */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url("img/grain.png") repeat; background-size: 96px 96px; opacity: .04; mix-blend-mode: overlay; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, figure, blockquote { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--text-platinum); color: var(--bg-obsidian); -webkit-text-fill-color: var(--bg-obsidian); }
:focus-visible { outline: 2px solid var(--text-platinum); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -64px; z-index: 95; padding: 10px 16px; border-radius: 2px; background: var(--text-platinum); color: var(--bg-obsidian); font-weight: 500; text-decoration: none; transition: top var(--fast) var(--ease); }
.skip:focus { top: 12px; }

/* One container everywhere: 1120px of content, 24px gutters on phones, 32px from 720px */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- Type: smaller, lighter, calmer ---------- */
.label { font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.hero-title, .h2, .card-title, .page-title, .product-name, .detail-title { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; color: var(--text-platinum); }
.h2 { margin-top: 16px; max-width: 22ch; font-size: var(--fs-h2); line-height: 1.12; padding-bottom: .04em; }
.card-title { font-size: var(--fs-card); font-weight: 400; line-height: 1.12; padding-bottom: .04em; overflow-wrap: anywhere; }
.lead { margin-top: 20px; max-width: 56ch; font-size: var(--fs-lead); line-height: 1.65; color: var(--text-2); }
.dim { color: var(--text-2); transition: color var(--slow) var(--ease); }
.quiet { font-size: 14px; color: var(--text-2); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; color: var(--text-platinum); text-decoration: underline; text-decoration-color: rgba(138, 143, 158, .6); text-underline-offset: 5px; transition: color var(--fast) var(--ease), text-decoration-color var(--fast) var(--ease); }
.text-link:hover { color: var(--gold-champagne); text-decoration-color: var(--gold-champagne); }

/* ---------- Pills: 40px to the eye, 44px to the finger (a 2px transparent border) ---------- */
.pill { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 2px solid transparent; background-clip: padding-box; border-radius: 2px; font: 500 14px/1 var(--font); letter-spacing: -.003em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: box-shadow var(--fast) var(--ease), color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.pill:focus-visible { outline: 2px solid var(--text-platinum); outline-offset: 1px; border-radius: 2px; }
.pill-primary { background-image: var(--platinum-pill); color: var(--bg-obsidian); }
.pill-secondary { background-image: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); color: var(--text-platinum); }
.pill-secondary:hover { }
/* one slow highlight slides across a pill or a card on hover, then snaps back unseen */
.pill::after, .card::after { content: none; }
.pill-secondary::after { background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .14) 50%, rgba(255, 255, 255, 0) 62%); }

/* ---------- Top bar: see-through over the page, frosted glass with a hairline once scrolled; hides going down ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); background: transparent; border-bottom: 1px solid transparent; transition: background-color var(--slow) var(--ease), border-color var(--slow) var(--ease), transform 450ms var(--ease); }
.nav.is-scrolled, body.menu-open .nav { background: rgba(13, 14, 18, .96); border-bottom: var(--border-premium); }
.nav.is-hidden { transform: translateY(-100%); }
main { padding-top: var(--nav-h); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
/* left: the KB mark on phones, the full wordmark from 720px; both are the supplied logo files, never redrawn */
.brand { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; margin-right: auto; text-decoration: none; border-radius: 2px; }
.brand-mark { width: 32px; height: 32px; flex: none; border-radius: 2px; }
.brand .brand-word { display: none; }
@media (min-width: 720px) { .brand .brand-mark { display: none; } .brand .brand-word { display: block; } }
/* kb-wordmark.svg draws its artwork in the middle of a 360 x 120 canvas (x 114-246, y 21-110), so it is shown through a
   window cut to the artwork: --h is the artwork's height */
.wm { --h: 44px; position: relative; display: block; flex: none; overflow: hidden; width: calc(var(--h) * 132 / 89); height: var(--h); }
.wm img { position: absolute; max-width: none; width: calc(var(--h) * 360 / 89); height: calc(var(--h) * 120 / 89); left: calc(var(--h) * -114 / 89); top: calc(var(--h) * -21 / 89); }
/* middle: Businesses (a dropdown), About, Contact */
.nav-links { display: none; align-items: center; gap: 4px; margin-right: 8px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--label); text-decoration: none; cursor: pointer; border-radius: 2px; transition: color var(--fast) var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--text-platinum); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--slow) var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--text-platinum); }
.nav-link[aria-current="page"]::after { transform: none; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fast) var(--ease); }
.dd { display: flex; align-items: center; }
.dd-link { padding-right: 2px; }
.dd-link::after { right: 2px; }
.dd-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none; color: var(--label); cursor: pointer; border-radius: 2px; transition: color var(--fast) var(--ease); }
.dd-btn:hover, .dd-btn[aria-expanded="true"] { color: var(--text-platinum); }
.dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-fallback { display: inline-flex; }
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 50%; width: 360px; padding: 8px; transform: translateX(-50%); border: 1px solid rgba(138, 143, 158, .26); border-radius: 2px; background: rgba(22, 23, 28, .98); }
.dd-panel[hidden] { display: none; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* keeps hover alive across the gap */
.dd-list { margin: 0; padding: 0; list-style: none; }
.dd-item { display: grid; gap: 4px; padding: 12px 14px; border-radius: 2px; text-decoration: none; }
a.dd-item { transition: background-color var(--fast) var(--ease); }
a.dd-item:hover, a.dd-item:focus-visible { background: rgba(255, 255, 255, .06); }
.dd-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text-platinum); }
.dd-desc { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.tag { flex: none; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--label); white-space: nowrap; }
.nav-cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--text-platinum); cursor: pointer; border-radius: 2px; }
.menu-icon, .menu-icon::before { display: block; width: 20px; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.menu-icon { position: relative; transform: translateY(3px); }
.menu-icon::before { content: ""; position: absolute; left: 0; top: 0; }
.menu-btn[aria-expanded="true"] .menu-icon { box-shadow: none; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: rotate(-90deg); }
@media (min-width: 720px) { .nav-links, .nav-cta { display: flex; } .nav-fallback { display: none; } .menu-btn { display: none !important; } .menu { display: none !important; } }
/* Phone menu: full screen and dark, big links, the pill at the bottom */
.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: var(--bg-obsidian); }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: center; min-height: 56px; border-bottom: var(--border-premium); font-size: 26px; font-weight: 300; letter-spacing: -.025em; text-decoration: none; }
.menu nav a[aria-current="page"] { color: var(--text-platinum); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.menu-cta { width: 100%; min-height: 52px; font-size: 16px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero: the text on the left with room to breathe, the 3D card smaller on the right (above the text on phones) ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; }
.hero-grid { display: grid; align-items: center; padding-block: 8px var(--section); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 56px; min-height: max(560px, calc(96svh - var(--nav-h))); padding-block: 40px 56px; } }
.hero-text { position: relative; z-index: 2; }
.hero-title { max-width: 13ch; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; padding-bottom: .04em; }
.hero-intro { margin-top: 20px; max-width: 36ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--text-2); }
.hero-sub { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--label); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stage { position: relative; z-index: 1; order: -1; width: min(86%, 380px); aspect-ratio: 700 / 760; margin: 0 auto 4px; }
@media (min-width: 600px) and (max-width: 1023px) { .hero-stage { width: 400px; } }
@media (min-width: 1024px) { .hero-stage { order: 0; width: 100%; max-width: 520px; margin: 0 0 0 auto; } }
.hero-still img, .hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; }
.hero-still img { transition: opacity 1.2s var(--ease); }
.hero-stage canvas { display: block; opacity: 0; transition: opacity 1.2s var(--ease); touch-action: pan-y; }
.hero-stage.has-3d canvas { opacity: 1; }
.hero-stage.has-3d .hero-still img { opacity: 0; }
.spotlight { position: absolute; z-index: -1; left: 50%; top: 46%; width: 170%; aspect-ratio: 1.5 / 1; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(30% 26% at 50% 44%, rgba(var(--light), .2), rgba(var(--light), 0) 100%), radial-gradient(closest-side, rgba(var(--light), .16), rgba(var(--light), .06) 52%, rgba(var(--light), 0) 100%); }

/* ---------- Sections ---------- */
.section { position: relative; padding-top: var(--section); }
.section-contact { padding-bottom: var(--section); }
/* Between sections: a soft cool band of light with a hairline and a small gold centre mark, so the page reads as one surface */
.divider { position: relative; isolation: isolate; width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); height: 1px; margin: var(--section) auto 0; padding-inline: var(--gutter); }
.divider::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1400px, 140vw); height: 220px; transform: translate(-50%, -50%); pointer-events: none; background: var(--horizon); }
.divider::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: linear-gradient(90deg, rgba(138, 143, 158, 0), rgba(138, 143, 158, .3) 30%, rgba(228, 230, 237, .4) 50%, rgba(138, 143, 158, .3) 70%, rgba(138, 143, 158, 0)); }
.divider span { position: absolute; z-index: 1; left: 50%; top: -3px; width: 7px; height: 7px; transform: translateX(-50%) rotate(45deg); background: linear-gradient(135deg, #F3DA86, var(--gold-champagne) 55%, #9C7E22); }
.divider-hero { margin-top: 0; }
main { overflow-x: clip; }
/* A very large, very faint outlined KB behind What we run and Contact (slow parallax from main.js) */
.section-businesses, .section-contact { isolation: isolate; overflow-x: clip; }
.watermark { position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + var(--wy, 0px))); font-size: min(58vw, 760px); font-weight: 200; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(228, 230, 237, .035); pointer-events: none; user-select: none; white-space: nowrap; will-change: transform; }
.section-contact::before { content: none; }

/* ---------- Cards: one radius, border and highlight for every card ---------- */
.card { position: relative; isolation: isolate; overflow: hidden; background: var(--sheen), var(--panel); border: 1px solid rgba(138, 143, 158, .24); border-radius: 2px; transition: border-color var(--slow) var(--ease); }
.card::before { content: ""; position: absolute; z-index: 2; top: 0; left: 6%; right: 6%; height: 1px; background: var(--edge); pointer-events: none; }
.card::after { background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, 0) 62%); }
.card:hover, .card:focus-within { border-color: rgba(138, 143, 158, .42); }
.card:hover .dim, .card:focus-within .dim { color: var(--text-platinum); }

/* What we run: two equal cards, status top, name and text in the middle, one quiet line at the bottom */
.biz-grid { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
@media (min-width: 1024px) { .biz-grid { gap: 20px; margin-top: 56px; } }
.biz { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
/* a live business: the whole card is one link that lifts a little on hover */
a.biz { transition: transform var(--slow) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--slow) var(--ease); }
a.biz:focus-visible { outline-offset: 3px; border-radius: 2px; }
.biz-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-platinum); }
.biz-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fast) var(--ease); }
/* coming soon: not a link, so no lift, no light sweep and no hover change */
.biz-soon:hover, .biz-soon:focus-within { border-color: rgba(138, 143, 158, .24); }
.biz-soon:hover .dim { color: var(--text-2); }
.biz-more { opacity: .5; }
.more-plus { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 2px; }
.more-plus::before, .more-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 1px; background: var(--text-platinum); transform: translate(-50%, -50%); }
.more-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.biz-plain img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-visual { position: relative; height: 230px; overflow: hidden; perspective: 1100px; border-bottom: 1px solid rgba(138, 143, 158, .14); background: radial-gradient(70% 90% at 50% 100%, rgba(var(--light), .1), rgba(var(--light), 0) 70%), linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, 0)); }
@media (min-width: 1024px) { .biz-visual { height: 270px; } }
.biz-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px 24px 20px; }
@media (min-width: 1024px) { .biz-content { padding: 28px 36px 24px; } }
/* AceGuides: five covers fanned like a hand of cards, lit from above */
.cover-stack { position: absolute; left: 50%; bottom: 30px; width: 0; height: 0; transform: translate3d(0, var(--px, 0px), 0) rotateX(10deg); transform-style: preserve-3d; }
.cover { position: absolute; left: 0; bottom: 0; max-width: none; width: clamp(78px, 7.6vw, 108px); height: auto; aspect-ratio: 3 / 4; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .14); transform-origin: 50% 120%; transform: translateX(-50%) translateX(var(--x)) rotate(var(--r)) translateY(var(--y)); transition: transform var(--slow) var(--ease); background: #101217; }
.cover:nth-child(1) { --x: -150%; --r: -13deg; --y: 18px; z-index: 1; }
.cover:nth-child(2) { --x: -76%; --r: -6.5deg; --y: 5px; z-index: 2; }
.cover:nth-child(3) { --x: 0%; --r: 0deg; --y: 0px; z-index: 5; }
.cover:nth-child(4) { --x: 76%; --r: 6.5deg; --y: 5px; z-index: 4; }
.cover:nth-child(5) { --x: 150%; --r: 13deg; --y: 18px; z-index: 3; }
.cover:nth-child(n+6) { display: none; }
@media (max-width: 599px) { .cover { width: 64px; } .cover-stack { bottom: 36px; } }
a.biz:hover .cover:nth-child(1) { --x: -164%; --r: -15deg; }
a.biz:hover .cover:nth-child(2) { --x: -84%; --r: -7.5deg; }
a.biz:hover .cover:nth-child(4) { --x: 84%; --r: 7.5deg; }
a.biz:hover .cover:nth-child(5) { --x: 164%; --r: 15deg; }
/* Black Crest Web Designs: one framed site floating in the panel */
.float-shot { position: absolute; left: 50%; bottom: -40px; width: min(84%, 420px); transform: translate3d(-50%, var(--px, 0px), 0) rotateX(12deg) rotateZ(-2deg); transform-origin: 50% 100%; transition: transform var(--slow) var(--ease); }
.biz-body .dim { margin-top: 12px; max-width: 38ch; font-size: 15px; line-height: 1.65; }
.biz-foot { display: flex; align-items: center; height: 60px; padding-top: 16px; border-top: 1px solid rgba(138, 143, 158, .14); }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.dot { width: 7px; height: 7px; border-radius: 2px; }
.dot-live { background: var(--gold-champagne); }
.dot-soon { border: 1.5px solid var(--gold-champagne); }

/* Screenshot frames: identical polished bezels for every demo */
.browser, .phone { position: relative; overflow: hidden; background: linear-gradient(180deg, #2C2F38 0%, #1B1D24 30%, #121419 100%); border: 1px solid rgba(255, 255, 255, .12); }
.browser { border-radius: 2px; }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; }
.browser-bar i { width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(180deg, #6F7482, #3E424C); }
.browser img { width: calc(100% - 10px); margin: 0 5px 5px; border-radius: 2px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0%; background: #101217; }
.browser::before, .phone::before { content: ""; position: absolute; z-index: 1; top: 0; left: 10%; right: 10%; height: 1px; background: var(--edge); pointer-events: none; }
.browser::after, .phone::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; background: linear-gradient(128deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .02) 26%, rgba(255, 255, 255, 0) 42%); }
/* a missing image leaves a quiet empty screen, not a broken-image icon */
img.is-missing { visibility: hidden; }

/* ---------- Contact teaser (home) ---------- */
.section-contact { padding-bottom: calc(var(--section) + 24px); }
.contact-finale { position: relative; }
.contact-finale::before { content: none; }
.section-contact .h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.08; }
.email-big { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(22px, 3vw, 36px); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; color: var(--text-platinum); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(138, 143, 158, .55); text-underline-offset: 8px; overflow-wrap: anywhere; transition: text-decoration-color var(--fast) var(--ease); }
.email-big:hover { text-decoration-color: var(--text-platinum); }
.section-contact .email-big { margin-top: 32px; }
.section-contact .pill { margin-top: 28px; }

/* ---------- Footer: brand, businesses and company columns, then a bottom row ---------- */
.footer { position: relative; border-top: var(--border-premium); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer::before { content: ""; position: absolute; top: -1px; left: 15%; right: 15%; height: 1px; background: var(--edge); opacity: .45; }
.footer-grid { display: grid; gap: 40px; }
.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; } .footer-brand { grid-column: auto; } }
.footer-logo { display: inline-block; border-radius: 2px; }
.footer-logo .wm { --h: 60px; }
.footer-email { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-top: 16px; font-size: 15px; color: var(--text-2); text-decoration: none; overflow-wrap: anywhere; transition: color var(--fast) var(--ease); }
.footer-email:hover { color: var(--text-platinum); }
.footer-h { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.footer-list { margin: 8px 0 0; padding: 0; list-style: none; }
.footer-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; font-size: 14px; color: var(--text-2); }
.footer-list a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--text-2); text-decoration: none; transition: color var(--fast) var(--ease); }
.footer-list a:hover, .footer-list a[aria-current="page"] { color: var(--text-platinum); }
.footer-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(138, 143, 158, .6); }
.footer-bottom { display: grid; gap: 4px; margin-top: 40px; padding-top: 20px; border-top: var(--border-premium); font-size: 13px; color: var(--label); }
.footer-bottom a { color: var(--text-2); }
/* social icons: 44px round targets, line icons */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.socials:empty { display: none; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; color: var(--text-2); transition: color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.socials a:hover { color: var(--text-platinum); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:focus-visible { outline-offset: 2px; border-radius: 2px; }

/* ---------- Motion: slow, small fade-ups (JS only), one curve ---------- */
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(16px); }
.js .reveal { opacity: 1; transform: none; transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: var(--d, 0s); }

.js .hero-text > * { opacity: 0; transform: translateY(16px); animation: rise var(--slow) var(--ease) forwards; }
.js .hero-text > .hero-title { opacity: 1; animation-name: rise-only; } /* paints at once (it is the largest element) */
@keyframes rise-only { from { transform: translateY(16px); } to { transform: none; } }
.js .hero-text > :nth-child(2) { animation-delay: 80ms; }
.js .hero-text > :nth-child(3) { animation-delay: 160ms; }
.js .hero-text > :nth-child(4) { animation-delay: 240ms; }
.js .hero-stage > * { animation: fade 1.2s var(--ease) 200ms backwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .reveal:not(.is-visible), .js .hero-text > * { opacity: 1; transform: none; }
  .cover-stack, .float-shot, .watermark { --px: 0px; --wy: 0px; }
  .hero-stage { transform: none; }
}

/* ---------- Inner pages: About, Contact, 404 ---------- */
.page { padding-bottom: calc(var(--section) * 2); }
.page { padding-top: calc(var(--nav-h) + 48px); }
@media (min-width: 1024px) { .page { padding-top: calc(var(--nav-h) + 72px); } }
.page-title { font-size: clamp(36px, 4.8vw, 64px); font-weight: var(--w-head); letter-spacing: -.025em; line-height: 1.06; text-wrap: balance; padding-bottom: .04em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-title, .nf-code { background: var(--metal-text); background-size: 100% 1lh; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.page-head .lead { margin-top: 16px; }

/* About: the KB mark beside the text (home section and About page) */
.about-grid, .about-page { display: grid; gap: 32px; align-items: center; }
@media (min-width: 820px) { .about-grid, .about-page { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 72px; } }
.about-mark { position: relative; isolation: isolate; width: min(180px, 50vw); }
@media (min-width: 820px) { .about-mark { width: 100%; max-width: 280px; } }
.about-mark::before { content: none; }
.about-mark img { width: 100%; height: auto; border-radius: 2px; }
.about-text .h2 { margin-top: 0; }
.values { margin-top: 24px; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--label); }
.about-text .text-link { margin-top: 16px; }
.text-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fast) var(--ease); }
.principles { margin: 28px 0 32px; padding: 0; list-style: none; border-top: var(--border-premium); }
.principles li { padding: 16px 0; border-bottom: var(--border-premium); font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
.principles strong { font-weight: 500; color: var(--text-platinum); }

/* Contact page: the form beside the other ways to reach us */
.contact-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; } }
.form-card, .contact-aside { padding: 24px; }
@media (min-width: 720px) { .form-card { padding: 32px; } .contact-aside { padding: 32px 28px; } }
.form-card:hover .dim, .contact-aside:hover .dim { color: var(--text-2); }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; margin-top: 20px; }
.row-2:first-of-type .field, form > .row-2:first-child .field { margin-top: 0; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-platinum); }
.opt { font-weight: 400; color: var(--label); }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid rgba(138, 143, 158, .45); border-radius: 2px; background: rgba(9, 11, 16, .6); color: var(--text-platinum); font: 400 16px/1.5 var(--font); transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.input:hover { border-color: rgba(138, 143, 158, .75); }
.input:focus-visible { outline: 2px solid var(--text-platinum); outline-offset: 1px; border-color: var(--text-platinum); border-radius: 2px; }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23B3B8C4' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
select.input option { background: #1A1C23; color: var(--text-platinum); }
.input[aria-invalid="true"] { border-color: #F4A79D; }
.field-error { font-size: 13px; line-height: 1.5; color: #F4A79D; }
.field-error[hidden] { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check input { flex: none; width: 24px; height: 24px; margin: 10px 0 0; accent-color: #E4E6ED; cursor: pointer; }
.check label { min-height: 44px; padding: 10px 0; font-weight: 400; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check a { color: var(--text-platinum); text-underline-offset: 4px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.send { min-width: 140px; min-height: 52px; font-size: 15px; }
.send[disabled] { cursor: progress; opacity: .85; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(13, 14, 18, .25); border-top-color: var(--bg-obsidian); border-radius: 2px; animation: spin .8s linear infinite; }
.send[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.form-status:empty { display: none; }
.form-status.is-error { color: #F4A79D; }
.form-status.is-note { padding: 14px 16px; border: var(--border-premium); border-radius: 2px; background: rgba(255, 255, 255, .03); }
.form-status a { color: var(--text-platinum); text-underline-offset: 4px; }
.form-status .mailto-again { display: inline-flex; align-items: center; min-height: 44px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; justify-items: center; gap: 12px; padding: 48px 8px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 2px; }
.success-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--text-platinum); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.success-title { font-size: clamp(26px, 3vw, 36px); font-weight: var(--w-head); letter-spacing: -.02em; }
.success-title:focus { outline: none; }
.form-success .lead { margin-top: 0; }
.contact-aside .label + * { margin-top: 10px; }
.contact-aside .email-big { font-size: clamp(20px, 2vw, 24px); }
.contact-aside .label:not(:first-child) { margin-top: 28px; }
.reply-note { margin-top: 28px; padding-top: 20px; border-top: var(--border-premium); }

/* 404 */
.nf { min-height: calc(100svh - 1px); display: grid; place-items: center; padding-bottom: 64px; }
.nf .container { padding-top: 48px; }
.nf-code { font-size: clamp(110px, 20vw, 220px); font-weight: 200; line-height: .9; letter-spacing: -.05em; color: var(--text-platinum); }
.nf-title { margin-top: 24px; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- Legal pages: one readable column, no gold except the thin dividers ---------- */
.legal { padding: calc(var(--nav-h) + 48px) 0 calc(var(--section) * 2); }
.legal-inner { max-width: 720px; margin-inline: auto; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; font-size: 14px; color: var(--label); text-decoration: none; }
.legal-back:hover { color: var(--text-platinum); }
.legal h1 { font-size: clamp(32px, 4vw, 48px); font-weight: var(--w-head); letter-spacing: -.025em; line-height: 1.1; }
.legal-date { margin-top: 12px; font-size: 14px; color: var(--label); }
.legal-summary { position: relative; margin-top: 32px; padding: 24px 28px; border: var(--border-premium); border-radius: 2px; background: var(--panel); overflow: hidden; }
.legal-summary::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: var(--edge); opacity: .35; }
.legal-summary ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal-summary li { margin-top: 6px; color: var(--text-2); }
.legal-rule { height: 1px; margin: 48px 0 8px; border: 0; background: linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, .45) 50%, rgba(212, 175, 55, 0)); }
.legal-section { margin-top: 40px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal-section h2 { font-size: 21px; font-weight: 400; letter-spacing: -.01em; line-height: 1.3; color: var(--text-platinum); }
.legal-section p, .legal-section li { font-size: var(--fs-lead); line-height: 1.75; color: var(--text-2); }
.legal-section p { margin-top: 12px; }
.legal-section ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal-section li + li { margin-top: 6px; }
.legal-section strong { font-weight: 500; color: var(--text-platinum); }
.legal a:not(.legal-back):not(.pill) { color: var(--text-platinum); text-decoration: underline; text-decoration-color: rgba(138, 143, 158, .6); text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal a:not(.legal-back):not(.pill):hover { text-decoration-color: var(--text-platinum); }
.legal-contact .pill { margin-top: 20px; }
@media (min-width: 1024px) { .legal { padding-top: calc(var(--nav-h) + 72px); } }
@media print { .nav, .footer, .legal-back, .menu { display: none; } main { padding-top: 0; } .legal-section p, .legal-section li, .legal-summary li { color: #000; } }

/* ---------- Section links and narrow columns ---------- */
.section-foot { display: flex; justify-content: center; margin-top: 28px; }
.section-foot-start { justify-content: flex-start; }
.container.narrow { max-width: calc(780px + 2 * var(--gutter)); }
/* cards that are not links: no light sweep and no text change on hover */
.step-card:hover .dim, .std-card:hover .dim { color: var(--text-2); }

/* ---------- How we build: four steps in a row (2 x 2 on phones) ---------- */
.steps4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; padding: 0; list-style: none; }
@media (min-width: 960px) { .steps4 { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; } }
.step-card { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px 22px; }
@media (min-width: 720px) { .step-card { padding: 28px 24px 28px; } }
.step-num { font-size: 11px; font-weight: 500; letter-spacing: .22em; color: var(--label); }
.step-icon, .std-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 2px; color: var(--text-platinum); background: var(--basalt); border: 1px solid rgba(138, 143, 158, .32); }
.step-icon svg, .std-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.step-title { margin-top: 4px; font-size: 19px; font-weight: 400; letter-spacing: -.02em; color: var(--text-platinum); }
.step-card .dim { font-size: 14px; line-height: 1.6; }
@media (min-width: 720px) { .step-card .dim { font-size: 15px; } }

/* ---------- Our standard: three cards with a slight tilt and a soft light that follows the pointer ---------- */
.std-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 820px) { .std-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; } }
.std-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 30px;  transition: transform 400ms var(--ease), border-color var(--fast) var(--ease); }
.std-card > * { position: relative; z-index: 3; }
.std-card .card-title { margin-top: 8px; }
.std-card .std-icon { position: relative; }
.std-card::after { content: none; }
.std-card:hover { border-color: rgba(228, 230, 237, .32); }
.std-card .dim { font-size: 15px; line-height: 1.65; }
.std-detail { font-size: 15px; line-height: 1.7; color: var(--text-2); }

/* ---------- Questions: an accordion (answers stay open without JavaScript) ---------- */
.faq { border-top: var(--border-premium); }
.section .faq { margin-top: 40px; }
.faq-item { border-bottom: var(--border-premium); }
.faq-h { margin: 0; font: inherit; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; padding: 16px 4px; border: 0; background: none; color: var(--text-platinum); font: 400 clamp(17px, 1.5vw, 19px)/1.4 var(--font); letter-spacing: -.01em; text-align: left; cursor: pointer; border-radius: 2px; }
.faq-q:focus-visible { outline-offset: -2px; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 2px; transition: box-shadow var(--fast) var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.4px; background: currentColor; border-radius: 1px; transform: translate(-50%, -50%); transition: transform 350ms var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q:hover .faq-icon { }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 52px 22px 4px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.faq-a a { color: var(--text-platinum); text-decoration-color: rgba(138, 143, 158, .6); text-underline-offset: 4px; }
.faq-a a:hover { text-decoration-color: var(--text-platinum); }
/* collapsed from the first paint whenever JavaScript runs (no shift); open without it */
.js .faq .faq-a { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 350ms var(--ease), visibility 0s linear 350ms; }
.js .faq .faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 350ms var(--ease), visibility 0s; }

/* ---------- Inner pages ---------- */
.page-end { display: flex; justify-content: center; margin-top: 48px; }
.faq-more { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.faq-more .lead { margin-top: 0; }
.page-sub { margin-top: 72px; }
.page-sub .h2 { max-width: none; margin: 0; }
.page-sub .std-grid { margin-top: 32px; }
/* How we work: one row per step */
.detail-list { margin: 40px 0 0; padding: 0; list-style: none; border-top: var(--border-premium); }
.detail-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 28px 0; border-bottom: var(--border-premium); }
.detail-row .step-num { grid-column: 1 / -1; }
.detail-text { min-width: 0; }
.detail-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: var(--text-platinum); }
.detail-text p { margin-top: 10px; max-width: 62ch; font-size: var(--fs-lead); line-height: 1.7; color: var(--text-2); }
@media (min-width: 820px) { .detail-row { grid-template-columns: 64px 64px 1fr; align-items: start; padding: 36px 0; } .detail-row .step-num { grid-column: auto; padding-top: 16px; } }
/* Contact: quick answers under the form */
.quick { margin-top: 40px; }
.quick-title { font-size: 20px; font-weight: 400; letter-spacing: -.02em; color: var(--text-platinum); }
.quick .faq { margin-top: 16px; }
.quick .section-foot { margin-top: 16px; }
/* three cards in a row: smaller covers so the fan fits its narrower card */
@media (min-width: 720px) { .biz-grid[data-count="3"] .cover { width: clamp(60px, 5.4vw, 80px); } }

/* ---------- Home: "See inside" previews in the business cards ---------- */
.peek-label { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.peek-row { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.peek-cover { grid-template-columns: repeat(3, minmax(0, 78px)); }
.peek-browser { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.peek-cover img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .12); }
.mini-browser { position: relative; overflow: hidden; padding-top: 11px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(180deg, #2a2d36, #16181e); }
.mini-browser i { position: absolute; top: 4px; left: 7px; width: 4px; height: 4px; border-radius: 2px; background: #626776; }
.mini-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; }

/* ---------- Home: Latest ---------- */
.latest-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 600px) { .latest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .latest-grid { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 20px; margin-top: 48px; } }
.latest-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 24px 22px; }
.latest-text { font-size: 19px; line-height: 1.4; letter-spacing: -.01em; color: var(--text-platinum); }
.latest-card .text-link { margin-top: auto; }

/* ---------- Home: How we build, larger, joined by a fine gold line (across on desktop, down on phones) ---------- */
.steps-big { position: relative; display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding: 0; list-style: none; }
.step-item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.step-node { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 2px; background: var(--bg-deep); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--text-platinum); }
.step-item:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 40px; bottom: -20px; width: 1px; background: rgba(212, 175, 55, .4); }
.steps-big .step-card { gap: 12px; padding: 24px 22px 26px; }
.steps-big .step-icon { width: 52px; height: 52px; }
.steps-big .step-icon svg { width: 24px; height: 24px; }
.steps-big .step-title { margin-top: 6px; font-size: 22px; }
.steps-big .step-card .dim { font-size: 15px; line-height: 1.65; }
@media (min-width: 960px) {
  .steps-big { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; }
  .step-item { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 20px; align-items: stretch; }
  .step-node { align-self: start; }
  .step-node { justify-self: center; }
  /* from this node's edge to the next node's edge: half a column plus the 20px gap, less the node's 20px radius */
  .step-item:not(:last-child)::before { left: calc(50% + 20px); right: -50%; top: 20px; bottom: auto; width: auto; height: 1px; }
}

/* ---------- Home: Why KB Ventures ---------- */
.why-grid { display: grid; gap: 28px 24px; margin: 40px 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(4, 1fr); margin-top: 48px; } }
.why-item { display: flex; flex-direction: column; gap: 10px; }
.why-title { margin-top: 6px; font-size: 19px; font-weight: 400; letter-spacing: -.02em; color: var(--text-platinum); }
.why-item .dim { font-size: 15px; line-height: 1.6; }

/* ---------- Home: Meet the founder (a photo, or a KB monogram in the same round frame until there is one) ---------- */
.founder-grid { display: grid; gap: 28px; justify-items: center; margin-top: 40px; text-align: center; }
@media (min-width: 720px) { .founder-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; max-width: 900px; justify-items: start; align-items: center; text-align: left; } }
.founder-photo { position: relative; display: grid; place-items: center; width: min(200px, 56vw); aspect-ratio: 1; overflow: hidden; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .14); background: radial-gradient(circle at 35% 25%, #2a2e38, #121419 70%); }
@media (min-width: 720px) { .founder-photo { width: 220px; } }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-mono { font-size: 64px; font-weight: 200; letter-spacing: .06em; color: var(--text-platinum); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) { .founder-mono { background: var(--metal-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } }
.founder-name { font-size: clamp(26px, 2.6vw, 32px); font-weight: var(--w-head); letter-spacing: -.02em; color: var(--text-platinum); }
.founder-text .lead { margin-top: 12px; }
.founder-text .pill { margin-top: 24px; }

/* ---------- Home: Latest dates ---------- */
.latest-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; width: 100%; }
.latest-date { font-size: 12px; color: var(--label); white-space: nowrap; }

/* ---------- Home: Our standard, with the four small points under the cards ---------- */
.std-points { margin-top: 40px; padding-top: 32px; border-top: var(--border-premium); }

/* ---------- Home: Who's behind it ---------- */
.who-about { margin-top: 12px; max-width: 56ch; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.founder-text .values { margin-top: 16px; }
.who-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
@media (min-width: 720px) { .who-actions { justify-content: flex-start; } }
.founder-text .who-actions .pill { margin-top: 0; }

/* ---------- Concept sites: a scroll-snap row (swipe on phones, arrow buttons on desktop) ---------- */
.gallery { margin-top: 56px; }
.gallery-head { text-align: center; }
.gallery-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: var(--w-head); letter-spacing: -.02em; color: var(--text-platinum); }
.gallery-head .dim { margin: 8px auto 0; max-width: 52ch; font-size: 15px; line-height: 1.6; }
.gallery-track { display: flex; gap: 16px; margin: 28px 0 0; padding: 4px 2px 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; list-style: none; scrollbar-width: thin; scrollbar-color: rgba(138, 143, 158, .4) transparent; }
.gallery-track:focus-visible { outline: 2px solid var(--text-platinum); outline-offset: 4px; border-radius: 2px; }
.gallery-item { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
.gallery-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 12px; color: inherit; text-decoration: none; transition: transform var(--slow) var(--ease), border-color var(--fast) var(--ease); }
.gallery-card:focus-visible { outline-offset: 3px; border-radius: 2px; }
.gallery-text { display: flex; flex-direction: column; gap: 6px; padding: 0 6px 6px; }
.gallery-name { font-size: 18px; font-weight: 400; letter-spacing: -.01em; line-height: 1.3; color: var(--text-platinum); }
.gallery-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.gallery-open svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gallery-controls { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 720px) { .gallery-controls { display: flex; justify-content: center; gap: 10px; margin-top: 4px; } }
.gallery.is-static .gallery-controls { display: none; }
.gallery-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); color: var(--text-platinum); cursor: pointer; transition: box-shadow var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.gallery-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery-btn:hover { }
.gallery-btn:disabled { opacity: .35; cursor: default; }
.gallery-btn:focus-visible { outline-offset: 2px; border-radius: 2px; }

/* ---------- Home: Get updates ---------- */
.signup-box { width: 100%; max-width: 540px; margin-top: 28px; text-align: left; }
.signup-row { display: flex; gap: 10px; }
.signup-row .input { flex: 1; min-width: 0; }
.signup-row .send { flex: none; min-width: 0; padding: 0 20px; }
.signup-form .check { margin-top: 14px; }
.signup-form .field-error { margin-top: 8px; }
.signup-done { padding: 18px 20px; border: var(--border-premium); border-radius: 2px; background: rgba(255, 255, 255, .03); font-size: 17px; text-align: center; color: var(--text-platinum); }
.signup-done:focus { outline: none; }

/* ---------- About: milestones and what we will never do ---------- */
.milestones { position: relative; display: grid; gap: 22px; margin: 28px 0 0; padding: 0 0 0 22px; list-style: none; border-left: 1px solid rgba(138, 143, 158, .3); }
.milestones li { position: relative; }
.milestones li::before { content: ""; position: absolute; left: -28px; top: 4px; width: 11px; height: 11px; border-radius: 2px; background: var(--bg-deep); }
.ms-date { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.milestones p { margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--text-platinum); }
@media (min-width: 820px) {
  .milestones { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 20px; padding: 0; border-left: 0; }
  .milestones::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: rgba(138, 143, 158, .3); }
  .milestones li { padding-top: 26px; }
  .milestones li::before { left: 0; top: 0; }
}
.never-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .never-list { grid-template-columns: repeat(2, 1fr); gap: 14px 24px; } }
.never-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: var(--border-premium); font-size: var(--fs-lead); color: var(--text-platinum); }
.never-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 2px; color: var(--text-2); }
.never-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.about-story { max-width: 62ch; }

/* ---------- Partner: what happens next ---------- */
.next-steps { margin: 28px 0 0; padding: 0; list-style: none; border-top: var(--border-premium); }
.next-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: var(--border-premium); font-size: var(--fs-lead); color: var(--text-platinum); }
.page-sub .principles { margin-top: 24px; }

/* ---------- FAQ: search ---------- */
.faq-search { display: none; margin-bottom: 24px; }
.js .faq-search { display: block; }
.faq-search-label { display: block; font-size: 14px; font-weight: 500; color: var(--text-platinum); }
.faq-search .input { margin-top: 8px; }
.faq-none { margin-top: 14px; font-size: 15px; color: var(--text-2); }
.faq-none[hidden] { display: none; }
.faq-none a { color: var(--text-platinum); text-underline-offset: 4px; }
.faq-item[hidden] { display: none; }

/* ---------- Live business cards: the call to action reads as a small pill ---------- */
.biz-live .biz-cta { min-height: 40px; padding: 0 16px; border-radius: 2px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); transition: box-shadow var(--fast) var(--ease); }
a.biz:hover .biz-cta { }

/* ---------- AceGuides shop ---------- */
.shop-inside-label { margin-top: 28px; }
.shop-inside { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.shop-inside li { padding: 7px 14px; border-radius: 2px; font-size: 14px; color: var(--text-2); }
.shop-chooser { margin-top: 40px; }
.shop-chooser-title { font-size: 20px; font-weight: 400; letter-spacing: -.02em; color: var(--text-platinum); }
.shop-chooser .principles { margin: 14px 0 0; max-width: 720px; }
.shop-group { margin-top: 64px; }
.shop-group .h2 { max-width: none; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.product { display: flex; flex-direction: column; padding: 10px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.product:hover .dim { color: var(--text-2); }
.product-cover img, .cover-tile { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .1); object-fit: cover; }
.product.is-soon .product-cover { opacity: .6; }
/* bundles have no cover yet: a tile in the same style as the covers */
.cover-tile { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px; overflow: hidden; background: radial-gradient(90% 55% at 50% -5%, #2C2F38 0%, #16171C 45%, #0B0B0D 100%); }
.tile-brand { position: absolute; top: 14px; left: 18px; font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: #9aa0ae; }
.tile-line { width: 40px; height: 1px; background: linear-gradient(90deg, #8e7424, #e7c867, #8e7424); }
.tile-title { font-size: clamp(16px, 1.8vw, 22px); font-weight: 200; line-height: 1.15; letter-spacing: -.01em; color: var(--text-platinum); }
.product-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 6px 6px; }
.product-name { font-size: 18px; font-weight: 400; letter-spacing: -.01em; line-height: 1.25; color: var(--text-platinum); }
.product-price { font-size: 16px; color: var(--text-platinum); }
.product-price span { font-size: 12px; color: var(--label); }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: auto; padding-top: 12px; }
.product-buy, .product-soon { width: 100%; }
.product-soon[disabled] { cursor: not-allowed; opacity: .7; color: var(--text-2); }
.product-notify { font-size: 13px; }
/* "Being updated, back soon" is longer than Buy now: let it wrap inside the pill on narrow cards */
.product-paused { padding: 8px 14px; white-space: normal; line-height: 1.25; text-align: center; border-radius: 2px; }
.shop-foot { margin-top: 64px; padding-top: 28px; border-top: var(--border-premium); display: grid; gap: 8px; }
.shop-delivery { font-size: var(--fs-lead); color: var(--text-platinum); }
.shop-policies { font-size: 14px; color: var(--label); }
.shop-policies a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-underline-offset: 4px; }
.shop-vcaa { font-size: 13px; color: var(--label); }
.shop-samples { margin-top: 40px; }
.product-sample { font-size: 13px; }

/* ---------- Black Crest pricing ---------- */
.pricing-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; }
.pkg-grid { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pkg { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; }
.pkg-name { font-size: 22px; font-weight: 400; letter-spacing: -.02em; color: var(--text-platinum); }
.pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--text-platinum); }
.pkg-from { font-size: 13px; color: var(--label); }
.pkg-amount { font-size: 34px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.pkg-amount.pkg-quote { font-size: 24px; }
.pkg-cur { font-size: 12px; color: var(--label); }
.pkg-features { display: grid; gap: 8px; margin: 4px 0 8px; padding: 16px 0 0; list-style: none; border-top: var(--border-premium); font-size: 15px; color: var(--text-2); }
.pkg-features li { position: relative; padding-left: 20px; }
.pkg-features li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--label); }
.pkg-btn { width: 100%; margin-top: auto; }
.pkg-note { margin-top: 24px; max-width: 640px; color: var(--text-2); }


/* ==========================================================================
   House style (CLAUDE.md): lit niche galleries, detail views, statements
   ========================================================================== */
picture { display: contents; }
.hero-title em, .h2 em, .page-title em, .detail-title em { font-style: italic; }
.hero-title { font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -.03em; }

/* ---------- Lit niches: the businesses and the guides ---------- */
.kb-niches { margin-top: 40px; }
.niche-row, .book-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .niche-row { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; } .niche-row[data-count="2"] { --cols: 2; max-width: 820px; margin: 0 auto; } }
@media (min-width: 900px) { .book-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.kb-niche { position: relative; display: block; color: var(--platinum); text-decoration: none; }
.kb-niche img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--hairline); filter: brightness(1); transition: filter 1.6s cubic-bezier(.16, 1, .3, 1); }
.niche-row:hover .kb-niche:not(:hover) img, .niche-row:focus-within .kb-niche:not(:focus-visible) img,
.book-row:hover .kb-niche:not(:hover) img { filter: brightness(.4); }
.kb-niche:hover img, .kb-niche:focus-visible img { filter: brightness(1.12) sepia(.08); }
.kb-niche:focus-visible { outline: 2px solid var(--gold-champagne); outline-offset: 4px; }
.niche-label { display: grid; gap: 4px; padding: 14px 2px 6px; }
.niche-status { font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-champagne); }
.niche-name { margin: 0; font: 500 clamp(22px, 2.2vw, 28px)/1.1 var(--serif); letter-spacing: -.01em; color: var(--platinum); }
.niche-line { font-size: 13.5px; color: var(--silver); }
.niche-line .num, .num { font-variant-numeric: tabular-nums; }
.kb-niche.is-soon img { filter: brightness(.6); }
.empty-niche { display: block; aspect-ratio: 3 / 4; border: 1px solid var(--hairline); background: linear-gradient(180deg, var(--basalt), var(--void)); }

/* ---------- The guide detail view (a dialog; also opens without JavaScript via #d-key) ---------- */
.guide-detail { width: min(1080px, 94vw); max-height: 92vh; padding: 0; border: 1px solid var(--hairline); border-radius: 2px; background: var(--void); color: var(--platinum); overflow: auto; }
.guide-detail::backdrop { background: rgba(8, 9, 11, .86); }
dialog.guide-detail:target { display: block; position: fixed; inset: 4vh 0 auto; margin: 0 auto; z-index: 300; }
.guide-detail .detail-grid { display: grid; gap: 28px; padding: 28px; }
@media (min-width: 760px) { .guide-detail .detail-grid { grid-template-columns: 5fr 6fr; gap: 48px; padding: 48px; align-items: center; } }
.detail-object img { display: block; width: 100%; height: auto; border: 1px solid var(--hairline); }
.crumbs { display: flex; gap: 10px; margin: 0 0 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
.detail-title { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: .98; }
.detail-lead { margin: 16px 0 22px; color: var(--silver); }
.facts-label { margin: 0 0 8px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
.facts { margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14.5px; }
.detail-price { margin: 0 0 18px; font: 300 40px/1 var(--font); letter-spacing: -.02em; }
.detail-price small { font-size: 12px; letter-spacing: .18em; color: var(--silver); }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.detail-vcaa { margin: 18px 0 0; font-size: 12px; color: var(--silver); }
.detail-back { margin-top: 18px; }

/* ---------- Buttons: one gold primary, quiet ones, and text buttons whose underline draws in ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px; font: 500 14px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .4s, border-color .4s, color .4s; }
.btn-gold { background: var(--gold-champagne); color: #111214; }
.btn-gold:hover, .btn-gold:focus-visible { background: #E2C25A; }
.btn-quiet { border-color: var(--hairline); background: transparent; color: var(--silver); }
.btn[disabled] { cursor: not-allowed; }
.text-btn { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--platinum); font: 500 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.text-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--gold-champagne); transform: scaleX(.3); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.text-btn:hover::after, .text-btn:focus-visible::after { transform: scaleX(1); }

/* ---------- Statement tables: prices set like a private-bank statement ---------- */
.st-table { width: 100%; margin-top: 24px; border-collapse: collapse; border-top: 1px solid rgba(228, 230, 237, .18); }
.st-table thead th { padding: 12px 0; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--silver); text-align: left; border-bottom: 1px solid rgba(228, 230, 237, .18); }
.st-row > * { padding: 24px 12px 24px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; text-align: left; font-weight: 400; }
.st-title { display: inline; margin: 0; font: 500 clamp(24px, 2.6vw, 34px)/1.1 var(--serif); color: var(--platinum); }
.st-flag { margin-left: 12px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-champagne); }
.st-inc { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; color: var(--silver); }
.st-amt { white-space: nowrap; font: 300 clamp(30px, 3.4vw, 44px)/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st-amt small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.st-quote { font: italic 500 28px/1 var(--serif); }
.st-go { text-align: right !important; }
.st-row.is-soon .st-title { color: var(--silver); }
@media (max-width: 699px) { .st-table thead { display: none; } .st-row { display: grid; grid-template-columns: 1fr auto; padding: 18px 0; border-bottom: 1px solid var(--hairline); } .st-row > * { padding: 0; border: 0; } .st-row > th { grid-column: 1 / -1; margin-bottom: 12px; } .st-go { text-align: left !important; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; } }

/* ---------- House style: quiet surfaces. Cards become flat panels; the step, standard and news rows become
   editorial columns with hairlines and numbers, without icons ---------- */
.card { background: var(--basalt); border-color: var(--hairline); }
.step-card, .std-card, .latest-card { background: none; border: 0; border-top: 1px solid rgba(228, 230, 237, .18); padding-left: 0; padding-right: 0; }
.step-icon, .std-icon { display: none; }
.step-title, .why-title, .gallery-title, .shop-chooser-title, .card-title, .std-card .card-title, main h2, main h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.step-title, .why-title { font-size: clamp(24px, 2.2vw, 30px); }
.divider::before { content: none; }
.divider span { background: var(--gold-champagne); }
.hero-still img, .hero-stage canvas {
  /* the lit floor fades out at the sides and the bottom, so it never reads as a box */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent), radial-gradient(ellipse 72% 66% at 50% 46%, #000 66%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent), radial-gradient(ellipse 72% 66% at 50% 46%, #000 66%, transparent 100%);
  mask-composite: intersect;
}
@media (min-width: 1024px) { .hero-stage { max-width: 600px; } }

.signup-for { margin: 0 0 12px; font-size: 13px; letter-spacing: .04em; color: var(--gold-champagne); }

/* ---------- AceGuides shop: a sticky jump bar, covers that never sit blank, bundle savings ---------- */
.shop-jump { position: sticky; top: 0; z-index: 40; margin: 8px 0 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--obsidian); }
.shop-jump .container { display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; }
.shop-jump a { flex: none; display: inline-flex; align-items: center; min-height: 48px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); text-decoration: none; }
.shop-jump a:hover, .shop-jump a:focus-visible { color: var(--platinum); }
.shop-group { scroll-margin-top: calc(var(--nav-h) + 56px); }
.book-row .kb-niche img { background: var(--graphite); }
.shop-about { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.shop-about .shop-inside { display: flex; flex-wrap: wrap; gap: 8px; }
.st-save { display: block; margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-champagne); }
.st-worth { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--silver); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Fill the space (November 2026): larger type, a wider container on big screens, a larger hero object and
   brighter, larger business niches, so no section sits as small text in a big empty room
   ========================================================================== */
:root { --fs-lead: clamp(17px, .5vw + 14.8px, 22px); --fs-h2: clamp(34px, 4.6vw, 66px); --fs-card: clamp(26px, 2.6vw, 38px); }
@media (min-width: 1440px) { :root { --container: 1296px; } }   /* 1360px with the gutters */
body { font-size: clamp(16px, .3vw + 14.6px, 19px); }
.nav-link { font-size: 15px; }
.label, .status, .niche-status, .footer-h, .tag, .crumbs, .facts-label, .st-flag, .st-save, .st-table thead th, .st-amt small,
.detail-price small, .step-num, .values, .shop-jump a, .text-btn { font-size: 13px; }
.pill, .btn, .send, .menu-cta { font-size: 16px; }
.text-link, .biz-cta { font-size: 16px; }
.lead, .dim.lead { font-size: var(--fs-lead); }

/* the hero: a full screen, the words and the plaque centred on the same line, the plaque about twice as big */
.hero-stage { aspect-ratio: 640 / 800; }
.hero-grid { min-height: calc(100svh - var(--nav-h)); padding-block: 16px 40px; align-content: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; min-height: calc(100svh - var(--nav-h)); padding-block: 0; }
  .hero-stage { width: 100%; max-width: 640px; max-height: calc(100svh - var(--nav-h) - 24px); margin: 0 auto; }
}
.hero-intro { max-width: 34ch; font-size: var(--fs-lead); }
.hero-sub { font-size: 16px; }

/* our businesses: the two niches use the whole container, lit brighter, with names that read across the room */
@media (min-width: 760px) { .niche-row[data-count="2"] { max-width: none; gap: 32px; } }
.niche-row[data-count="2"] .kb-niche img { aspect-ratio: 14 / 15; }
.niche-row[data-count="2"] .niche-label { gap: 8px; padding-top: 22px; }
.niche-row[data-count="2"] .niche-name { font-size: clamp(32px, 3vw, 44px); }
.niche-row[data-count="2"] .niche-line { font-size: 18px; color: var(--text-2); }
.niche-row[data-count="2"] .niche-cta { font-size: 16px; }
.niche-line { font-size: 15px; }

/* the home sections: bigger titles and text */
.latest-text { font-size: clamp(20px, 1.8vw, 26px); }
.step-title, .why-title { font-size: clamp(28px, 2.6vw, 36px); }
.step-card .dim, .std-card .dim, .std-detail, .faq-a p, .principles li { font-size: clamp(17px, .3vw + 15px, 19px); }
.faq-q { font-size: clamp(17px, .4vw + 15px, 21px); }
@media (min-width: 720px) { .founder-grid { grid-template-columns: 300px minmax(0, 1fr); max-width: 1000px; } .founder-photo { width: 300px; } .founder-mono { font-size: 92px; } }
.steps-big .step-title { font-size: clamp(28px, 2.6vw, 36px); }
.steps-big .step-card .dim, .why-item .dim { font-size: clamp(17px, .3vw + 15px, 19px); }
.latest-date { font-size: 14px; }
.latest-card { gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.latest-text { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; }
.gallery-title { font-size: clamp(32px, 3vw, 44px); }
.gallery-head .dim { font-size: 18px; }
.std-grid { margin-top: 36px; }
.std-card { padding-top: 24px; padding-bottom: 24px; }
.std-card .dim { font-size: clamp(18px, .4vw + 15px, 20px); }
.steps-big { margin-top: 36px; }
/* tighter vertical rhythm in the short home sections, with larger words */
.latest-card { padding-top: 20px; padding-bottom: 8px; gap: 12px; }
.latest-text { font-size: clamp(24px, 2.2vw, 32px); }
.latest-grid { margin-top: 36px; }
.steps-big .step-card { padding-top: 16px; padding-bottom: 8px; }
.steps-big .step-title { font-size: clamp(30px, 2.8vw, 40px); }
.section-foot { margin-top: 16px; }
.std-card { padding-top: 18px; padding-bottom: 8px; }
.why-item .dim { font-size: clamp(17px, .3vw + 15px, 19px); }
.why-grid.std-points { margin-top: 28px; padding-top: 20px; }
.latest-grid { margin-top: 28px; }
.latest-meta { min-height: 20px; }
.section > .container > .h2:first-child, .section > .container.center > .h2:first-child { margin-top: 0; }
@media (max-width: 599px) {
  .latest-grid, .std-grid { gap: 0; }
  .why-grid { gap: 20px; }
}
@media (max-width: 719px) { :root { --section: 30px; } }
@media (max-width: 599px) {
  .latest-card { gap: 10px; padding-top: 16px; padding-bottom: 4px; }
  .std-card { padding-top: 14px; padding-bottom: 4px; }
  .founder-grid { gap: 16px; margin-top: 22px; }
  .founder-text .values { margin-top: 10px; }
  .founder-photo { width: min(260px, 70vw); }
  .founder-mono { font-size: 84px; }
}
.shop-inside li { font-size: 16px; }
.shop-about { padding-top: 20px; }
.shop-inside-label { margin-top: 0; }
@media (max-width: 599px) {
  .never-list { gap: 0; margin-top: 20px; }
  .never-list li, .next-steps li { padding: 8px 0; font-size: 19px; }
  .next-steps { margin-top: 20px; }
}
.card-sample { margin: 2px 2px 0; font-size: 15px; color: var(--text-2); }
.ms-date { font-size: 13px; }
.gallery-name { font-size: clamp(22px, 2vw, 28px); }

/* ==========================================================================
   Hero render (Nov 2026): the KB plaque, a digital render, full bleed. Wide screens: the words sit in its dark left
   side, clear of the plaque, in a hero one screen tall (never taller than 1000px). Phones and portrait screens:
   the 4:5 crop on top and the words below on solid obsidian.
   ========================================================================== */
.hero-render { position: relative; isolation: isolate; background: var(--bg-deep); }
.hero-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--obsidian); }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(180deg, rgba(13, 14, 18, 0), var(--obsidian)); pointer-events: none; }
.hero-zoom { position: absolute; inset: 0; transform-origin: 50% 55%; animation: kb-hero-zoom 24s ease-in-out infinite alternate; }
.hero-zoom picture { display: contents; }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@keyframes kb-hero-zoom { from { transform: scale(1); } to { transform: scale(1.03); } }
.hero-render .hero-grid { display: block; min-height: 0; padding-block: 24px 48px; }
@media (min-width: 720px) and (min-aspect-ratio: 1001/1000) {
  .hero-render { height: clamp(560px, 100svh, 1000px); overflow: hidden; background: var(--obsidian); }
  .hero-media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  /* a soft shade under the nav, so its links read clearly over the spotlight */
  .hero-media::after { content: ""; inset: 0 0 auto; height: 160px; background: linear-gradient(180deg, rgba(13, 14, 18, .72), rgba(13, 14, 18, 0)); }
  .hero-zoom { transform-origin: 72% 55%; }
  .hero-img { object-position: 76% 50%; }
  .hero-render .hero-grid { display: grid; align-content: center; height: 100%; min-height: 0; padding-block: var(--nav-h) 0; }
  .hero-render .hero-text { max-width: min(34vw, 560px); }
  .hero-render .hero-title { font-size: clamp(44px, 5vw, 80px); }
}
/* the looping film sits over the still and fades in once it plays; then the still's slow zoom stops */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.has-video .hero-video { opacity: 1; }
.has-video .hero-zoom { animation: none; }
@media (min-width: 720px) and (min-aspect-ratio: 1001/1000) {
  .hero-video { object-position: 76% 50%; }
  /* the hero melts into the page: a soft fade to obsidian across the bottom 18% */
  .hero-media::before { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 18%; background: linear-gradient(180deg, rgba(13, 14, 18, 0), var(--obsidian)); pointer-events: none; }
}
/* over the hero the nav stays transparent, with platinum links, until the page scrolls */
[data-page="home"] .nav:not(.is-scrolled) .nav-link { color: var(--platinum); }
/* Our businesses: the Black Crest niche can play the card's film (desktop, on hover or focus) */
.niche-media { position: relative; display: block; }
.niche-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--hairline); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.kb-niche.is-playing .niche-video { opacity: 1; }
@media (min-width: 720px) and (max-width: 1199px) and (min-aspect-ratio: 1001/1000) { .hero-render .hero-text { max-width: 32vw; } }
@media (prefers-reduced-motion: reduce) { .hero-zoom { animation: none; } .hero-video, .niche-video { display: none; } }
/* Credits: a ruled list, label left and words right */
.credits-list { margin: 8px 0 0; border-top: 1px solid var(--hairline); }
.credits-list > div { display: grid; gap: 6px 40px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 760px) { .credits-list > div { grid-template-columns: 240px minmax(0, 1fr); } }
.credits-list dt { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 500; color: var(--platinum); }
.credits-list dd { margin: 0; max-width: 62ch; font-size: clamp(17px, .3vw + 15px, 19px); line-height: 1.65; color: var(--text-2); }
