/* Local fallbacks sized to match Fraunces and Outfit, so text keeps its line breaks
   (and the page doesn't jump) when the web fonts swap in */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); font-weight: 100 900; size-adjust: 104.5%; ascent-override: 93.6%; descent-override: 24.4%; line-gap-override: 0%; }
/* Fraunces draws narrower at display sizes (optical sizing), so the big h1 gets its own match */
@font-face { font-family: "Fraunces Display Fallback"; src: local("Georgia"); font-weight: 100 900; size-adjust: 102%; ascent-override: 95.9%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Display Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; font-weight: 100 900; size-adjust: 95%; ascent-override: 102.9%; descent-override: 26.8%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; font-weight: 100 900; size-adjust: 97%; ascent-override: 100.8%; descent-override: 26.3%; line-gap-override: 0%; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 550; size-adjust: 100%; ascent-override: 100%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 551 900; size-adjust: 94%; ascent-override: 106.4%; descent-override: 27.7%; line-gap-override: 0%; }
/* Arial capitals run wider than Outfit's, so small uppercase labels use a narrower match */
@font-face { font-family: "Outfit Caps Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 550; size-adjust: 92%; ascent-override: 108.7%; descent-override: 28.3%; line-gap-override: 0%; }
@font-face { font-family: "Outfit Caps Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 551 900; size-adjust: 87%; ascent-override: 114.9%; descent-override: 29.9%; line-gap-override: 0%; }

:root {
  --paper: #f6f0e6;
  --deep: #efe4d4;
  --ink: #2c241c;
  --muted: #6f6458;
  --blush: #b76e79; /* decoration only: accents, pearls, borders, focus rings */
  --blush-ink: #975360; /* blush-coloured text and the blush button (4.98:1 with paper) */
  --sage: #5f6b4e;
  --gold: #c4a574;
  --line: #e2d4c2;
  --blush-soft: #f2e2df;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: Fraunces, "Fraunces Fallback", Georgia, serif;
  --serif-display: Fraunces, "Fraunces Display Fallback", Georgia, serif;
  --sans: Outfit, "Outfit Fallback", system-ui, sans-serif;
  --sans-caps: Outfit, "Outfit Caps Fallback", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
/* <picture> wrappers (WebP with JPEG fallback) stay out of the layout, so img rules still apply */
picture { display: contents; }
/* ...and their <source> must not become a grid/flex item (it would take the photo's cell) */
picture > source { display: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }
/* A window opened by a tap or click: no ring on its close button (keyboard users keep it; see menu.js) */
.pp-pointer .lb-close:focus-visible { outline: none; }
h1, h2, h3, .logo { font-family: var(--serif); font-weight: 460; }
h1 { font-family: var(--serif-display); }
h1 em, h2 em, .logo em, .foot-mark em { font-style: italic; color: var(--blush); }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; margin: 0.4rem 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; margin: 0 0 0.5rem; }
.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; border-radius: 999px; }
.skip:focus { left: 0.5rem; }

/* Header */
.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  /* Logo and buttons line up with the 70rem content edge on wide screens */
  padding: 0.75rem max(1rem, calc((100% - 70rem) / 2)); border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.logo { display: inline-block; line-height: 44px; font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
.desk { display: none; gap: 1.25rem; }
.desk a { color: var(--muted); text-decoration: none; white-space: nowrap; font-size: 0.95rem; border-radius: 4px; transition: color 160ms; }
.desk a:hover, .desk a[aria-current="page"] { color: var(--ink); }
.desk a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.bar-actions { display: flex; gap: 0.5rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 1.1rem; border-radius: 999px; text-decoration: none; font-size: 0.95rem;
  border: 0; transition: transform 160ms var(--ease), filter 160ms;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.blush { background: var(--blush-ink); color: var(--paper); }
.ink { background: var(--ink); color: var(--paper); }
.sage { background: var(--sage); color: var(--paper); }
.ghost { background: var(--deep); border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line)); }

@media (max-width: 420px) {
  .bar { gap: 0.5rem; }
  .logo { font-size: 1.1rem; }
  .bar-actions { gap: 0.35rem; }
  .bar-actions .btn { padding: 0 0.8rem; font-size: 0.88rem; }
}
@media (max-width: 359px) {
  .bar { padding-inline: 0.75rem; }
  .logo { font-size: 1rem; }
  .bar-actions .btn { padding: 0 0.7rem; }
}

/* Enquire button: travelling light around the border */
@property --snake { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.enquire-cta { position: relative; isolation: isolate; }
.enquire-cta::before {
  content: ""; position: absolute; inset: -1.75px; z-index: -1; border-radius: inherit; padding: 1.75px;
  background:
    conic-gradient(from var(--snake), transparent 0 79%, var(--gold) 95%, transparent 100%),
    rgb(196 165 116 / 25%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  /* A few laps when the page opens, then it rests; it runs again on hover or keyboard focus */
  animation: snake 4.35s linear 4;
}
.enquire-cta:hover::before, .enquire-cta:focus-visible::before { animation-iteration-count: infinite; }
@keyframes snake { to { --snake: 360deg; } }

/* Burger → envelope */
.burger {
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: transparent;
  transition: background 200ms, border-color 200ms;
}
.burger:hover { background: var(--deep); }
.burger svg { width: 26px; height: 26px; overflow: visible; }
.burger line, .burger rect, .burger polyline {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.b-lines line { transform-box: fill-box; transform-origin: center; transition: transform 320ms var(--ease), opacity 240ms 80ms; }
.env, .flap { stroke-dasharray: 1; stroke-dashoffset: 1; }
.env { transition: stroke-dashoffset 380ms var(--ease); }
.flap { transition: stroke-dashoffset 300ms var(--ease); }
.pearl { fill: var(--blush); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 300ms var(--ease); }
.menu-open .burger { background: var(--deep); border-color: var(--gold); }
.menu-open .b1 { transform: translateY(-1.5px); opacity: 0; }
.menu-open .b2 { transform: scaleX(0); opacity: 0; }
.menu-open .b3 { transform: translateY(1.5px); opacity: 0; }
.menu-open .env { stroke-dashoffset: 0; transition-delay: 60ms; }
.menu-open .flap { stroke-dashoffset: 0; transition-delay: 300ms; }
.menu-open .pearl { transform: scale(1); transition-delay: 520ms; }

.kicker, .foot-h {
  font-family: var(--sans-caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-size: 0.78rem; margin: 0;
}

/* Layout */
.hero, .wrap { max-width: 72rem; margin: 0 auto; padding: 3rem 1rem; }
.hero { display: grid; gap: 1.5rem; padding-top: 2.5rem; }
.kicker { margin-bottom: 0.4rem; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 38rem; }
/* No single word left alone on a last line (browsers without it simply ignore it). The child
   combinator keeps it off .nowrap spans inside the points, which the shorthand would undo */
.lead, .steps-note, .assure li > span { text-wrap: pretty; }
.row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; border-radius: 1.25rem; object-fit: cover; aspect-ratio: 16/10; }
.hero-art .seal { position: absolute; width: 5rem; height: 5rem; aspect-ratio: 1; border-radius: 999px; top: -0.8rem; right: -0.4rem; object-fit: cover; box-shadow: 0 8px 20px rgb(44 36 28 / 18%); }
/* Home hero on phones: the main button runs full width, the other two sit side by side under it
   (collection heroes keep their two buttons on one line) */
@media (max-width: 479px) {
  .hero:not(.sub) .row .btn { flex: 1 1 0; padding-inline: 0.8rem; white-space: nowrap; }
  .hero:not(.sub) .row .btn:first-child { flex-basis: 100%; }
}

/* Ribbon (scrolling tagline) */
.ribbon {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--deep);
  padding: 1.1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ribbon-track { display: flex; width: max-content; animation: ribbon 120s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-set { display: flex; align-items: center; flex-shrink: 0; }
.ribbon-set span {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem); white-space: nowrap; padding: 0 1.6rem;
}
.ribbon-set i {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 35%, #fff, #efe6da 45%, var(--gold));
  box-shadow: 0 1px 2px rgb(44 36 28 / 25%);
}
@keyframes ribbon { to { transform: translateX(-50%); } }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Work */
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.2rem 0; }
.filters button { min-height: 44px; border: 0; border-radius: 999px; padding: 0 1rem; background: var(--deep); transition: background 200ms, color 200ms; }
.filters button.on { background: var(--ink); color: var(--paper); }
.grid { display: grid; gap: 1rem; }
.grid article { background: var(--deep); border-radius: 1.25rem; overflow: hidden; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-in; }
.grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 700ms var(--ease); }
.zoom:hover img { transform: scale(1.03); }
.grid h3, .grid p { margin: 0.4rem 1rem; }
.grid h3 { margin-top: 0.9rem; }
.grid p { margin-bottom: 1.1rem; color: var(--muted); }

/* What I make */
.ink-band { background: var(--ink); color: var(--paper); }
.ink-band .kicker { color: var(--gold); }
.made { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0; }
.made li {
  display: flex; align-items: baseline; gap: 1.2rem; padding: 1rem 0;
  border-top: 1px solid rgb(196 165 116 / 35%);
  font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.6rem);
}
.made li span { font-size: 0.85rem; color: var(--gold); min-width: 2rem; font-style: italic; }

/* Papers */
.papers { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
.papers h3 { font-size: 1.1rem; margin: 0.8rem 0 0.2rem; }
.papers p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.swatch {
  display: grid; place-items: center; aspect-ratio: 4/3; border-radius: 1rem;
  border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgb(44 36 28 / 35%);
  position: relative; overflow: hidden;
}
.sw-white { background: #fdfdfb; }
.sw-pearl { background: linear-gradient(135deg, #f7efe9, #efe7f3 30%, #e8f0ee 55%, #f6ece2 80%, #f3eef6); }
/* The sheen glides across on its own layer (transform only, no repaint every frame) */
.sw-pearl::before {
  content: ""; position: absolute; top: 0; left: 0; width: 250%; height: 100%;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 75%) 45%, transparent 60%);
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { transform: translateX(-60%); } 50% { transform: translateX(0); } }
.sw-hammered {
  background-color: #f7f2ea;
  background-image:
    radial-gradient(circle at 30% 30%, rgb(255 255 255 / 90%) 0 18%, transparent 42%),
    radial-gradient(circle at 70% 70%, rgb(150 130 105 / 22%) 0 20%, transparent 46%);
  background-size: 14px 14px, 14px 14px;
  background-position: 0 0, 7px 7px;
}
.sw-gloss { background: linear-gradient(135deg, #fbfaf7 0%, #fbfaf7 38%, #ffffff 46%, #ecebe6 54%, #f7f6f2 62%, #fbfaf7 100%); }
.sw-linen {
  background-color: #f4ede2;
  background-image:
    repeating-linear-gradient(0deg, rgb(120 100 75 / 9%) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgb(120 100 75 / 9%) 0 1px, transparent 1px 3px);
}
.sw-own { background: var(--paper); border: 1.5px dashed var(--gold); box-shadow: none; }
.sw-own span { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--gold); }

/* Process */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.steps li { padding: 1.4rem; border: 1px solid var(--line); border-radius: 1.25rem; background: color-mix(in srgb, var(--deep) 50%, var(--paper)); }
.step-n { font-family: var(--serif); font-style: italic; color: var(--blush-ink); font-size: 1.1rem; }
.steps h3 { margin: 0.3rem 0 0.3rem; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }
.steps-note { margin: 0.9rem 0 0; font-size: 0.92rem; line-height: 1.45; color: var(--muted); }

.split { display: grid; gap: 1.5rem; }
.split img { border-radius: 1.25rem; aspect-ratio: 3/4; object-fit: cover; width: 100%; }

/* Kind words */
.words { background: color-mix(in srgb, var(--deep) 60%, var(--paper)); border-block: 1px solid var(--line); }
.words .wrap { text-align: center; padding-block: 4rem; }
.quote { margin: 0 auto; max-width: 44rem; position: relative; }
.quote-mark { display: block; font-family: var(--serif); font-size: 5rem; line-height: 0.6; color: var(--gold); margin: 1.2rem 0 0.6rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 3.6vw, 2.2rem); line-height: 1.3; }
.quote figcaption { margin-top: 1.6rem; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.quote figcaption span:not(.quote-rule) { color: var(--muted); }
.quote-rule { display: block; width: 7rem; height: 1px; margin: 0 auto 1.1rem; background: linear-gradient(90deg, transparent, var(--gold), transparent); position: relative; }
.quote-rule i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #efe6da 45%, var(--gold)); }

/* FAQ */
.faq-list { margin-top: 1rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.4rem; top: 50%; translate: 0 -50%;
  font-family: var(--sans); font-size: 1.4rem; color: var(--blush);
  transition: rotate 300ms var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 42rem; }
.faq details a { color: var(--blush-ink); }

/* Enquire */
.panel { background: var(--deep); border-radius: 1.5rem; padding: 1.5rem; display: grid; gap: 1.5rem; border: 1px solid var(--line); }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.contact-line a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 1.15rem; text-decoration-color: var(--gold); text-underline-offset: 4px; overflow-wrap: anywhere; }
.copy { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 0.85rem; }
.enquiry { display: grid; gap: 0.9rem; }
.enquiry label { display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--ink); }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; min-height: 46px; padding: 0.6rem 0.85rem;
  border: 1px solid var(--line); border-radius: 0.75rem; background: var(--paper); color: var(--ink);
  font-size: 1rem;
}
/* Safari keeps native selects 25px tall unless they drop the system look; same chevron as the shop */
.enquiry select { -webkit-appearance: none; appearance: none; padding-right: 2.4rem; text-overflow: ellipsis; cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%232c241c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.95rem center; }
.enquiry textarea { resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--blush); box-shadow: 0 0 0 3px rgb(183 110 121 / 18%); }
.two { display: grid; gap: 0.9rem; }
.hp { display: none !important; }
.captcha { min-height: 78px; max-width: 100%; overflow: hidden; }
.form-status { margin: 0; padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.95rem; }
.form-status.ok { background: rgb(95 107 78 / 12%); color: var(--sage); }
.form-status.err { background: rgb(183 110 121 / 12%); color: #9b3d4a; }
.form-status.wait { background: rgb(44 36 28 / 6%); color: var(--muted); }
.enquiry button:disabled { opacity: 0.6; cursor: wait; }
.fine { margin: 0; font-size: 0.84rem; color: var(--muted); }

/* Footer (shared by every page; order-complete has only the rule and base line) */
.foot { background: var(--ink); color: var(--paper); padding: 3.5rem 1rem calc(5.75rem + env(safe-area-inset-bottom, 0px)); margin-top: 2rem; }
/* No discount tag on the page (order-complete), so no room needed for it */
.foot:not(:has(.foot-cols)) { padding-top: 2rem; padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.foot:not(:has(.foot-cols)) .foot-rule { margin-top: 0; }
.foot-inner { max-width: 70rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; text-align: left; align-items: start; }
/* Same letterforms as the header logo, just bigger: pin the optical size so the & keeps its header shape */
.foot-mark { font-family: var(--serif); font-weight: 460; font-variation-settings: "opsz" 20; font-size: clamp(2.2rem, 9vw, 3.1rem); line-height: 1; margin: 0; letter-spacing: -0.01em; }
.foot-line { margin: 0.8rem 0 0; max-width: 26rem; color: rgb(246 240 230 / 68%); font-size: 0.93rem; }
.foot-social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.foot-social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid rgb(246 240 230 / 22%); border-radius: 999px; color: var(--paper); text-decoration: none; font-size: 0.88rem; transition: border-color 160ms, background 160ms; }
.foot-social a:hover { border-color: var(--gold); background: rgb(246 240 230 / 6%); }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.25rem; }
.foot-cols > div { display: grid; gap: 0.65rem; align-content: start; }
.foot-cols > div:last-child { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
.foot-cols > div:last-child .foot-h { grid-column: 1 / -1; }
.foot .foot-h { color: var(--gold); margin: 0 0 0.25rem; }
.foot-cols a { text-decoration: none; font-size: 0.93rem; line-height: 1.35; color: rgb(246 240 230 / 80%); transition: color 160ms; }
.foot-cols a:hover { color: var(--paper); }
.foot-rule { max-width: 70rem; margin: 2.8rem auto 1.3rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); position: relative; }
.foot-rule i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #efe6da 45%, var(--gold)); }
.foot-base { max-width: 70rem; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: 0.8rem; color: rgb(246 240 230 / 58%); letter-spacing: 0.02em; }
.foot-base a { color: inherit; text-decoration: none; }
.foot-base a:hover { color: var(--paper); }
.foot-legal { display: flex; gap: 1.2rem; }
@media (max-width: 799px) {
  /* Comfortable 44px tap rows on phones */
  .foot-cols > div { gap: 0; }
  .foot .foot-h { margin-bottom: 0.15rem; }
  .foot-cols a { display: flex; align-items: center; min-height: 44px; }
  .foot-base a, .foot-legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-base { gap: 0; }
  /* Wider tap areas for short legal links ("Terms"), with the same visible spacing */
  .foot-legal { gap: calc(1.2rem - 8px); margin-inline: -4px; }
  .foot-legal a { padding-inline: 4px; }
  /* 44px tap areas for breadcrumb, contents and list links; padding with an equal
     negative margin keeps the crumb row and table rows the same height */
  .crumbs a, .tl-table td > a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }
  .legal .toc li { padding: 0; }
  .legal .toc a { display: flex; align-items: center; min-height: 44px; }
  .prose li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
  .prose li:has(> a:only-child) { margin: 0; }
}
@media (min-width: 800px) {
  .foot { padding: 4.5rem 1rem 5.5rem; }
  .foot:not(:has(.foot-cols)) { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .foot-inner { grid-template-columns: minmax(16rem, 1fr) minmax(0, 1.9fr); gap: 3.5rem; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .foot-cols > div:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .foot-base { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 60rem); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgb(44 36 28 / 82%); backdrop-filter: blur(4px); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 1rem; box-shadow: 0 30px 80px rgb(0 0 0 / 35%); }
.lightbox p { text-align: center; color: var(--paper); font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin: 0.8rem 0 0; }
.lb-close {
  position: absolute; top: -0.6rem; right: -0.6rem; z-index: 1; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--gold); background: var(--paper); color: var(--ink); font-size: 1.5rem; line-height: 1;
}
.lightbox[open] { animation: lb-in 360ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  translate: -50% 1rem; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 0.65rem 1.2rem; border-radius: 999px; font-size: 0.9rem;
  transition: opacity 260ms, translate 260ms var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }


/* Discount codes: floating tag + codes window */
.offers-btn {
  position: fixed; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 15;
  display: inline-flex; align-items: center; gap: 0.5rem; height: 48px; min-width: 48px; padding: 0 0.85rem;
  border-radius: 999px; border: 1px solid var(--gold); background: var(--ink); color: var(--paper);
  font-size: 0.9rem; box-shadow: 0 10px 28px -10px rgb(44 36 28 / 55%);
  transition: transform 200ms var(--ease), box-shadow 200ms;
}
.offers-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgb(44 36 28 / 60%); }
.offers-btn:active { transform: scale(0.96); }
.offers-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.o-tag { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; }
.o-pearl { fill: var(--blush); }
.offers-btn::after {
  content: ""; position: absolute; top: 6px; left: 30px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #efe6da 45%, var(--gold));
  box-shadow: 0 0 0 2px var(--ink);
}
@media (max-width: 520px) {
  /* Bottom-right on every screen (ragged-right text leaves that corner mostly empty); on phones
     it is a round tag that opens out leftwards to say "Discount codes" a few times, then rests */
  /* The label is revealed with clip-path, so no box moves while it opens (no layout shift) */
  .offers-btn {
    left: auto; right: calc(1rem + env(safe-area-inset-right, 0px));
    width: 48px; padding: 0; gap: 0; justify-content: center;
  }
  .offers-btn svg { position: relative; z-index: 1; }
  .offers-btn::after { left: auto; right: 9px; z-index: 2; }
  .offers-label {
    position: absolute; top: -1px; right: -1px; bottom: -1px; display: flex; align-items: center;
    padding: 0 42px 0 12px; white-space: nowrap; border: 1px solid var(--gold); border-radius: 999px; background: var(--ink);
    opacity: 0; clip-path: inset(0 0 0 calc(100% - 48px) round 999px); animation: offers-reveal 7s var(--ease) 2s 3;
  }
}
@keyframes offers-reveal {
  0%, 74%, 100% { opacity: 0; clip-path: inset(0 0 0 calc(100% - 48px) round 999px); }
  80%, 94% { opacity: 1; clip-path: inset(0 round 999px); }
}
.offers {
  width: min(92vw, 30rem); max-height: min(90svh, 48rem); padding: 2rem 1.5rem 1.6rem; border: 1px solid var(--gold); border-radius: 1.5rem;
  background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 80px rgb(44 36 28 / 30%);
}
.offers .offers-close { top: 0.7rem; right: 0.7rem; }
.offers::backdrop { background: rgb(44 36 28 / 60%); backdrop-filter: blur(4px); }
.offers[open] { animation: lb-in 360ms var(--ease); }
.offers h2 { margin: 0.3rem 0 0.4rem; }
.offers-lead { margin: 0 0 1.2rem; color: var(--muted); }
.coupons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.coupon {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.75rem;
  padding: 1rem 1.1rem; border-radius: 1rem; background: var(--deep);
  border: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent);
}
.coupon::before, .coupon::after {
  content: ""; position: absolute; top: 50%; width: 14px; height: 14px; translate: 0 -50%; border-radius: 50%;
  background: var(--paper); border: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent);
}
.coupon::before { left: -8px; clip-path: inset(0 0 0 50%); }
.coupon::after { right: -8px; clip-path: inset(0 50% 0 0); }
.coupon-off strong { display: block; font-family: var(--serif); font-weight: 460; font-size: 1.5rem; line-height: 1.1; color: var(--blush-ink); }
.coupon-off span { font-size: 0.85rem; color: var(--muted); }
.coupon-code { display: grid; justify-items: end; gap: 0.35rem; }
.coupon-code code {
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.14em; font-size: 0.95rem;
  padding: 0.3rem 0.6rem; border-radius: 0.5rem; background: var(--paper); border: 1px solid var(--line); user-select: all;
}
.coupon-copy { min-width: 5.2rem; transition: background 200ms, color 200ms, border-color 200ms; }
.coupon-copy.done { background: var(--sage); border-color: var(--sage); color: var(--paper); }
.offers-status { min-height: 1.4em; margin: 0.8rem 0 0.4rem; font-size: 0.88rem; color: var(--sage); }
.offers-shop { width: 100%; }
.coupon-group { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.coupon-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 0.8rem; margin-bottom: 0.6rem; }
.coupon-group-head h3 { margin: 0; font-size: 1.15rem; }
.coupon-group-head p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.coupon-group .offers-shop { margin-top: 0.8rem; }
.coupon-group:not(.main) .coupon { opacity: 0.92; }

/* Legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: 3rem 1rem 2rem; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 2rem; }
.legal h2 { font-size: clamp(1.35rem, 3vw, 1.6rem); margin: 2.4rem 0 0.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal p, .legal li { color: #4d443a; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: 0.35rem 0; }
.legal a { color: var(--blush-ink); text-underline-offset: 3px; }
.legal .toc { background: var(--deep); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.2rem 1.4rem; }
.legal .toc ol { margin: 0.4rem 0 0; padding-left: 1.2rem; columns: 2 12rem; column-gap: 2rem; }
/* No top margins in the columns, so both columns start level */
.legal .toc li { margin: 0; padding: 0.2rem 0; break-inside: avoid; }
.legal .toc a { color: var(--ink); text-decoration: none; }
.legal .toc a:hover { color: var(--blush-ink); }
/* Link chips on the 404 page sit on the text edge, evenly spaced */
.legal .chips { padding-left: 0; }
.legal .chips li { margin: 0; }
.optout { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; margin-top: 1rem; padding: 1rem 1.2rem; background: var(--deep); border: 1px solid var(--line); border-radius: 1rem; }
.optout p { margin: 0; flex: 1 1 14rem; color: var(--ink); }

@media (min-width: 640px) {
  .two { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  /* Desktop: keep each section within a screen */
  .hero { min-height: min(calc(100svh - 12rem), 40rem); align-content: center; }
  .hero-art img { aspect-ratio: 4/3; max-height: min(68svh, 38rem); }
  .grid img { aspect-ratio: 4/5; }
  .split img { aspect-ratio: 4/5; max-height: min(76svh, 40rem); }
  .swatch { aspect-ratio: 16/10; }
  .hero, .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero:not(.sub) { grid-template-columns: 1fr 1.08fr; } /* wider photo, H1 still on 3 lines */
  .grid { grid-template-columns: 1fr 1fr; }
  .papers { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
  .made { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .panel { grid-template-columns: 1fr 1.1fr; padding: 2.5rem; gap: 2.5rem; }
  /* A panel with just the intro (collection pages) is one comfortable column, not half empty */
  .panel:has(> :only-child) { grid-template-columns: minmax(0, 44rem); }
  .faq { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
  .faq-list { margin-top: 0; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid img { aspect-ratio: 3/4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
  .ribbon { overflow-x: auto; }
}

/* ---- Collections, facts and collection pages ---- */
/* The whole row is the tap target */
.made a { flex: 1; padding-block: 1rem; margin-block: -1rem; color: inherit; text-decoration: none; transition: color 200ms var(--ease); }
.made a::after { content: "\00a0→"; font-size: 0.7em; opacity: 0.55; }
.made a:hover { color: var(--gold); }
.made-note { margin: 1.5rem 0 0; color: rgb(246 240 230 / 75%); }
.made-note a { color: var(--gold); }
.facts { list-style: none; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.7rem; max-width: 38rem; }
.facts li { color: var(--muted); font-size: 0.95rem; }
.facts strong { display: block; font-family: var(--sans-caps); color: var(--ink); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
/* Studio facts beside the enquiry note on collection pages */
.panel-facts { margin: 0; align-content: center; max-width: none; }
.crumbs { max-width: 72rem; margin: 0 auto; padding: 1.25rem 1rem 0; font-size: 0.85rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.crumbs a { color: inherit; }
.hero.sub { min-height: 0; padding-top: 1.5rem; }
.prose { max-width: 46rem; }
/* Long text sits on the same left edge as the hero and crumbs, at a comfortable measure */
.wrap.prose { max-width: 72rem; }
.wrap.prose > * { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }
.prose a, .picks a:not(.btn), .chips a { color: var(--blush-ink); }
.gallery { display: grid; gap: 1rem; margin-top: 1.5rem; }
.gallery figure { margin: 0; background: var(--deep); border-radius: 1.25rem; overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: var(--deep); }
.gallery figcaption { padding: 0.7rem 1rem 1rem; font-size: 0.95rem; color: var(--muted); }
.gallery figcaption strong { display: block; color: var(--ink); font-family: var(--serif); font-weight: 460; font-size: 1.1rem; }
.picks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.picks li { background: var(--deep); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.25rem; display: grid; gap: 0.45rem; align-content: start; }
.picks h3 { font-size: 1.2rem; margin: 0; }
.picks p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.picks .btn { justify-self: start; margin-top: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--line)); border-radius: 999px; padding: 0 1rem; text-decoration: none; background: var(--paper); font-size: 0.95rem; transition: border-color 160ms, background 160ms; }
.chips a:hover { border-color: var(--blush); background: var(--deep); }

/* Ordering reassurance strip (proof, printing, checkout, samples) */
.assure { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
/* A light row of facts with a rule above each, so it never reads as a second set of step cards */
.assure li {
  position: relative; display: grid; align-content: start; gap: 0.15rem; padding: 0.9rem 0 0 1.6rem;
  border-top: 1px solid var(--line);
}
/* A small pearl marks each point */
.assure li::before {
  content: ""; position: absolute; left: 0; top: 1.2rem; width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 12%, #efe2cf 38%, var(--gold) 78%, #a8885a);
  box-shadow: 0 0 0 3px rgb(196 165 116 / 18%), 0 1px 2px rgb(44 36 28 / 30%);
}
.assure strong { font-weight: 600; font-size: 0.95rem; line-height: 1.35; color: var(--ink); }
.assure span { font-size: 0.92rem; line-height: 1.45; color: var(--muted); }
.ink-band .assure li { border-color: rgb(196 165 116 / 35%); }
.ink-band .assure strong { color: var(--paper); }
.ink-band .assure span { color: rgb(246 240 230 / 75%); }
@media (min-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .picks { grid-template-columns: 1fr 1fr; }
  /* Text-only cards: an odd last pick takes the whole row rather than leaving half a row empty */
  .picks > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .panel-facts { grid-template-columns: minmax(0, 1fr); }
  .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.5rem; }
  /* An odd last point takes the whole row rather than leaving half a row empty */
  .assure > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 800px) {
  /* Three points sit in one row */
  .assure:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .assure:has(> li:nth-child(3):last-child) > li:last-child { grid-column: auto; }
  /* Three picks sit in one row, and the gallery goes to three across */
  .picks:has(> li:nth-child(3):last-child), .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picks:has(> li:nth-child(3):last-child) > li:last-child { grid-column: auto; }
}
@media (min-width: 800px) {
  .panel-facts { padding: 0 0 0 2.5rem; border-top: 0; border-left: 1px solid var(--line); gap: 1rem; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  /* As many columns as fit, so four picks never leave one card alone and two never leave a gap */
  .picks { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
  .picks > li:last-child:nth-child(odd) { grid-column: auto; }
  .assure { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
  .assure > li:last-child:nth-child(odd) { grid-column: auto; }
}
.hero-art img, .grid img, .split img { height: auto; }
.hero-art img.contain { object-fit: contain; background: var(--deep); }

/* ---- Recently posted to banner ---- */
.posted { background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; font-size: 0.8rem; }
.posted-inner { display: flex; width: max-content; animation: posted-scroll 32s linear infinite; }
/* Hover, focus or a tap (menu.js toggles .paused) holds the strip still */
.posted:focus-within .posted-inner, .posted.paused .posted-inner { animation-play-state: paused; }
/* Only where hover is real: a tap leaves :hover stuck on phones, so tapping again would not resume */
@media (hover: hover) { .posted:hover .posted-inner { animation-play-state: paused; } }
.posted-set { display: flex; align-items: center; gap: 0.85rem; margin: 0; padding: 0.55rem 0.85rem; }
.posted-label { font-family: var(--sans-caps); color: var(--gold); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.posted-note { color: #e7a9b2; font-family: var(--serif); font-style: italic; }
.posted i { display: block; width: 5px; height: 5px; border-radius: 999px; background: var(--blush); flex: none; }
@keyframes posted-scroll { to { transform: translateX(-50%); } }
@media (min-width: 1000px) {
  .posted-inner { animation: none; margin: 0 auto; }
  .posted-set[aria-hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .posted { white-space: normal; }
  .posted-inner { animation: none; width: auto; justify-content: center; }
  .posted-set { flex-wrap: wrap; justify-content: center; row-gap: 0.3rem; }
  .posted-set[aria-hidden] { display: none; }
}

/* ---- Wedding stationery timeline planner ---- */
.planner { display: grid; gap: 0.7rem; align-content: start; padding: 1.5rem; border-radius: 1.5rem; background: var(--deep); border: 1px solid var(--line); }
.planner > label:not(.planner-check) { font-family: var(--serif); font-size: 1.2rem; }
.planner input[type="date"] { font: inherit; font-size: 1.05rem; padding: 0.8rem 0.9rem; min-height: 48px; border-radius: 0.8rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.planner input[type="date"]:focus { outline: none; border-color: var(--blush); box-shadow: 0 0 0 3px rgb(183 110 121 / 18%); }
.planner-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--muted); min-height: 44px; }
.planner-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blush-ink); }
.planner .btn { justify-self: start; }
.planner-error { margin: 0; color: #9a3b47; font-size: 0.92rem; }
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--line); display: grid; gap: 1.4rem; max-width: 46rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.4rem - 7px); top: 0.35rem; width: 12px; height: 12px; border-radius: 999px; background: var(--paper); border: 2px solid var(--gold); }
.timeline li.last::before { background: var(--blush); border-color: var(--blush); }
.timeline li.late::before { border-color: #9a3b47; }
.timeline h3 { margin: 0.1rem 0 0.25rem; font-size: 1.3rem; }
.timeline p { margin: 0; color: var(--muted); }
.timeline strong { color: var(--ink); font-weight: 600; }
.timeline .tl-when { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blush-ink); }
.timeline .tl-late { margin-top: 0.4rem; font-size: 0.92rem; color: #9a3b47; }
.tl-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.1rem; color: var(--blush-ink); font-weight: 500; text-decoration: none; }
.tl-link:hover { text-decoration: underline; }
.planner-note { margin: 1.5rem 0 0; color: var(--muted); max-width: 46rem; }
.planner-note a { color: var(--blush-ink); }
.tl-table { width: 100%; border-collapse: collapse; margin: 1rem 0 0; font-size: 0.95rem; }
.tl-table th { text-align: left; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 0.6rem 0.5rem 0; border-bottom: 1px solid var(--line); }
.tl-table td { padding: 0.7rem 0.6rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (min-width: 800px) { .planner-hero { align-items: center; } }

.review-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.8rem 1rem; margin: 2rem auto 0; max-width: 40rem; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* Basket line details and totals: shared by the shop basket and order-complete.html */
.bk-opts, .bk-pers { font-size: 0.84rem; color: var(--muted); overflow-wrap: anywhere; }
.bk-pers { font-style: italic; }
.bk-sum { margin: 0; display: grid; gap: 0.3rem; }
.bk-sum div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.bk-sum dt { color: var(--muted); }
.bk-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.bk-total { padding-top: 0.45rem; border-top: 1px solid var(--line); }
.bk-total dt, .bk-total dd { color: var(--ink); font-weight: 600; font-size: 1.15rem; }

/* Order complete page */
/* Room for the order details, so the footer stays put while they load */
main.done { max-width: 46rem; min-height: min(calc(100svh - 14rem), 40rem); margin: 0 auto; padding: 2.5rem 1rem 3rem; }
.done h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.done-ref { display: inline-block; margin: 0.4rem 0 1.4rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--deep); border: 1px solid var(--line); font-size: 0.9rem; letter-spacing: 0.06em; }
.done-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 1.25rem; background: color-mix(in srgb, var(--deep) 55%, var(--paper)); margin-top: 1.2rem; }
.done-card h2 { font-size: 1.3rem; margin: 0 0 0.6rem; }
.done-items { list-style: none; margin: 0; padding: 0; }
.done-items li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.done-items p { margin: 0; }
.done-items .bk-opts { margin-top: 0.15rem; }
.done-sum { margin: 0.8rem 0 0; }
.done-addr { margin: 0; white-space: pre-line; color: var(--muted); }
.done .steps { margin-top: 0.6rem; }
.done-wait { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); }
.spinner { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--blush); animation: spin 0.9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: spin 0.9s linear infinite !important; } }

/* ---- Site header & menu (shared by every page) ----
   Desktop: all links in the bar. Phones: burger opens a full-screen menu. */
@media (min-width: 800px) {
  .burger { display: none; }
  .desk { display: flex; }
}
@media (min-width: 800px) and (max-width: 999px) {
  .desk { gap: 0.9rem; }
  .desk a { font-size: 0.9rem; }
  .bar-actions .btn { padding: 0 0.9rem; font-size: 0.9rem; }
}
.menu {
  position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
  transition: opacity 260ms var(--ease), transform 360ms var(--ease), visibility 0s 360ms;
}
.menu-open .menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 260ms var(--ease), transform 360ms var(--ease), visibility 0s; }
.menu-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem 0.75rem; border-bottom: 1px solid var(--line); }
.menu-close { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--gold); background: var(--deep); color: var(--ink); font-size: 1.5rem; line-height: 1; }
.menu-nav { display: flex; flex-direction: column; padding: 1.2rem 1.25rem 0; }
.menu-nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0;
  font-family: var(--serif); font-size: clamp(1.5rem, 6.2vw, 1.85rem); text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(8px); transition: opacity 260ms, transform 380ms var(--ease), color 160ms;
}
.menu-nav a span { font-family: var(--sans); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; min-width: 1.4rem; }
.menu-nav a:hover, .menu-nav a:active, .menu-nav a.menu-shop { color: var(--blush-ink); }
/* The page you're on gets a small pearl at the end of its row */
.menu-nav a[aria-current="page"]::after {
  content: ""; align-self: center; margin-left: auto; width: 0.55rem; height: 0.55rem; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #fff, #efe6da 45%, var(--gold)); box-shadow: 0 1px 2px rgb(44 36 28 / 25%);
}
.menu-open .menu-nav a { opacity: 1; transform: none; }
.menu-open .menu-nav a:nth-child(1) { transition-delay: 80ms; }
.menu-open .menu-nav a:nth-child(2) { transition-delay: 120ms; }
.menu-open .menu-nav a:nth-child(3) { transition-delay: 160ms; }
.menu-open .menu-nav a:nth-child(4) { transition-delay: 200ms; }
.menu-open .menu-nav a:nth-child(5) { transition-delay: 240ms; }
.menu-open .menu-nav a:nth-child(6) { transition-delay: 280ms; }
.menu-open .menu-nav a:nth-child(7) { transition-delay: 320ms; }
.menu-foot { margin-top: auto; display: grid; justify-items: start; gap: 0.1rem; padding: 2rem 1.25rem 0; color: var(--muted); font-size: 0.92rem; }
.menu-foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.menu-foot > a { color: var(--ink); }
.menu-links { display: flex; gap: 0.4rem; }
/* 44px wide tap areas; the text stays left-aligned, the extra width goes into the gap */
.menu-links a { min-width: 44px; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.menu-foot p { margin: 0.4rem 0 0; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 800px) { .menu { display: none; } }
@media (prefers-reduced-motion: reduce) { .menu, .menu-nav a { transition: none !important; transform: none !important; } }
