/* maazzindani.com. Ink, emerald, cream. Anton for display, Space Grotesk for reading.
   Rules: tags 6px, buttons and fields 10px, cards 12px, never a stadium pill.
   No backdrop-filter, no blend modes, no blur, nothing that makes scrolling repaint. */

@font-face { font-family: 'Anton'; src: url('/fonts/anton-latin.woff2') format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/space-grotesk-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
/* keeps the body text the same width before the web font arrives, so nothing moves */
@font-face { font-family: 'Body Fallback'; src: local('Arial'), local('Helvetica'), local('Roboto'); size-adjust: 103%; ascent-override: 96%; descent-override: 28%; line-gap-override: 0%; }

:root {
  --ink: #0a0a0a;
  --ink-2: #101311;
  --ink-3: #161a18;
  --line: rgba(245, 240, 232, .12);
  --line-2: rgba(245, 240, 232, .22);
  --cream: #f5f0e8;
  --cream-2: rgba(245, 240, 232, .76);
  --cream-3: rgba(245, 240, 232, .6);
  --emerald: #10b981;
  --emerald-2: #34d399;
  --emerald-soft: rgba(16, 185, 129, .12);
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Space Grotesk', 'Body Fallback', Arial, sans-serif;
  --r-tag: 6px;
  --r: 10px;
  --r-lg: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); scrollbar-color: var(--emerald) var(--ink); background: var(--ink); }
body { background: var(--ink); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--emerald); color: var(--ink); }
:focus-visible { outline: 2px solid var(--emerald-2); outline-offset: 3px; border-radius: 4px; }
html.nav-open { overflow: hidden; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--emerald); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }
.top-mark { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }

.wrap { width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--ink-2); }

h1, h2, h3 { font-weight: 400; line-height: 1.04; }
h1, h2, .display { font-family: var(--display); text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.eyebrow { color: var(--emerald-2); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--cream-2); }
.muted { color: var(--cream-2); }
.small { font-size: 15px; }
.link { color: var(--emerald-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { color: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div { max-width: 780px; }
.section-head h2 { margin-top: 10px; }
.section-head p:not(.eyebrow) { margin-top: 12px; color: var(--cream-2); }
.section-head .more { white-space: nowrap; font-weight: 600; color: var(--emerald-2); text-decoration: none; }
.section-head .more:hover { color: var(--cream); }

/* ---- tags ---- */
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: var(--r-tag); font-size: 13px; line-height: 1.25; color: var(--cream-2); text-decoration: none; }
a.tag:hover { border-color: var(--emerald); color: var(--cream); }
.tag.is-accent { border-color: rgba(16, 185, 129, .45); background: var(--emerald-soft); color: var(--emerald-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--emerald); border-radius: var(--r); background: var(--emerald); color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--emerald-2); border-color: var(--emerald-2); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--cream); }
.btn[disabled] { opacity: .65; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- header ---- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head); border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.site-header.is-stuck, .site-header.is-solid { background: #0a0a0a; border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.brand { font-family: var(--display); font-size: 25px; letter-spacing: .02em; text-decoration: none; line-height: 1; }
.brand sup { color: var(--emerald); font-family: var(--body); font-size: 10px; font-weight: 600; vertical-align: top; margin-left: 1px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); }
.nav a { font-size: 15px; font-weight: 500; color: var(--cream-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--cream); }
.nav a[aria-current='page'] { box-shadow: 0 2px 0 var(--emerald); }
.nav .nav-cta { color: var(--ink); background: var(--emerald); padding: 9px 15px; border-radius: var(--r); font-weight: 600; box-shadow: none; }
.nav .nav-cta:hover { background: var(--emerald-2); color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; }
.nav-toggle i { display: block; width: 24px; height: 2px; background: var(--cream); transition: transform .2s; }
.nav-toggle[aria-expanded='true'] i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---- hero ---- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(62vw, 1180px); }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-video { opacity: 0; transition: opacity .5s; }
.hero-video.is-live { opacity: 1; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to right, #0a0a0a 0%, rgba(10, 10, 10, .55) 22%, rgba(10, 10, 10, 0) 46%), linear-gradient(to top, #0a0a0a 0%, rgba(10, 10, 10, 0) 26%); }
.hero-copy { position: relative; padding-block: calc(var(--head) + 32px) 48px; }
.hero-copy > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .05s; }
.hero-copy > :nth-child(3) { animation-delay: .1s; }
.hero-copy > :nth-child(4) { animation-delay: .15s; }
.hero-copy > :nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-avail { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: var(--r-tag); font-size: 14px; color: var(--cream-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-2); } /* round-ok: status dot */
.hero-role { margin-top: 22px; color: var(--emerald-2); font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-name { margin-top: 8px; font-size: clamp(84px, 13.2vw, 212px); line-height: .96; }
.hero-name span { display: block; }
.hero-name i { color: var(--emerald); font-style: normal; }
.hero-lead { max-width: 560px; margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--cream-2); }
.hero .btns { margin-top: 28px; }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform .2s linear, opacity .4s; }
.hero-progress.is-done { transform: scaleX(1); opacity: 0; }

