/* The Cookie Club: the new look (pages drawn with page({ chrome: 'new' }), see src/layout.mjs).
   Kate's "Sand" palette: creams and sands, with one brown as the strong colour. Nothing is outlined in black.
   Loaded after site.css, so everything here is scoped to body.chrome-new or uses its own f- names. */

/* ------------------------------ the fonts ------------------------------ */
/* Served from this site, so a page can be drawn without first visiting another company's servers (which
   also means visitors aren't reported to one). Latin letters only. Their licences are in
   assets/fonts/LICENCES.txt. Browsers keep these files for a year: a replacement needs a new name. */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url('/assets/fonts/nunito-latin-variable.woff2') format('woff2'); }
@font-face { font-family: 'Bagel Fat One'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/bagel-fat-one-latin-400.woff2') format('woff2'); }
/* The script lettering on the home page's biscuits and on a cookie's live preview: only fetched where it's used. */
@font-face { font-family: 'Dancing Script'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/dancing-script-latin-700.woff2') format('woff2'); }

/* ------------------------------ colours, type and movement ------------------------------ */
.chrome-new {
  /* Kate's "Sand" palette: her four swatch colours, on the swatch's own cream. */
  --paper: #fef9f3;        /* the page */
  --sand-1: #f7eae2;       /* soft surfaces */
  --sand-2: #f2decc;       /* the field a page opens with, and the footer */
  --sand-3: #d5c3b2;       /* lines, the banner, panels */
  --brown: #876345;        /* buttons, big headings, icons, the gift panel */
  --deep: #5b412b;         /* words: the brown, deepened so small print reads easily */

  /* What each is used for. Rules below use these names, never the colours themselves. */
  --page: var(--paper);
  --soft: var(--sand-1);   /* soft surfaces: tiles, bands, the bubble behind a plus sign */
  --soft-2: var(--sand-2); /* a second, third and fourth soft tone, so tiles side by side differ */
  --soft-3: #ecdccd;
  --soft-4: #f4e6da;
  --line: var(--sand-3);   /* lines, and the edge under a pale button */
  --field-line: #a08a76;   /* the edge of something to type in or choose: deeper, so it can be seen */
  --panel: var(--sand-3);  /* a panel of colour, small labels */
  --tint: var(--sand-3);   /* selected text, a stamp */
  --text: var(--deep);     /* small headings, names, menu links */
  --text-soft: #664a34;    /* reading text */
  --muted: #76573d;
  --heading: var(--brown); /* the big headings */
  --accent: var(--brown);  /* a fill: buttons, the cart, the closing panel */
  --on-accent: #fff9f3;    /* words on that fill */
  --accent-shelf: #694b32; /* the edge under a button */
  --accent-ink: var(--brown); /* the accent as small text: links, prices */
  --accent-deep: #6b4c33;  /* the same on a sand surface, where it needs to be a little deeper */
  --mark: var(--brown);    /* rings round what is chosen, and focus outlines */
  --ico: var(--brown);     /* an icon's main colour */
  --i2: var(--sand-3);     /* and its second */
  --on-dark: #fff9f3;      /* words on the deep brown */
  --top: var(--sand-3);    /* the banner across the top, the words on it, and the marks between them */
  --on-top: var(--deep);
  --top-mark: var(--brown);
  --field: var(--sand-2);  /* the big field of colour a page opens with */
  --field-glow: var(--paper); /* the lighter patch in it */
  --field-ink: var(--deep);   /* words on it */
  --field-head: var(--brown); /* its heading */
  --gift: var(--brown);    /* the gift panel, and the words on it */
  --on-gift: #fff9f3;
  --stamp-bg: var(--sand-3); /* the round stamp */
  --stamp-ink: var(--deep);
  --shade: 135, 99, 69;    /* the tint of soft shadows (red, green, blue) */
  --shade-deep: 104, 75, 50;
  --pop-2: #957252;        /* the circles on the closing panel */
  --pop-3: #7a583c;
  --biscuit: #d9a878;
  --sprinkles: #876345, #d5c3b2, #f2decc, #ffffff, #b08a68, #f7eae2; /* what flies when something goes in the cart */
  /* The 3D biscuits' light and shadow (read by hero3d.js) */
  --h3d-ground: #ead9c6;
  --h3d-fill: #fff1e0;
  --h3d-room: #fdf6ef;
  --h3d-room-low: #dccab8;
  --h3d-shadow: 135, 99, 69;

  /* The older stylesheet (site.css: cart, checkout, forms, the built pages) reads these names. */
  --ink: var(--text);
  --ink-soft: var(--text-soft);
  --cream: var(--page);
  --cream-2: var(--soft);
  --white: #fff;
  --pink: var(--sand-3);
  --pink-deep: var(--accent);
  --dough: #d9a878;
  --line-ink: var(--line);   /* its outlines are the sand line */
  --mark-ink: var(--mark);   /* what's chosen is ringed in brown */
  --edge-ink: transparent;   /* and its hard-edged drop shadows go */
  --hair: var(--line);       /* its faint grey lines are the sand line too */
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(var(--shade), 0.45), 0 2px 8px rgba(91, 65, 43, 0.04);
  --font-display: 'Bagel Fat One', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;

  --r-xl: 44px;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --lift: 0 28px 60px -28px rgba(var(--shade), 0.55), 0 4px 14px rgba(91, 65, 43, 0.05);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --wrap: min(1240px, 100% - 32px);
  --gutter: max(16px, (100vw - 1240px) / 2); /* the space either side of the page's column */
  --head-h: 84px;                           /* the floating menu: 12px above it and 72px tall */

  background: var(--page);
  color: var(--text-soft);
  -webkit-font-smoothing: antialiased;
}
.chrome-new ::selection { background: var(--tint); color: var(--text); }
.chrome-new .wrap { width: var(--wrap); }
:where(.chrome-new) h1, :where(.chrome-new) h2, :where(.chrome-new) .cta-title { font-family: var(--font-display); color: var(--heading); font-weight: 400; letter-spacing: 0; line-height: 1; text-wrap: balance; }
:where(.chrome-new) h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); }
:where(.chrome-new) h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
:where(.chrome-new) h3, :where(.chrome-new) .h3 { font-family: var(--font-body); font-weight: 900; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--text); line-height: 1.2; }
.chrome-new p { text-wrap: pretty; }
.chrome-new a { color: var(--text); text-decoration-color: var(--tint); }
.chrome-new a:hover { color: var(--accent-ink); }
.chrome-new :focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 8px; }
.chrome-new .skip:focus { background: var(--accent); color: var(--on-accent); }

