/* palette: bg=#14100C fg=#ECE4D6 accent=#C6A576 */
/* fonts: display="Fraunces" body="DM Sans" mono="Space Mono" */

/* ============================================================
   Xervanquo — Tecnologia Automotiva
   Dark editorial / manifesto clone of the reference site.
   ============================================================ */

:root {
  --bg: #14100C;          /* dominant dark warm background */
  --bg-alt: #1D1712;      /* alternating darker section */
  --bg-deep: #0C0906;     /* deepest tone */
  --bg-invert: #EDE6D8;   /* cream inverted band */
  --fg: #ECE4D6;          /* primary cream text */
  --fg-soft: #D6CCBB;     /* slightly softer cream */
  --muted: #9A8F7D;       /* secondary muted tan-grey */
  --muted-dim: #6E655704; /* not used directly */
  --accent: #C6A576;      /* tan / gold accent */
  --accent-deep: #A9885A; /* darker accent for hover */
  --accent-glow: rgba(198,165,118,0.16);
  --border: rgba(236,228,214,0.14);
  --border-strong: rgba(236,228,214,0.26);
  --card: rgba(29,23,18,0.72);

  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'DM Sans', 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: 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;
  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: var(--bg-deep); }

/* ---------- Layout helpers ---------- */
.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--tight { padding: clamp(56px, 8vw, 100px) 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow__diamond { font-size: 8px; transform: translateY(-1px); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--fg);
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 400; }

.h-display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  line-height: 1.04;
}
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.lede { color: var(--fg-soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.78; }
.muted { color: var(--muted); }

/* ---------- Links & buttons ---------- */
.link-arrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.4s var(--ease), color 0.3s var(--ease);
}
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--fg); }
.link-arrow:hover span { transform: translateX(6px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 16px 32px;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--fg); color: var(--bg-deep); }
.btn--primary:hover { background: var(--accent); color: var(--bg-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============================================================
   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(20,16,12,0.55);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(20,16,12,0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 40px -20px rgba(0,0,0,0.8);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) { .header__inner { padding: 20px 32px; } }

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 5px;
}

.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  transition: color 0.3s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav__cta {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 20px;
  color: var(--fg) !important;
}
.nav__cta:hover { border-color: var(--accent); }

.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 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: 90;
  background: var(--bg-deep);
  padding: 120px 28px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  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__nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.mobile-menu__nav a:hover { color: var(--accent); padding-left: 12px; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 56px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__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__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,9,6,0.86) 0%, rgba(12,9,6,0.55) 42%, rgba(12,9,6,0.12) 78%, rgba(12,9,6,0.35) 100%),
    linear-gradient(0deg, rgba(12,9,6,0.9) 0%, rgba(12,9,6,0.1) 40%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: end;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr); gap: 64px; }
}
.hero__title {
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 4px 0 30px;
  color: var(--accent);
  font-weight: 300;
}
.hero__title em { color: var(--fg); }
.hero__lede { max-width: 46ch; color: var(--fg-soft); font-size: 16px; line-height: 1.72; }
.hero__lede p { margin-bottom: 1.1em; }
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-soft);
}
.hero__scroll span { display: inline-block; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.hero__card {
  background: rgba(18,22,30,0.66);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 34px 32px;
}
.hero__card-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.14;
  margin: 6px 0 18px;
  color: var(--fg);
}
.hero__card-text { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }

/* ============================================================
   MANIFESTO BAND (large centered statement)
   ============================================================ */
.manifesto { background: var(--bg-alt); text-align: center; }
.manifesto__inner { max-width: 940px; margin: 0 auto; }
.manifesto__statement {
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: var(--fg);
}
.manifesto__statement em { color: var(--accent); }

