/* =========================================================================
   PBX1 Fadez & Cuts - shared marketing stylesheet
   Dark ink background + amber accents. Mobile-first, no external deps.
   ========================================================================= */

:root {
  --ink-950: #0a0a0b;
  --ink-900: #111114;
  --ink-850: #16161b;
  --ink-800: #1c1c22;
  --ink-700: #2a2a33;
  --ink-600: #3a3a45;
  --ink-300: #a6a6b0;
  --ink-200: #cbcbd2;
  --ink-100: #e8e8ee;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --wa-green: #25d366;        /* true WhatsApp brand green */
  --wa-green-600: #1da851;    /* darker for hover */

  --maxw: 1120px;

  /* Sticky-nav height, declared once so scroll-padding can track it. Anchors
     landed under the bar when these two drifted apart. */
  --nav-h: 73px;

  /* Radius scale: one decision per tier. */
  --r-sm: 4px;   /* sharp photo frames, lightbox */
  --r-md: 10px;  /* buttons, badges, icons */
  --r-lg: 16px;  /* cards, reels, cta band */
  --radius: var(--r-lg); /* legacy alias kept for content-page cards */

  /* Elevation scale for the dark UI: depth from a hairline top highlight plus
     a tighter drop, not one fat blur. */
  --e1: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 24px -12px rgba(0,0,0,0.7);
  --e2: inset 0 1px 0 rgba(255,255,255,0.07), 0 18px 44px -18px rgba(0,0,0,0.78);
  --shadow: var(--e1); /* legacy alias: default card elevation */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink-950);
  color: var(--ink-100);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-300); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--amber-300);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber-300);
  color: var(--ink-950);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* ----------------------------------------------------------------- nav --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(10, 10, 11, 0.82);
  border-bottom: 1px solid var(--ink-800);
}
.nav-wrap {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--ink-100);
  white-space: nowrap;
  /* Shrinkable and self-clipping: without these the nowrap wordmark kept its
     intrinsic width and ran underneath the CTA on phones. */
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 11px;
  background: #fff;
  padding: 3px;
}
.nav-brand span { color: var(--amber-300); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
}
.nav-links a { color: var(--ink-200); }
.nav-links a:hover { color: var(--amber-300); text-decoration: none; }
.nav-cta {
  background: var(--amber-300);
  color: var(--ink-950) !important;
  padding: 9px 18px;
  border-radius: 9px;
  font-weight: 700;
  white-space: nowrap; /* "Get the app" was breaking onto 3 lines on phones */
  flex: none;
}
.nav-cta:hover { background: var(--amber-400); text-decoration: none; }

/* hamburger toggle (hidden on desktop, shown <=760px) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none; /* was being squeezed to 28px wide at 320 */
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: 4px;
  background: transparent;
  border: 1px solid var(--ink-700);
  border-radius: 10px;
  color: var(--ink-100);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--amber-300); color: var(--amber-300); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Six links + the brand lockup + the CTA need ~900px of bar. Below that the
   links collapse into the drawer; at 760 they were still colliding with the
   wordmark on 768/820 tablets. */
@media (max-width: 900px) {
  :root { --nav-h: 65px; }
  .nav-wrap { gap: 10px; padding: 10px 20px; }
  .nav-brand { font-size: 14px; gap: 9px; }
  .nav-brand img { width: 42px; height: 42px; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  /* Collapse the primary links into a dropdown panel; keep the CTA visible. */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    /* Fully opaque: the panel sits over the hero art, and at 0.97 the hero
       logo ghosted through the link list. */
    background: var(--ink-950);
    border-bottom: 1px solid var(--ink-800);
    box-shadow: var(--shadow);
  }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--ink-800);
    font-size: 16px;
  }
  .nav-links .nav-cta {
    margin-top: 14px;
    border-bottom: none;
    text-align: center;
  }
  /* When the menu is open, reveal the primary links. */
  .site-nav.nav-open .nav-links a:not(.nav-cta) { display: block; }
  /* When closed on mobile, hide the whole panel but keep the CTA reachable. */
  .site-nav:not(.nav-open) .nav-links {
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    /* park the lone CTA against the toggle instead of floating it mid-bar */
    margin-left: auto;
  }
  .site-nav:not(.nav-open) .nav-links .nav-cta {
    margin-top: 0;
    padding: 9px 14px;
    font-size: 13.5px;
  }
}

