:root {
  --surface: #fbf9f5;
  --surface-low: #f5f3ef;
  --surface-container: #efeeea;
  --surface-high: #e4e2de;
  --text: #1b1c1a;
  --muted: #404944;
  --outline: #bfc9c3;
  --primary: #003527;
  --primary-soft: #064e3b;
  --primary-muted: #80bea6;
  --gold: #735c00;
  --gold-bright: #fed65b;
  --gold-soft: #ffe088;
  --white: #ffffff;
  --max: 1280px;
  --desktop: 64px;
  --mobile: 20px;
  --shadow: 0 24px 70px rgba(6, 78, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  height: 80px;
  z-index: 50;
  background: rgba(251, 249, 245, 0.88);
  border-bottom: 1px solid rgba(191, 201, 195, 0.45);
  backdrop-filter: blur(16px);
  transition: height 220ms ease, box-shadow 220ms ease;
}

.nav.is-compact {
  height: 64px;
  box-shadow: 0 8px 30px rgba(0, 53, 39, 0.06);
}

.nav-inner {
  width: min(100% - 40px, var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  font-family: "EB Garamond", serif;
  font-size: 32px;
  line-height: 1;
  font-style: italic;
  color: var(--primary);
  white-space: nowrap;
}

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

.nav-links a,
.footer-links a,
.eyebrow,
.button,
.small-label,
.field label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.mobile-panel {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button.primary {
  background: var(--primary);
  color: var(--gold-bright);
}

.button.gold {
  background: var(--gold-bright);
  color: var(--primary);
}

.button.ghost {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.button.light {
  border-color: rgba(254, 214, 91, 0.45);
  color: var(--gold-bright);
  background: rgba(6, 78, 59, 0.35);
}

.button:hover {
  transform: translateY(-1px);
}

.metallic {
  position: relative;
  overflow: hidden;
}

.metallic::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-24deg);
}

.metallic:hover::after {
  left: 140%;
  transition: left 760ms ease;
}

.main {
  flex: 1;
}

.hero {
  min-height: 100vh;
  padding-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
}

.hero-copy {
  display: flex;
  align-items: center;
  padding: 80px var(--desktop);
}

.hero-copy-inner {
  max-width: 680px;
}

.eyebrow {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  letter-spacing: 0.3em;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: "EB Garamond", serif;
  color: var(--primary);
  font-weight: 500;
}

h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.04;
}

h3 {
  font-size: 34px;
  line-height: 1.12;
}

p {
  line-height: 1.7;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.hero .lead {
  margin: 28px 0 42px;
}

.hero-actions,
.split-actions,
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px;
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.06), rgba(254, 214, 91, 0.05));
}

.book-stage {
  position: relative;
  width: min(420px, 100%);
  filter: drop-shadow(0 34px 40px rgba(0, 53, 39, 0.22));
  transition: transform 700ms ease;
}

.book-stage:hover {
  transform: rotate(2deg) scale(1.03);
}

.book-stage::before,
.book-stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(115, 92, 0, 0.32);
  pointer-events: none;
}

.book-stage::before {
  width: 92px;
  height: 92px;
  top: -32px;
  right: -34px;
  transform: rotate(45deg);
}

.book-stage::after {
  width: 180px;
  height: 180px;
  left: -70px;
  bottom: -70px;
  opacity: 0.45;
}

.trust-bar {
  overflow: hidden;
  background: var(--surface-container);
  border-block: 1px solid var(--outline);
  padding: 34px 0;
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 78px;
  padding-inline: 40px;
  color: rgba(27, 28, 26, 0.4);
  filter: grayscale(1);
  white-space: nowrap;
}

.marquee span {
  font-family: "EB Garamond", serif;
  font-size: 32px;
}

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

.section {
  padding: 128px 0;
}

.section.tight {
  padding: 88px 0;
}

.band {
  background: var(--surface-low);
}

.dark-band {
  background: var(--primary);
  color: var(--white);
}

.dark-band h1,
.dark-band h2,
.dark-band h3 {
  color: var(--gold-bright);
}

.dark-band .lead,
.dark-band p {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding: 156px 0 84px;
  border-bottom: 1px solid var(--outline);
}

