/* palette: bg=#F4F3F0 fg=#0D0D0F accent=#FF1E8C */
/* fonts: display="Playfair Display" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #F4F3F0;        /* dominant near-white background from reference */
  --bg-alt: #EAE8E3;    /* alternating section background */
  --fg: #0D0D0F;        /* near-black primary text */
  --fg-soft: #26262A;   /* slightly lighter fg */
  --muted: #6C6C70;     /* secondary text */
  --accent: #FF1E8C;    /* glitch magenta */
  --accent-deep: #C4126B; /* darker magenta for hover */
  --cyan: #06CFE0;      /* glitch cyan */
  --lime: #C4F82A;      /* glitch lime */
  --dark: #0B0B0D;      /* inverted band bg */
  --border: rgba(13, 13, 15, 0.14);
  --border-soft: rgba(13, 13, 15, 0.08);
  --serif: 'Playfair Display', ui-serif, Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 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;
  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 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* subtle CRT scanline overlay across the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    to bottom,
    rgba(13, 13, 15, 0.022) 0px,
    rgba(13, 13, 15, 0.022) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.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; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
  box-shadow: 2px 0 0 var(--cyan), -2px 0 0 var(--lime);
}
.eyebrow--plain::before { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .4s var(--ease), background .4s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--accent), 10px 10px 0 var(--cyan); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost { border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }

.textlink {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: gap .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.textlink:hover { gap: 14px; border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .4s var(--ease), background .4s var(--ease), border-color .4s;
  background: rgba(244, 243, 240, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(244, 243, 240, 0.9);
  box-shadow: 0 1px 0 var(--border-soft);
  border-bottom-color: var(--border-soft);
}
.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: 18px 32px; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  background: var(--fg);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: 1.5px 0 0 var(--accent), -1.5px 0 0 var(--cyan);
  z-index: -1;
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 30px; }
  .nav a {
    font-size: 14px;
    color: var(--fg-soft);
    position: relative;
    padding: 4px 0;
    transition: color .3s;
  }
  .nav a::after {
    content: "";
    position: absolute; left: 0; bottom: -1px;
    width: 0; height: 1px; background: var(--accent);
    transition: width .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: 1024px) { .header__cta { display: inline-flex; } }

/* hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s;
}
.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 {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 90px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 40px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%) scale(1.08);
  width: 72vw;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(1.15) contrast(1.05);
  opacity: 0.9;
  animation: heroZoom 9s var(--ease) forwards;
  mix-blend-mode: multiply;
}
@keyframes heroZoom {
  from { transform: translateY(-50%) scale(1.14); }
  to { transform: translateY(-50%) scale(1); }
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, #000 30%, transparent 78%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.glitch {
  position: relative;
  text-shadow: 2px 0 var(--cyan), -2px 0 var(--accent);
  animation: rgbShift 4.2s steps(1) infinite;
}
@keyframes rgbShift {
  0%, 92%, 100% { text-shadow: 2px 0 var(--cyan), -2px 0 var(--accent); }
  93% { text-shadow: -3px 0 var(--cyan), 3px 0 var(--accent); transform: translateX(2px); }
  95% { text-shadow: 3px 0 var(--lime), -3px 0 var(--accent); transform: translateX(-2px); }
  97% { text-shadow: 2px 0 var(--cyan), -2px 0 var(--accent); transform: translateX(0); }
}
.hero__sub {
  margin-top: 34px;
  max-width: 46ch;
  font-size: 18px;
  color: var(--fg-soft);
  line-height: 1.7;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero__meta {
  position: absolute;
  left: 0; bottom: 34px;
  z-index: 2;
  display: none;
  gap: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 768px) { .hero__meta { display: flex; } }
.hero__meta strong { color: var(--fg); font-weight: 600; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--dark);
  color: var(--bg);
}
.marquee__track {
  display: flex;
  gap: 48px;
  padding: 18px 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "◈"; color: var(--lime); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- intro / manifesto ---------- */
.manifesto {
  text-align: center;
}
.manifesto__statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 24px auto 0;
}
.manifesto__statement em { font-style: italic; color: var(--accent); }
.manifesto__foot {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- section head ---------- */
.sec-head {
  display: grid;
  gap: 20px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; }
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.sec-head h2 em { font-style: italic; color: var(--accent); }
.sec-head__aside { color: var(--muted); font-size: 17px; max-width: 42ch; }

/* ---------- services (numbered list, like reference) ---------- */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.svc-item {
  display: grid;
  gap: 20px;
  padding: clamp(36px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background .4s var(--ease), padding-left .4s var(--ease);
}
@media (min-width: 900px) {
  .svc-item { grid-template-columns: 120px 1fr 1fr; align-items: start; }
}
.svc-item:hover { background: var(--bg-alt); }
@media (min-width: 900px) { .svc-item:hover { padding-left: 20px; } }
.svc-item__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.svc-item__num::before { content: "✳"; font-size: 0.5em; color: var(--accent); font-style: normal; }
.svc-item__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.svc-item__body p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 40ch; }
.svc-item__tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--fg-soft);
  transition: border-color .3s, color .3s, background .3s;
}
.svc-item:hover .tag { border-color: var(--fg); }

/* ---------- approach / steps ---------- */
.steps { display: grid; gap: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  border: 1px solid var(--border);
  padding: 34px 30px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 12px 40px -8px rgba(0,0,0,0.14); border-color: var(--fg); }
.step__k {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
}
.step h3 { font-family: var(--serif); font-size: 1.6rem; margin-top: 18px; letter-spacing: -0.01em; }
.step p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.step::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--lime));
  transition: width .5s var(--ease);
}
.step:hover::after { width: 100%; }