/* Under ~430px the bar cannot hold brand + CTA + toggle without one of them
   losing. The CTA is the one to drop: it is still the first item in the open
   drawer, and the page carries a full-width store row in the hero. */
@media (max-width: 430px) {
  :root { --nav-h: 61px; }
  .nav-wrap { padding: 9px 16px; gap: 8px; }
  .nav-brand { font-size: 13px; letter-spacing: 0.02em; gap: 8px; }
  .nav-brand img { width: 38px; height: 38px; border-radius: 9px; }
  .site-nav:not(.nav-open) .nav-links { display: none; }
}

/* --------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber-300); color: var(--ink-950); }
.btn-primary:hover { background: var(--amber-400); }
.btn-secondary {
  background: transparent;
  color: var(--ink-100);
  border-color: var(--ink-700);
}
.btn-secondary:hover { border-color: var(--amber-300); color: var(--amber-300); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-600); }
.btn-lg { padding: 17px 32px; font-size: 17px; border-radius: var(--r-md); }

/* --------------------------------------------------------- store badges --- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid #3a3a45;
  border-radius: var(--r-md);
  padding: 10px 18px;
  color: #fff;
  min-width: 178px;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--ink-600); text-decoration: none; }
.store-badge svg { flex: 0 0 auto; }
.store-badge .badge-text { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
/* Never break the store names: "Google Play" was wrapping to two lines at
   390-430px, leaving the two badges at mismatched heights. */
.store-badge .badge-top { font-size: 10.5px; letter-spacing: 0.02em; color: #d4d4dc; text-transform: none; white-space: nowrap; }
.store-badge .badge-bottom { font-size: 18px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }

/* ----------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-800);
}
.hero-copy { max-width: 560px; }
.hero-badge {
  display: block;
  width: clamp(200px, 30vw, 360px);
  margin: 0 0 14px;
  padding: clamp(10px, 1.6vw, 18px);
  border-radius: clamp(22px, 3vw, 32px);
  overflow: hidden;
  border: 2px solid var(--amber-300);
  box-shadow: 0 34px 78px -26px rgba(0, 0, 0, 0.95);
  background: #fff;
  line-height: 0;
}
.hero-badge img { width: 100%; height: auto; display: block; }
@media (max-width: 560px) {
  .hero-badge { width: clamp(180px, 56vw, 260px); margin-bottom: 18px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--ink-700);
  border-radius: 999px;
  color: var(--amber-300);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
/* Location pin sits on the cap-height of the uppercase label, not the baseline. */
.eyebrow-pin { width: 13px; height: 13px; flex: none; margin-top: -1px; }

h1.hero-title { overflow-wrap: break-word; }
h1.hero-title span { color: var(--amber-300); }
.lede {
  font-size: 18px;
  color: var(--ink-200);
  margin: 0 0 28px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-300);
}

/* Store badges on small phones: hold the 178px floor so the row wraps into a
   clean stack instead of squeezing the badges until their labels break, and
   let each stacked badge grow to the full row width. */
@media (max-width: 560px) {
  .store-row { gap: 10px; }
  .store-badge { flex: 1 1 178px; justify-content: center; }
}

