/* ==========================================================================
   BRANDYWINE BLINDS — "ONYX"
   Dark, cinematic, luxury-architectural concept.
   Fraunces (high-contrast display serif) + Manrope (grotesk body).
   Single metallic accent: warm brass.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --onyx:       #0a0a0b;
  --onyx-2:     #101012;
  --onyx-3:     #16161a;
  --onyx-4:     #1d1d22;
  --hairline:   rgba(214, 191, 148, 0.14);
  --hairline-2: rgba(255, 255, 255, 0.07);

  /* Type */
  --ivory:      #ece7dd;
  --ivory-dim:  #b7b2a7;
  --ivory-faint:#8a867d;

  /* Brass accent */
  --brass:      #c6a15b;
  --brass-hi:   #e8cd93;
  --brass-lo:   #8f713a;
  --brass-ink:  #14100a;

  /* Type scale */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Manrope", "Segoe UI", -apple-system, sans-serif;

  /* Rhythm */
  --container:  1180px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);
  --section-y:  clamp(5rem, 11vw, 9.5rem);
  --radius:     4px;
  --radius-lg:  10px;

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lux:   cubic-bezier(0.65, 0.05, 0.36, 1);
  --dur:        0.9s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; font-weight: 400; }

p { margin: 0 0 1rem; }

a { color: var(--brass-hi); text-decoration: none; }
a:hover { color: var(--brass); }

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

/* The hidden attribute must always win, even over display:grid/flex rules */
[hidden] { display: none !important; }

::selection { background: var(--brass); color: var(--brass-ink); }

/* Focus — visible, elegant */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--brass);
  color: var(--brass-ink);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 0; color: var(--brass-ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Scroll progress hairline ---------- */
.progress-line {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 130;
  background: linear-gradient(90deg, var(--brass-lo), var(--brass), var(--brass-hi));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.7rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
              background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
  will-change: transform;
}

.btn-lg { --btn-pad-y: 1.05rem; --btn-pad-x: 2.2rem; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* Brass primary — with a slow sheen sweep on hover */
.btn-brass {
  background: linear-gradient(135deg, var(--brass-hi) 0%, var(--brass) 42%, var(--brass-lo) 100%);
  color: var(--brass-ink);
  box-shadow: 0 10px 30px -12px rgba(198, 161, 91, 0.55);
}
.btn-brass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-lux);
  pointer-events: none;
}
.btn-brass:hover, .btn-brass:focus-visible { color: var(--brass-ink); box-shadow: 0 16px 44px -12px rgba(198, 161, 91, 0.7); }
.btn-brass:hover::after, .btn-brass:focus-visible::after { transform: translateX(120%); }

/* Ghost / hairline */
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--hairline);
  color: var(--ivory);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--brass);
  color: var(--brass-hi);
  background: rgba(198, 161, 91, 0.07);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
              backdrop-filter 0.45s var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 88px;
  transition: height 0.45s var(--ease-out);
}

/* Condensed on scroll */
.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--hairline);
}
.site-header.is-scrolled .header-inner { height: 66px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ivory);
}
.brand:hover { color: var(--ivory); }
.brand-mark { display: inline-flex; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}
.brand-text small {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.2rem;
}

.primary-nav ul {
  display: flex;
  gap: 2.2rem;
  margin: 0; padding: 0;
  list-style: none;
}
.primary-nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ivory-dim);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease-out);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease-lux);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--ivory); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.header-phone:hover { color: var(--brass-hi); }
.header-phone svg { color: var(--brass); }

.btn-header { --btn-pad-y: 0.72rem; --btn-pad-x: 1.4rem; font-size: 0.76rem; }

/* Hamburger — two elegant lines */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  padding: 0 8px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-lux), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* ==========================================================================
   HERO — full-bleed cinematic
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  /* Graceful gradient fallback shows even before/without the image */
  background:
    radial-gradient(120% 90% at 78% 20%, rgba(198, 161, 91, 0.20) 0%, transparent 55%),
    radial-gradient(100% 100% at 20% 90%, rgba(58, 48, 32, 0.5) 0%, transparent 60%),
    linear-gradient(160deg, #17150f 0%, #0a0a0b 65%);
}

.hero-img {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.92) contrast(1.04);
  transform-origin: 60% 40%;
}

