/* palette: bg=#0A0A12 fg=#F4F4F7 accent=#8B7BF7 */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #0A0A12;          /* dominant near-black background */
  --bg-alt: #101019;      /* alternating panel background */
  --bg-cell: #0D0D16;     /* grid cell fill */
  --fg: #F4F4F7;          /* primary text */
  --fg-soft: #D6D6E0;     /* slightly softer text */
  --muted: #878799;       /* secondary text */
  --muted-deep: #5B5B6E;  /* tertiary / captions */
  --accent: #8B7BF7;      /* violet accent */
  --accent-deep: #6D5CE6; /* darker violet for hover */
  --accent-2: #46E0E6;    /* cyan for gradient tail */
  --border: rgba(244, 244, 247, 0.12);
  --border-strong: rgba(244, 244, 247, 0.22);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
  --gradient: linear-gradient(118deg, var(--accent) 0%, #7B8BF7 42%, var(--accent-2) 100%);
}

*, *::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;
  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; }
::selection { background: var(--accent); color: #0A0A12; }

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

.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 20px 0 0;
}
.section__intro { color: var(--muted); font-size: 18px; line-height: 1.75; margin: 24px 0 0; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.btn--solid { background: var(--gradient); color: #090912; font-weight: 600; }
.btn--solid:hover { transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--fg); transform: translateY(-2px); }
.btn--invert { background: var(--bg); color: var(--fg); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

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

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.72);
  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"] {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
  background: rgba(10, 10, 18, 0.88);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .header__inner { padding: 0 32px; height: 80px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); flex: none; }
.brand__mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav { display: none; gap: 30px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--accent);
}
.nav__cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav__cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: flex-end;
}
.menu-toggle span { width: 24px; height: 1.5px; background: var(--fg); transition: transform 0.35s 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); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 8, 14, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 28px; text-align: center; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--fg-soft);
}
.mobile-menu nav a.btn { font-family: var(--mono); font-size: 12px; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--border); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 72px);
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; min-height: calc(100vh - 80px); }
}
.hero__labels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) { .hero__labels { grid-template-columns: repeat(3, 1fr); } }
.hero__label {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__label span { display: block; color: var(--fg-soft); margin-top: 4px; }
.hero__label:last-child { border-right: 0; }
@media (min-width: 640px) { .hero__label:nth-child(3) { border-right: 0; } }

.hero__left { display: flex; flex-direction: column; border-right: 0; }
@media (min-width: 900px) { .hero__left { border-right: 1px solid var(--border); } }
.hero__body {
  padding: clamp(28px, 5vw, 56px) 20px clamp(40px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 40px;
}
@media (min-width: 768px) { .hero__body { padding-left: 32px; padding-right: 32px; } }
.hero__wordmark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 13vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 24px 0 0;
}
.hero__wordmark em { font-style: normal; }
.hero__wordmark .gradient-text { font-style: normal; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.hero__desc { max-width: 42ch; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero__desc strong { color: var(--fg-soft); font-weight: 500; }
.hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__media { position: relative; overflow: hidden; min-height: 320px; border-top: 1px solid var(--border); }
@media (min-width: 900px) { .hero__media { border-top: 0; } }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05) brightness(0.85);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,18,0.1) 0%, rgba(10,10,18,0.55) 100%);
  pointer-events: none;
}
.hero__tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  background: rgba(10,10,18,0.5);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 9999px;
}

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg-alt); }
.ticker__track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 16px 0;
  animation: ticker 32s linear infinite;
}
.ticker span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.ticker span::after { content: "✦"; color: var(--accent); font-size: 10px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services (type specimens) ---------- */
.services { border-bottom: 1px solid var(--border); }
.services__list { border-top: 1px solid var(--border); }
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: clamp(32px, 5vw, 52px) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.5s var(--ease);
}
.service-row:hover { background: var(--bg-alt); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 64px 1fr 1.1fr auto; gap: 40px; align-items: baseline; }
}
.service-row__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.service-row__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.service-row__desc { color: var(--muted); font-size: 16px; line-height: 1.7; }
.service-row__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 6px 12px;
}

.services__specimen {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: clamp(48px, 7vw, 88px);
  align-items: center;
}
@media (min-width: 900px) { .services__specimen { grid-template-columns: 1fr 1fr 1fr; } }
.specimen-type {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.specimen-type small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.specimen-frame {
  border: 1px solid var(--border-strong);
  padding: 14px;
  position: relative;
}
.specimen-frame__img { aspect-ratio: 1 / 1; overflow: hidden; }
.specimen-frame__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) contrast(1.08) brightness(0.9); }
.specimen-align-right { text-align: left; }
@media (min-width: 900px) { .specimen-align-right { text-align: right; } }