/* ------------------------------------------------------------- sections --- */
.section { padding: 76px 0; }
.section.alt {
  background: linear-gradient(180deg, var(--ink-900), var(--ink-950));
  border-top: 1px solid var(--ink-800);
  border-bottom: 1px solid var(--ink-800);
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  color: var(--amber-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
}
.section-head p { color: var(--ink-200); font-size: 17px; margin: 0; }

/* locations */
.loc-grid {
  display: grid;
  /* min(300px, 100%) lets the cards shrink below 300px on very small phones
     (e.g. 320px iPhone SE) instead of forcing a few px of horizontal overflow. */
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 22px;
}
.loc-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--radius);
  padding: 28px;
}
.loc-card h3 {
  margin: 0 0 4px;
  font-size: 21px;
  color: var(--amber-300);
}
.loc-card .addr { margin: 0 0 6px; color: var(--ink-100); font-size: 16px; }
.loc-card .hours { margin: 0 0 18px; color: var(--ink-300); font-size: 14.5px; }
.loc-card .loc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.loc-card .loc-actions .btn { padding: 11px 18px; font-size: 14.5px; }
/* booking is app-only: a small, low-emphasis link under the contact buttons */
.loc-card .book-app-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--amber-300);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.loc-card .book-app-link:hover { text-decoration: underline; }

/* contact row beneath the locations (Instagram + email in the main flow) */
.contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-800);
}
.contact-row .contact-label {
  color: var(--ink-300);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.contact-row .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-100);
  font-size: 15px;
}
.contact-row .contact-link svg { width: 19px; height: 19px; color: var(--amber-300); }
.contact-row .contact-link:hover { color: var(--amber-300); text-decoration: none; }

/* call-to-action band */
.cta-band {
  background:
    radial-gradient(900px 300px at 50% -40%, rgba(245, 158, 11, 0.14), transparent 70%),
    var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--r-lg);
  padding: 56px 32px;
  text-align: center;
  box-shadow: var(--e2);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-band p { color: var(--ink-200); font-size: 17px; margin: 0 auto 26px; max-width: 520px; }
.cta-band .cta-row { justify-content: center; }

/* ------------------------------------------------------- content pages --- */
.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}
.page-head { border-bottom: 1px solid var(--ink-800); padding-bottom: 24px; margin-bottom: 32px; }
.page-head .kicker {
  color: var(--amber-300);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
}
.page-head h1 { font-size: clamp(30px, 5vw, 40px); margin: 8px 0 6px; letter-spacing: -0.02em; }
.page-head .meta { color: var(--ink-300); font-size: 14px; margin: 0; }

.prose h2 { font-size: 23px; margin-top: 44px; margin-bottom: 12px; color: var(--amber-300); letter-spacing: -0.01em; }
.prose h3 { font-size: 17.5px; margin-top: 26px; margin-bottom: 8px; color: var(--ink-100); }
.prose p, .prose li { color: var(--ink-200); }
.prose a { border-bottom: 1px solid rgba(252, 211, 77, 0.35); }
.prose a:hover { border-bottom-color: var(--amber-300); text-decoration: none; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink-100); }
.prose code { background: var(--ink-800); padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* Tables: wrapped in .table-scroll so wide tables scroll horizontally inside
   their own container instead of forcing the whole page to overflow. The faint
   right-edge fade hints there is more to scroll on narrow screens. */
.table-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0 6px;
}
.table-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--ink-950));
  opacity: 0;
  transition: opacity 0.15s ease;
}
.table-scroll.is-scrollable::after { opacity: 1; }
.prose table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14.5px; }
.prose th, .prose td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--ink-700);
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}
.prose th { color: var(--amber-300); font-weight: 600; }

.callout {
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
  border-left: 3px solid var(--amber-300);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* contact cards + buttons on support page */
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.info-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: 12px;
  padding: 20px 22px;
}
.info-card h3 { margin: 0 0 4px; color: var(--amber-300); font-size: 18px; }
.info-card p { margin: 0 0 14px; color: var(--ink-200); font-size: 15px; }
.info-card .loc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.info-card .btn { padding: 10px 16px; font-size: 14px; }

details {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: 10px;
  padding: 4px 20px;
  margin: 10px 0;
}
details[open] { border-color: var(--ink-700); }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-100);
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--amber-300);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.15s ease;
}
details[open] summary::after { content: "\2212"; }
details > *:not(summary) { padding-bottom: 10px; }
details p:first-of-type { margin-top: 0; }

