/*
  Liam McMahon EUROSPAR Springfield Road — site stylesheet.

  A light, fresh-grocery look: pale sage ground, deep green ink, SPAR green as the accent and
  SPAR red reserved for the "open 24 hours" signal and the fascia stripe. Every colour and size
  below comes from the tokens in :root — components never use raw values.

  Type: Bricolage Grotesque (headings, shop-sign character), Figtree (body),
  IBM Plex Mono (times, labels, the clock — the till-receipt voice).
*/

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;

  --ground:      #F5F8F4;
  --surface:     #FFFFFF;
  --surface-2:   #ECF4EE;
  --surface-3:   #E1EEE4;
  --ink:         #13241A;
  --ink-2:       #3F5446;
  --ink-3:       #5B7062;
  --line:        #D8E3DA;
  --line-strong: #C3D3C7;

  --green:       #0A7A3D;
  --green-deep:  #06592C;
  --green-soft:  #D6EDDD;
  --red:         #CF2A21;
  --red-soft:    #FCE5E3;
  --sun:         #E9A21F;
  --night:       #2C3E63;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --fs-2xl:  clamp(1.85rem, 1.4rem + 1.9vw, 2.7rem);
  --fs-3xl:  clamp(2.1rem, 1.2rem + 2.5vw, 3.35rem);

  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;    --s-7: 3rem;    --s-8: 4.5rem;  --s-9: 6.5rem;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-1: 0 1px 2px rgba(19, 36, 26, 0.06), 0 1px 1px rgba(19, 36, 26, 0.04);
  --shadow-2: 0 2px 4px rgba(19, 36, 26, 0.05), 0 12px 28px -12px rgba(19, 36, 26, 0.22);
  --shadow-3: 0 4px 10px rgba(19, 36, 26, 0.06), 0 26px 50px -22px rgba(19, 36, 26, 0.32);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 72rem;
  --measure: 66ch;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--green-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6rem; height: 1.6rem; }

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

.skip-link {
  position: absolute; left: var(--s-4); top: -3rem; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--s-2) var(--s-4);
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--s-3); color: #fff; }

/* ----------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.5rem + 2.5vw, 2rem);
}

.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--tint { background: var(--surface-2); }
.section--white { background: var(--surface); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section-head {
  display: grid;
  gap: var(--s-3);
  max-width: 44rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.section-head--row {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s-5);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: ""; width: 1.4rem; height: 2px; background: currentColor; border-radius: 2px;
}

.h2 { font-size: var(--fs-2xl); font-weight: 800; }
.h3 { font-size: var(--fs-xl); font-weight: 700; }
.lead { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.55; max-width: var(--measure); }
.muted { color: var(--ink-3); }

/* ---------------------------------------------------- fascia and ticker */
.fascia { height: 4px; background: linear-gradient(90deg, var(--red) 0 72%, var(--green) 72% 100%); }

.ticker {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list {
  display: flex; align-items: center; gap: var(--s-5);
  margin: 0; padding: 0.55rem var(--s-5) 0.55rem 0; list-style: none;
  white-space: nowrap;
}
.ticker__list li { display: inline-flex; align-items: center; gap: var(--s-5); }
.ticker__list li::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  min-height: 4.25rem;
}

.brand {
  display: inline-flex; align-items: center; gap: var(--s-3);
  text-decoration: none; color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--green); color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22);
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__mark svg { width: 1.2rem; height: 1.35rem; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand__sub { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  position: relative;
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 0.3rem;
  height: 2px; background: var(--green); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--green-deep); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 1.35rem; height: 1.35rem; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 3rem;
  padding: 0.7rem 1.3rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px -8px rgba(10, 122, 61, 0.7); }
