/* Elham Hair Salon — design system. One token set, mobile-first. */
/* Fonts are served from this site (latin subset, variable weight) — no third-party font host. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/cormorantgaramond-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("/fonts/cormorantgaramond-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/manrope-normal.woff2") format("woff2"); }
:root {
  --ink: #120e0c;
  --espresso: #1c1512;
  --cocoa: #2b201a;
  --paper: #fbf7f2;
  --cream: #f4ece2;
  --sand: #e7d9c8;
  --gold: #d8b684;
  --gold-soft: #ecd9b9;
  --copper: #b9673c;
  --copper-deep: #8f4a25;
  --text: #2a201b;
  --muted: #6b5c53;
  --d-text: #f5ebe0;
  --d-muted: #c2b2a4;
  --line: rgba(42, 32, 27, 0.14);
  --d-line: rgba(245, 235, 224, 0.16);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(1.15rem, 4.5vw, 3.5rem);
  --max: 78rem;
  --radius: 1.1rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 700;
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.on-dark { background: var(--ink); color: var(--d-text); }
.on-cream { background: var(--cream); }

.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700;
  color: var(--copper-deep); display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.display {
  font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.012em;
  font-size: clamp(2.35rem, 6vw, 4.4rem); text-wrap: balance;
}
.display em { font-style: italic; color: var(--copper-deep); }
.on-dark .display em { color: var(--gold); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 38rem; }
.on-dark .lede { color: var(--d-muted); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.split { align-items: end; }
@media (min-width: 60rem) { .section-head.split { grid-template-columns: 1fr auto; } }

/* Buttons — 48px minimum touch target */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(216, 182, 132, 0.7); }
.btn-ink { background: var(--ink); color: var(--d-text); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--copper-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 0.1rem;
}
.on-dark .link-arrow { color: var(--gold); }
.link-arrow svg { transition: transform 0.25s var(--ease); }
@media (hover: hover) {
  .btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
  .btn-ink:hover { background: var(--cocoa); transform: translateY(-2px); }
  .btn-ghost:hover { background: rgba(127, 127, 127, 0.14); }
  .link-arrow:hover svg { transform: translateX(4px); }
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--d-text);
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.is-solid, .site-header.always-solid {
  background: rgba(18, 14, 12, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--d-line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; min-height: 2.75rem; justify-content: center; }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.02em; }
.brand span { font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-top: 0.2rem; }
.nav { display: none; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.9rem 0; color: var(--d-text);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.55rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn {
  width: 3rem; height: 3rem; border-radius: 999px; border: 1px solid var(--d-line); background: transparent; color: var(--d-text);
  display: inline-grid; place-items: center;
}
@media (min-width: 62rem) { .nav { display: flex; } .menu-btn { display: none; } }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: var(--d-text);
  display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-1rem); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
/* Visible at once when opening, so focus can move into the dialog in the same task. */
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 3.25rem; }
.menu nav { margin-block: auto; padding-block: 2rem; }
.menu nav a {
  display: flex; align-items: center; min-height: 3.5rem; font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.6rem);
  text-decoration: none; border-bottom: 1px solid var(--d-line);
}
.menu-actions { display: grid; gap: 0.75rem; }
.menu-meta { margin-top: 1.25rem; color: var(--d-muted); font-size: 0.92rem; }

