/* =========================================================
   Premier PDR — design system
   Light, professional surface · charcoal + refined gold
   Display: Saira Condensed · Body: Source Sans 3 · Labels: IBM Plex Mono
   ========================================================= */

:root {
  /* surfaces */
  --bg: #f5f4f0;          /* warm off-white page */
  --paper: #ffffff;       /* cards */
  --paper-2: #faf9f6;     /* alt surface */
  --dark: #1b1c20;        /* charcoal sections */
  --dark-2: #232429;      /* charcoal alt */

  /* ink / text */
  --ink: #1b1c20;         /* headings */
  --body: #3d4148;        /* body copy on light (passes AA) */
  --muted: #6c7077;       /* secondary on light */
  --on-dark: #f3f2ee;     /* body on dark */
  --on-dark-soft: #b9bcc2;/* muted on dark */

  /* accent */
  --gold: #c79a16;        /* refined brass — fills / borders */
  --gold-bright: #e7c23a; /* bright gold — on dark only */
  --gold-deep: #8a6c09;   /* gold text on light (passes AA) */

  /* lines */
  --line: rgba(27, 28, 32, 0.12);
  --line-2: rgba(27, 28, 32, 0.07);
  --line-gold: rgba(199, 154, 22, 0.45);
  --line-on-dark: rgba(243, 242, 238, 0.14);

  --shadow-sm: 0 1px 2px rgba(20, 21, 24, 0.06), 0 4px 14px rgba(20, 21, 24, 0.06);
  --shadow: 0 18px 50px rgba(20, 21, 24, 0.12);
  --shadow-lg: 0 30px 80px rgba(20, 21, 24, 0.22);
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- Type ---------- */
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: "Saira Condensed", "Saira Condensed Fallback", Impact, sans-serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 1rem + 1.3vw, 1.85rem); }

p { margin: 0 0 1rem; }

.lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
}

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  display: block;
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before {
  display: inline-block;
  width: 30px; height: 2px;
  margin: 0 12px 4px 0;
  vertical-align: middle;
  background: var(--gold);
  content: "";
}
.section-heading.center .eyebrow::before,
.dark-band .eyebrow::before,
.cta-panel .eyebrow::before { vertical-align: middle; }

