/* ==========================================================================
   Wanderlust Coffee Roasters — design tokens + components
   ========================================================================== */

:root, [data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — warm cream */
  --color-bg: #faf7f1;
  --color-surface: #fffdf9;
  --color-surface-offset: #f2ede3;
  --color-surface-deep: #241c15;
  --color-divider: oklch(0.28 0.02 55 / 0.10);
  --color-border: oklch(0.28 0.02 55 / 0.16);

  /* Text — espresso */
  --color-text: #241c15;
  --color-text-muted: #6b5d4e;
  --color-text-faint: #9b8f80;
  --color-text-inverse: #f7f2e8;

  /* Accent — burnt copper */
  --color-primary: #a8471b;
  --color-primary-hover: #8a3814;
  --color-primary-soft: oklch(0.52 0.13 42 / 0.10);

  /* Mural palette — sampled from the shop mural */
  --mural-red: #c9161b;
  --mural-amber: #eda000;
  --mural-amber-deep: #98670a;
  --mural-blue: #0176a5;
  --mural-ink: #241c15;
  --mural-stripe: linear-gradient(
    90deg,
    var(--mural-red) 0 25%, var(--mural-amber) 25% 50%,
    var(--mural-blue) 50% 75%, var(--mural-ink) 75% 100%
  );

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.25 0.02 55 / 0.07);
  --shadow-md: 0 6px 20px oklch(0.25 0.02 55 / 0.09);
  --shadow-lg: 0 18px 48px oklch(0.25 0.02 55 / 0.14);

  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1280px;

  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Satoshi', 'Helvetica Neue', system-ui, sans-serif;
}

[data-theme='dark'] {
  --color-bg: #16120e;
  --color-surface: #1e1813;
  --color-surface-offset: #252017;
  --color-surface-deep: #100d0a;
  --color-divider: oklch(0.85 0.02 70 / 0.10);
  --color-border: oklch(0.85 0.02 70 / 0.18);
  --color-text: #ece3d5;
  --color-text-muted: #a89a86;
  --color-text-faint: #776b5c;
  --color-text-inverse: #17120e;
  --mural-red: #ef4a45;
  --mural-amber: #f8b62a;
  --mural-amber-deep: #f0ab24;
  --mural-blue: #4aabd8;
  --mural-ink: #ece3d5;
  --color-primary: #e28b53;
  --color-primary-hover: #f0a26e;
  --color-primary-soft: oklch(0.72 0.12 55 / 0.14);
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 18px 48px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #16120e;
    --color-surface: #1e1813;
    --color-surface-offset: #252017;
    --color-surface-deep: #100d0a;
    --color-divider: oklch(0.85 0.02 70 / 0.10);
    --color-border: oklch(0.85 0.02 70 / 0.18);
    --color-text: #ece3d5;
    --color-text-muted: #a89a86;
    --color-text-faint: #776b5c;
    --color-text-inverse: #17120e;
    --color-primary: #e28b53;
    --color-primary-hover: #f0a26e;
    --color-primary-soft: oklch(0.72 0.12 55 / 0.14);
    --mural-red: #ef4a45;
    --mural-amber: #f8b62a;
    --mural-amber-deep: #f0ab24;
    --mural-blue: #4aabd8;
    --mural-ink: #ece3d5;
  }
}

/* ---------- Layout primitives ---------- */

.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-5), 5vw, var(--space-12)); }
.wrap--default { max-width: var(--content-default); }
.wrap--narrow { max-width: var(--content-narrow); }

.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.section--offset { background: var(--color-surface-offset); }

.eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: ''; flex: none; width: 24px; height: 5px; border-radius: 1px;
  background: var(--eyebrow-bar, var(--color-primary));
}
.eyebrow--red { --eyebrow-bar: var(--mural-red); }
.eyebrow--amber { --eyebrow-bar: var(--mural-amber); }
.eyebrow--blue { --eyebrow-bar: var(--mural-blue); }
.eyebrow--multi::before { width: 48px; background: var(--mural-stripe); }

