/* palette: bg=#060606 fg=#F2EEE3 accent=#D6B24C */
/* fonts: display="Fraunces" body="DM Sans" mono="Space Mono" */

:root {
  --bg: #060606;
  --bg-alt: #0E0E0D;
  --bg-elev: #131311;
  --fg: #F2EEE3;
  --fg-soft: #D8D3C6;
  --muted: #8B867A;
  --accent: #D6B24C;
  --accent-deep: #B8942F;
  --magenta: #E23A87;
  --teal: #2FBFA0;
  --border: rgba(242, 238, 227, 0.12);
  --border-soft: rgba(242, 238, 227, 0.07);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

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

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

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

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; }
h2.section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-weight: 300;
}
p { margin: 0 0 1.2em; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--fg-soft); line-height: 1.7; }

em { font-style: italic; color: var(--accent); }

/* ============ 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; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 6, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(6, 6, 6, 0.9);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 12px 40px -20px rgba(0,0,0,0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand__mark {
  width: 26px; height: 26px;
  display: inline-grid; place-items: center;
  flex: none;
}
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand strong { font-weight: 400; }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
}
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s 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(--accent); }

.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 9999px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.btn--primary { background: var(--accent); color: #100d05; }
.btn--primary:hover { background: var(--fg); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 15px; color: var(--fg); }

/* ============ MENU TOGGLE ============ */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 28px 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg-soft);
  transition: color 0.3s var(--ease);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 42%, #14120b 0%, #0a0908 42%, var(--bg) 72%);
}
.hero__orb {
  position: absolute;
  top: 46%; left: 50%;
  width: min(92vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hero__orb::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(214,178,76,0.55) 0%, rgba(214,178,76,0.14) 30%, transparent 62%);
  filter: blur(6px);
}
.hero__orb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.62;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 70%);
  animation: heroSpin 60s linear infinite, heroZoom 8s var(--ease) forwards;
}
@keyframes heroSpin { to { transform: rotate(360deg); } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero__dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  z-index: 1;
  filter: blur(0.5px);
  animation: dotPulse 4s ease-in-out infinite;
}
.hero__dot--m { top: 20%; left: 62%; background: var(--magenta); box-shadow: 0 0 22px 4px rgba(226,58,135,0.55); }
.hero__dot--t { bottom: 24%; left: 40%; background: var(--teal); box-shadow: 0 0 22px 4px rgba(47,191,160,0.5); animation-delay: 1.5s; }
.hero__dot--g { top: 30%; left: 30%; width: 5px; height: 5px; background: var(--accent); box-shadow: 0 0 16px 3px rgba(214,178,76,0.5); animation-delay: 0.7s; }
@keyframes dotPulse { 0%,100% { opacity: 0.4; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }

.hero__inner { position: relative; z-index: 2; width: 100%; text-align: center; padding: 120px 0 90px; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-weight: 300;
  max-width: 15ch;
  margin: 0 auto 30px;
}
.hero__sub {
  max-width: 56ch;
  margin: 0 auto 40px;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--fg-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============ MANIFESTO ============ */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
}
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  height: 0.5em;
}
.manifesto__cite {
  display: block;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ SECTION HEAD ============ */
.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 48px; }
  .section-head__text { max-width: 52ch; }
}

/* ============ SERVICES ============ */
.grid-cards { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.svc {
  background: var(--bg);
  padding: 44px 34px 40px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: background 0.4s var(--ease);
}
.section--alt .svc { background: var(--bg-alt); }
.svc:hover { background: var(--bg-elev); }
.svc__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 26px;
}
.svc h3 { font-size: 1.6rem; letter-spacing: -0.01em; line-height: 1.12; margin-bottom: 16px; }
.svc p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; margin-bottom: 22px; }
.svc__tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 5px 12px;
}

/* ============ LIBRARY CARDS ============ */
.lib-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .lib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .lib-grid { grid-template-columns: repeat(3, 1fr); } }
.libcard {
  border: 1px solid var(--border-soft);
  background: var(--bg-alt);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.libcard:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 24px 60px -24px rgba(0,0,0,0.8); }
.libcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.libcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.libcard:hover .libcard__media img { transform: scale(1.06); }
.libcard__cat {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e0b04;
  background: var(--accent);
  padding: 5px 11px;
  border-radius: 9999px;
}
.libcard__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.libcard__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.libcard h3 { font-size: 1.34rem; line-height: 1.18; letter-spacing: -0.01em; margin-bottom: 12px; }
.libcard p { color: var(--muted); font-size: 0.94rem; line-height: 1.65; margin-bottom: 22px; }
.libcard .link-arrow { margin-top: auto; }

/* ============ STATS ============ */
.stats-band { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.stats { display: grid; gap: 40px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat { text-align: left; }
.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}
.stat__label { font-size: 0.9rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* ============ PRINCIPLES ============ */
.principles { display: grid; gap: 0; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(2, 1fr); column-gap: 60px; } }
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border-soft);
}
.principle__no { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 6px; }
.principle h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.principle p { color: var(--muted); font-size: 0.96rem; line-height: 1.7; margin: 0; }