/* ------------------------------ buttons ------------------------------ */
.f-btn { --shelf: var(--accent-shelf); display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; font: 900 1.05rem/1 var(--font-body); color: var(--on-accent); background: var(--accent); border: 0; border-radius: 999px; padding: 1.05em 1.7em; text-decoration: none; cursor: pointer; box-shadow: 0 6px 0 var(--shelf); transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease; -webkit-tap-highlight-color: transparent; }
.chrome-new a.f-btn { color: var(--on-accent); }
.f-btn svg { flex: none; }
.f-btn:active { transform: translateY(5px) scale(0.985); box-shadow: 0 1px 0 var(--shelf); }
.f-btn--soft, .chrome-new a.f-btn--soft { background: #fff; color: var(--accent-ink); --shelf: var(--line); }
.f-btn--dark, .chrome-new a.f-btn--dark { background: var(--text); color: var(--on-dark); --shelf: #3f2c1c; }
.f-btn--big { font-size: 1.2rem; padding: 1.15em 2em; }
.f-btn--sm { font-size: 0.95rem; padding: 0.8em 1.25em; box-shadow: 0 4px 0 var(--shelf); }
.f-btn--block { display: flex; width: 100%; }
.f-btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .f-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--shelf); }
  .f-btn:active { transform: translateY(5px) scale(0.985); box-shadow: 0 1px 0 var(--shelf); }
}
.f-sec--soft, .f-foot, .f-side, .f-panel, .f-fact { --accent-ink: var(--accent-deep); }
.f-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 900; color: var(--accent-ink); text-decoration: none; border-bottom: 3px solid var(--line); padding-bottom: 2px; transition: border-color 0.15s ease; }
.chrome-new a.f-link { color: var(--accent-ink); }
.f-link:hover { border-color: var(--mark); }

/* ------------------------------ the moving bar across the top ------------------------------ */
.f-top { background: var(--top); color: var(--on-top); font-weight: 800; font-size: 0.92rem; line-height: 1.2; overflow: hidden; position: relative; z-index: 2; }
.f-top-track { display: flex; width: max-content; animation: f-marquee 60s linear infinite; }
.f-top:hover .f-top-track { animation-play-state: paused; }
.f-top ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0.68rem 0; flex: none; }
.f-top li { display: flex; align-items: center; white-space: nowrap; }
.f-top li::after { content: ''; flex: none; width: 15px; height: 15px; margin: 0 1.5rem; background: var(--top-mark); -webkit-mask: var(--bite-mark) center / contain no-repeat; mask: var(--bite-mark) center / contain no-repeat; }
.f-top li[hidden] { display: none; }
.chrome-new { --bite-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4a20 20 0 1 0 19.8 22.8 6 6 0 0 1-6.3-7.5 6.5 6.5 0 0 1-7.3-8.1A7 7 0 0 1 24 4z'/%3E%3C/svg%3E"); }
@keyframes f-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .f-top-track { animation: none; width: auto; justify-content: center; }
  .f-top ul + ul { display: none; }
  .f-top ul { flex-wrap: wrap; justify-content: center; row-gap: 0.3rem; }
  .f-top li.is-repeat { display: none; }
}

