/* =========================================================
   Mediterranean Foods — Design System
   Brand-led: the navy of the MF logo, Italian tomato red,
   sea blue, bright paper white. Signature motifs: the wave
   from the logo's "S" and the Mediterranean arched window.
   ========================================================= */

:root {
  --navy: #1D2B3A;        /* logo navy: text + dark bands */
  --navy-2: #263A4E;
  --sea: #2E5A78;         /* secondary blue */
  --tomato: #C8462B;      /* primary accent / CTAs */
  --tomato-dark: #A9381F;
  --tomato-tint: #F8E6E0;
  --basil: #4D6A3A;       /* small tertiary accents */
  --paper: #FFFFFF;
  --canvas: #FBFAF7;      /* page background */
  --mist: #EBF1F4;        /* pale sea band */
  --sand: #F5F0E8;        /* warm band, used sparingly */
  --border: #DCE3E8;
  --line: rgba(29, 43, 58, .12);
  --ink: #1D2B3A;
  --muted: #4E5D6C;
  --soft: #7B8794;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9C6D2;

  /* legacy aliases used by page markup */
  --olive: var(--tomato);
  --olive-dark: var(--tomato-dark);
  --olive-tint: var(--tomato-tint);
  --surface: var(--paper);
  --surface-alt: var(--mist);
  --dark: var(--navy);
  --terracotta: var(--tomato);

  --f-display: "Fraunces", "Georgia", serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-caps: "DM Sans", system-ui, sans-serif;

  --radius: 6px;
  --radius-sm: 4px;
  --arch: 999px 999px 6px 6px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --shadow: 0 2px 6px rgba(29, 43, 58, .06), 0 18px 40px -18px rgba(29, 43, 58, .28);
  --shadow-lg: 0 30px 70px -24px rgba(29, 43, 58, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10' viewBox='0 0 40 10'%3E%3Cpath d='M0 5c5 0 5-4 10-4s5 4 10 4 5-4 10-4 5 4 10 4' fill='none' stroke='%23C8462B' stroke-width='1.6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--tomato); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "SOFT" 50, "opsz" 72;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.01em; }
