/* The Moist Cake Lady: light, bright and refined */

/* Self-hosted fonts, latin subset (SIL Open Font License, see assets/fonts/OFL-*.txt) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #fffdfa;
  --bg-2: #fbf4ef;
  --blush: #f8e6e3;
  --blush-deep: #efcdc8;
  --ink: #2d2320;
  --ink-2: #5c4a43;
  --muted: #7b6b64;
  --rose: #b03a5b;
  --rose-dark: #942f4c;
  --gold: #997742; /* darkened from #b8935a: the original was 2.8:1 on cream, 2.4:1 on blush - below
                       WCAG's 3:1 floor for meaningful graphics (the FAQ +/- toggle, the current-page
                       nav underline). This clears 4.1:1 / 3.4:1. --gold-soft (pure decoration -
                       dividers, card borders) is untouched. */
  --gold-soft: #e8d8bd;
  --line: #eee2da;
  --white: #ffffff;
  --radius: 10px;
  --wrap: 1140px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
/* The icon sprite (partials/sprite.html) is 0x0 and only holds <symbol> defs referenced by
   <use> elsewhere, so this keeps it out of layout flow. A class, not style="", so it doesn't
   trip the style-src directive in customHttp.yml's Content-Security-Policy. */
.sprite-defs { position: absolute; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--rose); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Notice + header */
.notice { background: var(--bg-2); color: var(--ink-2); text-align: center; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 16px; border-bottom: 1px solid var(--line); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 250, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(45, 35, 32, 0.06); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.65rem var(--serif); color: var(--ink); letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { color: var(--rose); }
.nav a[aria-current="page"]:not(.btn) { color: var(--rose); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 9px 20px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--rose); color: var(--white); border: 1px solid var(--rose); font: 500 0.78rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 15px 30px; border-radius: 3px; text-decoration: none; cursor: pointer; text-align: center; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-small { padding: 11px 22px; font-size: 0.72rem; }
.btn-lg { padding: 18px 40px; font-size: 0.82rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 9vw, 120px); background: radial-gradient(900px 480px at 88% 8%, var(--blush), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow { color: var(--rose); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.74rem; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.2rem); margin-bottom: 22px; font-weight: 600; }
.lead { color: var(--ink-2); font-size: 1.12rem; max-width: 50ch; margin-bottom: 32px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.props { display: flex; gap: 10px 26px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; }
.props li::before { content: "\2726"; color: var(--gold); margin-right: 9px; }
.hero-art { display: grid; place-items: center; padding: 16px; }
.arch { position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: 999px 999px 14px 14px; background: linear-gradient(180deg, var(--blush) 0%, #fdf2ef 100%); display: grid; place-items: center; }
.arch::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--gold-soft); border-radius: 999px 999px 22px 22px; pointer-events: none; }
.arch .ill { width: 82%; filter: drop-shadow(0 14px 18px rgba(176, 58, 91, 0.12)); }
.arch-sm { width: min(100%, 300px); }
/* Once art() is passed a real photo (see build.py), it renders an <img class="ill photo">
   instead of an <svg class="ill">; every box that sizes .ill (arch, thumb, tile, lightbox
   stage) already fixes a width/height, so the photo only needs to fill and crop to it. */
.ill.photo { object-fit: cover; border-radius: 6px; }
.arch .ill.photo { width: 100%; height: 100%; border-radius: inherit; filter: none; }

/* Illustrations (shapes live in a <symbol>, so target that) */
symbol .plate { fill: var(--line); }
symbol .sponge { fill: var(--blush-deep); stroke: #a58a7e; stroke-width: 1.75; }
symbol .frost { fill: #ffffff; stroke: #a58a7e; stroke-width: 1.75; }
symbol .crumb { fill: none; stroke: #a58a7e; stroke-width: 1.75; stroke-linecap: round; opacity: 0.6; }
symbol .crust { fill: #e8c896; stroke: #a58a7e; stroke-width: 1.75; }
symbol .filling { fill: #fdf1d8; stroke: #a58a7e; stroke-width: 1.75; }
symbol .topping { fill: var(--rose); stroke: #a58a7e; stroke-width: 1.75; }
symbol .cup { fill: #e2bd85; stroke: #a58a7e; stroke-width: 1.75; stroke-linejoin: round; }
symbol .berry { fill: var(--rose); stroke: #a58a7e; stroke-width: 1.75; }
symbol .gold { fill: var(--gold); }
symbol .stem { fill: none; stroke: #a58a7e; stroke-width: 1.75; stroke-linecap: round; }

/* Sections */
.section { padding: clamp(60px, 9vw, 116px) 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto clamp(30px, 5vw, 52px); }
.section-head::before { content: ""; display: block; width: 46px; height: 1px; background: var(--gold); margin: 0 auto 20px; }
.section-head h2, .split h2, .cta-band h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.section-head p { color: var(--muted); margin-top: 12px; }
.more { margin-top: 36px; text-align: center; }
.note { color: var(--muted); font-size: 0.8rem; margin-top: 22px; }
.note.center { text-align: center; }
.fine { color: var(--muted); font-size: 0.8rem; margin-top: 8px; max-width: 70ch; }

/* Inner page hero + breadcrumbs */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero { padding: clamp(40px, 6vw, 78px) 0 clamp(34px, 5vw, 58px); background: radial-gradient(760px 300px at 90% 0%, var(--blush), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin-bottom: 14px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .cta { margin: 24px 0 0; }

/* Menu */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.chip { background: var(--white); color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 9px 22px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.15s; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.count { color: var(--muted); font-size: 0.85rem; text-align: center; margin: -12px 0 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 20px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(45, 35, 32, 0.07); border-color: var(--gold-soft); }
.card[hidden] { display: none; }
.thumb { background: linear-gradient(180deg, var(--blush), #fdf3f0); border-radius: 6px; padding: 14px; }
.thumb .ill { width: 100%; height: 150px; display: block; }
.info { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 0 8px; }
.cat { color: var(--rose); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500; }
.card h3 { font-size: 1.55rem; }
.desc { color: var(--muted); font-size: 0.92rem; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.72rem; font-weight: 500; padding: 3px 11px; border-radius: 999px; }
.badge-gf { background: #eef6e9; border-color: #d3e5c8; color: #3d5a2c; }
.contains { color: var(--muted); font-size: 0.78rem; }
.price { font: 600 1.6rem var(--serif); margin-top: 4px; }
.card .btn { margin: 0 8px; background: transparent; color: var(--rose); }
.card .btn:hover { background: var(--rose); color: var(--white); }

/* Steps, values, quotes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px; }
.steps li { display: grid; gap: 8px; text-align: center; justify-items: center; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--rose); font: 600 1.35rem var(--serif); background: var(--white); }
.steps h3 { font-size: 1.6rem; }
.steps p { color: var(--muted); max-width: 32ch; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.values li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.values li::before { content: ""; display: block; width: 30px; height: 1px; background: var(--gold); margin: 0 auto 18px; }
.values h3 { font-size: 1.6rem; margin-bottom: 8px; }
.values p { color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.quotes li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 16px; align-content: start; }
.quotes p { font: 500 1.3rem/1.45 var(--serif); font-style: italic; }
.quotes cite { font-style: normal; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }

/* Split, ticks, panel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split h2 { margin-bottom: 16px; }
.lead-sm { color: var(--ink-2); font-size: 1.08rem; max-width: 48ch; margin-bottom: 22px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-2); }
.ticks li::before { content: "\2726"; position: absolute; left: 2px; top: 1px; color: var(--gold); font-size: 0.85rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; }
.panel h3 { font-size: 1.7rem; }
.panel p { color: var(--muted); }
.story-art { display: grid; place-items: center; padding: 16px; }

/* Methods (contact) */
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.method { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: grid; gap: 12px; align-content: start; }
.method h3 { font-size: 1.6rem; }
.method p { color: var(--muted); }
.method .btn { justify-self: start; max-width: 100%; overflow-wrap: anywhere; letter-spacing: 0.06em; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq summary { cursor: pointer; font: 600 1.35rem var(--serif); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem var(--sans); line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Call-to-action band */
.cta-band { background: linear-gradient(180deg, var(--blush), #fbeae7); padding: clamp(54px, 8vw, 100px) 0; border-block: 1px solid var(--gold-soft); }
.cta-band p { color: var(--ink-2); margin: 12px 0 28px; }
.cta-band .cta { justify-content: center; margin-bottom: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { border-radius: var(--radius); overflow: hidden; position: relative; padding: 0; }
.tile .ill { width: 100%; height: 150px; display: block; transition: transform 0.25s; }
.tile-btn { display: block; width: 100%; height: 100%; padding: 18px 18px 50px; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; }
.tile-btn:hover .ill { transform: scale(1.04); }
.tile span { position: absolute; left: 18px; bottom: 16px; font: 600 1.15rem var(--serif); }
.t1, .t6 { background: #f8e6e3; }
.t2, .t7 { background: #f7ecd9; }
.t3, .t8 { background: #f5dfe0; }
.t4, .t5 { background: #f3ede6; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(88vw, 680px); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(45, 35, 32, 0.7); }
.lb-stage { background: var(--blush); border-radius: var(--radius); padding: 26px; }
.lb-stage .ill { width: 100%; height: min(58vh, 400px); display: block; }
.lb-cap { color: var(--white); text-align: center; font: 600 1.4rem var(--serif); margin-top: 14px; }
.lb-close, .lb-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-close { position: absolute; top: -16px; right: -10px; }
.lb-nav { display: flex; justify-content: space-between; position: absolute; top: 42%; left: -22px; right: -22px; pointer-events: none; }
.lb-nav button { pointer-events: auto; }

/* Order form */
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(24px, 4vw, 52px); align-items: start; }
.order-form { display: grid; gap: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); background: var(--white); margin: 0; min-width: 0; display: grid; gap: 18px; }
.step legend { display: flex; align-items: center; gap: 14px; font: 600 1.85rem var(--serif); padding: 0 10px; margin-left: -10px; }
.step legend .num { width: 34px; height: 34px; font-size: 1.05rem; }
.step-hint { color: var(--muted); font-size: 0.9rem; margin-top: -6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 0.8rem; color: var(--ink-2); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg); color: var(--ink); border: 1px solid #e3d5cb; border-radius: 6px; padding: 13px 15px; font: inherit; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(176, 58, 91, 0.35); outline-offset: 0; border-color: var(--rose); }
.field .hint, p.hint { color: var(--muted); font-size: 0.82rem; }
/* A hint that applies to just one field in a .row2 pair sits outside the field (see
   o-cake-color in build.py) rather than inside it, so a taller hint never risks misaligning
   its sibling field's row - this margin puts it back close to the row it explains. */
p.hint { margin: -10px 0 4px; }
.err { color: var(--rose-dark); font-size: 0.85rem; font-weight: 500; }
.err:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--rose); background: #fff6f8; }
.err-block { margin-top: -4px; }
.item-group h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin: 4px 0 4px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.item .name { font: 600 1.35rem var(--serif); }
.item .meta { color: var(--muted); font-size: 0.82rem; }
.item.is-selected .name { color: var(--rose); }
.qty { display: inline-flex; align-items: center; border: 1px solid #e3d5cb; border-radius: 999px; overflow: hidden; background: var(--white); }
.qty button { width: 40px; height: 40px; background: var(--white); border: 0; font-size: 1.15rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 46px; height: 40px; text-align: center; border: 0; border-inline: 1px solid var(--line); font: 500 1rem var(--sans); background: var(--white); padding: 0; -moz-appearance: textfield; color: var(--ink); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: grid; align-content: start; gap: 2px; height: 100%; border: 1px solid #e3d5cb; border-radius: 8px; padding: 16px 18px; cursor: pointer; background: var(--white); }
.choice label span { color: var(--muted); font-size: 0.85rem; }
.choice input:checked + label { border-color: var(--rose); background: #fff7f8; box-shadow: 0 0 0 1px var(--rose) inset; }
.choice input:focus-visible + label { outline: 3px solid var(--rose); outline-offset: 2px; }
.delivery-fields { display: grid; gap: 16px; }
.delivery-fields[hidden] { display: none; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--rose); flex: none; }
.check label { color: var(--ink-2); font-size: 0.95rem; }
.inline-total { color: var(--ink-2); }
.inline-total strong { font: 700 1.6rem var(--serif); color: var(--ink); margin-left: 6px; }
.form-status { font-size: 0.95rem; color: var(--ink-2); min-height: 1.4em; }
.form-status.is-error { color: var(--rose-dark); font-weight: 500; }
.form-fallback { font-size: 0.92rem; color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; color: var(--rose); text-decoration: underline; cursor: pointer; font: inherit; }
.summary { position: sticky; top: 104px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; box-shadow: 0 16px 36px rgba(45, 35, 32, 0.05); }
.summary h2 { font-size: 2rem; }
.sum-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.sum-list .sum-empty { color: var(--muted); border-bottom: 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.sum-total strong { font: 700 1.9rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.sum-note { color: var(--muted); font-size: 0.82rem; }
.sum-note:empty { display: none; }
.sum-facts { margin: 0; display: grid; gap: 8px; }
.sum-facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.sum-facts dt { color: var(--muted); }
.sum-facts dd { margin: 0; font-weight: 500; text-align: right; }
.sum-help { font-size: 0.9rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }
.sum-help a, .confirm a:not(.btn) { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.confirm { grid-column: 1 / -1; text-align: center; max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--gold-soft); border-radius: var(--radius); padding: clamp(30px, 5vw, 60px); display: grid; gap: 16px; justify-items: center; }
.confirm[hidden] { display: none; }
.confirm h2 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.confirm p { color: var(--ink-2); max-width: 52ch; }
.ref { font: 600 1.15rem var(--sans); letter-spacing: 0.14em; background: var(--bg-2); border: 1px dashed var(--gold); padding: 9px 18px; border-radius: 6px; color: var(--ink) !important; }
.confirm-summary { text-align: left; white-space: pre-wrap; font: 400 0.88rem/1.6 var(--sans); background: var(--bg-2); border-radius: 8px; padding: 18px 20px; width: 100%; margin: 0; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) 0 22px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.foot a { overflow-wrap: anywhere; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.6rem var(--serif); color: var(--ink); margin-bottom: 14px; }
.foot-about p { max-width: 34ch; color: var(--ink-2); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: all 0.15s; }
.socials a:hover { background: var(--rose); border-color: var(--rose); color: var(--white); }
.site-footer h3 { font: 500 0.72rem var(--sans); text-transform: uppercase; letter-spacing: 0.2em; color: var(--rose); margin-bottom: 14px; }
.site-footer p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 10px; }
.foot-links li { margin-bottom: 10px; color: var(--ink-2); font-size: 0.95rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--rose); text-decoration: underline; }
.foot-cta { display: grid; gap: 10px; margin-top: 16px; max-width: 260px; }
.foot-cta .btn { padding-inline: 16px; letter-spacing: 0.1em; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.legal p { margin: 0; color: inherit; font-size: inherit; }
.legal a { text-underline-offset: 3px; }

/* Sticky mobile bar */
.sticky-bar { display: none; }

/* Privacy / long text */
.prose h2 { font-size: 2rem; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose a { text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Scroll reveal: only applied when JS adds .reveal-init */
.reveal-init { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-init.in-view { opacity: 1; transform: none; }
.card.reveal-init.in-view:hover { transform: translateY(-3px); }

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

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .arch { width: min(100%, 250px); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 20px 22px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 16px 2px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; }
  .sticky-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 250, 0.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  body { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .brand { font-size: 1.3rem; gap: 9px; }
  .foot { grid-template-columns: 1fr; }
  .row2, .choices { grid-template-columns: 1fr; }
  .item { grid-template-columns: 1fr; }
  .qty { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.btn-plain { text-transform: none; letter-spacing: 0.02em; font-size: 0.86rem; }

/* Printing/saving the order confirmation (order.html): hide site chrome and anything marked
   .no-print (the print/download buttons themselves, "back to home", etc.), keep just the
   confirmation card's own content so "Print or save as PDF" produces a clean receipt. */
@media print {
  .skip, .notice, .site-header, .site-footer, .sticky-bar, .no-print { display: none !important; }
  .confirm { border: none; box-shadow: none; padding: 0; }
}