/* ------------------------------ the menu ------------------------------ */
.f-head { position: sticky; top: 0; z-index: 50; padding-top: 12px; pointer-events: none; }
.f-head-in { pointer-events: auto; position: relative; z-index: 3; width: var(--wrap); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 0.75rem; padding: 9px 10px 9px 24px; background: rgba(255, 255, 255, 0.93); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-radius: 999px; box-shadow: var(--shadow); transition: box-shadow 0.25s ease; }
.f-head.is-stuck .f-head-in { box-shadow: var(--lift); }
.f-logo { flex: none; display: block; line-height: 0; border-radius: 12px; }
.f-logo img { width: auto; height: 54px; }
.f-nav { margin-inline: auto; }
.f-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.f-nav li { display: flex; align-items: center; }
.f-nav a { display: flex; align-items: center; gap: 0.4em; padding: 0.72em 1em; border-radius: 999px; font-weight: 800; font-size: 1.02rem; line-height: 1; color: var(--text); text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.f-nav a:hover, .f-nav li.is-open > a { background: var(--soft); color: var(--text); }
.f-nav a[aria-current='page'] { background: var(--soft); color: var(--accent-deep); }
.f-nav .f-mega-btn { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -12px; margin-right: 4px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; }
.f-nav .f-mega-btn svg { transition: transform 0.2s var(--ease-out); }
.f-nav li.is-open .f-mega-btn svg { transform: rotate(180deg); }
.f-tools { flex: none; display: flex; align-items: center; gap: 8px; }
.f-enq { display: inline-flex; align-items: center; padding: 0.95em 1.3em; border-radius: 999px; background: var(--soft); color: var(--accent-deep); font-weight: 900; font-size: 0.98rem; line-height: 1; text-decoration: none; transition: background-color 0.15s ease; }
.chrome-new a.f-enq { color: var(--accent-deep); }
.f-enq:hover { background: var(--line); }
.f-cart { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); text-decoration: none; transition: transform 0.16s ease, background-color 0.16s ease; }
.chrome-new a.f-cart { color: var(--on-accent); }
.f-cart:hover { background: var(--accent-shelf); }
.f-cart:active { transform: scale(0.94); }
.f-cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--panel); color: var(--text); font-size: 0.78rem; font-weight: 900; line-height: 1; box-shadow: 0 0 0 3px #fff; }
.f-cart[data-empty] .f-cart-count { display: none; }
.f-cart.is-bump { animation: f-bump 0.5s var(--ease-out); }
@keyframes f-bump { 30% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(0.96) rotate(4deg); } }
.f-burger { display: none; position: relative; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--soft); color: var(--text); cursor: pointer; }
.f-burger span, .f-burger span::before, .f-burger span::after { position: absolute; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 3px; background: currentColor; transition: transform 0.25s var(--ease-out), opacity 0.15s ease; }
.f-burger span { top: 50%; margin-top: -1.5px; }
.f-burger span::before, .f-burger span::after { content: ''; top: 0; }
.f-burger span::before { transform: translateY(-7px); }
.f-burger span::after { transform: translateY(7px); }
.f-burger[aria-expanded='true'] span { background: transparent; }
.f-burger[aria-expanded='true'] span::before { transform: rotate(45deg); background: var(--text); }
.f-burger[aria-expanded='true'] span::after { transform: rotate(-45deg); background: var(--text); }

/* What opens under the menu: one panel at a time on a wide screen, all of them in a drawer on a phone. */
.f-menu { pointer-events: none; position: absolute; left: 50%; top: calc(100% + 10px); width: var(--wrap); transform: translateX(-50%); z-index: 2; }
.f-panel { display: none; pointer-events: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--lift); padding: 22px; }
.f-panel.is-open { display: block; animation: f-drop 0.24s var(--ease-out); transform-origin: 50% 0; }
@keyframes f-drop { from { opacity: 0; transform: translateY(-10px) scale(0.985); } }
.f-panel-h, .f-menu-more, .f-menu-top { display: none; }
.f-panel-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; align-items: stretch; }
.f-panel-body.is-single { grid-template-columns: minmax(0, 1fr); }
.f-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.f-tile { --tile: var(--soft); position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 212px; padding: 18px; border-radius: var(--r-md); background: var(--tile); color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate; }
.f-tiles li:nth-child(4n + 2) .f-tile { --tile: var(--soft-2); }
.f-tiles li:nth-child(4n + 3) .f-tile { --tile: var(--soft-3); }
.f-tiles li:nth-child(4n + 4) .f-tile { --tile: var(--soft-4); }
.f-tile img { position: absolute; z-index: -1; right: -22px; top: -22px; width: 68%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 14px 26px -14px rgba(91, 65, 43, 0.55); transition: transform 0.45s var(--ease-out); }
.f-tile strong { font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; line-height: 1.02; max-width: 11ch; text-wrap: balance; }
.f-tile small { margin-top: 6px; font-weight: 800; font-size: 0.9rem; color: var(--accent-deep); }
.f-rounds { list-style: none; margin: 0; padding: 4px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 12px; }
.f-round { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--text); font-weight: 800; font-size: 0.98rem; line-height: 1.15; text-decoration: none; }
.f-round img, .f-round .f-round-blank { width: 100%; max-width: 132px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--soft); box-shadow: 0 0 0 6px var(--ring, var(--soft)); transition: transform 0.45s var(--ease-out); }
.f-rounds li:nth-child(4n + 2) .f-round { --ring: var(--soft-2); }
.f-rounds li:nth-child(4n + 3) .f-round { --ring: var(--soft-3); }
.f-rounds li:nth-child(4n + 4) .f-round { --ring: var(--soft-4); }
.f-round-note { position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(-4deg); z-index: 1; padding: 4px 9px; border-radius: 999px; background: var(--panel); color: var(--text); font-size: 0.74rem; font-weight: 900; white-space: nowrap; }
.f-side { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-md); background: var(--soft); }
.f-side-h { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05; color: var(--text); }
.f-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-side li a { display: block; padding: 0.55em 0.9em; border-radius: 999px; background: #fff; color: var(--text); font-weight: 800; font-size: 0.93rem; line-height: 1; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.f-side li a:hover { background: var(--accent); color: var(--on-accent); }
.f-side .f-btn { margin-top: auto; }
.f-side--accent { background: var(--accent); color: var(--on-accent); }
.f-side--accent .f-side-h { color: var(--on-accent); }
.f-side--accent p { margin: 0; font-weight: 700; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) {
  .f-tile:hover img { transform: scale(1.07) rotate(7deg); }
  .f-round:hover img { transform: scale(1.06) rotate(-5deg); }
  .f-round:hover { color: var(--accent-ink); }
}
.f-scrim { display: none; }

@media (max-width: 1100px) { .f-enq { display: none; } .f-nav a { padding-inline: 0.8em; } }
@media (max-width: 960px) {
  .f-head-in { padding-left: 20px; height: 66px; }
  .f-logo img { height: 48px; }
  .chrome-new { --head-h: 78px; }
  .f-nav { display: none; }
  .f-tools { margin-left: auto; }
  .f-burger { display: block; z-index: 4; }
  .f-cart, .f-burger { width: 48px; height: 48px; }
  .f-menu { pointer-events: auto; position: fixed; inset: 0 0 0 auto; width: min(430px, 100%); height: 100dvh; transform: translateX(104%); visibility: hidden; transition: transform 0.36s var(--ease-out), visibility 0s 0.36s; background: var(--page); overflow-y: auto; overscroll-behavior: contain; padding: 136px 18px 40px; box-shadow: -30px 0 60px -30px rgba(var(--shade), 0.5); z-index: 1; }
  .f-menu.is-open { transform: none; visibility: visible; transition: transform 0.36s var(--ease-out); }
  .f-panel, .f-panel.is-open { display: block; animation: none; background: none; box-shadow: none; padding: 0; border-radius: 0; margin-bottom: 30px; }
  .f-panel-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--text); }
  .f-panel-h a { color: inherit; text-decoration: none; }
  .f-panel-h .f-link { font-family: var(--font-body); font-size: 0.95rem; }
  .f-panel-body, .f-panel-body.is-single { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .f-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .f-tile { min-height: 150px; padding: 14px; }
  .f-tile strong { font-size: 1.12rem; }
  .f-tile img { width: 62%; right: -16px; top: -16px; }
  .f-rounds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; }
  .f-round { font-size: 0.85rem; gap: 8px; }
  .f-round img, .f-round .f-round-blank { box-shadow: 0 0 0 4px var(--ring, var(--soft)); }
  .f-side { padding: 16px; }
  .f-menu-more { display: grid; gap: 4px; list-style: none; margin: 0 0 22px; padding: 0; }
  .f-menu-more a { display: flex; justify-content: space-between; align-items: center; padding: 0.8em 0.2em; border-bottom: 2px dashed var(--line); font-weight: 900; font-size: 1.1rem; color: var(--text); text-decoration: none; }
  .f-menu-top { display: flex; }
  .f-menu-more a small { font-weight: 700; font-size: 0.88rem; color: var(--muted); }
  .f-scrim { display: block; position: fixed; inset: 0; background: rgba(91, 65, 43, 0.35); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; pointer-events: auto; z-index: 0; }
  .f-scrim.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
  html.f-lock { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .f-panel.is-open, .f-cart.is-bump { animation: none; }
  .f-menu, .f-menu.is-open, .f-scrim, .f-tile img, .f-round img, .f-btn, .f-burger span, .f-burger span::before, .f-burger span::after { transition: none; }
}