/* Slow Ken Burns drift */
.js .hero-img { animation: kenburns 34s var(--ease-out) both alternate infinite; }
@keyframes kenburns {
  from { transform: scale(1)     translate3d(0, 0, 0); }
  to   { transform: scale(1.09)  translate3d(-1.6%, -1.2%, 0); }
}

/* Cinematic grade over the photo */
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.62) 42%, rgba(10,10,11,0.18) 75%, rgba(10,10,11,0.42) 100%),
    linear-gradient(to top, var(--onyx) 0%, transparent 26%);
}

/* Faint louver stripes — light through blinds */
.hero-louvers {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    173deg,
    transparent 0 46px,
    rgba(232, 205, 147, 0.045) 46px 60px
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(5, 5, 6, 0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(6rem, 12vh, 9rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
}
.kicker-rule {
  display: inline-block;
  width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  flex: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10.5vw, 8.2rem);
  font-weight: 340;
  font-variation-settings: "opsz" 144;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin-bottom: 2.4rem;
  max-width: 12ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 320;
  color: transparent;
  background: linear-gradient(115deg, var(--brass-hi) 10%, var(--brass) 55%, var(--brass-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.06em; /* keep italic overhang from clipping */
}

/* Line-mask reveal (JS adds .is-in) */
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
.js [data-hero] { opacity: 0; }
.js [data-hero].is-in { opacity: 1; transition: opacity 0.7s var(--ease-out); }
.js .hero-title .line > span { transform: translateY(112%); }
.js .hero-title .line.is-in > span {
  transform: translateY(0);
  transition: transform 1.15s var(--ease-lux);
}

.hero-lede {
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ivory-dim);
  margin-bottom: 2.6rem;
}
.hero-lede strong { color: var(--ivory); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.8rem;
  margin: 0; padding: 1.4rem 0 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
  max-width: 46rem;
  font-size: 0.86rem;
  color: var(--ivory-dim);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-trust strong { color: var(--ivory); }
.stars { color: var(--brass); letter-spacing: 0.18em; font-size: 0.8rem; }
.hero-trust .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--brass);
  display: inline-block;
}

/* Scroll cue */
.hero-scrollcue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--ivory-faint);
}
.hero-scrollcue:hover { color: var(--brass); }
.cue-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.cue-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  overflow: hidden;
  position: relative;
}
.js .cue-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--brass-hi));
  animation: cuedrip 2.4s var(--ease-lux) infinite;
}
@keyframes cuedrip {
  0%   { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ==========================================================================
   STAT BAR
   ========================================================================== */
.statbar {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--onyx-2);
}
.statbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2.4rem 1.6rem;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--hairline-2); }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 0.45rem;
  font-variant-numeric: lining-nums;
}
.stat-star { color: var(--brass); font-size: 0.6em; vertical-align: 0.35em; margin-left: 0.15em; }
.stat-sup { font-size: 0.55em; vertical-align: 0.5em; color: var(--brass); }
.stat span:not(.stat-star):not(.stat-sup) {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
}

/* ==========================================================================
   SECTIONS — shared editorial head
   ========================================================================== */
.section { padding-block: var(--section-y); position: relative; }

.section-head {
  max-width: 46rem;
  margin: 0 auto 4.5rem;
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ivory-faint);
  padding-right: 0.9rem;
  border-right: 1px solid var(--hairline);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin-bottom: 1.4rem;
}
.section-head h2 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(115deg, var(--brass-hi), var(--brass) 60%, var(--brass-lo));
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.06em;
}

.section-sub {
  font-size: 1.02rem;
  color: var(--ivory-dim);
  line-height: 1.8;
  margin: 0;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(198, 161, 91, 0.05) 0%, transparent 70%),
    var(--onyx);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease-out), border-color 0.6s var(--ease-out),
              box-shadow 0.6s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.35);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(198, 161, 91, 0.08);
}

.service-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  /* Fallback if the photo fails: brass-lit gradient */
  background:
    radial-gradient(90% 90% at 70% 20%, rgba(198, 161, 91, 0.22), transparent 60%),
    linear-gradient(160deg, #1c1a14, #101012);
}
.service-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.55), transparent 55%);
  pointer-events: none;
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.95);
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-lux), filter 1.1s var(--ease-lux);
}
.service-card:hover .service-media img {
  transform: scale(1.09);
  filter: brightness(0.95) saturate(1.02);
}

