/* ============================================================
   ÉLEVÉ — Convenience. Elevated.
   Design system: minimal, architectural, warm.
   Palette: matte black, warm gold, ivory, charcoal, walnut, stone.
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-var-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-var-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --ink: #12100d;
  --coal: #1b1815;
  --coal-2: #26221c;
  --ivory: #f5f1e8;
  --ivory-2: #ede8db;
  --paper: #fbf9f4;
  --gold: #c2a165;
  --gold-soft: #d8c092;
  --gold-dim: #94804f;
  --walnut: #55402f;
  --stone: #a79d8c;
  --line-light: rgba(18, 16, 13, 0.12);
  --line-gold: rgba(194, 161, 101, 0.45);
  --line-dark: rgba(245, 241, 232, 0.14);
  --text-dark: #2a2620;
  --text-mut: #6d6455;
  --text-light: #ece6d9;
  --text-light-mut: #a89f8f;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --radius: 2px;
  --shadow-soft: 0 30px 60px -30px rgba(18, 16, 13, 0.35);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--gold-soft);
  padding: 12px 22px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: inherit;
}

.display {
  font-size: clamp(2.9rem, 6.6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.h3 {
  font-size: 1.55rem;
  line-height: 1.25;
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section--dark .eyebrow { color: var(--gold-soft); }

.muted { color: var(--text-mut); }
.section--dark .muted { color: var(--text-light-mut); }

.gold-i {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-dim);
}
.section--dark .gold-i { color: var(--gold-soft); }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: clamp(96px, 12vw, 156px) 0;
}

.section--dark {
  background: var(--ink);
  color: var(--text-light);
  position: relative;
}

/* Matte grain on dark surfaces: kills gradient banding, adds material depth. */
.section--dark::before,
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.section--panel {
  background: var(--ivory-2);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head .eyebrow { margin-bottom: 22px; }
.section-head .h2 { margin-bottom: 20px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px); }

.rule {
  border: 0;
  height: 1px;
  background: var(--line-gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }

.btn-dark {
  background: var(--ink);
  color: var(--ivory);
}
.btn-dark:hover { background: var(--coal-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: var(--line-gold);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dim); }
.section--dark .btn-ghost:hover, .hero .btn-ghost:hover { color: var(--gold-soft); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
  color: var(--ivory);
}

/* Scrolled: light airy glass — almost transparent, blur softly mutes the
   content passing under so nothing clashes, text stays readable. */
.site-header.scrolled {
  background: rgba(18, 16, 13, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--line-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.logo-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.34em;
  color: var(--gold);
  margin-right: -0.34em;
}

.logo-tag {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light-mut);
  margin-right: -0.3em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
  padding: 6px 0;
  position: relative;
}

.nav a:hover { opacity: 1; color: var(--gold-soft); }

.nav a.active { opacity: 1; color: var(--gold); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
}

.nav .btn {
  padding: 10px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* Header CTA text: compact "Contact" on desktop, full label on mobile menu */
.nav-cta-lg { display: none; }
.nav-cta-sm { display: inline; }
@media (max-width: 940px) {
  .nav-cta-sm { display: none; }
  .nav-cta-lg { display: inline; }
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  margin: 6px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--text-light);
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 16s ease-out forwards;
}

@keyframes heroDrift {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,16,13,0.55) 0%, rgba(18,16,13,0.18) 38%, rgba(18,16,13,0.82) 100%),
    linear-gradient(90deg, rgba(18,16,13,0.55) 0%, rgba(18,16,13,0.05) 60%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(64px, 9vw, 110px);
  padding-top: 160px;
}

.hero-inner { max-width: 820px; }

.hero .eyebrow { color: var(--gold-soft); margin-bottom: 26px; }

