/* ─────────────── CLYVONNA · SHARED STYLES ─────────────── */
:root {
  --bg: #F2EEE6;
  --bg-2: #ECE6DA;
  --ink: #0E0E0C;
  --ink-2: #1A1A17;
  --muted: #6B665C;
  --line: #D9D2C2;
  --accent: oklch(0.72 0.19 35);
  --accent-deep: oklch(0.62 0.20 32);
  --pad-x: clamp(24px, 5vw, 96px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.serif { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: 'JetBrains Mono', monospace; font-weight: 400; letter-spacing: 0.02em; }
.italic { font-style: italic; }

/* ─────────────── NAV ─────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-links { display: flex; gap: 38px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; transition: opacity .2s; }
.nav-links a:hover { opacity: 0.55; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--ink);
}
.nav-cta {
  font-size: 13px; font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink); color: var(--bg);
  transition: transform .25s ease, background .25s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent-deep); border-color: var(--accent-deep); }

/* On dark backgrounds */
.nav.on-dark { background: color-mix(in srgb, var(--ink) 80%, transparent); }
.nav.on-dark a, .nav.on-dark .logo { color: var(--bg); }
.nav.on-dark.scrolled { border-bottom-color: #2a2925; }
.nav.on-dark .nav-cta { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.nav.on-dark .nav-cta:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.nav.on-dark .nav-links a.active::after { background: var(--bg); }

/* ─────────────── LOGO ─────────────── */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 26px; letter-spacing: -0.015em;
  color: var(--ink);
}
.logo-mark { width: 30px; height: 30px; position: relative; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-word { line-height: 1; }
.logo-word sup {
  font-size: 10px; vertical-align: super;
  color: var(--accent-deep);
  margin-left: 2px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

/* ─────────────── SECTION SHARED ─────────────── */
section { padding: 140px var(--pad-x); }
.section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
  margin-bottom: 90px;
  align-items: end;
}
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--ink); }
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.section-title .italic { color: var(--accent-deep); }

/* On dark */
.on-dark .section-label { color: #8a8579; }
.on-dark .section-label::before { background: var(--bg); }

/* ─────────────── PAGE HEADER (sub pages) ─────────────── */
.page-header {
  padding: 200px var(--pad-x) 100px;
  border-bottom: 1px solid var(--line);
}
.page-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 60px;
  display: flex; align-items: center; gap: 12px;
}
.page-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--ink); }
.page-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(72px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.page-title .em { color: var(--accent-deep); font-style: italic; }
.page-sub {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  padding-top: 60px; margin-top: 60px;
  border-top: 1px solid var(--line);
  align-items: end;
}
.page-sub .lede {
  font-size: 19px; max-width: 580px; color: var(--ink-2); line-height: 1.5;
}
.page-sub .meta { font-size: 13px; color: var(--muted); }
.page-sub .meta .label {
  display: block; text-transform: uppercase; letter-spacing: 0.1em;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; margin-bottom: 10px;
}
.page-sub .meta .val {
  font-family: 'Instrument Serif', serif;
  font-size: 28px; color: var(--ink); letter-spacing: -0.01em;
}
.page-sub .meta .val .italic { color: var(--accent-deep); }

/* ─────────────── BUTTONS ─────────────── */
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  padding: 14px 24px 14px 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  transition: background .3s, color .3s, padding-right .3s;
}
.btn-pill:hover { background: var(--ink); color: var(--bg); padding-right: 32px; }
.btn-pill .arrow-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.btn-pill:hover .arrow-circle { transform: rotate(-45deg); }

/* ─────────────── CTA BLOCK ─────────────── */
.cta {
  background: var(--ink); color: var(--bg);
  padding: 160px var(--pad-x);
  position: relative; overflow: hidden;
}
.cta-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: #8a8579;
  margin-bottom: 60px;
  display: flex; align-items: center; gap: 12px;
}
.cta-eyebrow::before { content: ''; width: 28px; height: 1px; background: #8a8579; }
.cta-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(72px, 10vw, 180px);
  line-height: 0.92; letter-spacing: -0.03em;
  margin-bottom: 80px;
}
.cta-title .italic { color: var(--accent); }
.cta-bottom {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px;
  padding-top: 60px; border-top: 1px solid #2a2925;
}
.cta-bottom .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: #8a8579; margin-bottom: 14px;
}
.cta-bottom .val {
  font-family: 'Instrument Serif', serif;
  font-size: 28px; letter-spacing: -0.01em;
}
.cta-bottom .val a:hover { color: var(--accent); }
.cta-button {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  color: var(--bg);
  padding: 18px 32px 18px 36px;
  border: 1px solid #2a2925;
  border-radius: 999px;
  transition: background .3s, border-color .3s, padding-right .3s;
}
.cta-button:hover {
  background: var(--accent-deep); border-color: var(--accent-deep);
  padding-right: 40px;
}
.cta-button .arrow-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.cta-button:hover .arrow-circle { transform: rotate(-45deg); background: var(--bg); }

