/* palette: bg=#FFFFFF fg=#0D0E1F accent=#EA4C89 */
/* fonts: display="Space Grotesk" body="Space Grotesk" mono="JetBrains Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F4F6;
  --bg-deep: #0D0E1F;
  --fg: #0D0E1F;
  --fg-soft: #2A2C42;
  --muted: #6E7184;
  --accent: #EA4C89;
  --accent-deep: #C73B73;
  --accent-soft: #FCE4EE;
  --neon: #C9F558;
  --paper: #FFF8FB;
  --border: rgba(13, 14, 31, 0.10);
  --border-strong: rgba(13, 14, 31, 0.22);
  --serif: 'Space Grotesk', ui-sans-serif, sans-serif;
  --sans: 'Space Grotesk', ui-sans-serif, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-pill: 9999px;
}

*, *::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.72;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Container ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 4px 24px -16px rgba(13, 14, 31, 0.18);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand__name { font-style: italic; }
.brand__name em { font-style: normal; color: var(--accent); }

/* Search field — mirrors reference */
.search {
  flex: 1;
  max-width: 520px;
  margin: 0 8px 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 22px;
  position: relative;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  padding: 8px 4px;
  outline: none;
  color: var(--fg);
}
.search input::placeholder { color: var(--muted); }
.search__divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
}
.search__filter {
  font-size: 13px;
  color: var(--fg-soft);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.search__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.search__btn:hover { background: var(--accent-deep); transform: scale(1.05); }
@media (max-width: 980px) { .search { display: none; } }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.nav .arrow { font-size: 10px; opacity: 0.6; }
@media (max-width: 980px) { .nav { display: none; } }

.header__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  border: 1px solid transparent;
}
.btn--dark { background: var(--bg-deep); color: #fff; }
.btn--dark:hover { background: var(--accent); transform: translateY(-1px); }
.btn--ghost { color: var(--fg); border-color: transparent; }
.btn--ghost:hover { color: var(--accent); }
.btn--pink { background: var(--accent); color: #fff; }
.btn--pink:hover { background: var(--accent-deep); }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--fg); }
.btn--neon { background: var(--neon); color: var(--bg-deep); }
.btn--neon:hover { background: #d8ff7d; transform: translateY(-1px); }
.btn--lg { padding: 14px 28px; font-size: 15px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}
.menu-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .header__cta .btn--ghost { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 64px 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 32px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu__foot {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 24px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6.6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--fg);
  margin: 0 0 28px;
  max-width: 16ch;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 0.18em;
  background: var(--accent);
  opacity: 0.2;
  z-index: -1;
}

.hero__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 8px;
  flex-wrap: wrap;
}
.author__mono {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.author__meta { display: flex; flex-direction: column; gap: 2px; }
.author__name { font-size: 16px; font-weight: 600; }
.author__name span { color: var(--muted); font-weight: 400; }
.author__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1B7A3E;
}
.author__status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1B7A3E;
}
.author__follow {
  font-size: 13px;
  color: var(--muted);
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.author__actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--fg);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.author__contacts {
  display: flex;
  gap: 20px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}
.author__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-soft);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.author__contacts a:hover { color: var(--accent); }
.author__contacts .icon {
  width: 14px; height: 14px;
  opacity: 0.7;
}

/* ---------- Shot card (the featured visual mirror of reference) ---------- */
.shot {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
  box-shadow: 0 24px 64px -16px rgba(13, 14, 31, 0.28);
}
.shot__topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #B7B9CF;
  font-size: 13px;
}
.shot__brand {
  color: #fff;
  font-weight: 600;
  font-family: var(--mono);
  font-size: 13px;
}
.shot__nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
}
.shot__nav a { color: #B7B9CF; transition: color 0.2s var(--ease); }
.shot__nav a:hover { color: #fff; }
.shot__signin {
  margin-left: auto;
  background: #fff;
  color: var(--bg-deep);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 760px) { .shot__nav { display: none; } }

.shot__body {
  position: relative;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 460px;
  overflow: hidden;
}
.shot__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}
.shot__bg svg { width: 100%; height: 100%; }

.shot__headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: transparent;
  background: linear-gradient(135deg, #C9F558 0%, #69E8E8 45%, #B58EFC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  z-index: 1;
  margin: 0;
}
.shot__headline span { display: block; }
.shot__panel {
  position: relative;
  z-index: 1;
  color: #E8E9F5;
}
.shot__panel p {
  font-size: 15px;
  line-height: 1.62;
  color: #B7B9CF;
  margin: 0 0 22px;
  max-width: 30ch;
}
.shot__cta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}
.shot__cta .btn--ghost-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.shot__cta .btn--ghost-dark:hover { border-color: #fff; }
.shot__caption {
  display: block;
  padding: 14px 22px;
  text-align: center;
  color: #B7B9CF;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 800px) {
  .shot__body { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; min-height: auto; }
}

/* ---------- Body section (editorial mirror of reference) ---------- */
.editorial {
  padding: 80px 0 24px;
  max-width: 760px;
  margin: 0 auto;
}
.editorial p {
  font-size: 19px;
  line-height: 1.72;
  color: var(--fg);
  margin: 0 0 28px;
}
.editorial p:first-child { font-weight: 500; }
.editorial h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  margin: 40px 0 18px;
  letter-spacing: -0.01em;
}
.editorial__links {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.editorial__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  color: var(--fg);
  width: fit-content;
}
.editorial__link .emoji {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  font-size: 18px;
}
.editorial__link span:last-child {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}
.editorial__link:hover span:last-child { color: var(--accent); }

