/* ==========================================================================
   Main stylesheet — layout primitives and components.
   Order: layout → type → buttons → topbar → header → nav → hero → sections
          → cards → reviews → form → CTA → footer → mobile bar → popup → misc
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--text { max-width: var(--container-text); }
/* clip-x guards against animated/decorative children widening the page while
   still allowing sticky positioning to work (unlike overflow:hidden). */
.section {
  padding-block: var(--section-y);
  position: relative;
  overflow-x: clip;
}
.section--tight { padding-block: calc(var(--section-y) * 0.62); }
.section--elevated {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
/* Page background: layered gradient mesh + engraved grain, fixed behind all. */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -8%,  rgba(221, 20, 10, 0.10), transparent 62%),
    radial-gradient(760px 560px at 92% 6%,   rgba(47, 111, 107, 0.09), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(221, 20, 10, 0.06), transparent 66%),
    var(--obsidian);
}
/* Fine guilloché line-work — the "engraved surface" texture. */
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(115deg,
      rgba(255,255,255,0.016) 0px,
      rgba(255,255,255,0.016) 1px,
      transparent 1px,
      transparent 7px),
    repeating-linear-gradient(-115deg,
      rgba(255,255,255,0.010) 0px,
      rgba(255,255,255,0.010) 1px,
      transparent 1px,
      transparent 11px);
  mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 78%);
}
.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.flow > * + * { margin-top: var(--sp-4); }
/* --------------------------------------------------------------------------
   2. Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: clamp(24px, 4vw, 46px);
  height: 1px;
  background: var(--grad-fade-r);
}
.eyebrow--center::after {
  content: "";
  width: clamp(24px, 4vw, 46px);
  height: 1px;
  background: var(--grad-fade-r);
}
.title-hero {
  font-size: var(--fs-hero);
  line-height: 0.98;
  font-weight: 700;
}
.title-xl { font-size: var(--fs-3xl); }
.title-lg { font-size: var(--fs-2xl); }
.title-md { font-size: var(--fs-xl); }
.title-sm { font-size: var(--fs-lg); }
/* Gold foil text — metallic gradient clipped to glyphs. */
.foil {
  background: var(--grad-gold);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Italic display accent used inside headings. */
.accent-italic {
  font-style: italic;
  font-weight: 400;
}
.lead {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  max-width: 62ch;
}
.muted { color: var(--text-muted); }
.dim   { color: var(--text-dim); }
.section-head { margin-bottom: var(--sp-8); max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-4); }
/* Hairline rule with a centred gold node. */
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel) 22%, var(--steel) 78%, transparent);
  position: relative;
}
.rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--accent-deep);
  box-shadow: 0 0 10px rgba(221, 20, 10, 0.65);
}
/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-py: 0.95rem;
  --btn-px: 1.9rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  min-height: 48px;               /* touch target ≥44px */
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
/* Glint sweep — a band of light travelling across the button on hover. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.42) 48%,
    transparent 62%);
  transform: translateX(-120%);
  transition: transform 720ms var(--ease-out);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn--primary {
  background: var(--grad-gold);
  background-size: 200% 100%;
  /* White on ruby — 5.3:1, comfortably AA. Dark text fails on this red. */
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 90, 69, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow:
    0 12px 34px rgba(221, 20, 10, 0.34),
    0 4px 10px rgba(221, 20, 10, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--ghost {
  background: rgba(232, 230, 225, 0.03);
  border: 1px solid var(--steel);
  color: var(--text);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent-deep);
  color: var(--ruby-bright);
  box-shadow: var(--shadow-md);
}
.btn--sm { --btn-py: 0.6rem; --btn-px: 1.15rem; min-height: 44px; font-size: var(--fs-xs); }
.btn--lg { --btn-py: 1.1rem;  --btn-px: 2.4rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-busy="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
/* Text link with an underline that draws in from the left. */
.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--accent);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  padding-block: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.link-underline:hover::after,
.link-underline:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.link-underline svg {
  width: 15px; height: 15px;
  transition: transform var(--dur) var(--ease-out);
}
.link-underline:hover svg { transform: translateX(4px); }
/* --------------------------------------------------------------------------
   4. Top bar
   -------------------------------------------------------------------------- */

