:root {
  --ink: #14161C;
  --bone: #F4F1EB;
  --orange: #E8632B;
  --stone: #6E6A63;
  --line: #D9D3C7;
  --ink-soft: #2A2D36;
  --bone-soft: rgba(244,241,235,0.62);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--bone); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-variation-settings: "opsz" 72; margin-bottom: 20px; }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 24; }
p { max-width: 62ch; }
.lede { font-size: 1.15rem; color: var(--stone); max-width: 58ch; }
.ink .lede { color: var(--bone-soft); }
.num { font-family: var(--serif); font-variation-settings: "opsz" 96; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bone); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-variation-settings: "opsz" 24; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--ink); }
.nav-links a:hover { color: var(--orange); }
.nav-links a.btn { color: var(--bone); }
.nav-links a.btn:hover { color: var(--bone); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; cursor: pointer; }
.btn { display: inline-block; background: var(--ink); color: var(--bone); text-decoration: none; padding: 13px 22px; border-radius: 4px; font-weight: 600; font-size: 0.95rem; border: 1px solid var(--ink); transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--orange); border-color: var(--orange); color: var(--bone); }
.btn.light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn.light:hover { background: var(--orange); border-color: var(--orange); color: var(--bone); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bone); }
.ink .btn.ghost { color: var(--bone); border-color: rgba(244,241,235,0.5); }
.ink .btn.ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--bone); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 16px var(--gutter) 22px; gap: 14px; }
  .nav-links.open { display: flex; }
}

/* sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.ink { background: var(--ink); color: var(--bone); }
.ink h1, .ink h2, .ink h3 { color: var(--bone); }
.rule { width: 56px; height: 3px; background: var(--orange); margin: 0 0 26px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 160px) 0; }
.hero-bg { position: absolute; inset: 0; background-color: var(--ink); background-image: linear-gradient(90deg, var(--ink) 0%, var(--ink) 44%, rgba(20,22,28,0) 68%), url('/assets/hero.png'); background-repeat: no-repeat; background-position: right center; background-size: cover, auto 100%; }
@media (max-width: 900px) { .hero-bg { background-image: linear-gradient(90deg, var(--ink) 0%, rgba(20,22,28,0.85) 100%), url('/assets/hero.png'); } }
.hero .wrap { position: relative; }
.hero h1 { max-width: 19ch; margin-bottom: 26px; }
.hero .lede { margin-bottom: 40px; }
.doors { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero small { display: block; color: var(--bone-soft); font-size: 0.9rem; }
.hero small a { color: var(--bone); }

/* method: the dodecagon */
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.dodeca { width: 100%; max-width: 560px; margin: 0 auto; overflow: visible; }
.dodeca .edge { fill: none; stroke: var(--line); stroke-width: 1.2; }
.dodeca .arc { fill: none; stroke-width: 3; stroke-linecap: butt; }
.dodeca .spoke { stroke: var(--line); stroke-width: 1; }
.dodeca .node { cursor: pointer; }
.dodeca .node circle.hit { fill: transparent; stroke: none; }
.dodeca .node circle:not(.hit) { fill: var(--bone); stroke: var(--ink); stroke-width: 1.4; transition: r 0.15s, fill 0.15s; }
.dodeca .node text { font-family: var(--sans); font-size: 12px; fill: var(--ink); pointer-events: none; }
.dodeca .node:hover circle:not(.hit), .dodeca .node.active circle:not(.hit) { fill: var(--orange); stroke: var(--orange); }
.dodeca .node:focus { outline: none; }
.dodeca .node:focus circle:not(.hit) { stroke: var(--orange); stroke-width: 3; }
.dodeca .center { font-family: var(--serif); font-size: 84px; fill: var(--ink); text-anchor: middle; font-variation-settings: "opsz" 96; }
.dodeca .center-label { font-family: var(--sans); font-size: 12px; fill: var(--stone); text-anchor: middle; }
.p-product { stroke: var(--ink); }
.p-organisation { stroke: var(--stone); }
.p-person { stroke: var(--orange); }
.p-symbol { stroke: #9A927F; }
.detail { border-top: 1px solid var(--ink); padding-top: 22px; min-height: 260px; }
.detail .persp { font-size: 0.9rem; color: var(--stone); margin-bottom: 8px; }
.detail h3 { margin-bottom: 12px; }
.detail p { margin-bottom: 14px; }
.detail .build { font-weight: 600; }
.detail .nav-dim { display: flex; gap: 10px; margin-top: 22px; }
.detail .nav-dim button { font: inherit; font-size: 0.9rem; background: none; border: 1px solid var(--ink); border-radius: 4px; padding: 8px 14px; cursor: pointer; color: var(--ink); }
.detail .nav-dim button:hover { background: var(--ink); color: var(--bone); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 0.9rem; color: var(--stone); }
.legend span::before { content: ""; display: inline-block; width: 22px; height: 3px; vertical-align: middle; margin-right: 8px; }
.legend .l-product::before { background: var(--ink); }
.legend .l-organisation::before { background: var(--stone); }
.legend .l-person::before { background: var(--orange); }
.legend .l-symbol::before { background: #9A927F; }
.credit { margin-top: 30px; font-size: 0.92rem; color: var(--stone); max-width: 62ch; }
.dim-list { display: none; list-style: none; }
.dim-list li { border-top: 1px solid var(--line); padding: 16px 0; }
.dim-list li:last-child { border-bottom: 1px solid var(--line); }
.dim-list strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 4px; }
.dim-list em { font-style: normal; color: var(--stone); font-size: 0.85rem; display: block; margin-bottom: 6px; }
@media (max-width: 860px) {
  .method-grid { grid-template-columns: 1fr; }
  .dodeca, .detail, .legend { display: none; }
  .dim-list { display: block; }
}

/* perspectives strip */
.persps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.persps figure img { width: 88px; height: 88px; margin-bottom: 12px; }
.persps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.persps p { font-size: 0.95rem; color: var(--stone); }
@media (max-width: 760px) { .persps { grid-template-columns: repeat(2, 1fr); } }

/* work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: var(--bone); color: var(--ink); border: 1px solid var(--line); padding: 28px 26px 26px; display: flex; flex-direction: column; min-height: 100%; }
.case .site { font-family: var(--serif); font-size: 1.7rem; font-variation-settings: "opsz" 48; line-height: 1.1; margin-bottom: 4px; }
.case .kind { color: var(--stone); font-size: 0.9rem; margin-bottom: 18px; }
.case p { font-size: 0.97rem; margin-bottom: 16px; }
.case ul { list-style: none; font-size: 0.9rem; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.case li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--stone); }
.case a.visit { margin-top: auto; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); align-self: flex-start; padding-bottom: 2px; }
.case a.visit:hover { color: var(--orange); }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } }

/* process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { list-style: none; border-top: 1px solid var(--ink); padding-top: 18px; }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-size: 2.4rem; display: block; line-height: 1; margin-bottom: 10px; font-variation-settings: "opsz" 96; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { font-size: 0.95rem; color: var(--stone); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* two column */
.two { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.two p + p { margin-top: 16px; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; gap: 28px; } }

/* checks */
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; margin-top: 30px; }
.checks li { border-top: 1px solid var(--line); padding-top: 14px; }
.checks strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 6px; }
.checks p { font-size: 0.95rem; color: var(--stone); }
.ink .checks li { border-color: rgba(244,241,235,0.2); }
.ink .checks p { color: var(--bone-soft); }
@media (max-width: 700px) { .checks { grid-template-columns: 1fr; } }

