/* palette: bg=#FFFFFF fg=#1F2311 accent=#CDEC21 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F3F5EC;
  --dark: #1F2311;
  --dark-2: #171A0C;
  --fg: #1F2311;
  --fg-soft: #33361F;
  --muted: #6E7159;
  --muted-2: #9A9C86;
  --accent: #CDEC21;
  --accent-deep: #B4D40A;
  --accent-ink: #26290F;
  --on-dark: #F6F7EE;
  --on-dark-muted: #A7AA92;
  --border: rgba(31, 35, 17, 0.14);
  --border-soft: rgba(31, 35, 17, 0.08);
  --border-dark: rgba(246, 247, 238, 0.14);

  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px -4px rgba(31, 35, 17, 0.10);
  --shadow-hover: 0 18px 48px -12px rgba(31, 35, 17, 0.20);
  --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;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.06; }
p { margin: 0; }
ul { margin: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }

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

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  font-weight: 500;
}
.section-head p {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 620px;
}
.section--dark .section-head p { color: var(--on-dark-muted); }

.accent-word { color: var(--accent-deep); font-style: normal; }
.section--dark .accent-word { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 12px 30px -10px rgba(180, 212, 10, 0.7); }
.btn--dark { background: var(--dark); color: var(--on-dark); }
.btn--dark:hover { background: var(--dark-2); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.section--dark .btn--ghost { border-color: var(--border-dark); color: var(--on-dark); }
.section--dark .btn--ghost:hover { border-color: var(--on-dark); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link .arw { transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); }
.arrow-link:hover .arw { transform: translateX(5px); }
.section--dark .arrow-link { color: var(--on-dark); }
.section--dark .arrow-link:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-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"] {
  box-shadow: 0 1px 0 rgba(31, 35, 17, 0.06), 0 10px 30px -20px rgba(31, 35, 17, 0.4);
  border-color: var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--fg-soft);
    transition: color 0.3s var(--ease);
    position: relative;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--accent-deep);
    transition: width 0.3s var(--ease);
  }
  .nav a:hover { color: var(--fg); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
  .nav a[aria-current="page"] { color: var(--fg); }
}
.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;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 11px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 32px 20px 40px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.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;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn { margin-top: 28px; justify-content: center; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  background: var(--dark);
  overflow: hidden;
  padding-bottom: clamp(48px, 8vw, 90px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 15% 100%, rgba(31,35,17,0.30), transparent 60%),
    linear-gradient(180deg, rgba(23,26,12,0.55) 0%, rgba(23,26,12,0.35) 40%, rgba(23,26,12,0.85) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 15ch;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__sub {
  margin-top: clamp(24px, 4vw, 34px);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 54ch;
}
.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__scroll {
  position: absolute;
  right: 20px;
  bottom: clamp(48px, 8vw, 90px);
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  writing-mode: vertical-rl;
  display: none;
}
@media (min-width: 768px) { .hero__scroll { display: inline-flex; align-items: center; gap: 14px; } }
.hero__scroll::after { content: ""; width: 2px; height: 46px; background: linear-gradient(var(--accent), transparent); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 32px 26px; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__num span { color: var(--accent-deep); }
.stat__label { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  height: 100%;
}
.section--alt .card { background: var(--bg); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--accent-ink);
}
.card__icon svg { width: 26px; height: 26px; }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.42rem; font-weight: 600; letter-spacing: -0.02em; }
.card p { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.card__more { margin-top: 22px; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto;
}
.manifesto__quote em { color: var(--accent); font-style: normal; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  height: 0.5em;
}
.manifesto__by {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ---------- Work / case studies ---------- */
.work-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.work-card:first-child { grid-column: 1 / -1; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.work-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.work-card:first-child .work-card__media { aspect-ratio: 21 / 9; }
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); opacity: 0.7; }
.work-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,26,12,0.1), rgba(23,26,12,0.86));
}
.work-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 30px 32px;
  z-index: 1;
}
.work-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
}
.work-card h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; }
.work-card p { margin-top: 12px; color: var(--on-dark-muted); font-size: 15px; max-width: 50ch; }