.service-index {
  position: absolute;
  right: 1.1rem; bottom: 0.7rem;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: rgba(232, 205, 147, 0.8);
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.8rem 1.8rem 1.9rem;
}
.service-body h3 {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: 1.42rem;
  letter-spacing: 0.005em;
  color: var(--ivory);
  margin-bottom: 0.7rem;
}
.service-body p {
  font-size: 0.92rem;
  color: var(--ivory-dim);
  line-height: 1.72;
  margin-bottom: 1.4rem;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.card-link .arrow { transition: transform 0.4s var(--ease-out); }
.card-link:hover { color: var(--brass-hi); }
.card-link:hover .arrow { transform: translateX(6px); }

/* CTA card */
.service-card--cta {
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(198, 161, 91, 0.22), transparent 55%),
    linear-gradient(165deg, #1a1712, var(--onyx-3));
  border-color: rgba(198, 161, 91, 0.28);
  justify-content: center;
}
.service-card--cta .service-body { padding: 2.4rem 2rem; }
.cta-card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.service-card--cta h3 { font-size: 1.65rem; line-height: 1.25; }
.service-card--cta .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   WHY
   ========================================================================== */
.why { background: var(--onyx-2); border-block: 1px solid var(--hairline-2); }

.why-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.photo-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
  /* fallback */
  background:
    radial-gradient(80% 60% at 70% 25%, rgba(198, 161, 91, 0.25), transparent 65%),
    linear-gradient(160deg, #1d1a13, #0e0e10);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(232, 205, 147, 0.22);
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}
.photo-frame img {
  width: 100%; height: 118%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.95);
  will-change: transform;
}

.photo-tag {
  position: absolute;
  left: 1.6rem; bottom: 1.6rem;
  right: 1.6rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.1rem 1.3rem;
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.photo-tag-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--brass-hi);
  line-height: 1.1;
}
.photo-tag-label { font-size: 0.8rem; color: var(--ivory-dim); letter-spacing: 0.04em; }

.why-list { display: grid; gap: 0; margin-top: 0.5rem; }
.why-list li {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--hairline-2);
}
.why-list li:last-child { border-bottom: 1px solid var(--hairline-2); }

.why-num {
  flex: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brass);
  padding-top: 0.2rem;
  min-width: 2.2rem;
}
.why-list h3 {
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 1.22rem;
  color: var(--ivory);
  margin-bottom: 0.35rem;
}
.why-list p { font-size: 0.92rem; color: var(--ivory-dim); margin: 0; line-height: 1.7; }

/* ==========================================================================
   BRANDS MARQUEE
   ========================================================================== */
.brands {
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--hairline-2);
  background: var(--onyx);
  overflow: hidden;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 3.4rem;
  white-space: nowrap;
  will-change: transform;
}
.js .marquee-track { animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
  transition: color 0.4s;
}
.marquee-track span:hover { color: var(--brass-hi); }
.marquee-track i {
  font-style: normal;
  color: var(--brass);
  font-size: 1.1rem;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  background:
    radial-gradient(60% 45% at 50% 100%, rgba(198, 161, 91, 0.05), transparent 70%),
    var(--onyx);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--hairline);
}
.process-step {
  position: relative;
  padding: 2.6rem 1.8rem 0.6rem 0;
  margin-right: 1.8rem;
}
.process-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 1.1s var(--ease-lux) 0.15s;
}
.process-step.is-visible::before, html:not(.js) .process-step::before { width: 100%; }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 205, 147, 0.55);
  margin-bottom: 1.3rem;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 1.24rem;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}
.process-step p { font-size: 0.9rem; color: var(--ivory-dim); line-height: 1.7; margin: 0; }

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */
.areas { background: var(--onyx-2); border-block: 1px solid var(--hairline-2); }

.areas-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.areas-list { margin-top: 0.5rem; }
.areas-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--hairline-2);
  transition: padding-left 0.4s var(--ease-out), border-color 0.4s;
}
.areas-list li:last-child { border-bottom: 1px solid var(--hairline-2); }
.areas-list li:hover { padding-left: 0.7rem; border-top-color: rgba(198, 161, 91, 0.3); }
.areas-list strong {
  font-family: var(--font-display);
  font-weight: 430;
  font-size: 1.12rem;
  color: var(--ivory);
  white-space: nowrap;
}
.areas-list span {
  font-size: 0.82rem;
  color: var(--ivory-faint);
  text-align: right;
  line-height: 1.55;
}

