:root {
  --paper: #f4eee4;
  --paper-deep: #e7dccb;
  --card: #fffaf3;
  --ink: #1b140f;
  --muted: #5c4b3e;
  --line: rgba(27, 20, 15, 0.14);
  --oxblood: #7d221c;
  --oxblood-dark: #541612;
  --brass: #9c7340;
  --brass-bright: #d7b57a;
  --pine: #243028;
  --pine-deep: #18211b;
  --shadow: 0 20px 50px rgba(48, 28, 12, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 500px at 10% -10%, rgba(215, 181, 122, 0.18), transparent 50%), var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oxblood-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 640; line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 4.5vw, 2.2rem); }
p { margin: 0 0 14px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 30; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--brass); margin-bottom: 10px; }
.lede { font-size: 1.12rem; color: var(--muted); }
.flag { display: inline-block; font-style: normal; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 999px; background: #fff3c4; color: #5a4300; border: 1px dashed #b38b00; vertical-align: middle; }

/* Bars */
.demo-bar { background: var(--ink); color: #f4eee4; text-align: center; font-size: 0.85rem; padding: 7px 16px; }
.holiday-bar { background: var(--pine); color: #f4eee4; text-align: center; font-size: 0.95rem; padding: 10px 16px; border-bottom: 3px solid var(--oxblood); }
.holiday-bar p { margin: 0; }
.holiday-bar strong { color: var(--brass-bright); }
.sprig { display: inline-block; width: 14px; height: 14px; vertical-align: -1px; margin-right: 4px; background: radial-gradient(circle at 70% 75%, var(--oxblood) 0 2.5px, transparent 3px), radial-gradient(circle at 45% 80%, #a33a2f 0 2.5px, transparent 3px), linear-gradient(135deg, transparent 40%, #4f7a5a 40% 60%, transparent 60%); border-radius: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(244, 238, 228, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img {
  display: block;
  width: auto;
  height: 52px;
}
@media (min-width: 860px) {
  .brand img { height: 60px; }
}
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-family: var(--serif); font-size: 1.2rem; }
.brand span span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-top: 3px; }
.site-header nav { display: none; gap: 20px; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--oxblood); }
@media (min-width: 860px) { .site-header nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--oxblood); color: #fff; }
.btn-primary:hover { background: var(--oxblood-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.btn-wide { width: 100%; font-size: 1.05rem; }

/* Hero */
.hero { padding: 24px 0 40px; }
.holiday .hero { background: linear-gradient(180deg, rgba(36, 48, 40, 0.10), transparent 70%); }
.hero-grid { display: grid; gap: 24px; }
.hero-photo { margin: 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); position: relative; }
.holiday .hero-photo { border: 3px solid var(--pine); }
.hero-photo [data-gallery-main] img { width: 100%; height: auto; object-fit: contain; background: #fff; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 0 4px 10px; background: #fff; }
.gallery-thumbs button { display: block; width: 100%; margin: 0; padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: #f3f3f3; cursor: pointer; }
.gallery-thumbs button:hover { border-color: var(--brass); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--oxblood); box-shadow: inset 0 0 0 1px var(--oxblood); }
.gallery-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.buy-panel h1 { margin-bottom: 14px; }
.gift-line { font-family: var(--serif); font-size: 1.25rem; color: var(--pine); }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price strong { font-family: var(--serif); font-size: 2rem; }
.price span { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 460px 1fr; gap: 56px; align-items: start; }
  .hero-photo { position: sticky; top: 90px; }
  .holiday .hero-photo { position: sticky; }
}

/* Form */
.buy-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.sizes { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sizes legend { font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; width: 100%; }
.sizes legend a { font-weight: 500; font-size: 0.9rem; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sizes span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; border: 2px solid var(--line); border-radius: 12px; background: #fff; text-align: center; padding: 6px 2px; }
.sizes strong { font-size: 1.1rem; }
.sizes small { font-size: 0.74rem; color: var(--muted); }
.sizes input:checked + span { border-color: var(--oxblood); background: #fbeeea; box-shadow: inset 0 0 0 1px var(--oxblood); }
.sizes input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qty-row label { font-weight: 600; }
select, textarea { border: 1px solid rgba(27, 20, 15, 0.35); border-radius: 10px; background: #fff; padding: 10px 12px; }
select { min-height: 44px; min-width: 80px; }
.gift { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--oxblood); }
.gift-note label { display: block; font-weight: 600; margin: 8px 0 6px; }
.gift-note small { font-weight: 400; color: var(--muted); }
.gift-note textarea { width: 100%; resize: vertical; }
.hint { font-size: 0.88rem; color: var(--muted); margin: 8px 0 0; }
.form-error { background: #fbeeea; color: var(--oxblood-dark); border: 1px solid var(--oxblood); border-radius: 10px; padding: 10px 12px; font-weight: 500; }
.help { margin-top: 16px; color: var(--muted); }

/* Sections */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.story { display: grid; gap: 28px; }
.specs { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px 20px; }
.specs div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; }
.specs dt { font-weight: 600; color: var(--muted); }
.specs dd { margin: 0; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.size-table th, .size-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--paper-deep); font-size: 0.9rem; }
.size-table tbody tr:last-child > * { border-bottom: 0; }

.gift-section { background: var(--pine); color: #f4eee4; margin: 24px 0; padding: 56px 0; position: relative; overflow: hidden; }
.gift-section::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(215, 181, 122, 0.06) 46px 48px); pointer-events: none; }
.gift-inner { position: relative; max-width: 760px; }
.gift-section .kicker { color: var(--brass-bright); }
.gift-section h2 { color: #fff; }
.gift-section a { color: var(--brass-bright); }
.order-by { font-size: 1.1rem; margin-top: 8px; }
.order-by strong { color: var(--brass-bright); }

.heritage { padding-top: 0; }
.heritage-photo img { width: 100%; height: clamp(180px, 34vw, 380px); object-fit: cover; object-position: center 75%; }
.heritage-grid { display: grid; gap: 20px; margin-top: -48px; position: relative; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.quote { margin: 0; align-self: start; }
.quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; }
.quote footer { color: var(--muted); font-size: 0.9rem; }
@media (min-width: 900px) { .heritage-grid { grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: -80px; } .panel { padding: 32px; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--oxblood); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

.back { margin-bottom: 8px; }
.steps { padding-left: 1.3em; margin: 0 0 20px; }
.steps li { margin-bottom: 8px; }
.notice { background: #fff3c4; border: 1px dashed #b38b00; border-radius: 12px; padding: 12px 14px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; margin: 0 0 20px; }
.summary div { display: grid; grid-template-columns: 7em 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { font-weight: 600; color: var(--muted); }
.summary dd { margin: 0; }

.site-footer { background: var(--ink); color: #e7dccb; padding: 40px 0 24px; margin-top: 40px; }
.site-footer h2 { font-size: 1.15rem; color: #fff; }
.site-footer a { color: var(--brass-bright); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.credit { font-size: 0.82rem; color: #b8a994; margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