/* ---------- Process ---------- */
.process { display: grid; gap: 0; }
.process__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.process__row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 800px) {
  .process__row { grid-template-columns: 120px 1fr 1.4fr; gap: 40px; padding: 42px 0; }
}
.process__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
  letter-spacing: -0.03em;
}
.process__row h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.process__row p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- Split (about intro / feature) ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: -1; } }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-alt); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.03em; }
.split p { margin-top: 20px; color: var(--muted); font-size: 1.05rem; }
.split p + p { margin-top: 16px; }

/* ---------- Value list ---------- */
.vlist { list-style: none; padding: 0; margin: 28px 0 0; }
.vlist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
  align-items: start;
}
.vlist li::before {
  content: "";
  width: 12px; height: 12px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 3px;
}
.vlist strong { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; display: block; letter-spacing: -0.01em; }
.vlist span { color: var(--muted); font-size: 15px; display: block; margin-top: 3px; }

/* ---------- Team / principles (text cards, no faces) ---------- */
.team-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.person {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--bg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.avatar {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--accent-ink);
}
.person h3 { font-size: 1.2rem; font-weight: 600; }
.person__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.person p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 28px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: -0.02em;
}
.faq__icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent-deep);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { width: 16px; height: 2px; }
.faq__icon::after { width: 2px; height: 16px; }
.faq__item[data-open="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a-inner { padding: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.72; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; letter-spacing: -0.03em; }
.cta-band h2 em { color: var(--accent); font-style: normal; }
.cta-band p { margin-top: 20px; color: var(--on-dark-muted); font-size: 1.08rem; max-width: 46ch; }
.cta-band__contact { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.cta-band__contact a { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--on-dark); }
.cta-band__contact .mono { font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: 0.1em; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form--on-dark .field label { color: var(--on-dark-muted); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.form--on-dark .field input, .form--on-dark .field textarea, .form--on-dark .field select {
  background: rgba(246, 247, 238, 0.05);
  border-color: var(--border-dark);
  color: var(--on-dark);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form--on-dark .field input::placeholder, .form--on-dark .field textarea::placeholder { color: var(--on-dark-muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(180, 212, 10, 0.22);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__submit { margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.form--on-dark .form__note { color: var(--on-dark-muted); }
.form-wrap {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}

/* ---------- Contact info blocks ---------- */
.info-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-card { border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px; }
.info-card__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.info-card p, .info-card a { font-size: 17px; line-height: 1.7; color: var(--fg); }
.info-card a:hover { color: var(--accent-deep); }

/* ---------- Legal / article ---------- */
.doc { max-width: 800px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; letter-spacing: -0.03em; }
.doc .lead { margin-top: 22px; font-size: 1.1rem; color: var(--muted); }
.doc h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin-top: 52px; letter-spacing: -0.02em; }
.doc h3 { font-size: 1.15rem; font-weight: 600; margin-top: 30px; }
.doc p { margin-top: 16px; color: var(--fg-soft); }
.doc ul { margin-top: 16px; padding-left: 22px; color: var(--fg-soft); }
.doc li { margin-top: 8px; }
.doc a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.doc__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 18px; }

/* ---------- Thanks ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; }
.thanks__inner { max-width: 620px; }
.thanks__badge {
  width: 82px; height: 82px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; margin: 0 auto 34px;
}
.thanks__badge svg { width: 40px; height: 40px; }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; letter-spacing: -0.03em; }
.thanks p { margin-top: 20px; color: var(--muted); font-size: 1.1rem; }
.thanks .btn { margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark); padding: clamp(60px, 8vw, 100px) 0 40px; }
.footer__top { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } }
.footer__brand .brand { color: var(--on-dark); margin-bottom: 20px; }
.footer__brand p { color: var(--on-dark-muted); font-size: 15px; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 20px; }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--on-dark); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__col p { color: var(--on-dark-muted); font-size: 14px; line-height: 1.7; }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p, .footer__bottom a { color: var(--on-dark-muted); font-size: 13px; }
.footer__bottom a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  background: rgba(23, 26, 12, 0.42);
  backdrop-filter: blur(4px);
  -webkit-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);
  padding: 32px 34px;
  max-width: 460px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-soft);
}
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; }
.cookie-popup__card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--fg-soft);
}
.section--dark .tag { border-color: var(--border-dark); color: var(--on-dark); }
.lead-block { max-width: 780px; }
.lead-block p { font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.55; color: var(--fg-soft); letter-spacing: -0.01em; }