/* ------------------------------ the search box ------------------------------ */
/* The button beside the cart and what it opens: a panel under the menu on a wide screen, the whole
   screen on a phone. find.js fills it. Without scripts the button is a link to /shop/search/. */
.f-find { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--soft); color: var(--text); text-decoration: none; transition: transform 0.16s ease, background-color 0.16s ease; }
.chrome-new a.f-find { color: var(--text); }
.f-find:hover, .f-find[aria-expanded='true'] { background: var(--line); }
.f-find:active { transform: scale(0.94); }
.f-search { pointer-events: auto; position: absolute; top: calc(100% + 10px); right: calc((100% - var(--wrap)) / 2); width: min(580px, var(--wrap)); z-index: 2; padding: 14px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--lift); animation: f-drop 0.2s var(--ease-out); transform-origin: 100% 0; }
.f-search[hidden] { display: none; }
.f-search-form { position: relative; display: flex; align-items: center; gap: 6px; }
.f-search-ico { position: absolute; left: 18px; top: 50%; display: grid; transform: translateY(-50%); color: var(--accent-ink); pointer-events: none; }
.f-search-form input { flex: 1; min-width: 0; height: 54px; margin: 0; padding: 0 18px 0 50px; border: 0; border-radius: 999px; background: var(--soft); color: var(--text); font: 800 1.05rem/1.2 var(--font-body); -webkit-appearance: none; appearance: none; }
.f-search-form input::placeholder { color: var(--muted); opacity: 1; font-weight: 700; }
.f-search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.f-search-form input:focus-visible { outline: 3px solid var(--mark); outline-offset: 0; border-radius: 999px; }
.f-search-x { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; transition: background-color 0.15s ease; }
.f-search-x:hover { background: var(--soft); }
.chrome-new .f-search-x:focus-visible { border-radius: 50%; }
.f-search-out { display: grid; gap: 18px; max-height: min(66vh, 600px); overflow-y: auto; overscroll-behavior: contain; padding: 16px 6px 8px; }
.f-search-out:empty { display: none; }
.f-search-h { margin: 0 0 8px; padding-inline: 4px; font-weight: 900; font-size: 0.88rem; line-height: 1.3; color: var(--muted); }
.f-search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.f-search-item { display: flex; align-items: center; gap: 14px; padding: 7px 10px 7px 7px; border-radius: 999px; text-decoration: none; transition: background-color 0.12s ease; }
.f-search-item:hover, .f-search-item:focus-visible { background: var(--soft); }
.chrome-new .f-search-item:focus-visible { border-radius: 999px; outline-offset: 0; }
.f-search-item img, .f-search-blank { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft-2); }
.f-search-item > span:last-child { display: grid; gap: 3px; min-width: 0; }
.f-search-item strong { font-weight: 900; font-size: 1.02rem; line-height: 1.2; color: var(--text); }
.f-search-item small { font-weight: 800; font-size: 0.9rem; line-height: 1; color: var(--accent-ink); }
.f-search-chips { list-style: none; margin: 0; padding: 0 2px; display: flex; flex-wrap: wrap; gap: 8px; }
.f-search-chips a { display: block; padding: 0.7em 1.05em; border-radius: 999px; background: var(--soft); color: var(--text); font-weight: 800; font-size: 0.95rem; line-height: 1; text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.f-search-chips a:hover { background: var(--accent); color: var(--on-accent); }
.chrome-new .f-search-chips a:focus-visible { border-radius: 999px; }
.f-search-answer { padding: 16px 18px; border-radius: var(--r-md); background: var(--soft); --accent-ink: var(--accent-deep); }
.f-search-answer .f-search-h { padding: 0; font-size: 1rem; color: var(--text); }
.f-search-answer p { margin: 0; line-height: 1.45; }
.f-search-answer p + p { margin-top: 8px; }
.f-search-answer a { font-weight: 900; }
.f-search-none { margin: 0; padding-inline: 4px; font-weight: 700; line-height: 1.45; }
.f-search-none a { font-weight: 900; }
.f-search-more { margin: 0; padding: 0 4px 2px; }
.f-search-more .f-link { padding: 0 0 2px; border: 0; border-bottom: 3px solid var(--line); border-radius: 0; background: none; font: 900 1rem/1.3 var(--font-body); text-align: left; cursor: pointer; }
@media (max-width: 960px) {
  .f-find { width: 48px; height: 48px; }
  /* The whole screen. --find-h is the part of it the keyboard leaves showing (set by find.js). */
  .f-search { position: fixed; inset: 0 0 auto; width: auto; height: var(--find-h, 100dvh); display: flex; flex-direction: column; padding: 12px 12px 0; border-radius: 0; box-shadow: none; background: var(--page); z-index: 6; animation: f-rise 0.22s var(--ease-out); }
  .f-search-form input { background: #fff; box-shadow: var(--shadow); }
  .f-search-out { flex: 1; align-content: start; max-height: none; padding: 20px 4px 32px; }
  .f-search-chips a { padding: 0.85em 1.1em; }
  html.f-find-lock { overflow: hidden; }
}
@media (max-width: 380px) {
  .f-head-in { padding-left: 14px; gap: 0.5rem; }
  .f-tools { gap: 6px; }
  .f-find, .f-cart, .f-burger { width: 44px; height: 44px; }
}
@keyframes f-rise { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  .f-search { animation: none; }
  .f-find, .f-search-x, .f-search-item, .f-search-chips a { transition: none; }
}

/* ------------------------------ answers, and "This helped" ------------------------------ */
/* One of the site's own answers in the search box. Open, it's there to read straight away. */
.f-search-qas { display: grid; gap: 8px; }
.f-search-qa { border-radius: var(--r-md); background: var(--soft); --accent-ink: var(--accent-deep); }
.f-search-qa summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); list-style: none; cursor: pointer; font-weight: 900; font-size: 1rem; line-height: 1.3; color: var(--text); }
.f-search-qa summary::-webkit-details-marker { display: none; }
.f-search-qa summary::after { content: ''; flex: none; width: 9px; height: 9px; margin: 3px 4px 0 0; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s var(--ease-out); }
.f-search-qa[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.chrome-new .f-search-qa summary:focus-visible { border-radius: var(--r-md); outline-offset: 0; }
.f-search-qa-a { padding: 0 18px 16px; }
.f-search-qa-a p { margin: 0; line-height: 1.5; }
.f-search-qa-a a { font-weight: 800; }
.f-search-qa-a .f-search-qa-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; font-size: 0.95rem; }