.topbar {
  position: relative;
  z-index: var(--z-sticky);
  background: var(--obsidian);
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--topbar-h);
  padding-block: var(--sp-2);
}
.topbar__group {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color var(--dur) var(--ease-out);
}
a.topbar__item:hover { color: var(--accent); }
.topbar__item svg {
  width: 14px; height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
/* Live open/closed pill — text injected by JS from the hours table. */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}
.status--open {
  color: #6FCF97;
  background: rgba(78, 154, 115, 0.12);
  border-color: rgba(78, 154, 115, 0.3);
}
.status--open .status__dot { animation: pulse-dot 2.4s ease-in-out infinite; }
.status--closed {
  color: #E08C84;
  background: rgba(196, 86, 75, 0.10);
  border-color: rgba(196, 86, 75, 0.26);
}
/* Social row — placeholder hrefs until the client supplies real profiles. */
.social {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
/* The element is a full 44px touch target; the visible ring is drawn by an
   inset box-shadow so the circle still reads as ~30px. */
.social__link {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--text-muted);
  background-clip: content-box;
  padding: 7px;
  box-shadow: inset 0 0 0 1px var(--steel);
  transition: color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.social__link svg { width: 14px; height: 14px; }
.social__link:hover {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent-deep);
  background-color: rgba(221, 20, 10, 0.10);
  transform: translateY(-2px);
}
/* --------------------------------------------------------------------------
   5. Header + logo
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.header.is-scrolled {
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(221, 20, 10, 0.18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}
/* Logo — rendered from BRAND config by brand.js. Never hardcoded in markup. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.logo__mark {
  width: 42px; height: 42px;
  flex-shrink: 0;
  transition: transform var(--dur-slow) var(--ease-spring);
}
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--platinum);
  white-space: nowrap;
}
.logo__suffix {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
}
/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */

.nav { display: flex; align-items: center; gap: var(--sp-1); }
.nav__link {
  position: relative;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease-out);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--sp-4); right: var(--sp-4);
  bottom: 8px;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text); }
.nav__link:hover::after, .nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: var(--sp-3); }
/* Animated hamburger → X */
.burger {
  display: none;
  width: 46px; height: 46px;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel);
  background: rgba(232, 230, 225, 0.03);
}
.burger__box {
  position: relative;
  width: 21px; height: 14px;
}
.burger__line {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: var(--platinum);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out),
              width var(--dur) var(--ease-out);
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); width: 72%; }
.burger__line:nth-child(3) { bottom: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0; width: 0;
}
.burger[aria-expanded="true"] .burger__line:nth-child(3) {
  bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg);
}
/* Full-screen mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-9) var(--gutter) var(--sp-8);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              visibility var(--dur);
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  list-style: none;
  margin: 0; padding: 0;
}
.mobile-nav__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--text);
  border-bottom: 1px solid rgba(42, 49, 56, 0.6);
  opacity: 0;
  transform: translateY(16px);
  transition: color var(--dur) var(--ease-out);
}
.mobile-nav.is-open .mobile-nav__link {
  animation: nav-item-in var(--dur-slow) var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 90ms);
}
.mobile-nav__link:hover, .mobile-nav__link[aria-current="page"] { color: var(--accent); }
.mobile-nav__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--accent);
  opacity: 0.75;
}
.mobile-nav__footer {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 88vh, 940px);
  padding-block: var(--sp-10) var(--sp-9);
  overflow: hidden;
}
.hero__layers {
  position: absolute;
  inset: -8% 0;          /* bleed vertically only — never wider than the hero */
  z-index: 0;
  pointer-events: none;
  overflow: hidden;      /* clip parallax layers so they can't force scroll */
}
.hero__layer { position: absolute; inset: 0; will-change: transform; }
/* Concentric guilloché rings behind the hero medallion. */
.hero__rings {
  position: absolute;
  top: 50%; right: 6%;
  width: min(760px, 74vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.5;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(221, 20, 10, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 20, 10, 0.05) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(ellipse 76% 62% at 46% 46%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 76% 62% at 46% 46%, #000 0%, transparent 76%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.hero__content { max-width: 40rem; }
.hero__title { margin-bottom: var(--sp-5); }
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
}
.hero__lead { margin-bottom: var(--sp-7); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
/* Honest trust chips — verified facts only. */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(232, 230, 225, 0.028);
  border: 1px solid var(--steel);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--dur) var(--ease-out);
}
.chip svg { width: 14px; height: 14px; color: var(--accent); }
.chip:hover {
  color: var(--text);
  border-color: rgba(221, 20, 10, 0.4);
  transform: translateY(-2px);
}
/* Hero medallion — genuine 3D, tilts with the pointer. */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
  /* Breathing room so the outset spec cards are never clipped. */
  padding: var(--sp-6) clamp(1rem, 3vw, 3.5rem);
}
.medallion {
  position: relative;
  width: min(400px, 80%);
  aspect-ratio: 1 / 1.06;      /* room for the offset sub-photo */
  transform-style: preserve-3d;
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}
/* Hero photographs — a large plate with a smaller one overlapping it,
   both lifted off the page in the medallion's 3D space. */