/* ---- proof strip ---- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.proof > div { padding: clamp(24px, 3vw, 40px) var(--gutter); border-left: 1px solid var(--line); }
.proof > div:first-child { border-left: 0; }
.proof b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5vw, 68px); line-height: 1; color: var(--emerald-2); }
.proof span { display: block; margin-top: 10px; font-size: 15px; color: var(--cream-2); }

/* ---- generic grids and cards ---- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); text-decoration: none; transition: border-color .15s; }
a.card:hover, .card.is-link:hover { border-color: var(--emerald); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--emerald-2); }
.card p { color: var(--cream-2); font-size: 16px; }
.card .tags { margin-top: auto; padding-top: 8px; }
.card-kicker { color: var(--emerald-2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card-go { margin-top: auto; padding-top: 8px; color: var(--emerald-2); font-weight: 600; font-size: 15px; }

/* ---- selected work ---- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); text-decoration: none; transition: border-color .15s; }
.feature:hover { border-color: var(--emerald); }
.feature img { width: 100%; height: auto; border-radius: 8px; background: var(--ink-3); }
.feature h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 4vw, 54px); line-height: 1.04; margin-top: 8px; }
.feature p { margin-top: 12px; color: var(--cream-2); }
.feature-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; margin-top: 18px; }
.feature-facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--emerald-2); }
.feature-facts span { font-size: 14px; color: var(--cream-2); }
.stack-rows { margin-top: 16px; }

/* ---- career list ---- */
.rows > li { display: grid; grid-template-columns: 130px 1.1fr 1fr; gap: 8px 24px; padding-block: 18px; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows b { font-weight: 600; }
.rows .period { color: var(--emerald-2); font-weight: 600; }

/* ---- CTA ---- */
.cta { border-top: 1px solid var(--line); background: var(--ink-2); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(44px, 6vw, 72px); }
.cta h2 { max-width: 760px; }
.cta p { margin-top: 10px; color: var(--cream-2); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--cream-3); margin-bottom: 12px; }
.foot-grid li + li { margin-top: 7px; }
.foot-grid a { color: var(--cream-2); text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: var(--emerald-2); }
.foot-brand p { margin-top: 12px; max-width: 320px; color: var(--cream-2); font-size: 15px; }
.foot-copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--cream-3); }

/* ---- inner page header ---- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: calc(var(--head) + 20px) clamp(36px, 5vw, 60px); }
.page-art { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.page-art img { width: 100%; height: 100%; object-fit: cover; }
.page-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, #0a0a0a 0%, rgba(10, 10, 10, .35) 42%, rgba(10, 10, 10, 0) 100%); }
.page-head .wrap { position: relative; }
.page-head-copy { max-width: 700px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--cream-3); margin-bottom: 26px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--cream-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.page-head h1 { margin-top: 12px; font-size: clamp(44px, 6.6vw, 92px); }
.page-head .lead { margin-top: 18px; }
.page-head .btns, .page-head .tags { margin-top: 24px; }

/* ---- reading layout ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.block + .block { margin-top: 36px; }
.block h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.block p { color: var(--cream-2); }
.aside { position: sticky; top: calc(var(--head) + 20px); display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); }
.aside dt { font-size: 13px; color: var(--cream-3); letter-spacing: .08em; text-transform: uppercase; }
.aside dd { margin: 3px 0 0; font-weight: 500; }
.aside dl > div + div { margin-top: 14px; }
.aside .btn { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 36px; }
.facts > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); }
.facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--emerald-2); }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--cream-2); }
.case-shot { margin-bottom: 36px; }
.case-shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-3); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; }
.pager a:hover { border-color: var(--emerald); }
.pager a:last-child { text-align: right; }
.pager span { display: block; font-size: 14px; color: var(--cream-3); }
.pager b { font-weight: 600; }

/* ---- filters ---- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.filter { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: var(--r-tag); background: none; color: var(--cream-2); font-size: 14px; cursor: pointer; }
.filter:hover { border-color: var(--cream); }
.filter[aria-pressed='true'] { background: var(--emerald); border-color: var(--emerald); color: var(--ink); font-weight: 600; }
.filter-count { margin-left: auto; color: var(--cream-3); font-size: 14px; }

/* ---- technologies ---- */
.tech-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.tech-nav { position: sticky; top: calc(var(--head) + 20px); }
.tech-nav a { display: block; padding: 7px 10px; border-left: 2px solid var(--line); color: var(--cream-2); font-size: 15px; text-decoration: none; }
.tech-nav a:hover { border-left-color: var(--emerald); color: var(--cream); }
.tech-group + .tech-group { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.tech-group > p { margin-top: 10px; color: var(--cream-2); }
.tech-table { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tech-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); }
.tech-item b { font-weight: 600; }
.tech-item p { font-size: 15px; color: var(--cream-2); }
.tech-item .tags { margin-top: 4px; gap: 6px; }
.tech-item .tag { min-height: 26px; font-size: 12.5px; }
.tech-count { color: var(--cream-3); }

