/* palette: bg=#FFFFFF fg=#0C0C0C accent=#1A3FD4 */
/* fonts: display="Archivo" body="Inter" mono="Space Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F0F0EC;        /* cool neutral off-white alt band */
  --fg: #0C0C0C;            /* De Stijl black */
  --fg-soft: #232323;
  --muted: #5E5E5E;
  --accent: #1A3FD4;        /* De Stijl blue */
  --accent-deep: #1230A8;
  --red: #E0251B;           /* De Stijl red */
  --yellow: #F4C20D;        /* De Stijl yellow */
  --border: #0C0C0C;        /* thick structural black */
  --hair: rgba(12, 12, 12, 0.14);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bw: 3px;               /* base border weight */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--yellow); color: var(--fg); }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(72px, 12vw, 150px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--fg); color: var(--bg); }
.section--line { border-top: var(--bw) solid var(--border); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 11px;
  background: var(--accent);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--yellow); }
.section--dark .eyebrow::before { background: var(--yellow); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }

.h-lead {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 62ch;
}
.section--dark .lede { color: rgba(255,255,255,0.78); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: var(--bw) solid var(--border);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 6px 6px 0 var(--border);
}
.btn:hover { background: var(--accent-deep); transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--border); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--border); }
.btn--sm { padding: 11px 20px; font-size: 12px; box-shadow: 4px 4px 0 var(--border); }
.btn--sm:hover { box-shadow: 6px 6px 0 var(--border); }
.btn--ghost { background: var(--bg); color: var(--fg); }
.btn--ghost:hover { background: var(--yellow); color: var(--fg); }
.btn--red { background: var(--red); }
.btn--red:hover { background: #b51b13; }
.section--dark .btn--ghost { background: transparent; color: #fff; box-shadow: 6px 6px 0 var(--yellow); border-color: #fff; }
.section--dark .btn--ghost:hover { background: var(--yellow); color: var(--fg); }

.link-arrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: 14px; border-bottom-color: var(--accent); }
.link-arrow::after { content: "\2192"; }

/* ---------- brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 30px; height: 30px;
  border: 2.5px solid var(--border);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1.4fr;
  overflow: hidden;
  flex: none;
}
.brand__mark i { display: block; border: 1px solid var(--border); }
.brand__mark i:nth-child(1) { background: var(--red); }
.brand__mark i:nth-child(2) { background: var(--bg); }
.brand__mark i:nth-child(3) { background: var(--accent); }
.brand__mark i:nth-child(4) { background: var(--yellow); }
.brand__name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: var(--bw) solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.header[data-scrolled="true"] { box-shadow: 0 10px 0 -6px rgba(12,12,12,0.14); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.nav { display: none; gap: 30px; }
@media (min-width: 980px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 3px; background: var(--accent);
  transition: width .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--accent); }
.nav__cta { display: none; }
@media (min-width: 980px) { .nav__cta { display: inline-flex; } }

.menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 2.5px solid var(--border); }
@media (min-width: 980px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 20px; height: 2.5px; background: var(--fg); margin: 0 auto; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  border-top: var(--bw) solid var(--border);
  transform: translateY(-120%);
  transition: transform .4s var(--ease);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 2px solid var(--hair);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ---------- hero ---------- */
.hero { border-bottom: var(--bw) solid var(--border); }
.hero__grid { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 72px); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; } }