.hero-photo {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(221, 20, 10, 0.28);
  background: var(--graphite);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.62),
    0 12px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--main {
  inset: 4% 12% 12% 4%;
  transform: translateZ(20px);
}
.hero-photo--sub {
  right: 2%;
  bottom: 0;
  width: 44%;
  aspect-ratio: 3 / 4;
  border-width: 3px;
  border-color: var(--graphite);
  transform: translateZ(60px);
}
/* A faint ruby glow behind the stack so it sits in the page, not on it. */
.medallion::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%,
              rgba(221, 20, 10, 0.16), transparent 66%);
  pointer-events: none;
}
.medallion__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #2E353D 0%, #171B20 46%, #0D1013 100%);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.62),
    0 12px 30px rgba(0, 0, 0, 0.5),
    inset 0 2px 3px rgba(255, 255, 255, 0.10),
    inset 0 -3px 8px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(221, 20, 10, 0.22);
}
.medallion__engraving {
  position: absolute;
  inset: 0;
  transform: translateZ(34px);
  display: grid;
  place-items: center;
}
.medallion__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(221, 20, 10, 0.28);
}
.medallion__ring--1 { inset: 7%;  }
.medallion__ring--2 { inset: 13%; border-style: dashed; opacity: 0.55; }
.medallion__ring--3 { inset: 21%; border-color: rgba(221, 20, 10, 0.16); }
/* Floating spec cards around the medallion. */
.spec-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs);
  white-space: nowrap;
  z-index: 3;                  /* above the photo stack */
}
.spec-card svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.spec-card__label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec-card__value { display: block; font-weight: 600; color: var(--text); }
/* Anchor the spec cards to the stage corners and pull them fully clear of
   the photo stack, which occupies the middle. */
.spec-card--tl { top: 0;    left: 0;  transform: translate(-6%, -34%); }
.spec-card--br { bottom: 0; right: 0; transform: translate(6%, 34%); }
/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: var(--sp-5);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.63rem;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 3;
}
.scroll-hint__track {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--accent-deep), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint__track::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--ruby-bright);
  animation: scroll-trace 2.1s var(--ease-in-out) infinite;
}
/* --------------------------------------------------------------------------
   8. Cards — services, gallery, value props
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  padding: var(--sp-6);
  background: var(--surface);
  background-image: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-slow) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out);
}
/* Cursor-following sheen. --mx/--my are set by animations.js. */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
              rgba(221, 20, 10, 0.13), transparent 42%);
  transition: opacity var(--dur) var(--ease-out);
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: rgba(221, 20, 10, 0.34);
  box-shadow: var(--shadow-xl);
}
/* 3D tilt variant — perspective lives on the parent grid. */
.card--tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.card--tilt > *:not(.card__media) { transform: translateZ(28px); }
.card--tilt > .card__media { transform: translateZ(14px); }
/* Photo banner at the top of a service card. Bleeds to the card edges.
   width:auto + explicit left/right negative margins is unreliable inside a
   flex/grid card, so pull it out with calc on the full card padding instead. */
