/* palette: bg=#121315 fg=#ECEAE3 accent=#F2560F */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #121315;        /* graphite near-black — dominant background */
  --bg-alt: #191A1D;    /* alternating panel surface */
  --bg-deep: #0C0D0E;   /* deepest band */
  --bg-light: #ECEAE3;  /* inverted light band */
  --fg: #ECEAE3;        /* warm off-white text */
  --fg-soft: #B6B4AC;   /* slightly softer foreground */
  --muted: #7C7A73;     /* secondary / captions */
  --accent: #F2560F;    /* Braun functional orange */
  --accent-deep: #CE4409; /* darker accent for hover */
  --accent-soft: rgba(242, 86, 15, 0.14);
  --line: #2A2B2E;      /* hairline on dark */
  --border: rgba(236, 234, 227, 0.14);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } body { font-size: 18px; } }

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }

.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: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--muted); }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.32rem); line-height: 1.6; color: var(--fg-soft); max-width: 60ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { background: transparent; border-color: var(--fg); color: var(--fg); }
.btn--dark { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--dark:hover { background: #fff; border-color: #fff; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link .arw { color: var(--accent); transition: transform .3s var(--ease); }
.arrow-link:hover { color: var(--accent); gap: 16px; }
.arrow-link:hover .arw { transform: translateX(4px); }

/* ---------- Scroll 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; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 19, 21, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px -24px rgba(0,0,0,0.9);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  letter-spacing: -0.02em; color: var(--fg);
}
.brand__mark em { color: var(--accent); font-style: normal; }
.brand__dot { width: 7px; height: 7px; background: var(--accent); display: inline-block; border-radius: 1px; }

.nav { display: none; gap: 36px; align-items: center; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-soft);
  position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; height: 1.5px; width: 100%; background: var(--fg); transition: transform .35s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  padding: 40px 24px 60px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em;
  padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--fg);
}
.mobile-menu a .num { font-family: var(--mono); font-size: 11px; color: var(--accent); margin-right: 14px; vertical-align: super; }
.mobile-menu .btn { margin-top: 34px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.4) contrast(1.05) brightness(0.52);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,19,21,0.55) 0%, rgba(18,19,21,0.15) 32%, rgba(18,19,21,0.86) 86%, var(--bg) 100%),
    radial-gradient(120% 80% at 10% 100%, rgba(242,86,15,0.12), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.4;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.6) 40%, transparent);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 120px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.hero h1 {
  font-size: clamp(3.4rem, 10vw, 8.6rem);
  line-height: 0.96; letter-spacing: -0.035em; font-weight: 300;
  max-width: 16ch; margin: 0 0 32px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { max-width: 54ch; color: var(--fg-soft); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.58; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__down { position: absolute; left: 20px; bottom: 26px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
@media (min-width: 768px) { .hero__down { left: 32px; } }

/* ---------- Metrics band (clone of dashboard numbers) ---------- */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .metrics__grid { grid-template-columns: repeat(4, 1fr); } }
.metric {
  padding: clamp(34px, 5vw, 60px) 26px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.metric:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) { .metric { border-bottom: 0; } .metric:nth-child(2n) { border-right: 1px solid var(--line); } .metric:last-child { border-right: 0; } }
.metric__value { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; }
.metric__value sup { color: var(--accent); font-size: 0.4em; vertical-align: super; }
.metric__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* ---------- Section head ---------- */
.sec-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 86px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 48px; } }
.sec-head h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.025em; line-height: 1.02; font-weight: 400; max-width: 16ch; }
.sec-head__aside { color: var(--fg-soft); font-size: 1.05rem; line-height: 1.65; }

