/* Sweet Cheeks Bakery
   Layout concept: a bakery window. Cream paper, chocolate ink, caramel ribbons and pink icing.
   Copy sits left with artwork to the right; sections meet at scalloped or dripping edges.
   Colours are the ones measured from the logo (see the Source File, section 2). */

@font-face {
  font-family: "Pacifico";
  src: url("../fonts/pacifico-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-variable.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FCF2E1;
  --cream-2: #FEF1DA;
  --biscuit: #FBE6CA;
  --paper: #FFF9EF;
  --choc: #662910;
  --choc-dark: #390D02;
  --choc-milk: #8C4926;
  --caramel: #A55A2F;
  --toffee: #B96E3F;
  --caramel-soft: #F1C699;
  --cherry: #DD0318;
  --cherry-deep: #930102;
  --gold: #CA853C;
  --pink: #FDC6D0;
  --pink-2: #FDA7C7;
  --pink-3: #FC7E8D;

  --ink: var(--choc-dark);
  --font-display: "Pacifico", "Brush Script MT", "Segoe Script", cursive;
  --font-body: "Nunito", ui-rounded, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 70rem;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --radius: 1.25rem;
  --shadow: 0 0.6rem 1.6rem rgba(57, 13, 2, 0.13);
  --stitch: 2px dashed var(--caramel-soft);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 500;
}

img, svg, picture { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { color: var(--choc); text-wrap: balance; margin: 0; }
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 4.6vw + 1.2rem, 4.5rem); }
h2 { font-size: clamp(1.9rem, 2vw + 1.3rem, 2.7rem); }
h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; }
a { color: var(--choc); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--choc-dark); text-decoration-color: var(--pink-3); }
strong { font-weight: 800; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--cherry); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--choc); color: var(--cream); padding: 0.6rem 1rem; border-radius: 0 0 0.6rem 0.6rem;
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 0; color: var(--cream); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2rem; }
.measure { max-width: 38rem; }
.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); line-height: 1.6; }
.small { font-size: 0.92rem; }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
[hidden] { display: none !important; }

/* pink marker stroke behind a few words, as on the launch leaflet */
.hl {
  background: linear-gradient(transparent 52%, var(--pink) 52%, var(--pink) 92%, transparent 92%);
  padding-inline: 0.12em;
  margin-inline: -0.12em;
  border-radius: 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--caramel-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; }
.wordmark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; color: var(--choc);
  text-decoration: none; padding-block: 0.4rem;
}
.wordmark:hover { color: var(--choc-dark); }
.wordmark svg { width: 2rem; height: 2rem; flex: none; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.35rem; }
.site-nav a {
  display: block; padding: 0.45rem 0.8rem; border-radius: 999px;
  font-weight: 800; font-size: 0.98rem; text-decoration: none; color: var(--choc);
}
.site-nav a:hover { background: var(--cream-2); color: var(--choc-dark); }
.site-nav a[aria-current="page"] { background: var(--pink); color: var(--choc-dark); }
.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  font: inherit; font-weight: 800; color: var(--choc);
  background: transparent; border: 2px solid var(--choc); border-radius: 999px;
  padding: 0.4rem 0.95rem; cursor: pointer;
}
.nav-toggle .bars { width: 1.1rem; height: 0.75rem; position: relative; display: inline-block; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: calc(50% - 1px); }
.nav-toggle .bars::after { bottom: 0; }

@media (max-width: 54rem) {
  .header-inner { min-height: 3.75rem; }
  .wordmark { font-size: 1.18rem; gap: 0.4rem; }
  .wordmark svg { width: 1.6rem; height: 1.6rem; }
  .nav-toggle { font-size: 0.92rem; padding: 0.35rem 0.8rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; padding-bottom: 0.9rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.15rem; }
  .site-nav a { padding: 0.7rem 0.9rem; border-radius: 0.8rem; }
}

@media (max-width: 23.5rem) {
  .wordmark svg { display: none; }
}
@media (max-width: 21rem) {
  .nav-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* ---------- buttons, ribbon, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font: inherit; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer;
  border-radius: 999px; border: 2px solid var(--choc); padding: 0.85em 1.5em;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--choc); color: var(--cream); }
