/* =========================================================
   [BARBER NAME] — Premium Barber Template
   Built by CICADA. Vanilla CSS. No dependencies.
   ========================================================= */

:root {
  /* Accent — swap this one line for teal/gold later */
  --accent: #e8281a;
  --accent-2: #ff5a47;
  /* --accent: #18a999;  teal option */
  /* --accent: #c9a24b;  gold option */

  /* Base palette */
  --bg: #0c0c0e;
  --bg-alt: #111114;
  --surface: #16161a;
  --surface-2: #1c1c21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f4f4f5;
  --text-soft: #c7c7cc;
  --text-mute: #8a8a93;

  /* Typography */
  --font: 'Helvetica Neue', Arial, 'Segoe UI', Roboto, system-ui, sans-serif;
  --h1: clamp(2.2rem, 5.5vw, 4rem);
  --h2: clamp(1.7rem, 3.6vw, 2.6rem);
  --h3: clamp(1.1rem, 2vw, 1.3rem);

  /* Spacing / shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --maxw: 1200px;

  /* Shadows */
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --glow: 0 0 0 1px rgba(232, 40, 26, 0.35), 0 12px 40px rgba(232, 40, 26, 0.18);

  /* Motion */
  --t-fast: 140ms ease;
  --t: 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; width: 100%; max-width: 100%; overflow-x: hidden; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
body.no-scroll { overflow: hidden; }

/* Subtle page texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 40, 26, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 255, 255, 0.03), transparent 55%);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.center { text-align: center; }
.center-cta { justify-content: center; }
.hide-mobile { display: none; }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center, .section-head { }
.section-intro { color: var(--text-soft); margin-top: 0.75rem; font-size: 1.05rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-gallery { grid-template-columns: 1fr; }
.grid-contact { grid-template-columns: 1fr; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t), border-color var(--t), box-shadow var(--t), color var(--t);
  will-change: transform;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(232,40,26,0.5), 0 16px 44px rgba(232,40,26,0.28); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background var(--t), box-shadow var(--t);
}
.site-header.scrolled { background: rgba(12, 12, 14, 0.92); box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; max-width: 100%; }
.brand-logo {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-mute);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  white-space: nowrap;
}
.brand-name { font-weight: 700; letter-spacing: 0.02em; font-size: 1.05rem; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-desktop a {
  font-size: 0.92rem;
  color: var(--text-soft);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--t);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--t);
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 68px 0 auto 0;
  background: rgba(10, 10, 12, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t), opacity var(--t), visibility var(--t);
  z-index: 99;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav nav { padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2rem; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.25rem; }
.mobile-nav a {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero h1 { font-size: var(--h1); margin: 0.5rem 0 1rem; }
.hero .lead { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.25rem;
  max-width: 460px;
}
.hero-stats li {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 600;
  position: relative;
  padding-left: 1.6rem;
}
.hero-stats li::before {
  content: "";
  position: absolute;
  left: 0.8rem; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- CSS Placeholders ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, #15151a 0%, #0e0e11 55%, #1a1a20 100%);
  isolation: isolate;
}
.ph-label {
  position: relative;
  z-index: 3;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}
/* Abstract barber line-art using layered gradients */
.ph-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(65deg, rgba(232,40,26,0.07) 0 1px, transparent 1px 30px);
  transition: transform var(--t-slow);
}
.ph::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto -30% -55% auto;
  width: 80%; height: 120%;
  background: radial-gradient(closest-side, rgba(232,40,26,0.16), transparent 70%);
  filter: blur(8px);
}
.ph-hero {
  aspect-ratio: 4 / 5;
  width: 100%;
  box-shadow: var(--shadow);
}
/* layered frame + accent edge for hero */
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  left: -2px; top: 12%;
  width: 3px; height: 76%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  border-radius: 3px;
  box-shadow: 0 0 16px var(--accent);
}

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

/* Trust strip */
.trust { padding-block: clamp(2rem, 5vw, 3rem); background: var(--bg-alt); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.trust-card { padding: 1.25rem 1.4rem; border-left: 2px solid var(--accent); background: var(--surface); border-radius: var(--radius-sm); }
.trust-card h2 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.trust-card p { color: var(--text-mute); font-size: 0.92rem; }

/* Service cards */
.service-card { display: flex; flex-direction: column; gap: 0.6rem; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; flex: 1; }
.tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(232,40,26,0.4);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  background: rgba(232,40,26,0.08);
  white-space: nowrap;
}
.service-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.price { font-weight: 700; font-size: 1.05rem; }