/* --------------------------------------------------------------- footer --- */
.site-footer {
  border-top: 1px solid var(--ink-800);
  background: var(--ink-950);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer-brand .nav-brand { margin-bottom: 14px; }
.footer-brand p { color: var(--ink-300); font-size: 14px; margin: 0 0 8px; max-width: 320px; }

/* footer Visit block: both shop addresses for prominence, matching the cols */
.footer-visit { margin-top: 20px; }
.footer-visit h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-300);
  margin: 0 0 12px;
}
.footer-visit p { margin: 0 0 10px; }
.footer-visit strong { color: var(--ink-100); font-weight: 700; }
.footer-visit .footer-visit-hours { color: var(--amber-300); font-size: 13px; }
.footer-col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-300);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 9px; }
.footer-col a, .footer-brand a { color: var(--ink-200); font-size: 14.5px; }
.footer-col a:hover, .footer-brand a:hover { color: var(--amber-300); text-decoration: none; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px 48px;
  border-top: 1px solid var(--ink-800);
  color: var(--ink-300);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
/* wrap as whole numbers: unwrapped these broke mid-number ("+61 412 683" /
   "855") on every phone width */
.footer-bottom .footer-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer-bottom .footer-phones a { white-space: nowrap; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  /* stack, and follow whatever alignment the copyright line above is using */
  .footer-bottom .footer-phones { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom .footer-phones { align-items: center; }
}

/* =========================================================================
   REMODEL: Heritage Modern, sharpened. Additive styles on the tokens above.
   One easing: cubic-bezier(.16,1,.3,1). One reveal. Serif display + sans body.
   ========================================================================= */
:root {
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* ---- Serif display on headings (display titles only) -------------------- */
h1.hero-title,
.section-head h2,
.about-copy h2,
.cta-band h2,
.svc-group h3,
.loc-card h3,
.about-copy .line em {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.about-copy h2 em { font-style: normal; color: var(--amber-300); }

/* fluid editorial rhythm (overrides earlier .section 76px) */
.section { padding: clamp(80px, 11vw, 132px) 0; }

/* ---- Universal reveal --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

/* headline line-wipe: each .line span clips up into view */
.line { display: block; overflow: hidden; }
.line > span {
  display: block;
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.5em);
  transition: clip-path 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--li, 0) * 90ms);
}
.in-view .line > span,
h2.in-view .line > span,
.hero-title.in-view .line > span { clip-path: inset(0); transform: none; }

/* ============================================ NAV: condense + progress === */
.site-nav { transition: padding 0.3s var(--ease), background 0.3s var(--ease); }
.site-nav .nav-wrap { transition: padding 0.3s var(--ease); }
.site-nav.scrolled { background: rgba(10, 10, 11, 0.94); }
.site-nav.scrolled .nav-wrap { padding-top: 7px; padding-bottom: 7px; }
.site-nav.scrolled { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-300));
  pointer-events: none;
}

/* nav + footer link underline draw-in */
.nav-links a:not(.nav-cta),
.footer-col a, .footer-brand a, .footer-getapp a {
  background-image: linear-gradient(var(--amber-300), var(--amber-300));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size 0.3s var(--ease), color 0.2s var(--ease);
  padding-bottom: 1px;
}
.nav-links a:not(.nav-cta):hover,
.footer-col a:hover, .footer-brand a:hover, .footer-getapp a:hover {
  background-size: 100% 1.5px;
  text-decoration: none;
}

