:root {
  --ink: #0d3027;
  --paper: #faf8f0;
  --line: #c7cabe;
  --acid: #d3fa47;
  --muted: #56675e;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.5 Inter,
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
a.btn {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-weight: 650;
  text-decoration: none;
}
button:hover,
a.btn:hover {
  border-color: var(--ink);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #25805a;
  outline-offset: 3px;
}
.primary,
a.primary {
  background: var(--acid);
  border-color: var(--acid);
}
.mark {
  font-size: 2.1rem;
  letter-spacing: -0.09em;
  text-decoration: none;
  white-space: nowrap;
}
.mark b {
  font-weight: 850;
}
.mark span {
  font-weight: 350;
}
.wrap {
  max-width: 1560px;
  padding: 0 3vw;
  margin: auto;
}
header,
.top,
.foot,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--ink);
}
nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
nav a {
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.052em;
}
h1 {
  font-size: clamp(3rem, 5vw, 6rem);
}
h2 {
  font-size: clamp(1.55rem, 2.5vw, 3rem);
}
h3 {
  font-size: 1.4rem;
}
p {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 46% 54%;
  border-bottom: 1px solid var(--ink);
}
.hero article {
  padding: 6vw 3vw 5vw 0;
  align-self: center;
}
.hero h1 {
  font-size: clamp(3.2rem, 5.4vw, 6.4rem);
  line-height: 0.98;
}
.hero p {
  max-width: 38ch;
  font-size: 1.22rem;
}
.rule {
  width: 4rem;
  height: 5px;
  background: var(--acid);
  margin: 2rem 0;
}
.photo {
  background: #d2c7b5 url("/architecture.webp") center/cover;
  min-height: 23rem;
}
.cards,
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.product {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  padding: 1.5rem;
}
.product:hover {
  background: #f0f3df;
}
.symbol {
  display: grid;
  place-items: center;
  background: #e6e9d9;
  font-size: 2.3rem;
  width: 4rem;
  height: 4rem;
  border-radius: 5px;
  flex: none;
}
.product b {
  margin-left: auto;
  font-size: 1.4rem;
}
.foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 216px 1fr;
}
.rail {
  background: #0b3328;
  color: #fff;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.rail .mark {
  margin-bottom: 2rem;
}
.rail .mark span {
  color: var(--acid);
}
.rail a,
.rail button {
  color: inherit;
  text-align: left;
  text-decoration: none;
}
.rail button,
.rail a.sectionlink {
  padding: 0.6rem;
  border: 0;
  background: transparent;
  border-radius: 4px;
}
.rail .active {
  background: var(--acid) !important;
  color: var(--ink);
}
.rail .bottom {
  margin-top: auto;
}
.desk {
  min-width: 0;
  padding: 0 clamp(1rem, 3vw, 3.5rem) 2rem;
}
.top {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  margin-bottom: 2rem;
}
.tag {
  display: inline-block;
  background: #ecf6bc;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.82rem;
}
.desk h1 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  margin: 0.6rem 0;
}
.alert,
.box,
.stats,
.map {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.35rem;
}
.alert {
  background: #fff0e7;
  border-color: #de9d85;
  margin: 1.5rem 0;
}
.alert strong {
  color: #ab3924;
  font-size: 1.3rem;
}
.box {
  background: #fffdf7;
}
.recommended {
  background: #f4fadf;
  border-color: #b9c879;
}
.metric {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
  font-weight: 750;
}
.stats {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin: 1.3rem 0;
}
.map {
  min-height: 320px;
  background: #e4ebe0;
  position: relative;
  overflow: hidden;
}
.map svg {
  width: 100%;
  height: auto;
  display: block;
}
.map button {
  padding: 0.22rem 0.45rem;
  font-size: 0.85rem;
}
.pins {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tablebox {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.93rem;
}
th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.7rem 0.5rem;
}
th {
  color: var(--muted);
  font-size: 0.8rem;
}
td button {
  padding: 0.3rem 0.5rem;
}
.actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 5px;
  background: white;
}
.close {
  float: right;
}
.hint {
  font-size: 0.85rem;
}
.box p,
.box h3 + div,
dialog p {
  margin: 0.65rem 0;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  color: var(--ink);
  background: var(--paper);
  width: min(540px, 94vw);
}
dialog::backdrop {
  background: #09261ec2;
}
dialog h2 {
  padding-right: 2.4rem;
}
label {
  display: block;
  margin: 1rem 0;
}
input,
select {
  max-width: 100%;
  border: 1px solid var(--line);
  padding: 0.55rem;
  border-radius: 4px;
}
input[type="password"] {
  width: 100%;
}
.selected {
  background: #edf4d8;
}
.map circle {
  fill: #183c2e;
  stroke: white;
  stroke-width: 3;
}
.map text {
  font: 14px Arial;
  fill: #15392d;
}
.banner {
  padding: 1rem 0;
  color: var(--muted);
}
@media (max-width: 850px) {
  .layout {
    display: block;
  }
  .rail {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
  }
  .rail .mark {
    margin: 0 0.5rem 0 0;
    font-size: 1.4rem;
  }
  .rail .bottom {
    margin: 0;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .product {
    gap: 0.6rem;
    padding: 0.75rem;
  }
  .symbol {
    display: none;
  }
}
@media (max-width: 620px) {
  .hero,
  .cards {
    grid-template-columns: 1fr;
  }
  .hero article {
    padding: 2rem 0.4rem;
  }
  .photo {
    min-height: 15rem;
  }
  .wrap {
    padding: 0 1rem;
  }
  header nav {
    gap: 0.55rem;
    font-size: 0.85rem;
  }
  .hide-mobile {
    display: none;
  }
  .top,
  .row,
  .foot {
    flex-wrap: wrap;
  }
  .stats {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .metric {
    font-size: 1.65rem;
  }
  .rail {
    font-size: 0.82rem;
  }
  .desk {
    padding: 0 1rem 1rem;
  }
  .top {
    margin-bottom: 1rem;
  }
}
pre {
  max-height: 40vh;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#records {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}
fieldset{padding:0;margin:0;border:0;min-width:0}.project,.compare{margin:1.3rem 0}.project label input[type=number]{display:block;width:12rem}.desk .stats{margin-top:1.5rem;background:#f0f2e6}.project input:focus{outline:2px solid #547b40}.desk .actions{align-items:end}.desk fieldset:disabled{opacity:.78}
.programme{display:grid;gap:.25rem;padding-top:1rem}.programme button{display:grid;grid-template-columns:minmax(95px,25%) 1fr;align-items:center;background:none;border:none;padding:.25rem;text-align:left;font-weight:500}.programme svg{height:12px;width:100%}.desk .box .label{color:#5c6f62}
/* Value case and language controls */
.tabs {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.tabs button {
  border-color: transparent;
  background: transparent;
}
.tabs button.on {
  border-color: var(--ink);
  background: white;
}
button.lang {
  font-weight: 500;
}
.value h1 {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}
.value .lead {
  max-width: 62ch;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}
.value .facts {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 1.2rem 1.3rem;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.kpi strong {
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.kpi span {
  color: var(--muted);
  font-size: 0.92rem;
}
.kpi.accent {
  background: #0b3328;
  border-color: #0b3328;
  color: white;
}
.kpi.accent span {
  color: #cfe0d4;
}
.kpi.accent strong {
  color: var(--acid);
}
.chart {
  width: 100%;
  height: auto;
  margin-top: 1rem;
}
.ledger {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 1rem;
  margin: 1rem 0 0;
}
.ledger dt {
  color: var(--muted);
}
.ledger dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.proof ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}
.steps {
  margin: 2rem 0 3rem;
}
.steps ol {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.steps li {
  border-top: 3px solid var(--ink);
  padding-top: 0.9rem;
}
.steps li b {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--acid);
  margin-bottom: 0.6rem;
}
.steps h3 {
  margin-bottom: 0.4rem;
}
@media (max-width: 850px) {
  .kpis,
  .steps ol {
    grid-template-columns: 1fr;
  }
  .tabs {
    margin-left: 0;
  }
  .top {
    flex-wrap: wrap;
  }
}
.verdict{border-radius:10px;padding:12px 16px;margin:14px 0}
.verdict p{margin:0}
.verdict.ok{background:#e6f2ea;color:#0f4d33}
.verdict.warn{background:#fbeee6;color:#7a2e12}
.drivers{margin:6px 0 0;padding-left:18px}
.drivers li{margin:3px 0}
.value select{font:inherit;padding:6px 8px;border-radius:8px;border:1px solid #c9cfbf;background:#fff}

/* ===== Identity v2: website and product dashboards ===== */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --ink: #0b2a22;
  --fir: #0b2a22;
  --fir-2: #123a30;
  --paper: #f3f4f1;
  --concrete: #e4e6e1;
  --line: #c9cec6;
  --muted: #55665e;
  --acid: #d3fa47;
  --patina: #84dcc6;
  --signal: #c2481f;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;
  font: 16px/1.55 var(--body);
  background: var(--paper);
}
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 760;
  letter-spacing: -0.025em;
}
.mono, .eyebrow, .crumbs, figcaption .big, .price {
  font-family: var(--mono);
  letter-spacing: 0;
}
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.btn, button { border-radius: 4px; }
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  font-family: var(--display);
  font-stretch: 125%;
  font-size: 1.45rem;
  white-space: nowrap;
}
.wordmark b { font-weight: 860; letter-spacing: -0.04em; }
.wordmark span { font-weight: 380; font-stretch: 100%; }

/* --- website --- */
.site main { display: block; }
.sitenav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  padding: 0.9rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.sitenav nav { gap: 1.4rem; }
.sitenav nav a { font-weight: 560; }
.sitenav nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--ink); }
.sitenav .menu { display: none; }
.site section { padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3.5rem); }
.hero2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: min(78vh, 760px);
}
.hero2 h1 {
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  line-height: 0.96;
  font-stretch: 118%;
  font-weight: 820;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero2 .lead { font-size: 1.15rem; max-width: 52ch; margin: 1.4rem 0 2rem; }
.hero-platform, .hero-pricing { min-height: 0; grid-template-columns: 1fr; }
.hero-platform h1, .hero-pricing h1 { max-width: 18ch; }
.hero-copy .actions { gap: 0.7rem; }
.hero-copy .btn { padding: 0.85rem 1.3rem; }
.hero-copy > * { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.morph, .curve {
  margin: 0;
  background: var(--fir);
  color: #e8efe9;
  border-radius: 6px;
  padding: 1.2rem 1.3rem 1.1rem;
  box-shadow: 0 30px 60px -30px rgba(11, 42, 34, 0.55);
  animation: rise 1s 0.2s cubic-bezier(.2,.7,.2,1) both;
}
.morph-empty, .curve-empty { min-height: 340px; }
.morph-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: #a9bdb2;
  border-bottom: 1px solid #2a5045;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
}
.morph svg, .curve svg { width: 100%; height: auto; display: block; }
.morph .grid { stroke: #23463c; }
.morph .lbl, .curve .lbl { fill: #9fb6aa; font: 11px var(--mono); }
.morph .lbl.strong { fill: var(--acid); }
.morph .ghost { fill: #2c4d43; }
.morph .live { fill: var(--acid); }
.morph .handover { stroke: var(--acid); stroke-dasharray: 3 3; }
.morph figcaption, .curve figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
  border-top: 1px solid #2a5045;
  padding-top: 0.7rem;
  color: #cfe0d4;
}
figcaption .big { font-size: 2.4rem; color: var(--acid); font-weight: 500; line-height: 1; }
.verified {
  margin-left: auto;
  font: 0.78rem var(--mono);
  color: #6f8d81;
  transition: color 0.4s;
}
.verified::before { content: "○ "; }
.verified.on { color: var(--acid); }
.verified.on::before { content: "● "; }
.curve .gap { fill: var(--patina); opacity: 0.16; }
.curve .base { fill: none; stroke: #8aa197; stroke-width: 2.5; }
.curve .plan { fill: none; stroke: var(--patina); stroke-width: 3.5; }
.curve figcaption .big { color: var(--patina); }
.curve .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s 0.5s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding-top: 2.2rem !important;
  padding-bottom: 2.2rem !important;
}
.proof-strip p { display: flex; flex-direction: column; gap: 0.3rem; }
.proof-strip b { font-size: 1.6rem; color: var(--ink); font-weight: 500; }
.proof-strip .fine { grid-column: 1 / -1; font-size: 0.8rem; }
.fine { font-size: 0.82rem; color: var(--muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.duo-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: 6px;
  text-decoration: none;
  min-height: 420px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.duo-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(11,42,34,.6); }
.duo-card h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.duo-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.duo-card li { padding-left: 1.2rem; position: relative; }
.duo-card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.6rem; height: 2px; background: currentColor; }
.duo-card .go { margin-top: auto; font-weight: 650; }
.duo-develop { background: var(--fir); color: #f1f6ee; }
.duo-develop p { color: #c4d4ca; }
.duo-develop .eyebrow, .duo-develop .go { color: var(--acid); }
.duo-asset { background: var(--concrete); color: var(--ink); border: 1px solid var(--line); }
.duo-asset .eyebrow { color: #1f6f5c; }

.agree-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--concrete);
}
.agree-band h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 1rem; }
.agree-band p { max-width: 54ch; margin-bottom: 1.5rem; }
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 0; }
.triad div { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem; }
.triad dt { font-weight: 650; margin-bottom: 0.6rem; }
.triad dd { margin: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.triad .mono { font-size: 1.7rem; color: var(--ink); }
.triad small { font: 0.78rem var(--mono); color: var(--muted); }

.sequence h2, .choose h2, .blocks h2, .bench h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin-bottom: 2rem; max-width: 22ch; }
.sequence ol {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.sequence li {
  counter-increment: step;
  padding: 1.4rem 1.4rem 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.sequence li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font: 500 0.85rem var(--mono);
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.sequence h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }

.choose .lead { max-width: 60ch; margin: -1rem 0 2rem; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  border-top: 6px solid var(--line);
}
.plan-develop { border-top-color: var(--acid); }
.plan-asset { border-top-color: var(--patina); }
.plan-both { border-top-color: transparent; background: linear-gradient(90deg, var(--acid) 50%, var(--patina) 50%) top / 100% 6px no-repeat, #fff; border-top-width: 6px; }
.plan.on { outline: 2px solid var(--ink); }
.plan h3 { font-size: 1.6rem; }
.plan ul { margin: 0 0 0.6rem; padding-left: 1.1rem; color: var(--muted); }
.plan .btn, .plan button { margin-top: auto; text-align: center; }

.blocks .block-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.block-grid article { background: var(--paper); padding: 1.8rem; }
.block-grid h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; background: var(--concrete); }
.inputs h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.inputs ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; }
.cta-band { background: var(--fir); color: #f1f6ee; }
.cta-band h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 1rem; }
.cta-band p { color: #c4d4ca; max-width: 62ch; margin-bottom: 1.6rem; }
.cta-band .btn:not(.primary) { background: transparent; color: #f1f6ee; border-color: #4e7065; }

.stack { display: grid; gap: 0.6rem; }
.layer {
  display: grid;
  grid-template-columns: 16rem 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--acid);
  background: #fff;
  border-radius: 4px;
}
.layer.next { border-left-color: var(--line); background: transparent; }
.layer h3 { font-size: 1.2rem; }
.layer .status { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.layer.live .status { color: #3d6b10; }
.bench .lead { max-width: 60ch; margin: -1rem 0 1.5rem; }
.bench .fine { margin-top: 1rem; }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.calc-card { padding: 2rem; border-radius: 6px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 1rem; }
.calc-develop { border-top: 6px solid var(--acid); }
.calc-asset { border-top: 6px solid var(--patina); }
.calc-card label { display: grid; gap: 0.4rem; }
.calc-card input[type="range"] { width: 100%; accent-color: var(--ink); }
.calc-card .price { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--ink); }

.sitefoot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  padding: 3rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--ink);
}
.sitefoot nav { flex-wrap: wrap; }
.sitefoot .fine { grid-column: 1 / -1; max-width: 80ch; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* --- workspace launcher --- */
.launcher { min-height: 100vh; background: var(--paper); }
.launch-head { padding: 1rem clamp(1rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.launch-main { max-width: 1180px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem); }
.launch-main h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); margin-bottom: 2rem; }
.launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.signin { display: grid; gap: 0.8rem; }
.signin label { display: grid; gap: 0.3rem; }
.setup h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.setup > p { margin-bottom: 1.4rem; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 2rem;
  min-height: 230px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s;
}
a.tile:hover { transform: translateY(-3px); }
.tile-name { font-family: var(--display); font-stretch: 115%; font-weight: 780; font-size: 2rem; letter-spacing: -0.02em; }
.tile-go { margin-top: auto; font-weight: 650; }
.tile-develop { background: var(--fir); color: #eef4ec; }
.tile-develop .tile-go { color: var(--acid); }
.tile-asset { background: #0f3a40; color: #eaf5f2; }
.tile-asset .tile-go { color: var(--patina); }
.tile-off { border: 1px dashed var(--line); color: var(--muted); }
.tile-off .tile-name { font-size: 1.3rem; }

/* --- product dashboards --- */
.dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; --accent: var(--acid); --rail: var(--fir); }
.dash-asset { --accent: var(--patina); --rail: #0f3a40; }
.dash-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.4rem 1.1rem;
  background: var(--rail);
  color: #eaf2ee;
}
.dash-rail .wordmark { color: #fff; }
.dash-rail .wordmark span { color: var(--accent); font-weight: 600; font-stretch: 110%; }
.dash-rail nav { display: flex; flex-direction: column; align-items: stretch; gap: 0.15rem; }
.dash-rail nav a {
  padding: 0.62rem 0.8rem;
  border-radius: 4px;
  color: #c8d8d0;
  border-left: 3px solid transparent;
}
.dash-rail nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.dash-rail nav a.on { background: rgba(255,255,255,0.09); color: #fff; border-left-color: var(--accent); font-weight: 650; }
.rail-foot { margin-top: auto; display: grid; gap: 0.55rem; font-size: 0.9rem; }
.rail-foot a { color: #a9bfb5; text-decoration: none; }
.rail-foot a:hover { color: #fff; }
.rail-foot .switch { color: var(--accent); font-weight: 650; }
.dash-main { padding: 1rem clamp(1rem, 3vw, 2.8rem) 4rem; min-width: 0; }
.dash-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}
.dash-top .crumbs { margin-right: auto; font-size: 0.82rem; color: var(--muted); }
.dash-top .crumbs b { color: var(--ink); font-weight: 500; }
.dash .value h1, .dash .sec-title { font-size: clamp(2rem, 3.4vw, 3.3rem); font-stretch: 112%; margin: 0.4rem 0 0.6rem; }
.dash .lead { max-width: 64ch; margin-bottom: 1.2rem; }
.dash .kpi.accent { background: var(--rail); border-color: var(--rail); }
.dash .kpi.accent strong { color: var(--accent); }
.dash .cases { margin-bottom: 0.6rem; }
.dash .box { margin-top: 1rem; }
.dash .tag { background: color-mix(in srgb, var(--accent) 35%, white); }
.notlicensed h1 { font-size: 2rem; margin-bottom: 0.6rem; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .curve .draw { stroke-dashoffset: 0; }
}
@media (max-width: 960px) {
  .hero2, .agree-band, .duo, .inputs, .calc, .launch-grid { grid-template-columns: 1fr; }
  .hero2 { min-height: 0; }
  .sequence ol, .choice, .triad { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; gap: 1.2rem; }
  .blocks .block-grid, .tiles { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: 0.4rem; }
  .sitefoot { grid-template-columns: 1fr; }
  .sitenav .menu { display: inline-block; }
  .sitenav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .sitenav nav.open { display: flex; }
  .dash { grid-template-columns: 1fr; }
  .dash-rail { position: static; height: auto; gap: 1rem; }
  .dash-rail nav { flex-direction: row; overflow-x: auto; }
  .dash-rail nav a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .dash-rail nav a.on { border-bottom-color: var(--accent); }
  .rail-foot { flex-direction: row; display: flex; flex-wrap: wrap; gap: 1rem; }
  .dash-top { flex-wrap: wrap; }
  .dash-top .crumbs { width: 100%; }
  .duo-card { min-height: 0; }
}
.workspace > h1, .workspace > h1 + p { display: none; }
.dash .box h2 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); margin-bottom: 0.5rem; }
.dash .box h3 { font-size: 1.15rem; }
@media (max-width: 960px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-rail { min-width: 0; }
  .dash-rail nav { max-width: 100%; }
}
.dash-asset .primary, .dash-asset a.primary { background: var(--patina); border-color: var(--patina); }

/* ===== Website v3: photographs, motion, engagement page ===== */
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 50; background: var(--ink); color: #fff; padding: 0.5rem 0.9rem; border-radius: 4px; }
.skip:focus { top: 0.6rem; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #5a8f00; outline-offset: 2px; }
.sitenav { transition: box-shadow 0.3s, background 0.3s; }
.sitenav.scrolled { box-shadow: 0 8px 24px -18px rgba(11, 42, 34, 0.6); }

.photo { margin: 0; position: relative; overflow: hidden; border-radius: 6px; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.photo.shown img { transform: scale(1); }
.photo > img, .photo > .drawing { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1), transform 1.8s cubic-bezier(.2,.7,.2,1); }
.photo.shown > img, .photo.shown > .drawing { clip-path: inset(0 0 0 0); }
.photo.is-drawing { color: #5d8577; }
.photo.is-drawing > .drawing { background: var(--fir); }
.drawing { display: block; width: 100%; height: 100%; min-height: 260px; }

.bleed { position: relative; padding: 0 !important; min-height: 78vh; display: grid; align-items: end; }
.bleed[data-reveal] { opacity: 1; transform: none; }
.bleed-img { position: absolute; inset: 0; border-radius: 0; }
.bleed-img img { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }
.bleed-card {
  position: relative;
  margin: 0 clamp(1rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
  max-width: 560px;
  background: rgba(11, 42, 34, 0.9);
  color: #eef4ec;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.bleed-card .eyebrow { color: var(--acid); }
.bleed-card h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.02; margin-bottom: 0.8rem; }
.bleed-card p:last-child { color: #c9d9cf; }

.duo-card { padding: 0; overflow: hidden; }
.duo-img { border-radius: 0; height: 280px; }
.duo-body { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.4rem); flex: 1; }
.duo-card:hover .duo-img img { transform: scale(1.04); }
.duo-card[data-reveal]:nth-child(2) { transition-delay: 0.12s; }

.gauges { display: grid; gap: 1rem; }
.gauges:empty { min-height: 260px; }
.gauge { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.2rem; }
.gauge-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.gauge-head .mono { font-size: 1.15rem; }
.track { position: relative; height: 8px; border-radius: 4px; background: var(--concrete); }
.track .fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: linear-gradient(90deg, #5a8f00, var(--acid)); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.track .pin { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); transition: left 1.4s cubic-bezier(.2,.7,.2,1); }
.gauge:nth-child(2) .fill, .gauge:nth-child(2) .pin { transition-delay: 0.15s; }
.gauge:nth-child(3) .fill, .gauge:nth-child(3) .pin { transition-delay: 0.3s; }
.gauge-scale { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.6rem; font-size: 0.75rem; color: var(--muted); }

.sequence li[data-reveal] { transition-delay: calc(var(--i, 0) * 0.08s); }
.sequence li { position: relative; }
.sequence li::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); transition: width 0.9s 0.2s cubic-bezier(.2,.7,.2,1); }
.sequence li.in::after { width: calc(100% - 1.4rem); }
.sequence ol { border-top-color: var(--line); }
.timeline ol { grid-template-columns: repeat(5, 1fr); }
.timeline .when { font-size: 0.8rem; color: #3d6b10; margin-bottom: 0.4rem; }
.timeline li::before { display: none; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split .photo { aspect-ratio: 3 / 2; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.02; margin-bottom: 1rem; }
.split p { max-width: 52ch; margin-bottom: 1.4rem; }
.io h2 { font-size: 1.6rem; margin: 0 0 0.8rem; }
.io ul { margin: 0 0 2rem; padding-left: 1.1rem; display: grid; gap: 0.45rem; }

.hero-platform, .hero-together { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(70vh, 680px); }
.hero-photo { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(11, 42, 34, 0.55); }

.cta-photo { position: relative; padding: 0 !important; min-height: 520px; display: grid; align-items: center; overflow: hidden; }
.cta-photo[data-reveal] { opacity: 1; transform: none; }
.cta-bg { position: absolute; inset: 0; border-radius: 0; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,34,.94) 0%, rgba(11,42,34,.78) 45%, rgba(11,42,34,.25) 100%); }
.cta-copy { position: relative; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem); max-width: 720px; color: #eef4ec; }
.cta-copy h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; margin-bottom: 1rem; }
.cta-copy p { color: #c9d9cf; max-width: 56ch; margin-bottom: 1.8rem; }
.btn.ghost { background: transparent; color: #eef4ec; border-color: rgba(238, 244, 236, 0.45); }
.btn.ghost:hover { border-color: #eef4ec; }

.bench-rows { display: grid; gap: 0.9rem; max-width: 900px; }
.bench-row { display: grid; grid-template-columns: 4rem 1fr 9rem 9rem; gap: 1rem; align-items: center; }
.bench-row .bar { height: 10px; background: var(--concrete); border-radius: 5px; overflow: hidden; }
.bench-row .bar span { display: block; height: 100%; background: var(--ink); border-radius: 5px; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.bench-row:nth-child(2) .bar span { transition-delay: 0.12s; }
.bench-row:nth-child(3) .bar span { transition-delay: 0.24s; }
.bench-row:nth-child(4) .bar span { transition-delay: 0.36s; }
.muted { color: var(--muted); }

.audiences h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin-bottom: 2rem; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.aud-grid article { display: flex; flex-direction: column; gap: 0.7rem; }
.aud-img { aspect-ratio: 4 / 3; }
.aud-grid h3 { font-size: 1.35rem; margin-top: 0.4rem; }
.aud-grid article[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.aud-grid article[data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.block-grid article[data-reveal]:nth-child(2n) { transition-delay: 0.1s; }

@media (max-width: 960px) {
  .split, .hero-platform, .hero-together { grid-template-columns: 1fr; }
  .timeline ol, .aud-grid { grid-template-columns: 1fr; }
  .bench-row { grid-template-columns: 3.5rem 1fr; }
  .bench-row > span { grid-column: 2; }
  .bleed { min-height: 70vh; }
  .duo-img { height: 220px; }
  .cta-bg::after { background: rgba(11,42,34,.86); }
}
@media (prefers-reduced-motion: reduce) {
  .photo > img, .photo > .drawing { clip-path: none; }
  .photo img, .bleed-img img { transform: none; animation: none; }
  .sequence li::after { width: calc(100% - 1.4rem); }
}

.aud-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.choice { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sequence ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .aud-grid, .duo, .split, .choice, .timeline ol, .sequence ol { grid-template-columns: minmax(0, 1fr); }
}

.hero2 h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); max-width: 14ch; }
.bench-rows { max-width: 1040px; }
.bench-row { grid-template-columns: 4rem minmax(0, 1fr) 11rem 11rem; }
.bench-row > span { white-space: nowrap; }
@media (max-width: 960px) { .bench-row { grid-template-columns: 3.5rem minmax(0, 1fr); } .bench-row > span { white-space: normal; } }

/* ===== Website v4: distinct page structures ===== */
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.02; }
.sec-head .lead { margin-top: 1rem; max-width: 62ch; }

/* product rows with real screenshots */
.products { background: var(--concrete); }
.prod-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.prod-row + .prod-row { margin-top: clamp(3rem, 6vw, 6rem); }
.prod-row.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); }
.prod-row.flip .prod-copy { order: 2; }
.prod-copy h3 { font-size: clamp(2rem, 3.4vw, 3.1rem); margin-bottom: 0.8rem; }
.prod-copy ul { margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.prod-copy li { padding-left: 1.2rem; position: relative; }
.prod-copy li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.6rem; height: 2px; background: var(--ink); }
.prod-copy .go { font-weight: 650; }
.prod-develop .eyebrow { color: #4d7a00; }
.prod-asset .eyebrow { color: #1f6f5c; }
.frame { margin: 0; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(11, 42, 34, 0.55); transform: translateY(30px) scale(0.98); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s; }
.frame.shown { transform: none; opacity: 1; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eceee9; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cec6; }
.frame-bar span { margin-left: 10px; font-size: 0.72rem; color: var(--muted); background: #fff; border-radius: 4px; padding: 2px 10px; }
.frame img { display: block; width: 100%; height: auto; }

/* decision pipeline */
.engine { background: var(--paper); }
.pipeline svg { width: 100%; height: auto; display: block; }
.pipe-line { stroke: var(--ink); stroke-width: 2; fill: none; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2s cubic-bezier(.3,.6,.2,1); }
.pipeline.in .pipe-line { stroke-dashoffset: 0; }
.pipe-node { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.pipe-node.key { fill: var(--acid); }
.pipe-pulse { fill: var(--acid); stroke: var(--ink); stroke-width: 1.5; }
.pipe-title { font: 700 17px var(--body); fill: var(--ink); }
.pipe-sub { font: 12px var(--mono); fill: var(--muted); }

/* manifesto with the one Vienna photograph */
.manifesto { position: relative; padding: 0 !important; min-height: 80vh; display: grid; align-items: center; overflow: hidden; }
.manifesto[data-reveal] { opacity: 1; transform: none; }
.manifesto-img { position: absolute; inset: 0; border-radius: 0; }
.manifesto-img img { animation: drift 30s ease-in-out infinite alternate; }
.manifesto-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,34,.92) 0%, rgba(11,42,34,.7) 50%, rgba(11,42,34,.15) 100%); }
.manifesto blockquote { position: relative; margin: 0; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem); max-width: 900px; }
.manifesto blockquote p { font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.14; letter-spacing: -0.02em; color: #f2f6ef; }
.proof-strip .more { grid-column: 1 / -1; font-weight: 600; color: var(--ink); }

/* closing bands without photos */
.closing { background-color: var(--fir); color: #eef4ec; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; }
.closing-patina { background-color: #0f3a40; }
.closing h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1; max-width: 18ch; margin-bottom: 1rem; }
.closing p { color: #c9d9cf; max-width: 60ch; margin-bottom: 1.8rem; }
.closing-patina .btn.primary { background: var(--patina); border-color: var(--patina); }

/* develop: split hero with the crane photograph */
.site section.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; min-height: min(86vh, 820px); }
.hero-split .hero-copy { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem); align-self: center; }
.hero-split h1 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: 0.98; font-stretch: 118%; font-weight: 820; letter-spacing: -0.035em; }
.hero-split .lead { font-size: 1.12rem; max-width: 50ch; margin: 1.3rem 0 2rem; }
.hero-split-img { border-radius: 0; min-height: 420px; }
.hero-facts { display: flex; gap: 2.5rem; margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-facts dt { font-size: 0.85rem; color: var(--muted); max-width: 20ch; }
.hero-facts dd { margin: 0.3rem 0 0; font-size: 2rem; }

/* develop: promise-date tool */
.tool { background: var(--concrete); }
.promise { max-width: 980px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.2rem, 3vw, 2.2rem); }
.promise-empty, .scatter-empty, .futures-empty { min-height: 320px; }
.promise-control { display: grid; gap: 0.8rem; margin-bottom: 1.6rem; }
.promise-control b { font-size: 1.1rem; }
.promise-control input { width: 100%; accent-color: var(--ink); height: 28px; }
.promise-row { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 4.5rem; gap: 1rem; align-items: center; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.promise-name { display: flex; flex-direction: column; font-weight: 650; }
.promise-name small { font-weight: 400; font-size: 0.75rem; color: var(--muted); }
.promise-bar { height: 14px; background: var(--concrete); border-radius: 7px; overflow: hidden; }
.promise-bar span { display: block; height: 100%; border-radius: 7px; transition: width 0.35s; background: #9aa69e; }
.promise-row.paper .promise-bar span { background: #5a8f00; }
.promise-row.robust .promise-bar span { background: var(--ink); }
.promise-row b { font-size: 1.15rem; text-align: right; }
.promise .fine { margin-top: 1rem; }

/* Pareto front scatter */
.front-sec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.front-copy h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.02; margin-bottom: 1rem; }
.front-copy > p { margin-bottom: 1.6rem; max-width: 52ch; }
.scatter { margin: 0; }
.scatter svg { width: 100%; height: auto; display: block; }
.sc-grid { stroke: var(--line); }
.sc-lbl { font: 11px var(--mono); fill: var(--muted); }
.sc-zone { fill: #5a8f00; opacity: 0.07; }
.sc-base { fill: #9aa69e; }
.sc-pt { fill: #9cc9b0; stroke: #fff; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.2); transition: opacity 0.5s, transform 0.6s cubic-bezier(.2,.9,.3,1.4); }
.scatter.shown .sc-pt { opacity: 1; transform: none; }
.sc-pt.chosen { fill: var(--ink); stroke: var(--acid); stroke-width: 3; }
.sc-cap { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }
.scatter.dark .sc-grid { stroke: #23463c; }
.scatter.dark .sc-lbl { fill: #9fb6aa; }
.scatter.dark .sc-zone { fill: var(--acid); opacity: 0.08; }
.scatter.dark .sc-base { fill: #6f8d81; }
.scatter.dark .sc-pt { fill: #4f7d6e; stroke: var(--fir); }
.scatter.dark .sc-pt.chosen { fill: var(--acid); stroke: #fff; }
.scatter.dark .sc-cap { color: #9fb6aa; }

/* spec sheet */
.spec h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); margin-bottom: 2rem; }
.spec dl { margin: 0; border-top: 1px solid var(--ink); }
.spec dl > div { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--display); font-stretch: 112%; font-weight: 720; font-size: 1.3rem; }
.spec dd { margin: 0; color: var(--muted); max-width: 64ch; }

.shot-sec { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; background: var(--concrete); }
.shot-sec.flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }

.integrations h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.chips p { width: 7rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.chip { font: 0.9rem var(--mono); padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); }
.chip.on { border: 1px solid var(--ink); color: var(--ink); background: #fff; }

/* asset */
.band-photo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; padding: 0 !important; background: #0f3a40; color: #eaf5f2; }
.band-photo[data-reveal] { opacity: 1; transform: none; }
.band-img { border-radius: 0; min-height: 460px; }
.band-copy { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem); align-self: center; }
.band-copy .eyebrow { color: var(--patina); }
.band-copy h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.03; margin-bottom: 1rem; }
.band-copy p { color: #bcd9d1; }
.futures-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.futures { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem; }
.fut-bars { display: flex; align-items: flex-end; gap: 3px; height: 260px; }
.fut-col { flex: 1; height: 100%; position: relative; }
.fut-col span { position: absolute; bottom: 0; left: 0; right: 0; height: 0; border-radius: 2px 2px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.futures.shown .fut-col span { transform: none; }
.fut-col .b0 { background: #b9c2bb; }
.fut-col .b1 { background: #1f6f5c; opacity: 0.88; }
.fut-axis { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 0.6rem; }
.fut-stats { margin: 0; display: grid; gap: 1.2rem; }
.fut-stats div { border-top: 1px solid var(--ink); padding-top: 0.8rem; }
.fut-stats dt { color: var(--muted); font-size: 0.9rem; }
.fut-stats dd { margin: 0.2rem 0 0; font-size: 2rem; color: var(--ink); }
.fut-stats small { font-size: 0.8rem; color: var(--muted); }
.ageing-sec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.ageing-copy h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.03; margin-bottom: 1rem; }
.ageing-copy p { margin-bottom: 1.6rem; }
.ageing-img { aspect-ratio: 3 / 2; }
.ageing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.age-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1rem; }
.age-card figcaption { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.6rem; }
.age-card figcaption span { font-size: 0.72rem; color: var(--muted); }
.age-card svg { width: 100%; height: auto; display: block; overflow: visible; }
.age-line { fill: none; stroke: #1f6f5c; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.3,.6,.2,1); }
.ageing.shown .age-line { stroke-dashoffset: 0; }
.age-card:nth-child(2) .age-line { transition-delay: 0.1s; }
.age-card:nth-child(3) .age-line { transition-delay: 0.2s; }
.age-card:nth-child(4) .age-line { transition-delay: 0.3s; }
.age-card:nth-child(5) .age-line { transition-delay: 0.4s; }
.age-card:nth-child(6) .age-line { transition-delay: 0.5s; }
.age-life { stroke: var(--line); stroke-dasharray: 3 3; }
.age-lbl { font: 10px var(--mono); fill: var(--muted); }

/* platform: dark hero with the real front */
.site section.pf-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--fir); color: #eef4ec; min-height: min(84vh, 800px); margin-top: -1px; }
.pf-hero .eyebrow { color: var(--acid); }
.pf-hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 0.96; font-stretch: 118%; font-weight: 820; letter-spacing: -0.035em; max-width: 13ch; }
.pf-hero .lead { color: #c4d4ca; margin-top: 1.3rem; max-width: 52ch; }
.sitenav.on-dark { background: var(--fir); border-bottom-color: #23463c; }
.sitenav.on-dark .wordmark, .sitenav.on-dark nav a { color: #eef4ec; }
.sitenav.on-dark nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--acid); }
.maths { background: var(--concrete); }
.eq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.eq { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1.6rem; }
.eq h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.eq .formula { font-size: clamp(1rem, 1.6vw, 1.3rem); color: var(--ink); background: #fff; border-left: 3px solid var(--acid); padding: 0.9rem 1rem; overflow-x: auto; white-space: nowrap; }
.eq .cond { font-size: 0.78rem; color: var(--muted); margin: 0.6rem 0 1rem; overflow-x: auto; white-space: nowrap; }
.refs h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.4rem; }
.refs ol { margin: 0; padding-left: 1.4rem; display: grid; gap: 0.6rem; max-width: 90ch; color: var(--muted); }
.trust { background: var(--concrete); }
.trust h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); margin-bottom: 2rem; max-width: 22ch; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust-grid article { border-top: 3px solid var(--ink); padding-top: 1rem; }
.trust-grid h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* working with us */
.site section.wt-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wt-hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 0.96; font-stretch: 118%; font-weight: 820; letter-spacing: -0.035em; max-width: 14ch; }
.wt-hero .lead { margin-top: 1.3rem; max-width: 54ch; font-size: 1.12rem; }
.wt-img { aspect-ratio: 4 / 5; }
.aud { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.6rem; border-top: 6px solid var(--line); min-height: 200px; }
.aud-develop { border-top-color: var(--acid); }
.aud-asset { border-top-color: var(--patina); }
.aud-both { border-top-color: var(--ink); }

@media (max-width: 960px) {
  .prod-row, .prod-row.flip, .front-sec, .shot-sec, .shot-sec.flip, .band-photo, .futures-wrap, .ageing-sec, .site section.pf-hero, .site section.wt-hero, .site section.hero-split { grid-template-columns: minmax(0, 1fr); }
  .prod-row.flip .prod-copy { order: 0; }
  .hero-split-img { min-height: 300px; order: -1; }
  .pipeline svg { display: none; }
  .pipe-list { display: grid; gap: 0.6rem; margin: 0; padding-left: 1.4rem; }
  .pipe-list span { color: var(--muted); }
  .promise-row { grid-template-columns: minmax(0, 1fr) 4rem; }
  .promise-bar { grid-column: 1 / -1; grid-row: 2; }
  .spec dl > div { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .ageing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .band-img { min-height: 280px; }
  .wt-img { aspect-ratio: 3 / 2; }
  .manifesto-img::after { background: rgba(11,42,34,.82); }
}
@media (prefers-reduced-motion: reduce) {
  .frame { opacity: 1; transform: none; }
  .sc-pt { opacity: 1; transform: none; }
  .fut-col span { transform: none; }
  .pipe-line { stroke-dashoffset: 0; }
  .age-line { stroke-dashoffset: 0; }
  .manifesto-img img { animation: none; }
}
/* pipeline labels as an aligned grid so long notes wrap instead of colliding */
.pipe-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0.8rem 0 0; padding: 0; list-style: none; text-align: center; }
.pipe-list li { display: flex; flex-direction: column; gap: 0.35rem; padding: 0 0.4rem; }
.pipe-list b { font-size: 1.1rem; }
.pipe-list span { font: 0.8rem/1.45 var(--mono); color: var(--muted); }
@media (max-width: 960px) {
  .pipeline svg { display: none; }
  .pipe-list { grid-template-columns: minmax(0, 1fr); text-align: left; gap: 0.9rem; border-left: 2px solid var(--ink); padding-left: 1.2rem; }
}
/* section heads are stacked blocks, not the legacy flex header */
.site header.sec-head { display: block; padding: 0; border-bottom: 0; max-width: 820px; }
.site header.sec-head .eyebrow { margin-bottom: 0.9rem; }
.sitenav.on-dark nav a.btn.primary { color: var(--ink); }
.sitenav.on-dark nav a.btn:not(.primary) { color: var(--ink); }
.eq .formula { white-space: normal; overflow-wrap: anywhere; }
.sequence.timeline ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .sequence.timeline ol { grid-template-columns: minmax(0, 1fr); } }

/* ===== Website v5: one brand, five grounds =====
   Home: paper with the engine's search as the hero.
   Develop: the construction site, full-bleed.
   Asset: mineral page, the ten-year curve as the hero.
   Platform: dark, the engine's contract written out.
   Working with us: warm sand, the planning desk. */
.site { --mineral: #e8f0ec; --mineral-2: #d9e7e0; --sea: #12443f; --patina-deep: #1f6f5c; --sand: #f4efe6; --sand-2: #e8dece; }

/* Home: the search field */
.site section.hero-field { position: relative; min-height: min(92vh, 920px); display: flex; align-items: flex-end; padding-top: 0; padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; background: var(--paper); }
.hero-field .field { position: absolute; top: 0; right: 0; bottom: 0; left: 28%; margin: 0; }
.hero-field .field::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(250, 248, 240, 0.85) 18%, rgba(250, 248, 240, 0) 48%); pointer-events: none; z-index: 1; }
.field svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.field figcaption { position: absolute; right: clamp(1rem, 4vw, 3.5rem); bottom: 1.2rem; max-width: 46ch; font-size: 0.75rem; color: var(--muted); text-align: right; z-index: 2; }
.hero-field .hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-field h1 { font-size: clamp(3.2rem, 7.4vw, 7.4rem); line-height: 0.88; font-stretch: 125%; font-weight: 850; letter-spacing: -0.045em; max-width: 9ch; }
.hero-field .lead { font-size: 1.15rem; max-width: 46ch; margin: 1.6rem 0 2rem; }
.fd { fill: var(--ink); opacity: 0; animation: fd-in 1.8s ease-out forwards; }
@keyframes fd-in { 0% { opacity: 0; } 25% { opacity: 0.6; } 100% { opacity: 0.13; } }
.fl { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s 2.6s cubic-bezier(.3,.6,.2,1) forwards; }
.fp { fill: var(--ink); opacity: 0; animation: pop 0.6s 3.6s forwards; }
.fc { fill: var(--acid); stroke: var(--ink); stroke-width: 3; opacity: 0; animation: pop 0.5s 4.1s forwards; }
.fc-ring { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 2.6s 4.4s ease-out infinite; }
.fc-label { opacity: 0; animation: pop 0.6s 4.3s forwards; }
.fc-t { font: 700 22px var(--body); fill: var(--ink); }
.fc-s { font: 15px var(--mono); fill: var(--muted); }
.fx { font: 13px var(--mono); fill: var(--muted); }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes ring { 0% { opacity: 0.7; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.7); } }
.field-empty { position: absolute; inset: 0 0 0 28%; }

/* Home: each product on its own ground */
.site section.products { background: var(--paper); }
.prod-row { padding: clamp(1.5rem, 3.5vw, 3.5rem); border-radius: 12px; }
.prod-develop { background: #eef4d6; }
.prod-asset { background: var(--mineral-2); }
.prod-develop .eyebrow { color: #4a6b00; }
.prod-asset .eyebrow { color: var(--patina-deep); }

/* Develop: full-bleed site photograph */
.site section.hero-photo { position: relative; min-height: min(94vh, 960px); display: flex; align-items: flex-end; padding: 0; overflow: hidden; color: #fff; background: var(--fir); }
.hero-photo-img { position: absolute; inset: 0; border-radius: 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 22, 18, 0.94) 0%, rgba(7, 22, 18, 0.6) 38%, rgba(7, 22, 18, 0) 72%), linear-gradient(90deg, rgba(7, 22, 18, 0.55) 0%, rgba(7, 22, 18, 0) 55%); z-index: 1; }
.hero-photo .hero-copy { position: relative; z-index: 2; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3.5rem); max-width: 900px; }
.hero-photo .eyebrow { color: var(--acid); }
.hero-photo h1 { color: #fff; font-size: clamp(3rem, 6.6vw, 6.4rem); line-height: 0.9; font-stretch: 122%; font-weight: 850; letter-spacing: -0.04em; }
.hero-photo .lead { color: #dbe6df; font-size: 1.12rem; max-width: 54ch; margin: 1.4rem 0 2rem; }
.hero-photo .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.hero-photo .hero-facts { border-top-color: rgba(255, 255, 255, 0.25); }
.hero-photo .hero-facts dt { color: #b9c9bf; }
.hero-photo .hero-facts dd { color: var(--acid); }

/* Asset: mineral page */
.site.page-asset { background: var(--mineral); }
.page-asset .tool, .page-asset .shot-sec { background: var(--mineral-2); }
.page-asset .ageing-sec, .page-asset .sitefoot { background: var(--mineral); }
.page-asset .btn.primary { background: var(--patina-deep); border-color: var(--patina-deep); color: #fff; }
.site section.hero-mineral { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; background: var(--mineral); padding-bottom: 0; }
.hero-mineral .eyebrow { color: var(--patina-deep); }
.hero-mineral h1 { color: var(--sea); font-size: clamp(3.2rem, 7.4vw, 7.2rem); line-height: 0.88; font-stretch: 125%; font-weight: 850; letter-spacing: -0.045em; }
.hero-mineral .lead { font-size: 1.1rem; margin-bottom: 1.6rem; }
.hero-mineral .curve { grid-column: 1 / -1; background: transparent; color: var(--ink); box-shadow: none; border-radius: 0; padding: 1.4rem 0 0; margin-top: clamp(1.5rem, 4vw, 3rem); border-top: 2px solid var(--sea); }
.hero-mineral .curve svg { max-height: 46vh; }
.hero-mineral .morph-head { color: var(--muted); border-bottom: 0; }
.hero-mineral .curve .lbl { fill: var(--muted); }
.hero-mineral .curve .base { stroke: #93a59c; }
.hero-mineral .curve .plan { stroke: var(--patina-deep); stroke-width: 4; }
.hero-mineral .curve .gap { fill: var(--patina-deep); opacity: 0.12; }
.hero-mineral .curve figcaption { color: var(--ink); border-top: 0; padding-bottom: 2.5rem; }
.hero-mineral .curve figcaption .big { color: var(--patina-deep); font-size: 3.4rem; }
.page-asset .band-photo { background: var(--sea); }

/* Platform: the engine's contract */
.proof { list-style: none; margin: 0; padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid #23463c; border-radius: 10px; background: rgba(0, 0, 0, 0.2); display: grid; gap: 1.5rem; counter-reset: ln; }
.proof li { position: relative; display: grid; gap: 0.35rem; padding-left: 2.4rem; }
.proof li::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; top: 0.35rem; font: 12px var(--mono); color: #5f7f72; }
.proof code { display: block; font: 500 clamp(1.05rem, 1.8vw, 1.5rem) var(--mono); color: #eef4ec; white-space: nowrap; clip-path: inset(0 100% 0 0); animation: type 1s steps(30) forwards; animation-delay: calc(0.5s + var(--i) * 1.05s); }
.proof li:first-child code { color: var(--acid); }
.proof span { color: #9fb6aa; font-size: 0.92rem; opacity: 0; animation: pop 0.5s forwards; animation-delay: calc(1.3s + var(--i) * 1.05s); }
@keyframes type { to { clip-path: inset(0 0 0 0); } }

/* Working with us: warm sand, photograph to the edge */
.site.page-working-together { background: var(--sand); }
.site section.wt-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); padding: 0; min-height: min(88vh, 860px); background: var(--sand); gap: 0; }
.wt-hero .wt-img { aspect-ratio: auto; border-radius: 0; height: 100%; min-height: 440px; }
.wt-hero .hero-copy { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3.5rem); }
.page-working-together .inputs, .page-working-together .sitefoot { background: var(--sand-2); }
.page-working-together .sitefoot { background: var(--sand); }

/* closing bands, one per page */
.closing-acid { background: var(--acid); background-image: none; color: var(--ink); }
.closing-acid h2 { color: var(--ink); }
.closing-acid p { color: #2c4a3c; }
.closing-acid .btn.primary { background: var(--ink); border-color: var(--ink); color: var(--acid); }
.closing-ink { background: #fff; background-image: none; color: var(--ink); border-top: 10px solid var(--ink); }
.closing-ink p { color: var(--muted); }
.closing-warm { background: var(--sand-2); background-image: none; color: var(--ink); }
.closing-warm p { color: var(--muted); }
.closing-acid .btn.ghost, .closing-ink .btn.ghost, .closing-warm .btn.ghost { color: var(--ink); border-color: var(--ink); }
.closing-patina { background-color: var(--sea); }
.closing-patina .btn.primary { background: var(--patina); border-color: var(--patina); color: var(--sea); }

@media (max-width: 960px) {
  .site section.hero-field { flex-direction: column-reverse; align-items: stretch; padding-top: 1rem; min-height: 0; }
  .hero-field .field { position: relative; inset: auto; height: 78vw; max-height: 460px; }
  .field-empty { position: relative; inset: auto; height: 78vw; }
  .hero-field .field::before { background: linear-gradient(180deg, var(--paper) 0%, rgba(250, 248, 240, 0) 25%); }
  .field figcaption { position: static; text-align: left; margin-top: 0.4rem; }
  .site section.hero-photo { min-height: 88vh; }
  .site section.hero-mineral, .site section.wt-hero { grid-template-columns: minmax(0, 1fr); }
  .wt-hero .wt-img { min-height: 300px; height: 62vw; }
  .proof code { white-space: normal; }
  .prod-row { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fd { animation: none; opacity: 0.13; }
  .fl { animation: none; stroke-dashoffset: 0; }
  .fp, .fc, .fc-label { animation: none; opacity: 1; }
  .fc-ring { animation: none; }
  .proof code { animation: none; clip-path: none; }
  .proof span { animation: none; opacity: 1; }
}
.hero-photo h1 { font-size: clamp(2.8rem, 5.4vw, 5.4rem); }
.hero-photo .hero-copy { max-width: 1040px; }
.hero-photo .lead { margin: 1.1rem 0 1.6rem; }
.hero-photo .hero-copy { width: 100%; min-width: 0; box-sizing: border-box; }
.hero-photo h1, .hero-photo .lead { overflow-wrap: break-word; }
/* The legacy portal gave every .photo the Vienna photograph as a background, so it showed
   through each image while that image loaded or revealed. Website photos have no backdrop. */
.site .photo { background: #dfe3dc none; min-height: 0; }
.site .hero-photo-img, .site .band-img, .site .manifesto-img { background-color: var(--fir); }
.site section.hero-photo { aspect-ratio: auto; box-shadow: none; }

/* ===== Home v6: the district builds itself ===== */
.site section.hero-district { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; min-height: min(88vh, 880px); background: var(--paper); }
.hero-district h1 { font-size: clamp(3rem, 6.2vw, 6.4rem); line-height: 0.9; font-stretch: 125%; font-weight: 850; letter-spacing: -0.045em; max-width: 9ch; }
.hero-district .lead { font-size: 1.12rem; max-width: 46ch; margin: 1.5rem 0 2rem; }
.district { margin: 0; animation: rise 1s 0.15s cubic-bezier(.2,.7,.2,1) both; }
.district-empty { aspect-ratio: 700 / 600; }
.district svg { width: 100%; height: auto; display: block; overflow: visible; }
.district polygon { stroke: var(--ink); stroke-width: 0.9; stroke-linejoin: round; }
.d-plot { fill: #eceee6; stroke: #c9cdc2 !important; }
.d-ghost { fill: none; stroke: #8e9a92 !important; stroke-width: 1 !important; stroke-dasharray: 3 4; }
.d-floor .d-r { fill: #cdd5cc; }
.d-floor .d-l { fill: #e9ede5; }
.d-floor .d-top { fill: #fbfbf6; }
.d-glass { fill: #3b5e53; stroke: none !important; opacity: 0.55; }
.d-live .d-r { fill: #dff27e; }
.d-live .d-l { fill: #ecf8b6; }
.d-live .d-top { fill: var(--acid); }
.d-tag { font: 12px var(--mono); fill: var(--muted); }
.d-time { margin: 0.4rem 0 0 8%; }
.d-track { height: 3px; background: #dde0d8; border-radius: 2px; overflow: hidden; }
.d-track span { display: block; height: 100%; background: var(--ink); }
.d-time p { display: flex; gap: 1.2rem; align-items: baseline; margin-top: 0.7rem; font-size: 0.85rem; color: var(--muted); }
.d-time b { margin-left: auto; color: var(--ink); font-weight: 650; }
.district.done .d-time b { color: #3d6b10; }
@media (max-width: 960px) {
  .site section.hero-district { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .d-time { margin-left: 0; }
  .d-time p { flex-wrap: wrap; gap: 0.4rem 1rem; }
  .d-time b { margin-left: 0; width: 100%; }
}

/* nav: quiet sign-in link, contact as the one primary action */
.sitenav .signin { font-size: 0.9rem; color: var(--muted); }
.sitenav.on-dark .signin { color: #b9c9bf; }

/* Technology page: typographic hero, principles, evidence */
.site section.pf-hero { grid-template-columns: minmax(0, 1fr); min-height: min(70vh, 680px); align-content: end; padding-bottom: clamp(3rem, 7vw, 6rem); }
.pf-hero h1 { font-size: clamp(3.2rem, 7.6vw, 7.6rem); line-height: 0.88; max-width: 12ch; }
.pf-hero .lead { font-size: 1.15rem; max-width: 62ch; }
.principles h2, .evidence h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.02; margin-bottom: 2rem; max-width: 20ch; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.principle-grid article { border-top: 3px solid var(--ink); padding-top: 1.2rem; }
.principle-grid h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); margin-bottom: 0.7rem; }
.site section.evidence { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--concrete); }
.evidence-figure { display: grid; gap: 0.6rem; border-left: 4px solid var(--acid); padding-left: 1.6rem; }
.evidence-figure .mono { font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; color: var(--ink); }
.evidence-figure span:last-child { color: var(--muted); max-width: 24ch; }

/* Contact page */
.site.page-contact { background: var(--paper); }
.site section.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; padding: 0; min-height: calc(100vh - 76px); }
.contact-side { background: var(--fir); color: #e6efe9; padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1rem, 4vw, 3.5rem); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; }
.contact-side .eyebrow { color: var(--acid); }
.contact-side h1 { color: #fff; font-size: clamp(2.6rem, 4.8vw, 4.6rem); line-height: 0.94; font-stretch: 122%; font-weight: 850; letter-spacing: -0.04em; max-width: 12ch; }
.contact-side .lead { color: #c4d4ca; margin: 1.4rem 0 2.6rem; max-width: 46ch; font-size: 1.08rem; }
.contact-side h2 { font-size: 1.1rem; color: #fff; margin-bottom: 1rem; }
.next-steps { list-style: none; counter-reset: st; margin: 0 0 2.6rem; padding: 0; display: grid; gap: 1rem; max-width: 46ch; }
.next-steps li { counter-increment: st; position: relative; padding-left: 2.6rem; color: #d3e0d8; }
.next-steps li::before { content: counter(st); position: absolute; left: 0; top: -0.1rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--acid); color: var(--acid); font: 0.8rem/1.6rem var(--mono); text-align: center; }
.contact-facts { display: flex; gap: 2.5rem; margin: 0; padding-top: 1.4rem; border-top: 1px solid #2a5045; }
.contact-facts dt { font-size: 0.78rem; color: #8fa89c; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-facts dd { margin: 0.3rem 0 0; color: #fff; }
.contact-card { margin: clamp(1.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 4rem); align-self: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.4rem, 3.5vw, 2.8rem); box-shadow: 0 40px 80px -50px rgba(11, 42, 34, 0.45); display: grid; gap: 1.3rem; }
.contact-card h2 { font-size: 1.6rem; }
.fld-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.fld { display: grid; gap: 0.4rem; margin: 0; border: 0; padding: 0; min-width: 0; }
.fld > span, .fld legend { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.fld small { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fbfbf8; border: 1px solid #c7cbc0; border-radius: 6px; padding: 0.75rem 0.85rem; width: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.fld textarea { resize: vertical; min-height: 8rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(211, 250, 71, 0.6); background: #fff; }
.fld.bad input, .fld.bad textarea, .fld.bad select { border-color: #b3261e; background: #fff7f6; }
.seg { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.seg legend { margin-bottom: 0.5rem; }
.seg-opt { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.1rem; border: 1px solid #c7cbc0; border-radius: 999px; cursor: pointer; font-weight: 600; background: #fbfbf8; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt:focus-within { box-shadow: 0 0 0 3px rgba(211, 250, 71, 0.6); }
.seg-opt.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg-develop.on { background: var(--acid); color: var(--ink); }
.seg-asset.on { background: #1f6f5c; border-color: #1f6f5c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--ink); flex: none; }
.consent.bad span { color: #b3261e; }
.form-msg { color: #b3261e; font-weight: 600; margin: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.form-foot button { padding: 0.9rem 1.6rem; font-size: 1rem; background: var(--acid); border: 1px solid var(--acid); color: var(--ink); font-weight: 700; border-radius: 6px; cursor: pointer; }
.form-foot button:disabled { opacity: 0.6; cursor: progress; }
.form-foot .fine { margin: 0; max-width: 36ch; }
.thanks { justify-items: start; }
.thanks svg { width: 56px; height: 56px; }
.thanks circle { fill: var(--acid); stroke: var(--ink); stroke-width: 2; }
.thanks path { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick 0.6s 0.2s forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.thanks p { color: var(--muted); max-width: 46ch; }

@media (max-width: 960px) {
  .principle-grid, .site section.evidence, .site section.contact, .fld-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { margin: 1.2rem; }
  .sitenav .signin { padding: 0.4rem 0; }
}
@media (prefers-reduced-motion: reduce) { .thanks path { animation: none; stroke-dashoffset: 0; } }

/* ===== Dashboards: events, connections, assistant ===== */
.evbars { display: grid; gap: 0.7rem; margin-top: 1rem; }
.evbar { display: grid; grid-template-columns: minmax(10rem, 1.1fr) minmax(0, 2fr) 5rem minmax(0, 1.4fr); gap: 0.8rem; align-items: center; }
.evname { font-weight: 600; }
.evtrack { height: 10px; background: #eceee8; border-radius: 5px; overflow: hidden; }
.evtrack span { display: block; height: 100%; background: var(--accent, var(--ink)); border-radius: 5px; }
.dash-develop .evtrack span { background: #5a8f00; }
.systems { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.sys { border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem; background: #fff; display: grid; gap: 0.35rem; border-top: 4px solid #c9cec6; }
.sys.ok { border-top-color: #3d8b3d; }
.sys.part { border-top-color: #d9a400; }
.sys.none { border-top-color: #b3261e; }
.sys h3 { font-size: 1rem; }
.sys .mono { font-size: 1.3rem; }
.readiness { display: grid; gap: 0.6rem; margin-top: 0.8rem; }
.ready-row { display: grid; grid-template-columns: minmax(12rem, 1.4fr) minmax(0, 2fr) 4rem; gap: 0.6rem 1rem; align-items: center; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.ready-row h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.ready-row details { grid-column: 1 / -1; font-size: 0.9rem; }
.ready-row details ul { margin: 0.4rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.conf { height: 8px; background: #eceee8; border-radius: 4px; overflow: hidden; }
.conf span { display: block; height: 100%; background: var(--ink); }
.ready-row.ready .conf span { background: #3d8b3d; }
.ready-row.partial .conf span { background: #d9a400; }
.ready-row.blocked .conf span { background: #b3261e; }
.chip-s { font-size: 0.72rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: #eceee8; }
.chip-s.ready { background: #dcefd6; color: #1f5c1f; }
.chip-s.partial { background: #fbefc4; color: #6b5200; }
.chip-s.blocked { background: #f8d7d4; color: #8c1d16; }
.asks { display: grid; gap: 0.8rem; padding-left: 1.2rem; }
.asks p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.chat .chatlog { display: grid; gap: 1rem; min-height: 8rem; max-height: 60vh; overflow-y: auto; padding-bottom: 1rem; }
.chat .examples { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chat .examples button { font-size: 0.9rem; }
.turn { display: grid; gap: 0.5rem; }
.turn .you { justify-self: end; background: var(--ink); color: #fff; padding: 0.6rem 0.9rem; border-radius: 12px 12px 2px 12px; max-width: 75%; margin: 0; }
.turn .bot { justify-self: start; background: #f3f5f0; border: 1px solid var(--line); padding: 0.7rem 1rem; border-radius: 12px 12px 12px 2px; max-width: 85%; }
.turn .bot p { margin: 0; }
.turn .bot .fine { margin-top: 0.4rem; }
.askbar { display: flex; gap: 0.6rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.askbar input { flex: 1; font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #c7cbc0; border-radius: 6px; }
.value textarea { width: 100%; font: inherit; padding: 0.7rem; border: 1px solid #c7cbc0; border-radius: 6px; box-sizing: border-box; margin: 0.6rem 0; }
.watch { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 0.8rem; display: grid; gap: 0.5rem; }
.proposal { border-top: 1px solid var(--line); padding: 0.8rem 0; }
@media (max-width: 900px) {
  .evbar { grid-template-columns: minmax(0, 1fr) 5rem; }
  .evtrack { grid-column: 1 / -1; grid-row: 2; }
  .evbar .fine { grid-column: 1 / -1; }
  .ready-row { grid-template-columns: minmax(0, 1fr) 4rem; }
  .conf { grid-column: 1 / -1; grid-row: 2; }
}

/* ===== Case study page: a report on a real building ===== */
.site.page-case { background: #fff; }
.site section.cs-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; border-bottom: 1px solid var(--ink); }
.cs-hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: 0.92; font-stretch: 122%; font-weight: 850; letter-spacing: -0.04em; max-width: 13ch; }
.cs-hero .lead { margin-top: 1.4rem; max-width: 56ch; font-size: 1.1rem; }
.cs-inputs { margin: 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.cs-inputs div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cs-inputs dt { font: 600 0.8rem var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cs-inputs dd { margin: 0; font-size: 1.05rem; }
.cs-steps h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 2rem; }
.cs-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: cs; }
.cs-steps li { counter-increment: cs; display: grid; grid-template-columns: 3rem minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.cs-steps li::before { content: counter(cs, decimal-leading-zero); font: 0.85rem var(--mono); color: var(--muted); }
.cs-big { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; color: var(--ink); margin: 0; }
.cs-steps h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.cs-steps p { max-width: 60ch; }
.cs-honest { background: var(--concrete); }
.cs-honest h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }
.cs-honest ul { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: 0.4rem; max-width: 70ch; }
@media (max-width: 960px) {
  .site section.cs-hero { grid-template-columns: minmax(0, 1fr); }
  .cs-steps li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .cs-steps li > div { grid-column: 2; }
}

/* Develop: on-site response */
.onsite { background: #0b2a22; color: #e6efe9; }
.onsite .eyebrow { color: var(--acid); }
.onsite h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.02; max-width: 22ch; color: #fff; }
.onsite .lead { color: #c4d4ca; margin: 1rem 0 2.2rem; max-width: 58ch; }
.os-steps { list-style: none; counter-reset: os; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.os-steps li { counter-increment: os; border-top: 2px solid var(--acid); padding-top: 1rem; }
.os-steps li::before { content: counter(os); font: 0.85rem var(--mono); color: var(--acid); display: block; margin-bottom: 0.5rem; }
.os-steps h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.5rem; }
.os-steps p { color: #c4d4ca; }
.onsite .go { color: var(--acid); }
@media (max-width: 960px) { .os-steps { grid-template-columns: minmax(0, 1fr); } }

/* Decision line above the Develop numbers; coverage of the client's file. */
.value .decision-line { border-left: 4px solid var(--acid, #d3fa47); }
.value .decision-line .decision { font-size: 1.12rem; font-weight: 600; margin: 0 0 0.4rem; }
.value .decision-line .fine { margin: 0.2rem 0; color: #53645b; font-size: 0.9rem; }
.value .decision-line.warn { border-left-color: #c2481f; }
.value .warn-text { color: #9a3412; font-weight: 600; margin: 0.4rem 0 0; }
.value .next-step { margin: 0.2rem 0 1.4rem; }
.value .kpis { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Interactive tour: step bar above each demo screen. */
.tourbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.8rem 1.4rem; align-items: center; margin: 0 0 1.4rem; padding: 0.9rem 1.1rem; border: 1px solid #0b2a22; border-radius: 7px; background: #fbfbf8; }
.tourbar p { margin: 0; line-height: 1.45; }
.tourbar p .mono { font-family: "Plex Mono", ui-monospace, monospace; font-size: 0.78rem; color: #53645b; margin-right: 0.5rem; }
.tour-dots { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.tour-dots a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #0b2a22; font: 600 0.8rem "Plex Mono", ui-monospace, monospace; text-decoration: none; color: #0b2a22; background: #fff; }
.tour-dots .done a { background: #84dcc6; }
.tour-dots .on a { background: #0b2a22; color: #d3fa47; }
.tour-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; justify-content: flex-end; }
.tour-actions > a:not(.btn) { font-weight: 600; }
.tour-actions .btn { white-space: nowrap; }
.tour-done { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-weight: 600; }
@media (max-width: 860px) { .tourbar { grid-template-columns: minmax(0, 1fr); } .tour-actions { justify-content: flex-start; } }
.tourbar.last { grid-template-columns: auto minmax(0, 1fr); }
.tourbar.last .tour-actions { grid-column: 1 / -1; justify-content: flex-start; }