/* ============ SPLIT / ABOUT ============ */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split--rev .split__media { order: -1; }
@media (min-width: 900px) { .split--rev .split__media { order: 0; } }
.split__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4/5; position: relative; border: 1px solid var(--border-soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,6,6,0.55));
}
.split h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 26px; }
.split p { color: var(--fg-soft); }
.split p + p { color: var(--muted); }

/* ============ TEAM (monogram, no faces) ============ */
.team { display: grid; gap: 26px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member {
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 30px 26px 28px;
  background: var(--bg-alt);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.member:hover { border-color: var(--border); transform: translateY(-4px); }
.avatar--mono {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #0e0b04;
  margin-bottom: 24px;
}
.member h3 { font-size: 1.2rem; margin-bottom: 4px; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.member p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin: 0; }

/* ============ FAQ ============ */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 300;
  color: var(--fg);
}
.faq__q .plus { flex: none; position: relative; width: 18px; height: 18px; }
.faq__q .plus::before, .faq__q .plus::after {
  content: ""; position: absolute; background: var(--accent);
  left: 50%; top: 50%; transition: transform 0.4s var(--ease);
}
.faq__q .plus::before { width: 2px; height: 18px; transform: translate(-50%,-50%); }
.faq__q .plus::after { width: 18px; height: 2px; transform: translate(-50%,-50%); }
.faq__item[data-open="true"] .plus::before { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a-inner { padding: 0 0 30px; color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 68ch; }

/* ============ CTA ============ */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(214,178,76,0.16), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.025em; line-height: 1.02; margin-bottom: 26px; }
.cta p { color: var(--fg-soft); max-width: 52ch; margin: 0 auto 40px; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.contact-info h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 500; margin-bottom: 6px; }
.contact-info__block { padding: 22px 0; border-bottom: 1px solid var(--border-soft); }
.contact-info__block .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact-info__block p { color: var(--fg-soft); margin: 0; font-size: 0.98rem; }
.contact-info__block a:hover { color: var(--accent); }

.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.98rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-elev); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.form__consent input { margin-top: 4px; accent-color: var(--accent); }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ============ PAGE HEAD ============ */
.pagehead { padding: clamp(120px, 18vw, 200px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.pagehead::before {
  content: "";
  position: absolute; top: -10%; right: -5%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(214,178,76,0.14), transparent 62%);
  pointer-events: none;
}
.pagehead h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.035em; line-height: 0.98; font-weight: 300; max-width: 16ch; }
.pagehead p { color: var(--fg-soft); max-width: 56ch; margin-top: 30px; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border-soft); padding: 80px 0 40px; }
.footer__top { display: grid; gap: 48px; margin-bottom: 64px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { font-size: 1.5rem; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.94rem; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; font-weight: 400; }
.footer__col a { display: block; padding: 7px 0; color: var(--fg-soft); font-size: 0.94rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 32px; border-top: 1px solid var(--border-soft);
  font-size: 0.82rem; color: var(--muted);
}
@media (min-width: 700px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--accent); }

/* ============ 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.55);backdrop-filter:blur(4px);-webkit-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-elev);padding:32px 36px;max-width:480px;border-radius:8px;border:1px solid var(--border); }
.cookie-popup__label { font-family:var(--mono);font-size:10px;letter-spacing:0.16em;text-transform:uppercase;color:var(--accent);margin-bottom:14px; }
.cookie-popup__card h3 { font-family:var(--serif);font-weight:400;font-size:1.5rem;margin-bottom:12px; }
.cookie-popup__card p { color:var(--muted);font-size:0.9rem;line-height:1.65;margin:0; }
.cookie-popup__card p a { color:var(--accent);text-decoration:underline;text-underline-offset:2px; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:24px; }
.cookie-popup__actions button { padding:11px 24px;border:1px solid var(--border);cursor:pointer;font-family:var(--mono);font-size:12px;letter-spacing:0.08em;text-transform:uppercase;border-radius:9999px;transition:all .3s var(--ease); }
.cookie-popup__actions button:hover { border-color:var(--accent); }
.cookie-popup__actions button:last-child { background:var(--accent);color:#100d05;border-color:var(--accent); }
.cookie-popup__actions button:last-child:hover { background:var(--fg);border-color:var(--fg); }

/* ============ LEGAL ============ */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 18px; letter-spacing: -0.01em; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin: 30px 0 12px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1rem; line-height: 1.8; }
.legal ul { padding-left: 22px; margin-bottom: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 40px; }
.legal strong { color: var(--fg); }

/* ============ THANKS ============ */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks__mark { width: 76px; height: 76px; margin: 0 auto 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(214,178,76,0.14); border: 1px solid var(--accent); }
.thanks__mark svg { width: 34px; height: 34px; stroke: var(--accent); }
.thanks h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 24px; }
.thanks p { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 36px; }

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