.card__media {
  width: calc(100% + var(--sp-6) * 2);
  margin-left: calc(var(--sp-6) * -1);
  margin-top: calc(var(--sp-6) * -1);
  margin-bottom: var(--sp-5);
  border: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: none;
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,15,0.12) 0%, rgba(25,30,35,0.85) 100%);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: var(--sp-5);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(221, 20, 10, 0.16), rgba(221, 20, 10, 0.03));
  border: 1px solid rgba(221, 20, 10, 0.24);
  color: var(--accent);
  box-shadow: var(--shadow-inset-groove);
  transition: transform var(--dur) var(--ease-spring);
}
.card__icon svg { width: 25px; height: 25px; }
.card:hover .card__icon { transform: translateZ(28px) scale(1.07) rotate(-4deg); }
.card__title { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.card__text { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.card__list {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.card__list li {
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 3px 9px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-sm);
}
.card__index {
  position: absolute;
  top: var(--sp-5); right: var(--sp-6);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--steel-light);
  transition: color var(--dur) var(--ease-out);
}
.card:hover .card__index { color: var(--accent); }
.card__foot {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
/* Grid wrappers that own the 3D perspective. */
.tilt-grid { perspective: 1400px; }
/* Layered photo pair — a main plate with a smaller inset overlapping it. */
.photo-stack { position: relative; padding-bottom: 12%; padding-right: 10%; }
.photo-stack__main { box-shadow: var(--shadow-xl); }
/* `width` here must beat `.plate { width:100% }` — same specificity, so the
   later rule wins only if it stays below .plate in the file. It does not, so
   raise specificity explicitly. */
.plate.photo-stack__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  max-width: 42%;
  border: 3px solid var(--graphite);
  box-shadow: var(--shadow-xl);
}
/* Generated placeholder imagery — engraved-metal look, zero external assets. */
.plate {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grad-steel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-inset-groove);
}
/* The inline SVG inside a plate is absolutely positioned; keep it inside. */
.plate > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Real photographs fill the plate and crop from the centre. */
.plate > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-page) var(--ease-out);
}
.gallery-item:hover .plate > img,
.split__media:hover .plate > img { transform: scale(1.045); }
/* Keep photo detail readable behind the caption gradient. */
.gallery-item .plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,15,0) 46%, rgba(11,13,15,0.5) 100%);
  pointer-events: none;
}
/* In gallery tiles the caption occupies the lower band, so lift SVG artwork. */
.gallery-item .plate > svg { transform: translateY(-9%); }
.plate--4x3 { aspect-ratio: 4 / 3; }
.plate--1x1 { aspect-ratio: 1 / 1; }
.plate--16x9 { aspect-ratio: 16 / 9; }
.plate--3x4 { aspect-ratio: 3 / 4; }
.plate__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 34%,
    rgba(255, 90, 69, 0.11) 47%,
    rgba(255, 255, 255, 0.05) 52%,
    transparent 64%);
  transition: transform var(--dur-page) var(--ease-out);
}
.plate:hover .plate__sheen { transform: translateX(16%); }
.plate__label {
  position: absolute;
  left: var(--sp-4); bottom: var(--sp-4);
  z-index: 2;                    /* sit above the photo */
  padding: 5px 11px;
  font-size: 0.63rem;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--platinum);
  background: rgba(11, 13, 15, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
}
/* --------------------------------------------------------------------------
   9. Reviews
   -------------------------------------------------------------------------- */

.review-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-7);
}
.tab {
  min-height: 44px;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--steel);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.tab:hover { color: var(--text); border-color: var(--steel-light); }
