:root {
  --bg: #f3f2f2;
  --surface: #f8f4f4;
  --surface-2: #eae9e9;
  --ink: #201f1d;
  --ink-2: #444141;
  --ink-3: #605d5d;
  --border: #d7d3d3;
  --border-2: #bab6b6;
  --rule: rgba(32, 31, 29, .16);
  --gold: #b68235;
  --gold-dark: #7d5411;
  --gold-hover-bg: #fff3e4;
  --dark-bg: #1a1917;
  --dark-surface: #232120;
  --dark-border: #444141;
  --dark-ink-2: #bab6b6;
  --gold-light: #e1ad66;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  font-family: "Lora", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--ink); }
input, button { font-family: "Lora", Georgia, serif; }
::placeholder { color: var(--ink-3); }

#scroll-wrap {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

#scroll {
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: auto;
}
#scroll { scrollbar-width: none; }
#scroll::-webkit-scrollbar { display: none; }

/* Nav */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  height: 74px;
  background: rgba(243, 242, 242, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: background .6s ease, border-color .6s ease, color .6s ease;
  color: var(--ink);
}
#nav.dark {
  background: rgba(26, 25, 23, .9);
  border-bottom-color: rgba(243, 242, 242, .16);
  color: #f3f2f2;
}
.nav-name {
  font: 500 clamp(16px, 1.6vw, 21px)/1 "Cormorant Garamond", serif;
  letter-spacing: .02em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 36px);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links {
  display: flex;
  gap: clamp(14px, 1.9vw, 28px);
  font: 400 clamp(12px, 1.05vw, 14px)/1 Lora, serif;
}
.nav-links a { color: inherit; opacity: .78; }
#nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font: 500 clamp(11px, .95vw, 13px)/1 Lora, serif;
  letter-spacing: .02em;
  color: var(--gold-dark);
  white-space: nowrap;
}
#nav.dark #nav-cta { color: var(--gold-light); }

/* Dot rail */
#rail {
  position: fixed;
  right: clamp(14px, 2.2vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
#rail a {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  opacity: .5;
  transition: all .45s cubic-bezier(.2, .7, .2, 1);
}
#rail a.active {
  background: var(--gold);
  opacity: 1;
  transform: scale(1.25);
}
#rail.dark a { border-color: var(--gold-light); }
#rail.dark a.active { background: var(--gold-light); }
@media (max-width: 760px) {
  #rail { display: none; }
}

/* Sections */
.screen {
  min-height: 100dvh;
  box-sizing: border-box;
  border-bottom: 1px solid var(--rule);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.plate-frame.reveal, .book-cover-frame.reveal {
  transition-duration: 1s;
}

.rule-short { width: clamp(28px, 3vw, 46px); height: 1px; background: var(--gold); }
.kicker-row { display: flex; align-items: center; gap: 14px; }
.kicker {
  font: 500 clamp(9px, .8vw, 11px)/1 Lora, serif;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.kicker.muted { color: var(--ink-3); letter-spacing: .22em; }
.kicker.gold-light { color: var(--gold-light); letter-spacing: .22em; }

.h2 {
  font: 300 clamp(34px, 4.2vw, 54px)/1.08 "Cormorant Garamond", serif;
  color: var(--ink);
}
.h2.small { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; }

.body-copy {
  margin: 0;
  font: 400 clamp(14px, 1.2vw, 16.5px)/1.8 Lora, serif;
  color: var(--ink-2);
  text-wrap: pretty;
}
.body-copy.justify { text-align: justify; hyphens: auto; }
.body-copy.dark { color: var(--dark-ink-2); }

.stack { display: flex; flex-direction: column; gap: 18px; }

.two-col {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.btn {
  display: inline-block;
  padding: 16px 34px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font: 500 14px/1 Lora, serif;
  letter-spacing: .03em;
  cursor: pointer;
  background: transparent;
}
.btn-outline { color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold-hover-bg); }
.btn-block { display: block; width: 100%; padding: 16px 24px; }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 72px) 80px;
}
.hero-inner {
  max-width: 1020px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 30px);
}
.hero h1 {
  margin: 0;
  font: 300 clamp(48px, 8.4vw, 118px)/.92 "Cormorant Garamond", serif;
  letter-spacing: -.01em;
  color: var(--ink);
}
.hero .lede {
  margin: 0;
  max-width: 660px;
  font: 400 clamp(15px, 1.4vw, 20px)/1.8 Lora, serif;
  color: var(--ink-2);
  text-wrap: pretty;
}
.scroll-hint {
  gap: 12px;
  margin-top: clamp(10px, 2vw, 24px);
  font: 400 11px/1 Lora, serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scroll-hint .rule-short { width: 44px; background: var(--border-2); }

/* Newsletter */
.newsletter {
  display: flex;
  align-items: center;
  padding: 110px clamp(20px, 5vw, 72px) 80px;
}
.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  width: 100%;
  padding-top: 6px;
}
#subscribed-card[hidden] { display: none; }
.confirm-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  background: var(--surface);
}
.confirm-copy { font: 400 15px/1.75 Lora, serif; color: var(--ink-2); }
#subscribe-form { display: flex; flex-direction: column; gap: 16px; }
#subscribe-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-label {
  font: 500 10.5px/1 Lora, serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  background: var(--surface);
  outline: none;
  padding: 16px;
  font: 400 15px/1.2 Lora, serif;
  color: var(--ink);
}
.helper { font: 400 12px/1.7 Lora, serif; color: var(--ink-3); }

