/* ==========================================================
   Memorial Quilts by Vee Dee — warm, handmade, modern
   ========================================================== */
:root {
  --linen: #FBF6EE;
  --paper: #F4EADB;
  --paper-2: #EFE2CF;
  --ink: #2F2622;
  --ink-soft: #5E4F47;
  --rose: #A4483E;
  --rose-deep: #85362E;
  --rose-soft: #E9C9BF;
  --sage: #7D8B6A;
  --sage-soft: #DCE2CF;
  --honey: #C9974B;
  --plum: #3A2A2E;
  --line: rgba(47, 38, 34, .14);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(47,38,34,.06), 0 12px 32px -12px rgba(47,38,34,.25);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Bad Script", "Segoe Script", cursive;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 17px/1.7 var(--sans);
  color: var(--ink);
  background-color: var(--linen);
  /* faint linen weave */
  background-image:
    repeating-linear-gradient(0deg, rgba(120,90,60,.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120,90,60,.025) 0 1px, transparent 1px 3px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--rose-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 400; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.script { font-family: var(--script); }
.eyebrow { color: var(--rose); font-size: 1.35rem; margin: 0 0 .3em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.fine { font-size: .9rem; color: var(--ink-soft); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 720px; }
.section-head .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--rose);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px;
  background: var(--b); color: #fff; text-decoration: none;
  font: 700 1rem/1 var(--sans); letter-spacing: .01em;
  border: 2px solid var(--b); cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(164,72,62,.8);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  position: relative;
}
.btn::after { /* stitched inner line */
  content: ""; position: absolute; inset: 4px; border-radius: inherit;
  border: 1.5px dashed rgba(255,255,255,.45); pointer-events: none;
}
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-sm { padding: .65em 1.25em; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost::after { border-color: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { font: 600 1.3rem/1 var(--serif); display: flex; flex-direction: column; }
.brand-text em { font: 400 1.05rem/1.2 var(--script); color: var(--rose); font-style: normal; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--rose) 0 5px, transparent 5px 9px);
  transition: right .3s ease;
}
.nav a:not(.btn):hover::after, .nav a.active::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .hl { font-style: italic; color: var(--rose); position: relative; white-space: nowrap; }
.hero h1 .hl::after { /* hand-stitched underline */
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .09em;
  background: repeating-linear-gradient(90deg, var(--honey) 0 .32em, transparent .32em .5em);
  border-radius: 2px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 9px; height: 9px; background: var(--sage); transform: rotate(45deg); border-radius: 2px; }

.hero-art { position: relative; padding: 0 0 56px 28px; }
.hero-frame {
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow);
  position: relative;
}
.hero-frame::after { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(255,255,255,.6); border-radius: 210px 210px 12px 12px; pointer-events: none; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-polaroid {
  position: absolute; left: -12px; bottom: 0; width: 42%; margin: 0;
  background: #fff; padding: 10px 10px 6px; box-shadow: var(--shadow);
  transform: rotate(-5deg); border-radius: 4px;
}
.hero-polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.hero-polaroid figcaption { text-align: center; font-size: .95rem; color: var(--ink-soft); padding-top: 4px; }
.hero-badge {
  position: absolute; right: -10px; top: 14%; max-width: 230px;
  background: var(--plum); color: #F6EADF; padding: 16px 18px; border-radius: 14px;
  font-size: .9rem; line-height: 1.45; box-shadow: var(--shadow); transform: rotate(2deg);
}
.hero-badge strong { display: block; font: 400 1.15rem/1.2 var(--script); color: var(--honey); margin-bottom: 4px; }

/* patchwork ribbon used as a divider */
.patch-strip {
  height: 22px; margin-top: clamp(48px, 7vw, 88px);
  background:
    linear-gradient(135deg, var(--rose) 25%, transparent 25%) 0 0 / 44px 22px,
    linear-gradient(225deg, var(--sage) 25%, transparent 25%) 0 0 / 44px 22px,
    linear-gradient(315deg, var(--honey) 25%, transparent 25%) 0 0 / 44px 22px,
    linear-gradient(45deg, var(--rose-soft) 25%, transparent 25%) 0 0 / 44px 22px,
    var(--paper-2);
  border-block: 2px dashed rgba(47,38,34,.18);
}

/* ---------- Story ---------- */
.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.story-photos { position: relative; min-height: 520px; }
.taped { margin: 0; background: #fff; padding: 12px 12px 10px; box-shadow: var(--shadow); width: 72%; transform: rotate(-3deg); position: relative; border-radius: 3px; }
.taped::before { /* washi tape */
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(45deg, rgba(201,151,75,.55) 0 8px, rgba(201,151,75,.38) 8px 16px);
}
.taped img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.taped figcaption { font-size: 1.05rem; text-align: center; padding-top: 8px; color: var(--ink-soft); }
.taped-2 { position: absolute; right: 0; bottom: -10px; width: 46%; transform: rotate(5deg); }
.taped-2::before { background: repeating-linear-gradient(45deg, rgba(125,139,106,.55) 0 8px, rgba(125,139,106,.38) 8px 16px); }
.taped-2 img { aspect-ratio: 3 / 4; }
.story-copy p { color: var(--ink-soft); }
.story-copy strong { color: var(--ink); }
.story-copy em { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 1.12em; }
.signature { font-size: 1.8rem; color: var(--rose) !important; margin-top: .4em; }

.first-quilts { margin-top: clamp(64px, 8vw, 100px); }
.first-quilts h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 28px; }
.first-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-card {
  all: unset; cursor: pointer; display: block; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease;
}
.mini-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.mini-card:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.mini-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.mini-card span { display: block; padding: 12px 16px 14px; font-weight: 700; font-size: .95rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start;
  padding: 22px 22px 18px; border-radius: var(--radius); background: #fff; position: relative;
  box-shadow: 0 1px 2px rgba(47,38,34,.05);
}
.step::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--line); border-radius: 13px; pointer-events: none; }
.step h3 { margin-bottom: .25em; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.step-num {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  font: 400 1.6rem/1 var(--serif); color: #fff; background: var(--rose); transform: rotate(-4deg);
}
.step:nth-child(2) .step-num { background: var(--sage); transform: rotate(3deg); }
.step:nth-child(3) .step-num { background: var(--honey); transform: rotate(-2deg); }
.step:nth-child(4) .step-num { background: var(--plum); transform: rotate(4deg); }
.process-art { position: relative; aspect-ratio: 1 / 1.08; }
.process-art img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.pa-1 { width: 70%; aspect-ratio: 1; top: 0; right: 0; }
.pa-2 { width: 64%; aspect-ratio: 4/3; left: 0; bottom: 0; border: 8px solid var(--linen); }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
  font: 700 .92rem/1 var(--sans); padding: .75em 1.2em; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line); transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.chip .count { opacity: .55; font-weight: 600; margin-left: 4px; }