/* Hero */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(90% 70% at 85% 35%, rgba(185, 103, 60, 0.42), transparent 60%),
    radial-gradient(70% 60% at 10% 100%, rgba(216, 182, 132, 0.16), transparent 60%),
    linear-gradient(160deg, #1d1410 0%, #120e0c 55%, #0d0a09 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.hero-canvas.is-ready { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 14, 12, 0.9) 0%, rgba(18, 14, 12, 0.6) 42%, rgba(18, 14, 12, 0) 72%),
    linear-gradient(0deg, rgba(18, 14, 12, 0.75), rgba(18, 14, 12, 0) 30%);
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 500; line-height: 0.96; letter-spacing: -0.02em;
  font-size: clamp(2.9rem, 12.5vw, 7rem); margin-block: 1.25rem 1.4rem; perspective: 900px;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: inline-block; transform-origin: 50% 100%; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero h1 em {
  font-style: italic; color: var(--gold);
  background: linear-gradient(100deg, #f1dcb6 0%, #d8b684 35%, #b9673c 100%); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes rise { from { transform: translateY(105%) rotateX(-55deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero .lede { color: var(--d-muted); max-width: 30rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 2.2rem; color: var(--d-muted); font-size: 0.88rem; }
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts b { color: var(--d-text); font-weight: 700; }
.hero-facts a { min-height: 2.75rem; display: inline-flex; align-items: center; }

.hero-art { position: relative; justify-self: center; width: min(74vw, 21rem); perspective: 1100px; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease);
}
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 1rem 1rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(216, 182, 132, 0.25);
  transform: translateZ(0);
}
.hero-frame::before {
  content: ""; position: absolute; inset: -0.9rem; border: 1px solid rgba(216, 182, 132, 0.55);
  border-radius: 999px 999px 1.4rem 1.4rem; transform: translateZ(-40px); pointer-events: none;
}
.hero-badge {
  position: absolute; left: -0.9rem; bottom: 1.4rem; transform: translateZ(60px);
  background: rgba(18, 14, 12, 0.9);
  border: 1px solid var(--d-line); border-radius: 1rem; padding: 0.8rem 1rem; display: grid; gap: 0.1rem; color: var(--d-text);
  text-decoration: none; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.hero-badge strong { font-family: var(--serif); font-size: 1.7rem; line-height: 1; font-weight: 500; }
.hero-badge span { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-muted); }
.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.8rem; }
/* Touch devices get flat layers: the 3D tilt is pointer-driven, so its extra compositing layers would be cost with no effect. */
@media not all and (hover: hover) and (pointer: fine) { .hero-frame, .cards .card { transform: none; transform-style: flat; } .hero-frame img, .hero-frame::before, .hero-badge { transform: none; } .hero-frame img { box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(216, 182, 132, 0.25); } ul.cards { perspective: none; } }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .hero-art { width: min(34vw, 27rem); justify-self: end; margin-right: 1.5rem; }
}
@media (max-width: 61.99rem) and (orientation: landscape) and (max-height: 32rem) {
  .hero { min-height: auto; }
  .hero-art { display: none; }
}

/* Marquee strip */
.strip { border-block: 1px solid var(--d-line); background: var(--espresso); color: var(--d-muted); overflow: hidden; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 2.2rem; padding: 1.1rem var(--gutter); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; }
.strip li { display: flex; align-items: center; gap: 2.2rem; }
.strip li + li::before { content: "✦"; color: var(--gold); font-size: 0.6rem; margin-left: -1.4rem; }
@media (max-width: 40rem) { .strip li + li::before { display: none; } }

/* Service cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); perspective: 1400px; }
.cards > li { display: flex; }
.card {
  position: relative; display: flex; width: 100%; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; color: inherit; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  box-shadow: 0 1px 0 rgba(42, 32, 27, 0.04);
}
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(60% 60% at var(--mx, 50%) var(--my, 0%), rgba(255, 240, 215, 0.45), transparent 70%);
}
.card-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.12; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card-meta { margin-top: auto; padding-top: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-top: 1px solid var(--line); font-size: 0.86rem; }
.card-meta b { font-weight: 700; }
.card-meta span { color: var(--muted); }
.card-cta { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--copper-deep); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.7rem; }
.card:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .card:hover { box-shadow: 0 30px 60px -30px rgba(42, 32, 27, 0.45); border-color: rgba(185, 103, 60, 0.4); }
  .card:hover .card-media img { transform: scale(1.06); }
  .card:hover .card-media::after { opacity: 1; }
}
.skeleton { background: #efe6da; animation: pulse 1.1s ease-in-out infinite alternate; border-radius: var(--radius); min-height: 22rem; }
@keyframes pulse { to { opacity: 0.55; } }
.notice { padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.notice a { color: var(--copper-deep); font-weight: 700; }

/* Story */
.story { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story-media { position: relative; perspective: 1200px; }
.story-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--sand); }
.story-media .float {
  position: absolute; right: -0.5rem; bottom: -1.5rem; width: 46%; border: 6px solid var(--cream); border-radius: var(--radius);
  aspect-ratio: 1; box-shadow: 0 30px 60px -30px rgba(42, 32, 27, 0.6); transform: translate3d(0, var(--py, 0px), 0);
}
.pillars { display: grid; gap: 1.25rem; margin-top: 2.2rem; }
.pillars li { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.pillars h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.pillars p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 56rem) { .story { grid-template-columns: 0.9fr 1.1fr; } .pillars { grid-template-columns: repeat(3, 1fr); } }