.hero h1 { margin-bottom: 26px; color: #f6f2e9; }

.hero .lead {
  max-width: 640px;
  color: var(--text-light-mut);
  margin-bottom: 40px;
}

.hero--page {
  min-height: 62vh;
}

/* ---------- Service marquee strip ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  background: var(--ivory);
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marqueeMove 46s linear infinite;
}

.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  color: var(--gold-dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}

.marquee-track span::after {
  content: '';
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-gold);
}

.card-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}

.card .h3 { margin-bottom: 2px; }

.card p { color: var(--text-mut); font-size: 0.98rem; }

.section--dark .card {
  background: var(--coal);
  border-color: var(--line-dark);
}
.section--dark .card p { color: var(--text-light-mut); }
.section--dark .card:hover { border-color: var(--line-gold); box-shadow: none; }

/* ---------- Media blocks ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.media-frame:hover img { transform: scale(1.025); }

/* Gallery-style hairline inset over images */
.media-frame::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(216, 192, 146, 0.28);
  pointer-events: none;
  z-index: 2;
}

.media-cap {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 3;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0ead9;
  background: rgba(18, 16, 13, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 192, 146, 0.28);
  border-radius: var(--radius);
  padding: 9px 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.split .media-frame { min-height: 420px; height: 100%; }
.split .media-frame img { position: absolute; inset: 0; }

.split-copy .eyebrow { margin-bottom: 20px; }
.split-copy .h2 { margin-bottom: 20px; }
.split-copy p { margin-bottom: 16px; }

/* ---------- Feature list ---------- */
.feat-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 1rem;
}

.section--dark .feat-list li { border-bottom-color: var(--line-dark); }

.feat-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg) translateY(-1px);
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

.step {
  counter-increment: step;
  padding: 34px 30px 38px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper);
  position: relative;
}

.step::before {
  content: '0' counter(step);
  font-family: var(--serif);
  font-size: 2.7rem;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.step {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.step:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
}

.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--text-mut); font-size: 0.97rem; }

.section--dark .step { background: var(--coal); border-color: var(--line-dark); }
.section--dark .step p { color: var(--text-light-mut); }

/* ---------- Horizontal timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: tl;
}

.timeline .tl-step {
  counter-increment: tl;
  position: relative;
  padding-top: 42px;
}

.timeline .tl-step::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-gold);
}

.timeline .tl-step:first-child::before { left: 50%; }
.timeline .tl-step:last-child::before { right: 50%; }

.timeline .tl-step::after {
  content: '';
  position: absolute;
  top: 3px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--ivory);
}

.section--panel .timeline .tl-step::after { box-shadow: 0 0 0 4px var(--ivory-2); }

.timeline .tl-num {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
}

.timeline .tl-step h3 {
  font-size: 1.3rem;
  margin: 6px 0 8px;
}

.timeline .tl-step p {
  font-size: 0.92rem;
  color: var(--text-mut);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .timeline .tl-step::before, .timeline .tl-step::after { display: none; }
  .timeline .tl-step { padding-top: 0; border-top: 1px solid var(--line-gold); padding-top: 20px; }
}

@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- Stats / value strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.strip > div {
  padding: 40px 32px;
  text-align: center;
}

.strip > div + div { border-left: 1px solid var(--line-dark); }

.strip .serif {
  font-size: 2.5rem;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 8px;
}

.strip p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-mut);
}

/* ---------- Full-bleed photo quote band ---------- */
.quote-band {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-light);
  text-align: center;
}

.quote-band .quote-media {
  position: absolute;
  inset: 0;
}

.quote-band .quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-band .quote-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(18, 16, 13, 0.62) 0%, rgba(18, 16, 13, 0.86) 100%);
}

.quote-band .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.quote-band .quote-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 34px;
}

.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.25;
  color: #f4efe4;
}

.quote-band blockquote .gold-i { color: var(--gold-soft); }

.quote-band figcaption {
  margin-top: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-light);
  text-align: center;
}

/* Oversized monogram watermark behind the CTA */
.cta-band::before {
  content: '\c9';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--serif);
  font-size: clamp(17rem, 42vw, 30rem);
  line-height: 1;
  color: rgba(194, 161, 101, 0.07);
  pointer-events: none;
  z-index: 1;
}