.hero__text {
  padding: clamp(40px, 7vw, 92px) 20px clamp(44px, 7vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
@media (min-width: 768px) { .hero__text { padding-left: 32px; padding-right: 56px; } }
@media (min-width: 900px) { .hero__text { border-right: var(--bw) solid var(--border); } }

.hero h1 {
  font-size: clamp(3.1rem, 9vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 0 0 26px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--fg-soft); max-width: 46ch; margin: 0 0 36px; line-height: 1.68; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__meta {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex; flex-wrap: wrap; gap: 0;
  border: var(--bw) solid var(--border);
  width: fit-content;
  max-width: 100%;
}
.hero__meta div { padding: 14px 22px; border-right: var(--bw) solid var(--border); }
.hero__meta div:last-child { border-right: 0; }
.hero__meta strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.hero__meta span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.hero__visual { position: relative; overflow: hidden; min-height: 44vh; background: var(--fg); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--yellow);
  border-top: var(--bw) solid var(--border);
  border-right: var(--bw) solid var(--border);
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg);
}
.hero__tag {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 54px; height: 54px;
  background: var(--red);
  border: var(--bw) solid var(--fg);
}

/* ---------- decorative De Stijl blocks ---------- */
.deco-row { display: flex; height: 10px; }
.deco-row span { flex: 1; }
.deco-row span:nth-child(1) { flex: 3; background: var(--accent); }
.deco-row span:nth-child(2) { flex: 1; background: var(--yellow); }
.deco-row span:nth-child(3) { flex: 2; background: var(--red); }
.deco-row span:nth-child(4) { flex: 4; background: var(--fg); }

/* ---------- section heading block ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); letter-spacing: -0.025em; margin-bottom: 20px; }
.sec-head--split { display: grid; gap: 28px; grid-template-columns: 1fr; max-width: none; align-items: end; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.3fr 1fr; } }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto p {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin: 0 auto;
}
.manifesto p em { font-style: normal; color: var(--yellow); }
.manifesto .quote-mark { font-family: var(--serif); font-size: clamp(4rem, 12vw, 9rem); line-height: 0.4; color: var(--yellow); display: block; margin-bottom: 20px; }

/* ---------- services grid ---------- */
.grid { display: grid; gap: 0; grid-template-columns: 1fr; border: var(--bw) solid var(--border); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.cell {
  padding: 34px 30px 38px;
  border-bottom: var(--bw) solid var(--border);
  border-right: var(--bw) solid var(--border);
  background: var(--bg);
  transition: background .25s var(--ease);
  position: relative;
}
.grid--3 .cell:nth-child(3n) { border-right: 0; }
.grid--2 .cell:nth-child(2n) { border-right: 0; }
.grid .cell:last-child { border-right: 0; }
.cell:hover { background: var(--bg-alt); }
.cell__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); display: block; margin-bottom: 20px; }
.cell__chip { width: 34px; height: 34px; border: 2.5px solid var(--border); margin-bottom: 20px; }
.cell:nth-child(3n+1) .cell__chip { background: var(--accent); }
.cell:nth-child(3n+2) .cell__chip { background: var(--red); }
.cell:nth-child(3n+3) .cell__chip { background: var(--yellow); }
.cell h3 { font-size: 1.32rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 14px; line-height: 1.1; }
.cell p { font-size: 0.98rem; color: var(--fg-soft); line-height: 1.68; margin: 0; }

/* ---------- timeline / progression ---------- */
.timeline { border-top: var(--bw) solid var(--border); }
.tl-item {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  padding: 34px 0;
  border-bottom: var(--bw) solid var(--border);
  position: relative;
}
@media (min-width: 820px) { .tl-item { grid-template-columns: 120px 1fr 1.3fr; gap: 40px; align-items: start; } }
.tl-num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.tl-item:nth-child(2n) .tl-num { color: var(--red); }
.tl-item h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.tl-item p { font-size: 1rem; color: var(--fg-soft); line-height: 1.7; margin: 0; }
.tl-phase { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 10px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; border: var(--bw) solid #fff; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 40px 26px; border-right: var(--bw) solid #fff; border-bottom: var(--bw) solid #fff; }
.stats .stat:nth-child(2n) { border-right: 0; }
@media (min-width: 820px) { .stats .stat:nth-child(2n) { border-right: var(--bw) solid #fff; } .stats .stat:nth-child(4n) { border-right: 0; } }
.stat strong { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.stat strong em { font-style: normal; color: var(--yellow); }
.stat span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); display: block; margin-top: 14px; }

/* ---------- work / case cards ---------- */
.work { display: grid; gap: 0; grid-template-columns: 1fr; border: var(--bw) solid var(--border); }
@media (min-width: 820px) { .work { grid-template-columns: repeat(3, 1fr); } }
.work__card { border-right: var(--bw) solid var(--border); border-bottom: var(--bw) solid var(--border); background: var(--bg); display: flex; flex-direction: column; }
@media (min-width: 820px) { .work__card:last-child { border-right: 0; } }
.work__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--bw) solid var(--border); background: var(--fg); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work__card:hover .work__media img { transform: scale(1.06); }
.work__body { padding: 26px 24px 30px; flex: 1; display: flex; flex-direction: column; }
.work__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.work__body h3 { font-size: 1.24rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.12; margin-bottom: 12px; }
.work__body p { font-size: 0.95rem; color: var(--fg-soft); line-height: 1.66; margin: 0 0 18px; }
.work__body .link-arrow { margin-top: auto; }

/* ---------- principles / text list ---------- */
.prin { display: grid; gap: 0; grid-template-columns: 1fr; border: var(--bw) solid var(--border); }
@media (min-width: 768px) { .prin { grid-template-columns: 1fr 1fr; } }
.prin__item { padding: 32px 28px; border-bottom: var(--bw) solid var(--border); border-right: var(--bw) solid var(--border); }
@media (min-width: 768px) { .prin__item:nth-child(2n) { border-right: 0; } }
.prin__item .mono-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.prin__item h3 { font-size: 1.3rem; font-weight: 800; margin: 14px 0 12px; letter-spacing: -0.015em; }
.prin__item p { margin: 0; color: var(--fg-soft); font-size: 0.98rem; line-height: 1.68; }

/* ---------- team (text / monogram, no faces) ---------- */
.team { display: grid; gap: 0; grid-template-columns: 1fr; border: var(--bw) solid var(--border); }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }
.team__card { padding: 30px 26px 34px; border-bottom: var(--bw) solid var(--border); border-right: var(--bw) solid var(--border); }
@media (min-width: 960px) { .team__card:nth-child(3n) { border-right: 0; } }
.avatar { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border: 2.5px solid var(--border); font-family: var(--serif); font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: 20px; }
.avatar--blue { background: var(--accent); }
.avatar--red { background: var(--red); }
.avatar--yellow { background: var(--yellow); color: var(--fg); }
.avatar--dark { background: var(--fg); }
.team__card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }
.team__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin: 8px 0 14px; }
.team__card p { margin: 0; font-size: 0.93rem; color: var(--fg-soft); line-height: 1.64; }