.btn-primary:hover { background: var(--choc-dark); color: var(--cream); border-color: var(--choc-dark); }
.btn-ghost { background: transparent; color: var(--choc); }
.btn-ghost:hover { background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.on-dark .btn-primary { background: var(--cream); color: var(--choc); border-color: var(--cream); }
.on-dark .btn-primary:hover { background: var(--pink); border-color: var(--pink); color: var(--choc-dark); }

.ribbon {
  position: relative; display: inline-block; align-self: flex-start;
  margin-inline: 1.05em;
  background: var(--caramel); color: var(--cream);
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.2;
  padding: 0.6em 1.2em;
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1.1em; background: var(--caramel);
}
.ribbon::before { right: 100%; margin-right: -1px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 45% 50%); }
.ribbon::after { left: 100%; margin-left: -1px; clip-path: polygon(0 0, 100% 0, 55% 50%, 100% 100%, 0 100%); }

.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1.2;
  background: var(--pink); color: var(--choc-dark); border-radius: 999px; padding: 0.3em 0.8em;
}

/* ---------- sections and edges ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.section--cream2 { background: var(--biscuit); }
.section--paper { background: var(--paper); }
.section--pink { background: var(--pink); }
.section--choc { background: var(--choc); color: var(--cream); }
.section--choc h2, .section--choc h3 { color: var(--cream); }
.section--choc a { color: var(--cream); }
.section--choc a:hover { color: var(--pink); }
.section--choc :focus-visible, .site-footer :focus-visible { outline-color: var(--pink); }
.section-head { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }

/* a piped, scalloped edge: bumps of the colour above hang into the section below */
.scallop { height: 16px; background: radial-gradient(circle at 16px -4px, var(--from, var(--cream)) 14px, transparent 15px) 0 0 / 32px 16px repeat-x; background-color: var(--to, var(--biscuit)); }
/* melted chocolate running down from a chocolate section */
.drip { height: 64px; background: url("../img/drip-choc.svg") 0 0 / 560px 64px repeat-x; background-color: var(--to, var(--cream)); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero-copy { display: flex; flex-direction: column; gap: 1.3rem; min-width: 0; }
.hero-art { position: relative; min-width: 0; }
.hero-art::before {
  content: ""; position: absolute; inset: -5% -3% -7% -3%; z-index: 0;
  background: var(--pink);
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%;
  transform: rotate(-5deg);
}
.hero-art picture, .hero-art img { position: relative; z-index: 1; width: 100%; }
.hero .follow { font-weight: 700; }
.sparkle { position: absolute; z-index: 2; color: var(--gold); width: 1.6rem; height: 1.6rem; fill: currentColor; }
.heart { position: absolute; z-index: 2; color: var(--choc); width: 1.2rem; height: 1.2rem; fill: currentColor; }
@media (max-width: 54rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; max-width: 30rem; margin-inline: auto; width: 100%; }
}

.page-hero { padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.8rem, 4vw, 2.8rem); }
@media (min-width: 54rem) {
  .page-hero { background: url("../img/deco-hearts.svg") right max(1rem, calc((100vw - var(--wrap)) / 2 + 1rem)) top 55% / 16rem auto no-repeat; }
}
.page-hero .stack { gap: 1rem; }

/* ---------- what we're baking (home) ---------- */
.bakes-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.panel {
  position: relative; background: var(--paper); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
  outline: var(--stitch); outline-offset: -0.6rem;
  display: flex; flex-direction: column; gap: 1rem; min-width: 0;
}
.snap { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.2rem; align-items: center; }
.soon-badge { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--paper); border: 2px dashed var(--caramel); border-radius: 1rem; rotate: -2deg; }
.soon-badge svg { width: 2.6rem; height: 2.6rem; fill: var(--gold); }
.snap + .snap { margin-top: 1.4rem; }
.snap .photo { rotate: -3deg; }
.snap:nth-child(even) .photo { rotate: 2.5deg; }
.photo {
  border: 6px solid #fff; border-radius: 1rem; box-shadow: var(--shadow); background: #fff;
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
}
.snap .stack { gap: 0.4rem; }
@media (max-width: 54rem) {
  .bakes-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 26rem) {
  .snap { grid-template-columns: 6.2rem minmax(0, 1fr); }
}