/* Middletown spotlight — the brass moment */
.areas-spotlight {
  position: sticky;
  top: 110px;
  padding: 2.6rem 2.4rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(130% 110% at 90% -10%, rgba(198, 161, 91, 0.28), transparent 55%),
    linear-gradient(165deg, #1c1811, var(--onyx-3));
  border: 1px solid rgba(198, 161, 91, 0.35);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.areas-spotlight::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(232, 205, 147, 0.14);
  border-radius: 5px;
  pointer-events: none;
}

.spotlight-flag {
  display: inline-block;
  margin: 0 0 1.3rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-ink);
  background: linear-gradient(120deg, var(--brass-hi), var(--brass));
  border-radius: 2px;
}
.areas-spotlight h3 {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.12;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.areas-spotlight h3 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(115deg, var(--brass-hi), var(--brass));
  -webkit-background-clip: text;
  background-clip: text;
}
.areas-spotlight > p:not(.spotlight-flag) { font-size: 0.95rem; color: var(--ivory-dim); line-height: 1.75; }
.areas-spotlight p.spotlight-flag { color: var(--brass-ink); line-height: 1.5; }
.areas-spotlight strong { color: var(--ivory); }

.spotlight-points { margin: 1.4rem 0 1.9rem; display: grid; gap: 0.65rem; }
.spotlight-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--ivory-dim);
}
.spotlight-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews { background: var(--onyx); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.review-card {
  position: relative;
  margin: 0;
  padding: 2.6rem 2.1rem 2.2rem;
  background: linear-gradient(170deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}
.review-card:hover { transform: translateY(-5px); border-color: rgba(198, 161, 91, 0.3); }

.review-mark {
  position: absolute;
  top: 0.4rem; right: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(198, 161, 91, 0.16);
  pointer-events: none;
}
.review-card .stars { display: block; margin-bottom: 1.2rem; }
.review-card blockquote { margin: 0 0 1.6rem; }
.review-card blockquote p {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ivory);
  margin: 0;
}
.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline-2);
}
.review-card figcaption strong { font-size: 0.9rem; color: var(--ivory); letter-spacing: 0.02em; }
.review-card figcaption span { font-size: 0.76rem; color: var(--ivory-faint); letter-spacing: 0.05em; }

.reviews-note {
  margin: 2.6rem 0 0;
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
  font-style: italic;
}

/* ==========================================================================
   QUOTE
   ========================================================================== */
.quote {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}
.quote-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 80% 20%, rgba(198, 161, 91, 0.10), transparent 60%),
    var(--onyx-2);
}
.quote-backdrop img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(0.7) brightness(0.8);
}
.quote-backdrop::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--onyx) 8%, rgba(10,10,11,0.72) 55%, rgba(10,10,11,0.55) 100%);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.quote-copy h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  color: var(--ivory);
  margin-bottom: 1.4rem;
}
.quote-copy h2 em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(115deg, var(--brass-hi), var(--brass) 60%, var(--brass-lo));
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.06em;
}
.quote-lede { font-size: 1rem; color: var(--ivory-dim); line-height: 1.8; margin-bottom: 1.8rem; }
.quote-lede a { font-weight: 700; white-space: nowrap; }

.quote-points { display: grid; gap: 0.7rem; }
.quote-points li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.92rem;
  color: var(--ivory-dim);
}
.quote-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 0.85rem; height: 1px;
  background: var(--brass);
}
.quote-points strong { color: var(--ivory); }

/* The form — dark glass panel */
.quote-form {
  position: relative;
  padding: 2.6rem 2.4rem 2.4rem;
  background: rgba(16, 16, 18, 0.72);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9);
}
.quote-form::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 205, 147, 0.6), transparent);
}

.form-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--ivory);
  margin-bottom: 1.8rem;
}

.field { margin-bottom: 1.2rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 0.5rem;
}
.req { color: var(--brass); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c6a15b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select option { background: var(--onyx-3); color: var(--ivory); }

.field input::placeholder,
.field textarea::placeholder { color: rgba(183, 178, 167, 0.4); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(198, 161, 91, 0.05);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.14);
}

/* Inline validation */
.field.is-invalid input { border-color: #b0563f; background: rgba(176, 86, 63, 0.07); }
.field-error {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: #d98a72;
}

.quote-form .btn-block { margin-top: 0.6rem; }
.form-fineprint {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ivory-faint);
}