/* Lookbook rail */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 20rem); gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 0.5rem var(--gutter) 1.5rem; scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
  -webkit-overflow-scrolling: touch;
}
.rail li { scroll-snap-align: center; }
.rail figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--cocoa); }
.rail img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rail figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 0.9rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--d-text); background: linear-gradient(0deg, rgba(18, 14, 12, 0.85), transparent);
}
@media (hover: hover) { .rail figure:hover img { transform: scale(1.05); } }
.rail-nav { display: flex; gap: 0.6rem; }
.round-btn {
  width: 3rem; height: 3rem; border-radius: 999px; border: 1px solid var(--d-line); background: transparent; color: var(--d-text);
  display: inline-grid; place-items: center; transition: background-color 0.25s, color 0.25s;
}
.round-btn:hover { background: var(--gold); color: var(--ink); }
.round-btn[disabled] { opacity: 0.35; cursor: default; background: transparent; color: var(--d-text); }
.fine { font-size: 0.82rem; color: var(--d-muted); margin-top: 0.75rem; }
.on-cream .fine, .section:not(.on-dark) .fine { color: var(--muted); }

/* Reviews band */
.band { position: relative; isolation: isolate; text-align: center; overflow: hidden; }
.band-bg { position: absolute; inset: -12% 0; z-index: -2; width: 100%; height: 124%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18, 14, 12, 0.72); }
.band .score { font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 9rem); line-height: 0.9; font-weight: 500; color: var(--gold-soft); }
.band .stars { font-size: 1.2rem; display: block; margin-block: 0.5rem 1rem; }
.band p { max-width: 34rem; margin-inline: auto; color: var(--d-muted); }
.band .btn { margin-top: 1.8rem; }

