/* palette: bg=#0A090C fg=#ECE7E1 accent=#BE1E2D */
/* fonts: display="Playfair Display" body="Inter" mono="Space Mono" */

:root {
  --bg: #0A090C;          /* dominant near-black background */
  --bg-alt: #101015;      /* alternating section background */
  --bg-elev: #16151B;     /* card / elevated surface */
  --fg: #ECE7E1;          /* primary warm ivory text (candlelit) */
  --fg-soft: #C6C0B7;     /* slightly softer foreground */
  --muted: #8A847B;       /* secondary text */
  --accent: #BE1E2D;      /* blood-red accent */
  --accent-deep: #8E141F; /* darker accent for hover */
  --accent-glow: rgba(190, 30, 45, 0.32);
  --ember: #C6612A;       /* warm ember highlight from reference glow */
  --border: rgba(236, 231, 225, 0.12);
  --border-strong: rgba(236, 231, 225, 0.22);
  --serif: 'Playfair Display', ui-serif, Georgia, 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);
  --maxw: 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: 17px;
  line-height: 1.75;
  font-weight: 400;
  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; }
::selection { background: var(--accent); color: #fff; }

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

section { position: relative; }

.section {
  padding: clamp(80px, 12vw, 160px) 0;
}
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--muted); }

.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}
h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
}
h2 em, h1 em { font-style: italic; color: var(--accent); }

h3 { font-size: 1.4rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.2em; }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
  color: var(--fg-soft);
}
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Buttons                                                              */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 34px -12px var(--accent-glow); }
.btn--sm { padding: 11px 22px; font-size: 13px; }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: rgba(236,231,225,0.05); border-color: var(--fg); box-shadow: none; }

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

/* ------------------------------------------------------------------ */
/* Header                                                               */
/* ------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 12, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 12px 40px -18px rgba(0,0,0,0.8);
  background: rgba(10, 9, 12, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand__mark {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__mark::after { content: "."; color: var(--accent); }

.nav { display: none; gap: 38px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after { width: 100%; }

.header .btn--sm { display: none; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header .btn--sm { display: inline-flex; }
}

/* hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.35s 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); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 48px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu nav a:hover { color: var(--accent); }
.mobile-menu .btn { align-self: flex-start; margin-top: 12px; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 118px 0 70px;
  overflow: hidden;
}
.hero__watermark {
  position: absolute;
  bottom: -3.5vw;
  left: -1vw;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 26vw;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(236,231,225,0.028);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.hero__eyebrow b { color: var(--accent); font-weight: 400; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 30px;
}
.hero__desc {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 46ch;
  margin-bottom: 40px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 3px;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 118%, rgba(198,97,42,0.42), transparent 55%),
              linear-gradient(180deg, rgba(10,9,12,0.28), rgba(10,9,12,0.06) 40%);
  z-index: 1;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
.hero__spec {
  position: absolute;
  z-index: 2;
  left: 20px; bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.hero__spec span b { display: block; color: var(--fg); font-size: 1.5rem; font-weight: 400; font-family: var(--serif); letter-spacing: 0; margin-top: 4px; }

@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr 0.82fr; gap: 64px; }
  .hero__media { aspect-ratio: 3 / 4; }
}

/* scroll hint */
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
}
@media (min-width: 940px) { .hero__scroll { display: block; } }

/* ------------------------------------------------------------------ */
/* Positioning strip                                                    */
/* ------------------------------------------------------------------ */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.intro__statement {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.intro__body p { color: var(--fg-soft); }
.intro__body p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
}