/* "This helped": under an answer. Pressed, it says thank you and a small cheer goes up from the thumb
   (fresh.js): the thumb springs, a ring spreads, "Thank you!" lifts off and sprinkles and tiny biscuits
   scatter and fall. */
.f-helped { --thumb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.6 10.6 11 3.9c.3-.6 1-.9 1.6-.6 1.2.5 1.9 1.7 1.6 3L13.6 9.4h5c1.4 0 2.4 1.3 2 2.7l-1.6 6c-.3 1.1-1.3 1.9-2.4 1.9h-9z'/%3E%3Cpath d='M7.6 10.6H4.9c-.8 0-1.4.6-1.4 1.4v6.6c0 .8.6 1.4 1.4 1.4h2.7z'/%3E%3C/svg%3E"); --thumb-full: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 10.4 11.8 4.4c.3-.6 1-.9 1.6-.6 1 .5 1.5 1.6 1.3 2.7L14 9.6h4.6c1.4 0 2.4 1.3 2 2.7l-1.6 5.8c-.3 1.1-1.3 1.9-2.4 1.9H9z'/%3E%3Crect x='3.3' y='10.6' width='2.9' height='9.4' rx='1'/%3E%3C/svg%3E"); position: relative; display: inline-flex; align-items: center; gap: 0.55em; min-height: 44px; padding: 0.55em 1.15em 0.55em 0.95em; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font: 900 0.98rem/1.1 var(--font-body); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.16s ease; }
.f-helped:hover { border-color: var(--mark); }
.f-helped:active { transform: scale(0.96); }
.chrome-new .f-helped:focus-visible { border-radius: 999px; }
.f-helped-ico { flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--thumb) center / contain no-repeat; mask: var(--thumb) center / contain no-repeat; transform-origin: 30% 85%; }
.f-helped.is-thanked { border-color: var(--accent); background: var(--accent); color: var(--on-accent); cursor: default; }
.f-helped.is-thanked:active { transform: none; }
.f-helped.is-thanked .f-helped-ico { -webkit-mask-image: var(--thumb-full); mask-image: var(--thumb-full); }
.f-helped.is-cheering .f-helped-ico { animation: f-thumb 0.75s var(--ease-out); }
.f-helped.is-cheering::after { content: ''; position: absolute; inset: -2px; border: 2px solid var(--accent); border-radius: 999px; pointer-events: none; animation: f-ring 0.7s var(--ease-out) forwards; }
@keyframes f-thumb { 0% { transform: none; } 26% { transform: scale(1.5) rotate(-24deg); } 52% { transform: scale(0.9) rotate(9deg); } 76% { transform: scale(1.08) rotate(-3deg); } 100% { transform: none; } }
@keyframes f-ring { from { transform: scale(1); opacity: 0.75; } to { transform: scale(1.3, 1.8); opacity: 0; } }
.f-cheer { position: fixed; z-index: 90; width: 0; height: 0; pointer-events: none; }
.f-cheer i { position: absolute; left: 0; top: 0; width: 7px; height: 16px; border-radius: 4px; background: var(--accent); opacity: 0; will-change: transform, opacity; animation: f-cheer-fly 1.2s both; animation-delay: var(--d, 0ms); }
.f-cheer i:nth-of-type(4n + 1) { background: var(--text); }
.f-cheer i:nth-of-type(4n + 2) { background: var(--pop-2); }
.f-cheer i:nth-of-type(4n + 4) { background: #fff; box-shadow: 0 0 0 1.5px rgba(var(--shade), 0.45); }
/* Every few is a tiny choc-chip biscuit. */
.f-cheer i.is-biscuit { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 32% 34%, var(--text) 0 1.6px, transparent 2px), radial-gradient(circle at 68% 44%, var(--text) 0 1.6px, transparent 2px), radial-gradient(circle at 44% 72%, var(--text) 0 1.6px, transparent 2px), var(--biscuit); box-shadow: inset 0 0 0 1.5px rgba(var(--shade), 0.55); }
/* "Thank you!" lifts off as a little sticker, so it reads over whatever is behind it. */
.f-cheer b { position: absolute; z-index: 1; left: 0; top: 0; padding: 0.34em 0.7em 0.4em; border-radius: 999px; background: #fff; box-shadow: var(--lift); white-space: nowrap; font: 400 1.35rem/1 var(--font-display); color: var(--heading); opacity: 0; will-change: transform, opacity; animation: f-cheer-word 1.6s var(--ease-out) both; }
@keyframes f-cheer-fly {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  10% { opacity: 1; }
  52% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1) rotate(calc(var(--r) * 0.6)); opacity: 1; animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.6); }
  100% { transform: translate(calc(-50% + var(--x) * 1.15), calc(-50% + var(--y) + 64px)) scale(0.85) rotate(var(--r)); opacity: 0; }
}
@keyframes f-cheer-word {
  0% { transform: translate(-14px, -40px) scale(0.5) rotate(-10deg); opacity: 0; }
  16% { transform: translate(-14px, -74px) scale(1.1) rotate(-5deg); opacity: 1; }
  28% { transform: translate(-14px, -70px) scale(1) rotate(-5deg); opacity: 1; }
  76% { transform: translate(-14px, -76px) scale(1) rotate(-5deg); opacity: 1; }
  100% { transform: translate(-14px, -92px) scale(0.96) rotate(-5deg); opacity: 0; }
}
/* An enquiry just sent: the biscuit on the thank-you page gives a happy hop (with a shower of sprinkles, fresh.js). */
.is-celebrating .thanks-img { animation: f-hop 1.3s var(--ease-out) 0.15s both; transform-origin: 50% 90%; }
@keyframes f-hop { 0% { transform: scale(0.6) rotate(-14deg); opacity: 0; } 30% { transform: scale(1.12) rotate(8deg) translateY(-14px); opacity: 1; } 52% { transform: scale(0.96) rotate(-5deg); } 72% { transform: scale(1.03) rotate(2deg) translateY(-4px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .is-celebrating .thanks-img { animation: none; }
  .f-helped, .f-search-qa summary::after { transition: none; }
  .f-helped.is-cheering .f-helped-ico, .f-helped.is-cheering::after { animation: none; }
  .f-cheer { display: none; }
}

/* ------------------------------ icing drips, the bite, the stamp ------------------------------ */
.chrome-new { --drip-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='64' viewBox='0 0 360 64'%3E%3Cpath d='M0 0H360V14H348C341 14 338 19 338 27V32A8 8 0 0 1 322 32V27C322 19 319 14 312 14H306C299 14 296 19 296 27V51A12 12 0 0 1 272 51V27C272 19 269 14 262 14H255C248 14 245 19 245 27V28A9 9 0 0 1 227 28V27C227 19 224 14 217 14H207C200 14 197 19 197 27V39A11 11 0 0 1 175 39V27C175 19 172 14 165 14H146C139 14 136 19 136 27V30A8 8 0 0 1 120 30V27C120 19 117 14 110 14H108C101 14 98 19 98 27V48A12 12 0 0 1 74 48V27C74 19 71 14 64 14H53C46 14 43 19 43 27V31A9 9 0 0 1 25 31V27C25 19 22 14 15 14H0Z'/%3E%3C/svg%3E"); }
.f-drip { height: 64px; margin-bottom: -64px; position: relative; z-index: 1; background: var(--drip, var(--tint)); -webkit-mask: var(--drip-shape) 50% 0 / 360px 64px repeat-x; mask: var(--drip-shape) 50% 0 / 360px 64px repeat-x; pointer-events: none; }
.f-bite { --bite: radial-gradient(11% 11% at 87% 4%, #0000 97%, #000), radial-gradient(8% 8% at 100% 18%, #0000 97%, #000), radial-gradient(7.5% 7.5% at 71% -1%, #0000 97%, #000); -webkit-mask: var(--bite); -webkit-mask-composite: source-in; mask: var(--bite); mask-composite: intersect; }
.f-stamp { position: relative; width: 150px; aspect-ratio: 1; display: grid; place-items: center; }
.f-stamp-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: f-turn 26s linear infinite; }
.f-stamp-ring text { font-family: var(--font-body); }
.f-stamp-mid { position: relative; width: 44%; display: grid; place-items: center; color: var(--stamp-ink, var(--text)); --i2: var(--stamp-bg, var(--panel)); }
.f-stamp-mid .f-ico { width: 100%; height: auto; }
.f-stamp-mid img { width: 100%; height: auto; }
@keyframes f-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .f-stamp-ring { animation: none; } }

/* ------------------------------ icons and the row of promises ------------------------------ */
.f-ico { width: 48px; height: 48px; flex: none; color: var(--ico); }
.f-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.f-fact { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--fact, #fff); box-shadow: 0 10px 30px -22px rgba(var(--shade), 0.5); }
.f-fact .f-ico { width: 46px; height: 46px; }
.f-fact strong { display: block; color: var(--text); font-weight: 900; font-size: 1.04rem; line-height: 1.2; }
.f-fact span { display: block; margin-top: 2px; font-size: 0.9rem; font-weight: 600; line-height: 1.3; color: var(--muted); }
@media (max-width: 1020px) { .f-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .f-facts { gap: 10px; } .f-fact { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; } .f-fact .f-ico { width: 40px; height: 40px; } .f-fact strong { font-size: 0.98rem; } .f-fact span { font-size: 0.84rem; } }

/* ------------------------------ sections and their headings ------------------------------ */
.f-sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.f-sec--soft { background: var(--soft); }
.f-sec--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.f-headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.f-headrow h2 { margin: 0; }
.f-headrow p { margin: 0.6rem 0 0; font-size: 1.1rem; font-weight: 600; max-width: 44ch; }
.f-center { text-align: center; }
.f-center h2 { margin-inline: auto; }

/* ------------------------------ product cards ------------------------------ */
.f-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px) clamp(12px, 1.8vw, 22px); }
.f-card { position: relative; display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.f-card-pic { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); transform: translateZ(0); transition: border-radius 0.45s var(--ease-out), box-shadow 0.3s ease; }
.f-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.f-card-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 6px 11px; border-radius: 999px; background: var(--panel); color: var(--text); font-size: 0.78rem; font-weight: 900; line-height: 1; }
.f-card-go { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent-ink); box-shadow: 0 8px 18px -8px rgba(91, 65, 43, 0.5); opacity: 0; transform: translateY(8px) scale(0.9); transition: opacity 0.2s ease, transform 0.3s var(--ease-out); }
.f-card-name { margin: 14px 4px 0; font: 900 1.08rem/1.2 var(--font-body); letter-spacing: -0.01em; color: var(--text); }
.f-card-price { margin: 5px 4px 0; font-weight: 800; font-size: 0.98rem; color: var(--accent-ink); }
.f-card-price small { font-weight: 700; font-size: 0.86rem; color: var(--muted); }
.f-card-note { display: block; margin: 4px 4px 0; font-weight: 700; font-size: 0.88rem; line-height: 1.3; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .f-card:hover .f-card-pic { border-radius: 50%; box-shadow: var(--lift); }
  .f-card:hover .f-card-pic img { transform: scale(1.08); }
  .f-card:hover .f-card-go { opacity: 1; transform: none; }
  .f-card:hover .f-card-name { color: var(--accent-ink); }
}
.f-card:focus-visible .f-card-go { opacity: 1; transform: none; }
@media (max-width: 1020px) { .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-card-pic { border-radius: var(--r-md); } .f-card-name { font-size: 0.98rem; margin-top: 10px; } .f-card-go { display: none; } .f-card-tag { top: 8px; left: 8px; font-size: 0.72rem; } }
@media (prefers-reduced-motion: reduce) { .f-card-pic, .f-card-pic img, .f-card-go { transition: none; } }

