/* palette: bg=#0B0706 fg=#F2ECE8 accent=#D23A22 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #0B0706;          /* dominant warm near-black from reference */
  --bg-alt: #14090A;      /* alternating section background */
  --bg-panel: #1B0E0C;    /* raised card panel */
  --fg: #F2ECE8;          /* warm white text */
  --fg-soft: #CFC6C1;     /* slightly softened foreground */
  --muted: #8B7D78;       /* secondary text */
  --accent: #D23A22;      /* crimson red-orange from the hero glow */
  --accent-deep: #A62A16; /* darker accent for hover */
  --accent-soft: #E8583C; /* lifted accent for highlights */
  --border: rgba(242, 236, 232, 0.12);
  --border-soft: rgba(242, 236, 232, 0.06);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

*, *::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;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 17px;
}
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(--accent); color: #fff; }

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

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

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

.h-display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.h-display em { font-style: normal; color: var(--accent); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 56ch;
  font-weight: 300;
}

.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.35s var(--ease), gap 0.35s var(--ease);
}
.link-arrow:hover { color: var(--accent-soft); gap: 14px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  background: rgba(11, 7, 6, 0.55);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(11, 7, 6, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.9);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) { .header__inner { padding: 20px 32px; } }
.brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.brand__tm { font-family: var(--mono); font-size: 10px; color: var(--muted); transform: translateY(-6px); }
.brand__dot { color: var(--accent); }

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

.header__cta { display: none; }
@media (min-width: 900px) {
  .header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg);
    transition: color 0.35s var(--ease);
  }
  .header__cta:hover { color: var(--accent-soft); }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--fg);
  transition: transform 0.4s var(--ease), opacity 0.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: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.8rem);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent-soft); padding-left: 12px; }
.mobile-menu__meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  animation: heroZoom 8s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 55% at 72% 42%, rgba(210, 58, 34, 0.34), rgba(210, 58, 34, 0) 68%),
    linear-gradient(180deg, rgba(11, 7, 6, 0.72) 0%, rgba(11, 7, 6, 0.35) 34%, rgba(11, 7, 6, 0.97) 92%);
}
.hero__topline {
  position: absolute;
  top: 92px;
  left: 0; right: 0;
  z-index: 1;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.hero__body { padding-bottom: 108px; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 18ch;
  margin: 20px 0 0;
}
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero__sub {
  margin-top: 28px;
  max-width: 46ch;
  color: var(--fg-soft);
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

/* hero meta bar */
.hero__meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  border-top: 1px solid var(--border-soft);
}
.hero__meta-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 768px) { .hero__meta-inner { padding: 16px 32px; } }
.hero__meta-dots {
  display: none;
  gap: 4px;
}
@media (min-width: 620px) { .hero__meta-dots { display: inline-flex; } }
.hero__meta-dots span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
}
.hero__meta-dots span:nth-child(3n) { opacity: 0.8; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.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__bg img { animation: none; }
}

/* ---------- section head ---------- */
.section-head { max-width: 760px; }
.section-head h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head .lede { margin-top: 24px; }

/* ---------- manifesto / big statement ---------- */
.statement {
  text-align: center;
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 300;
  max-width: 20ch;
  margin: 0 auto;
}
.statement p em { font-style: normal; color: var(--accent); }
.statement .eyebrow { margin-bottom: 40px; }

/* inverted credo band */
.section--invert { background: var(--fg); color: var(--bg); }
.section--invert .eyebrow { color: var(--accent-deep); }
.section--invert .eyebrow::before { background: var(--accent-deep); }
.credo {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.credo__quote {
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  height: 0.42em;
  overflow: visible;
}
.credo blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.credo blockquote em { font-style: normal; color: var(--accent-deep); }
.credo__cite {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d5f5a;
}

/* ---------- numbered services list ---------- */
.svc-list { border-top: 1px solid var(--border); margin-top: 56px; }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 24px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
@media (min-width: 860px) {
  .svc-row { grid-template-columns: 90px 1.1fr 1.4fr auto; align-items: center; gap: 32px; }
}
.svc-row:hover { padding-left: 14px; }
.svc-row__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-soft);
  letter-spacing: 0.05em;
}
.svc-row__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.svc-row__desc { color: var(--muted); font-size: 15px; line-height: 1.65; grid-column: 2 / -1; }
@media (min-width: 860px) { .svc-row__desc { grid-column: auto; } }
.svc-row__arrow {
  font-family: var(--mono);
  color: var(--muted);
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
  display: none;
}
@media (min-width: 860px) { .svc-row__arrow { display: block; } }
.svc-row:hover .svc-row__arrow { color: var(--accent-soft); transform: translateX(6px); }