/* ====================================================== HERO cinematic === */
.hero--cinematic {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-800);
}
.hero--cinematic::before { content: none; } /* drop the old radial; scrim handles it */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* team.jpg is a landscape comb-portrait: the face sits centre-left, so push
     the crop right of the headline column and keep the face high and legible */
  object-position: 42% 20%;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(110% 90% at 22% 32%, rgba(245, 158, 11, 0.14), transparent 55%),
    linear-gradient(90deg, rgba(10,10,11,0.62) 0%, rgba(10,10,11,0.4) 30%, rgba(10,10,11,0.58) 56%, rgba(10,10,11,0.9) 84%, rgba(10,10,11,0.95) 100%),
    linear-gradient(0deg, rgba(10,10,11,0.9), transparent 52%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero--cinematic .hero-inner {
  position: relative;
  z-index: 3;
  display: block;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(96px, 16vw, 160px) 24px clamp(56px, 8vw, 84px);
  width: 100%;
}
.hero--cinematic .hero-copy { max-width: 600px; }

/* Two-column hero: logo anchored to the LEFT of the copy block on wide
   screens; stacks back to logo-on-top below 860px. */
.hero--cinematic .hero-copy--split {
  max-width: 1040px;
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}
.hero-copy--split .hero-brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-copy--split .hero-brand .hero-badge { margin: 0 0 14px; }
.hero-copy--split .hero-brand .eyebrow { margin-bottom: 0; }
.hero-copy--split .hero-text { flex: 1 1 auto; min-width: 0; }
@media (max-width: 860px) {
  .hero--cinematic .hero-copy--split { display: block; max-width: 600px; }
  .hero-copy--split .hero-brand { margin-bottom: 18px; }
  .hero-copy--split .hero-brand .eyebrow { margin-bottom: 0; }
}

h1.hero-title {
  font-size: clamp(32px, 8.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 700;
}
.hero-title .line.accent > span { color: var(--amber-300); }
.hero-title .line:nth-child(1) > span { --li: 0; }
.hero-title .line:nth-child(2) > span { --li: 1; }
.hero-title .line:nth-child(3) > span { --li: 2; }

.hero-rule {
  display: block;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-400), transparent);
  margin: 18px 0 22px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease);
  transition-delay: 0.32s;
}
.hero-rule.in-view { transform: scaleX(1); }

.hero--cinematic .lede { max-width: 540px; font-size: clamp(18px, 2.2vw, 21px); }
.hero-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}
/* secondary actions sit on their own row beneath the dominant primary CTA */
.eyebrow-sep { opacity: 0.55; }

/* Hero store badges are the primary action: lift them off the lede with a touch
   more room and let them lead the cluster. */
.store-row--hero { margin-top: 6px; margin-bottom: 2px; }

/* Low-emphasis web booking + support links (least priority below the badges). */
.book-web-link {
  display: inline-block;
  color: var(--ink-300);
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(166, 166, 176, 0.4);
  padding-bottom: 1px;
}
.book-web-link:hover { color: var(--amber-300); border-bottom-color: var(--amber-300); text-decoration: none; }

.hero--cinematic .hero-note { color: var(--ink-200); }

/* ======================================================== ABOUT layered === */
.about-layered {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-media { position: relative; padding-bottom: 64px; padding-right: 56px; }
.about-frame {
  margin: 0;
  border: 1px solid rgba(252, 211, 77, 0.45);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--e1);
}
.about-frame img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-accent {
  position: absolute;
  right: -24px;
  bottom: -16px;
  width: 56%;
  margin: 0;
  border: 1px solid rgba(252, 211, 77, 0.55);
  border-radius: var(--r-sm);
  overflow: hidden;
  /* dark ring separates the floating layer from the main frame so the two
     amber-bordered frames never read as a collision */
  outline: 6px solid var(--ink-950);
  box-shadow: var(--e2);
  background: var(--ink-900);
}
.about-accent img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

.about-copy .kicker {
  display: inline-block;
  color: var(--amber-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.about-copy h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.08;
  margin: 0 0 18px;
}
.about-copy p { color: var(--ink-200); margin: 0 0 16px; }

.trust-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-100);
  font-weight: 500;
}
.trust-check {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(252, 211, 77, 0.12);
  color: var(--amber-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-check svg { width: 16px; height: 16px; }

/* ================================================= section heads + rails === */
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.08; }
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: 640px; }