.page-hero .lead {
  margin-top: 22px;
}

.two-col,
.feature-grid,
.product-grid,
.archive-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 48px;
}

.two-col {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--primary-soft);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  width: 128px;
  height: 128px;
  right: -28px;
  bottom: -28px;
  background: var(--gold-bright);
  z-index: -1;
}

.rule-title {
  padding-bottom: 26px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(115, 92, 0, 0.24);
}

.quote {
  margin: 0;
  font-family: "EB Garamond", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  color: var(--primary);
}

.prose {
  max-width: 760px;
}

.prose p {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

.rule {
  height: 1px;
  flex: 1;
  background: var(--outline);
}

.testimonial-grid,
.feature-grid,
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card,
.feature,
.product-card,
.archive-card,
.checkout-card,
.contact-panel,
.policy-card {
  border-left: 2px solid var(--gold);
  background: var(--surface);
  padding: 34px;
}

.testimonial-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stars {
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.small-label {
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  border: 1px solid rgba(254, 214, 91, 0.34);
  background: var(--primary-soft);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.product-card.light-card {
  position: relative;
  background: var(--surface);
  color: var(--text);
  border-color: var(--gold);
}

.product-card h3 {
  color: inherit;
  margin: 12px 0 26px;
}

.product-image {
  aspect-ratio: 1;
  margin: 28px 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 53, 39, 0.5);
  overflow: hidden;
}

.light-card .product-image {
  background: var(--surface-container);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: inherit;
  line-height: 1.55;
}

.check-list .material-symbols-outlined {
  color: var(--gold-bright);
  font-size: 21px;
  margin-top: 1px;
}

.light-card .check-list .material-symbols-outlined,
.feature .material-symbols-outlined,
.archive-card .material-symbols-outlined {
  color: var(--gold);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.price {
  font-family: "EB Garamond", serif;
  font-size: 36px;
  line-height: 1;
  color: var(--gold-bright);
}

.light-card .price {
  color: var(--primary);
}

.badge {
  position: absolute;
  top: -16px;
  right: 34px;
  background: var(--gold);
  color: var(--white);
  padding: 7px 16px;
}

.toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--surface-high);
  border: 1px solid var(--outline);
  margin: 8px 0 28px;
}

.toggle button {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  cursor: pointer;
}

.toggle button.active {
  background: var(--primary);
  color: var(--white);
}

.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature {
  background: transparent;
  border-left: 1px solid rgba(115, 92, 0, 0.32);
  padding: 0 0 0 24px;
}

.feature .number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--gold);
  color: var(--white);
  font-family: "EB Garamond", serif;
  font-size: 28px;
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-card h3 {
  margin: 20px 0 16px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.checkout-card {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.field {
  border-bottom: 1px solid var(--primary);
  padding-bottom: 8px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 7px 0;
  background: transparent;
  color: var(--primary);
}

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

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

.contact-grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.contact-panel {
  background: var(--surface-low);
}

.policy-grid {
  grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
}

.policy-card {
  display: grid;
  gap: 34px;
  border-left: 0;
}

.policy-card section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--outline);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--outline);
  padding: 42px 0;
}

.footer-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.copyright {
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1040px) {
  .hero,
  .two-col,
  .contact-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 620px;
  }

  .testimonial-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions .button {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 49;
    background: var(--surface);
    border-bottom: 1px solid var(--outline);
    padding: 20px;
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .mobile-panel.open {
    display: grid;
    transform: translateY(0);
  }

  .mobile-panel a {
    padding: 16px 0;
    border-bottom: 1px solid var(--outline);
  }

  .hero-copy,
  .hero-media {
    padding: 56px var(--mobile);
  }

  .hero-media {
    min-height: 520px;
  }

  .section {
    padding: 84px 0;
  }

  .page-hero {
    padding-top: 128px;
  }

  .section-head {
    display: block;
  }

  .rule {
    display: none;
  }

  .testimonial-grid,
  .product-grid,
  .archive-grid,
  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-footer,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button,
  .split-actions .button {
    width: auto;
  }
}