/* cta band */
.cta { text-align: left; }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--bone-soft); }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--ink); color: var(--bone-soft); font-size: 0.88rem; padding: 34px 0; border-top: 1px solid rgba(244,241,235,0.15); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
footer a { color: var(--bone); text-decoration: none; }
footer a:hover { color: var(--orange); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* legal pages */
.legal-hero { padding: 56px 0 44px; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-hero .meta { color: var(--bone-soft); font-size: 0.9rem; margin-top: 12px; }
.legal { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 20px 0 6px; }
.legal p, .legal li { color: #3A3D46; margin-bottom: 12px; max-width: none; }
.legal ul { padding-left: 20px; }
.legal .box { border: 1px solid var(--line); background: #FBF9F5; padding: 18px 22px; margin-bottom: 8px; }
.legal .box p { margin: 0; }

/* cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; background: var(--ink); color: var(--bone); border: 1px solid rgba(244,241,235,0.2); padding: 16px 18px; display: none; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 0.9rem; max-width: 720px; margin: 0 auto; }
.cookie.show { display: flex; }
.cookie p { flex: 1 1 320px; color: var(--bone-soft); }
.cookie p a { color: var(--bone); }
.cookie .acts { display: flex; gap: 8px; }
.cookie button { font: inherit; font-size: 0.88rem; padding: 9px 14px; border-radius: 4px; cursor: pointer; border: 1px solid var(--bone); background: var(--bone); color: var(--ink); }
.cookie button.plain { background: transparent; color: var(--bone); border-color: rgba(244,241,235,0.5); }