/* Success state */
.form-success {
  text-align: center;
  padding: 2.4rem 0.5rem 1rem;
}
.form-success:focus { outline: none; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px; height: 74px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  color: var(--brass-ink);
  background: linear-gradient(135deg, var(--brass-hi), var(--brass) 60%, var(--brass-lo));
  box-shadow: 0 18px 45px -14px rgba(198, 161, 91, 0.65);
}
.js .form-success:not([hidden]) .success-icon { animation: popIn 0.7s var(--ease-lux) both; }
@keyframes popIn {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.js .success-check {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: drawCheck 0.55s var(--ease-out) 0.35s forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ivory);
  margin-bottom: 0.8rem;
}
.form-success p { color: var(--ivory-dim); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  border-top: 1px solid var(--hairline);
  background:
    radial-gradient(80% 130% at 50% 130%, rgba(198, 161, 91, 0.16), transparent 60%),
    var(--onyx);
  overflow: hidden;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band-text {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  color: var(--ivory);
  margin: 0;
  max-width: 22ch;
}
.cta-band-text em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(115deg, var(--brass-hi), var(--brass));
  -webkit-background-clip: text;
  background-clip: text;
}
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #070708;
  border-top: 1px solid var(--hairline);
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.brand--footer .brand-text strong { font-size: 1.08rem; }
.footer-tag {
  margin: 1.2rem 0 1.6rem;
  font-size: 0.88rem;
  color: var(--ivory-faint);
  line-height: 1.7;
  max-width: 26ch;
}

.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--hairline-2);
  border-radius: 50%;
  color: var(--ivory-dim);
  transition: border-color 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.footer-social a:hover {
  border-color: var(--brass);
  color: var(--brass-hi);
  transform: translateY(-3px);
}

.footer-col h3 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.3rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--brass-hi); padding-left: 0.35rem; }

.footer-contact address { font-style: normal; }
.footer-contact p { font-size: 0.88rem; color: var(--ivory-dim); line-height: 1.8; }
.footer-contact strong { color: var(--ivory); }
.footer-hours { font-size: 0.82rem; color: var(--ivory-faint); }
.footer-hours-note { font-style: italic; font-size: 0.74rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--hairline-2);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--ivory-faint);
}
.footer-partners { color: rgba(138, 134, 125, 0.75); }

/* ==========================================================================
   MOBILE CALL BAR
   ========================================================================== */
.mobile-callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 110;
  display: none;
  gap: 0.7rem;
  padding: 0.7rem calc(0.9rem + env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) calc(0.9rem + env(safe-area-inset-left));
  background: rgba(10, 10, 11, 0.85);
  border-top: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-callbar .btn { flex: 1; --btn-pad-y: 0.8rem; font-size: 0.78rem; }

/* ==========================================================================
   SCROLL REVEAL (JS-gated so no-JS users see everything)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-lux);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .process-step { border-top: 1px solid var(--hairline); margin-top: -1px; }
  .process-grid { border-top: 0; }
}

@media (max-width: 920px) {
  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(21rem, 84vw);
    padding: 7.2rem 2.4rem 2.4rem;
    background: rgba(12, 12, 14, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--hairline);
    transform: translateX(102%);
    transition: transform 0.55s var(--ease-lux);
    z-index: 115;
  }
  .primary-nav.is-open { transform: translateX(0); box-shadow: -40px 0 80px rgba(0,0,0,0.6); }
  .primary-nav ul { flex-direction: column; gap: 1.6rem; }
  .primary-nav a { font-size: 1rem; letter-spacing: 0.22em; }

  .nav-toggle { display: flex; z-index: 120; }
  .header-phone span { display: none; }
  .btn-header { display: none; }

  .why-grid, .areas-grid, .quote-grid { grid-template-columns: 1fr; }
  .why-media { order: 2; }
  .photo-frame { aspect-ratio: 4 / 3; }
  .areas-spotlight { position: static; }
  .statbar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.8rem 1rem; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--hairline-2); }
}

@media (max-width: 640px) {
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { margin-right: 0; padding-right: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-bottom { flex-direction: column; }
  .hero-scrollcue { display: none; }
  .hero-actions .btn { width: 100%; }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 72px; } /* room for call bar */
  .cta-band-text { max-width: none; }
  .quote-form { padding: 2rem 1.4rem; }
}

/* ==========================================================================
   REDUCED MOTION — everything settles instantly
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .hero-img { animation: none; }
  .js .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js [data-hero] { opacity: 1; }
  .js .hero-title .line > span { transform: none; }
  .process-step::before { width: 100%; }
  .photo-frame img { transform: none !important; }
}
