/* ============================================================
   Goose Cloud — Editorial Magazine
   Palette: warm cream paper, ink brown, single ochre accent
   ============================================================ */

:root {
  --paper:      #f4ecdc;
  --paper-2:    #efe7d3;   /* section warm variant */
  --paper-3:    #e9dfc5;   /* rules / dividers hover */
  --ink:        #1c1712;
  --ink-2:      #2e261c;
  --ink-3:      #52422e;
  --ink-4:      #6e5c46;
  --rule:       #2a2018;
  --rule-soft:  rgba(35,30,24,.16);
  --accent:     #b8621b;   /* warm ochre */
  --accent-2:   #8f4a12;
  --highlight:  #f7d98b;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 56px);

  --shadow-soft: 0 1px 2px rgba(35,30,24,.06), 0 12px 40px -20px rgba(35,30,24,.28);
  --shadow-inset: inset 0 0 0 1px rgba(35,30,24,.08);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(rgba(35,30,24,.035) 1px, transparent 1px);
  background-size: 4px 4px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

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

/* ---------- typography ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent-2); font-weight: 500; }

.masthead-line, .figcap-label, .section__eyebrow, .price-card__eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}

/* ---------- masthead (dark bar for contrast) ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
  transition: box-shadow .25s ease;
}
.masthead.is-scrolled { box-shadow: 0 6px 24px -12px rgba(28,23,18,.55); }
.masthead__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: var(--highlight); }
.brand__mark { width: 32px; height: 26px; color: currentColor; }
.brand__type { white-space: nowrap; }
.nav { justify-self: center; display: flex; gap: 22px; }
.nav a { font-size: 14px; color: rgba(244,236,220,.85); text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--highlight); border-bottom-color: var(--highlight); }
@media (max-width: 820px) {
  .nav { display: none; }
  .masthead__inner { grid-template-columns: auto auto; }
  .cta--sm { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 420px) {
  .cta--sm .arrow, .cta--sm-arrow-hide { display: none; }
}

/* ---------- CTA buttons ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 600; font-size: 15px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 1px 0 rgba(35,30,24,.08);
  white-space: nowrap;
}
.cta:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--paper); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(143,74,18,.5); }
.cta--sm { padding: 10px 16px; font-size: 14px; }
.cta--lg { padding: 18px 30px; font-size: 17px; }
.cta--dark { background: var(--ink); color: var(--paper); }
.cta--ghost {
  background: transparent;
  border: 1.5px solid var(--highlight);
  color: var(--highlight);
  box-shadow: none;
}
.cta--ghost:hover { background: var(--highlight); border-color: var(--highlight); color: var(--ink); transform: translateY(-1px); box-shadow: none; }
.link-arrow { font-weight: 600; color: var(--ink-2); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--rule-soft); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent-2); border-bottom-color: currentColor; }
a:focus-visible, .cta:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- COVER / hero ---------- */
.cover {
  border-bottom: 1px solid var(--rule);
  padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(48px, 7vw, 88px);
}
.cover__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.cover__meta {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.rule { flex: 0 0 40px; height: 1px; background: var(--ink); }
.cover__type { padding-top: 8px; }
.cover__hed {
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 20px;
}
.cover__hed em { font-family: var(--serif); }
.cover__deck { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 52ch; margin: 0 0 28px; }
.cover__deck a { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; }
.cover__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.cover__assure { font-size: 13px; color: var(--ink-3); margin: 0 0 28px; }
.cover__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--ink-3); }
.cover__ticks li { position: relative; padding-left: 14px; }
.cover__ticks li::before { content: "·"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cover__ticks b { color: var(--ink); font-weight: 600; }

.cover__illo {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  order: 0;
}
.cover__illo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 8px 16px rgba(35,30,24,.08));
}

.cover__sidebar {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.cover__quotewrap { max-width: 46ch; }
.pullquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 12px;
}
.pullquote__by { font-size: 13px; color: var(--ink-3); margin: 0; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-left: 1px solid var(--rule); padding-left: 24px; }
.stats > div { min-width: 0; }
.stats dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.stats dd { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--ink); line-height: 1.3; }

@media (max-width: 820px) {
  .cover__grid { grid-template-columns: 1fr; }
  .cover__illo { grid-row: auto; grid-column: 1 / -1; max-width: 320px; margin: 0 auto; order: -1; }
  .cover__sidebar { grid-template-columns: 1fr; gap: 24px; }
  .stats { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; grid-template-columns: 1fr 1fr; }
  .cover__hed { font-size: clamp(44px, 12vw, 72px); }
}