.tab[aria-selected="true"] {
  color: #FFFFFF;
  background: var(--grad-gold);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-5);
}
.review {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.review:hover {
  transform: translateY(-4px);
  border-color: rgba(221, 20, 10, 0.3);
  box-shadow: var(--shadow-lg);
}
.review__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
  color: var(--accent);
}
.review__stars svg { width: 15px; height: 15px; }
.review__text {
  flex: 1;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text);
  margin-bottom: var(--sp-5);
}
.review__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
/* Monogram avatar — initials, no stock photography. */
.review__avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(221, 20, 10, 0.22), rgba(221, 20, 10, 0.05));
  border: 1px solid rgba(221, 20, 10, 0.34);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ruby-bright);
}
.review__name { font-weight: 600; font-size: var(--fs-sm); }
.review__meta { font-size: 0.7rem; color: var(--text-dim); }
.review__cat {
  margin-left: auto;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 9px;
  border: 1px solid rgba(221, 20, 10, 0.26);
  border-radius: var(--radius-sm);
}
/* Aggregate rating summary */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  padding: var(--sp-6);
  margin-bottom: var(--sp-7);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.rating-summary__score {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
}
.rating-summary__divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}
/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: var(--sp-5); }
.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field__req { color: var(--accent); margin-left: 2px; }
.field__control {
  width: 100%;
  min-height: 50px;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text);
  background: rgba(11, 13, 15, 0.6);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inset-groove);
  transition: border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}
.field__control::placeholder { color: var(--text-dim); }
.field__control:hover { border-color: var(--steel-light); }
.field__control:focus {
  outline: none;
  border-color: var(--accent-deep);
  background: rgba(11, 13, 15, 0.85);
  box-shadow:
    var(--shadow-inset-groove),
    0 0 0 3px rgba(221, 20, 10, 0.16);
}
textarea.field__control { min-height: 132px; resize: vertical; line-height: var(--lh-body); }
/* Native select arrow replaced with an inline SVG data-URI (no network call). */
select.field__control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BA1A6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  background-size: 17px;
  padding-right: var(--sp-8);
  cursor: pointer;
}
select.field__control option { background: var(--graphite); color: var(--text); }
.field__error {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: #E08C84;
}
.field__error svg { width: 13px; height: 13px; flex-shrink: 0; }
.field.has-error .field__control {
  border-color: var(--danger);
  box-shadow: var(--shadow-inset-groove), 0 0 0 3px rgba(196, 86, 75, 0.14);
}
.field.has-error .field__error { display: flex; }
/* File upload */
.file-drop {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px dashed var(--steel);
  border-radius: var(--radius);
  background: rgba(11, 13, 15, 0.4);
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.file-drop:hover, .file-drop.is-dragover {
  border-color: var(--accent-deep);
  background: rgba(221, 20, 10, 0.05);
}
.file-drop svg { width: 25px; height: 25px; color: var(--accent); flex-shrink: 0; }
.file-drop__title { font-size: var(--fs-sm); font-weight: 500; }
.file-drop__hint  { font-size: var(--fs-xs); color: var(--text-dim); }
/* Consent checkbox — custom control, 44px hit area preserved. */
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.check__box {
  display: grid;
  place-items: center;
  width: 21px; height: 21px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid var(--steel);
  border-radius: var(--radius-sm);
  background: rgba(11, 13, 15, 0.6);
  transition: all var(--dur) var(--ease-out);
}
.check__box svg {
  width: 13px; height: 13px;
  color: #FFFFFF;              /* tick sits on the ruby gradient */
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--dur) var(--ease-spring);
}
.check input:checked + .check__box {
  background: var(--grad-gold);
  border-color: transparent;
}
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
/* Live-region status banner after submit. */
.form__status {
  display: none;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.form__status.is-visible { display: flex; }
.form__status--success {
  background: rgba(78, 154, 115, 0.10);
  border: 1px solid rgba(78, 154, 115, 0.34);
  color: #8FD6AE;
}
.form__status--error {
  background: rgba(196, 86, 75, 0.10);
  border: 1px solid rgba(196, 86, 75, 0.34);
  color: #E8A29B;
}
.form__status svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  background:
    radial-gradient(720px 300px at 50% 0%, rgba(221, 20, 10, 0.13), transparent 68%),
    var(--graphite);
  border-block: 1px solid rgba(221, 20, 10, 0.2);
  overflow: hidden;
  text-align: center;
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-top: var(--sp-7);
}
/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  background: var(--obsidian);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-10);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: var(--sp-8) var(--sp-6);
  padding-bottom: var(--sp-8);
}
/* The studio's own strapline, from its business card. */
.footer__tagline {
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--accent);
}
.footer__brand-text {
  margin: var(--sp-3) 0 var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 34ch;
}
.footer__title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.footer__list a, .footer__list span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--dur) var(--ease-out);
}
/* min-height keeps footer links a comfortable tap target on mobile. */
.footer__list a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
}
/* The chevron is a flex child, so it must be told not to stretch or shrink —
   otherwise it grows to the full link height on wrapped, multi-line labels. */