.btn--primary:hover { background: var(--green-deep); color: #fff; box-shadow: 0 10px 22px -10px rgba(10, 122, 61, 0.75); }

.btn--ghost { background: var(--surface); color: var(--green-deep); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none; color: var(--green-deep);
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem) clamp(3rem, 2.5rem + 3vw, 5.5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(10, 122, 61, 0.1), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(233, 162, 31, 0.09), transparent 60%),
    var(--ground);
}
.hero::before {
  /* faint shelf-line pattern, like the edge of a shop shelf seen head-on */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0 63px, rgba(19, 36, 26, 0.035) 63px 64px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.hero__kicker b {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 0.18rem 0.55rem; border-radius: 999px; font-size: 0.7rem;
}

.hero__title {
  margin-top: var(--s-5);
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line > span { display: inline-block; animation: rise 0.9s var(--ease) both; }
.hero__line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__line--accent { color: var(--green); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.hero__lede {
  margin-top: var(--s-5);
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36rem;
  animation: fade-up 0.8s 0.25s var(--ease) both;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero .btn-row { margin-top: var(--s-6); animation: fade-up 0.8s 0.35s var(--ease) both; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  margin: var(--s-6) 0 0; padding: 0; list-style: none;
  font-size: var(--fs-sm); color: var(--ink-2);
  animation: fade-up 0.8s 0.45s var(--ease) both;
}
.hero__facts li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__facts .icon { color: var(--green); }

@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ clock card */
.clock-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  box-shadow: var(--shadow-3);
  animation: fade-up 0.9s 0.3s var(--ease) both;
}
.clock-card::before {
  /* the SPAR red-and-green fascia, repeated as the card's top edge */
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red) 0 72%, var(--green) 72% 100%);
}

.clock-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.clock-card__label {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}

.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: var(--green-soft); color: var(--green-deep);
  border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em;
}
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }

.clock-card__time {
  margin-top: var(--s-3);
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(3rem, 2.2rem + 3.4vw, 4.6rem);
  line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.clock-card__time .colon { animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.clock-card__date { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--ink-3); }

.dial { margin-top: var(--s-5); }
.dial svg { width: 100%; height: auto; overflow: visible; }
.dial__track { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.dial__travelled {
  fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round;
  transition: stroke-dashoffset 1.2s var(--ease);
}
.dial__marker { transition: transform 1.2s var(--ease); }
.dial__sun  { fill: var(--sun); }
.dial__moon { fill: var(--night); }
.dial__halo { fill: var(--sun); opacity: 0.18; }
.dial.is-night .dial__halo { fill: var(--night); opacity: 0.12; }
.dial.is-night .dial__sun, .dial:not(.is-night) .dial__moon { display: none; }
.dial__tick { font-family: var(--font-mono); font-size: 9px; fill: var(--ink-3); }

.clock-card__note {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--line-strong);
  font-size: var(--fs-sm); color: var(--ink-2);
}
.clock-card__note strong { color: var(--ink); }

/* ----------------------------------------------------- shelf-edge tickets */
.tickets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}
.ticket {
  position: relative;
  display: grid; gap: var(--s-2); align-content: start;
  padding: var(--s-5) var(--s-5) var(--s-5) calc(var(--s-5) + 4px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
  transform-origin: 50% 0;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ticket::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--green); border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.ticket:hover { transform: rotate(-0.8deg) translateY(-2px); box-shadow: var(--shadow-2); }
.ticket__label {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.ticket__label .icon { color: var(--green); width: 1rem; height: 1rem; }
.ticket__value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.ticket__value a { color: inherit; text-decoration: none; }
.ticket__value a:hover { color: var(--green-deep); text-decoration: underline; }
.ticket__meta { font-size: var(--fs-sm); color: var(--ink-3); }

/* --------------------------------------------------------------- services */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}
.service {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.service__icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--green-soft); color: var(--green-deep);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.service:hover .service__icon { transform: rotate(-10deg); background: var(--green); color: #fff; }
.service__icon .icon { width: 1.4rem; height: 1.4rem; }
.service h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.service p { margin-top: var(--s-1); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }

/* ------------------------------------------------------------ photo strip */
.photos {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(12rem, 16rem));
  gap: var(--s-4);
}
.photo {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-3);
}
.photo:first-child { grid-row: span 2; }
.photo:last-child { grid-column: span 2; }
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.photo:hover img { transform: scale(1.05); }
.photo figcaption {
  position: absolute; left: var(--s-3); bottom: var(--s-3); right: var(--s-3);
  width: fit-content; max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-1);
}
.photos-note { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--ink-3); }