/* ─────────────── FOOTER ─────────────── */
footer {
  background: var(--ink); color: var(--bg);
  padding: 60px var(--pad-x) 40px;
  border-top: 1px solid #2a2925;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 100px;
}
.footer-tag {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  max-width: 380px;
  line-height: 1.3;
  margin-top: 24px;
  color: #cfc8b8;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: #8a8579;
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col li, .footer-col li a {
  font-size: 15px; color: #cfc8b8; transition: color .2s;
}
.footer-col li a:hover { color: var(--accent); }
.footer-col .address {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--bg);
  letter-spacing: -0.005em;
  max-width: 320px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; border-top: 1px solid #2a2925;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #8a8579;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-bottom .links { display: flex; gap: 28px; }
.footer-giant {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(120px, 22vw, 380px);
  line-height: 0.85; letter-spacing: -0.04em;
  color: var(--ink); -webkit-text-stroke: 1px #2a2925;
  margin: 60px 0 40px;
  text-align: center;
  user-select: none;
}
.footer-giant .dot { color: var(--accent); -webkit-text-stroke: 0; }

/* ─────────────── MOBILE NAV (hamburger + drawer) ─────────────── */
.nav-panel { display: flex; align-items: center; gap: 38px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0; margin: 0; border: 0;
  background: transparent;
  cursor: pointer;
  position: relative; z-index: 70;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.nav.on-dark .nav-toggle span { background: var(--bg); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─────────────── RESPONSIVE BASE ─────────────── */
@media (max-width: 1024px) {
  .nav { padding: 16px var(--pad-x); }
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    z-index: 60;
    flex-direction: column;
    justify-content: flex-start; align-items: flex-start;
    padding: 96px var(--pad-x) 48px;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    gap: 0;
  }
  .nav.on-dark .nav-panel { background: var(--ink); }
  .nav-panel.is-open { transform: translateX(0); }
  .nav-panel .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 36px;
    margin-bottom: 36px;
  }
  .nav.on-dark .nav-panel .nav-links { border-color: #2a2925; }
  .nav-panel .nav-links a {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(38px, 9vw, 56px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .nav.on-dark .nav-panel .nav-links a { color: var(--bg); }
  .nav-panel .nav-links a.active::after { display: none; }
  .nav-panel .nav-links a.active { color: var(--accent-deep); }
  .nav-panel .nav-cta {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    padding: 16px 26px;
    align-self: flex-start;
  }

  /* reduce padding everywhere on mobile */
  section { padding: 80px var(--pad-x); }
  .page-header { padding: 130px var(--pad-x) 60px; }
  .hero { padding: 130px var(--pad-x) 60px; min-height: auto; }
  .cta { padding: 100px var(--pad-x); }

  /* collapse multi-col grids */
  .section-head,
  .page-sub,
  .cta-bottom,
  .footer-top { grid-template-columns: 1fr !important; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }

  /* typography scaled down */
  .hero-title { font-size: clamp(52px, 13vw, 96px); line-height: 0.95; margin-bottom: 28px; }
  .hero-title .small-cap { font-size: 0.22em; padding: 4px 12px; margin: 0 8px; }
  .page-title { font-size: clamp(56px, 14vw, 96px); margin-bottom: 32px; }
  .section-title { font-size: clamp(40px, 9vw, 72px); max-width: 100%; }
  .cta-title { font-size: clamp(52px, 12vw, 96px); margin-bottom: 56px; }

  /* eyebrows tighter */
  .hero-eyebrow,
  .page-eyebrow,
  .cta-eyebrow,
  .section-head { margin-bottom: 32px; }

  /* hero bottom stacks */
  .hero-bottom {
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding-top: 40px;
    margin-top: 48px;
  }
  .page-sub { padding-top: 40px; margin-top: 40px; }
  .page-sub .lede,
  .hero-lede { font-size: 17px; max-width: 100%; }
  .page-sub .meta .val,
  .hero-meta .val,
  .cta-bottom .val { font-size: 22px; }

  /* marquee */
  .marquee-track { gap: 56px; }
  .marquee-item { font-size: 28px; gap: 56px; }

  /* buttons */
  .cta-button { font-size: 22px; padding: 14px 22px 14px 26px; gap: 12px; }
  .cta-button .arrow-circle { width: 30px; height: 30px; }
  .btn-pill { font-size: 20px; padding: 12px 20px 12px 24px; gap: 10px; }
  .btn-pill .arrow-circle { width: 28px; height: 28px; }

  /* footer */
  .footer-top { gap: 48px; margin-bottom: 60px; }
  .footer-tag { font-size: 19px; max-width: 100%; }
  .footer-col .address { font-size: 19px; max-width: 100%; }
  .footer-giant { margin: 32px 0 20px; }
}

@media (max-width: 600px) {
  :root { --pad-x: 20px; }
  .logo { font-size: 22px; gap: 8px; }
  .logo-mark { width: 26px; height: 26px; }
  .nav-cta { font-size: 12px; padding: 9px 14px; }

  .hero-title { font-size: clamp(40px, 13vw, 64px); }
  .page-title { font-size: clamp(44px, 14vw, 72px); }
  .section-title { font-size: clamp(32px, 10vw, 56px); }
  .cta-title { font-size: clamp(38px, 13vw, 64px); }

  .marquee-track { gap: 40px; }
  .marquee-item { font-size: 22px; gap: 40px; }

  .footer-tag { font-size: 17px; }
  .footer-col .address { font-size: 17px; }
  .footer-bottom { font-size: 10px; }
  .footer-bottom .links { gap: 18px; flex-wrap: wrap; }

  .nav-panel { padding: 90px var(--pad-x) 40px; }
  .nav-panel .nav-links { gap: 22px; }
  .nav-panel .nav-links a { font-size: clamp(34px, 11vw, 48px); }

  section { padding: 60px var(--pad-x); }
  .page-header { padding: 110px var(--pad-x) 48px; }
  .hero { padding: 110px var(--pad-x) 48px; }
  .cta { padding: 80px var(--pad-x); }
}

/* ─────────────── LEGAL PAGES ─────────────── */
.legal {
  padding: 80px var(--pad-x) 140px;
  background: var(--bg);
}
.legal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.legal-toc {
  position: sticky; top: 100px; align-self: start;
}
.legal-toc h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.legal-toc h4::before { content: ''; width: 22px; height: 1px; background: var(--ink); }
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.legal-toc li a {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
  transition: color .2s;
  display: block;
}
.legal-toc li a:hover,
.legal-toc li a.is-current { color: var(--accent-deep); }
.legal-doc { max-width: 70ch; }
.legal-doc h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 80px 0 24px;
  scroll-margin-top: 90px;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h2 .italic { color: var(--accent-deep); }
.legal-doc h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.3;
  margin: 36px 0 12px;
  color: var(--ink);
}
.legal-doc p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.legal-doc p strong { color: var(--ink); font-weight: 500; }
.legal-doc ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.legal-doc ul li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.legal-doc ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-deep);
  font-family: 'Instrument Serif', serif;
}
.legal-doc a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-doc a:hover { color: var(--ink); }
.legal-doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 60px 0;
}
.legal-doc .legal-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
  display: flex; flex-wrap: wrap; gap: 24px;
}
.legal-doc .legal-meta span { display: inline-flex; gap: 8px; align-items: baseline; }
.legal-doc .legal-meta strong {
  color: var(--ink);
  font-weight: 500;
}

