@font-face {
  font-family: 'EditorsNote';
  src: url("fonts/Editor'sNote-ExtralightItalic.otf") format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'EditorsNote';
  src: url("fonts/Editor'sNote-Extralight.otf") format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2c2c2c;
  --muted: rgba(44, 44, 44, 0.66);
  --night: #2b281c;
  --night-2: #36321f;
  --olive: #8c8557;
  --olive-deep: #4d472f;
  --sand: #c4b896;
  --cream: #e8e2d5;
  --paper: #f3efe7;
  --surface: #fbf9f4;
  --lime: #e8f4ac;
  --line: rgba(77, 71, 47, 0.14);
  --line-strong: rgba(77, 71, 47, 0.28);
  --line-dark: rgba(232, 226, 213, 0.16);
  --danger: #a8402d;
  --success: #4f6b3a;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'EditorsNote', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

::selection { background: rgba(196, 184, 150, 0.55); }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

.eyebrow__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 200;
  letter-spacing: 0;
  text-transform: none;
  color: var(--olive-deep);
}

.eyebrow__index::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.5; }

.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.title em, .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--olive);
}

.title em { font-size: 1.07em; }

.title--md { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }

.lead { margin: 0; max-width: 60ch; font-size: clamp(16px, 0.95rem + 0.2vw, 18px); line-height: 1.7; color: var(--muted); }

.section { padding: clamp(72px, 10vw, 128px) 0; }

.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.section--dark { background: var(--night); color: var(--paper); }
.section--dark .lead { color: rgba(243, 239, 231, 0.72); }
.section--dark .eyebrow { color: var(--sand); }
.section--dark .eyebrow__index { color: var(--lime); }
.section--dark .title em { color: var(--lime); }

.section--cream { background: var(--cream); }
.section--surface { background: var(--surface); }

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--olive-deep);
  color: var(--paper);
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 36px -22px rgba(43, 40, 28, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--olive);
  transform: translateX(-101%);
  transition: transform 0.6s var(--ease);
}

.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(0.97); }

.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--lime { background: var(--lime); color: var(--night); box-shadow: 0 18px 40px -20px rgba(232, 244, 172, 0.55); }
.btn--lime::before { background: #f4fbd0; }

.btn--ghost { background: transparent; color: var(--olive-deep); box-shadow: none; border: 1px solid var(--line-strong); }
.btn--ghost::before { background: var(--cream); }

.btn--block { width: 100%; }

.cta-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.cta-note span { display: inline-flex; align-items: center; gap: 8px; }
.cta-note span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }
.section--dark .cta-note, .hero .cta-note { color: rgba(243, 239, 231, 0.65); }
.section--dark .cta-note span::before, .hero .cta-note span::before { background: var(--lime); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.08s; }
.reveal[data-delay='2'] { transition-delay: 0.16s; }
.reveal[data-delay='3'] { transition-delay: 0.24s; }
.reveal[data-delay='4'] { transition-delay: 0.32s; }
.reveal[data-delay='5'] { transition-delay: 0.4s; }

.line-up { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line-up > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-in .line-up > span, .line-up.is-in > span { transform: none; }
.line-up:nth-child(2) > span { transition-delay: 0.1s; }
.line-up:nth-child(3) > span { transition-delay: 0.2s; }

.video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: radial-gradient(120% 120% at 30% 20%, #4d472f 0%, #2b281c 70%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(232, 226, 213, 0.12) inset;
}

.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: var(--paper);
}

.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; opacity: 0.35; filter: saturate(0.8); }

.video__play {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--night);
  box-shadow: 0 0 0 0 rgba(232, 244, 172, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
}

.video__play svg { width: 30px; height: 30px; margin-left: 5px; fill: currentColor; }

.video__label { position: relative; margin: 0; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.video__meta { position: relative; margin: 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243, 239, 231, 0.7); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 244, 172, 0.45); }
  70% { box-shadow: 0 0 0 26px rgba(232, 244, 172, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 244, 172, 0); }
}

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

.field label, .field legend {
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.field .opt { margin-left: 6px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }

.input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea.input { min-height: 120px; padding: 14px 16px; line-height: 1.55; resize: vertical; }

select.input {
  appearance: none;
  padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234d472f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}

.input:hover { border-color: rgba(77, 71, 47, 0.45); }
.input:focus { border-color: var(--olive); box-shadow: 0 0 0 4px rgba(196, 184, 150, 0.4); }
.field--error .input { border-color: var(--danger); }
.field__error { margin: 0; font-size: 13px; color: var(--danger); }
.field__hint { margin: 0; font-size: 13px; color: var(--muted); }

.choices { display: grid; gap: 10px; }

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.choice:hover { border-color: var(--olive); }
.choice:active { transform: scale(0.99); }

.choice input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, background 0.2s;
}