.cta-band .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.cta-band .h2 { margin-bottom: 20px; color: #f6f2e9; }
.cta-band p { color: var(--text-light-mut); margin-bottom: 36px; }
.cta-band .btn-row { justify-content: center; }

.cta-media {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(18,16,13,0.55) 0%, rgba(18,16,13,0.95) 100%);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mut);
}

.field label .req { color: var(--gold-dim); }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-dim) 50%), linear-gradient(135deg, var(--gold-dim) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 161, 101, 0.18);
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #b0522e;
}

.form-note {
  font-size: 0.88rem;
  color: var(--text-mut);
}

.form-status {
  display: none;
  padding: 18px 22px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: rgba(194, 161, 101, 0.08);
  font-size: 0.98rem;
}

.form-status.show { display: block; }
.form-status.error { border-color: #b0522e; background: rgba(176, 82, 46, 0.07); }

/* ---------- Table (revenue share) ---------- */
.rev-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.rev-table th, .rev-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}

.rev-table th {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.rev-table td { color: var(--text-light); }
.rev-table td:first-child { font-family: var(--serif); font-size: 1.15rem; }

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line-light);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--gold-dim); }

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 34px;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 40px;
}

.faq details p {
  padding: 0 48px 28px 0;
  margin: 0;
  color: var(--text-mut);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 700px;
}

.faq details[open] summary {
  color: var(--gold-dim);
}

/* ---------- Journal cards ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

.journal-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-gold);
}

.journal-card .jc-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.journal-card .jc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-card .jc-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0ead9;
  background: rgba(18, 16, 13, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 192, 146, 0.28);
  border-radius: var(--radius);
  padding: 7px 13px;
}

.journal-card .jc-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.journal-card .jc-body h3 { font-size: 1.4rem; line-height: 1.25; }
.journal-card .jc-body p { color: var(--text-mut); font-size: 0.98rem; }

.journal-card .jc-soon {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-light-mut);
  padding: 72px 0 40px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-grid .logo { margin-bottom: 18px; }

.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.footer-col li { margin-bottom: 10px; }
.footer-col a { transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.82rem;
}

/* ---------- Intro preloader ---------- */
.preloader { display: none; }

.js .preloader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader .pl-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4rem);
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  color: var(--gold);
  opacity: 0;
  animation: plWord 1.1s ease forwards;
}

.preloader .pl-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: plLine 1.1s ease forwards 0.2s;
}

.preloader .pl-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light-mut);
  opacity: 0;
  animation: plWord 0.8s ease forwards 0.5s;
}

@keyframes plWord { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes plLine { from { width: 0; } to { width: 120px; } }

/* CSS failsafe: even if JS never removes it, fade out after ~2.4s */
.js .preloader { animation: plFailsafe 0.7s ease forwards 2.4s; }
@keyframes plFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Page fade-in ---------- */
.js body { opacity: 0; }
.js body.page-ready { opacity: 1; transition: opacity 0.5s ease; }
.js body.page-leaving { opacity: 0; transition: opacity 0.25s ease; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

@media (max-width: 860px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 90;
    text-align: center;
    transform: translateY(180%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn {
    width: auto;
    padding: 12px 26px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    box-shadow: 0 14px 34px -12px rgba(18, 16, 13, 0.7);
  }
}

/* ---------- Revenue share calculator ---------- */
.calc {
  background: var(--coal);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.calc-input label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}

.calc-amount {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: #f4efe4;
  line-height: 1;
  margin-bottom: 22px;
}

.calc-input input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--line-dark);
  outline: none;
  margin: 8px 0 12px;
}

.calc-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid var(--coal);
  box-shadow: 0 0 0 1px var(--gold);
}

.calc-input input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid var(--coal);
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light-mut);
}

