/* ==========================================================================
   James A Harris & Son Quality Butchers
   Palette: near-black + dark grey panels + rustic wood brown accent.
   --accent is for borders and filled backgrounds only; it does not reach
   WCAG AA as small text on a dark panel, so --accent-text is used for
   accent-coloured wording.
   ========================================================================== */

:root {
  --bg: #161616;
  --bg-alt: #1C1C1C;
  --panel: #2A2A2A;
  --panel-soft: #242424;
  --line: #3A3A3A;
  --accent: #6B4A32;
  --accent-text: #C79A6E;
  /* Lifted brown for the header tagline: 5.4:1 on --bg-alt, so AA at small sizes. */
  --brand-tag: #B08A62;
  --text: #D8D8D8;
  --heading: #F2F0EC;
  --muted: #B3B3B3;
  --faint: #9A9A9A;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --maxw: 1200px;
  --radius: 4px;
  --gutter: 24px;
  /* Height of the scrolled homepage bar: 44px logo panel + padding + border. */
  --header-h: 74px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

a { color: var(--heading); }

a:hover { color: var(--accent-text); }

:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Placeholder copy still awaiting client content. */
.todo {
  color: var(--accent-text);
  font-size: 0.875rem;
}

/* ---------- Sticky header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-alt);
  border-bottom: 3px solid var(--accent);
}

/* Shares --maxw and --gutter with .section so the header content and the
   section content line up on the same left edge. position/z-index keep it
   above the overlay header's gradient scrim. */
.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter);
}

/* ---------- Transparent overlay header (homepage only) ----------
   christmas-2026.html keeps the solid .site-header above. */

.site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  background-color: transparent;
  border-bottom: 2px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scrim that keeps the links legible over the photo, faded out once the bar
   turns solid. Kept separate from background-color so it can transition. */
.site-header--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header--overlay .site-nav a { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75); }

/* .is-scrolled is set by js/main.js past 60px; .is-open by the hamburger. */
.site-header--overlay.is-scrolled,
.site-header--overlay.is-open {
  background-color: #1C1C1C;
  border-bottom-color: var(--accent);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.site-header--overlay.is-scrolled::before,
.site-header--overlay.is-open::before { opacity: 0; }

.site-header--overlay.is-scrolled .site-nav a,
.site-header--overlay.is-open .site-nav a { text-shadow: none; }

/* Compact lockup, hidden until the bar goes solid so the logo is never on
   screen twice. visibility also takes it out of the tab order. */
.brand-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.is-scrolled .brand-compact,
.site-header--solid .brand-compact {
  opacity: 1;
  visibility: visible;
}

.brand-compact-logo {
  flex: 0 0 auto;
  width: auto;
  height: 44px;
}

.brand-compact-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
}

.brand-est {
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}

/* The logo artwork is black on a white background, so it needs a light panel. */
.brand-logo {
  flex: 0 0 auto;
  width: 74px;
  padding: 5px 7px;
  background: #FFFFFF;
  border-radius: 6px;
  line-height: 0;
}

.brand-logo img {
  width: 100%;
  height: auto;
}

/* min-width:0 lets the business name wrap rather than push the header wide. */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading);
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-tag);
}

/* ---------- Navigation ---------- */

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  color: var(--heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-text);
  border-bottom-color: var(--accent);
}

.nav-facebook {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-facebook img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-facebook:hover,
.nav-facebook:focus-visible {
  border-bottom-color: transparent;
  transform: scale(1.08);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  padding: 11px 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  content: "";
}

.nav-toggle-bars::before { transform: translateY(-7px); }
.nav-toggle-bars::after { transform: translateY(5px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 24px) 0 72px;
  text-align: center;
}

/* Own layer so the slow zoom never scales the text on top of it. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/hero-steak.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Radial wash, darkest behind the centred text so the chops and cleaver stay
   visible at the edges, plus a bottom fade into the page background. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(22, 22, 22, 0) 80%, #161616 100%),
    radial-gradient(ellipse at center,
      rgba(12, 12, 12, 0.78) 0%,
      rgba(12, 12, 12, 0.62) 45%,
      rgba(12, 12, 12, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-inner > * { margin: 0; }

.hero h1 {
  margin: 0;
  line-height: 0;
}

.hero-logo {
  width: min(600px, 100%);
  height: auto;
}

.hero-divider {
  display: block;
  line-height: 0;
  color: #A07A55;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--heading);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* Offset by half its own width rather than translateX, so the load animation
   is free to use transform. */
.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: calc(50% - 22px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--heading);
}