h4 { font-size: 1.2rem; letter-spacing: -.005em; }
h5 { font-size: 1.05rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--tomato); font-weight: 500; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1360px; }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--muted { background: var(--mist); }
.section--surface { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark .muted, .section--dark p { color: var(--on-dark-muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Subtle wave-line background (replaces any tile pattern) */
.pattern {
  background-color: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M0 14c15 0 15-9 30-9s15 9 30 9 15-9 30-9 15 9 30 9' fill='none' stroke='%232E5A78' stroke-opacity='.07' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 .74rem/1.3 var(--f-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 8px; background: var(--wave) center/32px 8px no-repeat; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.section--dark .eyebrow, .on-dark .eyebrow, .cta-band .eyebrow { color: #F2A48F; }
.lead {
  font-family: var(--f-body);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 400;
}
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.caps { font: 700 .72rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.text-link {
  font: 700 .9rem/1 var(--f-body);
  color: var(--tomato);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .25s var(--ease), color .2s;
}
.text-link:hover { gap: 12px; color: var(--tomato-dark); }
.text-link svg { width: 16px; height: 16px; }
.prose a, a.inline { color: var(--tomato); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, a.inline:hover { color: var(--tomato-dark); }
.h-md { font-size: clamp(1.8rem, 3vw, 2.5rem); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > p { max-width: 400px; color: var(--muted); }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--muted); }

/* Wave divider (replaces the old ornament) */
.ornament { display: flex; align-items: center; justify-content: center; margin: 24px auto; height: 12px; }
.ornament svg { display: none; }
.ornament::before { content: ""; width: 88px; height: 12px; background: var(--wave) center/44px 11px repeat-x; }
.split .ornament { justify-content: flex-start; }

/* ---------- Buttons (squared, not pills) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font: 700 .92rem/1 var(--f-body);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--tomato); color: #fff; box-shadow: 0 8px 20px -10px rgba(200,70,43,.7); }
.btn--primary:hover { background: var(--tomato-dark); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); }
.btn--ghost-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--navy); color: #DDE6EE; font-size: .84rem; line-height: 1.5; }
.announce .container { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.announce p { flex: 1; margin: 0; text-align: center; }
.announce strong { font-weight: 700; color: #fff; }
.announce button { background: none; border: 0; padding: 4px; opacity: .8; display: grid; place-items: center; color: #fff; }
.announce button:hover { opacity: 1; }
.announce button svg { width: 16px; height: 16px; }
.announce.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(29,43,58,.45); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 88px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul { display: flex; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font: 500 .98rem/1 var(--f-body);
  color: var(--ink);
  white-space: nowrap;
  position: relative;
  background: none; border: 0;
  transition: color .2s;
}
.nav-link svg { width: 14px; height: 14px; opacity: .6; transition: transform .25s; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--tomato); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--tomato); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--tomato); }
.nav-item:hover > .nav-link svg, .nav-item:focus-within > .nav-link svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--ink); position: relative; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--mist); color: var(--tomato); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-pill { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.cart-pill:hover { background: var(--mist); color: var(--tomato); }
.cart-pill svg { width: 21px; height: 21px; }
.cart-pill .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tomato); color: #fff; display: grid; place-items: center; font: 700 .66rem/1 var(--f-body); }
.book-links { margin-left: 8px; }
.book-links > .btn { min-height: 44px; }
.book-links .btn svg:last-child { width: 14px; height: 14px; margin-left: -2px; }

/* Dropdowns / mega menus */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 6px);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--tomato);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 60;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown--simple { min-width: 250px; padding: 8px; }
.dropdown--simple a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); font-size: .95rem; }
.dropdown--simple a:hover { background: var(--mist); color: var(--tomato); }
.dropdown--right { left: auto; right: 0; transform: translate(0, 6px); }
.nav-item:hover > .dropdown--right, .nav-item:focus-within > .dropdown--right { transform: translate(0, 0); }
.nav-item.has-mega { position: static; }
.nav-item.has-mega > .dropdown { top: 100%; }
.nav-item.has-mega > .dropdown::before { top: -34px; height: 34px; }

.mega { display: grid; gap: 24px; }
.mega--2 { grid-template-columns: repeat(2, 320px); }
.mega--shop { width: min(1080px, 92vw); grid-template-columns: 240px 1fr; gap: 32px; }
.mega-card { display: block; }
.mega-card .mc-img { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.mega-card .mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-card:hover .mc-img img { transform: scale(1.04); }
.mega-card h4 { margin: 0 0 2px; font-size: 1.35rem; }
.mega-card .caps { color: var(--soft); font-size: .66rem; }
.mega-links { margin-top: 12px; display: grid; }
.mega-links a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.mega-links a:hover { color: var(--tomato); }
.mega-links a::after { content: "→"; color: var(--soft); transition: transform .2s; }
.mega-links a:hover::after { transform: translateX(3px); color: var(--tomato); }
.mega-feature { display: grid; gap: 6px; align-content: start; }
.mega-feature a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.mega-feature a:hover { background: var(--mist); color: var(--tomato); }
.mega-feature img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.mega-feature a svg { width: 22px; height: 22px; margin: 0 13px; color: var(--tomato); }
.mega-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; align-content: start; }
.mega-title { grid-column: 1 / -1; font: 700 .7rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--tomato); margin-bottom: 12px; }
.mega-cats a { padding: 7px 0; font-size: .92rem; border-bottom: 1px solid var(--line); }
.mega-cats a:hover { color: var(--tomato); }

/* Mobile nav */
.menu-toggle { display: none; }
.mobile-panel { position: fixed; inset: 0; z-index: 100; background: #fff; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-panel.is-open { transform: none; }
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--border); }
.mobile-panel-head img { height: 40px; width: auto; }
.mobile-nav { padding: 8px var(--gutter) 32px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary, .mobile-nav > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 1.4rem/1.2 var(--f-display); letter-spacing: -.01em; list-style: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.mobile-nav details summary { border-bottom: 0; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 20px; height: 20px; color: var(--tomato); transition: transform .25s; }
.mobile-nav details[open] summary svg { transform: rotate(45deg); }
.mobile-nav .sub { padding: 0 0 18px; display: grid; gap: 2px; }
.mobile-nav .sub a { padding: 8px 0; color: var(--muted); }
.mobile-nav .sub .sub-title { font: 700 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--tomato); margin: 12px 0 4px; }
.mobile-panel-foot { margin-top: auto; padding: 24px var(--gutter) 36px; display: grid; gap: 10px; background: var(--mist); }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(29,43,58,.6); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 14vh var(--gutter) 0; }
.search-overlay.is-open { display: flex; }
.search-box { width: min(660px, 100%); background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--tomato); }
.search-box form { display: flex; gap: 10px; }
.search-box input { flex: 1; }

