/* ==========================================================================
   The Modern Cut — Luxury Barbershop (Demo)
   Palette: black, charcoal, warm gold. No external dependencies.
   ========================================================================== */

:root {
  --black: #0a0a0b;
  --charcoal: #131315;
  --charcoal-2: #1a1a1d;
  --charcoal-3: #232327;
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(201, 164, 92, 0.28);

  --gold: #c9a45c;
  --gold-light: #e8cc8f;
  --gold-deep: #8f6c2f;
  --gold-grad: linear-gradient(135deg, #f1d79a 0%, #c9a45c 45%, #9c7634 100%);

  --text: #ede9e2;
  --muted: #a39d93;
  --dim: #6f6a63;

  --serif: "Bodoni MT", "Didot", "Bodoni 72", "Playfair Display", "Cormorant Garamond", Constantia, Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --bar-h: 30px;
  --nav-h: 78px;
}

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

html {
  /* reserve the scrollbar's space so locking scroll (menu/modal/lightbox) doesn't shift the page sideways */
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }

::selection { background: var(--gold); color: var(--black); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .line {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-title em,
.hero-title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
}

.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }

.section-head { margin-bottom: clamp(44px, 6vw, 70px); }
.section-head.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.3s, border-color 0.3s;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad);
  color: #15120c;
  box-shadow: 0 10px 30px -12px rgba(201, 164, 92, 0.55);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
  z-index: -1;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(201, 164, 92, 0.7);
}
.btn-gold:hover::after { transform: translateX(120%); }

.btn-ghost {
  border-color: var(--line-gold);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: 0.7rem; }
.btn-lg { padding: 19px 36px; }
.btn-block { width: 100%; }

.btn-tag {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  padding: 3px 7px;
  border-radius: 2px;
  background: rgba(10, 10, 11, 0.85);
  color: var(--gold-light);
}

.demo-chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px dashed var(--gold);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- Demo bar ---------- */
.demo-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--bar-h);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--gold-grad);
  color: #1a150c;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.5s var(--ease);
}
.is-scrolled .demo-bar { transform: translateY(-100%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--nav-h);
  transition: top 0.5s var(--ease), background 0.5s var(--ease), height 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.is-scrolled .site-header {
  top: 0;
  height: 66px;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  z-index: 2;
}
.brand-mark { transition: transform 0.8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-20deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-the {
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--bar-h) + var(--nav-h) + 40px) 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(201, 164, 92, 0.10), transparent 60%),
    linear-gradient(180deg, #0d0d0f 0%, var(--black) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  right: -120px;
  top: 10%;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.16), transparent 65%);
  filter: blur(20px);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.8; }
  to { transform: translate(-60px, 40px) scale(1.12); opacity: 1; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 10%, transparent 70%);
  opacity: 0.5;
}
.hero-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-gold), transparent);
  transform: scaleY(0);
  transform-origin: top;
  animation: lineGrow 2.2s var(--ease) forwards;
}
.hero-lines span:nth-child(1) { left: 12%; animation-delay: 0.2s; }
.hero-lines span:nth-child(2) { left: 50%; animation-delay: 0.45s; opacity: 0.5; }
.hero-lines span:nth-child(3) { left: 88%; animation-delay: 0.7s; }
@keyframes lineGrow { to { transform: scaleY(1); } }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8.4vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.hero-title span { display: block; }

.hero-sub {
  max-width: 500px;
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 58px; }

.hero-stats {
  display: flex;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 520px;
}
.hero-stats > div {
  flex: 1;
  padding-right: 20px;
}
.hero-stats > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.hero-stats dt {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold-light);
}
.hero-stats small {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-left: 4px;
  color: var(--muted);
}