/* ---------- Skip link / focus ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 14px; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(150%) blur(16px);
    backdrop-filter: saturate(150%) blur(16px);
  }
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}
.nav > .brand { grid-column: 1; }
.nav > .nav-links { grid-column: 2; }
.nav-actions {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Saira Condensed", "Saira Condensed Fallback", Impact, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 46px; height: 46px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(27, 28, 32, 0.06);
  color: var(--ink);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, transform 140ms ease;
}
.nav-call:hover,
.nav-call:focus-visible { background: var(--gold-deep); transform: translateY(-1px); }

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease, transform 140ms ease;
}
.nav-social svg { width: 20px; height: 20px; }
.nav-social:hover,
.nav-social:focus-visible {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  transform: translateY(-1px);
}

.menu-toggle { display: none; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn.primary {
  background: var(--gold);
  color: #1b1410;
}
.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--gold-bright);
  transform: translateY(-2px);
}
.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}
/* On dark backgrounds */
.hero .btn.secondary,
.cta-panel .btn.secondary,
.dark-band .btn.secondary {
  border-color: var(--line-on-dark);
  color: #fff;
}
.hero .btn.secondary:hover,
.cta-panel .btn.secondary:hover,
.dark-band .btn.secondary:hover,
.hero .btn.secondary:focus-visible,
.cta-panel .btn.secondary:focus-visible,
.dark-band .btn.secondary:focus-visible {
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.06);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(28px, 4vw, 56px) 0;
  background:
    linear-gradient(180deg, rgba(22, 23, 27, 0.82), rgba(22, 23, 27, 0.9)),
    radial-gradient(120% 90% at 85% 0%, rgba(199, 154, 22, 0.18), transparent 55%),
    url("photo-1545042727-9553d94720fd.avif") center / cover no-repeat,
    linear-gradient(180deg, #202127, #16171b);
  color: var(--on-dark);
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(rgba(243, 242, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 242, 238, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(110% 100% at 30% 20%, #000 30%, transparent 80%);
  mask-image: radial-gradient(110% 100% at 30% 20%, #000 30%, transparent 80%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 640px; min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 1rem + 3.8vw, 4.4rem); margin-bottom: 12px; }
.hero .lead { font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); }

/* hero logo medallion */
.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-media::before {
  position: absolute;
  z-index: 0;
  width: min(86%, 440px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, rgba(199, 154, 22, 0.28), transparent 62%);
  content: "";
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.5));
}
.hero h1, .page-hero h1 { overflow-wrap: break-word; word-break: break-word; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold-bright); }
.hero .eyebrow::before { background: var(--gold-bright); }
.hero .lead { color: var(--on-dark-soft); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* mini trust badges under hero actions */
.hero-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-dark);
  list-style: none;
}
.hero-routes a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}
.hero-routes a span {
  color: var(--gold-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}
.hero-routes a:hover span,
.hero-routes a:focus-visible span { text-decoration: underline; }

/* legacy hero mark fallback (unused now) */
.hero-mark { display: none; }

/* =========================================================
   Trust bar (proof strip)
   ========================================================= */
.proof-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.proof-grid p {
  margin: 0;
  padding: 22px 8px 22px 0;
  font-size: 1rem;
  color: var(--body);
}
.proof-grid p + p { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-grid strong { display: block; color: var(--ink); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: "IBM Plex Mono", monospace; margin-bottom: 4px; color: var(--gold-deep); }
.proof-grid a { color: var(--ink); font-weight: 700; text-decoration: none; }
.proof-grid a:hover { color: var(--gold-deep); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.shell { width: min(1180px, calc(100% - 40px)); }

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-heading.center {
  margin-inline: auto;
  text-align: center;
}
.section-heading.center .eyebrow { text-align: center; }

/* =========================================================
   Service cards
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  display: block;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  overflow: hidden;
}
.service-card::before {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  content: "";
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 200ms ease;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--line-gold);
}
.service-card:hover::before,
.service-card:focus-visible::before { transform: scaleY(1); }
.service-card > span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
}
.service-card h3 { margin-bottom: 10px; color: var(--ink); }
.service-card p { margin: 0; color: var(--muted); }
.service-card::after {
  content: "→";
  position: absolute;
  right: 24px; bottom: 22px;
  color: var(--gold-deep);
  font-size: 1.3rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.service-card:hover::after,
.service-card:focus-visible::after { opacity: 1; transform: translateX(0); }

/* =========================================================
   Split layouts
   ========================================================= */
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split h2 { color: var(--ink); }
.feature-split { align-items: stretch; }

.feature-frame { position: relative; margin: 0; }
.feature-frame::before {
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: 0;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  content: "";
}
.feature-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-frame figcaption {
  position: absolute;
  z-index: 2;
  left: 14px; bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20, 21, 24, 0.82);
  color: var(--gold-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   Before / after showcase (home)
   ========================================================= */
.dark-band {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(199, 154, 22, 0.14), transparent 50%),
    var(--dark);
  color: var(--on-dark);
}
.dark-band h2 { color: #fff; }
.dark-band p { color: var(--on-dark-soft); }
.dark-band .eyebrow { color: var(--gold-bright); }
.dark-band .eyebrow::before { background: var(--gold-bright); }

.gallery-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gallery-strip figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-on-dark);
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.gallery-strip figcaption,
.comparison span {
  position: absolute;
  left: 12px; top: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(20, 21, 24, 0.82);
  color: var(--gold-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
figure { margin: 0; }
figcaption { color: var(--muted); }

/* =========================================================
   Process / check lists
   ========================================================= */
.process-list,
.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.process-list li {
  position: relative;
  padding: 18px 20px 18px 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--body);
  counter-increment: step;
  box-shadow: var(--shadow-sm);
}
.process-list li::before {
  position: absolute;
  left: 16px; top: 16px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--gold);
  color: #1b1410;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  content: counter(step, decimal-leading-zero);
}
.process-list strong,
.check-list strong { color: var(--ink); }

.check-list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.check-list li::before {
  position: absolute;
  left: 16px; top: 16px;
  color: var(--gold-deep);
  font-weight: 800;
  content: "✓";
}

.process-list.four { grid-template-columns: repeat(4, 1fr); }
.dark-band .process-list li,
.dark-band .check-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-on-dark);
  color: var(--on-dark);
}
.dark-band .process-list strong,
.dark-band .check-list strong { color: #fff; }

/* =========================================================
   CTA panel
   ========================================================= */
.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(36px, 5vw, 60px);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(199, 154, 22, 0.18), transparent 55%),
    var(--dark);
  color: var(--on-dark);
}
.cta-panel h2 { margin-bottom: 8px; color: #fff; }
.cta-panel p { margin: 0; color: var(--on-dark-soft); max-width: 52ch; }
.cta-panel .eyebrow { color: var(--gold-bright); }
.cta-panel .eyebrow::before { background: var(--gold-bright); }
/* When the CTA is its own <section> (inner pages), `.cta-panel` padding overrides
   `.section` vertical padding, so add explicit margin to separate it from neighbors. */
.section.cta-panel { margin-top: clamp(48px, 7vw, 96px); }
main > .section.cta-panel:last-child { margin-bottom: clamp(48px, 6vw, 88px); }

/* =========================================================
   Inner page hero
   ========================================================= */
.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: 4px; }
.page-hero::after {
  display: block;
  width: min(220px, 40vw);
  height: 3px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
}