.footer__list a svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  align-self: center;
  color: var(--accent);
}
.footer__list a:hover { color: var(--accent); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.footer__contact-item svg {
  width: 15px; height: 15px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}
.footer__hours { display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
.footer__hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  color: var(--text-muted);
}
.footer__hours-row dt { color: var(--text-dim); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}
.footer__credit a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--dur) var(--ease-out);
}
.footer__credit a:hover { color: var(--ruby-bright); text-decoration: underline; }
/* --------------------------------------------------------------------------
   13. Mobile sticky call/WhatsApp bar  (mobile only — see responsive.css)
   -------------------------------------------------------------------------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: none;
  gap: 1px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(221, 20, 10, 0.24);
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.5);
  /* Respect iOS home indicator. */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 56px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color var(--dur) var(--ease-out);
}
.mobile-bar__btn svg { width: 19px; height: 19px; }
.mobile-bar__btn--call { color: var(--ruby-bright); background: rgba(221, 20, 10, 0.10); }
.mobile-bar__btn--call:active { background: rgba(221, 20, 10, 0.22); }
.mobile-bar__btn--wa { color: #7EE3A6; background: rgba(37, 211, 102, 0.10); }
.mobile-bar__btn--wa:active { background: rgba(37, 211, 102, 0.2); }
/* --------------------------------------------------------------------------
   14. Demo popup
   -------------------------------------------------------------------------- */

.popup {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(4, 5, 6, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.popup.is-open { opacity: 1; visibility: visible; }
.popup__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  text-align: center;
  background:
    radial-gradient(560px 260px at 50% -10%, rgba(221, 20, 10, 0.16), transparent 66%),
    var(--graphite);
  border: 1px solid rgba(221, 20, 10, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translateY(22px) scale(0.965);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.popup.is-open .popup__dialog { transform: translateY(0) scale(1); }
.popup__close {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--steel);
  color: var(--text-muted);
  transition: all var(--dur) var(--ease-out);
}
.popup__close svg { width: 17px; height: 17px; }
.popup__close:hover {
  color: var(--accent);
  border-color: var(--accent-deep);
  background: rgba(221, 20, 10, 0.1);
  transform: rotate(90deg);
}
.popup__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(221, 20, 10, 0.1);
  border: 1px solid rgba(221, 20, 10, 0.3);
  border-radius: var(--radius-pill);
}
.popup__badge svg { width: 14px; height: 14px; }
.popup__title { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.popup__text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-5);
}
.popup__points {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  text-align: left;
}
.popup__point {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text);
}
.popup__point svg {
  width: 17px; height: 17px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.popup__actions { display: grid; gap: var(--sp-3); }
.popup__dismiss {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease-out);
  padding: var(--sp-2);
  min-height: 44px;
}
.popup__dismiss:hover { color: var(--text-muted); }
/* --------------------------------------------------------------------------
   15. Preloader
   -------------------------------------------------------------------------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  display: grid;
  place-items: center;
  background: var(--obsidian);
  transition: opacity var(--dur-page) var(--ease-out),
              visibility var(--dur-page);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { width: 96px; height: 96px; }
/* Stroke-draw: the monogram is cut into the page. */
.preloader__mark path,
.preloader__mark circle,
.preloader__mark rect {
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: var(--len, 400);
  animation: draw-stroke 1.5s var(--ease-out) forwards;
}
/* --------------------------------------------------------------------------
   16. Misc components
   -------------------------------------------------------------------------- */

