:root {
  --ink: #2b1017;
  --muted: #735b61;
  --paper: #f8f0e4;
  --surface: #fffaf3;
  --wine: #651b32;
  --wine-dark: #3b0c1d;
  --accent: #c7973e;
  --line: rgba(43, 16, 23, .16);
  --shadow: rgba(43, 16, 23, .2);
}

body[data-theme="2"] {
  --ink: #f8f1ec;
  --muted: #cabdc4;
  --paper: #18121f;
  --surface: #25192d;
  --wine: #8b315b;
  --wine-dark: #110c16;
  --accent: #d47b50;
  --line: rgba(248, 241, 236, .17);
  --shadow: rgba(0, 0, 0, .45);
}

body[data-theme="3"] {
  --ink: #211116;
  --muted: #70565e;
  --paper: #fff9ee;
  --surface: #ffffff;
  --wine: #a20f3e;
  --wine-dark: #19080f;
  --accent: #e2bd63;
  --line: rgba(25, 8, 15, .14);
  --shadow: rgba(25, 8, 15, .18);
}

body[data-theme="4"] {
  --ink: #261d2b;
  --muted: #706478;
  --paper: #f0ede2;
  --surface: #f9f7ef;
  --wine: #4c245e;
  --wine-dark: #281532;
  --accent: #6f7d38;
  --line: rgba(38, 29, 43, .17);
  --shadow: rgba(38, 29, 43, .2);
}

body[data-theme="5"] {
  --ink: #102e2c;
  --muted: #56706c;
  --paper: #f7eadb;
  --surface: #fff6ea;
  --wine: #a13d25;
  --wine-dark: #642113;
  --accent: #dfad47;
  --line: rgba(16, 46, 44, .17);
  --shadow: rgba(16, 46, 44, .2);
}

body[data-theme="5"] .button.primary {
  background: #102e2c;
}

body[data-theme="5"] .trust {
  color: #fff6ea;
  background: #102e2c;
  border-color: rgba(255, 246, 234, .18);
}

body[data-theme="5"] .trust-item {
  border-color: rgba(255, 246, 234, .18);
}

body[data-theme="5"] .trust-item span {
  color: rgba(255, 246, 234, .72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: color .25s ease, background .25s ease;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.study-bar { background: var(--wine-dark); color: #fff; }
.study-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.study-label { font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; opacity: .76; }
.theme-nav { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 7px 0; }
.theme-nav a { white-space: nowrap; text-decoration: none; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 11px; font-size: .78rem; }
.theme-nav a[aria-current="page"] { color: var(--wine-dark); background: #fff; border-color: #fff; font-weight: 800; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.04em; }
.wordmark em { color: var(--wine); font-style: normal; }
.site-nav { display: flex; gap: 24px; font-size: .88rem; font-weight: 700; }
.site-nav a { text-decoration: none; }
.hero { padding: clamp(44px, 7vw, 92px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(38px, 7vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--wine); font-size: .77rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
h1 { margin: 18px 0; max-width: 650px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .94; letter-spacing: -.055em; font-weight: 500; }
.lede { margin: 0 0 30px; max-width: 560px; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 3px; text-decoration: none; font-size: .9rem; font-weight: 850; }
.button.primary { color: #fff; background: var(--wine); box-shadow: 0 12px 28px var(--shadow); }
.button.secondary { border: 1px solid var(--line); background: var(--surface); }
.video-wrap { position: relative; }
.video-stage { position: relative; display: grid; place-items: center; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; color: #fff; background: linear-gradient(145deg, var(--wine-dark), var(--wine)); box-shadow: 0 28px 70px var(--shadow); }
.video-stage::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.video-copy { position: absolute; left: 30px; bottom: 28px; z-index: 2; }
.video-copy small { display: block; margin-bottom: 5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.video-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 2.2vw, 1.65rem); font-weight: 500; }
.play { z-index: 2; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; background: rgba(0,0,0,.18); cursor: pointer; font-size: 1.55rem; padding-left: 6px; backdrop-filter: blur(7px); }
.caption { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 28px clamp(18px, 4vw, 44px); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; margin-bottom: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.trust-item span { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.story { padding: 82px 0; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.story h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.story p { margin: 0 0 20px; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.note { color: var(--wine); font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 20; transform: translate(-50%, 20px); padding: 13px 18px; border-radius: 4px; color: #fff; background: var(--wine-dark); box-shadow: 0 16px 42px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 800px) {
  .study-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 10px; }
  .theme-nav { width: 100%; padding-bottom: 10px; }
  .site-nav { display: none; }
  .hero-grid, .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 48px; }
  .video-wrap { order: -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .shell { width: min(100% - 26px, 1180px); }
  h1 { font-size: 3rem; }
  .video-copy { left: 22px; bottom: 21px; }
  .play { width: 66px; height: 66px; }
}