/* =========================================================
   Info grid (3-up cards)
   ========================================================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-grid article {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.info-grid h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin-bottom: 10px; }
.info-grid p { margin: 0; color: var(--muted); }
.dark-band .info-grid article {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-on-dark);
  border-top-color: var(--gold);
}
.dark-band .info-grid h2 { color: #fff; }
.dark-band .info-grid p { color: var(--on-dark-soft); }

/* =========================================================
   Reviews
   ========================================================= */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.rating-summary { display: flex; align-items: center; gap: 18px; }
.rating-score {
  font-family: "Saira Condensed", "Saira Condensed Fallback", Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 3vw, 4.4rem);
  line-height: 0.9;
  color: var(--ink);
}
.rating-stars {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 3px;
}
.rating-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rating-meta strong { color: var(--ink); }

.review-grid {
  columns: 3 290px;
  column-gap: 20px;
}
.review-card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 8px; right: 18px;
  font-family: "Saira Condensed", Impact, serif;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--line-gold);
}
.review-stars {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 1.02rem;
  letter-spacing: 2px;
}
.review-card blockquote {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.5;
}
.review-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.review-name { color: var(--ink); font-weight: 700; }
.review-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.review-src::before {
  content: "G";
  display: grid;
  place-items: center;
  width: 17px; height: 17px;
  border-radius: 999px;
  background: var(--gold);
  color: #1b1410;
  font-family: "Saira Condensed", Impact, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 160ms ease;
}
.faq details[open] { border-color: var(--line-gold); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 3vw, 26px);
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(199, 154, 22, 0.14);
  color: var(--gold-deep);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 200ms ease, background 200ms ease;
}
.faq details[open] summary::after {
  content: "\2013";
  background: var(--gold);
  color: #1b1410;
}
.faq summary:hover { color: var(--gold-deep); }
.faq details > p {
  margin: 0;
  padding: 0 clamp(18px, 3vw, 26px) 22px;
  color: var(--muted);
}

/* =========================================================
   Contact / forms
   ========================================================= */
.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.estimate-form .btn { grid-column: 1 / -1; justify-self: start; }
label { color: var(--ink); font-weight: 700; font-size: 0.95rem; }

input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 22, 0.22);
}
textarea { resize: vertical; }

.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--gold-deep); font-weight: 600; }
.small { color: var(--muted); font-size: 0.92rem; }

.contact-card {
  position: sticky;
  top: 96px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  align-self: start;
}
.contact-card img { width: 96px; margin-bottom: 18px; border-radius: 999px; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-card a:hover { color: var(--gold-deep); }
.contact-grid { align-items: start; }

/* =========================================================
   Gallery page
   ========================================================= */
.gallery-page {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(20px, 3vw, 40px) max(72px, calc((100vw - 1180px) / 2));
  overflow: clip;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(199, 154, 22, 0.1), transparent 55%),
    var(--dark);
}
/* Before / after drag slider */
.ba-slider {
  --pos: 50;
  position: relative;
  width: min(100%, 1080px);
  height: min(74svh, 680px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #14151a;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.ba-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 calc(var(--pos) * 1%));
  -webkit-clip-path: inset(0 0 0 calc(var(--pos) * 1%));
}
.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 21, 24, 0.82);
  color: var(--gold-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(20, 21, 24, 0.8);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.ba-slider.touched .ba-hint { opacity: 0; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos) * 1%);
  z-index: 4;
  width: 48px;
  margin-left: -24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: #1b1410;
  cursor: ew-resize;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}
.ba-knob {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--gold);
  color: #1b1410;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 140ms ease, background 140ms ease;
}
.ba-handle:hover .ba-knob,
.ba-handle:focus-visible .ba-knob {
  background: var(--gold-bright);
  transform: scale(1.08);
}
.ba-handle:focus-visible { outline: none; }
.ba-slider.is-dragging { cursor: ew-resize; }
.ba-slider.is-dragging .ba-knob { transform: scale(1.08); }