.hero-scroll:hover { color: var(--accent-text); }

/* Vertical rhythm comes from .hero-inner's gap, so no margin here. */
.button {
  display: inline-block;
  padding: 14px 26px;
  background: var(--accent);
  border-radius: 2px;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #83593C;
  color: var(--heading);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--gutter);
  /* Keeps headings clear of the sticky header when jumped to from the nav. */
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section > h1,
.section > h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  text-align: center;
  margin-bottom: 0.35em;
}

.section-note {
  max-width: 46rem;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--muted);
}

.section-note:last-child { margin-bottom: 0; }

/* ---------- Product cards ----------
   Full-bleed image tiles with the name and description floating over the
   bottom of the photo. Single column under 600px. */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.product-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  /* Shows through as the placeholder until a photo is dropped in. */
  background: var(--panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.product-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom-up wash: the caption stays well clear of AA while the top of the
   photo is left bright. */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(12, 12, 12, 0.9) 0%,
    rgba(12, 12, 12, 0.55) 40%,
    rgba(12, 12, 12, 0.1) 100%);
}

/* z-index lifts the caption above ::after, which is painted last. */
.product-card-text {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 1.25rem;
  text-align: center;
}

.product-card-text h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.product-card-rule {
  width: 32px;
  height: 1px;
  background: #C9A27A;
  transition: width 0.3s ease;
}

.product-card-text p {
  max-width: 30ch;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* Only revealed by js/main.js when the photo file is missing. */
.product-card-note {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  right: 0;
  left: 0;
  display: none;
  padding: 0 10px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--faint);
}

.product-card.is-missing > img { display: none; }

.product-card.is-missing .product-card-note { display: block; }

/* ---------- Christmas card (the only clickable card) ---------- */

.product-card--featured {
  border-color: #C9A27A;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card--featured > img { transition: transform 0.6s ease; }

.product-card-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Off-white on these reds/greens stays above 4.5:1 for the pill text. */
.product-card-tag.is-closed { background: #A33A3A; }

.product-card-tag.is-open { background: #2F7A45; }

.stock-note {
  max-width: 38rem;
  margin: 36px auto 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  text-align: center;
  color: #C4B8A8;
}

/* Pointer-only, so touch devices do not get a stuck hover state. */
@media (hover: hover) {
  .product-card--featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }

  .product-card--featured:hover > img { transform: scale(1.06); }

  .product-card--featured:hover .product-card-rule { width: 56px; }
}

.product-card--featured:focus-visible {
  transform: translateY(-3px);
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}

.product-card--featured:focus-visible > img { transform: scale(1.06); }

.product-card--featured:focus-visible .product-card-rule { width: 56px; }

/* Two columns: the Christmas card falls in beside the ninth, five even rows. */
@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .product-card { aspect-ratio: 4 / 3; }
}

/* Three columns: cards 1-9 make a 3x3 and the Christmas card centres below. */
@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-card--featured { grid-column: 2; }
}

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.rating-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 46rem;
  margin: 0 auto 40px;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 1rem;
  text-decoration: none;
}

.rating-link:hover,
.rating-link:focus-visible {
  color: var(--accent-text);
  border-bottom-color: var(--accent-text);
}

/* Kept at 0×0 rather than clipped, so <use href="#star"> still paints. */
.star-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #C9A27A;
}

.stars svg {
  display: block;
  width: 16px;
  height: 16px;
}

.review-card { padding: 22px; }

.review-card .stars { margin-bottom: 12px; }

.review-card blockquote { margin: 0 0 12px; }

.review-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.review-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--faint);
}

