/* Orkastor v3 — after Sequoia (paper, colour tiles, dot tags), YC (centred nav, serif + italic, footnotes, drop cap),
   Intercom (square-marker kickers, product stage, accordion), Idékapital (slate stats, night globe, dark serif footer). */
:root {
  --paper: #F6F4EE;
  --white: #FFFFFF;
  --ink: #161615;
  --grey: #6B6A64;
  --rule: #DAD6CB;
  --sunset: #E8590C;
  --sunset-text: #B4430A;
  --ochre: #F4B860;
  --charcoal: #2C2C2A;
  --sage: #B7CBBB;
  --sky: #A9C3DA;
  --slate: #444A5B;
  --tan: #D4B896;
  --night: #0E1014;
  --foot: #1F2023;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 3.4vw, 48px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
img, svg, canvas { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.serif-xl { font-family: var(--serif); font-weight: 380; font-size: clamp(44px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
.serif-l { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.016em; font-variation-settings: "opsz" 60; }
.serif-m { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; font-variation-settings: "opsz" 40; }
.italic { font-style: italic; }
.sans-l { font-family: var(--sans); font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.body-l { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--grey); max-width: 34em; }
.grey { color: var(--grey); }
.small { font-size: 14.5px; line-height: 1.5; }
.center { text-align: center; }

/* Sequoia-style dot tag and Intercom-style square kicker */
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--sunset); }

/* Hand-drawn underline (Sequoia) */
.drawn { position: relative; white-space: nowrap; }
.drawn svg { position: absolute; left: -3%; width: 106%; bottom: -0.2em; height: 0.36em; overflow: visible; pointer-events: none; }
.drawn path { fill: none; stroke: var(--sunset); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw 1.2s cubic-bezier(.6,.1,.3,1) .5s forwards; }
.tile .drawn path { stroke: var(--ink); animation-delay: 0s; stroke-dashoffset: 0; animation: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Footnotes (YC) */
.fn-ref { font: 600 0.24em/0 var(--sans); vertical-align: super; color: var(--grey); text-decoration: none; margin-left: 3px; letter-spacing: 0; }
.fn-ref:hover { color: var(--sunset-text); }
.footnote { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.5; max-width: 25em; text-align: left; display: grid; gap: 10px; }
.footnote .n { font-style: normal; margin-right: 4px; }
.footnote .by { text-align: right; font-size: 15px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.center .actions, .actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; font: 500 15.5px/1 var(--sans); transition: background-color .15s ease, color .15s ease; }
.btn:hover { background: #000; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--white); }
.btn.pill { border-radius: 999px; font-family: var(--serif); font-style: italic; font-size: 17px; padding: 0 20px; }
.btn.tan { background: var(--tan); border-color: var(--tan); color: var(--ink); }
.btn.tan:hover { background: #E0C7A8; }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn.ghost-light:hover { border-color: #fff; }
.link { font-family: var(--serif); font-style: italic; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link:hover { color: var(--sunset-text); }

/* Header: YC-style centred nav */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246,244,238,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-head .bar { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-head.scrolled { border-bottom: 1px solid var(--rule); }
.nav-l, .nav-r { display: flex; align-items: center; gap: 30px; }
.nav-r { justify-content: flex-end; }
.nav-l a, .nav-r a:not(.btn) { text-decoration: none; font-size: 15px; color: #3A3A37; padding: 6px 0; }
.nav-l a:hover, .nav-r a:not(.btn):hover { color: var(--ink); }
.nav-l a[aria-current="page"], .nav-r a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sunset); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 22px/1 var(--sans); font-variation-settings: "wdth" 120; letter-spacing: -0.02em; }
.wordmark i { width: 11px; height: 11px; border-radius: 50%; background: var(--sunset); display: block; }
.nav-r .btn { min-height: 38px; }
.menu-toggle { display: none; justify-self: end; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .site-head .bar { grid-template-columns: 1fr auto; }
  .nav-l, .nav-r { display: none; }
  .wordmark { order: -1; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .mobile-nav { display: none; padding: 8px var(--gutter) 22px; border-top: 1px solid var(--rule); background: var(--paper); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-family: var(--serif); font-size: 22px; }
  .mobile-nav .btn { margin-top: 16px; min-height: 48px; }
}

/* Sections */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.pt0 { padding-top: 0; }

/* Hero (YC + Sequoia) */
.hero { padding: clamp(72px, 12vw, 168px) 0 clamp(72px, 10vw, 136px); }
.hero .stack { display: grid; gap: 36px; justify-items: center; text-align: center; }
.hero .footnote { margin-left: clamp(0px, 8vw, 120px); }

/* Sequoia tile wall */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.tiles > a, .tiles > div { position: relative; padding: 14px 14px 30px; text-decoration: none; display: block; }
.tiles > *:nth-child(odd) { border-right: 1px solid var(--rule); }
.tiles > *::after { content: ""; position: absolute; left: 14px; bottom: 12px; width: 48px; height: 1px; background: var(--rule); }
.tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 2.4vw, 30px); color: #fff; }
.tile .tag { color: rgba(255,255,255,.85); }
.tile .foot { display: grid; gap: 6px; }
.tile .foot h3 { font: 400 clamp(22px, 2.2vw, 30px)/1.12 var(--sans); letter-spacing: -0.015em; }
.tile .foot p { font-size: 14.5px; opacity: .85; }
.tile .mid { display: grid; place-items: center; }
.tile .quoteword { font: 400 clamp(88px, 13vw, 176px)/0.9 var(--sans); letter-spacing: -0.05em; }
.tile.charcoal { background: var(--charcoal); }
.tile.ochre { background: var(--ochre); color: var(--ink); }
.tile.ochre .tag { color: rgba(22,22,21,.7); }
.tile.sage { background: var(--sage); color: var(--ink); }
.tile.sage .tag { color: rgba(22,22,21,.7); }
.tile.sky { background: var(--sky); color: var(--ink); }
.tile.sky .tag { color: rgba(22,22,21,.7); }
.tile .lines { align-self: center; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); line-height: 1.32; font-variation-settings: "opsz" 36; }
.tile .lines p + p.gap { margin-top: 1em; }
.tile .bignum { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
a.tile-link:hover .tile .foot h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .tiles > *:nth-child(odd) { border-right: 0; }
  .tile { aspect-ratio: 4 / 4.4; }
}

/* Intercom product block */
.intro-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px var(--gutter); align-items: end; margin-bottom: 48px; }
.intro-split .left { display: grid; gap: 22px; }
.intro-split .right { display: grid; gap: 22px; justify-items: start; }
@media (max-width: 880px) { .intro-split { grid-template-columns: 1fr; } }

.stage { position: relative; overflow: hidden; padding: clamp(18px, 4.4vw, 64px) clamp(10px, 5vw, 90px) 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(70% 60% at 85% 20%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(160deg, #E9DCC6 0%, #D8BE97 45%, #C69E70 100%); }
.stage::after { content: ""; position: absolute; right: -6%; top: -10%; width: 46%; height: 120%; background: radial-gradient(closest-side, rgba(60,45,25,.22), transparent); filter: blur(10px); pointer-events: none; }
.feature-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.feature-tabs [role="tab"] { position: relative; text-align: left; border: 0; background: none; cursor: pointer; padding: 22px 24px 26px 46px; font: 400 21px/1.25 var(--sans); letter-spacing: -0.01em; color: #9A9890; min-height: 72px; }
.feature-tabs [role="tab"]::before { content: ""; position: absolute; left: 22px; top: 30px; width: 9px; height: 9px; background: #C9C6BC; }
.feature-tabs [role="tab"]::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--sunset); transition: width .3s ease; }
.feature-tabs [role="tab"] small { display: block; font-size: 15px; line-height: 1.45; margin-top: 6px; letter-spacing: 0; }
.feature-tabs [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--white); }
.feature-tabs [role="tab"][aria-selected="true"] small { color: var(--grey); }
.feature-tabs [role="tab"][aria-selected="true"]::before { background: var(--sunset); }
.feature-tabs [role="tab"][aria-selected="true"]::after { width: 100%; }
.feature-tabs [role="tab"]:hover { color: var(--ink); }
@media (max-width: 760px) {
  .feature-tabs { grid-template-columns: 1fr; }
  .feature-tabs [role="tab"] { font-size: 18px; border-bottom: 1px solid var(--rule); }
}

/* Product window */
.app { background: var(--white); border-radius: 10px 10px 0 0; overflow: hidden; color: var(--ink); position: relative; z-index: 1;
  box-shadow: 0 30px 70px -28px rgba(60,40,20,.55), 0 0 0 1px rgba(0,0,0,.06);
  display: grid; grid-template-columns: 220px 1fr 320px; min-height: 480px; font-size: 13.5px; line-height: 1.45; }
.app-rail { background: #FAF9F6; border-right: 1px solid #ECE9E1; padding: 14px 10px; display: grid; align-content: start; gap: 4px; }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 700; font-size: 14px; font-variation-settings: "wdth" 116; }
.app-brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--sunset); }
.app-rail .label { font-size: 12px; color: var(--grey); padding: 6px 8px 4px; font-weight: 600; }
.case { padding: 9px 10px; border-radius: 8px; display: grid; gap: 2px; }
.case b { font-weight: 600; font-size: 13px; }
.case span { color: var(--grey); font-size: 12px; }
.case.on { background: var(--white); box-shadow: 0 0 0 1px #E6E2D8; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--sunset); }
.dot.ok { background: #2E7A4C; }
.app-main { padding: 16px 20px; display: grid; align-content: start; gap: 12px; border-right: 1px solid #ECE9E1; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #ECE9E1; }
.app-head h4 { font-size: 15px; font-weight: 650; }
.app-head p { color: var(--grey); font-size: 12.5px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; background: #FDEBDD; color: var(--sunset-text); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ok { background: #E6F2EA; color: #2E7A4C; }
.msg { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.av { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; background: var(--ink); }
.av.sre { background: #E8590C; } .av.fin { background: #2E7A4C; } .av.sec { background: #6B4E9B; } .av.pd { background: #1F8A4C; } .av.you { background: #9A988F; } .av.kg { background: var(--ink); }
.msg .who { font-weight: 650; font-size: 13px; }
.msg .who span { font-weight: 400; color: var(--grey); margin-left: 6px; font-size: 12px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; margin-top: 6px; }
.rev { border: 1px solid #E6E2D8; border-radius: 8px; padding: 7px 9px; font-size: 12px; display: grid; gap: 1px; }
.rev b { font-weight: 650; color: #2E7A4C; }
.rev b::before { content: "✓ "; }
.code { font-family: var(--mono); font-size: 12px; line-height: 1.6; background: #FAF9F6; border: 1px solid #ECE9E1; border-radius: 8px; padding: 10px 0; overflow-x: auto; }
.code > span { display: block; white-space: pre; padding: 0 12px; min-width: max-content; }
.code .del { background: #FCE8E6; color: #9B2C21; }
.code .add { background: #E4F2E8; color: #1F5E37; }
.code .c { color: var(--grey); }
.app-side { padding: 16px 18px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.app-side h5 { margin: 0; font-size: 13px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 12.5px; margin: 0; }
.kv dt { color: var(--grey); }
.kv dd { margin: 0; text-align: right; }
.app-btns { display: grid; gap: 8px; }
.app-btn { border-radius: 6px; padding: 9px 12px; font-weight: 600; font-size: 13px; text-align: center; background: var(--ink); color: #fff; }
.app-btn.alt { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px #E2DED3; }
.app-note { font-size: 12px; color: var(--grey); }
[role="tabpanel"][hidden] { display: none !important; }
@media (max-width: 1080px) { .app { grid-template-columns: 1fr 290px; } .app-rail { display: none; } }
@media (max-width: 760px) { .app { grid-template-columns: 1fr; } .app-main { border-right: 0; border-bottom: 1px solid #ECE9E1; } }
.caption-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 13.5px; color: var(--grey); }

/* YC before / with */
.bw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); align-items: center; margin-top: 56px; }
.bw figure { margin: 0; display: grid; gap: 12px; }
.bw .label { font-family: var(--serif); font-style: italic; font-size: 19px; text-align: center; }
.bw figcaption { text-align: center; font-size: 14px; color: #3E3D39; max-width: 30em; margin: 0 auto; }
.panel { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; position: relative; box-shadow: 0 18px 40px -26px rgba(0,0,0,.5); }
.panel.before { background: #15171B; padding: 18px; }
.panel.before .win { position: absolute; background: #1F2228; border: 1px solid #2F333B; border-radius: 8px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); color: #B9C0CA; font: 11px/1.55 var(--mono); padding: 10px 12px; overflow: hidden; }
.panel.before .w1 { left: 6%; top: 8%; width: 62%; height: 46%; transform: rotate(-2deg); }
.panel.before .w2 { right: 5%; top: 20%; width: 52%; height: 38%; transform: rotate(2.5deg); }
.panel.before .w3 { left: 14%; bottom: 7%; width: 70%; height: 36%; transform: rotate(-1deg); }
.panel.before .err { color: #F2735A; }
.panel.before .warn { color: #E8B04A; }
.panel.before .firing { position: absolute; right: 8%; bottom: 12%; background: #C2321F; color: #fff; font: 600 11px var(--mono); padding: 6px 9px; border-radius: 4px; letter-spacing: .06em; transform: rotate(-4deg); }
.panel.before svg { width: 100%; height: 70%; }
.panel.after { background: linear-gradient(170deg, #F7E6D3, #EFC9A4); display: grid; place-items: center; padding: 8%; }
.summary { width: 100%; background: var(--white); border-radius: 10px; padding: 18px; display: grid; gap: 12px; font-size: 13.5px; box-shadow: 0 16px 40px -20px rgba(90,50,20,.5); }
.summary h4 { font-weight: 650; font-size: 15px; }
.summary dl { margin: 0; display: grid; gap: 8px; }
.summary dt { font-size: 11.5px; color: var(--grey); font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.summary dd { margin: 0; }
.cycle { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; text-align: center; }
.cycle li { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; color: #D3CFC4; transition: color .5s ease, transform .5s ease; font-variation-settings: "opsz" 40; }
.cycle li.on { color: var(--ink); transform: scale(1.08); }
.cycle-pause { display: block; margin: 18px auto 0; background: none; border: 0; cursor: pointer; color: var(--grey); }
@media (max-width: 900px) {
  .bw { grid-template-columns: minmax(0, 1fr); }
  .bw .mid { order: -1; }
  .cycle { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
  .cycle li { font-size: 21px; }
}

/* Idékapital slate stats */
.slate { background: var(--slate); color: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.slate .lead-serif { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; max-width: 30em; color: #F1F2F5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; text-align: center; }
.stats svg { width: 40px; height: 40px; margin: 0 auto 16px; stroke: #C9CDD6; fill: none; stroke-width: 1.2; }
.stats p { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); color: #E9EBF0; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; gap: 40px; } }

/* Intercom accordion split */
.acc-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--rule); background: var(--white); }
.acc-visual { background: #EEECE6; display: grid; place-items: center; padding: clamp(20px, 4vw, 56px); min-height: 520px; border-right: 1px solid var(--rule); }
.slack { width: 100%; max-width: 460px; background: var(--white); border-radius: 14px; border: 1px solid #DEDAD0; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(0,0,0,.4); }
.slack-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #ECE9E1; font-weight: 650; }
.slack-head span { font-weight: 400; color: var(--grey); font-size: 13px; }
.slack-body { padding: 18px; display: grid; gap: 14px; font-size: 14.5px; min-height: 260px; align-content: start; }
.slack-body .msg { grid-template-columns: 34px 1fr; }
.slack-body .av { width: 34px; height: 34px; font-size: 11px; }
.pillrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pillrow span { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: #E6F2EA; color: #2E7A4C; font-weight: 600; }
.slack-actions { display: flex; gap: 8px; margin-top: 10px; }
.slack-actions span { font-size: 13px; padding: 7px 12px; border-radius: 6px; border: 1px solid #DEDAD0; font-weight: 600; }
.slack-actions span.go { background: #1F7A4C; border-color: #1F7A4C; color: #fff; }
.acc-list { display: grid; align-content: start; }
.acc-list button { text-align: left; border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer; padding: 22px 26px 22px 52px; position: relative; color: #9A9890; font: 400 21px/1.25 var(--sans); letter-spacing: -0.01em; }
.acc-list button::before { content: ""; position: absolute; left: 26px; top: 30px; width: 9px; height: 9px; background: #C9C6BC; }
.acc-list button .d { display: none; font-size: 15px; line-height: 1.5; color: var(--grey); margin-top: 8px; letter-spacing: 0; }
.acc-list button[aria-selected="true"] { color: var(--ink); }
.acc-list button[aria-selected="true"]::before { background: var(--sunset); }
.acc-list button[aria-selected="true"] .d { display: block; }
.acc-list button:hover { color: var(--ink); }
@media (max-width: 900px) { .acc-split { grid-template-columns: 1fr; } .acc-visual { min-height: 0; border-right: 0; border-bottom: 1px solid var(--rule); } }

/* YC partner-style agent cards */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.agent { position: relative; aspect-ratio: 6 / 7; border-radius: 10px; overflow: hidden; color: #fff; display: grid; align-content: end; padding: 28px; box-shadow: 0 18px 40px -28px rgba(0,0,0,.6); }
.agent::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); pointer-events: none; }
.agent::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.55)); pointer-events: none; }
.agent .mono { position: absolute; top: 14px; right: 22px; font-family: var(--serif); font-size: clamp(120px, 14vw, 200px); line-height: 1; opacity: .2; font-variation-settings: "opsz" 72; }
.agent > div { position: relative; z-index: 1; display: grid; gap: 4px; }
.agent h3 { font: 500 22px/1.2 var(--sans); }
.agent .role { font-size: 15px; opacity: .9; }
.agent p { font-size: 15px; line-height: 1.45; opacity: .92; margin-top: 8px; max-width: 22em; }
.agent.a1 { background: radial-gradient(120% 90% at 20% 0%, #F08A4B, #B8420F 55%, #5E2410); }
.agent.a2 { background: radial-gradient(120% 90% at 80% 0%, #6F8FB8, #34507A 55%, #1B2A44); }
.agent.a3 { background: radial-gradient(120% 90% at 20% 0%, #7FB08E, #3B7553 55%, #1D3D2B); }
.agent.a4 { background: radial-gradient(120% 90% at 80% 0%, #9C86C4, #5A4489 55%, #2C2147); }
.agent.a5 { background: radial-gradient(120% 90% at 20% 0%, #CDB083, #8B6C3D 55%, #45341C); }
.agent.a6 { background: radial-gradient(120% 90% at 80% 0%, #8E939B, #4B5059 55%, #22252A); }
@media (max-width: 960px) { .agents { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 560px) { .agents { grid-template-columns: 1fr; } .agent { aspect-ratio: 5 / 4; } }

/* YC drop-cap prose */
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.62; display: grid; gap: 1.1em; font-variation-settings: "opsz" 18; }
.prose .dropcap::first-letter { float: left; font-size: 5.2em; line-height: .78; margin: .06em .1em 0 0; font-weight: 500; font-variation-settings: "opsz" 72; }

/* Intercom wordmark wall */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; margin-top: 44px; }
.wall span { text-align: center; color: #6F6D66; font: 600 19px/1.2 var(--sans); letter-spacing: -0.01em; }
.wall span:nth-child(4n+2) { font: 400 22px/1.2 var(--serif); }
.wall span:nth-child(4n+3) { font: 700 15px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-variation-settings: "wdth" 118; }
.wall span:nth-child(4n) { font: 500 18px/1.2 var(--mono); letter-spacing: -0.02em; }
@media (max-width: 700px) { .wall { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; } }

/* Idékapital offset split */
.offset { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #F0EEE8; }
.offset .text { padding: clamp(48px, 7vw, 104px) var(--gutter); display: grid; gap: 26px; align-content: center; max-width: 620px; margin-left: auto; }
.offset .vis { position: relative; padding: 32px 32px 32px 0; }
.offset .vis::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: 26%; background: var(--tan); }
.offset .vis > * { position: relative; }
.offset.flip { background: var(--white); }
.offset.flip .vis { order: -1; padding: 32px 0 32px 32px; }
.offset.flip .vis::before { left: 0; right: 26%; background: var(--slate); }
.offset.flip .text { margin-left: 0; margin-right: auto; }
@media (max-width: 860px) {
  .offset { grid-template-columns: 1fr; }
  .offset .vis, .offset.flip .vis { order: 0; padding: 20px; }
  .offset .text { margin: 0; }
}

/* Night globe (Idékapital) */
.night { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.night canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.night .inner { position: relative; z-index: 1; min-height: clamp(560px, 70vw, 780px); display: grid; align-content: center; }
.night .copy { max-width: 32em; display: grid; gap: 26px; }
.night .footnote { color: #D8DCE2; }
.night .fn-ref { color: #C9CDD6; }
.night .pause { position: absolute; z-index: 2; right: var(--gutter); bottom: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #DDE1E7; border-radius: 999px; font: 500 13px var(--sans); padding: 7px 14px; cursor: pointer; }

/* Inner page hero */
.page-hero { padding: clamp(64px, 10vw, 140px) 0 clamp(56px, 8vw, 104px); }
.page-hero .stack { display: grid; gap: 30px; justify-items: center; text-align: center; }

/* Steps (KubeGraf) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 80px minmax(0, 3fr) minmax(0, 5fr); gap: 8px 32px; padding: 30px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--sunset); }
.steps h3 { font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.steps .eg { margin-top: 8px; font-family: var(--serif); font-style: italic; color: var(--grey); font-size: 17px; }
@media (max-width: 760px) { .steps li { grid-template-columns: 44px 1fr; } .steps li > div { grid-column: 2; } .steps li::before { font-size: 32px; } }

/* Levels and plans */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.levels > div { padding: 28px 28px 32px 0; display: grid; gap: 10px; align-content: start; }
.levels > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.levels h3 { font-family: var(--serif); font-size: 28px; }
.levels p { color: var(--grey); }
.meter { display: flex; gap: 4px; max-width: 120px; }
.meter i { height: 5px; flex: 1; background: var(--rule); }
.meter i.f { background: var(--sunset); }
@media (max-width: 820px) { .levels { grid-template-columns: 1fr; } .levels > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); background: var(--white); }
.plan { padding: 32px; display: grid; gap: 14px; align-content: start; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan.featured { background: #FBF3EA; }
.plan h3 { font-family: var(--serif); font-size: 26px; }
.plan .price { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--grey); letter-spacing: 0; margin-left: 6px; }
.plan p { color: var(--grey); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); } }

/* Agent picker (slate) */
.picker { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; border: 1px solid rgba(255,255,255,.18); }
.picker [role="tablist"] { display: grid; align-content: start; border-right: 1px solid rgba(255,255,255,.18); }
.picker [role="tab"] { text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #C9CDD6; font: 400 22px/1.2 var(--serif); padding: 16px 22px; cursor: pointer; min-height: 58px; }
.picker [role="tab"]:last-child { border-bottom: 0; }
.picker [role="tab"]:hover { color: #fff; background: rgba(255,255,255,.05); }
.picker [role="tab"][aria-selected="true"] { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 3px 0 0 var(--tan); }
.picker [role="tabpanel"] { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.picker .serif-m { color: #fff; }
.picker dl { margin: 0; display: grid; gap: 16px; }
.picker dt { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tan); }
.picker dd { margin: 4px 0 0; color: #DDE0E6; }
@media (max-width: 760px) {
  .picker { grid-template-columns: 1fr; }
  .picker [role="tablist"] { grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .picker [role="tab"] { font-size: 18px; padding: 12px 14px; min-height: 48px; border-right: 1px solid rgba(255,255,255,.14); }
}

/* Ledger */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ledger li { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ledger .when { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--sunset-text); }
.ledger .what { font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.ledger .why { color: var(--grey); font-size: 15.5px; }
@media (max-width: 820px) { .ledger li { grid-template-columns: 1fr; } }

/* Details, form, contact */
.details { margin: 0; border-top: 1px solid var(--ink); }
.details > div { display: grid; grid-template-columns: 220px 1fr; gap: 6px 32px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.details dt { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--grey); padding-top: 4px; }
.details dd { margin: 0; font-family: var(--serif); font-size: 19px; }
@media (max-width: 600px) { .details > div { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--grey); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid #CBC6BA; border-radius: 4px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sunset); outline-offset: 0; border-color: var(--sunset); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field .error { color: #B42318; font-size: 14.5px; font-weight: 500; }
.field .error:empty { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.result { padding: 22px; background: #FBF3EA; border: 1px solid #EBD9C2; display: grid; gap: 12px; }
.result[hidden] { display: none; }
.result pre { margin: 0; white-space: pre-wrap; font: 14px/1.5 var(--mono); background: var(--white); padding: 14px 16px; border: 1px solid var(--rule); max-height: 240px; overflow: auto; }
.address-card { background: var(--foot); color: #E8E9EC; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.address-card .top { padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; }
.address-card h2 { font-family: var(--serif); font-size: 30px; color: #fff; }
.address-card a { color: #fff; }
.address-card .row { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.address-card .row span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--tan); }
.address-card .bar { background: var(--tan); color: var(--ink); text-align: center; padding: 12px; font-family: var(--serif); font-size: 15.5px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px var(--gutter); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer (Idékapital) */
.site-foot { background: var(--foot); color: #E3E4E7; padding: clamp(72px, 9vw, 112px) 0 40px; font-family: var(--serif); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1fr); gap: 32px; }
.foot-top b { font-weight: 600; color: #fff; font-size: 17px; }
.foot-top ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 16.5px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-top .addr { text-align: right; font-size: 16.5px; line-height: 1.6; }
.foot-top .lead { font-size: 22px; line-height: 1.35; max-width: 15em; margin-top: 14px; color: #fff; }
.foot-legal { margin-top: 72px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14.5px; color: #A9ABB1; font-style: italic; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } .foot-top .addr { text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .drawn path { stroke-dashoffset: 0; }
}
.tile.forest { background: #2F4A3A; }
.tile.sun { background: var(--sunset); color: #1A0F08; }
.tile.sun .tag { color: rgba(26,15,8,.7); }
.settings { background: var(--white); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); border-radius: 8px; overflow: hidden; font-size: 14.5px; }
.settings .sh { padding: 16px 20px; border-bottom: 1px solid #ECE9E1; display: flex; justify-content: space-between; align-items: center; font-weight: 650; }
.settings .sh span { font-weight: 400; color: var(--grey); font-size: 13px; }
.settings .opt { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #F0EDE6; }
.settings .opt:last-child { border-bottom: 0; }
.settings .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #B9B5AA; margin-top: 2px; }
.settings .opt.on { background: #FBF3EA; }
.settings .opt.on .radio { border: 5px solid var(--sunset); }
.settings .opt b { font-weight: 650; display: block; }
.settings .opt p { color: var(--grey); font-size: 13.5px; }

/* No italics anywhere (requested) */
em, .italic, .footnote, .link, .bw .label, .steps .eg, .foot-legal, .serif-xl em, .serif-l em { font-style: normal; }
.btn.pill { font-family: var(--sans); font-style: normal; font-size: 15.5px; font-weight: 500; }

/* Products (company home) */
.products { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.product { padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 18px; align-content: start; min-height: 380px; }
.product.live { background: var(--charcoal); color: #fff; grid-template-rows: auto auto 1fr auto; }
.product.live .tag { color: #9ED7B0; }
.product.live .name { font-family: var(--serif); font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.product.live p { color: #D6D6D2; max-width: 32em; font-size: 18px; }
.product.live .link { color: #fff; }
.product.next { border: 1px dashed #BDB8AB; color: var(--ink); grid-template-rows: auto 1fr auto; }
.product.next .tag { color: var(--grey); }
.product.next p { color: var(--grey); }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } .product { min-height: 0; } }
.head-center { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 48px; }

/* Official Orkastor logo: light-background version in the header, original on the dark footer */
:root { --logo-bg: #100F15; }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 46px; width: auto; display: block; }
.site-head .bar { min-height: 70px; }
@media (max-width: 900px) { .logo { order: -1; } .logo img { height: 40px; } }
.site-foot { background: var(--logo-bg); }
.foot-logo img { height: 52px; margin-left: -6px; }

/* Header: soft dark grey (requested), original logo on transparent background */
:root { --head: #1F2025; }
.site-head { background: var(--head); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-head.scrolled { border-bottom: 0; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-l a, .nav-r a:not(.btn) { color: #CDCED4; }
.nav-l a:hover, .nav-r a:not(.btn):hover, .nav-l a[aria-current="page"], .nav-r a[aria-current="page"] { color: #fff; }
.nav-r .btn.pill { background: #fff; color: var(--head); border-color: #fff; }
.nav-r .btn.pill:hover { background: #E9E9EE; }
.menu-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 900px) {
  .mobile-nav { background: var(--head); border-top-color: rgba(255,255,255,.1); }
  .mobile-nav a:not(.btn) { color: #fff; border-bottom-color: rgba(255,255,255,.1); }
  .mobile-nav .btn.pill { background: #fff; color: var(--head); border-color: #fff; }
}

/* Compact header on scroll: logo glides to the left, everything else fades away */
.site-head { transition: box-shadow .35s ease; }
.site-head .bar { transition: min-height .8s cubic-bezier(.45,.05,.2,1); }
.logo { transform-origin: left center; transition: transform 1.2s cubic-bezier(.45,.05,.2,1), filter 1.2s ease; will-change: transform; }
.nav-l, .nav-r, .menu-toggle { transition: opacity .3s ease .1s, transform .35s ease .1s, visibility 0s linear 0s; }
.site-head.compact .bar { min-height: 58px; }
.site-head.compact .logo { transform: translateX(var(--logo-shift, 0px)) scale(.88); }
.site-head.compact .nav-l, .site-head.compact .nav-r, .site-head.compact .menu-toggle {
  opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
}
.site-head.compact { box-shadow: 0 10px 30px -18px rgba(0,0,0,.55); }
.site-head.compact:focus-within .logo { transform: none; filter: none; }
.site-head.compact:focus-within .nav-l, .site-head.compact:focus-within .nav-r, .site-head.compact:focus-within .menu-toggle { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.site-head.compact:focus-within .bar { min-height: 70px; }

/* Split logo: identical at rest, each part animates on its own when the header compacts */
.logo.split .logo-box { position: relative; display: block; height: 46px; aspect-ratio: 600 / 182; }
.logo.split .lp { position: absolute; top: 0; bottom: 0; display: block; }
.logo.split .lp img { width: 100%; height: 100%; display: block; }
.logo.split .mark { left: 0; width: 35.5%; }
.logo.split .o { left: 35.5%; width: 12.667%; perspective: 200px; }
.logo.split .rka { left: 48.167%; width: 18.333%; }
.logo.split .stor { left: 66.5%; width: 33.5%; }
@media (max-width: 900px) { .logo.split .logo-box { height: 40px; } }

/* Insights listing */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.chips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; font: 500 14.5px var(--sans); color: var(--ink); cursor: pointer; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card { display: grid; text-decoration: none; background: var(--white); border: 1px solid var(--rule); }
.card[hidden] { display: none; }
.card-art { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; }
.card-art span { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.card-art.ochre { background: var(--ochre); }
.card-art.charcoal { background: var(--charcoal); color: #fff; }
.card-art.charcoal span { font-size: clamp(90px, 10vw, 150px); }
.card-body { padding: 26px 28px 30px; display: grid; gap: 12px; }
.card:hover .serif-m { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Articles */
.article { padding: clamp(48px, 7vw, 96px) 0; }
.article-head { display: grid; gap: 18px; margin-bottom: 44px; }
.article-body h2 { font-family: var(--serif); font-size: 28px; line-height: 1.2; margin-top: 1.2em; }
.article-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: .4em; }
.article-body strong { font-weight: 600; }
.article-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); display: grid; gap: 18px; }

/* Legal */
.legal h2 { font-family: var(--serif); font-size: 24px; margin-top: 1em; }
.legal a { text-decoration: underline; text-underline-offset: 4px; }
.draft { font: 500 14.5px/1.5 var(--sans); background: #FBF3EA; border: 1px solid #EBD9C2; padding: 14px 16px; }

/* Header with more links */
@media (max-width: 1240px) and (min-width: 901px) { .nav-l, .nav-r { gap: 18px; } .nav-l a, .nav-r a:not(.btn) { font-size: 14.5px; } }
/* Footer with legal column */
.foot-top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1fr); }
@media (max-width: 1000px) { .foot-top { grid-template-columns: 1fr 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } .foot-top .addr { text-align: left; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* Phones and small tablets */
@media (max-width: 760px) {
  .tiles { border-left: 0; border-right: 0; gap: 14px; }
  .tiles > a, .tiles > div { padding: 0; }
  .tiles > *::after { display: none; }
  .tile { aspect-ratio: auto; min-height: 280px; gap: 18px; }
  .tile .bignum { font-size: clamp(38px, 11vw, 56px); }
  .tile .quoteword { font-size: clamp(64px, 20vw, 96px); }
  .panel { aspect-ratio: auto; }
  .panel.before { min-height: 340px; }
  .panel.after { padding: 20px 16px; }
  .av { font-size: 11px; }
  .cycle-pause, .night .pause { min-height: 44px; min-width: 64px; }
  .link.small { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 560px) {
  .agents { gap: 14px; margin-top: 40px; }
  .agent { aspect-ratio: auto; min-height: 220px; padding: 22px; }
  .agent .mono { font-size: 96px; top: 8px; right: 16px; }
}
@media (max-width: 700px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) {
  .wall span { font-size: 16px; }
  .wall span:nth-child(4n+2) { font-size: 18px; }
  .wall span:nth-child(4n+3) { font-size: 13px; letter-spacing: .06em; font-variation-settings: "wdth" 100; }
  .wall span:nth-child(4n) { font-size: 15px; }
}
/* An odd tile count: the last tile runs the full row instead of leaving a gap. */
@media (min-width: 761px) {
  .tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
  .tiles > :last-child:nth-child(odd) .tile { aspect-ratio: 2 / 1; }
}