/* ---------- Featured / editorial ---------- */
.featured { display: grid; gap: 40px; }
@media (min-width: 900px) { .featured { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; } }
.featured__media { position: relative; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.05) brightness(0.8); transition: transform 1s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.04); }
.featured__tag { position: absolute; top: 16px; left: 16px; background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); }
.featured__body h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 22px; }
.featured__body p { color: var(--fg-soft); line-height: 1.7; margin-bottom: 28px; }
.featured__kv { display: flex; gap: 40px; margin: 0 0 30px; flex-wrap: wrap; }
.featured__kv div span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.featured__kv div strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.02em; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  background: var(--bg); padding: clamp(32px, 4vw, 48px) clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; min-height: 320px;
  transition: background .4s var(--ease);
}
.svc:hover { background: var(--bg-alt); }
.svc__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 42px; }
.svc h3 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
.svc p { color: var(--fg-soft); font-size: 0.98rem; line-height: 1.65; margin-bottom: 26px; }
.svc__foot { margin-top: auto; }
.svc__foot .arrow-link { font-size: 11px; }

/* ---------- Manifesto (light inverted band) ---------- */
.manifesto { background: var(--bg-light); color: var(--bg-deep); }
.manifesto .container { text-align: left; }
.manifesto .eyebrow { color: var(--accent-deep); }
.manifesto .eyebrow::before { background: var(--accent-deep); }
.manifesto__quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.12; letter-spacing: -0.025em;
  max-width: 20ch; margin: 0;
}
.manifesto__quote em { font-style: normal; color: var(--accent-deep); }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 10rem); line-height: 0.6; color: var(--accent-deep); display: block; height: 0.4em; }
.manifesto__by { margin-top: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #55534c; }

/* ---------- Recent notes grid (magazine issues) ---------- */
.notes-grid { display: grid; gap: 34px; }
@media (min-width: 640px) { .notes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .notes-grid { grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); } }
.note { display: flex; flex-direction: column; background: var(--bg); }
@media (min-width: 1000px) { .note { padding: 0 0 36px; } }
.note__media { position: relative; overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line); }
@media (min-width: 1000px) { .note__media { border: 0; border-bottom: 1px solid var(--line); } }
.note__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05) brightness(0.78); transition: transform .9s var(--ease); }
.note:hover .note__media img { transform: scale(1.05); }
.note__body { padding: 26px 0 0; }
@media (min-width: 1000px) { .note__body { padding: 26px 28px 0; } }
.note__cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; gap: 14px; }
.note__cat span { color: var(--muted); }
.note h3 { font-size: 1.32rem; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 12px; }
.note p { color: var(--fg-soft); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

/* ---------- Process numbered ---------- */
.process { display: grid; gap: 0; }
.process__row {
  display: grid; gap: 14px 40px; padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.process__row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .process__row { grid-template-columns: 90px 0.8fr 1.2fr; align-items: start; } }
.process__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); }
.process__row h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; font-weight: 400; }
.process__row p { color: var(--fg-soft); line-height: 1.68; font-size: 1rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 30px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote-card {
  border: 1px solid var(--line); padding: clamp(32px, 4vw, 46px);
  display: flex; flex-direction: column; background: var(--bg);
}
.quote-card blockquote { margin: 0 0 30px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.32; letter-spacing: -0.015em; }
.quote-card blockquote em { font-style: normal; color: var(--accent); }
.quote-card__who { margin-top: auto; display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 48px; height: 48px; border-radius: 2px; flex: none;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; color: #fff;
}
.quote-card__who div span { display: block; }
.quote-card__who .nm { font-weight: 600; font-size: 0.95rem; }
.quote-card__who .rl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.quote-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; gap: 20px; align-items: baseline; justify-content: space-between;
  padding: clamp(24px, 3vw, 34px) 0;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 2.4vw, 1.55rem); letter-spacing: -0.015em; color: var(--fg);
}
.faq__q .ix { font-family: var(--mono); font-size: 22px; color: var(--accent); flex: none; transition: transform .35s var(--ease); line-height: 1; }
.faq__item[data-open="true"] .ix { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__a p { padding: 0 0 clamp(26px, 3vw, 36px); max-width: 68ch; color: var(--fg-soft); line-height: 1.72; }
.faq__item[data-open="true"] .faq__a { max-height: 460px; }

/* ---------- CTA band ---------- */
.cta { background: var(--accent); color: #fff; }
.cta .container { display: grid; gap: 34px; }
@media (min-width: 860px) { .cta .container { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; } }
.cta h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -0.03em; line-height: 1.02; font-weight: 300; }
.cta p { color: rgba(255,255,255,0.86); font-size: 1.1rem; line-height: 1.6; margin-top: 22px; }
.cta__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 860px) { .cta__actions { align-items: flex-end; } }
.cta .btn--dark { background: #fff; color: var(--accent-deep); border-color: #fff; }
.cta .btn--dark:hover { background: var(--bg-deep); color: #fff; border-color: var(--bg-deep); }
.cta__note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); }