/* ─────────────── COOKIE CONSENT BANNER ─────────────── */
.consent-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  background: var(--ink); color: var(--bg);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 18px 50px -12px rgba(14,14,12,0.45);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
  max-width: 880px;
  margin: 0 auto;
}
.consent-bar.is-visible { opacity: 1; transform: translateY(0); }
.consent-bar-inner {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.consent-bar-text {
  flex: 1 1 320px;
  font-size: 13.5px; line-height: 1.55;
  color: #d6d0c0;
  margin: 0;
}
.consent-bar-text strong { color: var(--bg); font-weight: 500; }
.consent-bar-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent-bar-text a:hover { color: var(--bg); }
.consent-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-bar-btn {
  font: inherit;
  font-size: 13px; font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.consent-bar-btn--decline {
  background: transparent; color: #d6d0c0;
  border-color: #3a3934;
}
.consent-bar-btn--decline:hover {
  color: var(--bg); border-color: #d6d0c0;
}
.consent-bar-btn--accept {
  background: var(--bg); color: var(--ink);
  border-color: var(--bg);
}
.consent-bar-btn--accept:hover {
  background: var(--accent); border-color: var(--accent);
}
@media (max-width: 600px) {
  .consent-bar { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; border-radius: 12px; }
  .consent-bar-inner { gap: 14px; }
  .consent-bar-text { font-size: 12.5px; flex-basis: 100%; }
  .consent-bar-actions { width: 100%; }
  .consent-bar-btn { flex: 1; padding: 11px 14px; }
}

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-toc {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
  }
  .legal-toc ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .legal-toc li a { font-size: 13px; }
  .legal { padding: 40px var(--pad-x) 80px; }
  .legal-doc h2 { margin-top: 56px; }
}
