:root {
  --bg: #070706;
  --bg-2: #12100e;
  --ivory: #f4efe6;
  --muted: #b7aea3;
  --gold: #e0c48a;
  --gold-deep: #8d7044;
  --ink: #14110d;
  --line: rgba(224, 196, 138, 0.28);
  --line-strong: rgba(224, 196, 138, 0.55);
  --cream: #f3eee6;
  --cream-ink: #16130f;
  --cream-muted: #5e574e;
  --max: 1180px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 380;
  font-size: 1.05rem;
  line-height: 1.6;
  color-scheme: dark;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
}

.frame {
  position: fixed;
  inset: 10px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
  z-index: 45;
}

.wrap { width: min(var(--max), calc(100% - 4.5rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 4.5rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 6, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.bar {
  width: min(var(--max), calc(100% - 4.5rem));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ivory);
}
.mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.brand em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a.is-on, .nav a:hover { color: var(--ivory); }
.nav-toggle, .burger { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 560;
  cursor: pointer;
}
.btn:hover { background: #f0d7a4; }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-small { min-height: 40px; padding: 0.45rem 0.85rem; }

.kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
h1, h2, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(3.5rem, 8vw, 7.4rem); line-height: 0.88; margin: 0 0 1.2rem; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 0.95; margin: 0 0 1rem; }
h3 { font-family: var(--sans); font-weight: 520; letter-spacing: 0; font-size: 1.05rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3.2rem;
  background:
    radial-gradient(ellipse at 12% 85%, rgba(224, 196, 138, 0.16), transparent 42%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 2.2rem 1fr 15rem;
  gap: 1.5rem;
  align-items: end;
}
.spine {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.lede { max-width: 38rem; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.rail { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.rail a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.4rem;
  padding: 0.85rem 0 0.85rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
}
.rail a span { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.08em; }
.rail a:hover { color: var(--gold); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: slide 28s linear infinite;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 5.5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.section-head p { max-width: 28rem; color: var(--muted); margin: 0; }

.piece {
  display: grid;
  grid-template-columns: 4.2rem 0.9fr 1.3fr auto;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.piece:last-child { border-bottom: 1px solid var(--line); }
.piece .num { color: var(--gold); letter-spacing: 0.12em; font-size: 0.85rem; }
.piece .name {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 0.95;
}
.piece .blurb { color: var(--muted); margin: 0; }
.piece .go {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}
.piece:hover { padding-left: 0.6rem; }
.piece:hover .name { color: var(--gold); }

.manifesto {
  background: var(--cream);
  color: var(--cream-ink);
  padding: 6.2rem 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
}
.manifesto h2 { max-width: 9.2ch; margin: 0; }
.manifesto p { color: var(--cream-muted); font-size: 1.08rem; }
.manifesto .btn { margin-top: 0.6rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { border-top: 1px solid var(--gold); padding-top: 1rem; }
.step span {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.step p { color: var(--muted); }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fit-card {
  border: 1px solid var(--line);
  padding: 1.4rem 1.3rem 0.6rem;
  background: var(--bg-2);
  min-height: 220px;
}
.fit-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.cta-band {
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 5rem;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}
.cta-inner p { color: var(--muted); max-width: 34rem; }

.page { padding: 3.2rem 0 4.5rem; }
.crumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.4rem; }
.crumbs a { color: var(--gold); }
.page h1 { font-size: clamp(3.2rem, 7vw, 6rem); max-width: 12ch; }

.svc {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.2rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}
.svc .num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.9;
}
.svc h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.svc p { color: var(--muted); max-width: 42rem; }
.svc ul { margin: 0.2rem 0 0; padding: 0; list-style: none; }
.svc li { padding: 0.35rem 0; border-top: 1px solid var(--line); color: var(--ivory); }

.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  padding: 1.3rem 1.2rem;
  background: var(--bg-2);
}
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}
.facts span { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }

.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 2rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1.2rem; }
.prose th, .prose td { border: 1px solid var(--line); text-align: left; padding: 0.55rem 0.65rem; vertical-align: top; }
.prose th { color: var(--ivory); font-weight: 520; }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 1.25rem; font-family: var(--serif); }
.faq p { color: var(--muted); margin: 0.7rem 0 0.2rem; }

.form { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.35rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
input, textarea {
  width: 100%;
  color: var(--ivory);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0.65rem 0;
  outline: none;
}
input:focus, textarea:focus { border-bottom-color: var(--gold); }
.fine { color: var(--muted); font-size: 0.92rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 1.4rem;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.4rem; }
.foot-label { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold); margin-bottom: 0.45rem; }
.foot-links { display: grid; gap: 0.25rem; }
.foot-links a { color: var(--ivory); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.legal-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
  padding-top: 1.2rem;
}

.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 60;
  background: #16130f;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
}
.cookie-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.95rem 0.2rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.cookie-inner h2 { font-family: var(--sans); font-size: 1rem; margin: 0 0 0.2rem; letter-spacing: 0; }
.cookie-inner p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.cookie-inner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 0.45rem; flex-wrap: nowrap; flex-shrink: 0; }
.check { display: flex; gap: 0.45rem; align-items: center; margin: 0.25rem 0; letter-spacing: 0; text-transform: none; font-size: 0.95rem; color: var(--ivory); }

@media (max-width: 900px) {
  .wrap, .bar, .narrow { width: min(var(--max), calc(100% - 2.2rem)); }
  .hero-grid, .manifesto-grid, .steps, .fit-grid, .about-grid, .contact-grid, .foot-grid, .cta-inner, .cookie-inner, .piece, .svc {
    display: grid;
    grid-template-columns: 1fr;
  }
  .spine { display: none; }
  .rail { border-left: 0; display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.4rem; }
  .piece:hover { padding-left: 0; }
  .page h1, .manifesto h2 { max-width: none; }
  .burger { display: grid; gap: 5px; background: none; border: 0; padding: 0.3rem; }
  .burger span { width: 22px; height: 1px; background: var(--ivory); display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #100e0c;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .cookie-actions { flex-wrap: wrap; }
  .hero { min-height: auto; padding-top: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
