/*
  Colours live here. Change --accent to rebrand the whole site.
  Shape rule: buttons and controls have small corners (--radius), photos and panels are square.
  Layers: nav 50, floating WhatsApp 40.
*/
/* Light is the default here; visitors can switch */
:root,
[data-theme="light"] {
  --bg: #f3f3f1;
  --surface: #e7e7e4;
  --text: #17171a;
  --muted: #56565d;
  --line: rgb(23 23 26 / 0.12);
  --accent: #a8325a;
  --accent-ink: #fbfbfa;
  --map-filter: grayscale(0.7);
}

[data-theme="dark"] {
  --bg: #121214;
  --surface: #1c1c20;
  --text: #ececea;
  --muted: #a3a3aa;
  --line: rgb(236 236 234 / 0.13);
  --accent: #e27a9a;
  --accent-ink: #121214;
  --map-filter: invert(0.9) hue-rotate(180deg) grayscale(0.8) contrast(0.9);
}

:root {
  --font-display: "Chillax", system-ui, sans-serif;
  --font-body: "Switzer", system-ui, sans-serif;
  --nav-h: 68px;
  --radius: 6px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
[data-theme="dark"] { color-scheme: dark; }

html[lang="ar"] {
  --font-display: "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 500; line-height: 1.35; letter-spacing: 0; }

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

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 0.95rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn .ph { font-size: 1.1em; }
.link { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.link:hover { border-color: currentColor; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.wordmark { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.nav-links { display: flex; gap: 2rem; margin-inline-start: auto; font-size: 0.95rem; color: var(--muted); }
.nav-links a { transition: color 0.3s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang { background: none; border: 0; padding: 0.4rem; font-size: 0.95rem; color: var(--muted); }
.lang:hover { color: var(--text); }
html[lang="en"] .lang { font-family: "Readex Pro", sans-serif; }

/* Hero: asymmetric split */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
}
.hero-title { font-size: clamp(2.5rem, 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 20ch; }
html.motion .hero-title { visibility: hidden; }
.hero-text { margin-top: 1.5rem; max-width: 42ch; font-size: 1.125rem; color: var(--muted); }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero { position: relative; isolation: isolate; }
/* Soft rose light from below so the hero is not flat */
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background: radial-gradient(ellipse 70% 55% at 30% 105%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}

.status { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; font-size: 0.95rem; color: var(--muted); }
.status-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--muted); }
.status[data-open="true"] { color: var(--text); }
.status[data-open="true"] .status-dot { background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 0.6rem transparent; } }

.hero-media { justify-self: end; width: 100%; max-width: 560px; }
.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: calc(100dvh - var(--nav-h) - 10rem);
  width: 100%;
  background: var(--surface);
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--bg) 85%, black);
}
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-frame img.is-active { opacity: 1; }
.hero-bar { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-caption { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.95rem; min-width: 0; }
.hero-caption .price { font-size: 0.875rem; }
.hero-thumbs { display: flex; gap: 0.5rem; flex-shrink: 0; }
.hero-thumbs button {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero-thumbs button:hover { opacity: 0.9; }
.hero-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.hero-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumb-progress { position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .thumb-progress { transform-origin: right; }

/* Story: full-bleed photo with offset panel */
.story { position: relative; margin-top: clamp(3rem, 8vw, 7rem); min-height: 88dvh; display: flex; align-items: flex-end; }
.story-media { position: absolute; inset: 0; overflow: hidden; }
.story-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.story-panel {
  position: relative;
  margin-inline-start: var(--gutter);
  margin-bottom: var(--gutter);
  max-width: 34rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--bg);
}
.story-panel p { margin-top: 1.25rem; color: var(--muted); }

/* Team: horizontal pan */
.team { padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; }
.pan { margin-top: 3rem; }
.pan-track { list-style: none; margin: 0; padding: 0 calc(max(0px, (100% - 1320px) / 2) + var(--gutter)) 0.5rem; display: flex; gap: clamp(1rem, 2.5vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc(max(0px, (100% - 1320px) / 2) + var(--gutter)); scrollbar-width: none; }
.pan-track::-webkit-scrollbar { display: none; }
.member { flex: 0 0 clamp(260px, 28vw, 400px); }
.member-img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.member-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.member:hover .member-img img { transform: scale(1.04); }
.member-meta { margin-top: 1.1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.member p { margin-top: 0.35rem; color: var(--muted); font-size: 0.95rem; }
.price { color: var(--accent); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Menu: tabs + grouped two-column list */
.services { padding-block: clamp(4rem, 9vw, 8rem); }
.tabs { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tabs [role="tab"] {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 1.15rem;
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.tabs [role="tab"]:not([aria-selected="true"]):hover { color: var(--text); border-color: var(--text); }
.tabs [aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.menu-list { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 6vw, 6rem); min-height: 12rem; }
.menu-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-item p { margin-top: 0.3rem; color: var(--muted); font-size: 0.95rem; }
.menu-note { margin-top: 3rem; font-size: 0.875rem; color: var(--muted); }

/* Gallery: masonry columns */
.gallery { padding-bottom: clamp(4rem, 9vw, 8rem); }
.gallery-grid { margin-top: 2.5rem; columns: 3; column-gap: 1rem; }
.gallery-grid figure { margin: 0 0 1rem; break-inside: avoid; overflow: hidden; background: var(--surface); }
.gallery-grid figure:nth-child(3n + 1) img { aspect-ratio: 4 / 5; }
.gallery-grid figure:nth-child(3n + 2) img { aspect-ratio: 1; }
.gallery-grid figure:nth-child(3n) img { aspect-ratio: 3 / 2; }
.gallery-grid img { width: 100%; object-fit: cover; }

/* Reviews: one large quote */
.reviews { padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.quote { margin: 0; animation: fade 0.6s var(--ease); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; max-width: 28ch; }
.quote figcaption { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; color: var(--muted); font-size: 0.95rem; }
.quote figcaption strong { color: var(--text); font-weight: 500; }
.quote-controls { display: flex; gap: 0.5rem; }
.icon-btn { width: 3rem; height: 3rem; border-radius: var(--radius); border: 1px solid var(--line); background: none; display: grid; place-items: center; font-size: 1.1rem; transition: border-color 0.3s var(--ease); }
.icon-btn:hover { border-color: var(--text); }
.icon-btn:active { transform: scale(0.96); }
html[dir="rtl"] .icon-btn .ph { transform: scaleX(-1); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* Visit */
.visit { padding-block: clamp(4rem, 9vw, 8rem); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
.visit dl { margin: 2.5rem 0; display: grid; gap: 1.75rem; }
.visit dt { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.35rem; }
.visit dd { margin: 0; }
.hours-row { display: flex; justify-content: space-between; gap: 2rem; max-width: 22rem; }
.delivery { display: flex; gap: 1.5rem; }
.visit-map { min-height: 420px; background: var(--surface); }
.visit-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: var(--map-filter); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.socials { display: flex; gap: 1.25rem; font-size: 1.4rem; color: var(--muted); }
.socials a:hover { color: var(--text); }
.copy { font-size: 0.875rem; color: var(--muted); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.75rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--bg) 60%, transparent);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }

/* Nav extras: reading progress, current section, theme toggle */
.icon-btn-sm { width: 2.25rem; height: 2.25rem; font-size: 1rem; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .nav-progress { transform-origin: right; }
html:not(.motion) .nav-progress { display: none; }
.nav-links a { position: relative; }
.nav-links a[aria-current] { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.35rem; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.nav-links a[aria-current]::after { transform: scaleX(1); }

/* Team extras */
.member-book { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.75rem; font-size: 0.9rem; }
.member-book .ph { transition: transform 0.3s var(--ease); }
.member-book:hover .ph { transform: translateX(4px); }
html[dir="rtl"] .member-book .ph { transform: scaleX(-1); }
html[dir="rtl"] .member-book:hover .ph { transform: scaleX(-1) translateX(4px); }
.pan-progress { margin-top: 2.5rem; max-width: 320px; height: 2px; background: var(--line); }
.pan-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .pan-progress span { transform-origin: right; }

/* Menu extras: sliding tab highlight, hover photo, phone thumbnails */
.tabs { position: relative; }
.tab-ink { position: absolute; top: 0; left: 0; border-radius: var(--radius); background: var(--text); transition: transform 0.45s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease); }
.tabs [role="tab"] { position: relative; }
.tabs [aria-selected="true"] { background: transparent; border-color: transparent; }
.menu-item { display: flex; gap: 1rem; align-items: flex-start; }
.menu-item-body { flex: 1; min-width: 0; }

/* Gallery extras and lightbox */
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery-open img { transition: transform 0.8s var(--ease); }
.gallery-open:hover img { transform: scale(1.04); }
html.lb-open { overflow: hidden; }
.lightbox { width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 4rem 1rem; border: 0; background: transparent; color: #e9e6dc; }
.lightbox[open] { display: grid; place-items: center; align-content: center; gap: 1rem; }
.lightbox::backdrop { background: rgb(8 12 10 / 0.92); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 78dvh; object-fit: contain; touch-action: pan-y; user-select: none; }
.lb-caption { font-size: 0.95rem; color: #a7ad9f; }
.lightbox .icon-btn { position: absolute; border-color: rgb(233 230 220 / 0.25); color: #e9e6dc; background: rgb(8 12 10 / 0.5); }
.lightbox .icon-btn:hover { border-color: #e9e6dc; }
.lb-close { top: 1rem; inset-inline-end: 1rem; }
.lb-prev { top: 50%; inset-inline-start: 1rem; translate: 0 -50%; }
.lb-next { top: 50%; inset-inline-end: 1rem; translate: 0 -50%; }

/* Reviews extras */
.quotes { touch-action: pan-y; user-select: none; }
.quote-controls { align-items: center; gap: 0.75rem; }
.quote-progress { width: 5rem; height: 2px; background: var(--line); margin-inline-end: 0.5rem; }
.quote-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .quote-progress span { transform-origin: right; }
html:not(.motion) .quote-progress { display: none; }

/* Visit extras */
.hours-row { color: var(--muted); }
.hours-row.is-today { color: var(--text); font-weight: 500; }
.hours-row em { font-style: normal; font-size: 0.8rem; color: var(--accent); margin-inline-start: 0.4rem; }
.text-btn { display: inline-flex; align-items: center; gap: 0.35rem; margin-inline-start: 1rem; padding: 0; border: 0; background: none; font-size: 0.875rem; color: var(--muted); transition: color 0.3s var(--ease); }
.text-btn:hover { color: var(--text); }

/* Salon extras: team roles, booking builder */
.role { font-size: 0.875rem; color: var(--accent); white-space: nowrap; }
.mins { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.menu-item { align-items: center; }
.svc-add {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: none;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.svc-add:hover { border-color: var(--text); }
.svc-add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.menu-item.is-picked h3 { color: var(--accent); }
.booking {
  position: fixed;
  z-index: 42;
  bottom: 1.25rem;
  left: 50%;
  translate: -50% 0;
  width: min(560px, calc(100vw - 2 * var(--gutter)));
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.65rem 0.65rem 1.4rem;
  padding-inline: 1.4rem 0.65rem;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--text) 50%, transparent);
}
.booking[hidden] { display: none; }
.booking-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.booking-info strong { font-weight: 500; }
.booking-info span { font-size: 0.85rem; opacity: 0.75; }
.booking .text-btn { margin: 0; color: inherit; opacity: 0.75; }
.booking .text-btn:hover { opacity: 1; color: inherit; }
html.has-booking .wa-float { bottom: 5.75rem; }
.wa-float { transition: transform 0.3s var(--ease), bottom 0.4s var(--ease); }

/* Phone refinements for the salon */
@media (max-width: 767px) {
  /* Tabs stay on one line and scroll sideways */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { flex-shrink: 0; }
  .menu-list { margin-top: 2rem; gap: 1.5rem; }
  .menu-item { gap: 0.75rem; }
  .menu-item h3 { font-size: 1.1rem; }
  .svc-add { width: 2.75rem; height: 2.75rem; }
  /* Gallery: an even two-column grid reads better than masonry on a narrow screen */
  .gallery-grid { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .gallery-grid figure { margin: 0; }
  .gallery-grid figure img,
  .gallery-grid figure:nth-child(n) img { aspect-ratio: 4 / 5; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .gallery-grid figure:first-child img { aspect-ratio: 3 / 2; }
  .wa-float { width: 3rem; height: 3rem; font-size: 1.5rem; inset-inline-end: 1rem; bottom: 1rem; }
  html.has-booking .wa-float { bottom: 5.25rem; }
  .booking { bottom: 0.75rem; padding-inline: 1.1rem 0.5rem; gap: 0.5rem; }
  .booking .btn-sm { padding: 0.6rem 0.95rem; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
}

/* Section header with arrow buttons for the sideways row */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.pan-controls { display: flex; gap: 0.5rem; flex-shrink: 0; }
html[dir="rtl"] .pan-controls .ph { transform: scaleX(-1); }
.member { scroll-snap-align: start; }

/* Footer legal links and the privacy / terms pages */
.legal-links { display: flex; gap: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.legal-links a:hover { color: var(--text); }
.legal { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(3rem, 8vw, 6rem); max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
.legal-updated { margin-top: 0.75rem; color: var(--muted); font-size: 0.9rem; }
.legal section { margin-top: 2.5rem; }
.legal h2 { font-size: 1.35rem; }
.legal p { margin-top: 0.6rem; color: var(--muted); max-width: 65ch; }
.legal-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; }
html[dir="rtl"] .legal-back .ph { transform: scaleX(-1); }

/* Tablet and phone */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-actions { margin-inline-start: auto; }
}

@media (max-width: 767px) {
  .pan-controls { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--nav-h) + 2rem); }
  .hero-media { max-width: none; }
  .hero-frame { aspect-ratio: 4 / 3; max-height: none; }
  .hero-thumbs button { width: 2.75rem; height: 2.75rem; }
  .story { min-height: auto; flex-direction: column; align-items: stretch; }
  .story-media { position: relative; aspect-ratio: 4 / 3; }
  .story-panel { margin: 0; max-width: none; padding: 2rem var(--gutter) 0; }
  .pan { padding-inline: 0; }
  .pan-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); padding-bottom: 0.5rem; scrollbar-width: none; }
  .pan-track::-webkit-scrollbar { display: none; }
  .member { flex-basis: 78vw; scroll-snap-align: center; }
  .menu-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .gallery-grid { columns: 2; column-gap: 0.75rem; }
  .gallery-grid figure { margin-bottom: 0.75rem; }
  .reviews { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .visit-map, .visit-map iframe { min-height: 320px; }
}

@media (max-width: 479px) {
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { padding: 0.6rem 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
