:root {
  --paper: #f6f3ec;
  --ink: #1a1714;
  --muted: #4e4943;
  --line: #ddd6ca;
  --pine: #1c3b32;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: var(--paper);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10;
  background: var(--pine);
  color: var(--paper);
  padding: 8px 12px;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top Pine Almanac Strip */
.masthead-bar {
  background: var(--pine);
  color: var(--paper);
  border-bottom: 1px solid rgba(246, 243, 236, 0.2);
}

.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.folio-label,
.status {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

.folio-label {
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: none;
  font-size: 0.88rem;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 68px;
}

/* Editorial Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 18px;
  border-bottom: 3px double var(--pine);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.wordmark {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2rem, 6vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark em {
  font-style: italic;
  font-weight: 500;
}

.mark {
  width: 56px;
  height: 56px;
  display: block;
  flex: none;
}

.footer-mark {
  width: 48px;
  height: 48px;
  flex: none;
  display: block;
  background: var(--paper);
  -webkit-mask: url("mark.svg") center / contain no-repeat;
  mask: url("mark.svg") center / contain no-repeat;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: Newsreader, Georgia, serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 0;
}

.top-nav a:hover {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top-nav .nav-cta {
  padding: 7px 14px;
  border: 1px solid var(--pine);
  background: var(--pine);
  color: var(--paper);
  letter-spacing: 0.14em;
}

.top-nav .nav-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

/* Hero Section */
main {
  padding-top: 36px;
}

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--pine);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--pine);
  font-family: Newsreader, Georgia, serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 8px;
  background: var(--pine);
}

h1 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.9rem, 11vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pine);
}

.deck {
  max-width: 34rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-style: italic;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--pine);
  color: var(--paper);
  border: 1px solid var(--pine);
  text-decoration: none;
  font-family: Newsreader, Georgia, serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.hero-note {
  color: var(--muted);
  font-style: italic;
  font-size: 0.98rem;
}

.plate {
  margin: 0;
  padding: 12px 12px 10px;
  background: var(--paper);
  border: 1px solid var(--pine);
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px rgba(28, 59, 50, 0.35),
    0 20px 38px -28px rgba(26, 23, 20, 0.5);
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.plate-frame {
  border: 1px solid var(--pine);
  overflow: hidden;
  line-height: 0;
}

.plate img {
  display: block;
  width: 100%;
  height: auto;
}

.plate-caption {
  margin-top: 9px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.3;
}

.plate:hover,
.plate:focus-visible,
.plate.is-selected {
  z-index: 3;
  transform: scale(1.03);
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px rgba(28, 59, 50, 0.45),
    0 24px 44px -20px rgba(26, 23, 20, 0.42);
}

/* Engraved Ledger Section */
.ledger-section {
  padding-top: 48px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.section-head .col-title {
  color: var(--pine);
  margin: 0;
}

.section-sub {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-style: italic;
  font-size: 1.12rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--pine);
  border-left: 1px solid var(--pine);
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px 24px;
  background: var(--paper);
  border-right: 1px solid var(--pine);
  border-bottom: 1px solid var(--pine);
}

.feature-card:hover,
.feature-card:focus-within,
.feature-card:has(.is-selected) {
  position: relative;
  z-index: 3;
}

.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.num {
  margin: 0;
  color: var(--pine);
  font-family: Newsreader, Georgia, serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.plate-tag {
  color: var(--muted);
  font-style: italic;
  font-size: 0.88rem;
}

.vignette {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  background: var(--paper);
  border: 1px solid var(--pine);
  padding: 6px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.vignette img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.vignette:has(img:hover),
.vignette:has(img:focus-visible),
.vignette:has(img.is-selected) {
  transform: scale(1.06);
  z-index: 4;
  box-shadow: 0 18px 34px -16px rgba(26, 23, 20, 0.45);
}

.plate.is-selected,
.features img.is-selected {
  cursor: zoom-out;
}

.plate:focus-visible,
.features img:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
}

h2 {
  margin: 0 0 8px;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.card-copy h2::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin-top: 8px;
  background: var(--pine);
  opacity: 0.65;
}

.card-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.48;
}

/* Illustrated Footer Band */
.site-footer {
  color: var(--ink);
}

.footer-band {
  background-color: var(--pine);
  color: var(--paper);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 14px;
}

.footer-top {
  display: grid;
  gap: 32px;
}

.footer-brand .wordmark {
  font-size: clamp(2rem, 7vw, 2.45rem);
}

.tagline {
  margin: 16px 0 0;
  max-width: 26ch;
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.48;
  color: var(--paper);
}

.brand-meta {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: Newsreader, Georgia, serif;
  font-size: 0.98rem;
}

.brand-meta a {
  color: var(--paper);
  text-decoration: none;
  padding: 4px 0;
}

.brand-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-navs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.footer-col a {
  color: var(--paper);
  text-decoration: none;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.38;
  display: inline-block;
  padding: 4px 0;
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.col-title {
  margin: 0 0 14px;
  font-family: Newsreader, Georgia, serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.col-title::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-top: 9px;
  background: currentColor;
  opacity: 0.72;
}

.waitlist-lead {
  margin: 0 0 14px;
  max-width: 26ch;
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.42;
}

.field + .field {
  margin-top: 10px;
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(246, 243, 236, 0.78);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.3;
}

.field input::placeholder {
  color: rgba(246, 243, 236, 0.82);
  font-style: italic;
  opacity: 1;
}

.field input[aria-invalid="true"] {
  border-color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--paper);
}

.email-row {
  display: flex;
  align-items: stretch;
}

.email-row input {
  min-width: 0;
  border-right: 0;
}

.email-row button {
  width: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 243, 236, 0.78);
  background: var(--paper);
  color: var(--pine);
  cursor: pointer;
  padding: 0;
}