.masonry { columns: 3 300px; column-gap: 22px; }
.q-card {
  all: unset; box-sizing: border-box; display: block; width: 100%; break-inside: avoid; margin: 0 0 22px; cursor: pointer;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
  animation: cardIn .5s both;
}
.q-card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(47,38,34,.06), 0 24px 44px -18px rgba(47,38,34,.35); }
.q-card:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.q-img { position: relative; overflow: hidden; background: var(--paper-2); }
.q-img img { width: 100%; transition: transform .6s ease; }
.q-card:hover .q-img img { transform: scale(1.04); }
.q-count {
  position: absolute; right: 12px; bottom: 12px; background: rgba(47,38,34,.78); color: #fff;
  font: 700 .78rem/1 var(--sans); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.q-body { padding: 18px 20px 20px; }
.q-meta { font: 700 .74rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .09em; color: var(--sage); margin: 0 0 6px; }
.q-body h3 { font-size: 1.22rem; margin-bottom: .35em; }
.q-body p { margin: 0; font-size: .94rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-wrap { text-align: center; margin-top: 18px; }
.more-wrap[hidden] { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Tribute ---------- */
.tribute { background: var(--plum); color: #EFE3D8; overflow: hidden; }
.tribute::before { /* star motif */
  content: ""; position: absolute; inset: 0; opacity: .06;
  background: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1.5px) 0 0 / 26px 26px;
}
.tribute-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; }
.tribute .eyebrow { color: var(--honey); }
.tribute h2 { color: #fff; }
.tribute p { color: #D9CABE; }
.tribute-note { font-family: var(--script); color: var(--honey) !important; font-size: 1.2rem; }
.tribute-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tribute-mosaic button {
  all: unset; cursor: pointer; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 1;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.7);
}
.tribute-mosaic button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tribute-mosaic { grid-auto-flow: dense; }
.tribute-mosaic button:nth-child(10) { grid-column: 3 / 5; grid-row: 3 / 5; }
.tribute-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tribute-mosaic button:hover img { transform: scale(1.06); }
.tribute-mosaic button:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }

/* ---------- Kind words ---------- */
.kind-words { padding-block: clamp(64px, 8vw, 104px); }
.kw-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
.quote {
  margin: 0; padding: clamp(28px, 4vw, 48px); background: var(--rose); color: #fff; border-radius: var(--radius);
  position: relative; box-shadow: var(--shadow);
}
.quote::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255,255,255,.35); border-radius: 12px; pointer-events: none; }
.quote-mark { width: 46px; fill: var(--honey); margin-bottom: 14px; }
.quote p { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.35 var(--serif); font-style: italic; margin-bottom: 18px; }
.quote footer { font-family: var(--script); font-size: 1.15rem; opacity: .9; }
.quote-alt { background: var(--sage-soft); color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.quote-alt::after { border-color: rgba(47,38,34,.18); }
.quote-alt strong { color: var(--rose); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper); }
.price-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.price-card {
  background: #fff; border-radius: var(--radius); text-align: center; padding: 26px 10px 22px; position: relative;
  box-shadow: 0 1px 2px rgba(47,38,34,.05); transition: transform .25s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--line); border-radius: 13px; pointer-events: none; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.size { color: var(--ink-soft); font-size: .9rem; margin: 0 0 10px; }