/* ---------- FAQ ---------- */
.faq { border: var(--bw) solid var(--border); }
.faq__item { border-bottom: var(--bw) solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 26px;
  font-family: var(--serif); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  letter-spacing: -0.015em; line-height: 1.2;
}
.faq__q:hover { background: var(--bg-alt); }
.faq__icon { flex: none; width: 26px; height: 26px; position: relative; border: 2.5px solid var(--border); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--fg); transition: transform .3s var(--ease); }
.faq__icon::before { left: 5px; right: 5px; top: 50%; height: 2.5px; transform: translateY(-50%); }
.faq__icon::after { top: 5px; bottom: 5px; left: 50%; width: 2.5px; transform: translateX(-50%); }
.faq__item[data-open="true"] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__item[data-open="true"] .faq__icon { background: var(--yellow); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__item[data-open="true"] .faq__a { max-height: 460px; }
.faq__a p { margin: 0; padding: 0 26px 28px; color: var(--fg-soft); font-size: 1rem; line-height: 1.72; max-width: 72ch; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 16ch; margin: 0 auto 30px; }
.cta h2 em { font-style: normal; color: var(--yellow); }
.cta .btn { margin-top: 6px; }
.cta__note { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 26px; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 0; grid-template-columns: 1fr; border: var(--bw) solid var(--border); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { padding: clamp(32px, 5vw, 52px); border-bottom: var(--bw) solid var(--border); }
@media (min-width: 900px) { .contact-info { border-bottom: 0; border-right: var(--bw) solid var(--border); } }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 22px; letter-spacing: -0.02em; }
.info-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; gap: 4px; }
.info-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.info-list .v { font-size: 1.02rem; color: var(--fg-soft); line-height: 1.5; }
.info-list a.v:hover { color: var(--accent); }

.form { padding: clamp(32px, 5vw, 52px); background: var(--bg-alt); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  font-family: var(--sans); font-size: 1rem; color: var(--fg);
  background: var(--bg);
  border: 2.5px solid var(--border);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: 4px 4px 0 var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__consent { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin: 18px 0 0; }
.form__consent a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- editorial / legal ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose .eyebrow { margin-bottom: 18px; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em; margin-bottom: 20px; line-height: 1.02; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.prose p, .prose li { font-size: 1.04rem; line-height: 1.8; color: var(--fg-soft); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.prose__divider { height: var(--bw); background: var(--border); border: 0; margin: 40px 0; }

/* ---------- thank you ---------- */
.thanks { min-height: calc(100vh - 72px); display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 680px; margin: 0 auto; }
.thanks__mark { width: 84px; height: 84px; margin: 0 auto 32px; border: var(--bw) solid var(--border); background: var(--accent); display: grid; place-items: center; }
.thanks__mark span { width: 30px; height: 16px; border-left: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(-45deg) translateY(-4px); }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; margin-bottom: 20px; }

/* ---------- footer ---------- */
.footer { background: var(--fg); color: var(--bg); border-top: var(--bw) solid var(--border); }
.footer__top { padding: clamp(56px, 8vw, 90px) 0 48px; display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; } }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__mark { border-color: #fff; }
.footer__tagline { margin: 22px 0 0; max-width: 34ch; color: rgba(255,255,255,0.68); font-size: 0.98rem; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a, .footer ul li { font-size: 0.95rem; color: rgba(255,255,255,0.74); }
.footer ul a:hover { color: #fff; }
.footer__bottom { border-top: 2px solid rgba(255,255,255,0.16); padding: 24px 0 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.footer__bottom p { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); }
.footer__legal a:hover { color: var(--yellow); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__visual img { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; background: rgba(12,12,12,0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 32px; max-width: 480px; border: var(--bw) solid var(--border); box-shadow: 10px 10px 0 var(--accent); }
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 12px; }
.cookie-popup__card p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--fg-soft); }
.cookie-popup__card p a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border: 2.5px solid var(--border); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; transition: background .2s var(--ease), color .2s var(--ease); }
.cookie-popup__actions button:first-child:hover { background: var(--bg-alt); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); }

/* ---------- utilities ---------- */
.flow > * + * { margin-top: 22px; }
.text-center { text-align: center; }
.mt-l { margin-top: clamp(40px, 6vw, 64px); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--fg); color: #fff; padding: 12px 18px; z-index: 10000; }
.skip-link:focus { left: 0; }