/* ---------- Section base ---------- */
section { position: relative; }
.section {
  padding: clamp(80px, 12vw, 140px) 0;
}
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-deep); color: #E8E9F5; }
.section--dark .eyebrow { color: var(--neon); }
.section--dark h2 { color: #fff; }
.section--dark p { color: #B7B9CF; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
}

.section__h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  max-width: 22ch;
}
.section__title em { font-style: normal; color: var(--accent); }
.section__sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 36ch;
  margin: 0;
}

/* ---------- Library grid (the content library skeleton heart) ---------- */
.library {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .library { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .library { grid-template-columns: 1fr; } }

.card {
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px -16px rgba(13, 14, 31, 0.16);
  border-color: var(--accent);
}
.card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(13, 14, 31, 0.78);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card__body { padding: 22px 22px 26px; }
.card__meta {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 12px;
  color: var(--fg);
}
.card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.card__more:hover { color: var(--accent); }

/* ---------- Topics ---------- */
.topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, 1fr); } }
.topic {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 180px;
  justify-content: space-between;
}
.topic:hover { border-color: var(--accent); transform: translateY(-3px); }
.topic__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.topic__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--fg);
}
.topic__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Manifesto ---------- */
.manifesto {
  text-align: center;
  padding: clamp(80px, 14vw, 180px) 0;
  background: var(--bg-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 30%, rgba(234, 76, 137, 0.22), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 245, 88, 0.10), transparent 50%);
  pointer-events: none;
}
.manifesto__quote {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 22ch;
  margin: 0 auto 36px;
  font-weight: 400;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__attr {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
@media (max-width: 760px) {
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1;
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}
.cta__inner {
  max-width: 880px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 760px) { .cta__inner { grid-template-columns: 1fr; } }
.cta__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.cta__title em { font-style: normal; color: var(--accent); }
.cta__text {
  color: var(--fg-soft);
  margin: 0 0 24px;
  font-size: 17px;
  max-width: 44ch;
}

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 16px;
  background: var(--bg);
  padding: 32px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(13, 14, 31, 0.16);
}
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  font: inherit;
  font-size: 15px;
  background: var(--bg);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.field--check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.field--check input { width: 18px; height: 18px; margin-top: 2px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep);
  color: #B7B9CF;
  padding: 80px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: #B7B9CF;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
}
.footer__brand em { font-style: normal; color: var(--accent); }
.footer__text {
  font-size: 14px;
  line-height: 1.6;
  color: #B7B9CF;
  max-width: 32ch;
  margin: 0 0 16px;
}
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #6E7184;
}

/* ---------- 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(13, 14, 31, 0.32);
  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: 28px 32px;
  max-width: 440px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.18);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.cookie-popup__card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0;
}
.cookie-popup__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.cookie-popup__actions button {
  padding: 10px 22px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.cookie-popup__actions button:hover { background: var(--accent-soft); }
.cookie-popup__actions button:last-child {
  background: var(--accent);
  color: #fff;
}
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- Legal / static pages ---------- */
.legal {
  padding: 80px 0;
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 500;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  font-weight: 600;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--fg-soft);
}
.legal ul { padding-left: 22px; }
.legal__date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------- Pinned label (zine-y) ---------- */
.pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  transform: rotate(-1.5deg);
}

/* ---------- About page specific ---------- */
.about-hero {
  padding: 72px 0 24px;
}
.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 24px;
  max-width: 18ch;
}
.about-hero h1 em { font-style: normal; color: var(--accent); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 48px 0 80px;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-grid p { font-size: 17px; line-height: 1.78; margin: 0 0 18px; }

/* People as monogram avatars (NO faces) */
.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, 1fr); } }
.person {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.person:hover { border-color: var(--accent); transform: translateY(-3px); }
.person__mono {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.person:nth-child(1) .person__mono { background: var(--accent); }
.person:nth-child(2) .person__mono { background: var(--bg-deep); }
.person:nth-child(3) .person__mono { background: var(--accent-deep); }
.person:nth-child(4) .person__mono { background: #3D2DA3; }
.person__name { font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.person__bio { font-size: 14px; line-height: 1.6; color: var(--fg-soft); }

/* ---------- Services list ---------- */
.services-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.svc {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr auto;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
@media (max-width: 760px) {
  .svc { grid-template-columns: 60px 1fr; }
  .svc__desc, .svc__cta { grid-column: 1 / -1; margin-left: 88px; }
}
.svc__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.svc__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
.svc__name strong { display: block; font-weight: 500; }
.svc__name small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 400;
}
.svc__desc { font-size: 15px; line-height: 1.62; color: var(--fg-soft); padding-top: 6px; }
.svc__cta {
  padding-top: 4px;
  font-size: 13px;
  color: var(--fg);
  border-bottom: 1.5px solid var(--accent);
  width: fit-content;
  align-self: start;
}
.svc__cta:hover { color: var(--accent); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: 48px 0 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 6px;
}
.contact-info dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg);
}
.contact-info dd a { border-bottom: 1.5px solid var(--accent); }
.contact-info dd a:hover { color: var(--accent); }

/* ---------- Notice bar bottom (mirrors reference promo bar) ---------- */
.bottombar {
  background: var(--bg-deep);
  color: #fff;
  padding: 12px 24px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.bottombar strong { font-weight: 600; }
.bottombar .pin-icon {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 4px;
}
.bottombar .btn { padding: 8px 18px; font-size: 13px; background: #fff; color: var(--bg-deep); }
.bottombar .btn:hover { background: var(--neon); }