/* hero entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 14px;
  border: 1px solid var(--line-gold);
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--gold) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spinBorder 6s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --angle: 360deg; } }

.hero-frame-inner {
  position: relative;
  height: 100%;
  border-radius: 206px 206px 6px 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(201, 164, 92, 0.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--charcoal-3), var(--charcoal) 70%);
}
.hero-emblem { width: 72%; }
.hero-frame-inner .media-img { filter: saturate(0.85) contrast(1.05) brightness(0.8) sepia(0.12); }
.frame-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.15) 0%, transparent 35%, transparent 55%, rgba(10, 10, 11, 0.75) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(201, 164, 92, 0.16), transparent 60%);
}
.emblem-ring { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.frame-caption {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-badge {
  position: absolute;
  left: -38px;
  bottom: 44px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 50px -20px #000;
  animation: float 6s ease-in-out infinite;
}
.badge-num { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--muted); }
.badge-big { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold-light); }
.badge-small { font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dim);
}
.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  /* the track is ~2400px wide: paint containment guarantees it never widens the page in any engine */
  contain: paint;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--text);
  white-space: nowrap;
}
.marquee b { color: var(--gold); font-size: 0.9rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { background: var(--black); }

.tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--charcoal);
  margin-bottom: 44px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.4s;
}
.tab.is-active { color: #15120c; }
.tab-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}

.tab-panel { animation: panelIn 0.7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  background: linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.6s var(--ease), border-color 0.5s, box-shadow 0.6s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 164, 92, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: var(--line-gold); }

.ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  padding: 4px 9px;
  border-radius: 999px;
}

.service-icon {
  width: 54px;
  height: 54px;
  padding: 12px;
  margin-bottom: 26px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.5s, color 0.5s, transform 0.6s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--black);
  transform: rotate(-8deg);
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}
.service-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.service-meta span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.service-meta strong {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold-light);
}

/* packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.package {
  padding: 44px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  text-align: center;
  transition: transform 0.6s var(--ease), border-color 0.5s;
}
.package:hover { transform: translateY(-6px); border-color: var(--line-gold); }
.package-featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 164, 92, 0.18), transparent 60%),
    var(--charcoal-2);
  border-color: var(--gold);
}
.package-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.package h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 18px; }
.package-price {
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 26px;
}
.package-price span { font-size: 1.4rem; vertical-align: top; margin-right: 2px; }
.package ul {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 18px;
}
.package li { color: var(--muted); padding: 6px 0; font-size: 0.94rem; }
.package-time {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Placeholders ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 164, 92, 0.14), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 12px),
    linear-gradient(160deg, #26262a, #121214);
}
.ph-alt {
  background:
    radial-gradient(circle at 75% 80%, rgba(201, 164, 92, 0.12), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 12px),
    linear-gradient(200deg, #1f1f23, #0f0f11);
}
.ph-warm {
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 164, 92, 0.22), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #2a241b, #121110);
}
.ph::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -60%);
  opacity: 0.35;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23c9a45c' stroke-width='1.4'%3E%3Crect x='5' y='9' width='38' height='30' rx='2'/%3E%3Ccircle cx='17' cy='19' r='4'/%3E%3Cpath d='M5 34l11-10 8 7 6-5 13 11'/%3E%3C/svg%3E");
  transition: transform 0.8s var(--ease), opacity 0.5s;
}
.ph-label {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 20px);
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Photography layer (sits on top of the placeholders) ---------- */
.media { position: relative; overflow: hidden; }
.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  /* subtle grade so mixed stock photos sit in the black/gold palette */
  filter: saturate(0.8) contrast(1.06) brightness(0.86) sepia(0.08);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease), filter 0.8s var(--ease);
  will-change: transform;
}
/* With JS: fade in once loaded. A failed image stays invisible, so the placeholder shows. */
.js .media-img { opacity: 0; transform: scale(1.04); }
.js .media-img.is-loaded { opacity: 1; transform: none; }
.has-photo .ph-label,
.has-photo .frame-caption { display: none; }