/* ------------------------------------------------------------------ */
/* Capabilities grid                                                    */
/* ------------------------------------------------------------------ */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cap-card {
  background: var(--bg);
  padding: clamp(30px, 4vw, 46px);
  transition: background 0.4s var(--ease);
}
.cap-card:hover { background: var(--bg-elev); }
.cap-card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: block;
  margin-bottom: 30px;
}
.cap-card h3 { margin-bottom: 14px; }
.cap-card p { color: var(--muted); margin-bottom: 0; font-size: 15.5px; line-height: 1.7; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
.section--alt .cap-card { background: var(--bg-alt); }
.section--alt .cap-card:hover { background: var(--bg-elev); }

/* ------------------------------------------------------------------ */
/* Timeline / progression                                               */
/* ------------------------------------------------------------------ */
.timeline { position: relative; border-left: 1px solid var(--border); margin-left: 6px; }
.tl-step {
  position: relative;
  padding: 0 0 clamp(44px, 6vw, 72px) clamp(28px, 5vw, 56px);
}
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: "";
  position: absolute;
  left: -6.5px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.tl-step__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.tl-step h3 { margin-bottom: 12px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tl-step p { color: var(--fg-soft); max-width: 62ch; margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Applications (image cards)                                           */
/* ------------------------------------------------------------------ */
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 32px);
}
.app-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-elev);
}
.app-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.app-card__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,12,0.15), rgba(10,9,12,0.72));
}
.app-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.app-card:hover .app-card__img img { transform: scale(1.06); }
.app-card__body { padding: 26px clamp(22px, 3vw, 32px) 30px; }
.app-card__idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.app-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.app-card p { color: var(--muted); font-size: 15px; margin-bottom: 0; line-height: 1.65; }
@media (min-width: 700px) { .app-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ */
/* Stats band                                                           */
/* ------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat { background: var(--bg); padding: clamp(30px, 4vw, 52px) clamp(22px, 3vw, 40px); }
.section--alt .stat { background: var(--bg-alt); }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 14px;
}
.stat b i { font-style: normal; color: var(--accent); }
.stat span { color: var(--muted); font-size: 14.5px; line-height: 1.55; display: block; max-width: 24ch; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ */
/* Manifesto (dark inverted pull-quote)                                 */
/* ------------------------------------------------------------------ */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifesto .eyebrow { color: var(--accent); }
.manifesto .eyebrow::before { background: var(--accent); }
.manifesto__inner { max-width: 940px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin: 0;
}
.manifesto__quote em { font-style: italic; color: var(--accent); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: 12rem;
  line-height: 0.4;
  color: var(--accent);
  display: block;
  height: 0.5em;
  margin-bottom: 0.1em;
  opacity: 0.9;
}
.manifesto__by {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #57534d;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                  */
/* ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .sign {
  flex: none;
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
  line-height: 1;
}
.faq details[open] summary .sign { transform: rotate(45deg); }
.faq .faq__a {
  padding: 0 44px 30px 4px;
  color: var(--fg-soft);
  max-width: 74ch;
}
.faq .faq__a p { margin: 0; }

/* ------------------------------------------------------------------ */
/* CTA + form                                                           */
/* ------------------------------------------------------------------ */
.cta { background: var(--bg-alt); }
.cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: start;
}
.cta__lead p { color: var(--fg-soft); }
.cta__contact { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.cta__contact a, .cta__contact span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
  display: flex;
  gap: 12px;
}
.cta__contact a:hover { color: var(--accent); }
.cta__contact .k { color: var(--muted); min-width: 78px; }

.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #56514a; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #0c0b0f;
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--muted); margin: 0; }
.form__note a { color: var(--fg-soft); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 860px) {
  .cta__grid { grid-template-columns: 0.85fr 1fr; gap: 80px; }
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(60px, 8vw, 100px) 0 40px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.footer__brand { max-width: 320px; }
.footer__brand .brand__mark { font-size: 1.6rem; }
.footer__brand p { margin-top: 16px; color: var(--muted); font-size: 15px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer__col a, .footer__col address {
  display: block;
  font-style: normal;
  font-size: 14.5px;
  color: var(--fg-soft);
  margin-bottom: 12px;
  line-height: 1.6;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
}

/* ------------------------------------------------------------------ */
/* 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.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup__card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), 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); 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); }

/* ------------------------------------------------------------------ */
/* 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__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ */
/* Page hero (interior pages)                                           */
/* ------------------------------------------------------------------ */
.page-hero {
  padding: clamp(130px, 16vw, 200px) 0 clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero__inner { max-width: 880px; }
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 26px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--fg-soft); max-width: 56ch; margin: 0; }
.page-hero__wm {
  position: absolute;
  right: -2vw; bottom: -6vw;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22vw;
  color: rgba(236,231,225,0.025);
  pointer-events: none;
  line-height: 0.8;
}

/* ------------------------------------------------------------------ */
/* Values / text grid (about)                                          */
/* ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.split__media { aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--border); border-radius: 3px; position: relative; }
.split__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent, rgba(10,9,12,0.35)); }
.split__media img { width:100%; height:100%; object-fit: cover; }
.split p { color: var(--fg-soft); }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: 2; }
}

/* principles list */
.principles { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.principle { background: var(--bg); padding: clamp(28px,3.5vw,42px); display: flex; gap: 24px; }
.section--alt .principle { background: var(--bg-alt); }
.principle .n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; flex: none; padding-top: 6px; }
.principle h3 { margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }

/* team (monogram, no faces) */
.team { display: grid; grid-template-columns: 1fr; gap: clamp(22px,3vw,30px); }
.team-card { border: 1px solid var(--border); border-radius: 3px; padding: clamp(26px,3vw,34px); background: var(--bg-elev); transition: border-color 0.4s var(--ease); }
.team-card:hover { border-color: var(--border-strong); }
.avatar {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: #fff;
  border-radius: 3px; margin-bottom: 26px; letter-spacing: 0.01em;
}
.team-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 16px; }
.team-card p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.65; }
@media (min-width: 620px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(3,1fr); } }

/* services detail rows */
.svc { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: clamp(38px,5vw,64px) 0;
  border-bottom: 1px solid var(--border);
}
.svc-row__idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--accent); }
.svc-row h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 500; margin-bottom: 16px; }
.svc-row p { color: var(--fg-soft); margin-bottom: 20px; max-width: 60ch; }
.svc-row ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-row li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; }
.svc-row li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--accent); }
@media (min-width: 860px) { .svc-row { grid-template-columns: 0.34fr 0.66fr; gap: 48px; } }

/* legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 48px 0 16px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.75; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* thanks page */
.thanks { min-height: 74vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 400; margin-bottom: 22px; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 34px; }