.lede { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.5; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.h-section { font-size: var(--text-xl); margin-bottom: var(--space-6); }
.h-sub { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; letter-spacing: 0; }

p + p { margin-top: var(--space-5); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--color-primary); color: #fff;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 600;
}
.skip:focus { top: var(--space-4); }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.header::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: var(--mural-stripe);
}
.header__inner {
  display: flex; align-items: center; gap: var(--space-6);
  min-height: 80px;
}

.brand {
  display: inline-flex; align-items: center;
  color: var(--color-text); text-decoration: none; margin-right: auto;
}
.brand__logo {
  display: block; flex: none;
  width: clamp(102px, 11.5vw, 122px); aspect-ratio: 600 / 287;
  background: currentColor;
  -webkit-mask: url(./assets/logo.svg) center / contain no-repeat;
  mask: url(./assets/logo.svg) center / contain no-repeat;
  transition: opacity var(--transition-interactive);
}
.brand:hover .brand__logo { opacity: 0.7; }

.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__link {
  font-size: var(--text-sm); font-weight: 500; text-decoration: none;
  color: var(--color-text-muted); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md); min-height: 44px; display: inline-flex; align-items: center;
}
.nav__link:hover { color: var(--color-text); background: var(--color-primary-soft); }
.nav__link[aria-current='page'] { color: var(--color-text); font-weight: 700; }