/* Inverted (cream) variant for strong contrast */
.band-invert {
  background: var(--bg-invert);
  color: var(--bg-deep);
}
.band-invert .eyebrow { color: #8a6a3a; }
.band-invert h2, .band-invert h3 { color: #1a140d; }
.band-invert h2 em { color: var(--accent-deep); }
.band-invert p { color: #4a4234; }
.band-invert .link-arrow { color: var(--accent-deep); }
.band-invert .link-arrow:hover { color: #1a140d; }
.band-invert .value-card { background: transparent; border-color: rgba(26,20,13,0.14); }
.band-invert .value-card h3 { color: #1a140d; }
.band-invert .value-card p { color: #4a4234; }
.band-invert .value-card__num { color: #8a6a3a; }

/* ============================================================
   NUMBERED CAPABILITIES / SERVICES LIST
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -0.025em; }
.section-head p { margin-top: 24px; }

.caps { display: grid; gap: 0; border-top: 1px solid var(--border); }
.cap {
  display: grid;
  gap: 12px 40px;
  grid-template-columns: 1fr;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
@media (min-width: 860px) {
  .cap { grid-template-columns: 88px minmax(0, 0.9fr) minmax(0, 1.3fr); align-items: baseline; }
}
.cap:hover { background: rgba(198,165,118,0.05); }
.cap__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.cap__title { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 400; line-height: 1.18; }
.cap__desc { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ============================================================
   FULL-BLEED IMAGE BAND (with big number)
   ============================================================ */
.feature {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.feature__media { position: absolute; inset: 0; z-index: 0; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,9,6,0.72), rgba(12,9,6,0.55) 45%, rgba(12,9,6,0.9));
}
.feature__inner { position: relative; z-index: 2; max-width: 760px; }
.feature__num {
  font-family: var(--serif);
  font-size: clamp(6rem, 22vw, 18rem);
  font-weight: 300;
  color: rgba(236,228,214,0.06);
  line-height: 0.8;
  position: absolute;
  right: 0;
  bottom: -4vw;
  z-index: 1;
  pointer-events: none;
}
.feature h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.03em; margin-bottom: 26px; }
.feature p { color: var(--fg-soft); max-width: 54ch; }

/* ============================================================
   PULL-QUOTE
   ============================================================ */
.quote { background: var(--bg-deep); text-align: center; }
.quote__inner { max-width: 1000px; margin: 0 auto; position: relative; }
.quote__mark {
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 12rem);
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 8px;
  opacity: 0.5;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-style: italic;
  color: var(--fg);
}
.quote cite {
  display: block;
  margin-top: 32px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 820px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 40px 28px; }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.stat__label { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.stats-note { margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.cards { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  box-shadow: 0 4px 24px -12px rgba(0,0,0,0.6);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -18px rgba(0,0,0,0.75); border-color: var(--border-strong); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 26px 26px 30px; }
.card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.card__title { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin: 14px 0 12px; }
.card__desc { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial { background: var(--bg-alt); }
.testimonial__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.testimonial cite { display: block; margin-top: 28px; font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--fg);
}
.faq__q .plus { font-family: var(--mono); font-size: 1.4rem; color: var(--accent); transition: transform 0.4s var(--ease); flex: none; }
.faq__item[open] .plus { transform: rotate(45deg); }
.faq__a { padding: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 1.72; max-width: 68ch; }
.faq__item summary { list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }

/* ============================================================
   CTA
   ============================================================ */
.cta { text-align: center; background: var(--bg-deep); }
.cta__inner { max-width: 820px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); letter-spacing: -0.03em; }
.cta p { margin: 26px auto 40px; max-width: 52ch; color: var(--fg-soft); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-grid { display: grid; gap: 56px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 26px; }
.contact-block { margin-top: 30px; }
.contact-block .footer__label,
.contact-block__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); display: block; margin-bottom: 8px; }
.contact-block a, .contact-block address { color: var(--fg-soft); font-style: normal; line-height: 1.6; }
.contact-block a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6656; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-deep); padding: clamp(64px, 9vw, 110px) 0 40px; border-top: 1px solid var(--border); }
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer__top { padding: 0 32px; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; } }
.footer__mark { font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -0.01em; color: var(--fg); }
.footer__tagline { margin-top: 16px; color: var(--muted); max-width: 34ch; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 6px; }
.footer__col a { color: var(--fg-soft); font-size: 14.5px; transition: color 0.3s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__col address { color: var(--muted); font-style: normal; font-size: 14px; line-height: 1.7; }
.footer__bottom {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 24px 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
@media (min-width: 768px) { .footer__bottom { padding: 24px 32px 0; } }

/* ============================================================
   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.35s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.cookie-popup__label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 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: 22px; }
.cookie-popup__actions button {
  padding: 11px 26px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cookie-popup__actions button:hover { border-color: var(--accent); color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg-deep); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); color: var(--bg-deep); }

/* ============================================================
   SCROLL 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) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Sub-page hero (interior pages) ---------- */
.page-hero { padding: clamp(140px, 18vw, 220px) 0 clamp(60px, 8vw, 100px); position: relative; border-bottom: 1px solid var(--border); }
.page-hero__inner { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -0.03em; margin: 8px 0 28px; font-weight: 300; }
.page-hero h1 em { color: var(--accent); }
.page-hero p { color: var(--fg-soft); max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.15rem); }

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

/* Values / principles grid (about) */
.grid-2 { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.value-card { border: 1px solid var(--border); border-radius: 18px; padding: 32px; background: var(--bg-alt); }
.value-card__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.value-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 14px 0 12px; }
.value-card p { color: var(--muted); font-size: 15px; line-height: 1.68; }

/* Text-only team / principles (no faces) */
.people { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { border: 1px solid var(--border); border-radius: 18px; padding: 28px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; color: var(--bg-deep); font-weight: 500; }
.person__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: -8px; }
.person__bio { color: var(--muted); font-size: 14.5px; line-height: 1.66; }