.email-row button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--paper);
}

.field-error,
.form-status {
  margin: 8px 0 0;
  min-height: 0;
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--paper);
}

.form-status:empty {
  display: none;
}

.footer-band :focus-visible {
  outline-color: var(--paper);
}

.footer-meta {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.legal-links {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--paper);
}

.legal-links a {
  color: var(--paper);
  text-decoration: none;
  padding: 4px 0;
}

.legal-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links span {
  opacity: 0.65;
}

.landscape {
  line-height: 0;
  background: var(--pine);
}

.landscape img {
  display: block;
  width: 100%;
  height: auto;
}

.fine-print {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px 44px;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.fine-print h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.fine-print p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.96rem;
}

@media (min-width: 720px) {
  .masthead-inner {
    padding: 10px clamp(20px, 4vw, 48px);
  }

  .page {
    padding: 26px clamp(20px, 4vw, 48px) 80px;
  }

  .mark {
    width: 66px;
    height: 66px;
  }

  .wordmark {
    font-size: 2.65rem;
  }

  .footer-mark {
    width: 54px;
    height: 54px;
  }

  main {
    padding-top: 48px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: clamp(28px, 4vw, 56px);
    padding-bottom: 60px;
  }

  h1 {
    font-size: clamp(3.4rem, 5.2vw, 5.1rem);
  }

  .deck {
    margin-top: 22px;
  }

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

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

  .footer-inner {
    padding: 58px clamp(20px, 4vw, 48px) 12px;
  }

  .fine-print {
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
    padding: 28px clamp(20px, 4vw, 48px) 52px;
  }
}

@media (min-width: 1020px) {
  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: minmax(220px, 1.15fr) minmax(0, 1.95fr) minmax(250px, 1.1fr);
    gap: 36px 44px;
    align-items: start;
  }

  .footer-navs {
    grid-template-columns: 0.85fr 1.2fr 0.8fr;
    gap: 24px;
  }

  .footer-brand .wordmark {
    font-size: 2.45rem;
  }

  .plate:hover,
  .plate:focus-visible,
  .plate.is-selected {
    transform: scale(1.04);
  }
}

@media (max-width: 719px) {
  .landscape {
    height: 250px;
    overflow: hidden;
  }

  .landscape img {
    width: 175%;
    max-width: none;
    height: 250px;
    object-fit: cover;
    object-position: 54% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plate,
  .vignette,
  .features img {
    transition: none;
  }
}