/* A row that scrolls sideways, with arrows on a wide screen. */
.f-row { position: relative; }
.f-row-track { list-style: none; margin: 0; padding: 14px 0 22px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--col, 240px); gap: var(--gap, 20px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.f-row-track::-webkit-scrollbar { display: none; }
.f-row-track > li { scroll-snap-align: start; }
.f-row-btns { display: flex; gap: 8px; }
.f-row-btn { width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--text); cursor: pointer; box-shadow: var(--shadow); transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease; }
.f-row-btn:hover { background: var(--accent); color: var(--on-accent); }
.f-row-btn:active { transform: scale(0.94); }
.f-row-btn[disabled] { opacity: 0.35; pointer-events: none; }
@media (max-width: 700px) { .f-row-btns { display: none; } }

/* ------------------------------ questions that fold open ------------------------------ */
.f-faq { display: grid; gap: 10px; }
.f-faq details { background: #fff; border-radius: var(--r-md); transition: box-shadow 0.2s ease; }
.f-faq details[open] { box-shadow: var(--shadow); }
.f-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 900; font-size: 1.08rem; line-height: 1.25; color: var(--text); cursor: pointer; border-radius: var(--r-md); }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(var(--mark), var(--mark)) center / 14px 3px no-repeat, linear-gradient(var(--mark), var(--mark)) center / 3px 14px no-repeat, var(--plus-bg, var(--soft)); transition: transform 0.3s var(--ease-out), background-color 0.2s ease; }
.f-faq details[open] summary::after { transform: rotate(135deg); --plus-bg: var(--line); }
.f-faq .answer { padding: 0 22px 20px; max-width: 70ch; }
.f-faq .answer > :last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
  .f-faq details { interpolate-size: allow-keywords; }
  .f-faq details::details-content { height: 0; overflow: clip; transition: height 0.3s var(--ease-out), content-visibility 0.3s allow-discrete; }
  .f-faq details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .f-faq summary::after, .f-faq details::details-content { transition: none; } }