/* --------------------------------------------------------- visit / hours */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  box-shadow: var(--shadow-1);
}
.panel__title { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--s-4); }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-size: var(--fs-sm); }
.hours th { font-weight: 600; color: var(--ink-2); }
.hours td { font-family: var(--font-mono); font-weight: 500; text-align: right; color: var(--ink); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.facts-list { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.facts-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.facts-list .icon { margin-top: 0.2rem; color: var(--green); }
.facts-list b { display: block; font-size: var(--fs-xs); font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 0.35rem 0.75rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2);
}

/* ---------------------------------------------------------- other stores */
.stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.store {
  position: relative;
  display: grid; gap: var(--s-3); align-content: start;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.store:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.store__badge {
  width: fit-content;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); background: var(--red-soft); padding: 0.2rem 0.55rem; border-radius: 999px;
}
.store h3 { font-size: 1.2rem; font-weight: 700; }
.store address { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); }
.store__hours { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.store__link { margin-top: var(--s-1); }
.store__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ------------------------------------------------------- inner page hero */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 2.5vw, 4rem);
  background:
    radial-gradient(44rem 22rem at 100% 0%, rgba(10, 122, 61, 0.1), transparent 60%),
    var(--ground);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { display: grid; gap: var(--s-4); max-width: 50rem; }
.page-hero h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.03em;
  animation: fade-up 0.8s var(--ease) both;
}
.page-hero .lead { animation: fade-up 0.8s 0.1s var(--ease) both; }

.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
  margin: 0; padding: 0; list-style: none;
  font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: 0.04em; color: var(--ink-3);
}
.breadcrumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-deep); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-2); }

/* ------------------------------------------------------ article / prose */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.split__aside { position: sticky; top: 6rem; display: grid; gap: var(--s-4); }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 800; margin-top: var(--s-7); }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-top: var(--s-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--green); }

.callout {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start;
  padding: var(--s-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
}
.callout .icon { color: var(--green); margin-top: 0.15rem; }
.callout p { color: var(--ink-2); }

/* -------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: var(--s-3); max-width: 52rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--green); transition: transform 0.35s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__body { padding: 0 var(--s-5) var(--s-5); color: var(--ink-2); }

/* ------------------------------------------------------------ contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.contact-card {
  display: grid; gap: var(--s-3); align-content: start;
  padding: var(--s-6) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.contact-card .service__icon { width: 3.25rem; height: 3.25rem; }
.contact-card h2, .contact-card h3 { font-size: 1.25rem; font-weight: 700; }
.contact-card p { color: var(--ink-2); font-size: var(--fs-sm); }
.contact-card__big { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; }
.contact-card__big a { color: var(--ink); text-decoration: none; }
.contact-card__big a:hover { color: var(--green-deep); }

.map-frame {
  width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-3);
  box-shadow: var(--shadow-1);
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) var(--s-5);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.footer-about { display: grid; gap: var(--s-4); align-content: start; }
.footer-about p { color: var(--ink-2); max-width: 26rem; }
.footer-heading {
  margin-bottom: var(--s-4);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.footer-links { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--green-deep); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-3); }

/* --------------------------------------------------------- scroll reveals */
/* Content is visible by default. Only once main.js confirms it is running does it hide
   the .reveal elements, so a failed or blocked script never leaves the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 62rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .clock-card { max-width: 30rem; }
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stores { grid-template-columns: 1fr; }
  .visit, .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 52rem) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; gap: 0;
    padding: var(--s-2) clamp(1rem, 0.5rem + 2.5vw, 2rem) var(--s-4);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    transform-origin: top;
    transform: scaleY(0.96); opacity: 0; visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__link { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-base); }
  .nav__link::after { display: none; }
  .nav__link:last-child { border-bottom: 0; }
  .header-inner { position: static; }
  .site-header { position: sticky; }
  .site-header .container { position: relative; }

  .section-head--row { grid-template-columns: 1fr; }
  .photos { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 11rem; }
  .photo:first-child { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 36rem) {
  .tickets, .services, .footer-grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ----------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none; width: auto; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .ticker__list { flex-wrap: wrap; white-space: normal; padding-inline: var(--s-4); row-gap: var(--s-1); }
  .js .reveal { opacity: 1; transform: none; }
  .status__dot::after, .clock-card__time .colon { animation: none; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .fascia, .ticker, .site-header, .nav-toggle, .site-footer .footer-links, .btn-row { display: none !important; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}