.gallery-slide[hidden] { display: none; }
.gallery-body .site-footer,
.gallery-body .call-bar { display: none; }
.gallery-body main { min-height: calc(100svh - 72px); }

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 54px; height: 76px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: rgba(20, 21, 24, 0.6);
  color: #fff;
  cursor: pointer;
  font: 700 2.8rem/1 "Saira Condensed", "Saira Condensed Fallback", Impact, sans-serif;
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: var(--gold);
  color: #1b1410;
  transform: translateY(-50%) scale(1.05);
}
.gallery-prev { left: max(16px, calc((100vw - 1280px) / 2)); }
.gallery-next { right: max(16px, calc((100vw - 1280px) / 2)); }

.gallery-dots {
  position: absolute;
  left: 50%; bottom: 20px;
  z-index: 5;
  display: flex;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  background: rgba(20, 21, 24, 0.6);
  transform: translateX(-50%);
}
.gallery-dot {
  width: 10px; height: 10px;
  padding: 0; border: 0;
  border-radius: 999px;
  background: rgba(243, 242, 238, 0.4);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}
.gallery-dot.is-active { width: 30px; background: var(--gold-bright); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 32px;
  background: var(--dark);
  color: var(--on-dark-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-grid img { width: 64px; margin-bottom: 16px; border-radius: 999px; }
.footer-grid h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}
.footer-grid p { margin: 0 0 10px; max-width: 38ch; }
.footer-grid a { color: var(--on-dark); text-decoration: none; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-nav { display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--on-dark-soft);
}
.footer-bottom a:hover { color: var(--gold-bright); }

/* =========================================================
   Sticky mobile call bar
   ========================================================= */
.call-bar { display: none; }

/* =========================================================
   Motion — scroll reveals, hero entrance, micro-interactions
   ========================================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.21, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.21, 1);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Gentle stagger for grids of cards */
.service-grid > [data-animate].is-visible,
.review-grid > [data-animate].is-visible,
.info-grid > [data-animate].is-visible { transition-delay: var(--reveal-delay, 0s); }

/* Hero entrance on load */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroPop {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: none; }
}
.hero-copy > * { animation: heroRise 0.7s cubic-bezier(0.22, 0.61, 0.21, 1) backwards; }
.hero-copy > .eyebrow      { animation-delay: 0.05s; }
.hero-copy > h1            { animation-delay: 0.12s; }
.hero-copy > .lead         { animation-delay: 0.20s; }
.hero-copy > .hero-actions { animation-delay: 0.28s; }
.hero-copy > .hero-routes  { animation-delay: 0.36s; }
.hero-media { animation: heroPop 0.8s cubic-bezier(0.22, 0.61, 0.21, 1) 0.18s backwards; }

/* Logo medallion: a slow, subtle float */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.hero-logo { animation: logoFloat 6s ease-in-out infinite; }

/* Nav link underline sweep */
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .hero-copy > *, .hero-media, .hero-logo { animation: none; }
  .nav-links a::after { transition: none; }
}

/* =========================================================
   Font metric fallback (CLS)
   ========================================================= */
@font-face {
  font-family: "Saira Condensed Fallback";
  src: local("Arial Narrow"), local("Arial");
  size-adjust: 90%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .nav { grid-template-columns: auto 1fr; grid-template-rows: 72px auto; row-gap: 0; align-items: center; }
  .nav > .brand { grid-column: 1; grid-row: 1; }
  .nav > .nav-actions { grid-column: 2; grid-row: 1; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .nav > .nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 12px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; padding: 12px 16px; }
  .nav-call { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
  .hero-logo { width: min(72%, 300px); }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* sticky call bar */
  .call-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: var(--gold);
    color: #1b1410;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.28);
  }
  .call-bar strong { font-family: "IBM Plex Mono", monospace; letter-spacing: 0.02em; }
  body { padding-bottom: 70px; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid p { padding: 16px 0; border-top: 1px solid var(--line); }
  .proof-grid p:first-child { border-top: 0; }
  .proof-grid p + p { padding-left: 0; border-left: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .info-grid,
  .process-list.four,
  .estimate-form { grid-template-columns: 1fr; }
  .hero-routes { gap: 16px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; align-items: flex-start; }

  .gallery-page { padding-inline: 54px; }
  .gallery-nav { width: 44px; height: 60px; font-size: 2.3rem; }
  .gallery-prev { left: 12px; }
  .gallery-next { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