/* About */
.about {
  display: flex;
  align-items: center;
  padding: clamp(84px, 11dvh, 110px) clamp(20px, 5vw, 72px) clamp(36px, 6dvh, 80px);
}
.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4.4vw, 72px);
  align-items: center;
}
.plate-frame {
  max-width: min(400px, 42dvh);
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.plate-frame img { display: block; width: 100%; height: auto; border-radius: 1px; }
.about-copy { gap: clamp(10px, 1.3dvh, 24px); }
.about .h2 {
  font-size: clamp(26px, min(3.4vw, 5.2dvh), 46px);
  line-height: 1.14;
  max-width: 620px;
}
.about .body-copy { max-width: 640px; font-size: clamp(12.5px, min(1.2vw, 2dvh), 16.5px); line-height: 1.68; }

/* Book */
.book {
  display: flex;
  align-items: center;
  padding: clamp(92px, 13dvh, 110px) clamp(20px, 5vw, 72px) clamp(48px, 9dvh, 80px);
  background: var(--dark-bg);
  color: #f3f2f2;
}
.book-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4.8vw, 80px);
  align-items: center;
}
.book-text { gap: clamp(11px, 1.6dvh, 26px); order: 1; }
.h1-serif {
  font: 300 clamp(30px, min(4.6vw, 7dvh), 60px)/1.08 "Cormorant Garamond", serif;
  color: #f8f4f4;
}
.eyebrow {
  font: 400 clamp(10px, 1vw, 13px)/1.5 Lora, serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--border-2);
}
.pullquote {
  font: 300 italic clamp(18px, min(2.4vw, 3.6dvh), 30px)/1.45 "Cormorant Garamond", serif;
  color: var(--gold-light);
  max-width: 700px;
  padding-left: clamp(16px, 1.8vw, 26px);
  border-left: 1px solid var(--gold-dark);
}
.book .body-copy.dark { max-width: 620px; font-size: clamp(12.5px, min(1.15vw, 2dvh), 16px); line-height: 1.75; }
.book-cta { align-self: flex-start; color: var(--gold-light); margin-top: 8px; }
.book-cta:hover { background: rgba(182, 130, 53, .14); }
.book-cover-frame {
  order: 2;
  justify-self: center;
  max-width: min(340px, 38dvh);
  width: 100%;
  padding: 12px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}
.book-cover-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .book-text { order: 2; }
  .book-cover-frame { order: 1; }
}

/* Contact */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(88px, 12dvh, 110px) clamp(20px, 5vw, 72px) 0;
}
.contact-grid {
  gap: clamp(24px, 4.8vw, 80px);
  align-items: end;
  flex: 1;
  align-content: center;
  padding-bottom: clamp(24px, 4dvh, 48px);
}
.contact .h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.14; }
.email-link {
  font: 400 clamp(18px, 2vw, 26px)/1.3 "Cormorant Garamond", serif;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  align-self: flex-start;
}
.social-list { display: flex; flex-direction: column; }
.social-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.social-list a.last { border-bottom: 1px solid var(--rule); }
.social-name { display: flex; align-items: center; gap: 14px; }
.social-name .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.social-name { font: 400 clamp(15px, 1.5vw, 18px)/1 "Cormorant Garamond", serif; letter-spacing: .02em; }
.social-handle { font: 400 12px/1 Lora, serif; color: var(--ink-3); }

.footer {
  padding: clamp(28px, 3dvh, 44px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.footer-name { font: 500 clamp(18px, 1.9vw, 24px)/1 "Cormorant Garamond", serif; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font: 400 13.5px/1 Lora, serif; }
.footer-links a { color: var(--ink-3); }
.footer-copy { font: 400 11.5px/1 Lora, serif; color: var(--ink-3); font-variant-numeric: tabular-nums; }
