/* Next Foundry — "Bold dark tech" (approved palette)
   A dark control room: molten orange is the only colour that glows; everything else is steel. */
:root {
  --bg: #0A0E13;      /* night floor */
  --bg-2: #0E141B;    /* alternate band */
  --card: #131B24;    /* raised panel */
  --card-2: #1A2430;  /* panel inside panel */
  --line: #253240;    /* hairlines */
  --fg: #EEF1F4;      /* text */
  --muted: #9DAAB7;   /* secondary text */
  --molten: #FF6B2C;  /* the accent */
  --amber: #FFB338;   /* accent highlight */
  --ok: #3DD68C;
  --wip: #F5B544;
  --err: #FF8A7A;

  --head: "Archivo", "Arial Black", "Segoe UI", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --t-xs: 0.8rem;
  --t-sm: 0.9rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.45rem, 1.2rem + 1.1vw, 1.95rem);
  --t-2xl: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  --t-3xl: clamp(2.4rem, 1.4rem + 4.6vw, 5.2rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --measure: 66ch;
  --r-s: 8px;
  --r-m: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--t-md)/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--molten); }
:focus-visible { outline: 2px solid var(--molten); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--molten); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .display { font-family: var(--head); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--t-3xl); font-stretch: 118%; font-variation-settings: "wdth" 118; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.15; letter-spacing: -0.01em; font-weight: 750; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: var(--t-lg); line-height: 1.55; max-width: 54ch; color: #D3DAE1; }
.muted { color: var(--muted); }
.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 19, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-variation-settings: "wdth" 112; font-weight: 750; font-size: 1.06rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; flex: none; color: var(--fg); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; padding: 8px 10px; border-radius: var(--r-s); font-size: var(--t-sm); font-weight: 500; color: #C9D2DA; }
.nav a:hover { background: var(--card); color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--molten); border-radius: 0; }
.nav .btn { margin-left: 8px; color: #1A0A02; }
.menu-btn { display: none; margin-left: auto; background: var(--card); border: 1px solid var(--line); color: var(--fg); font: 600 var(--t-sm)/1 var(--body); padding: 10px 16px; border-radius: var(--r-s); cursor: pointer; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 66px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--molten); padding-left: 14px; }
  .nav .btn { margin: 18px 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; font: 600 .96rem/1 var(--body); text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: var(--muted); }