.calc-output {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.calc-card {
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}

.calc-card .cc-pct {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 12px;
}

.calc-card .cc-val {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--gold-soft);
  line-height: 1;
}

.calc-card .cc-per {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-mut);
}

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
}

/* ---------- Gallery + lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--line-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(216, 192, 146, 0);
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { border-color: rgba(216, 192, 146, 0.5); }

.gallery-item .gi-plus {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 192, 146, 0.5);
  border-radius: 50%;
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(18, 16, 13, 0.4);
}

.gallery-item:hover .gi-plus { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 10, 8, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open { display: flex; opacity: 1; }

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border: 1px solid rgba(216, 192, 146, 0.3);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

.lightbox-btn {
  position: absolute;
  background: none;
  border: 1px solid rgba(216, 192, 146, 0.4);
  color: var(--gold-soft);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lightbox-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

.lb-counter {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--text-light-mut);
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lightbox-btn { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animations ----------
   Gated behind html.js so content stays visible without JavaScript
   (search engines, screenshot renderers, no-JS users). */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.js .reveal-d1 { transition-delay: 0.1s; }
.js .reveal-d2 { transition-delay: 0.2s; }
.js .reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .media-frame img { transition: none; }
  .hero-media img { animation: none; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .nav a { font-size: 0.72rem; letter-spacing: 0.07em; white-space: nowrap; }
  .nav .btn { padding: 11px 18px; }
  .logo-word { font-size: 1.3rem; }
}

@media (max-width: 940px) {
  /* ---------- Mobile full-screen menu ---------- */
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 104px 32px 48px;
    background: rgba(18, 16, 13, 0.985);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    overflow-y: auto;
  }

  .nav::before {
    content: 'Menu';
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 22px;
  }

  .nav.open { opacity: 1; pointer-events: auto; }

  /* keep the logo visible above the open menu overlay */
  .site-header .logo { position: relative; z-index: 121; }

  /* When the menu is open, strip the header's backdrop-filter. Otherwise the
     filtered header becomes the containing block for the fixed .nav overlay
     once the page is scrolled, so the menu only fills the header height and
     swallows taps. Also hide the sticky CTA so it never overlaps the menu. */
  body.menu-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: transparent;
    border-bottom-color: transparent;
  }
  body.menu-open .sticky-cta { display: none; }

  .nav a {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text-light);
    opacity: 0.92;
    padding: 19px 0;
    border-bottom: 1px solid var(--line-dark);
    text-align: left;
    transform: translateY(14px);
    transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease, color 0.2s ease;
  }

  .nav.open a { transform: translateY(0); }
  .nav.open a:nth-child(1) { transition-delay: 0.04s; }
  .nav.open a:nth-child(2) { transition-delay: 0.08s; }
  .nav.open a:nth-child(3) { transition-delay: 0.12s; }
  .nav.open a:nth-child(4) { transition-delay: 0.16s; }
  .nav.open a:nth-child(5) { transition-delay: 0.20s; }
  .nav.open a:nth-child(6) { transition-delay: 0.24s; }
  .nav.open a:nth-child(7) { transition-delay: 0.28s; }

  .nav a:hover, .nav a:active { color: var(--gold-soft); }
  .nav a.active { color: var(--gold); }
  .nav a.active::after { display: none; }

  .nav .btn {
    margin-top: 30px;
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 0;
    transform: translateY(14px);
    padding: 17px 34px;
  }

  .burger { display: block; }

  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }

  .split .media-frame { min-height: 320px; }

  .split--flip .media-frame { order: -1; }

  .strip { grid-template-columns: 1fr; }
  .strip > div + div { border-left: 0; border-top: 1px solid var(--line-dark); }

  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero { min-height: 84vh; }
  .hero--page { min-height: 58vh; }

  .media-frame::after { inset: 10px; }
  .media-cap { left: 20px; bottom: 20px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .rev-table th, .rev-table td { padding: 12px 10px; font-size: 0.9rem; }
}