/* ---------- work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 60px;
}
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.work-card {
  display: block;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.work-card:hover { transform: translateY(-6px); }
.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-soft);
  background: var(--bg-panel);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); opacity: 1; }
.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,7,6,0) 40%, rgba(11,7,6,0.55));
}
.work-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(11, 7, 6, 0.6);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.work-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px 0;
}
.work-card__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; }
.work-card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.work-card__desc { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 42ch; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  margin-top: 24px;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg);
  padding: 40px 28px;
}
.section--alt .stat { background: var(--bg-alt); }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.stat__num span { color: var(--accent); }
.stat__label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- approach / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  margin-top: 60px;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bg); padding: 44px 34px; }
.section--alt .step { background: var(--bg-alt); }
.step__num { font-family: var(--mono); font-size: 12px; color: var(--accent-soft); letter-spacing: 0.14em; }
.step h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; margin: 22px 0 14px; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 60px;
}
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 34px 30px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: 0 20px 50px -22px rgba(0,0,0,0.9); }
.feature-card__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 15px;
}
.feature-card h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; margin: 24px 0 12px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 60px;
}
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  border: 1px solid var(--border-soft);
  padding: 34px 30px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section--alt .quote-card { background: var(--bg-alt); }
.quote-card p { font-size: 16px; line-height: 1.68; color: var(--fg-soft); }
.quote-card__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.quote-card__name { font-size: 14px; font-weight: 500; }
.quote-card__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 56px auto 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 44px 28px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-soft); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 64ch; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.cta h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 18ch;
  margin: 0 auto;
}
.cta p { margin: 26px auto 40px; max-width: 48ch; color: rgba(255,255,255,0.85); font-weight: 300; }
.cta .btn--primary { background: var(--bg); color: var(--fg); }
.cta .btn--primary:hover { background: #000; transform: translateY(-2px); }
.cta .eyebrow { color: rgba(255,255,255,0.85); }
.cta .eyebrow::before { background: rgba(255,255,255,0.7); }

/* ---------- split / about intro ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 940px) { .split { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.split--reverse .split__media { order: -1; }
@media (min-width: 940px) { .split--reverse .split__media { order: 1; } }
.split__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border-soft);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 60% 30%, rgba(210,58,34,0.22), transparent 70%);
}
.split p { color: var(--fg-soft); font-weight: 300; }
.split p + p { margin-top: 20px; }

/* ---------- values list ---------- */
.values { margin-top: 60px; border-top: 1px solid var(--border); }
.value-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) { .value-row { grid-template-columns: 320px 1fr; } }
.value-row h3 { font-size: 1.4rem; font-weight: 400; letter-spacing: -0.01em; }
.value-row p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- team (text-only, monograms) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  margin-top: 60px;
}
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { background: var(--bg); padding: 34px 30px; }
.section--alt .team-card { background: var(--bg-alt); }
.team-card .avatar { width: 52px; height: 52px; font-size: 17px; }
.team-card h3 { font-size: 1.25rem; font-weight: 400; margin: 22px 0 4px; }
.team-card__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--accent-soft); text-transform: uppercase; }
.team-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-top: 14px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-info dl { margin: 40px 0 0; display: grid; gap: 26px; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 17px; color: var(--fg-soft); line-height: 1.6; }
.contact-info dd a:hover { color: var(--accent-soft); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 16px;
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6a5d58; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #200f0d; }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.6; }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.form__consent a { color: var(--fg-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding: clamp(140px, 20vw, 220px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 80% 10%, rgba(210,58,34,0.18), transparent 65%);
}
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 16ch;
  margin-top: 20px;
}
.page-hero h1 em { font-style: normal; color: var(--accent-soft); }
.page-hero .lede { margin-top: 30px; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; letter-spacing: -0.01em; margin: 56px 0 18px; }
.legal h3 { font-size: 1.2rem; font-weight: 500; margin: 34px 0 12px; font-family: var(--sans); }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.legal p { margin: 0 0 18px; }
.legal ul { padding-left: 20px; margin: 0 0 18px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

/* ---------- thank you ---------- */
.thanks { min-height: 82vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks__mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 32px;
}
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.02em; }
.thanks p { color: var(--fg-soft); margin: 24px auto 40px; font-weight: 300; }

/* ---------- footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding: clamp(64px, 8vw, 100px) 0 40px; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { font-size: 26px; }
.footer__tag { margin-top: 20px; color: var(--muted); max-width: 34ch; font-weight: 300; font-size: 15.5px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 400;
  margin: 0 0 20px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a, .footer__col li { color: var(--fg-soft); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent-soft); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 720px) { .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer__bottom a:hover { color: var(--fg-soft); }
.footer__legal-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- 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);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.95);
}
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); }
.cookie-popup__card h3 { font-size: 1.4rem; font-weight: 400; letter-spacing: -0.01em; margin: 14px 0 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child { color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg-soft); }
.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 ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  border-radius: 4px;
}
.skip-link:focus { left: 12px; }