/* cake tin size guide, drawn to scale */
.tins { display: block; width: 100%; max-width: 22rem; height: auto; }
.tins circle { fill: none; stroke: var(--caramel); stroke-width: 1.6; }
.tins circle.fill { fill: var(--cream-2); }
.tins text { font-family: var(--font-body); font-weight: 800; font-size: 9px; fill: var(--choc); }
.tins line { stroke: var(--caramel-soft); stroke-width: 1; stroke-dasharray: 2 2; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips li {
  background: var(--cream-2); border: 2px solid var(--caramel-soft); border-radius: 999px;
  padding: 0.25em 0.85em; font-weight: 700; font-size: 0.95rem; line-height: 1.4;
}
.label { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--choc); }

/* ---------- chef section ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 54rem) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } }
.facts { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.facts li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.7rem; align-items: start; }
.facts svg { width: 1.25rem; height: 1.25rem; margin-top: 0.3rem; fill: var(--pink-2); }
.section--cream2 .facts svg, .section--paper .facts svg, .plain .facts svg { fill: var(--pink-3); }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: clamp(1.2rem, 3vw, 2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--choc);
  width: 3.2rem; height: 3.2rem; display: grid; place-items: center;
  background: var(--pink); border-radius: 50%; margin-bottom: 0.3rem;
}
.steps--long { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.steps--long li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 1.2rem; row-gap: 0.4rem; }
.steps--long li::before { grid-row: 1 / span 3; margin: 0; }
.steps--long li > * { grid-column: 2; }
@media (max-width: 46rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- call to action ---------- */
.cta { position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; }
.email-text { font-weight: 800; font-size: 1.1rem; overflow-wrap: anywhere; user-select: all; }
.copy-btn {
  font: inherit; font-weight: 800; font-size: 0.9rem; cursor: pointer;
  background: var(--paper); color: var(--choc); border: 2px solid var(--choc); border-radius: 999px; padding: 0.3em 0.9em;
}
.copy-btn:hover { background: #fff; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-weight: 700; }
.cta .deco { position: absolute; z-index: 0; }
@media (max-width: 54rem) { .cta .deco { display: none; } }

/* ---------- menu (bakes page) ---------- */
.notice {
  background: var(--paper); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  outline: var(--stitch); outline-offset: -0.45rem; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.8rem; align-items: start;
}
.notice svg { width: 1.4rem; height: 1.4rem; margin-top: 0.25rem; fill: var(--pink-3); }
.menu-list { list-style: none; columns: 2; column-gap: clamp(1.5rem, 4vw, 3rem); }
.menu-list li { break-inside: avoid; padding-block: 0.95rem; border-bottom: 2px dotted var(--caramel-soft); display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start; min-width: 0; }
.menu-list h3 { font-size: 1.12rem; }
@media (max-width: 46rem) { .menu-list { columns: 1; } }
.footnote { font-size: 0.86rem; color: var(--choc-milk); max-width: 46rem; margin-top: 1.4rem; }
.soon { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.soon > * { background: var(--paper); border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 2px dashed var(--caramel-soft); display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
@media (max-width: 46rem) { .soon { grid-template-columns: minmax(0, 1fr); } }

/* ---------- gallery ---------- */
.gallery { list-style: none; display: grid; gap: clamp(1.2rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; border-radius: 1rem; box-shadow: var(--shadow); background: #fff; }
.gallery figcaption { font-weight: 800; color: var(--choc); }
.gallery-more {
  display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; align-items: flex-start;
  border: 2px dashed var(--caramel); border-radius: 1rem; padding: 1.4rem; min-height: 12rem; background: var(--paper);
}

/* ---------- prose pages ---------- */
.prose { display: flex; flex-direction: column; gap: 1.1rem; max-width: 44rem; }
.prose h2 { font-family: var(--font-body); font-weight: 900; font-size: 1.45rem; line-height: 1.3; margin-top: 1.2rem; }
.prose ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.prose li::marker { color: var(--caramel); }
.prose ul.fourteen { flex-direction: row; flex-wrap: wrap; padding-left: 0; gap: 0.45rem; }
.callout {
  background: var(--pink); border-radius: var(--radius); padding: 1.2rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.callout h2, .callout h3 { margin: 0; }
.two-col { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 54rem) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.aside-card { background: var(--paper); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); outline: var(--stitch); outline-offset: -0.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem 1.2rem; }
.checklist li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.5rem; align-items: start; }
.checklist svg { width: 0.95rem; height: 0.95rem; margin-top: 0.42rem; fill: var(--pink-3); }
@media (max-width: 32rem) { .checklist { grid-template-columns: minmax(0, 1fr); } }

/* ---------- allergen table ---------- */
.table-hint { display: none; }
@media (max-width: 38rem) { .table-hint { display: block; } }
/* position: relative keeps the screen-reader-only labels inside the scrolling area */
.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
table.allergens { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.98rem; }
.allergens caption { text-align: left; padding: 1rem 1.2rem 0.4rem; font-weight: 800; color: var(--choc); }
.allergens th, .allergens td { padding: 0.75rem 0.9rem; text-align: center; border-bottom: 2px dotted var(--caramel-soft); }
.allergens thead th { background: var(--choc); color: var(--cream); font-weight: 800; font-size: 0.86rem; line-height: 1.25; vertical-align: bottom; }
.allergens th[scope="row"], .allergens thead th:first-child { text-align: left; }
.allergens th[scope="row"] { font-weight: 800; color: var(--choc); }
.allergens tbody tr:last-child th, .allergens tbody tr:last-child td { border-bottom: 0; }
.allergens .yes { font-weight: 900; color: var(--choc-dark); background: var(--pink); border-radius: 999px; padding: 0.15em 0.7em; display: inline-block; font-size: 0.85rem; }
.allergens .no { color: var(--choc-milk); }
.table-notes { display: flex; flex-direction: column; gap: 0.5rem; max-width: 44rem; margin-top: 0.5rem; }
.fourteen { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.fourteen li { background: var(--paper); border: 2px solid var(--caramel-soft); border-radius: 999px; padding: 0.2em 0.8em; font-weight: 700; font-size: 0.93rem; }

/* ---------- FAQs ---------- */
.faqs { display: flex; flex-direction: column; gap: 0.8rem; max-width: 46rem; }
.faqs details { background: var(--paper); border-radius: 1rem; border: 2px solid var(--caramel-soft); }
.faqs summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; position: relative;
  font-weight: 800; color: var(--choc); font-size: 1.08rem; line-height: 1.35; border-radius: 1rem;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--caramel);
}
.faqs details[open] summary::after { content: "\2212"; }
.faqs details[open] { background: #fff; }
.faqs .answer { padding: 0 1.2rem 1.15rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--choc); color: var(--cream); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--pink); }
.footer-grid { display: grid; gap: 2rem clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr) minmax(0, 1.55fr) minmax(0, 0.8fr); }
.footer-brand { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.footer-brand img { width: 11rem; }
.footer-tagline { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; }
.site-footer h2 { font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--caramel-soft); margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-legal { margin-top: 2.2rem; padding-top: 1.3rem; border-top: 2px dotted rgba(252, 242, 225, 0.35); font-size: 0.88rem; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-email { overflow-wrap: anywhere; }
@media (max-width: 54rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 26rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.lost { text-align: left; display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }

@media (prefers-reduced-motion: no-preference) {
  .sparkle { animation: twinkle 3.2s ease-in-out infinite; }
  .sparkle:nth-of-type(2n) { animation-delay: 1.1s; }
  .sparkle:nth-of-type(3n) { animation-delay: 2s; }
  @keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.72); opacity: 0.55; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .btn-row, .skip { display: none; }
  body { background: #fff; }
}