.price { font: 400 2rem/1 var(--serif); color: var(--rose); margin: 0; }
.price-card.featured { background: var(--rose); color: #fff; box-shadow: var(--shadow); }
.price-card.featured .size { color: rgba(255,255,255,.8); }
.price-card.featured .price { color: #fff; }
.price-card.featured::after { border-color: rgba(255,255,255,.4); }
.tag {
  display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: var(--honey); color: #fff; padding: 6px 10px; border-radius: 999px;
}
.price-card .tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pricing .fine.center { margin-top: 18px; }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.extra-card { display: grid; grid-template-columns: 44% 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.extra-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.extra-card > div { padding: 26px 26px 22px; }
.extra-card h3 { font-size: 1.5rem; font-weight: 400; }
.extra-card p { color: var(--ink-soft); font-size: .95rem; }
.extra-card .price { margin: 2px 0 10px; }
.tag-new { background: var(--sage); margin-bottom: 10px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1.5px dashed var(--line); }
.price-list li:last-child { border: 0; }
.price-list b { font: 400 1.25rem/1 var(--serif); color: var(--rose); }

.good-to-know { margin-top: 48px; background: var(--linen); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); border: 1.5px dashed rgba(47,38,34,.22); }
.good-to-know h3 { font-size: 1.5rem; font-weight: 400; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.checks li { padding-left: 32px; position: relative; color: var(--ink-soft); font-size: .97rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 6px; background: var(--sage-soft);
  box-shadow: inset 0 0 0 1.5px var(--sage);
}
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.25em + 4px); width: 5px; height: 9px; border: solid var(--sage); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks b { color: var(--ink); }

.breakdown { margin-top: 22px; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(47,38,34,.05); }
.breakdown summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; font: 400 1.3rem/1.2 var(--serif); }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary svg { width: 24px; height: 24px; fill: none; stroke: var(--rose); stroke-width: 2.2; transition: transform .3s; flex: none; }
.breakdown[open] summary svg { transform: rotate(180deg); }
.breakdown-body { padding: 0 28px 24px; color: var(--ink-soft); }
.breakdown table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: .95rem; }
.breakdown th, .breakdown td { text-align: left; padding: 12px 10px; border-bottom: 1.5px dashed var(--line); vertical-align: top; }
.breakdown th { color: var(--ink); width: 90px; }
.breakdown td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--rose); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.ci { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--rose-soft); flex: none; }
.ci svg { width: 22px; height: 22px; fill: var(--rose-deep); }
.contact-list small { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 700; }
.contact-list a { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--rose); }
.contact-form { background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); position: relative; }
.contact-form::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed var(--line); border-radius: 15px; pointer-events: none; }
.contact-form h3 { font-size: 1.6rem; font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 14px; position: relative; z-index: 1; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--linen);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(164,72,62,.12); }
.contact-form .invalid { border-color: var(--rose); }
.contact-form .btn { position: relative; z-index: 1; }
.form-note { margin: 12px 0 0; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); padding-bottom: 36px; }
.site-footer .patch-strip { margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 36px; }
.footer-line { font-size: 1.25rem; color: var(--rose); margin: 0; }
.site-footer .fine { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1120px, 100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 22px;
  background: var(--linen); color: var(--ink); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.lightbox[open] { display: grid; grid-template-columns: 1.5fr 1fr; animation: lbIn .3s ease; }
.lightbox::backdrop { background: rgba(32, 24, 22, .78); backdrop-filter: blur(4px); }
@keyframes lbIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.lb-media { background: #1f1917; position: relative; display: flex; flex-direction: column; min-height: 0; }
.lb-media > img { flex: 1; width: 100%; min-height: 0; max-height: 76vh; object-fit: contain; margin: auto; }
.lb-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #171210; }
.lb-thumbs:empty { display: none; }
.lb-thumbs button { all: unset; cursor: pointer; flex: none; width: 58px; height: 58px; border-radius: 8px; overflow: hidden; opacity: .5; transition: opacity .2s; outline-offset: 2px; }
.lb-thumbs button[aria-current="true"], .lb-thumbs button:hover { opacity: 1; box-shadow: 0 0 0 2px var(--honey); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-nav {
  position: absolute; top: 45%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(251,246,238,.92); color: var(--ink); font-size: 2rem; line-height: 1; display: grid; place-items: center; padding-bottom: 4px;
}
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-nav[hidden] { display: none; }
.lb-text { padding: 40px 34px 30px; overflow-y: auto; max-height: calc(100vh - 24px); }
.lb-meta { font: 700 .76rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .09em; color: var(--sage); margin-bottom: 8px; }
.lb-text h3 { font-size: 1.8rem; font-weight: 400; }
.lb-text p { color: var(--ink-soft); }
.lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.6rem; line-height: 1;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .q-card { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--linen); padding: 8px 16px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s ease; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px dashed var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid, .story-grid, .process-grid, .tribute-grid, .contact-grid, .kw-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
  .story-photos { min-height: 0; max-width: 480px; margin: 0 auto; width: 100%; padding-bottom: 40px; }
  .first-row { grid-template-columns: repeat(2, 1fr); }
  .process-art { max-width: 560px; margin-inline: auto; width: 100%; order: -1; }
  .checks { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-media > img { max-height: 58vh; }
  .lb-text { max-height: none; padding: 26px 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .brand-text { font-size: 1.1rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero h1 .hl { white-space: normal; }
  .hero-art { padding-left: 0; }
  .hero-polaroid { left: -4px; width: 46%; }
  .hero-badge { right: 0; top: auto; bottom: 8px; max-width: 54%; font-size: .82rem; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .extra-card { grid-template-columns: 1fr; }
  .extra-card img { min-height: 0; aspect-ratio: 4/3; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .tribute-mosaic { grid-template-columns: repeat(2, 1fr); }
  .tribute-mosaic button:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .tribute-mosaic button:nth-child(10) { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .footer-inner { flex-direction: column; text-align: center; }
  .breakdown summary { padding: 18px 20px; font-size: 1.15rem; }
  .breakdown-body { padding: 0 16px 20px; }
  .breakdown th { width: auto; }
}