/* ---------- Opening hours ---------- */

.table-wrap {
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
}

.hours th,
.hours td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.hours thead th {
  background: var(--panel-soft);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.hours tbody th {
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
}

.hours tbody tr:last-child th,
.hours tbody tr:last-child td { border-bottom: 0; }

/* Muted but still 6.8:1 against the panel, so it stays AA at this size. */
.hours tr.is-closed td { color: var(--muted); }

.hours tr.is-closed th { color: var(--muted); }

/* Applied by js/main.js to the current day. */
.hours tr.is-today { background: #332B21; }

.hours tr.is-today th {
  box-shadow: inset 3px 0 0 var(--accent-text);
  color: var(--accent-text);
}

/* ---------- Where to find us ---------- */

.find-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.panel h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 22px 0 4px;
}

.panel h3:first-child { margin-top: 0; }

.panel p,
.panel address {
  margin: 0;
  font-style: normal;
}

.parking {
  margin-top: 22px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.map-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Christmas page ---------- */

.back-link {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.back-link:hover,
.back-link:focus-visible { border-bottom-color: var(--accent-text); }

.menu-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.menu-block:last-child { margin-bottom: 0; }

/* Neutral stand-in for the Christmas menu photography still to be supplied. */
.card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-media span {
  padding: 0 10px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--faint);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 3px solid var(--accent);
  padding: 40px 24px 28px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--heading);
  margin: 0 0 8px;
}

.site-footer p { margin: 0 0 4px; }

.site-footer a { color: var(--text); }

.copyright {
  max-width: 620px;
  margin: 22px auto 0 !important;
  padding-top: 18px;
  border-top: 1px solid #333;
  font-size: 0.78rem;
  color: var(--faint);
}

/* ---------- Scroll reveal ----------
   Gated behind .js (set by an inline snippet in <head>) so that with
   JavaScript disabled everything stays visible. */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero load animation ----------
   Opt-in only: with no motion preference expressed as "no-preference" the hero
   renders static, so reduced-motion users never see the zoom or the stagger. */

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: heroZoom 14s ease-out both; }

  .hero-inner > * { animation: heroRise 0.7s ease-out both; }

  .hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.17s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.29s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.41s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.53s; }
  .hero-inner > *:nth-child(6) { animation-delay: 0.65s; }

  .hero-scroll { animation: heroRise 0.7s ease-out 0.9s both; }

  /* On the icon, not the link, so it cannot fight the rise animation. */
  .hero-scroll svg { animation: heroBounce 2.4s ease-in-out 1.4s infinite; }
}

/* ---------- Mobile navigation ---------- */

@media (max-width: 767.98px) {
  .nav-toggle { display: block; }

  .header-inner { flex-wrap: wrap; }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav li { border-top: 1px solid var(--line); }

  .site-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 0;
  }

  .nav-facebook { display: flex; }

  .brand-logo { width: 62px; }

  .brand-name { font-size: 1.05rem; }

  .brand-compact-logo { height: 38px; }

  .brand-compact-name { font-size: 0.95rem; }

  /* Keeps the long button label on one line at 375px. */
  .button {
    padding: 13px 20px;
    letter-spacing: 0.12em;
  }

  .hero-inner { gap: 20px; }

  .hero-sub { font-size: 1.05rem; }
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) {
  :root { --gutter: 40px; }

  .section { padding: 80px var(--gutter); }

  .review-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  /* Times align to the right edge once there is room for it. */
  .hours thead th:last-child,
  .hours tbody td { text-align: right; }

  .find-grid {
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
    gap: 32px;
  }

  .menu-block { grid-template-columns: 1fr 1.5fr; }
}

/* ---------- Desktop ---------- */

@media (min-width: 1200px) {
  :root { --gutter: 56px; }

  .section { padding: 96px var(--gutter); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* No zoom or lift on the Christmas card; the focus outline still shows. */
  .product-card--featured:hover,
  .product-card--featured:focus-visible,
  .product-card--featured:hover > img,
  .product-card--featured:focus-visible > img {
    transform: none;
  }
}