/* ---------- SECTION SHARED ---------- */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
}
.section--rules { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--warm { background: var(--paper-2); max-width: none; }
.section--warm > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.section__eyebrow {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 12px; margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.section__eyebrow span:first-child { color: var(--accent-2); }
.section__eyebrow span:first-child::after { content: "·"; margin-left: 16px; color: var(--ink-4); }

.section__hed-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section__hed {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 100;
  max-width: 16ch;
}
.section__deck { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); margin: 0 0 6px; line-height: 1.6; }
@media (max-width: 920px) {
  .section__hed-wrap { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section__deck { margin-bottom: 0; }
}

/* ---------- TWO-COLUMN EDITORIAL ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: 56px;
}
.lede { font-size: 20px; line-height: 1.55; color: var(--ink); margin-top: 0; }
.dropcap {
  float: left;
  font-family: var(--serif);
  font-size: 78px;
  line-height: 0.9;
  font-weight: 600;
  color: var(--accent-2);
  margin: 4px 12px 0 0;
  font-variation-settings: "opsz" 144;
}
.two-col__body p { margin: 0 0 16px; color: var(--ink-2); max-width: 60ch; }
.two-col__body p em { color: var(--ink); font-style: italic; }
.two-col__quote { border-left: 3px solid var(--accent); padding-left: 24px; align-self: start; margin-top: 8px; }
.mag-quote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; margin: 0; color: var(--ink); }
.mag-quote em { color: var(--accent-2); font-style: italic; }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col__quote { border-left: none; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 24px; }
}

/* ---------- THREE-UP CARDS ---------- */
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card-lite { padding: 24px 0; border-top: 1px solid var(--rule); }
.card-lite__num { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--accent-2); margin-bottom: 12px; letter-spacing: 0.02em; }
.card-lite h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.card-lite p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
@media (max-width: 820px) { .three-up { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- BLEED IMAGE ---------- */
.bleed {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 40px var(--gutter) 32px;
}
.bleed img { max-width: 1400px; width: 100%; margin: 0 auto; }
.bleed__caption { font-family: var(--serif); font-style: italic; text-align: center; font-size: 15px; color: var(--ink-3); margin: 16px auto 0; max-width: 60ch; }

/* ---------- STEPS ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: none; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps__num { font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--accent-2); letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.steps h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-2); max-width: 65ch; font-size: 17px; }
.steps b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .steps li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; } .steps__num { font-size: 28px; } }

/* ---------- UI FIGURES ---------- */
.ui-figure { margin: 0 0 48px; }
.ui-figure--wide { margin-top: 24px; }
.ui-frame {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ui-frame__chrome {
  display: flex; gap: 6px; padding: 10px 14px;
  background: linear-gradient(#f2eadb, #e9dfc5);
  border-bottom: 1px solid var(--rule-soft);
}
.ui-frame__chrome span { width: 10px; height: 10px; border-radius: 50%; background: #d9caa8; box-shadow: inset 0 0 0 1px rgba(35,30,24,.15); }
.ui-frame__chrome span:nth-child(1) { background: #e88a70; }
.ui-frame__chrome span:nth-child(2) { background: #e6c56a; }
.ui-frame__chrome span:nth-child(3) { background: #86b378; }
.ui-frame img { display: block; width: 100%; height: auto; background: #f5f6f7; }

.ui-figure figcaption { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; max-width: 70ch; }
.ui-figure figcaption p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.figcap-label { color: var(--accent-2); white-space: nowrap; }

.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 40px); margin-bottom: 8px; align-items: start; }
.ui-grid .ui-figure { margin-bottom: 0; }
/* Equalize the two side-by-side screenshots: same frame ratio, cropped from the top edge */
.ui-grid .ui-frame img { aspect-ratio: 1400 / 940; object-fit: cover; object-position: top center; width: 100%; height: auto; }
.ui-grid .ui-figure figcaption { grid-template-columns: 1fr; gap: 6px; align-content: start; }
@media (max-width: 920px) {
  .ui-grid { grid-template-columns: 1fr; gap: 40px; }
  .ui-grid .ui-frame img { aspect-ratio: auto; object-fit: initial; }
  .ui-figure figcaption { grid-template-columns: 1fr; gap: 6px; }
  .ui-figure { margin-bottom: 40px; }
}

/* ---------- SPOT ILLUSTRATIONS ---------- */
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 0; }
.spot--flip img { order: 2; }
.spot--flip figcaption { order: 1; }
.spot img { width: 100%; max-width: 420px; }
.spot figcaption h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.spot figcaption p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
@media (max-width: 820px) {
  .spot-grid { grid-template-columns: 1fr; gap: 40px; }
  .spot, .spot--flip { grid-template-columns: 1fr; gap: 16px; text-align: center; justify-items: center; }
  .spot--flip img, .spot--flip figcaption { order: initial; }
  .spot img { max-width: 260px; margin: 0 auto; }
  .section__hed { font-size: clamp(30px, 7vw, 44px); max-width: none; }
  .bleed img { max-height: 60vh; object-fit: contain; }
}

/* ---------- PRICING ---------- */
.price-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.price-card__col--main { padding: 48px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.price-card__col--main .price-card__eyebrow { color: var(--highlight); }
.price-card__price { display: flex; align-items: baseline; gap: 2px; margin-top: 8px; color: var(--paper); }
.price-card__sym { font-family: var(--serif); font-size: 34px; color: var(--paper); align-self: start; margin-top: 12px; }
.price-card__amt { font-family: var(--serif); font-size: clamp(72px, 10vw, 108px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--paper); font-variation-settings: "opsz" 144; }
.price-card__cents { font-family: var(--serif); font-size: 34px; color: var(--paper); }
.price-card__per { font-size: 15px; color: rgba(244,236,220,.8); margin-left: 8px; }
.price-card__lede { margin: 18px 0 24px; font-size: 16px; color: rgba(244,236,220,.92); max-width: 34ch; }
.price-card__col--main .cta { background: var(--highlight); border-color: var(--highlight); color: var(--ink); align-self: flex-start; }
.price-card__col--main .cta:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.price-card__fine { font-size: 12px; color: rgba(244,236,220,.78); margin-top: 12px; }

.price-card__list { list-style: none; margin: 0; padding: 40px 48px; display: grid; gap: 14px; align-content: center; background: var(--paper); }
.price-card__list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card__list b { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) {
  .price-card { grid-template-columns: 1fr; }
  .price-card__col--main, .price-card__list { padding: 32px 28px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-family: var(--serif); font-size: 24px; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--ink-2); max-width: 65ch; line-height: 1.6; }
.faq a { color: var(--accent-2); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: var(--paper);
  text-align: center;
  padding: clamp(56px, 9vw, 112px) var(--gutter);
  border-top: 1px solid var(--ink);
}
.cta-band__hed {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  margin: 0 0 32px;
  color: var(--paper);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.cta-band .cta--dark { background: var(--highlight); border-color: var(--highlight); color: var(--ink); }
.cta-band .cta--dark:hover { background: var(--paper); border-color: var(--paper); }
.cta-band__fine { font-size: 13px; color: rgba(244,236,220,.8); margin: 18px 0 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--rule); background: var(--paper-2); padding: 40px var(--gutter); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; color: var(--ink); }
.footer__mark svg { width: 28px; height: 22px; color: var(--ink); }
.footer__note { margin: 0; font-size: 13px; color: var(--ink-3); max-width: 60ch; text-align: center; }
.footer__note a { color: var(--ink-2); }
.footer__meta { margin: 0; font-size: 12px; color: var(--ink-4); text-align: right; }
.footer__meta a { color: var(--ink-3); }
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand, .footer__note, .footer__meta { justify-self: center; text-align: center; }
}

/* ---------- reveal animation (IntersectionObserver based, feature-detected) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== page styles ===== */

:root {
  --paper: #f4ecdc; --paper-2: #efe7d3; --ink: #1c1712; --ink-2: #2e261c; --ink-3: #52422e;
  --rule: #2a2018; --rule-soft: rgba(35,30,24,.16); --accent: #b8621b; --accent-2: #8f4a12; --highlight: #f7d98b;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 56px);
  --shadow-soft: 0 1px 2px rgba(35,30,24,.06), 0 12px 40px -20px rgba(35,30,24,.28);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; background-image: radial-gradient(rgba(35,30,24,.035) 1px, transparent 1px); background-size: 4px 4px; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1,h2,h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
h1 em { font-style: italic; color: var(--accent-2); }
a:focus-visible, .cta:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.masthead { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--paper); }
.masthead__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font-family: var(--serif); font-weight: 700; font-size: 20px; }
.brand:hover { color: var(--highlight); }
.brand svg { width: 32px; height: 26px; color: currentColor; }
.back-link { font-size: 14px; font-weight: 600; color: rgba(244,236,220,.85); text-decoration: none; border: 1px solid rgba(244,236,220,.4); border-radius: 999px; padding: 9px 16px; min-height: 44px; display: inline-flex; align-items: center; }
.back-link:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }

.page { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 104px); }
.page__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent-2); border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 32px; }
.page__hed { font-size: clamp(40px, 6vw, 76px); line-height: 1.0; margin-bottom: 16px; }
.page__deck { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink-2); max-width: 56ch; margin: 0 0 48px; }

.checkout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.panel { background: #fffdf7; border: 1px solid var(--rule); border-radius: 16px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.panel h2 { font-size: 26px; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 10px; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.field__hint { font-size: 13px; color: var(--ink-3); margin: 6px 0 0; }
.field--error input { border-color: #a03414; }
.field__error { display: none; font-size: 13px; color: #a03414; margin: 6px 0 0; font-weight: 500; }
.field--error .field__error { display: block; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 15px 24px; font-family: var(--sans); font-weight: 600; font-size: 16px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 999px; border: 1px solid var(--ink); cursor: pointer; transition: transform .18s ease, background .18s ease; }
.cta:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--paper); transform: translateY(-1px); }
.form-fine { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.form-fine a { color: var(--ink-2); }

.summary { position: sticky; top: 92px; }
.summary .panel { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.summary h2 { color: var(--highlight); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; margin-bottom: 18px; }
.summary__price { font-family: var(--serif); font-size: 56px; line-height: 1; margin-bottom: 4px; }
.summary__per { font-size: 14px; color: rgba(244,236,220,.8); margin: 0 0 22px; }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.summary li { position: relative; padding-left: 24px; font-size: 14.5px; color: rgba(244,236,220,.92); line-height: 1.45; }
.summary li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 7px; border-left: 2px solid var(--highlight); border-bottom: 2px solid var(--highlight); transform: rotate(-45deg); }
.summary__divider { border: 0; border-top: 1px solid rgba(244,236,220,.2); margin: 22px 0; }
.summary__note { font-size: 12.5px; color: rgba(244,236,220,.78); margin: 0; }

.confirm { display: none; text-align: center; padding: clamp(48px, 8vw, 96px) 0; }
.confirm h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.confirm p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 28px; }
.confirm .cta { width: auto; }

.footer { border-top: 1px solid var(--rule); background: var(--paper-2); padding: 36px var(--gutter); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-3); }
.footer__inner a { color: var(--ink-2); }

@media (max-width: 880px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}

/* ===== page styles ===== */

:root {
  --paper: #f4ecdc; --paper-2: #efe7d3; --ink: #1c1712; --ink-2: #2e261c; --ink-3: #52422e;
  --rule: #2a2018; --rule-soft: rgba(35,30,24,.16); --accent: #b8621b; --accent-2: #8f4a12; --highlight: #f7d98b;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --wrap: 860px; --gutter: clamp(20px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; background-image: radial-gradient(rgba(35,30,24,.035) 1px, transparent 1px); background-size: 4px 4px; }
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.masthead { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--paper); }
.masthead__inner { max-width: 1200px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font-family: var(--serif); font-weight: 700; font-size: 20px; }
.brand:hover { color: var(--highlight); }
.brand svg { width: 32px; height: 26px; color: currentColor; }
.back-link { font-size: 14px; font-weight: 600; color: rgba(244,236,220,.85); text-decoration: none; border: 1px solid rgba(244,236,220,.4); border-radius: 999px; padding: 9px 16px; min-height: 44px; display: inline-flex; align-items: center; }
.back-link:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }

.page { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 104px); }
.page__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent-2); border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 32px; }
.page__hed { font-size: clamp(38px, 5.5vw, 64px); line-height: 1.02; margin-bottom: 12px; }
.page__updated { font-size: 14px; color: var(--ink-3); margin: 0 0 44px; }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--rule-soft); }
.doc p, .doc li { color: var(--ink-2); max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc .placeholder { font-style: italic; color: var(--ink-3); }

.footer { border-top: 1px solid var(--rule); background: var(--paper-2); padding: 36px var(--gutter); }
.footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-3); }
.footer__inner a { color: var(--ink-2); }