/* Pages that open with a field of colour: the menu floats over it. */
.f-bleed main { margin-top: calc(var(--head-h) * -1); }

/* ------------------------------ the footer ------------------------------ */
.f-cta { position: relative; z-index: 2; width: var(--wrap); margin: clamp(3.5rem, 8vw, 6.5rem) auto -120px; padding: clamp(2.5rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 4.75rem); border-radius: var(--r-xl); background: var(--accent); color: var(--on-accent); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem 3rem; overflow: hidden; isolation: isolate; }
.chrome-new .f-cta h2 { margin: 0; color: var(--on-accent); font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 0.96; max-width: 13ch; }
.f-cta p { margin: 1.1rem 0 0; font-size: 1.15rem; font-weight: 700; max-width: 36ch; color: var(--on-accent); }
.f-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.9rem; }
.f-cta .f-btn--dark, .f-side--accent .f-btn--dark, .chrome-new .f-cta a.f-btn--dark, .chrome-new .f-side--accent a.f-btn--dark { background: transparent; color: var(--on-accent); box-shadow: inset 0 0 0 2.5px var(--on-accent); }
.f-cta .f-btn--dark:active, .f-side--accent .f-btn--dark:active { transform: scale(0.97); box-shadow: inset 0 0 0 2.5px var(--on-accent); }
@media (hover: hover) and (pointer: fine) {
  .f-cta .f-btn--dark:hover, .f-side--accent .f-btn--dark:hover, .chrome-new .f-cta a.f-btn--dark:hover, .chrome-new .f-side--accent a.f-btn--dark:hover { transform: none; background: var(--on-accent); color: var(--text); box-shadow: inset 0 0 0 2.5px var(--on-accent); }
}
.f-cta .f-stamp { width: clamp(150px, 19vw, 230px); --stamp-bg: var(--soft-2); }
.f-cta::before, .f-cta::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; background: var(--pop-2); }
.f-cta::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.f-cta::after { width: 260px; height: 260px; left: 38%; bottom: -170px; background: var(--pop-3); }
.f-foot { background: var(--soft-2); color: var(--text-soft); padding: 200px 0 0; }
.f-foot-grid { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 3.5rem 2.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.f-foot-brand img { width: 150px; height: auto; }
.f-foot-brand p { margin: 1.2rem 0 0; max-width: 30ch; font-weight: 600; line-height: 1.55; }
.f-social { display: flex; gap: 10px; margin-top: 1.4rem; }
.f-social a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent-ink); transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease; }
.chrome-new .f-social a { color: var(--accent-ink); }
.f-social a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px) rotate(-6deg); }
.f-foot-h { margin: 0 0 1.1rem; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--text); }
.f-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
.f-foot-col a { color: var(--text-soft); font-weight: 700; line-height: 1.3; text-decoration: none; background: linear-gradient(var(--mark), var(--mark)) 0 100% / 0 2px no-repeat; transition: background-size 0.25s var(--ease-out), color 0.15s ease; padding-bottom: 2px; }
.f-foot-col a:hover { color: var(--accent-deep); background-size: 100% 2px; }
.f-foot-col address { line-height: 1.6; font-weight: 600; }
.f-foot-col address strong { color: var(--text); }
.f-foot-col .f-foot-gap { margin-top: 1.1rem; }
.f-foot-col .eml { font-weight: 800; }
.f-legal { border-top: 2px dashed var(--line); }
.f-legal-in { width: var(--wrap); margin-inline: auto; padding: 2rem 0 2.6rem; display: grid; gap: 1.3rem; font-size: 0.86rem; line-height: 1.6; color: var(--muted); }
.f-legal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.f-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.f-legal a { color: var(--text-soft); font-weight: 800; text-decoration: none; }
.f-legal a:hover { color: var(--accent-deep); }
.f-legal p { margin: 0; max-width: 100ch; }
.f-legal .pay-credit { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0; }
.f-legal .pay-credit img { display: inline-block; height: 20px; width: auto; }
@media (max-width: 1020px) { .f-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .f-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .f-cta { grid-template-columns: minmax(0, 1fr); margin-bottom: -90px; }
  .f-cta .f-stamp { position: absolute; right: -34px; top: -34px; width: 136px; opacity: 0.96; }
  .chrome-new .f-cta h2 { max-width: 9ch; }
  .f-foot { padding-top: 150px; }
  .f-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 1.5rem; }
  .f-foot-col:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .f-social a, .f-foot-col a { transition: none; } }

.chrome-new .lightbox-dialog { border: 0; border-radius: var(--r-lg); box-shadow: var(--lift); }
.chrome-new .lightbox-dialog::backdrop { background: rgba(91, 65, 43, 0.6); }

/* Older pages inside the new menu and footer: their own closing band isn't needed, and nothing is outlined in black. */
.chrome-new .cta-band, .chrome-new .cart-fab { display: none !important; }

/* ------------------------------ staff preview note ------------------------------ */
.f-preview { position: fixed; left: 14px; bottom: 14px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: var(--text); color: #fff; font-size: 0.84rem; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(91, 65, 43, 0.7); }
.f-preview a { color: var(--panel); }
.chrome-new .f-preview a { color: var(--panel); }
.f-foot-shop strong { font-weight: 800; }
@media print { .f-top, .f-head, .f-cta, .f-preview { display: none !important; } }

/* ------------------------------ things that arrive as they scroll into view ------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(26px) scale(0.98); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

/* Moving from one page to the next: the photo you chose grows into its place. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