/* sticky vertical label rail (Work, Services) */
.work-layout, .svc-layout {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.section-rail, .svc-rail { position: sticky; top: 96px; align-self: start; }
.rail-kicker, .svc-rail .kicker {
  display: inline-block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--amber-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ====================================================== WORK editorial === */
/* Deterministic mosaic: a 4-column grid where each tile derives its own height
   from aspect-ratio (no fixed grid-auto-rows, so no holes / ragged bottoms).
   Portraits are 1 column at 3:4; the two landscape "wide" tiles span 2 columns
   at 3:2 so they read as the editorial anchors. Auto-placement with only
   column spans (no row spans) cannot leave gaps. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 16px;
}
.work-tile {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-900);
  box-shadow: var(--e1);
  aspect-ratio: 3 / 4;
}
.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* favour the crown / hairline so the fade work is never cropped out */
  object-position: 50% 28%;
  transition: transform 0.6s var(--ease);
}
.work-tile--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.work-tile--wide img { object-position: 50% 40%; }
.work-tile::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--amber-400);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.work-tile:hover img, .work-tile:focus-visible img { transform: scale(1.04); }
.work-tile:hover::after, .work-tile:focus-visible::after { transform: scaleX(1); }
.work-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  background: linear-gradient(0deg, rgba(10,10,11,0.85), transparent);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.work-tile:hover .work-cap, .work-tile:focus-visible .work-cap { transform: translateY(0); }

/* ====================================================== REEL strip === */
/* Portrait footage center-cropped into premium landscape (16:9) windows, laid
   out as a 2-up grid on desktop that collapses to a single column on phones. */
.reel-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 24px 4px;
}
.reel-card {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  box-shadow: var(--e1);
}
.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 560px) {
  .reel-strip { grid-template-columns: 1fr; }
}

/* ====================================================== SERVICES menu === */
.svc-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.svc-group {
  position: relative;
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--radius);
  padding: 28px 28px 24px 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.svc-group::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--amber-400);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.4s var(--ease);
}
.svc-group:hover { transform: translateY(-4px); border-color: var(--ink-700); }
.svc-group:hover::before { transform: scaleY(1); }
/* refined icon chip: amber glyph in a soft amber-tinted square with a hairline */
.svc-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.28);
  color: var(--amber-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-group h3 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.4vw, 24px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-800);
}
.svc-group ul { list-style: none; margin: 0; padding: 0; }
.svc-group li {
  position: relative;
  color: var(--ink-200);
  font-size: 15px;
  line-height: 1.45;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid var(--ink-850);
}
/* amber tick marker for clearer item separation and scan-ability */
.svc-group li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber-400);
  opacity: 0.7;
}
.svc-group li:last-child { border-bottom: 0; }
/* tall cards balance their long lists into two columns on wider viewports */
@media (min-width: 700px) {
  .svc-group--wide ul {
    columns: 2;
    column-gap: 28px;
  }
  .svc-group--wide li { break-inside: avoid; }
}

/* CTA band serif + centered store row */
.cta-band h2 { font-size: clamp(30px, 4.5vw, 46px); }
.store-row--center { justify-content: center; margin-top: 22px; }
/* low-emphasis web + support links beneath the prominent store badges */
.cta-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 22px auto 0;
  font-size: 13.5px;
}
.cta-foot .book-web-link,
.cta-foot .cta-help-link {
  display: inline-block;
  color: var(--ink-300);
  font-weight: 500;
  border-bottom: 1px solid rgba(166, 166, 176, 0.4);
  padding-bottom: 1px;
}
.cta-foot .book-web-link:hover,
.cta-foot .cta-help-link:hover { color: var(--amber-300); border-bottom-color: var(--amber-300); text-decoration: none; }
.cta-foot .cta-foot-sep { color: var(--ink-600); }
/* Once the two links stack, the middot is stranded at the end of the first
   line. Drop it and let the gap do the separating. */
@media (max-width: 720px) {
  .cta-foot { flex-direction: column; gap: 12px; }
  .cta-foot .cta-foot-sep { display: none; }
}

