:root {
  --plum: #4A2C6A;
  --ink: #141014;
  --cream: #FBF9F7;
  --blush: #F3EEF2;
  --soft: #E3D8E2;
  --muted: #5E5068;
  --lilac: #B99AD8;
  --focus: #C79A3A;
  --error: #9B1C2E;
  --radius: 14px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Masthead */
.masthead { border-bottom: 1.5px solid var(--ink); background: var(--cream); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.masthead-link { font-size: 15px; font-weight: 600; color: var(--plum); text-align: right; }

/* Hero */
.hero { background: var(--blush); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--plum); }
h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.01em; }
.lede { font-size: 19px; margin: 0 0 10px; max-width: 34em; }
.byline { margin: 0 0 28px; color: var(--muted); font-weight: 600; }
.hero-cover img { border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); border-radius: 4px; max-width: 320px; margin-left: auto; }

.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.terms div { padding: 14px 16px; border-right: 1px solid var(--soft); border-bottom: 1px solid var(--soft); }
.terms div:nth-child(3n) { border-right: 0; }
.terms div:nth-last-child(-n+3) { border-bottom: 0; }
.terms dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; line-height: 1.35; }
.terms dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 500; font-size: 19px; }

/* Order form */
.order { padding: 56px 0 72px; }
.step { border: 0; padding: 0; margin: 0 0 48px; min-width: 0; }
legend { font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1.2; margin-bottom: 20px; padding: 0; display: flex; gap: 14px; align-items: center; }
.step-number { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--plum); color: #fff; font-family: var(--font-body); font-size: 18px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); }
.subhead { font-family: var(--font-head); font-weight: 500; font-size: 20px; margin: 28px 0 14px; }
.hint { margin: -8px 0 16px; color: var(--muted); }

.options { display: grid; gap: 12px; }
.option { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; cursor: pointer; transition: background .15s ease, box-shadow .15s ease; }
.option:has(input:checked) { background: var(--soft); box-shadow: 4px 4px 0 var(--ink); }
.option > input { margin-top: 5px; }
.option-body { display: grid; gap: 2px; }
.option-title { font-weight: 600; font-size: 18px; }
.option-text { color: var(--muted); }
.qty { display: none; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.qty.is-visible { display: flex; }
.qty label { font-weight: 600; font-size: 15px; }
.qty input { width: 110px; }

input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--plum); flex: none; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.span-2 { grid-column: span 2; }
.field { display: grid; gap: 6px; margin-bottom: 4px; }
.field label { font-weight: 600; font-size: 15px; }
.req { color: var(--plum); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--blush);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 11px 13px;
  min-height: 48px;
}
input::placeholder, textarea::placeholder { color: #7A6E80; }
textarea { resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); border-width: 2px; }
.field-msg { color: var(--error); font-size: 14px; font-weight: 600; }

.checks { display: grid; gap: 10px; margin-bottom: 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check span { padding-top: 0; }
.check input { margin-top: 3px; }
.confirm { margin: 18px 0 24px; padding: 14px 16px; background: var(--blush); border-radius: var(--radius); }
.confirm.has-error { outline: 2px solid var(--error); }

.summary { border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--cream); padding: 20px 22px; margin-bottom: 24px; }
.summary p { margin: 0; }
.summary-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; font-weight: 600; color: var(--lilac); }
.summary-line { font-family: var(--font-head); font-size: 22px; font-weight: 500; margin-top: 4px !important; }
.summary-total { color: var(--cream); opacity: .9; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 18px/1 var(--font-body);
  color: #fff; background: var(--plum);
  border: 2.5px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 17px 34px; min-height: 56px; cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
.after { color: var(--muted); margin: 14px 0 0; }
.form-error { color: var(--error); font-weight: 600; margin: 0 0 16px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 36px 0; }
.site-footer a { color: var(--lilac); }
.site-footer p { margin: 0 0 6px; }
.site-footer .small { font-size: 14px; opacity: .85; }

/* Thank you */
.thanks { padding: 80px 0 96px; text-align: left; }
.thanks h1 { margin-bottom: 14px; }
.thanks .lede { margin-bottom: 28px; }
.thanks-cover { max-width: 180px; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); border-radius: 4px; margin-bottom: 32px; }
.btn-secondary { display: inline-flex; align-items: center; font: 600 17px/1 var(--font-body); color: var(--ink); background: transparent; border: 2.5px solid var(--ink); border-radius: 999px; padding: 15px 28px; text-decoration: none; }

@media (max-width: 860px) {
  .hero { padding: 36px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cover { order: -1; }
  .hero-cover img { max-width: 200px; margin: 0; box-shadow: 6px 6px 0 var(--ink); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .masthead-link { font-size: 13px; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms div { border-right: 1px solid var(--soft) !important; border-bottom: 1px solid var(--soft) !important; }
  .terms div:nth-child(2n) { border-right: 0 !important; }
  .terms div:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  legend { font-size: 22px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