/* ---------- About ---------- */
.about { background: var(--charcoal); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 1 / 1.08;
}
.about-img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.about-img-main {
  position: absolute;
  inset: 0 18% 14% 0;
}
.about-img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 46%;
  border: 8px solid var(--charcoal);
  box-shadow: 0 30px 60px -30px #000;
}
.about-year {
  position: absolute;
  top: 8%;
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 20px;
  background: var(--black);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}
.about-year span { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.about-year strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--gold-light); line-height: 1.1; }

.about-copy > p { color: var(--muted); font-size: 1.02rem; }

.pillars {
  display: grid;
  gap: 0;
  margin: 36px 0 32px;
  border-top: 1px solid var(--line);
}
.pillars li {
  display: flex;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  min-width: 32px;
}
.pillars h3 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pillars p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin: 0;
}
.signature small { font-family: var(--sans); font-style: normal; font-size: 0.7rem; color: var(--dim); }

/* ---------- Gallery ---------- */
.gallery { background: var(--black); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}
.g-item {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: border-color 0.5s, box-shadow 0.6s var(--ease);
  /* keeps rounded corners clipping the zoomed photo in Safari */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 6, 0.88) 100%);
  opacity: 0.85;
  transition: opacity 0.5s;
  pointer-events: none;
}
.g-item:hover,
.g-item:focus-visible { box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.95); }
.g-item:hover .media-img,
.g-item:focus-visible .media-img {
  transform: scale(1.06);
  filter: saturate(0.95) contrast(1.05) brightness(0.95) sepia(0.04);
}
.g-item:focus-visible { outline-offset: 4px; }
.g-item.photo-failed { cursor: default; }
.g-item figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 20px;
  right: 22px;
  font-family: var(--serif);
  font-size: 1.3rem;
  transform: translateY(8px);
  transition: transform 0.6s var(--ease);
}
.g-item figcaption span {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 2px;
}
.g-item:hover,
.g-item:focus-visible { border-color: var(--line-gold); }
.g-item:hover::before,
.g-item:focus-visible::before { transform: translate(-50%, -80%) scale(1.15); opacity: 0.6; }
.g-item:hover::after,
.g-item:focus-visible::after { opacity: 1; }
.g-item:hover figcaption,
.g-item:focus-visible figcaption { transform: none; }

/* ---------- Hours ---------- */
.hours {
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(201, 164, 92, 0.08), transparent 60%),
    var(--charcoal);
}
.hours-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.hours-intro > p { color: var(--muted); max-width: 400px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--black);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dim);
}
.status.open .status-dot {
  background: #6fcf8e;
  box-shadow: 0 0 0 0 rgba(111, 207, 142, 0.6);
  animation: pulse 2s infinite;
}
.status.closed .status-dot { background: #c96b5c; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(111, 207, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 207, 142, 0); }
}

.hours-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background: var(--black);
  position: relative;
}
.hours-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  pointer-events: none;
}
.hours-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 14px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  transition: background 0.3s;
}
.hours-list li span:first-child {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.hours-list li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-list i {
  flex: 1;
  height: 1px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.18);
}
.hours-list li.is-today {
  background: rgba(201, 164, 92, 0.1);
}
.hours-list li.is-today span:first-child { color: var(--gold-light); }
.hours-list li.is-today span:first-child::after {
  content: "Today";
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 3px 7px;
  border-radius: 2px;
  vertical-align: middle;
}
.hours-list li.is-today span:last-child { color: var(--text); }

/* ---------- Contact ---------- */
.contact { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.contact-card:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.c-icon {
  flex: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.1);
  color: var(--gold);
}
.contact-card h3 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.contact-card p { margin: 0; font-size: 1.05rem; word-break: break-word; }
.contact-card small { color: var(--dim); font-size: 0.72rem; }
.contact-card a { transition: color 0.3s; }
.contact-card a:hover { color: var(--gold-light); }