.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: var(--radius-full); color: var(--color-text-muted);
}
.icon-btn:hover { color: var(--color-text); background: var(--color-primary-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.01em;
  border-radius: var(--radius-full); text-decoration: none; text-align: center;
  border: 1px solid transparent;
}
.btn--primary { background: var(--color-primary); color: #fff8f0; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); }
[data-theme='dark'] .btn--primary { color: #1a1209; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .btn--primary { color: #1a1209; } }

.btn--ghost { border-color: var(--color-border); color: var(--color-text); }
.btn--ghost:hover { border-color: var(--color-text-muted); background: var(--color-primary-soft); }

.btn--on-image { background: oklch(1 0 0 / 0.12); border-color: oklch(1 0 0 / 0.45); color: #fff; backdrop-filter: blur(6px); }
.btn--on-image:hover { background: oklch(1 0 0 / 0.22); border-color: #fff; }

.btn--sm { min-height: 44px; padding: var(--space-2) var(--space-5); }
.btn--block { width: 100%; }

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

.hero { position: relative; isolation: isolate; min-height: min(76vh, 660px); display: grid; align-items: end; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, oklch(0.16 0.02 45 / 0.86) 0%, oklch(0.16 0.02 45 / 0.62) 48%, oklch(0.16 0.02 45 / 0.2) 100%),
    linear-gradient(to top, oklch(0.16 0.02 45 / 0.9) 0%, oklch(0.16 0.02 45 / 0.5) 45%, oklch(0.16 0.02 45 / 0.34) 100%);
}
.hero__inner { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.hero__eyebrow { color: #f0c9a8; }
.hero h1 {
  font-size: var(--text-3xl); color: #fffaf3; max-width: 22ch;
  line-height: 1.02; margin-bottom: var(--space-6);
}
.hero__sub { font-size: var(--text-lg); color: oklch(1 0 0 / 0.82); max-width: 46ch; margin-bottom: var(--space-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Page head (interior pages) ---------- */

.pagehead { padding-block: clamp(var(--space-12), 7vw, var(--space-20)) clamp(var(--space-8), 4vw, var(--space-12)); }
.pagehead h1 { font-size: var(--text-2xl); max-width: 26ch; margin-bottom: 0; }
.pagehead h1 + .lede { margin-top: var(--space-5); }

/* ---------- Locations ---------- */

.locations { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .locations { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }

.loc {
  position: relative; overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: clamp(var(--space-6), 3vw, var(--space-10));
  display: flex; flex-direction: column;
}
.loc::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 5px;
  background: var(--loc-accent, var(--color-primary));
}
.locations .loc:nth-child(1) { --loc-accent: var(--mural-red); }
.locations .loc:nth-child(2) { --loc-accent: var(--mural-blue); }
.loc__label { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-2); }
.loc h2, .loc h3 { font-size: var(--text-lg); font-family: var(--font-display); font-weight: 500; }
.loc__tag {
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--loc-accent, var(--color-primary));
  background: color-mix(in oklab, var(--loc-accent, var(--color-primary)) 15%, transparent);
  padding: 3px var(--space-3); border-radius: var(--radius-full);
}
.loc__addr { font-size: var(--text-sm); color: var(--color-text-muted); font-style: normal; margin-bottom: var(--space-6); }
.loc__addr a { color: inherit; text-decoration: underline; text-decoration-color: var(--color-border); text-underline-offset: 3px; }
.loc__addr a:hover { color: var(--color-primary); }

.hours { width: auto; font-size: var(--text-sm); margin-bottom: var(--space-8); }
.hours th { text-align: left; font-weight: 500; color: var(--color-text-muted); padding: var(--space-1) var(--space-6) var(--space-1) 0; white-space: nowrap; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; padding: var(--space-1) 0; white-space: nowrap; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--color-divider); }

.loc__actions { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.loc__actions--row { flex-direction: row; flex-wrap: wrap; }

/* ---------- Full-bleed feature ---------- */

.feature { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(64vh, 560px); }
.feature__media { position: absolute; inset: 0; z-index: -2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, oklch(0.15 0.02 45 / 0.94) 0%, oklch(0.15 0.02 45 / 0.80) 48%, oklch(0.15 0.02 45 / 0.42) 100%);
}
.feature__inner { padding-block: clamp(var(--space-16), 9vw, var(--space-24)); }
.feature__body { max-width: 44ch; }
.feature h2 { font-size: var(--text-xl); color: #fffaf3; margin-bottom: var(--space-5); }
.feature p { color: oklch(1 0 0 / 0.78); }
.feature .eyebrow { color: #f0c9a8; }

/* ---------- Two-column editorial ---------- */

.split { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--flip > :first-child { order: 2; } }
.split__media img { border-radius: var(--radius-lg); width: 100%; }
.split__media figcaption { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-3); }

/* ---------- Pull quote ---------- */

.pullquote {
  position: relative;
  padding-block: clamp(var(--space-8), 4vw, var(--space-12));
  padding-left: clamp(var(--space-6), 3vw, var(--space-10));
  margin-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.pullquote::before {
  content: ''; position: absolute; left: 0; width: 6px; border-radius: 1px;
  top: clamp(var(--space-8), 4vw, var(--space-12));
  bottom: clamp(var(--space-8), 4vw, var(--space-12));
  background: linear-gradient(
    180deg,
    var(--mural-red) 0 25%, var(--mural-amber) 25% 50%,
    var(--mural-blue) 50% 75%, var(--mural-ink) 75% 100%
  );
}
.pullquote p {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500;
  line-height: 1.25; letter-spacing: -0.015em; max-width: 30ch; margin: 0;
}
.pullquote cite { display: block; margin-top: var(--space-5); font-size: var(--text-sm); font-style: normal; color: var(--color-text-muted); }

/* ---------- Story list (timeline) ---------- */

.story { display: grid; gap: 0; margin-top: var(--space-10); }
.story__item {
  display: grid; gap: var(--space-2) var(--space-8); align-items: baseline;
  padding-block: var(--space-6); border-top: 1px solid var(--color-divider);
}
.story__item:last-child { border-bottom: 1px solid var(--color-divider); }
@media (min-width: 640px) { .story__item { grid-template-columns: 5.5rem 1fr; } }
.story__year { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); font-variant-numeric: tabular-nums; }
.story__item:nth-child(4n + 1) .story__year { color: var(--mural-red); }
.story__item:nth-child(4n + 2) .story__year { color: var(--mural-amber-deep); }
.story__item:nth-child(4n + 3) .story__year { color: var(--mural-blue); }
.story__body h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); letter-spacing: 0; }
.story__body p { font-size: var(--text-base); color: var(--color-text-muted); margin: 0; }

/* ---------- Drink chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.chip {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--text-sm); font-weight: 500;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-border); border-radius: var(--radius-full);
  background: var(--color-surface);
}
.chip::before {
  content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--chip-accent, var(--color-primary));
}
.chips .chip:nth-child(4n + 1) { --chip-accent: var(--mural-red); }
.chips .chip:nth-child(4n + 2) { --chip-accent: var(--mural-amber); }
.chips .chip:nth-child(4n + 3) { --chip-accent: var(--mural-blue); }
.chips .chip:nth-child(4n + 4) { --chip-accent: var(--mural-ink); }

.chip em {
  font-style: normal; font-weight: 400;
  color: var(--color-text-muted); margin-left: 0.4em;
}

.note {
  margin-top: var(--space-10); max-width: 56ch;
  font-size: var(--text-sm); color: var(--color-text-muted);
}
.note a { color: var(--color-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Order channel rows ---------- */

.channels { margin-top: var(--space-10); border-top: 1px solid var(--color-divider); }
.channel {
  position: relative;
  display: grid; gap: var(--space-3) var(--space-8); align-items: center;
  padding-block: var(--space-6); padding-left: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.channel::before {
  content: ''; position: absolute; left: 0; top: calc(var(--space-6) + 0.5em);
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--channel-accent, var(--color-primary));
}
.channels .channel:nth-child(4n + 1) { --channel-accent: var(--mural-red); }
.channels .channel:nth-child(4n + 2) { --channel-accent: var(--mural-amber); }
.channels .channel:nth-child(4n + 3) { --channel-accent: var(--mural-blue); }
.channels .channel:nth-child(4n + 4) { --channel-accent: var(--mural-ink); }
@media (min-width: 720px) { .channel { grid-template-columns: 1fr auto; } }
.channel h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; letter-spacing: 0; margin-bottom: var(--space-1); }
.channel p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* ---------- CTA band ---------- */

.band { position: relative; background: var(--color-surface-deep); color: var(--color-text-inverse); }
.band::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 5px;
  background: linear-gradient(
    90deg,
    var(--mural-red) 0 25%, var(--mural-amber) 25% 50%,
    var(--mural-blue) 50% 75%, #f7f2e8 75% 100%
  );
}
.band__inner {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  display: grid; gap: var(--space-8); align-items: center;
}
@media (min-width: 820px) { .band__inner { grid-template-columns: 1fr auto; } }
.band h2 { font-size: var(--text-xl); color: #fffaf3; margin-bottom: var(--space-3); }
.band p { color: oklch(1 0 0 / 0.72); font-size: var(--text-base); margin: 0; }
.band .btn--primary { background: #f7f2e8; color: #241c15; }
.band .btn--primary:hover { background: #fff; }

/* ---------- Culture (mural art) ---------- */

.culture {
  position: relative;
  isolation: isolate;
  background: var(--color-surface-offset);
  border-block: 1px solid var(--color-divider);
  --culture-gutter: clamp(var(--space-5), 5vw, var(--space-12));
  --culture-edge: max(var(--culture-gutter), calc((100vw - var(--content-wide)) / 2 + var(--culture-gutter)));
}
/* honeycomb echo of the pattern behind the artwork */
.culture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-size: 42px auto;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='49' viewBox='0 0 28 49' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23a8471b' fill-opacity='0.16' fill-rule='evenodd' d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/svg%3E");
}

.culture__grid { display: grid; }
.culture__art { margin: 0; overflow: hidden; }
.culture__art img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 8%; }

.culture__body {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  padding-inline: var(--culture-edge);
}
.culture__body > * { max-width: 42ch; }
.culture__body p { margin-bottom: var(--space-4); }
.culture__body .btn { margin-top: var(--space-4); }

.culture__body .eyebrow::before { display: none; }
.culture__swatches { display: flex; gap: 5px; margin-bottom: var(--space-6); }
.culture__swatches i { display: block; width: 22px; height: 5px; border-radius: 1px; }
.culture__swatches i:nth-child(1) { background: #c9161b; }
.culture__swatches i:nth-child(2) { background: #f4a805; }
.culture__swatches i:nth-child(3) { background: #0176a5; }
.culture__swatches i:nth-child(4) { background: var(--color-text); }

/* stacked: the artwork is a full-bleed band above the copy */
.culture__art { width: 100%; aspect-ratio: 1330 / 1232; max-height: 460px; }

/* side by side: the panel runs the full height of the copy and bleeds off the left edge */
@media (min-width: 1280px) {
  .culture__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: stretch; }
  .culture__art { aspect-ratio: auto; max-height: none; min-height: clamp(440px, 40vw, 620px); }
  .culture__art img { object-position: 100% 45%; }
  .culture__body { padding-inline: clamp(var(--space-8), 4.5vw, var(--space-16)) var(--culture-edge); align-self: center; }
}

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

.footer { position: relative; background: var(--color-surface-offset); }
.footer::before {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 5px;
  background: var(--mural-stripe);
}
.footer__inner { padding-block: clamp(var(--space-12), 6vw, var(--space-16)); }
.footer__mark { display: inline-block; color: var(--color-text); margin-bottom: var(--space-10); text-decoration: none; }
.footer__mark span {
  display: block; width: clamp(128px, 16vw, 168px); aspect-ratio: 600 / 287;
  background: currentColor;
  -webkit-mask: url(./assets/logo.svg) left center / contain no-repeat;
  mask: url(./assets/logo.svg) left center / contain no-repeat;
  transition: opacity var(--transition-interactive);
}
.footer__mark:hover span { opacity: 0.65; }
.footer__grid { display: grid; gap: var(--space-10); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__grid > div:nth-child(1) h2 { color: var(--mural-red); }
.footer__grid > div:nth-child(2) h2 { color: var(--mural-amber-deep); }
.footer__grid > div:nth-child(3) h2 { color: var(--mural-blue); }
.footer h2 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.footer address { font-style: normal; font-size: var(--text-sm); color: var(--color-text-muted); }
.footer address + address { margin-top: var(--space-5); }
.footer address strong { display: block; color: var(--color-text); font-weight: 700; margin-bottom: var(--space-1); }
.footer a { color: inherit; }
.footer__links { list-style: none; display: grid; gap: var(--space-3); font-size: var(--text-sm); }
.footer__links a { color: var(--color-text-muted); text-decoration: none; }
.footer__links a:hover { color: var(--color-primary); }
.footer__base {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  padding-top: var(--space-6); border-top: 1px solid var(--color-divider);
  display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; justify-content: space-between;
  font-size: var(--text-xs); color: var(--color-text-faint);
}
.footer__base p { margin: 0; }

/* ---------- Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Mobile header ---------- */

@media (max-width: 720px) {
  .header__inner { gap: var(--space-3); min-height: 70px; }
  .brand__logo { width: 94px; }
  .nav { gap: 0; }
  .nav__link { padding-inline: var(--space-2); font-size: 0.875rem; }
}

@media (max-width: 520px) {
  .nav .btn { display: none; }
}

@media (max-width: 400px) {
  .wrap { padding-inline: var(--space-4); }
  .brand__logo { width: 84px; }
  .nav__link { padding-inline: var(--space-1); font-size: 0.8125rem; }
  .icon-btn { width: 38px; }
}

@media (max-width: 420px) {
  .hours { width: 100%; font-size: 0.8125rem; }
  .hours th { padding-right: var(--space-3); white-space: normal; }
  .nav__link { white-space: nowrap; }
  .loc { padding: var(--space-5); }
}