/* ---------- Forms (contact) ---------- */
.form-wrap { display: grid; gap: 48px; }
@media (min-width: 920px) { .form-wrap { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--fg);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 2px;
  padding: 15px 16px; width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #16171a; }
.field textarea { resize: vertical; min-height: 140px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form__consent a { color: var(--fg-soft); text-decoration: underline; text-underline-offset: 3px; }

.contact-aside { display: grid; gap: 30px; align-content: start; }
.contact-block span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact-block p { color: var(--fg-soft); line-height: 1.6; }
.contact-block a { color: var(--fg); border-bottom: 1px solid var(--line); }
.contact-block a:hover { border-color: var(--accent); }

/* ---------- Values / principles mini-grid ---------- */
.vals { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .vals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .vals { grid-template-columns: repeat(4, 1fr); } }
.val { background: var(--bg); padding: clamp(28px, 3vw, 40px) 26px; }
.val__k { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.14em; margin-bottom: 26px; }
.val h3 { font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 12px; line-height: 1.15; }
.val p { color: var(--fg-soft); font-size: 0.93rem; line-height: 1.6; }

/* ---------- Page hero (interior) ---------- */
.phero { padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); position: relative; }
.phero h1 { font-size: clamp(3rem, 8.5vw, 7rem); letter-spacing: -0.035em; line-height: 0.98; font-weight: 300; max-width: 18ch; margin-bottom: 30px; }
.phero h1 em { font-style: normal; color: var(--accent); }
.phero__crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.phero__crumbs a:hover { color: var(--accent); }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 54px 0 18px; font-weight: 400; }
.legal h3 { font-size: 1.15rem; margin: 30px 0 12px; font-weight: 500; font-family: var(--serif); }
.legal p { color: var(--fg-soft); line-height: 1.78; margin-bottom: 18px; }
.legal ul { color: var(--fg-soft); line-height: 1.78; padding-left: 20px; margin-bottom: 18px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.legal__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal strong { color: var(--fg); }

/* ---------- Thanks ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.thanks__in { max-width: 640px; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; line-height: 1; font-weight: 300; margin-bottom: 26px; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--fg-soft); font-size: 1.1rem; line-height: 1.6; margin-bottom: 36px; }
.thanks .btn { }
.thanks__mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; } }
.footer__brand .brand__mark { font-size: 26px; }
.footer__brand p { color: var(--fg-soft); max-width: 34ch; margin-top: 20px; line-height: 1.6; font-size: 0.95rem; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; font-weight: 400; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer__col a { color: var(--fg-soft); font-size: 0.95rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__col p { color: var(--fg-soft); font-size: 0.92rem; line-height: 1.6; margin-bottom: 10px; }
.footer__bottom {
  margin-top: clamp(50px, 7vw, 80px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center;
}
.footer__bottom p, .footer__bottom a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.footer__bottom a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-alt); border: 1px solid var(--line); padding: 32px 36px; max-width: 480px; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.3rem; letter-spacing: -0.015em; margin-bottom: 12px; font-weight: 500; }
.cookie-popup__card p { color: var(--fg-soft); font-size: 0.9rem; line-height: 1.6; }
.cookie-popup__card p a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--border); cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); border-radius: 2px; transition: background .3s var(--ease), color .3s var(--ease); flex: 1; }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Misc ---------- */
.divider-label { display: flex; align-items: center; gap: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero__bg img { animation: none; transform: none; }
}