/* Gallery */
.ph-gallery {
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.ph-gallery .badge {
  position: absolute;
  z-index: 3;
  top: 0.8rem; left: 0.8rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line-strong);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.ph-gallery .ph-lines { transition: transform var(--t-slow); }
.ph-gallery:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.ph-gallery:hover .ph-lines { transform: scale(1.12) rotate(1deg); }
.ph-gallery:hover .ph-label { color: var(--text); border-color: var(--accent); }

/* Steps */
.steps { counter-reset: step; }
.step-card { display: flex; flex-direction: column; gap: 0.5rem; }
.step-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  opacity: 0.9;
}
.step-card p { color: var(--text-soft); font-size: 0.95rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about-copy p { color: var(--text-soft); margin-bottom: 1rem; }
.about-visual { position: relative; }
.ph-portrait { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.float-badge {
  position: absolute;
  bottom: 1rem; right: 1rem;
  z-index: 4;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Reviews */
.review-card { display: flex; flex-direction: column; gap: 0.8rem; }
.review-card p { color: var(--text-soft); font-style: italic; }
.review-card footer { color: var(--text-mute); font-weight: 600; font-size: 0.9rem; }
.stars { color: var(--accent); letter-spacing: 0.15em; font-size: 1rem; }

/* Contact */
.contact-card { display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; }
.contact-card h3 { color: var(--text); }
.contact-card p { color: var(--text-soft); font-size: 0.95rem; word-break: break-word; }
.contact-card .btn { margin-top: auto; }
.hours-card { grid-column: 1 / -1; }
.hours { width: 100%; display: grid; gap: 0.35rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-soft);
}
.hours li span:first-child { color: var(--text-mute); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color var(--t); }
.faq-item:hover { border-color: var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
}
.faq-icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { padding: 0 1.25rem; overflow: hidden; }
.faq-a[hidden] { display: none; }
.faq-a p { color: var(--text-soft); padding-bottom: 1.2rem; }

/* Final CTA */
.final-cta {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(232,40,26,0.14), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.final-cta h2 { margin-bottom: 1rem; }
.final-cta .lead { max-width: 640px; margin-inline: auto; }

/* Footer */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand-name { font-size: 1.2rem; display: block; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--text-mute); font-size: 0.92rem; max-width: 320px; }
.footer-nav ul { display: grid; gap: 0.5rem; }
.footer-nav a { color: var(--text-soft); font-size: 0.95rem; transition: color var(--t); }
.footer-nav a:hover { color: var(--accent); }
.footer-contact p { color: var(--text-mute); font-size: 0.92rem; margin-bottom: 0.35rem; }
.footer-bottom { padding-block: 1.5rem; display: grid; gap: 0.5rem; }
.footer-bottom p { color: var(--text-mute); font-size: 0.82rem; }
.footer-disclaimer { color: #5f5f68; max-width: 720px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.faq-q:focus-visible { outline-offset: -2px; }

/* =========================================================
   Responsive — mobile-first up
   ========================================================= */
@media (min-width: 600px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-contact { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .hide-mobile { display: inline-flex; }
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-contact { grid-template-columns: repeat(3, 1fr); }
  .hours-card { grid-column: auto; }
  .hours { grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
  .about-grid { grid-template-columns: 1.05fr 0.95fr; }
}

@media (min-width: 1200px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: none; }
}

/* =========================================================
   MOBILE & TABLET REFINEMENT LAYER
   Scoped entirely to max-width breakpoints + touch queries.
   Desktop (>= 900px) styles above remain untouched.
   ========================================================= */

/* --- Universal overflow safety (containment only) --- */
.header-inner,
.grid > *,
.hero-grid > *,
.about-grid > *,
.trust-grid > *,
.footer-grid > *,
.service-top,
.service-foot,
.hours li { min-width: 0; }

.card,
.ph,
.trust-card,
.service-card,
.review-card,
.contact-card,
.hero-visual,
.about-visual,
.btn { max-width: 100%; }

/* =========================
   Tablet & mobile (< 900px)
   Hamburger layout is active here, so the premium
   mobile header lives at this breakpoint.
   ========================= */
@media (max-width: 899px) {
  /* Premium glass header */
  .site-header {
    background: rgba(11, 11, 13, 0.66);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--line);
  }
  .site-header.scrolled {
    background: rgba(11, 11, 13, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
  .header-inner { height: 64px; gap: 0.75rem; }

  /* Brand: keep identity, never wrap */
  .brand { flex: 1 1 auto; min-width: 0; overflow: hidden; gap: 0.55rem; }
  .brand-name {
    min-width: 0;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-logo {
    flex: 0 0 auto;
    font-size: 0.56rem;
    padding: 0.34rem 0.5rem;
  }

  /* Hamburger: balanced, easy tap target */
  .header-actions { flex: 0 0 auto; gap: 0.5rem; }
  .nav-toggle { width: 46px; height: 46px; border-radius: 13px; }

  /* Mobile nav sheet aligned to header height */
  .mobile-nav {
    inset: 64px 0 auto 0;
    max-height: calc(100vh - 64px);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav nav { padding: 1.25rem clamp(1.1rem, 5vw, 1.75rem) 1.75rem; }
  .mobile-nav a { font-size: 1.18rem; padding: 0.85rem 0; }
  .mobile-nav .btn-block { margin-top: 0.5rem; padding-block: 1rem; }
}

/* =========================
   Mobile (<= 768px) — primary polish layer
   ========================= */
@media (max-width: 768px) {
  /* Tighter, intentional vertical rhythm */
  :root {
    --section-y: clamp(2.75rem, 9vw, 4rem);
    --gap: clamp(0.9rem, 3.5vw, 1.4rem);
    --radius: 14px;
  }

  .section-head { margin-bottom: clamp(1.5rem, 6vw, 2.25rem); }
  .section-head .eyebrow { margin-bottom: 0.6rem; }
  .section-intro { font-size: 1rem; }

  /* Hero: purpose-built landing rhythm */
  .hero { padding-block: clamp(2.25rem, 8vw, 3.5rem); }
  .hero-grid { gap: clamp(1.75rem, 7vw, 2.5rem); }
  .hero h1 { font-size: clamp(2rem, 7.4vw, 2.7rem); margin: 0.4rem 0 0.9rem; }
  .hero .lead { font-size: 1.05rem; max-width: 100%; }
  .hero-cta { gap: 0.7rem; margin-top: 1.5rem; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 0; }

  /* Stat cards: balanced 2x2, airy not boxed-in */
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 2rem;
    max-width: 100%;
  }
  .hero-stats li { padding: 0.8rem 0.95rem 0.8rem 1.7rem; font-size: 0.86rem; }

  /* Hero visual: beautifully framed, controlled ratio */
  .ph-hero { aspect-ratio: 4 / 5; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
  .hero-visual::before { inset: -10px -10px 10px 10px; border-radius: var(--radius-lg); }

  /* Cards: consistent premium padding & radius */
  .card { padding: clamp(1.2rem, 4.5vw, 1.6rem); border-radius: var(--radius); }

  /* Services: premium booking-card feel */
  .service-card { gap: 0.7rem; }
  .service-card p { font-size: 0.98rem; }
  .service-foot { flex-wrap: wrap; gap: 0.75rem; padding-top: 1rem; }
  .service-foot .price { font-size: 1.1rem; }
  .service-foot .btn { flex: 1 1 auto; }

  /* Gallery: controlled two columns, no overflow */
  .grid-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .ph-gallery { aspect-ratio: 3 / 4; }
  .ph-gallery .badge { top: 0.6rem; left: 0.6rem; }

  /* About: clean stack, portrait not oversized */
  .about-grid { gap: 2rem; }
  .about-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .ph-portrait { aspect-ratio: 4 / 5; }

  /* Reviews: easy to read */
  .review-card p { font-size: 1rem; }

  /* Contact: clear, tappable */
  .contact-card { gap: 0.75rem; }
  .contact-card .btn { width: 100%; }

  /* FAQ: comfortable tap targets */
  .faq-q { padding: 1.15rem 1.15rem; font-size: 1rem; gap: 0.85rem; }
  .faq-a p { font-size: 0.98rem; }

  /* Final CTA: strong + polished */
  .final-cta { padding-block: clamp(3rem, 9vw, 4.5rem); }
  .final-cta .hero-cta { justify-content: center; }
}

/* =========================
   <= 640px — stack primary CTAs cleanly
   ========================= */
@media (max-width: 640px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .center-cta { flex-direction: column; align-items: stretch; }
}

/* =========================
   <= 480px — small phones
   ========================= */
@media (max-width: 480px) {
  :root { --section-y: clamp(2.5rem, 11vw, 3.5rem); }
  .container { padding-inline: 1.1rem; }

  .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.3rem); }
  .hero .lead { font-size: 1rem; }
  .ph-hero { aspect-ratio: 1 / 1; }
  .hero-visual::before { inset: -8px -8px 8px 8px; }

  /* Gallery to single, impressive column */
  .grid-gallery { grid-template-columns: 1fr; gap: 0.85rem; }
  .ph-gallery { aspect-ratio: 16 / 10; }

  .section-intro { font-size: 0.98rem; }
}

/* =========================
   <= 390px — narrow
   ========================= */
@media (max-width: 390px) {
  .header-inner { height: 60px; }
  .mobile-nav { inset: 60px 0 auto 0; max-height: calc(100vh - 60px); }
  .brand-logo { font-size: 0.52rem; letter-spacing: 0.02em; padding: 0.3rem 0.44rem; }
  .brand-name { font-size: 0.98rem; }
  .hero h1 { font-size: clamp(1.7rem, 9vw, 2.05rem); }
}

/* =========================
   <= 340px — very narrow
   ========================= */
@media (max-width: 340px) {
  .container { padding-inline: 1rem; }
  .brand-name { font-size: 0.92rem; }
  .brand-logo { font-size: 0.48rem; padding: 0.28rem 0.4rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .btn { padding: 0.78rem 1.1rem; font-size: 0.88rem; }
}

/* =========================
   Touch devices — tap-safe (no stuck hover transforms)
   ========================= */
@media (hover: none) {
  .card:hover,
  .ph-gallery:hover,
  .btn:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .btn-outline:hover { transform: none; }
  .ph-gallery:hover .ph-lines { transform: none; }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