/* Visit */
.visit { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.panel h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 1rem; }
.hours { display: grid; gap: 0.2rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { color: var(--muted); text-align: right; }
.contact-list { display: grid; gap: 0.25rem; }
.contact-list a {
  display: flex; align-items: center; gap: 0.9rem; min-height: 3.4rem; padding: 0.5rem 0; text-decoration: none; border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.contact-list small { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-list svg { flex: none; color: var(--copper-deep); }
.contact-list a:hover b { color: var(--copper-deep); }
@media (min-width: 56rem) { .visit { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding: 0.9rem 0;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.6rem; color: var(--copper-deep); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 44rem; }
.faq a { color: var(--copper-deep); font-weight: 700; }

/* CTA + footer */
.cta { text-align: center; position: relative; overflow: hidden; background: radial-gradient(70% 120% at 50% 0%, rgba(185, 103, 60, 0.35), transparent 65%), var(--ink); }
.cta .display { margin-inline: auto; max-width: 18ch; }
.cta .hero-cta { justify-content: center; }
.footer { background: #0d0a09; color: var(--d-muted); padding-block: 3rem 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer h2 { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; font-weight: 700; }
.footer a { text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--d-text); }
.footer a:hover { color: var(--gold); }
.footer li { line-height: 1.3; }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.3rem; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.8rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* Mobile action bar */
.actionbar {
  position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(18, 14, 12, 0.97);
  border-top: 1px solid var(--d-line); color: var(--d-text);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.actionbar.is-on { transform: none; }
.has-actionbar { padding-bottom: 4.6rem; }
@media (min-width: 62rem) { .actionbar { display: none; } .has-actionbar { padding-bottom: 0; } }

/* Inner pages */
.page-head { background: var(--ink); color: var(--d-text); padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 90% 0%, rgba(185, 103, 60, 0.4), transparent 65%); pointer-events: none; }
.page-head .wrap { position: relative; }
.crumbs { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 1rem; }
.crumbs a { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration: none; color: var(--gold); }
.filterbar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; align-items: center; }
.search { flex: 1 1 15rem; position: relative; }
.search input { width: 100%; min-height: 3rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 1.2rem 0 2.8rem; }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.count { color: var(--muted); font-size: 0.9rem; }

/* Service + booking */
.svc { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.svc-media { border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 16 / 9; max-height: 15rem; width: 100%; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1rem; }
.chip { display: inline-flex; align-items: center; min-height: 2rem; padding: 0.25rem 0.9rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 0.84rem; font-weight: 600; }
.svc-desc { color: var(--muted); white-space: pre-line; }
.book { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.9rem); display: grid; gap: 1.4rem; }
.book h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.book-step { display: grid; gap: 0.85rem; }
.step-n { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-deep); font-weight: 700; }
.tz { font-size: 0.82rem; color: var(--muted); }
.tz button { background: none; border: 0; padding: 0.4rem 0; color: var(--copper-deep); font-weight: 700; text-decoration: underline; min-height: 2.75rem; }
.daystrip { display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; gap: 0.4rem; align-items: stretch; }
.daystrip .pager { border: 1px solid var(--line); background: var(--paper); border-radius: 0.8rem; display: grid; place-items: center; min-height: 4.2rem; }
.daystrip .pager[disabled] { opacity: 0.35; cursor: default; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(3.4rem, 1fr); gap: 0.4rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day {
  border: 1px solid var(--line); background: var(--paper); border-radius: 0.8rem; min-height: 4.2rem; display: grid; place-content: center; text-align: center;
  line-height: 1.15; scroll-snap-align: start; padding: 0.3rem;
}
.day small { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.day b { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--d-text); }
.day[aria-pressed="true"] small { color: var(--gold); }
.day[disabled] { opacity: 0.4; cursor: default; }
.bucket h3 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; font-weight: 700; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: 0.5rem; }
.slot { min-height: 2.9rem; border-radius: 0.7rem; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 0.92rem; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.slot:hover { border-color: var(--copper); }
.slot[aria-pressed="true"] { background: var(--copper-deep); border-color: var(--copper-deep); color: #fff; }
.slot[disabled] { opacity: 0.45; cursor: not-allowed; }
.buckets { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 700; }
.field .req { color: var(--copper-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; border-radius: 0.7rem; border: 1px solid rgba(42, 32, 27, 0.28); background: #fff; padding: 0.7rem 0.9rem; font-size: 1rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.phone { display: flex; align-items: stretch; }
.phone-cc { display: grid; place-items: center; padding: 0 0.9rem; border: 1px solid rgba(42, 32, 27, 0.28); border-right: 0; border-radius: 0.7rem 0 0 0.7rem; background: var(--cream); font-weight: 700; }
.phone input { border-radius: 0 0.7rem 0.7rem 0; min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(185, 103, 60, 0.45); outline-offset: 1px; border-color: var(--copper-deep); }
.field [aria-invalid="true"] { border-color: #a12a1a; }
.field .err { color: #a12a1a; font-size: 0.82rem; font-weight: 600; }
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 34rem) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.summary { background: var(--cream); border-radius: 0.8rem; padding: 0.9rem 1rem; font-size: 0.92rem; }
.alert { border-radius: 0.8rem; padding: 0.9rem 1rem; background: #fbe9e4; color: #7d1f12; border: 1px solid #e6b6aa; font-size: 0.93rem; font-weight: 600; }
.success { text-align: center; padding: 1rem 0; display: grid; gap: 0.9rem; justify-items: center; }
.success .tick { width: 4rem; height: 4rem; border-radius: 999px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.success h2 { font-size: 2.2rem; }
@media (min-width: 62rem) { .svc { grid-template-columns: 0.85fr 1.15fr; } .svc-info { position: sticky; top: calc(var(--header-h) + 1.5rem); } .svc-media { max-height: none; aspect-ratio: 4 / 3; } }

/* Scroll reveal — content is visible without JS; .js-reveal is set by script */
.js-reveal [data-reveal] { opacity: 0; transform: translate3d(0, 1.6rem, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .hero-frame, .card { transform: none !important; }
  .band-bg, .story-media .float { transform: none !important; }
}