/* ---------- Home hero: full-bleed slider ---------- */
.hero-slider { position: relative; height: clamp(560px, 82vh, 780px); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hs-slide.is-active { opacity: 1; visibility: visible; }
.hs-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hs-slide.is-active > img { transform: scale(1); }
.hs-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,43,58,.92) 0%, rgba(29,43,58,.7) 42%, rgba(29,43,58,.12) 78%), linear-gradient(0deg, rgba(29,43,58,.55), transparent 40%); }
.hs-slide .container { position: relative; z-index: 2; height: 100%; }
.hs-content { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 640px; padding-bottom: 60px; }
.hs-content .eyebrow { color: #F4B3A2; }
.hs-content h1, .hs-content h2 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 22px; }
.hs-content p { color: #D7E1EA; font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 520px; margin-bottom: 30px; }
.hs-slide.is-active .hs-content > * { animation: hsIn .9s var(--ease) both; }
.hs-slide.is-active .hs-content > *:nth-child(2) { animation-delay: .08s; }
.hs-slide.is-active .hs-content > *:nth-child(3) { animation-delay: .16s; }
.hs-slide.is-active .hs-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes hsIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hs-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 36px; }
.hs-controls .container { display: flex; align-items: center; gap: 24px; }
.hs-count { font: 600 .9rem/1 var(--f-body); color: #fff; letter-spacing: .06em; min-width: 64px; }
.hs-count b { font-size: 1.3rem; }
.hs-bars { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 620px; }
.hs-bar { height: 36px; background: none; border: 0; padding: 0; position: relative; text-align: left; color: rgba(255,255,255,.65); font: 600 .74rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.hs-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.28); }
.hs-bar::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--tomato); }
.hs-bar:hover { color: #fff; }
.hs-bar.is-active { color: #fff; }
.hs-bar.is-active::after { animation: hsBar 7s linear forwards; }
.hero-slider.is-paused .hs-bar.is-active::after { animation-play-state: paused; }
.hs-bar span { display: block; padding-top: 12px; }
@keyframes hsBar { to { width: 100%; } }
.hs-arrows { display: flex; gap: 8px; margin-left: auto; }
.hs-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; display: grid; place-items: center; transition: all .2s; }
.hs-arrows button:hover { background: #fff; color: var(--navy); }
.hs-arrows svg { width: 18px; height: 18px; }
.hs-arrows .prev svg { transform: rotate(180deg); }

/* Quick actions bar under the hero */
.quick-bar { position: relative; z-index: 6; background: #fff; border-bottom: 1px solid var(--border); }
.quick-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item { display: flex; align-items: center; gap: 16px; padding: 26px 22px; border-left: 1px solid var(--border); transition: background .2s; }
.quick-item:last-child { border-right: 1px solid var(--border); }
.quick-item:hover { background: var(--mist); }
.quick-item .qi-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--tomato-tint); color: var(--tomato); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, color .2s; }
.quick-item:hover .qi-icon { background: var(--tomato); color: #fff; }
.quick-item .qi-icon svg { width: 22px; height: 22px; }
.quick-item strong { display: block; font: 600 1.05rem/1.25 var(--f-display); letter-spacing: -.01em; }
.quick-item .qi-sub { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }

/* Category chips strip (replaces marquee) */
.cat-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cat-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--border); background: #fff; border-radius: var(--radius-sm); font-weight: 500; font-size: .95rem; transition: all .2s; }
.cat-strip a:hover { border-color: var(--tomato); color: var(--tomato); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-strip a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); opacity: .7; }

