:root {
  --paper: #f3efe6;
  --ink: #1d1a16;
  --muted: #3e3a34;
  --line: #d4cbbd;
  --navy: #0a3161;
  --error: #8c1d1d;
  --error-bg: #f8e8e4;
  --warn: #3f2e0b;
  --warn-bg: #f8efd4;
  --white: #ffffff;
  --focus: #1d1a16;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color-scheme: light;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.05rem); letter-spacing: -0.03em; margin: 0 0 0.6rem; }
h2 { font-size: 1.7rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }

p { margin: 0 0 0.8rem; }

a { color: var(--navy); }
a:hover { color: #072646; }

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 5;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header, .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.9rem 1.25rem;
}

.site-header { border-bottom: 1px solid var(--line); background: #f7f4ee; }

.brand {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 650;
}

.nav-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; }

main { padding: 1.5rem 1.25rem 3rem; max-width: 72rem; margin: 0 auto; }

.site-footer {
  border-top: 1px solid var(--line);
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p { margin: 0; max-width: 40rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 40rem) minmax(12rem, 16rem);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.eyebrow, .micro { color: var(--muted); font-size: 0.95rem; }
.lede { font-size: 1.2rem; max-width: 40rem; }

.cta-row { margin: 1rem 0; }

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover, button:hover { background: #072646; color: var(--white); }

.button.secondary, button.secondary {
  background: transparent;
  color: var(--navy);
}

.button.secondary:hover, button.secondary:hover { background: #e7eef6; color: var(--navy); }

button:disabled { opacity: 0.72; cursor: progress; }

.mini-sheet {
  background: var(--white);
  border: 1px solid var(--line);
  aspect-ratio: 8.5 / 11;
  padding: 0.55rem;
  box-shadow: 0 12px 32px rgba(40, 30, 10, 0.12);
}

.mini-band { background: var(--navy); height: 18%; }
.mini-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 0.4rem; height: 62%; padding-top: 0.45rem; }
.mini-cols div { background: repeating-linear-gradient(var(--line), var(--line) 6px, transparent 6px, transparent 12px); }
.mini-foot { height: 12%; border-top: 2px solid var(--navy); margin-top: 0.35rem; }

.block { margin: 0 0 2.4rem; max-width: 46rem; }
.closing { border-top: 1px solid var(--line); padding-top: 1.5rem; }

.steps, .parts { margin: 0; padding: 0; list-style: none; }
.steps { display: grid; gap: 0.8rem; }
.steps li { background: var(--white); border-top: 4px solid var(--navy); padding: 0.9rem 1rem; }
.parts li { margin: 0 0 0.55rem; }

form { max-width: 44rem; }
fieldset { min-width: 0; border: 1px solid var(--line); margin: 0 0 1.1rem; padding: 0.9rem 1rem 1rem; }
legend { font-weight: 750; padding: 0 0.3rem; }

.field { margin: 0 0 0.95rem; }
label { display: block; font-weight: 680; margin-bottom: 0.25rem; }
.choice { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 600; }
.choices { display: grid; gap: 0.1rem; }

.req { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--error); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #5c564e;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

textarea { resize: vertical; min-height: 3rem; }

input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: #fff8f6;
}

.hint, .form-note { color: var(--muted); font-size: 0.92rem; }
.counter { color: var(--muted); font-size: 0.85rem; margin: 0.25rem 0 0; }
.error { color: var(--error); font-weight: 700; margin: 0.3rem 0 0; }

.error-summary, .banner, .warning {
  padding: 0.75rem 0.9rem;
  margin: 0 0 1rem;
}

.error-summary { background: var(--error-bg); border: 1px solid var(--error); }
.error-summary h2 { font-size: 1.25rem; }
.error-summary a { color: #6f1212; }
.banner { background: #e7eef6; border: 1px solid var(--navy); }

.actions, .toolbar-row, .waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.swatch {
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid var(--ink);
  display: inline-block;
  flex: 0 0 auto;
}
.swatch-navy { background: #0a3161; }
.swatch-forest { background: #0c4a3e; }
.swatch-wine { background: #6e1e2e; }
.swatch-slate { background: #1e3348; }

.waitlist { margin-top: 1.25rem; max-width: 36rem; }
.waitlist-title { font-family: Georgia, "Iowan Old Style", Palatino, serif; font-size: 1.45rem; font-weight: 700; margin: 0 0 0.4rem; }
.waitlist-row { align-items: flex-end; }
.waitlist-row input { min-width: 16rem; flex: 1; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.preview main { max-width: none; padding: 0 0 2rem; }
.toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem 1rem;
  background: #f7f4ee;
  border-bottom: 1px solid var(--line);
}
.toolbar .hint, .disclaimer { max-width: 46rem; }
.warning {
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid #8a6a22;
  max-width: 46rem;
}
.accent-form { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; }
.accent-form fieldset { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; align-items: center; border: 0; margin: 0; padding: 0; }
.accent-form legend { padding: 0; }

.preview-stage {
  background: #cfc6b8;
  overflow-x: auto;
  padding: 1.25rem 1rem 2.5rem;
}

[hidden] { display: none !important; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mini-sheet { max-width: 14rem; }
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

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

@media print {
  body.preview .site-header,
  body.preview .site-footer,
  body.preview .skip-link,
  body.preview .no-print { display: none !important; }
  body.preview { background: #fff; }
  body.preview main { padding: 0; margin: 0; }
}