.btn-molten { background: linear-gradient(180deg, #FF7A3D, var(--molten)); border-color: transparent; color: #1A0A02; box-shadow: 0 6px 24px -10px rgba(255, 107, 44, .8); }
.btn-molten:hover { background: linear-gradient(180deg, #FF8B55, #FF7433); border-color: transparent; }
.btn-line { background: transparent; }
.btn[disabled] { opacity: .6; cursor: progress; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 .72rem/1 var(--mono); letter-spacing: .06em; padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip-hot { color: var(--amber); border-color: rgba(255, 179, 56, .45); background: rgba(255, 179, 56, .08); }
.chip-soon { color: var(--wip); border-color: rgba(245, 181, 68, .4); border-style: dashed; }
.chip-live { color: var(--ok); border-color: rgba(61, 214, 140, .4); background: rgba(61, 214, 140, .07); }

/* ---------- Bands ---------- */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.iron, .bone, .alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section:not(.iron):not(.bone):not(.alt) + .section:not(.iron):not(.bone):not(.alt) { padding-top: 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(30px, 5vw, 52px); max-width: 64ch; }
.section-head p { margin: 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.statement { font-size: var(--t-2xl); font-weight: 700; line-height: 1.1; max-width: 22ch; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); border-top: 0; background:
  radial-gradient(60% 70% at 85% 30%, rgba(255, 107, 44, .14), transparent 70%),
  radial-gradient(40% 50% at 10% 100%, rgba(255, 179, 56, .06), transparent 70%), var(--bg); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-mark { position: absolute; z-index: 0; right: -14%; top: 50%; width: min(70vw, 820px); transform: translateY(-50%); opacity: .35; pointer-events: none; }
.hero-mark .ring { stroke: #1F2C39; }
.hero-mark .arrow { stroke: var(--molten); opacity: .55; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero-mark { display: none; } }

/* The pour: molten metal rises through the headline and cools to steel-white */
.pour { color: transparent; background-image: linear-gradient(0deg, var(--fg) 0%, var(--fg) 31%, var(--amber) 34%, var(--molten) 38%, #8A2A06 42%, #1F2C39 45%, #1F2C39 100%); background-size: 100% 300%; background-position: 0 100%; -webkit-background-clip: text; background-clip: text; animation: pour 2.2s cubic-bezier(.55,.05,.25,1) .3s backwards; }
@keyframes pour { from { background-position: 0 0%; } to { background-position: 0 100%; } }

/* Product screen in the hero */
.panel { background: linear-gradient(180deg, var(--card), #10171F); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 107, 44, .06) inset; overflow: hidden; }
.panel-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.panel-top .dots { display: flex; gap: 6px; }
.panel-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.panel-top b { font-weight: 650; }
.panel-top .chip { margin-left: auto; }
.panel-tabs { display: flex; gap: 6px; padding: 12px 16px 0; flex-wrap: wrap; }
.panel-tabs button { font: 600 var(--t-xs)/1 var(--body); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.panel-tabs button[aria-selected="true"] { color: #1A0A02; background: var(--amber); border-color: var(--amber); }
.panel-body { padding: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-width: 0; }
.kpi small { display: block; color: var(--muted); font-size: .72rem; }
.kpi b { display: block; font-family: var(--head); font-variation-settings: "wdth" 112; font-size: 1.4rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.feed { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .82rem; color: var(--muted); min-height: 104px; }
.feed li { display: flex; gap: 9px; align-items: center; min-width: 0; }
.feed li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 3px rgba(61, 214, 140, .15); }
.feed b { color: var(--fg); font-weight: 600; }
.feed li.new { animation: feedin .45s ease both; }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.panel-note { font: 500 .7rem/1 var(--mono); color: #6F7D8A; padding: 0 16px 14px; margin: 0; }
@media (max-width: 480px) { .kpi b { font-size: 1.15rem; } }

@media (prefers-reduced-motion: reduce) {
  .pour { animation: none; color: var(--fg); background: none; }
  .feed li.new { animation: none; }
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Page heroes ---------- */
.page-hero { padding: clamp(44px, 6.5vw, 88px) 0 clamp(36px, 5vw, 64px); background: radial-gradient(50% 80% at 90% 0%, rgba(255, 107, 44, .10), transparent 70%); border-top: 0; }
.page-hero h1 { max-width: 17ch; }
.page-hero .lede { margin-top: 22px; }
.page-hero.iron { background: radial-gradient(50% 80% at 90% 0%, rgba(255, 107, 44, .12), transparent 70%), var(--bg-2); border-top: 0; }
.page-hero:not(.iron) + .section:not(.iron):not(.bone):not(.alt), .page-hero.iron + .section.iron { padding-top: 0; }
.crumbs { font-size: var(--t-sm); margin-bottom: 18px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Lists ---------- */
.prose-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prose-list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 13rem 1fr; gap: 24px; }
.prose-list li strong { font-weight: 650; }
.prose-list li p { margin: 0; color: #C3CCD5; }
@media (max-width: 640px) { .prose-list li { grid-template-columns: 1fr; gap: 6px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: #C9D2DA; font-size: var(--t-sm); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--molten); border-bottom: 2px solid var(--molten); transform: rotate(-45deg); }

/* ---------- Ventures ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ledger a.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 10rem; gap: 24px; align-items: center; padding: 22px 24px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s, background-color .2s; }
.ledger a.row:hover, .ledger a.row:focus-visible { border-color: rgba(255, 107, 44, .55); background: #16202B; }
.ledger .name { font-family: var(--head); font-variation-settings: "wdth" 118; font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ledger .what { color: var(--muted); max-width: 52ch; }
.ledger .stage { justify-self: end; }
@media (max-width: 760px) {
  .ledger a.row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 18px; }
  .ledger .what { grid-column: 1 / -1; grid-row: 2; }
}
.stage { display: inline-flex; align-items: center; gap: 8px; font: 500 .74rem/1 var(--mono); white-space: nowrap; padding: 6px 10px; border-radius: 6px; border: 1px solid currentColor; }
.stage::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stage-live { color: var(--ok); }
.stage-live::before { box-shadow: 0 0 0 3px rgba(61, 214, 140, .18); }
.stage-lab { color: var(--amber); }
.stage-dev { color: var(--muted); }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.process li { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); counter-increment: step; }
.process li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--molten); color: var(--amber); font: 700 var(--t-xs)/1 var(--mono); margin-bottom: 14px; }
.process h3 { margin-bottom: 8px; }
.process p { color: var(--muted); font-size: var(--t-sm); margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { grid-column: span 6; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(20px, 3vw, 32px); }
.tile.wide { grid-column: span 12; }
.tile.third { grid-column: span 4; }
.tile h3 { margin-bottom: 10px; }
.tile p { color: #C3CCD5; }
.tile p:last-child, .tile ul:last-child { margin-bottom: 0; }
.tile ul { padding-left: 1.1em; margin: 0 0 1em; color: #C3CCD5; }
.tile li { margin-bottom: 6px; }
@media (max-width: 860px) { .tile, .tile.third { grid-column: span 12; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; min-width: 0; }
.svc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--molten); background: rgba(255, 107, 44, .1); border: 1px solid rgba(255, 107, 44, .25); }
.svc h3 { margin-top: 4px; }
.svc > p { color: var(--muted); font-size: var(--t-sm); margin: 0; }
.svc details { border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.svc summary { cursor: pointer; font-weight: 600; font-size: var(--t-sm); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: "+"; color: var(--amber); font: 600 1.1rem/1 var(--mono); }
.svc details[open] summary::after { content: "–"; }
.svc details .ticks { margin-top: 12px; }
.svc-link { align-self: flex-start; font-weight: 600; font-size: var(--t-sm); text-decoration: none; border-bottom: 2px solid var(--molten); padding-bottom: 2px; }
.svc-link:hover { color: var(--amber); }
.svc.soon { background: transparent; border-style: dashed; }
.svc.soon .chip { align-self: flex-start; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
.pkg.popular { border-color: rgba(255, 107, 44, .6); box-shadow: 0 0 0 1px rgba(255, 107, 44, .25) inset, 0 20px 60px -30px rgba(255, 107, 44, .5); }
.pkg .chip { position: absolute; top: 18px; right: 18px; }
.pkg-time { font: 500 var(--t-xs)/1 var(--mono); color: var(--amber); margin: 0 0 6px; }
.pkg-price { font-family: var(--head); font-variation-settings: "wdth" 112; font-weight: 750; font-size: 1.35rem; margin: 10px 0 0; }
.pkg-note { color: var(--muted); font-size: var(--t-sm); margin: 0 0 14px; }
.pkg .ticks { margin-bottom: 20px; }
.pkg .btn { margin-top: auto; }
.care { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; border-radius: var(--r-m); border: 1px solid rgba(255, 179, 56, .35); background: linear-gradient(90deg, rgba(255, 179, 56, .08), rgba(255, 107, 44, .04)); }
.care h3 { margin-bottom: 6px; }
.care p { margin: 0; }

.assure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.assure li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); min-width: 0; }
.assure .ico { color: var(--molten); margin-top: 2px; }
.assure strong { display: block; font-size: var(--t-sm); margin-bottom: 4px; }
.assure span { display: block; color: var(--muted); font-size: var(--t-xs); line-height: 1.45; }
@media (max-width: 1000px) { .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .assure { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font: 600 1.2rem/1 var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #C3CCD5; margin: 0 0 18px; }

.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.roadmap > li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; display: grid; gap: 12px; align-content: start; }
.roadmap .chip { justify-self: start; }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }

.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ind-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: grid; gap: 6px; align-content: start; }
.ind-grid strong { font-weight: 650; }
.ind-grid span { color: var(--muted); font-size: var(--t-sm); line-height: 1.45; }
.ind-grid .ind-more { border-color: rgba(255, 107, 44, .5); background: linear-gradient(180deg, rgba(255, 107, 44, .08), var(--card)); }
.ind-grid .svc-link { margin-top: 6px; }
@media (max-width: 960px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- Venture detail ---------- */
.venture-hero.meta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 26px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.facts div { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); }
.facts dt { font: 500 var(--t-xs)/1.2 var(--mono); color: var(--amber); }
.facts dd { margin: 8px 0 0; font-weight: 600; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

.pull { font-family: var(--head); font-variation-settings: "wdth" 112; font-weight: 700; font-size: var(--t-2xl); line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; margin: 0; }

/* ---------- Blog ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.post-list > li { grid-column: span 4; }
.post-list > li.lead { grid-column: span 8; }
.post-list a { text-decoration: none; display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; transition: border-color .2s; }
.post-list a:hover { border-color: rgba(255, 107, 44, .55); }
.post-list .kicker { font: 500 var(--t-xs)/1.2 var(--mono); color: var(--amber); margin-bottom: 10px; }
.post-list h3 { font-size: var(--t-lg); line-height: 1.2; margin-bottom: 10px; }
.post-list li.lead h3 { font-size: var(--t-xl); }
.post-list p { color: var(--muted); font-size: var(--t-sm); margin: 0 0 12px; }
.post-list .date { font-size: var(--t-xs); color: #7D8B98; margin-top: auto; }
.post-cover { aspect-ratio: 1200 / 630; border-radius: 10px; overflow: hidden; margin: -6px -6px 16px; background: var(--bg-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .post-list > li, .post-list > li.lead { grid-column: span 6; } }
@media (max-width: 600px) { .post-list > li, .post-list > li.lead { grid-column: span 12; } }

.article-head { padding: clamp(40px, 6vw, 80px) 0 36px; border-top: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(255, 107, 44, .12), transparent 70%), var(--bg-2); }
.article-head h1 { font-size: var(--t-2xl); max-width: 22ch; line-height: 1.08; }
.article-head .lede { margin-top: 18px; max-width: 52ch; }
.article-meta { margin-top: 24px; font-size: var(--t-sm); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }

.article { font-size: 1.1rem; line-height: 1.75; padding: clamp(40px, 6vw, 72px) var(--gutter); color: #D9DFE5; }
.article > * { max-width: 70ch; margin-inline: auto; }
.article p { margin: 0 auto 1.15em; max-width: 70ch; }
.article h2 { font-size: var(--t-xl); line-height: 1.15; margin: 2em auto .6em; max-width: 70ch; color: var(--fg); }
.article h3 { margin: 1.6em auto .5em; max-width: 70ch; color: var(--fg); }
.article a { color: var(--amber); text-decoration-color: rgba(255, 179, 56, .45); }
.article a:hover { text-decoration-color: var(--molten); }
.article strong { color: var(--fg); }
.article ul, .article ol { padding-left: 1.3em; margin: 0 auto 1.2em; }
.article li { margin-bottom: .45em; }
.article blockquote { margin: 1.6em auto; padding: 0 0 0 22px; border-left: 3px solid var(--molten); font-size: 1.25rem; }
.article .callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px 24px; margin: 1.6em auto; }
.article table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin: 1.4em auto 1.8em; }
.article th, .article td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 700; color: var(--fg); border-bottom: 2px solid var(--molten); }
.table-scroll { overflow-x: auto; }
.sources { font-size: var(--t-sm); border-top: 2px solid var(--line); padding-top: 18px; margin-top: 3em !important; }
.sources h2 { font-size: var(--t-md) !important; margin: 0 0 10px !important; }
.sources ol { padding-left: 1.2em; }
.sources li { margin-bottom: 6px; color: var(--muted); word-break: break-word; }
.author-box { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; margin-top: 2.4em !important; font-size: var(--t-sm); background: var(--card); }
.author-box p { margin: 0; }
.author-box .avatar { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 107, 44, .12); border: 1px solid rgba(255, 107, 44, .35); color: var(--molten); display: grid; place-items: center; font: 700 .9rem/1 var(--mono); flex: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: var(--t-sm); font-weight: 600; }
input, select, textarea { font: inherit; color: var(--fg); background: var(--card); border: 1px solid #33445A; border-radius: 10px; padding: 12px 14px; width: 100%; }
input::placeholder, textarea::placeholder { color: #6F7D8A; }
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--molten); box-shadow: 0 0 0 3px rgba(255, 107, 44, .25); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: var(--t-sm); min-height: 1.4em; margin: 0; }
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.err { color: var(--err); font-weight: 600; }
.tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tld { font: 500 var(--t-xs)/1 var(--mono); color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.tld:hover { color: var(--amber); border-color: rgba(255, 179, 56, .5); }
.domain-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); }
.domain-form input, .domain-form select { background: var(--bg-2); }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 220px; }
.newsletter .form-status { flex-basis: 100%; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #070A0E; color: var(--muted); padding: 60px 0 30px; font-size: var(--t-sm); border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 28px; }
.site-footer h2 { font-size: var(--t-sm); font-variation-settings: "wdth" 100; font-stretch: 100%; font-weight: 700; color: var(--fg); margin-bottom: 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); text-decoration: underline; }
.site-footer .brand { color: var(--fg); margin-bottom: 14px; }
.site-footer .legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #6F7D8A; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.kv { display: grid; grid-template-columns: 12rem 1fr; gap: 10px 24px; margin: 0; }
.kv dt { font-weight: 650; }
.kv dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 10px; } }

/* Neighbouring bands on the same surface read as one */
.iron + .iron, .bone + .bone, .alt + .alt, .alt + .bone, .bone + .alt { border-top: 0; }