/* ---------- stats dark band ---------- */
.band-dark {
  background: var(--dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px);
  pointer-events: none;
}
.band-dark .eyebrow { color: rgba(244,243,240,0.6); }
.stats { display: grid; gap: 40px; position: relative; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__n {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat:nth-child(1) .stat__n { color: var(--lime); }
.stat:nth-child(2) .stat__n { color: var(--cyan); }
.stat:nth-child(3) .stat__n { color: var(--accent); }
.stat:nth-child(4) .stat__n { color: var(--bg); }
.stat__l { margin-top: 14px; font-size: 15px; color: rgba(244,243,240,0.65); max-width: 24ch; }

/* ---------- work / case grid ---------- */
.work-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px -12px rgba(0,0,0,0.2); }
.work-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--dark); }
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform .8s var(--ease), filter .5s;
}
.work-card:hover .work-card__media img { transform: scale(1.06); filter: grayscale(0) contrast(1.1); }
.work-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0,0,0,0.08) 3px, rgba(0,0,0,0.08) 4px);
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.work-card__body { padding: 26px 26px 30px; }
.work-card__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.work-card__body h3 { font-family: var(--serif); font-size: 1.7rem; margin-top: 12px; letter-spacing: -0.01em; }
.work-card__body p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 24px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  border: 1px solid var(--border);
  padding: 32px 30px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .4s var(--ease), border-color .3s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--fg); }
.quote__mark { font-family: var(--serif); font-size: 3.4rem; line-height: 0.5; color: var(--accent); height: 24px; }
.quote p { font-size: 17px; line-height: 1.66; color: var(--fg-soft); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.avatar--1 { background: var(--accent); }
.avatar--2 { background: var(--dark); color: var(--lime); }
.avatar--3 { background: var(--cyan); color: var(--dark); }
.quote__who strong { display: block; font-size: 15px; }
.quote__who span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); max-width: 940px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: -0.01em;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 30px; color: var(--muted); font-size: 17px; max-width: 68ch; }

/* ---------- CTA ---------- */
.cta {
  background: var(--dark);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px);
}
.cta__inner { position: relative; }
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 20px auto 0;
}
.cta h2 em { font-style: italic; color: var(--lime); }
.cta p { margin: 26px auto 0; max-width: 48ch; color: rgba(244,243,240,0.7); font-size: 18px; }
.cta .hero__actions { justify-content: center; }
.cta .btn--ghost { border-color: rgba(244,243,240,0.3); color: var(--bg); }
.cta .btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 2px;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 3px 0 0 rgba(6,207,224,0.5), -3px 0 0 rgba(255,30,140,0.5);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* two-column layout (contact/about) */
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }

.info-list { display: grid; gap: 26px; margin-top: 8px; }
.info-list__item { border-top: 1px solid var(--border); padding-top: 18px; }
.info-list__item .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.info-list__item .v { font-size: 18px; margin-top: 6px; }

/* prose (legal) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.02em; line-height: 1.05; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-top: 48px; letter-spacing: -0.01em; }
.prose p { margin-top: 18px; color: var(--fg-soft); font-size: 17px; }
.prose ul { margin-top: 18px; padding-left: 20px; color: var(--fg-soft); font-size: 17px; }
.prose li { margin-top: 8px; }
.prose__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }

/* thanks */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; }
.thanks__inner { max-width: 640px; }
.thanks h1 { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 5.5rem); letter-spacing: -0.03em; line-height: 1; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { margin-top: 26px; color: var(--muted); font-size: 18px; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--bg); padding: clamp(64px, 9vw, 110px) 0 40px; position: relative; overflow: hidden; }
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px);
}
.footer__inner { position: relative; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand .brand { color: var(--bg); }
.footer__tagline { margin-top: 22px; color: rgba(244,243,240,0.6); max-width: 34ch; font-size: 16px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,243,240,0.5); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: rgba(244,243,240,0.82); font-size: 15px; padding: 6px 0; transition: color .3s; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(244,243,240,0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244,243,240,0.5);
}
.footer__bottom a:hover { color: var(--lime); }

/* ---------- cookie popup ---------- */
.cookie-popup { position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;padding:24px;background:rgba(0,0,0,0.4);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .3s; }
.cookie-popup[data-open="true"] { opacity:1;pointer-events:all; }
.cookie-popup__card { background:var(--bg);padding:32px 36px;max-width:480px;border-radius:4px;border:1px solid var(--border); box-shadow: 6px 6px 0 var(--accent); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.01em; }
.cookie-popup__card p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:20px; }
.cookie-popup__actions button { padding:10px 24px;border:1px solid var(--border);cursor:pointer;font-size:14px; border-radius: 9999px; transition: background .3s, color .3s, transform .3s; }
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:last-child { background:var(--fg);color:var(--bg); border-color: var(--fg); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* pill hero card (reference floating card echo) */
.float-card {
  position: absolute;
  right: 24px; bottom: 34px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.2);
}
@media (min-width: 1024px) { .float-card { display: flex; } }
.float-card__dot { width: 34px; height: 34px; background: var(--dark); display: grid; place-items: center; color: var(--lime); font-family: var(--mono); font-weight: 700; font-size: 13px; }
.float-card__t { font-size: 13px; line-height: 1.3; }
.float-card__t strong { display: block; }
.float-card__t span { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }

.page-hero { padding: clamp(120px, 18vw, 200px) 0 clamp(50px, 8vw, 90px); position: relative; }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { margin-top: 28px; max-width: 52ch; font-size: 19px; color: var(--fg-soft); }