/* ====================================================== FOOTER getapp === */
.footer-getapp {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4px 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-300);
}
.footer-getapp span { text-transform: uppercase; letter-spacing: 0.12em; }
.footer-getapp a { color: var(--ink-200); font-size: 13.5px; }

/* ====================================================== LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(94vw, 1000px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--r-sm);
  border: 1px solid rgba(252, 211, 77, 0.4);
  box-shadow: var(--e2);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink-600);
  background: rgba(10,10,11,0.7);
  color: var(--ink-100);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { border-color: var(--amber-300); color: var(--amber-300); }

/* ====================================================== RESPONSIVE === */
@media (max-width: 880px) {
  .about-layered { grid-template-columns: 1fr; gap: 0; }
  .about-media { padding-right: 40px; padding-bottom: 52px; margin-bottom: 28px; }
  .work-layout, .svc-layout { grid-template-columns: 1fr; }
  .section-rail, .svc-rail { display: none; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  /* keep the wide landscape tiles spanning 2 of the 3 columns */
  .work-tile--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-tile--wide { grid-column: span 2; } /* full width, stays 3:2 landscape */
  .work-cap { transform: translateY(0); } /* always show captions on touch */
  .work-tile::after { transform: scaleX(1); }
}
@media (max-width: 880px) {
  /* copy is full-width over the image here, so keep the face up and to the right */
  .hero-bg img { object-position: 55% 28%; }
}
/* On phones the -24px bleed pushed the floating frame past the viewport and
   the section's overflow:hidden sliced its right border off. Tuck it in. */
@media (max-width: 560px) {
  .about-media { padding-right: 34px; padding-bottom: 46px; }
  .about-accent { right: 0; bottom: -10px; outline-width: 5px; }
}
@media (max-width: 430px) {
  /* was 64%: at phone sizes the floating frame grew until it buried the PBX1
     shirt logo that is the point of the photo underneath. */
  .about-accent { width: 54%; }
}
@media (max-width: 360px) {
  h1.hero-title { font-size: 32px; }
}

/* ========================================================= TOUCH TARGETS ===
   At the widths that get the hamburger, every tappable thing clears 44px.
   Buttons grow; text links keep their exact type and rule and gain the extra
   height through an invisible overlay, so nothing shifts visually. */
@media (max-width: 900px) {
  .btn,
  .loc-card .loc-actions .btn,
  .info-card .btn { min-height: 44px; }

  .nav-brand { min-height: 44px; } /* header and footer both use this lockup */
  .site-nav:not(.nav-open) .nav-links .nav-cta { padding: 12px 14px; }

  /* Stacked links were 14px apart, so neighbouring rows ate into each other's
     hit area. Open the rhythm up until each row owns a full 44px. */
  .hero-cluster { gap: 20px; }
  .contact-row { gap: 20px 26px; }
  .cta-foot { gap: 20px; }
  .footer-getapp { flex-wrap: wrap; gap: 10px 18px; }
  /* row gap 0: the links' own 12px padding does the vertical separating.
     Column gap stays, or the two run together when they sit side by side. */
  .footer-bottom .footer-phones { gap: 0 18px; }
  .footer-bottom .footer-phones a { padding: 12px 0; }
  .footer-brand > p > a[href^="mailto:"] { display: inline-block; }

  .book-web-link,
  .book-app-link,
  .cta-help-link,
  .contact-row .contact-link,
  .footer-getapp a,
  .footer-bottom .footer-phones a,
  .footer-brand > p > a[href^="mailto:"] { position: relative; }

  .book-web-link::after,
  .book-app-link::after,
  .cta-help-link::after,
  .contact-row .contact-link::after,
  .footer-getapp a::after,
  .footer-bottom .footer-phones a::after,
  .footer-brand > p > a[href^="mailto:"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
  }
}

/* ====================================================== REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }

  /* freeze decorative motion, force content to final visible state */
  .hero-bg img { animation: none !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .line > span { clip-path: inset(0) !important; transform: none !important; }
  .hero-rule { transform: scaleX(1) !important; }
  .scroll-progress { display: none; }
}