.booking-panel {
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--gold), transparent 40%, transparent 60%, var(--gold-deep));
}
.booking-panel-inner {
  height: 100%;
  padding: clamp(30px, 4vw, 50px);
  border-radius: calc(var(--radius-lg) - 1px);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 164, 92, 0.14), transparent 50%),
    var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.booking-panel h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.booking-panel p { color: var(--muted); max-width: 460px; margin-bottom: 28px; }

.map-ph {
  position: relative;
  width: 100%;
  margin-top: 34px;
  flex: 1;
  min-height: 140px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #0e0e10;
  color: var(--gold);
  overflow: hidden;
}
.map-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 164, 92, 0.2), 0 0 0 14px rgba(201, 164, 92, 0.08);
}
.map-ph .ph-label { top: auto; bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  padding: 60px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 40px;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand .brand-name { font-size: 1.8rem; }
.footer-brand p { margin: 10px 0 0; color: var(--dim); font-size: 0.84rem; font-style: italic; font-family: var(--serif); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-credits {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  line-height: 1.8;
  color: var(--dim);
}
.footer-credits a {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.3s, border-color 0.3s;
}
.footer-credits a:hover { color: var(--gold-light); border-color: var(--gold); }
.footer-legal {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: var(--dim);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  visibility: hidden;
  pointer-events: none;
}
.lightbox.is-open { visibility: visible; pointer-events: auto; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.94);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.lightbox.is-open .lightbox-backdrop { opacity: 1; }
.lightbox-dialog {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 70px 80px;
  pointer-events: none;
}
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  pointer-events: auto;
}
.lightbox.is-open .lightbox-figure { opacity: 1; transform: none; }
.lightbox-figure img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-gold);
  box-shadow: 0 40px 100px -30px #000;
  transition: opacity 0.35s;
}
.lightbox-figure img.is-swapping { opacity: 0.2; }
.lightbox-figure figcaption {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.lightbox-figure figcaption small {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(10, 10, 11, 0.7);
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  pointer-events: auto;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.lightbox-btn:hover { background: var(--gold); color: var(--black); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-prev { left: 18px; top: 50%; margin-top: -24px; }
.lightbox-next { right: 18px; top: 50%; margin-top: -24px; }

/* back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--black); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 164, 92, 0.12), transparent 45%),
    var(--charcoal);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -30px #000;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.modal-dialog:focus { outline: none; }
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.modal-body { padding: 44px 40px 40px; }
.modal-body h2 { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; margin-bottom: 10px; }
.modal-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 26px; }

.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.field select option,
.field select optgroup { background: var(--charcoal); color: var(--text); }
.field input::placeholder { color: var(--dim); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.15);
}
.field.has-error input,
.field.has-error select { border-color: #c96b5c; }
.field-error { min-height: 1em; margin-top: 6px; font-size: 0.74rem; color: #e08a7c; }
.field-error:empty { display: none; }

.modal-success { text-align: center; }
.modal-success .modal-note { margin-bottom: 28px; }
.success-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  color: var(--gold);
}
.success-icon svg path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.8s 0.2s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
#success-summary { color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 26px; }
  .main-nav ul { gap: 22px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    background:
      radial-gradient(circle at 80% 10%, rgba(201, 164, 92, 0.14), transparent 50%),
      rgba(10, 10, 11, 0.98);
    clip-path: circle(0 at calc(100% - 46px) 34px);
    transition: clip-path 0.8s var(--ease);
    visibility: hidden;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 46px) 34px); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 10px; }
  .main-nav a {
    font-family: var(--serif);
    font-size: 2.2rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text);
  }
  .main-nav li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.6s var(--ease);
  }
  .nav-open .main-nav li { opacity: 1; transform: none; }
  .nav-open .main-nav li:nth-child(1) { transition-delay: 0.15s; }
  .nav-open .main-nav li:nth-child(2) { transition-delay: 0.2s; }
  .nav-open .main-nav li:nth-child(3) { transition-delay: 0.25s; }
  .nav-open .main-nav li:nth-child(4) { transition-delay: 0.3s; }
  .nav-open .main-nav li:nth-child(5) { transition-delay: 0.35s; }
  .nav-cta { padding: 15px 28px; font-size: 0.76rem; }

  /* keep the header bar visible above the open menu */
  .nav-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-visual { justify-self: center; max-width: 360px; }
  .hero-badge { left: -20px; }

  /* minmax(0, 1fr) lets columns shrink below their content's min width (prevents sideways overflow) */
  .about-grid,
  .hours-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 560px; }

  .package-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
}

@media (max-width: 600px) {
  :root { --bar-h: 28px; }
  .container { padding: 0 18px; }
  .demo-bar { font-size: 0.64rem; justify-content: flex-start; }

  .brand-name { font-size: 1.12rem; }
  .brand-mark svg { width: 30px; height: 30px; }

  .hero { padding-bottom: 90px; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 44px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats > div { padding-right: 10px; }
  .hero-stats > div + div { padding-left: 14px; }
  .hero-stats dd { font-size: 1.6rem; }
  .hero-stats dt { font-size: 0.56rem; letter-spacing: 0.14em; }
  .hero-visual { max-width: 290px; }
  .hero-badge { width: 94px; height: 94px; left: -12px; bottom: 30px; }
  .badge-big { font-size: 1.7rem; }
  .badge-small { font-size: 0.48rem; letter-spacing: 0.1em; }
  .scroll-cue { display: none; }

  .marquee { padding: 16px 0; }
  .marquee span { font-size: 1.25rem; }

  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 12px 14px; font-size: 0.64rem; letter-spacing: 0.12em; }

  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .service-card { padding: 28px 22px 22px; }
  .package { padding: 36px 24px; }

  .about-year { padding: 12px 14px; }
  .about-year strong { font-size: 1.5rem; }

  .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
  .g-item figcaption { left: 14px; bottom: 12px; right: 14px; font-size: 1.02rem; transform: none; }

  .hours-list li { padding: 13px 6px; gap: 10px; font-size: 0.88rem; }
  .hours-list li span:first-child { font-size: 1.02rem; }
  .hours-list li.is-today span:first-child::after { display: none; }

  .contact-card { padding: 22px 18px; gap: 16px; }
  .contact-card p { font-size: 0.96rem; }
  .booking-panel .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { gap: 14px 22px; }

  .lightbox-dialog { padding: 78px 12px 96px; }
  .lightbox-figure img { max-height: calc(100dvh - 230px); }
  .lightbox-prev,
  .lightbox-next { top: auto; bottom: 22px; margin-top: 0; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox-figure figcaption { font-size: 1.05rem; }

  .modal { padding: 12px; align-items: end; }
  .modal-body { padding: 40px 22px 26px; }
  .modal-body h2 { font-size: 1.8rem; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* ---------- Small-screen refinements (375–600px) ---------- */
.demo-short { display: none; }

@media (max-width: 600px) {
  /* demo notice: short version that fits without truncation */
  .demo-long { display: none; }
  .demo-short { display: inline; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.6rem; }
  .demo-bar { justify-content: center; }

  /* tighter, more consistent section rhythm */
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .section-title { font-size: clamp(2.2rem, 9.5vw, 2.7rem); margin-bottom: 14px; }
  .section-lead { font-size: 0.96rem; }
  .eyebrow { gap: 12px; letter-spacing: 0.24em; font-size: 0.66rem; margin-bottom: 16px; }
  .eyebrow .line { width: 28px; }

  /* hero: less dead space between headline, copy and CTAs */
  .hero { padding: calc(var(--bar-h) + var(--nav-h) + 26px) 0 60px; }
  .hero-inner { gap: 40px; }
  .hero .eyebrow { letter-spacing: 0.2em; font-size: 0.62rem; }
  .hero-title { font-size: clamp(2.9rem, 13.6vw, 3.6rem); line-height: 1; margin-bottom: 18px; }
  .hero-sub { margin-bottom: 26px; line-height: 1.65; }
  .hero-actions { gap: 10px; margin-bottom: 30px; }
  .hero-stats { padding-top: 20px; }
  /* keep the three values on one baseline even when a label wraps */
  .hero-stats > div { display: flex; flex-direction: column; justify-content: space-between; }

  /* buttons: slightly more compact; labels may wrap instead of forcing the layout wider */
  .btn { padding: 15px 22px; letter-spacing: 0.16em; white-space: normal; text-align: center; line-height: 1.35; max-width: 100%; }
  .btn-tag { flex: none; }
  .btn-lg { padding: 17px 22px; }
  .btn-tag { padding: 3px 6px; }
  .booking-panel-inner { padding: 30px 20px; }

  /* gallery captions: stronger scrim + shadow so text reads on any photo */
  .gallery-grid { grid-auto-rows: clamp(150px, 42vw, 200px); }
  .g-item::after {
    background: linear-gradient(180deg, transparent 28%, rgba(5, 5, 6, 0.55) 62%, rgba(5, 5, 6, 0.94) 100%);
    opacity: 1;
  }
  .g-item figcaption {
    left: 12px; right: 12px; bottom: 11px;
    font-size: 0.98rem;
    line-height: 1.2;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
  }
  .g-item figcaption span { font-size: 0.56rem; letter-spacing: 0.24em; margin-bottom: 3px; }

  /* larger touch targets without changing the visual layout */
  .brand { padding: 6px 0; }
  .contact-card a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .footer-nav { gap: 4px 22px; }
  .footer-nav a { display: inline-block; padding: 12px 0; }

  /* about badge + small image proportions */
  .about-img-small { border-width: 6px; }

  /* modal & lightbox: contain scroll so the page behind doesn't move */
  .modal-dialog { max-height: calc(100dvh - 24px); }
}

/* very narrow phones (320–360px) */
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .demo-short { font-size: 0.52rem; letter-spacing: 0.02em; }
  .btn { padding: 14px 16px; letter-spacing: 0.12em; gap: 8px; }
  .btn-lg { padding: 16px 16px; }
  .booking-panel-inner { padding: 26px 16px; }
  .hero-stats dd { font-size: 1.4rem; }
  .hero-stats > div + div { padding-left: 10px; }
  .hours-list li { gap: 8px; font-size: 0.82rem; padding: 12px 4px; }
  .hours-list li span:first-child { font-size: 0.95rem; }
  .tab { padding: 12px 8px; letter-spacing: 0.08em; }
  .modal-body { padding: 40px 18px 24px; }
}

/* iOS Safari zooms the page when focusing inputs under 16px */
.field input,
.field select { font-size: 16px; }

/* scroll containment for overlays on touch devices */
.modal-dialog,
.lightbox { overscroll-behavior: contain; }
.modal-backdrop,
.lightbox-backdrop { touch-action: none; }

/* subtle gold tap feedback instead of the default grey flash */
a, button, [role="button"] { -webkit-tap-highlight-color: rgba(201, 164, 92, 0.18); }

/* touch screens: don't leave hover lifts "stuck" after a tap */
@media (hover: none) {
  .btn-gold:hover,
  .btn-ghost:hover,
  .service-card:hover,
  .package:hover,
  .contact-card:hover { transform: none; }
  .service-card:hover::before { opacity: 0; }
  .service-card:hover .service-icon { background: transparent; color: var(--gold); transform: none; }
  .g-item:hover .media-img { transform: none; }
  .btn-gold:active,
  .btn-ghost:active { transform: scale(0.98); }
}

/* ---------- Reduced motion ---------- */
@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;
  }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