/* ---------- Image frames: arch window (replaces polaroid) ---------- */
.polaroid { display: block; margin: 0; position: relative; background: none; padding: 0; border: 0; box-shadow: none; transform: none !important; }
.polaroid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--arch); box-shadow: var(--shadow); }
.polaroid figcaption, .polaroid .cap { margin-top: 14px; font: 600 .84rem/1.4 var(--f-body); color: var(--muted); text-align: center; letter-spacing: .01em; }
.split-media { position: relative; isolation: isolate; }
.split-media .polaroid img { aspect-ratio: 4/4.6; }
.split-media::before { content: ""; position: absolute; z-index: -1; right: -18px; bottom: 30px; width: 62%; height: 62%; background: var(--mist); border-radius: var(--radius); }
.split-media--left::before { right: auto; left: -18px; }
.section--muted .split-media::before { background: #fff; }
.img-rounded { border-radius: var(--radius); overflow: hidden; }
.img-rounded img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > *, .split > *, .newsletter > * { min-width: 0; }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--border); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.card:hover, .card.is-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.45rem; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 4px 0 0; }
.card-body .text-link { margin-top: auto; align-self: flex-start; padding-top: 16px; }
.card-body .btn-row { margin-top: auto; padding-top: 16px; }
.card-kicker { font: 700 .68rem/1.35 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); }
.card--text .card-media { display: grid; place-items: center; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--navy); font: 700 .68rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--radius-sm); }
.badge--olive { background: var(--navy); color: #fff; }
.badge--sale { background: var(--tomato); color: #fff; }

/* Image tiles */
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 400px; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,43,58,.05) 25%, rgba(29,43,58,.9) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.tile-body h3 { color: #fff; margin: 6px 0 10px; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.15; }
.tile-body .card-kicker { color: #F4B3A2; }
.tile-body .text-link { color: #fff; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
.split--wide-right { grid-template-columns: .9fr 1.1fr; }

/* Stats: solid numbers with tomato rule */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 24px; margin-top: 36px; }
.stats > div { padding-left: 18px; border-left: 3px solid var(--tomato); }
.stat-value { font: 600 clamp(2.2rem, 4vw, 3.1rem)/1 var(--f-display); color: var(--navy); letter-spacing: -.03em; }
.stat-label { font-size: .84rem; line-height: 1.4; color: var(--muted); margin-top: 8px; }

.lands { display: grid; grid-template-columns: repeat(3, 1fr); }

/* Quote */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote::before { content: ""; display: block; width: 88px; height: 12px; margin: 0 auto 28px; background: var(--wave) center/44px 11px repeat-x; }
.quote blockquote { margin: 0; font: 500 clamp(1.7rem, 3.4vw, 2.7rem)/1.22 var(--f-display); letter-spacing: -.02em; color: inherit; }
.quote cite { display: block; margin-top: 22px; font: 700 .74rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--tomato); font-style: normal; }
.section--dark .quote cite { color: #F4B3A2; }

/* Products */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.product { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 14px 14px 20px; box-shadow: 0 0 0 1px var(--border); transition: box-shadow .3s, transform .3s var(--ease); }
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-media { position: relative; aspect-ratio: 1/1; background: #fff; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .6s var(--ease); }
.product-media img.cover { object-fit: cover; padding: 0; }
.product:hover .product-media img { transform: scale(1.05); }
.product h3 { font: 500 .96rem/1.4 var(--f-body); letter-spacing: 0; margin: 0 0 10px; flex: 1; }
.product h3 a:hover { color: var(--tomato); }
.price { font: 700 1.1rem/1 var(--f-body); color: var(--navy); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.price del { color: var(--soft); font-weight: 500; font-size: .92rem; }
.price ins { text-decoration: none; color: var(--tomato); }

/* Banner / CTA */
.banner { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--border); padding: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.banner h2, .banner h3 { margin: 0 0 8px; }
.banner p { color: var(--muted); margin: 0; max-width: 560px; }
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(29,43,58,.94) 0%, rgba(29,43,58,.75) 55%, rgba(29,43,58,.35) 100%); }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: #D7E1EA; }

/* Colour blocks (specials / gifts / vouchers) */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.block { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 290px; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; }
.block:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.block::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255,255,255,.08); z-index: -1; }
.block h3 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0; }
.block .caps { color: rgba(255,255,255,.85); }
.block .text-link { color: #fff; margin-top: auto; }
.block img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.35); }
.block--tomato { background: var(--tomato); }
.block--navy { background: var(--navy); }
.block--sea { background: var(--sea); }

/* ---------- Locations / hours ---------- */
.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.location { border-top: 3px solid var(--tomato); padding-top: 22px; }
.location .num { font: 600 1rem/1 var(--f-body); color: var(--tomato); margin-bottom: 10px; }
.location h3 { margin: 0 0 4px; }
.location .caps { color: var(--soft); font-size: .66rem; margin-bottom: 16px; display: block; }
.location address { font-style: normal; margin-bottom: 12px; }