/* Page hero for interior pages */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__title { margin-bottom: var(--sp-4); }
.page-hero .lead { margin-inline: auto; }
/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}
/* inline-flex + min-height keeps the crumb link a usable tap target. */
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--dur) var(--ease-out);
}
.crumbs a:hover { color: var(--accent); }
.crumbs svg { width: 12px; height: 12px; opacity: 0.5; }
/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
}
.stat { text-align: center; padding: var(--sp-5); }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.stat__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--text-dim);
}
/* Process timeline */
.timeline { position: relative; display: grid; gap: var(--sp-7); }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-deep), var(--steel), transparent);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--sp-5);
  align-items: start;
}
.timeline__dot {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--graphite);
  border: 1px solid rgba(221, 20, 10, 0.34);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.timeline__title { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.timeline__text { color: var(--text-muted); font-size: var(--fs-sm); }
/* FAQ accordion */
.faq { display: grid; gap: var(--sp-3); }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out);
}
.faq__item:hover { border-color: var(--steel-light); }
.faq__item.is-open { border-color: rgba(221, 20, 10, 0.34); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  min-height: 60px;
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.faq__icon {
  position: relative;
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--accent);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out);
}
.faq__icon::before { top: 7px; left: 0; width: 100%; height: 1.5px; }
.faq__icon::after  { left: 7px; top: 0; width: 1.5px; height: 100%; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg) scaleX(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}
/* Gallery filter buttons reuse .tab */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.gallery-item {
  position: relative;
  margin: 0;                    /* <figure> default margin */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(221, 20, 10, 0.34);
  box-shadow: var(--shadow-xl);
}
.gallery-item__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-8) var(--sp-5) var(--sp-4);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(4, 5, 6, 0.72) 42%,
    rgba(4, 5, 6, 0.96) 100%);
}
.gallery-item__title {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-top: 2px;
}
.gallery-item__meta {
  display: block;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.is-hidden { display: none !important; }
/* Font preview tool (engraving-fonts.html) */
.font-preview {
  display: grid;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.font-sample {
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: var(--sp-5);
  border-radius: var(--radius);
  background: var(--grad-steel);
  box-shadow: var(--shadow-inset-groove);
  overflow: hidden;
}
/* The engraved-text effect: dark fill + light lower bevel. */
.font-sample__text {
  font-size: clamp(1.7rem, 1rem + 3.4vw, 3.1rem);
  color: #0E1113;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16),
    0 2px 2px rgba(255, 255, 255, 0.07),
    0 -1px 1px rgba(0, 0, 0, 0.65);
}
.font-card {
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all var(--dur) var(--ease-out);
}
.font-card:hover { border-color: var(--steel-light); transform: translateY(-2px); }
.font-card.is-active {
  border-color: var(--accent-deep);
  background: rgba(221, 20, 10, 0.07);
  box-shadow: var(--shadow-md);
}
.font-card__name {
  display: block;               /* sit under the glyph, not beside it */
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: var(--sp-3);
}
.font-card__glyph {
  display: block;
  font-size: 1.65rem;
  color: var(--text);
  line-height: 1.25;
}
/* Map embed placeholder */
.map-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--grad-steel);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: center;
  padding: var(--sp-6);
}
.map-card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(221, 20, 10, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 20, 10, 0.075) 1px, transparent 1px);
  background-size: 42px 42px;
}
.map-card__content { position: relative; z-index: 1; }
.map-card__pin {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  background: rgba(221, 20, 10, 0.14);
  border: 1px solid rgba(221, 20, 10, 0.4);
  color: var(--accent);
  animation: pin-pulse 2.6s var(--ease-in-out) infinite;
}
.map-card__pin svg { width: 25px; height: 25px; }
/* Split feature block */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
/* Grid children default to min-width:auto, which lets wide content (SVG
   plates, long words) push the track past the viewport. Pin them to 0. */
.split > *,
.grid > *,
.hero__inner > * { min-width: 0; }
/* Floating decorative motes (JS-injected) */
.motes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.mote {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent-deep);
  opacity: 0.32;
  will-change: transform;
}
/* Back-to-top */
.to-top {
  position: fixed;
  right: var(--sp-5); bottom: var(--sp-5);
  z-index: var(--z-sticky);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--steel);
  color: var(--accent);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--dur) var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--accent-deep); background: rgba(221, 20, 10, 0.14); }
.to-top svg { width: 19px; height: 19px; }