.choice input[type='checkbox'] { border-radius: 6px; }

.choice input::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); transform: scale(0); transition: transform 0.2s var(--ease); }
.choice input[type='checkbox']::after { width: 5px; height: 10px; border-radius: 0; background: none; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -2px; }

.choice input:checked { border-color: var(--olive-deep); background: var(--olive-deep); }
.choice input:checked::after { transform: scale(1); }
.choice input[type='checkbox']:checked::after { transform: rotate(45deg) scale(1); }
.choice:has(input:checked) { border-color: var(--olive-deep); background: #fdfcf8; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--line-strong); border-radius: 6px; background: #fff; display: grid; place-items: center; }
.consent input::after { content: ''; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform 0.2s var(--ease); }
.consent input:checked { background: var(--olive-deep); border-color: var(--olive-deep); }
.consent input:checked::after { transform: rotate(45deg) scale(1); }
.consent a { color: var(--olive-deep); }

.footer { padding: 40px 0 48px; background: var(--night); color: rgba(243, 239, 231, 0.6); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer img { height: 34px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .line-up > span { transform: none; }
}

[hidden] { display: none !important; }

.field .choice {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  color: var(--ink);
}

.field .consent {
  padding: 0;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--muted);
}

.reading-bar { position: fixed; inset: 0 0 auto; z-index: 70; height: 3px; background: var(--lime); transform-origin: left; transform: scaleX(0); }

.words-ready .w { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); transition-delay: var(--d, 0s); }
.words-ready.is-in .w { opacity: 1; transform: none; filter: none; }

.scrub-ready .w { opacity: 0.16; transition: opacity 0.35s ease, color 0.35s ease; }
.scrub-ready .w.lit { opacity: 1; }

.stage { --zoom: 1; --zoom-r: 22px; transform: scale(var(--zoom)); transform-origin: 50% 0; will-change: transform; }
.stage .video { border-radius: var(--zoom-r); }

.marquee { --skew: 0deg; overflow: hidden; padding: 22px 0; background: var(--lime); color: var(--night); }
.marquee__track { display: flex; width: max-content; gap: 0; white-space: nowrap; will-change: transform; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 200; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.8rem); letter-spacing: -0.01em; transform: skewX(var(--skew)); }
.marquee__track span em { font-family: var(--serif); font-style: italic; }
.marquee__track span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--olive-deep); }

[data-tilt] { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; transform-style: preserve-3d; }
[data-tilt]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 244, 172, 0.22), transparent 45%); opacity: 0; transition: opacity 0.3s; }
[data-tilt]:hover::after { opacity: 1; }

[data-magnetic] { transition: transform 0.45s var(--ease), box-shadow 0.3s var(--ease); }

.dock { position: fixed; left: 50%; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 18px; width: min(760px, calc(100% - 24px)); padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(43, 40, 28, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(232, 226, 213, 0.12); color: var(--paper); transform: translate(-50%, 160%); transition: transform 0.6s var(--ease); }
.dock.is-on { transform: translate(-50%, 0); }
.dock__text { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.35; }
.dock__text b { font-weight: 600; }
.dock__text span { color: rgba(243, 239, 231, 0.65); }
.dock .btn { flex: none; min-height: 48px; padding: 0 22px; font-size: 12px; }

@media (max-width: 640px) {
  .dock { padding: 8px; border-radius: 22px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .dock__text { display: none; }
  .dock .btn { width: 100%; }
}

.btn.bk-btn::before { display: none; }
.footer.bk-night { color: rgba(243, 239, 231, 0.6); }
.btn--ghost { min-height: 52px; letter-spacing: 0.14em; }

.field.bk-field { display: flex; margin: 0; }
.bk-field select.input {
  padding-right: 28px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234d472f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.bk-field .input:hover { border-bottom-color: rgba(77, 71, 47, 0.5); }
.field--error.bk-field .input { border-bottom-color: var(--danger); }

.choice { border-radius: 999px; background: rgba(251, 249, 244, 0.7); }
.choice:has(input:checked) { border-color: var(--olive-deep); background: var(--olive-deep); color: var(--paper); }
.choice input:checked { border-color: var(--lime); background: var(--lime); }
.choice input:checked::after { background: var(--olive-deep); }
.choice input[type='checkbox']:checked::after { background: none; border-color: var(--olive-deep); }
@media (max-width: 600px) {
  .bk-top { width: 42px; height: 42px; right: 8px; }
  body:has(form:focus-within) .bk-top { opacity: 0; visibility: hidden; }
}