/* ---- timeline ---- */
.timeline > li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 32px; padding-block: 28px; border-top: 1px solid var(--line); }
.timeline > li:first-child { border-top: 0; padding-top: 0; }
.timeline .when { font-family: var(--display); font-size: 30px; line-height: 1.1; text-transform: uppercase; color: var(--emerald-2); }
.timeline h2 { font-size: clamp(28px, 3.2vw, 40px); }
.timeline .org { margin-top: 4px; font-weight: 600; color: var(--cream); }
.timeline p.sum { margin-top: 10px; color: var(--cream-2); }
.timeline ul { margin-top: 10px; }
.timeline ul li { position: relative; padding-left: 18px; color: var(--cream-2); }
.timeline ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--emerald); }
.timeline .tags { margin-top: 12px; }

/* ---- process ---- */
.steps { counter-reset: s; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 64px 150px minmax(0, 1fr); gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--line); }
.steps > li::before { content: '0' counter(s); font-family: var(--display); font-size: 32px; line-height: 1.1; color: var(--emerald-2); }
.steps .wk { color: var(--cream-2); font-size: 15px; font-weight: 500; padding-top: 6px; }
.steps p { margin-top: 6px; color: var(--cream-2); }

/* ---- FAQ ---- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
.faq details p { padding-bottom: 16px; color: var(--cream-2); }

/* ---- forms ---- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide, .form > .wide { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--ink-2); font-size: 16px; }
.field select { appearance: auto; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--emerald); outline-offset: 0; border-color: transparent; }
.field [aria-invalid='true'] { border-color: #f87171; }
.field-err { min-height: 0; font-size: 14px; color: #fca5a5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 15px; }
.note.ok { color: var(--emerald-2); }
.note.bad { color: #fca5a5; }
.contact-list li { padding-block: 13px; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: 13px; color: var(--cream-3); letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--emerald-2); }

/* ---- calculator ---- */
.region { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; }
.region-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice { position: relative; display: inline-flex; }
.choice span { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-tag); font-size: 14px; color: var(--cream-2); cursor: pointer; }
.choice input:checked + span { background: var(--emerald); border-color: var(--emerald); color: var(--ink); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--emerald-2); outline-offset: 2px; }
.calc-group { border: 0; padding: 0; }
.calc-group + .calc-group { margin-top: 22px; }
.calc-group legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.calc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-out { position: sticky; top: calc(var(--head) + 20px); padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ink-2); }
.calc-out .big { font-family: var(--display); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; color: var(--emerald-2); }
.calc-out hr { border: 0; border-top: 1px solid var(--line); margin-block: 14px; }
.calc-out .btns { margin-top: 16px; }
.calc-out .btn { width: 100%; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 11px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
th { border-top: 0; background: var(--ink-2); font-weight: 600; }

/* ---- articles ---- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: clamp(26px, 3vw, 36px); }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--cream-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 7px; }
.prose a { color: var(--emerald-2); text-underline-offset: 3px; }
.prose strong { color: var(--cream); }
.prose table { display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.post-meta { margin-top: 12px; font-size: 15px; color: var(--cream-3); }

.err-big { font-family: var(--display); font-size: clamp(120px, 26vw, 300px); line-height: .95; color: var(--emerald); }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 18px; }
  .split { grid-template-columns: 1fr; }
  .aside, .calc-out { position: static; }
  .tech-layout { grid-template-columns: 1fr; }
  .tech-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .tech-nav a { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r-tag); font-size: 14px; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--head) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: #0a0a0a; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 20px; color: var(--cream); }
  .nav a[aria-current='page'] { box-shadow: none; color: var(--emerald-2); }
  .nav .nav-cta { margin-top: 16px; padding: 14px; text-align: center; border-bottom: 0; }
  .nav-open .nav { visibility: visible; opacity: 1; }
  .nav-open .site-header { background: #0a0a0a; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div:nth-child(3) { border-left: 0; }
  .proof > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .rows > li { grid-template-columns: 1fr; gap: 2px; }
  .timeline > li { grid-template-columns: 1fr; }
  .steps > li { grid-template-columns: 52px minmax(0, 1fr); }
  .steps .wk { grid-column: 2; padding-top: 0; }
  .steps > li > div { grid-column: 2; }
  .tech-table { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; }
  .hero-media { left: 0; right: 0; bottom: auto; width: 100%; height: 72svh; height: 72vh; }
  .hero-poster, .hero-video { object-position: 50% 8%; }
  .hero-fade { background: linear-gradient(to top, #0a0a0a 2%, rgba(10, 10, 10, .72) 26%, rgba(10, 10, 10, 0) 58%); }
  .hero-copy { padding-block: 40vh 32px; }
  .hero-name { font-size: 25.5vw; }
  .hero-role { margin-top: 14px; font-size: 14px; }
  .hero-lead { margin-top: 12px; font-size: 16.5px; }
  .hero .btns { margin-top: 18px; }
  .hero .btn { flex: 1 1 140px; }
  .hero-avail { font-size: 13px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .page-art { width: 100%; }
  .page-art::after { background: linear-gradient(to top, #0a0a0a 8%, rgba(10, 10, 10, .78) 60%, rgba(10, 10, 10, .55) 100%); }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { text-align: left; }
  .filter-count { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