/* ---------- Manifesto (inverted light band) ---------- */
.manifesto { background: var(--fg); color: #0A0A12; }
.manifesto .container { text-align: center; }
.manifesto__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 32px;
}
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0 auto;
}
.manifesto__quote em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.manifesto__mark { font-family: var(--serif); font-size: 120px; line-height: 0.6; color: rgba(10,10,18,0.12); display: block; margin-bottom: -20px; }
.manifesto__sign { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(10,10,18,0.5); margin-top: 44px; }

/* ---------- Work / case studies ---------- */
.work { border-bottom: 1px solid var(--border); }
.work__grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  background: var(--bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: background 0.5s var(--ease);
}
.work-card:hover { background: var(--bg-alt); }
.work-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.5) contrast(1.05) brightness(0.88);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); filter: grayscale(0.1) contrast(1.05) brightness(0.95); }
.work-card__body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.work-card__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.work-card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.08; letter-spacing: -0.02em; }
.work-card__desc { color: var(--muted); font-size: 15px; line-height: 1.7; }
.work-card__foot { margin-top: auto; padding-top: 14px; }

/* ---------- Process ---------- */
.process { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.process__grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 640px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process__grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { background: var(--bg-alt); padding: clamp(28px, 4vw, 40px); min-height: 260px; display: flex; flex-direction: column; }
.process-step__num { font-family: var(--serif); font-weight: 300; font-size: 3rem; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.process-step__title { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.02em; margin: 22px 0 12px; }
.process-step__desc { color: var(--muted); font-size: 15px; line-height: 1.68; }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(32px, 5vw, 56px) clamp(20px, 3vw, 36px); }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--border); }
.faq__grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .faq { } }
.faq-item { border-bottom: 1px solid var(--border); padding: clamp(24px, 3.5vw, 36px) 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .faq-item { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.faq-item__q { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.18; }
.faq-item__a { color: var(--muted); font-size: 16px; line-height: 1.72; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.cta__inner { text-align: center; max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.cta__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 6.5vw, 5.5rem); line-height: 1.0; letter-spacing: -0.03em; margin: 24px 0 0; }
.cta__title em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta__desc { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 28px auto 40px; max-width: 54ch; }
.cta__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 60% at 50% 120%, rgba(139,123,247,0.22) 0%, rgba(70,224,230,0.08) 40%, transparent 70%);
  pointer-events: none;
}

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-info__item { padding: 24px 0; border-top: 1px solid var(--border); }
.contact-info__item:last-child { border-bottom: 1px solid var(--border); }
.contact-info__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.contact-info__value { font-size: 17px; color: var(--fg-soft); line-height: 1.5; }

.form { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 10px; }
.form__field--full { grid-column: 1 / -1; }
.form__field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form__field input, .form__field textarea, .form__field select {
  background: var(--bg-cell);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 15px 16px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--muted-deep); }
.form__field input:focus, .form__field textarea:focus, .form__field select:focus { outline: none; border-color: var(--accent); background: var(--bg-alt); }
.form__field textarea { resize: vertical; min-height: 140px; }
.form__consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.6; }
.form__consent input { margin-top: 3px; accent-color: var(--accent); }
.form__submit { grid-column: 1 / -1; justify-self: start; }

/* ---------- Page hero (interior) ---------- */
.page-hero { border-bottom: 1px solid var(--border); padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); position: relative; }
.page-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 9vw, 7rem); line-height: 0.98; letter-spacing: -0.04em; margin: 22px 0 0; }
.page-hero__intro { color: var(--muted); font-size: 19px; line-height: 1.72; max-width: 60ch; margin: 28px 0 0; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.78; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.prose .lead { font-size: 19px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(56px, 8vw, 96px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__brand .brand { margin-bottom: 20px; }
.footer__tag { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 32ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 18px; }
.footer__col a, .footer__col p { display: block; color: var(--fg-soft); font-size: 15px; margin-bottom: 12px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: clamp(48px, 7vw, 80px); padding-top: 28px; border-top: 1px solid var(--border); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.footer__legal a:hover { color: var(--fg); }
.footer__copy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-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; }
  .ticker__track { animation: none; }
}

/* ---------- 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(0,0,0,0.4); 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-alt); border: 1px solid var(--border-strong); padding: 32px 36px; max-width: 480px; border-radius: 10px; box-shadow: 0 24px 80px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--border-strong); cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 9999px; transition: transform 0.3s var(--ease), background 0.3s var(--ease); color: var(--fg); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--gradient); color: #090912; border-color: transparent; font-weight: 600; }

/* ---------- Misc ---------- */
.divider-label { display: flex; align-items: center; gap: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.two-col { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li { padding: 22px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.value-list li:last-child { border-bottom: 1px solid var(--border); }
.value-list__k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.value-list__v strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.value-list__v span { color: var(--muted); font-size: 15px; line-height: 1.68; }
.media-band { overflow: hidden; border: 1px solid var(--border); aspect-ratio: 21 / 9; }
.media-band img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) contrast(1.05) brightness(0.85); }