.hours { display: grid; gap: 14px; font-size: .94rem; margin: 0; }
.hours dt { font: 700 .7rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); margin-bottom: 2px; }
.on-dark .hours dt, .section--dark .hours dt { color: #9FC2DA; }
.hours dd { margin: 0; }
.hours .row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.on-dark .hours .row, .section--dark .hours .row { border-color: rgba(255,255,255,.14); }
.hours .note { font-size: .84rem; color: var(--soft); font-style: italic; }

.info-card { background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--border); padding: clamp(24px, 3vw, 36px); position: relative; }
.info-card::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; background: var(--tomato); }
.info-card h3 { margin-bottom: 8px; }
.info-list { display: grid; gap: 18px; }
.info-list .label { font: 700 .7rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sea); display: block; margin-bottom: 4px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--mist); color: var(--navy); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { background: var(--tomato); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.site-footer .socials a { background: rgba(255,255,255,.08); color: #fff; }
.site-footer .socials a:hover { background: var(--tomato); }

/* ---------- Page hero (inner pages): left-aligned ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 6vw, 84px); text-align: left !important; background-color: var(--mist); overflow: hidden; }
.page-hero .container { position: relative; text-align: left; }
.page-hero h1 { margin-bottom: 16px; max-width: 900px; }
.page-hero .lead { max-width: 680px; margin: 0; }
.page-hero .btn-row { justify-content: flex-start !important; margin-top: 28px; }
.page-hero .sub-caps { font: 700 .78rem/1.4 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--tomato); margin-bottom: 14px; }
.page-hero .ornament { justify-content: flex-start; margin: 22px 0; }
.page-hero .eyebrow { justify-content: flex-start; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--wave) left center/40px 10px repeat-x; opacity: .35; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--soft); margin-bottom: 22px; justify-content: flex-start !important; }
.breadcrumb a:hover { color: var(--tomato); }
.breadcrumb span[aria-hidden] { opacity: .6; }

.page-hero--image { color: #fff; isolation: isolate; padding: clamp(110px, 14vw, 190px) 0 clamp(72px, 9vw, 110px); background: var(--navy); }
.page-hero--image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(29,43,58,.92) 0%, rgba(29,43,58,.72) 50%, rgba(29,43,58,.3) 100%); }
.page-hero--image::after { opacity: .5; }
.page-hero--image h1 { color: #fff; }
.page-hero--image .lead { color: #D7E1EA; }
.page-hero--image .sub-caps { color: #F4B3A2; }
.page-hero--image .breadcrumb { color: #B9C6D2; }
.page-hero--image .btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.page-hero--image .btn--outline:hover { background: #fff; color: var(--navy); }

/* ---------- Restaurant menu ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; margin-bottom: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--border); }
.menu-tab { position: relative; padding: 14px 2px; border: 0; background: none; font: 600 1.02rem/1 var(--f-body); color: var(--muted); transition: color .2s; }
.menu-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--tomato); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu-tab:hover { color: var(--ink); }
.menu-tab[aria-selected="true"] { color: var(--ink); }
.menu-tab[aria-selected="true"]::after { transform: scaleX(1); }
.menu-panel[hidden] { display: none; }
.menu-panel-head { text-align: center; margin-bottom: 40px; }
.menu-panel-head h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 6px; }
.menu-panel-head p { color: var(--muted); margin: 0; }
.menu-cols { columns: 2; column-gap: clamp(32px, 5vw, 80px); }
.menu-cols--single { columns: 1; max-width: 600px; margin: 0 auto; }
.menu-group { break-inside: avoid; margin-bottom: 44px; }
.menu-group > h4 { display: flex; align-items: center; gap: 12px; font: 700 .8rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--tomato); margin-bottom: 10px; }
.menu-group > h4::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.menu-group > .note { font-size: .86rem; color: var(--soft); margin: 6px 0; }
.mi { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mi-top { display: flex; align-items: baseline; gap: 10px; }
.mi-name { font: 600 1.08rem/1.3 var(--f-display); letter-spacing: -.01em; flex: 1; order: 1; }
.mi-tag { order: 2; font: 700 .62rem/1 var(--f-body); letter-spacing: .06em; color: var(--basil); border: 1px solid currentColor; padding: 3px 6px; border-radius: 3px; white-space: nowrap; align-self: center; }
.mi-price { order: 3; font: 700 .98rem/1 var(--f-body); color: var(--tomato); white-space: nowrap; }
.mi-desc { font-size: .9rem; color: var(--muted); margin: 5px 0 0; }
.mi-desc--price { color: var(--ink); font-weight: 600; }
.menu-foot { text-align: center; margin-top: 16px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 7px; }
.field > label, .field > .label, legend { font: 600 .86rem/1.3 var(--f-body); color: var(--ink); letter-spacing: 0; text-transform: none; }
.field > .check { font: 400 .94rem/1.5 var(--f-body); }
.field .req { color: var(--tomato); }
.field .hint { font-size: .82rem; color: var(--soft); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 7px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D2B3A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(46,90,120,.15); }
::placeholder { color: #9AA6B2; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--tomato); flex-shrink: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-group label { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; font-size: .94rem; cursor: pointer; transition: border-color .2s; }
.choice-group label:hover { border-color: var(--sea); }
.choice-group input { accent-color: var(--tomato); }
.form-section-title { font: 700 .76rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato); padding-bottom: 10px; border-bottom: 1px solid var(--border); margin: 10px 0 0; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border-top: 4px solid var(--tomato); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-note { font-size: .86rem; color: var(--soft); }
.notice { background: var(--mist); border-left: 4px solid var(--sea); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.order-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.order-item .oi-name { font: 600 1.1rem/1.3 var(--f-display); }
.order-item .oi-meta { font-size: .86rem; color: var(--soft); }
.order-item input[type=number] { width: 96px; min-height: 44px; text-align: center; }
.order-item--media { grid-template-columns: 96px 1fr auto; }
.order-item--media img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); }
.oi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.oi-name--caps { font: 700 .84rem/1.3 var(--f-body) !important; letter-spacing: .1em; text-transform: uppercase; }
.time-select { display: flex; align-items: center; gap: 8px; }
.time-select select { width: auto; min-width: 84px; }
.file-drop { border: 2px dashed var(--border); border-radius: var(--radius); padding: 24px; text-align: center; background: var(--mist); font-size: .92rem; color: var(--muted); }
.file-drop input[type=file] { width: 100%; max-width: 100%; }
.embed-frame { width: 100%; border: 0; border-radius: var(--radius-sm); background: #fff; display: block; }
.icon-list { display: grid; gap: 12px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list svg { width: 16px; height: 16px; color: var(--tomato); margin-top: 4px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff; font-weight: 600; font-size: .9rem; }
.pagination a:hover { border-color: var(--tomato); color: var(--tomato); }
.pagination [aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.small svg, .caps svg { width: 14px; height: 14px; }

/* Newsletter (footer band) */
.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.newsletter .form { grid-template-columns: 1fr 1fr; }
.newsletter .form .full { grid-column: 1 / -1; }
.nl-band { background: var(--tomato); color: #fff; position: relative; overflow: hidden; }
.nl-band::before { content: ""; position: absolute; inset: 0; opacity: .12; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='20' viewBox='0 0 80 20'%3E%3Cpath d='M0 10c10 0 10-7 20-7s10 7 20 7 10-7 20-7 10 7 20 7' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"); }
.nl-band .container { position: relative; }
.nl-band h2 { color: #fff; }
.nl-band p { color: #FFE3DB; }
.nl-band .eyebrow { color: #fff; }
.nl-band .eyebrow::before { filter: brightness(0) invert(1); }
.nl-band .field > label, .nl-band .req { color: #fff; }
.nl-band input { border-color: transparent; }

/* Recipes / people / timeline */
.recipe-card .card-media { aspect-ratio: 3/2; }
.recipe-card h3 { font-size: 1.25rem; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.people figure { margin: 0; }
.people .polaroid img { aspect-ratio: 3/4; }
.timeline { display: grid; position: relative; }
.tl-item { display: grid; grid-template-columns: 180px 1fr; gap: 36px; padding: 34px 0; border-top: 1px solid var(--border); }
.tl-item:last-child { border-bottom: 1px solid var(--border); }
.tl-year { font: 600 2.6rem/1 var(--f-display); color: var(--tomato); letter-spacing: -.03em; -webkit-text-stroke: 0; }
.tl-item h3 { margin-bottom: 10px; }
.tl-item p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); font-size: .94rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0 36px; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer-top img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { font-weight: 600; color: #fff; }
.footer-nav a:hover { color: #F4B3A2; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr .9fr; gap: 40px; padding: 48px 0; }
.footer-grid h4 { font: 700 .72rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #F4B3A2; margin-bottom: 16px; }
.footer-grid h5 { font: 600 1.2rem/1.2 var(--f-display); color: #fff; margin-bottom: 2px; }
.footer-grid .caps { font-size: .62rem; color: #8FA2B4; display: block; margin-bottom: 12px; }
.footer-grid address { font-style: normal; line-height: 1.6; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; margin-bottom: 4px; }
.footer-hours { display: grid; gap: 6px; margin-top: 6px; font-size: .86rem; }
.footer-hours .r { display: block; line-height: 1.45; }
.footer-hours .r span:first-child { display: block; color: #8FA2B4; font-size: .78rem; }
.footer-hours .r span:first-child:empty { display: none; }
.footer-hours .t { color: #fff; font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8FA2B4; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--tomato); color: #fff; display: grid; place-items: center; border: 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hs-slide > img, .hs-slide.is-active .hs-content > * { transition: none; animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) { .book-links { display: none; } }
@media (max-width: 1200px) { .nav-link { padding: 10px 10px; font-size: .94rem; } .nav-link::after { left: 10px; right: 10px; } .header-inner { gap: 16px; } }
@media (max-width: 1024px) {
  .nav, .header-actions .hide-md { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { justify-content: space-between; height: 74px; }
  .brand img { height: 40px; }
  .grid-4, .products { grid-template-columns: repeat(2, 1fr); }
  .quick-bar .container { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .quick-item { border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .blocks { grid-template-columns: 1fr; }
  .block { min-height: 0; }
}
@media (max-width: 860px) {
  .grid-3, .locations { grid-template-columns: 1fr; }
  .grid-2, .split, .split--wide-left, .split--wide-right, .newsletter { grid-template-columns: 1fr; }
  .split-media { order: -1; max-width: 520px; }
  .menu-cols { columns: 1; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .hs-bar span { display: none; }
  .hs-bar { height: 20px; }
  .hs-bar::before, .hs-bar::after { top: 9px; }
  .hs-controls { bottom: 28px; }
  .hs-slide::after { background: linear-gradient(0deg, rgba(29,43,58,.95) 0%, rgba(29,43,58,.75) 55%, rgba(29,43,58,.35) 100%); }
  .hs-content { justify-content: flex-end; padding-bottom: 110px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .grid-4 { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product { padding: 10px 10px 16px; }
  .product h3 { font-size: .86rem; }
  .price { font-size: 1rem; }
  .form-row, .form-row--3, .newsletter .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { gap: 12px; }
  .stats > div { padding-left: 12px; }
  .stat-value { font-size: 1.9rem; }
  .announce { font-size: .78rem; }
  .announce p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; cursor: pointer; }
  .announce.is-expanded p { -webkit-line-clamp: unset; display: block; }
  .quick-item { padding: 18px 16px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .quick-item .qi-icon { width: 40px; height: 40px; }
  .quick-item .qi-sub { display: none; }
  .order-item--media { grid-template-columns: 72px 1fr; align-items: start; }
  .order-item--media img { width: 72px; height: 72px; }
  .order-item--media input { grid-column: 2; justify-self: start; }
  .tile { min-height: 300px; }
  .section-head--split { display: block; }
  .section-head--split > p, .section-head--split > .btn { margin-top: 14px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
  .hs-arrows { display: none; }
  .split-media .polaroid img { aspect-ratio: 1/1; }
  .split-media::before { right: -10px; bottom: 20px; }
  .split-media--left::before { left: -10px; }
  .hero-slider { height: 620px; }
  .menu-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 22px; }
  .menu-tab { white-space: nowrap; }
}
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .brand img { height: 32px; }
  .header-actions { gap: 0; }
  .icon-btn, .cart-pill { width: 38px; height: 38px; }
  .stats { gap: 8px; }
  .stat-value { font-size: 1.6rem; }
  .stat-label { font-size: .74rem; }
}
