/* BakeTime site styles
   Brand: the logo's clock-face blue and lettering red, deep navy for weight,
   and the stainless-steel grey of the bakery bench in the product photos. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
}

:root {
  --navy: #0c2a44;
  --navy-2: #143a5c;
  --navy-3: #1d4a72;
  --blue: #0090d8;      /* logo clock face */
  --blue-ink: #0a6ea8;  /* accessible blue for text and links */
  --red: #cf3036;       /* logo lettering */
  --red-dk: #b0242a;
  --orange: #e36630;    /* logo clock hand */
  --steel: #eef3f6;
  --steel-2: #e2eaef;
  --white: #fff;
  --ink: #0c2a44;
  --text: #253a4c;
  --muted: #5a6d7c;
  --line: #d6e1e8;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(72px, 10vw, 136px);
  --lift: 0 24px 48px -30px rgba(12, 42, 68, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: #7fd0fb; }
::selection { background: #bfe6fb; color: var(--navy); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }
.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; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; font-stretch: 116%; line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.display { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 850; font-stretch: 116%; line-height: .95; letter-spacing: -.028em; }
.h2 { font-size: clamp(2.1rem, 4.3vw, 3.5rem); }
@media (min-width: 861px) { .display { font-size: clamp(3rem, 5.6vw, 5.3rem); } }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); font-stretch: 110%; letter-spacing: -.01em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 36em; }
.muted { color: var(--muted); }
.on-dark { color: #c9d8e4; }
.on-dark .muted { color: #a9bccb; }
.small { font-size: .9rem; }
p + p { margin-top: 1em; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 44rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: 0 1.45em; border-radius: 12px; border: 2px solid transparent;
  font-weight: 700; font-stretch: 108%; font-size: 1.02rem; line-height: 1.1; letter-spacing: .003em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #e6f4fc; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.on-dark .btn-line, .btn-line.light { border-color: rgba(255,255,255,.7); color: #fff; }
.on-dark .btn-line:hover, .btn-line.light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 1.05em; font-size: .95rem; border-radius: 10px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.text-link { color: var(--blue-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.on-dark .text-link { color: #8fd3fa; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -26px rgba(12,42,68,.6); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; border-radius: 50%; }
.brand img { width: 56px; height: 56px; }
.nav > nav { margin-left: auto; }
.nav-links { display: flex; gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.nav-links a { font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink); padding: 8px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.icon-btn { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.menu-panel { display: none; }
.icon-btn .i-close { display: none; }
.menu-open .icon-btn .i-open { display: none; }
.menu-open .icon-btn .i-close { display: block; }

@media (max-width: 1020px) {
  .nav-links, .nav-cta .hide-sm { display: none; }
  .nav-cta { margin-left: auto; }
  .icon-btn { display: inline-flex; }
  .menu-panel {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: #fff;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .menu-open .menu-panel { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .menu-panel ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
  .menu-panel li a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.35rem; font-weight: 750; font-stretch: 112%; color: var(--ink); text-decoration: none; }
  .menu-panel .actions { margin-top: 28px; }
  .menu-panel .actions .btn { flex: 1 1 100%; }
  .menu-panel .menu-contact { margin-top: 24px; color: var(--muted); }
}
@media (max-width: 480px) { .brand img { width: 50px; height: 50px; } .hide-xs { display: none !important; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 72px) 0 clamp(64px, 9vw, 120px);
  background: linear-gradient(180deg, #f2f8fc 0%, #fff 78%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.hero h1 { margin-bottom: 26px; }
.hero h1 .ln { display: block; }
.hero .lede { margin-bottom: 34px; color: var(--text); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; color: var(--muted); font-size: .95rem; }
.hero-meta span, .hero-meta a { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta a { color: var(--ink); font-weight: 650; text-decoration: none; }
.hero-meta a:hover { color: var(--red); }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue-ink); flex: none; }

/* The clock dial: the BakeTime logo's clock face, with a pie at its centre. */
.dial { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.dial-face { position: absolute; inset: 0; border-radius: 50%; background: var(--blue);
  box-shadow: inset 0 -18px 40px rgba(0,60,110,.22), 0 40px 70px -40px rgba(0,80,140,.55); }
.dial .tick { position: absolute; inset: 0; transform: rotate(calc(var(--i) * 30deg)); pointer-events: none; }
.dial .tick::before { content: ""; position: absolute; left: 50%; top: 2.9%; width: 3.1%; aspect-ratio: 1; margin-left: -1.55%; border-radius: 50%; background: #fff; }
.dial-photo { position: absolute; inset: 9.5%; border-radius: 50%; overflow: hidden; background: #c9d2d8;
  box-shadow: 0 0 0 7px rgba(255,255,255,.16), 0 18px 34px -16px rgba(0,30,60,.55); }
.dial-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticket {
  position: absolute; right: -2%; bottom: 7%; width: max-content; max-width: 230px;
  background: #fff; border-radius: 12px; padding: 14px 18px 15px; box-shadow: var(--lift);
  transform: rotate(-4deg); color: var(--ink); line-height: 1.25;
}
.ticket b { display: block; font-size: 1.12rem; font-stretch: 112%; font-weight: 800; }
.ticket span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.ticket em { display: block; font-style: normal; color: var(--red); font-weight: 850; font-stretch: 112%; font-size: 1.25rem; margin-top: 8px; }

.dial .tick:nth-of-type(1) { --i: 0; }
.dial .tick:nth-of-type(2) { --i: 1; }
.dial .tick:nth-of-type(3) { --i: 2; }
.dial .tick:nth-of-type(4) { --i: 3; }
.dial .tick:nth-of-type(5) { --i: 4; }
.dial .tick:nth-of-type(6) { --i: 5; }
.dial .tick:nth-of-type(7) { --i: 6; }
.dial .tick:nth-of-type(8) { --i: 7; }
.dial .tick:nth-of-type(9) { --i: 8; }
.dial .tick:nth-of-type(10) { --i: 9; }
.dial .tick:nth-of-type(11) { --i: 10; }
.dial .tick:nth-of-type(12) { --i: 11; }

/* One orchestrated load: the clock ticks round, the pie settles, the headline rises. */
@media (prefers-reduced-motion: no-preference) {
  .dial .tick::before { animation: tickIn .35s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 150ms); }
  .dial-photo { animation: photoIn .9s var(--ease) .1s both; }
  .ticket { animation: ticketIn .6s var(--ease) .95s both; }
  .hero h1 .ln, .hero .lede, .hero .actions, .hero-meta { animation: rise .7s var(--ease) both; }
  .hero h1 .ln:nth-child(2) { animation-delay: 90ms; }
  .hero .lede { animation-delay: 180ms; }
  .hero .actions { animation-delay: 260ms; }
  .hero-meta { animation-delay: 340ms; }
}
@keyframes tickIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ticketIn { from { opacity: 0; transform: rotate(-4deg) translateY(14px); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .dial { order: -1; width: min(86%, 420px); margin-bottom: 8px; }
  .ticket { right: -6%; bottom: 2%; padding: 11px 14px 12px; max-width: 190px; }
  .ticket b { font-size: 1rem; } .ticket em { font-size: 1.1rem; margin-top: 4px; }
  .hero .actions .btn { flex: 1 1 220px; }
}
@media (max-width: 380px) { .ticket { max-width: 156px; padding: 9px 12px 10px; bottom: -5%; } .ticket span { display: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section.steel { background: var(--steel); }
.section.navy { background: var(--navy); }

/* ---------- Product showcase: price tickets, like a pie warmer ---------- */
.range-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.range-top .section-head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 650; font-size: .95rem; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px) clamp(14px, 2vw, 24px); }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile[hidden] { display: none; }
.tile-photo { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #cfd8de; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.price-tag {
  position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--red);
  font-weight: 850; font-stretch: 112%; font-size: 1.02rem; line-height: 1; padding: 8px 10px 7px; border-radius: 8px;
  box-shadow: 0 8px 16px -10px rgba(0,0,0,.6);
}
.tile h3 { font-size: 1.14rem; font-stretch: 110%; letter-spacing: -.01em; margin: 14px 0 4px; }
.tile p { font-size: .95rem; line-height: 1.45; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .tile.show { animation: tileIn .35s var(--ease) both; }
  @keyframes tileIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.range-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(36px, 4vw, 52px); padding-top: 28px; border-top: 1px solid var(--line); }
.sweets { margin-top: clamp(48px, 6vw, 72px); }
.sweets h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.sweets > p { margin-bottom: 22px; }

/* Compact range list (wholesale page) */
.grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.compact .tile { flex-direction: row; align-items: center; gap: 14px; background: #fff; border-radius: var(--r); padding: 10px; }
.compact .tile-photo { width: 72px; flex: none; border-radius: 10px; }
.compact .tile h3 { margin: 0; font-size: 1rem; }
.compact .tile p { font-size: .88rem; }
.compact .price-tag { display: none; }

@media (max-width: 1020px) { .grid, .grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.compact { grid-template-columns: 1fr 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .tile h3 { font-size: 1.02rem; margin-top: 10px; }
  .tile p { font-size: .88rem; }
  .price-tag { left: 8px; bottom: 8px; font-size: .92rem; padding: 7px 8px 6px; }
}
@media (max-width: 520px) { .grid.compact { grid-template-columns: 1fr; } }

/* ---------- Placeholders for content the bakery still needs to supply ---------- */
.todo {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  border: 2px dashed #7cb6dc; border-radius: var(--r); padding: 16px 18px;
  background: repeating-linear-gradient(135deg, #f5fafd 0 12px, #ebf4fa 12px 24px);
  color: var(--blue-ink); font-size: .93rem; line-height: 1.45;
}
.todo strong { color: var(--navy); font-weight: 800; }
.on-dark .todo { background: rgba(255,255,255,.06); border-color: rgba(143,211,250,.6); color: #bfe3f8; }
.on-dark .todo strong { color: #fff; }
.todo.photo { aspect-ratio: 4 / 5; align-items: center; text-align: center; }
.tile .todo { aspect-ratio: 1; align-items: center; text-align: center; }

/* ---------- Why BakeTime ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; margin-top: 40px; padding: 0; list-style: none; }
.points h3 { font-size: 1.18rem; font-stretch: 110%; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.points h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; }
.points p { color: var(--muted); font-size: 1rem; }
.points .todo { margin-top: 10px; }
.photo-frame { border-radius: var(--r-lg); overflow: hidden; background: #cfd8de; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.why .photo-frame { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why .photo-frame { aspect-ratio: 4 / 3; order: -1; }
}
@media (max-width: 560px) { .points { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Wholesale band ---------- */
.trade { position: relative; overflow: hidden; }
.trade-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.trade .lede { color: #d5e2ec; margin: 22px 0 30px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 36px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; color: #e3edf4; font-size: 1.05rem; }
.ticks li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; transform: translateY(-1px); }
.steps-card { background: var(--navy-2); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 40px); }
.steps-card h3 { font-size: 1.35rem; margin-bottom: 22px; }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.steps li::before {
  content: counter(s); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 850; font-stretch: 115%; font-size: 1.15rem;
}
.steps b { display: block; color: #fff; font-size: 1.08rem; font-stretch: 108%; margin: 2px 0 2px; }
.steps span { color: #b9cad8; font-size: .98rem; }
@media (max-width: 900px) { .trade-grid { grid-template-columns: 1fr; } }

/* ---------- Find us ---------- */
.find-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.panel { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); }
.panel h3 { font-size: 1.5rem; margin-bottom: 14px; }
.addr { font-size: 1.15rem; color: var(--ink); font-weight: 600; margin-bottom: 22px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0; margin-bottom: 26px; }
.hours dt, .hours dd { padding: 12px 0; border-top: 1px solid var(--line); }
.hours dt { font-weight: 700; color: var(--ink); }
.hours dd { color: var(--muted); text-align: right; padding-left: 16px; }
.map { border-radius: var(--r-lg); overflow: hidden; background: #d9e3e9; min-height: 360px; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stockists { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.stockists h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.stock-search { display: grid; gap: 8px; margin-bottom: 14px; }
.stock-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.stock-list li { background: #fff; border-radius: var(--r); padding: 16px 18px; }
.stock-list b { color: var(--ink); display: block; }
@media (max-width: 860px) { .find-grid, .stockists { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.story-grid .h2 { margin-bottom: 24px; }
.story-fact { background: var(--navy); color: #fff; border-radius: var(--r); padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; }
.story-fact p { margin: 0; color: rgba(255,255,255,.78); }
.story-fact b { display: block; color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-stretch: 110%; line-height: 1.1; margin-bottom: 4px; }
.story-grid p + p { margin-top: 1em; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; }  }

/* ---------- Final call to action ---------- */
.cta-band { background: var(--red); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe3e3; margin-top: 10px; font-size: 1.1rem; }
.cta-band .text-link { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cad8; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .97rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font-size: 1rem; font-stretch: 108%; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #dbe7f0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-brand img { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 16px; }
.foot-brand p { max-width: 22em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #8ea4b6; font-size: .9rem; }
.site-footer .todo { padding: 10px 12px; font-size: .85rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); }
.page-hero.navy { background: var(--navy); }
.page-hero.steel { background: linear-gradient(180deg, #f2f8fc, var(--steel)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 8.4vw, 3.2rem); font-weight: 850; font-stretch: 120%; line-height: .98; letter-spacing: -.025em; margin-bottom: 22px; }
.page-hero .lede { margin-bottom: 32px; }
@media (min-width: 861px) { .page-hero h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); } }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; width: 100%; }
.mosaic img:nth-child(1) { border-top-left-radius: 120px; }
.mosaic img:nth-child(4) { border-bottom-right-radius: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(36px, 5vw, 56px); padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); color: #e3edf4; font-weight: 600; font-size: .93rem; }
.made-for { margin-top: clamp(36px, 5vw, 56px); }
.made-for h2 { font-size: 1rem; font-stretch: 108%; color: #fff; letter-spacing: 0; }
.made-for .chips { margin-top: 12px; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .mosaic { max-width: 460px; } }

/* ---------- Benefits (wholesale) ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; border-top: 2px solid var(--navy); }
.benefits li { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.benefits li:nth-child(3n+2), .benefits li:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--line); }
.benefits h3 { font-size: 1.25rem; font-stretch: 110%; margin-bottom: 8px; }
.benefits p { color: var(--muted); }
@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefits li, .benefits li:nth-child(3n+2), .benefits li:nth-child(3n) { padding: 24px 22px 26px 0; border-left: 0; }
  .benefits li:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits li, .benefits li:nth-child(2n) { padding: 22px 0; border-left: 0; }
}

.stocked { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: clamp(36px, 5vw, 56px); }
.stocked h3 { font-size: 1.35rem; font-stretch: 110%; }
@media (max-width: 760px) { .stocked { grid-template-columns: 1fr; gap: 12px; } }

/* Steps, light version (wholesale page) */
.steps-row { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps-row li { counter-increment: s; position: relative; }
.steps-row li::before {
  content: counter(s); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 850; font-stretch: 118%; font-size: 1.6rem; margin-bottom: 20px;
}
.steps-row h3 { font-size: 1.3rem; font-stretch: 110%; margin-bottom: 8px; }
.steps-row p { color: var(--muted); }
@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; } }

/* FAQ accordions */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border-radius: var(--r); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 750; font-stretch: 108%; color: var(--ink); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 22px 22px; color: var(--text); display: grid; gap: 12px; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card h3 { color: var(--ink); }
.on-dark .form-card .muted { color: var(--muted); }
.on-dark .form-card .linkish { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.text-link { color: var(--blue-ink); }
.on-dark .form-card .btn-line { border-color: var(--navy); color: var(--navy); }
.on-dark .form-card .btn-line:hover { background: var(--navy); color: #fff; }
.on-dark .form-card :focus-visible { outline-color: var(--blue); }
.form-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3.6vw, 44px); box-shadow: 0 40px 80px -50px rgba(0,0,0,.6); }
.contact-alt { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 30px; }
.contact-alt a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact-alt a:hover { text-decoration: underline; }
.contact-alt svg { width: 22px; height: 22px; color: #8fd3fa; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field .opt-label { font-weight: 500; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid #c7d4dd; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230c2a44' stroke-width='2.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input:hover { border-color: #9fb3c1; }
.input:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(0,144,216,.22); }
.input[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: .88rem; font-weight: 600; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1.5px solid #c7d4dd; border-radius: 999px; cursor: pointer; font-size: .93rem; font-weight: 600; color: var(--ink); }
.check:has(input:checked) { border-color: var(--navy); background: #eaf3f9; }
.check input { accent-color: var(--navy); width: 16px; height: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-foot .btn { min-width: 210px; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: #fdecec; color: #8f1d22; font-weight: 600; }
.form-msg:empty { display: none; }
.form-done { text-align: left; }
.form-done h3 { font-size: 1.7rem; margin-bottom: 10px; }
.form-done .actions { margin-top: 22px; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.done-mark svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- Order page ---------- */
.order-info { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
.order-info li { background: #fff; border-radius: var(--r); padding: 14px 18px; display: grid; gap: 2px; min-width: 240px; }
.order-info b { color: var(--ink); }
.order-info span { color: var(--muted); font-size: .95rem; }
.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.group + .group { margin-top: 44px; }
.group h2 { font-size: 1.35rem; font-stretch: 110%; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.item { display: grid; grid-template-columns: 88px 1fr auto; gap: 4px 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; grid-row: 1 / span 2; background: #cfd8de; }
.item .nm { font-weight: 750; font-stretch: 106%; font-size: 1.07rem; color: var(--ink); align-self: end; line-height: 1.25; }
.item .ds { color: var(--muted); font-size: .93rem; line-height: 1.4; grid-column: 2; align-self: start; }
.item .price { font-weight: 850; font-stretch: 112%; color: var(--red); align-self: end; text-align: right; }
.qty { display: flex; align-items: center; gap: 4px; justify-self: end; align-self: start; }
.qty button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.qty button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.qty output { min-width: 1.8em; text-align: center; font-weight: 850; }
.item.has { background: linear-gradient(90deg, rgba(0,144,216,.07), transparent 75%); }
.item.has .qty output { color: var(--red); }
.cart { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: 0 1px 0 var(--line), var(--lift); }
.cart h2 { font-size: 1.3rem; font-stretch: 110%; margin-bottom: 14px; }
.lines { list-style: none; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.lines .empty { color: var(--muted); border: 0; padding-top: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 850; font-stretch: 112%; font-size: 1.45rem; color: var(--ink); padding: 14px 0 4px; }
.cart .btn { width: 100%; margin-top: 14px; }
.note { font-size: .9rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.checkout-wrap { max-width: 720px; }
.method { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; color: var(--ink); background: #fff; }
.opt:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f5fafd; }
.opt input { accent-color: var(--red); width: 18px; height: 18px; }
.paid { background: #e8f6fd; border-left: 4px solid var(--blue); border-radius: var(--r); padding: 20px 22px; margin-bottom: 30px; }
.paid h2 { font-size: 1.3rem; margin-bottom: 6px; }
.err { color: var(--red); font-weight: 700; margin-top: 16px; min-height: 1.4em; }
#pay { width: 100%; margin-top: 8px; }
.bar { display: none; }
@media (max-width: 900px) {
  .menu-layout { grid-template-columns: 1fr; }
  .cart { position: static; }
  .bar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--navy); color: #fff; border-radius: 14px; padding: 8px 8px 8px 18px; text-decoration: none; font-weight: 700;
    box-shadow: 0 16px 34px -12px rgba(0,0,0,.55); transform: translateY(150%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
  }
  .bar.on { transform: none; visibility: visible; }
  .bar .go { background: var(--red); padding: 12px 18px; border-radius: 10px; }
  .has-bar .site-footer { padding-bottom: 110px; }
}
@media (max-width: 520px) {
  .item { grid-template-columns: 72px 1fr auto; gap: 4px 14px; }
  .item img { width: 72px; height: 72px; grid-row: 1 / span 3; }
  .item .nm, .item .ds { grid-column: 2 / span 2; }
  .item .price { grid-column: 2; grid-row: 3; text-align: left; align-self: center; }
  .item .qty { grid-column: 3; grid-row: 3; }
}

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; align-content: center; }
.lost h1 { margin-bottom: 18px; }
.lost .actions { margin-top: 28px; }
