/* ============================================================
   EFFORTLESS AV — Luxury Home Technology Concierge
   Design system + site styles
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from vehicle wrap + business card) */
  --blue:        #6BA8D6;   /* Effortless steel/sky blue */
  --blue-bright: #8FC1E3;
  --blue-deep:   #4A87B8;
  --taupe:       #7C776E;   /* business-card warm neutral */
  --taupe-light: #A8A29A;

  /* Tertiary accent — warm champagne gold, complements the steel blue */
  --gold:        #C9A15C;
  --gold-bright: #DDB877;

  /* Complementary orange — used to flag the "reactive / old way" */
  --orange:      #D2824A;
  --orange-line: rgba(210, 130, 74, 0.5);

  /* Dark base system */
  --ink:         #101013;   /* deepest */
  --charcoal:    #16161A;   /* page base */
  --surface:     #1D1D22;   /* elevated card */
  --surface-2:   #24242A;   /* higher card / hover */
  --line:        rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);

  /* Light section */
  --cream:       #F4F2ED;
  --cream-2:     #EAE7E0;

  /* Text */
  --text:        #F2F1EE;
  --text-muted:  #B6B3AC;
  --text-dim:    #837F78;
  --text-on-light:      #1A1A1D;
  --text-on-light-muted:#54524D;

  /* Type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Outfit", "Helvetica Neue", Arial, sans-serif;

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

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--charcoal);
  color: var(--text);
  line-height: 1.32;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.905rem;
  font-weight: 500;
  letter-spacing: 0.256em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;   /* section labels stay on one line */
}
/* emdash removed from all eyebrows */
.eyebrow::before, .eyebrow--center::after { display: none; }
.eyebrow--center { justify-content: center; }
/* the long descriptive taglines may still wrap */
.hero .eyebrow, .trust .eyebrow { white-space: normal; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }

.display {
  /* larger size again; the forced break splits the two sentences, and text-wrap
     balances each sentence's own lines (desktop = 2 lines, phones = ~3) */
  font-size: clamp(2.25rem, 4.35vw, 3.67rem);   /* mobile floor 36px; desktop unchanged */
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
}
.h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.28;
  max-width: 40ch;
}
.serif-accent { color: var(--gold-bright); font-style: italic; }
.measure { max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.096em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 0.9em; height: 0.9em; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #000; }
.btn--primary:hover { background: var(--blue-bright); box-shadow: 0 10px 30px -8px rgba(107,168,214,0.5); }
.btn--ghost { border-color: var(--text); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-bright); background: rgba(107,168,214,0.06); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   LOGO
   ============================================================ */
/* Primary logo — exact PNG artwork: blue EFFORTLESS AV, power-symbol "O", trailing wifi. */
.eav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}
/* the wordmark is only ~24px tall; extend the hit area to >=44px without
   changing layout (pure overlay, no reflow) */
.eav-logo::after { content: ""; position: absolute; inset: -10px -8px; }
.eav-logo--footer::after { inset: -6px -8px; }
.eav-logo img { display: block; width: auto; height: 1.5rem; }   /* header size */
.eav-logo--footer img { height: 2rem; }

/* ============================================================
   CURSOR GLOW — soft white spotlight following the pointer
   ============================================================ */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0);
}
.cursor-glow__dot {
  position: absolute;
  width: 165px; height: 165px;
  margin: -82.5px 0 0 -82.5px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,255,255,0.11) 0%,
    rgba(255,255,255,0.042) 34%,
    rgba(255,255,255,0) 68%);
  opacity: 0;
  transition: opacity 0.45s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}
body.cursor-active .cursor-glow__dot { opacity: 1; }
.cursor-glow.is-hot .cursor-glow__dot {
  transform: scale(1.45);
  background: radial-gradient(circle,
    rgba(255,255,255,0.16) 0%,
    rgba(255,255,255,0.06) 34%,
    rgba(255,255,255,0) 66%);
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* Custom cursor — the brand power mark (with a pointer fallback on clickables) */
@media (hover: hover) and (pointer: fine) {
  body { cursor: url('../assets/cursor.png') 16 16, auto; }
  a, button, .btn, .nav__toggle, label[for], summary, [role="button"] {
    cursor: url('../assets/cursor.png') 16 16, pointer;
  }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* logo | centered nav | actions */
  align-items: center;
  gap: 2rem;
  height: 84px;
}
.header__inner > .eav-logo { justify-self: start; }
.header__inner > .nav__actions { justify-self: end; }
.header.is-scrolled {
  background: rgba(16,16,19,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 1.9rem; justify-self: center; }
.nav__links { display: flex; align-items: center; gap: 2.6rem; list-style: none; }
.nav__links a {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  font-weight: 400;
  position: relative;
  transition: color 0.3s var(--ease);
  padding-block: 0.4rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1.4rem; }
/* The nav phone CTA uses the shared .btn.btn--primary styling (in the markup);
   .nav__phone remains only as a hook for the responsive show/hide. */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(9.4rem, 15vh, 11.5rem);
  padding-top: 120px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -9% 0;   /* overscan gives the parallax room to travel */
  z-index: -2;
  will-change: transform;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,16,19,0.62) 0%, rgba(16,16,19,0.42) 34%, rgba(16,16,19,0.52) 60%, rgba(16,16,19,0.97) 100%),
    linear-gradient(90deg, rgba(16,16,19,0.9) 0%, rgba(16,16,19,0.55) 40%, rgba(16,16,19,0.06) 75%);
}
/* full container width (matches the header) so the text's left edge anchors to
   the logo; individual elements are constrained by their own max-widths */
.hero__content { position: relative; }
.hero .display { margin-top: 1.6rem; max-width: none; }
/* the forced break (after "service,") stays on at every width — two lines exactly */
.hero__sub {
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 46ch;
  line-height: 1.44;   /* eased back up 20% from 1.2 */
}
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
/* lighter, more approachable hero CTA */
.hero__cta .btn { padding: 0.82rem 1.5rem; font-size: 0.78rem; }
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.hero__scroll .line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--blue), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollPulse { 0%,100%{transform:scaleY(0.4);opacity:0.4;} 50%{transform:scaleY(1);opacity:1;} }

/* ============================================================
   MARQUEE / brand strip
   ============================================================ */
.trust {
  border-block: 1px solid var(--line);
  background: var(--ink);
}
.trust__inner {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  padding-block: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* trust strip title: white, a touch larger, no leading dash */
/* trust title now matches the other sections' blue eyebrows (size comes from base) */
.trust .eyebrow::before { display: none; }
/* keep the label centered when it wraps to multiple lines on mobile */
.trust .eyebrow { justify-content: center; text-align: center; }
.trust__brands { display: flex; flex-wrap: wrap; gap: clamp(1.4rem,2.4vw,2.3rem); align-items: center; justify-content: center; }
.trust__brands span {
  font-size: 0.98rem;
  letter-spacing: 0.112em;
  text-transform: uppercase;
  color: var(--taupe-light);
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.trust__brands span:hover { color: var(--text); }
/* partner logos — normalized to muted white so the strip stays consistent on dark */
.trust__logo {
  height: 1.5rem;
  width: auto;
  filter: brightness(0) invert(1);   /* safety net: normalize any logo to white */
  opacity: 0.75;
  transition: opacity 0.3s var(--ease);
}
.trust__logo:hover { opacity: 1; }
/* per-logo optical balance (different marks / stroke weights) */
.trust__logo[alt="Savant"]   { height: 1.3rem; }
.trust__logo[alt="Crestron"] { height: 1.4rem; }
.trust__logo[alt="Lutron"]   { height: 1.45rem; }
.trust__logo[alt="Control4"] { height: 1.6rem; }
.trust__logo[alt="Ubiquiti"] { height: 1.95rem; }
/* phones: scale every mark ~20% (keeps the optical balance) so the six logos
   wrap to a tidy 2-per-row instead of a ragged 2/1/2/1 stack */
@media (max-width: 560px) {
  .trust__brands { gap: 1rem 1.2rem; }
  .trust__logo                 { height: 1.2rem; }
  .trust__logo[alt="Savant"]   { height: 1.05rem; }
  .trust__logo[alt="Crestron"] { height: 1.12rem; }
  .trust__logo[alt="Lutron"]   { height: 1.16rem; }
  .trust__logo[alt="Control4"] { height: 1.28rem; }
  .trust__logo[alt="Ubiquiti"] { height: 1.56rem; }
}
/* very narrow phones (SE 1st-gen ~320px): the widest pair no longer fits, so
   trim another 10% to hold the 2-per-row grid. 360px (mini) already pairs. */
@media (max-width: 345px) {
  .trust__brands { gap: 0.9rem 0.75rem; }
  .trust__logo                 { height: 1.08rem; }
  .trust__logo[alt="Savant"]   { height: 0.95rem; }
  .trust__logo[alt="Crestron"] { height: 1.01rem; }
  .trust__logo[alt="Lutron"]   { height: 1.04rem; }
  .trust__logo[alt="Control4"] { height: 1.15rem; }
  .trust__logo[alt="Ubiquiti"] { height: 1.4rem; }
}

/* ============================================================
   THE SHIFT (differentiator)
   ============================================================ */
.shift { background: var(--charcoal); }
.shift__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;   /* 60/40 — more room for the left column */
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
/* headline leads; eyebrow reads as supporting metadata, tucked close above it */
.shift__lead h2 { margin-top: 0.75rem; font-size: clamp(1.85rem, 4vw, 3rem); }
.shift__lead p { margin-top: 1.1rem; color: var(--text-muted); font-size: 1.08rem; max-width: 44ch; }
.compare { display: grid; gap: 1.1rem; }
.compare__row {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.compare__row--us { background: linear-gradient(140deg, rgba(107,168,214,0.10), rgba(29,29,34,0.6)); border-color: rgba(107,168,214,0.35); }
/* reactive / old-way row flagged with the complementary orange */
.compare__row:not(.compare__row--us) { border-color: var(--orange-line); }
.compare__row:hover { transform: translateY(-3px); }
.compare__tag {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); display: flex; align-items: center; gap: 0.6rem;
}
.compare__row--us .compare__tag { color: var(--blue); }
/* reactive card: warning sign + label in the same orange as its border */
.compare__row:not(.compare__row--us) .compare__tag { color: var(--orange); }
.compare__row h3 { font-family: var(--sans); font-weight: 400; font-size: 1.05rem; letter-spacing: -0.005em; margin-top: 0.7rem; line-height: 1.45; color: var(--text-muted); }
.compare__icon { width: 1.1rem; height: 1.1rem; }

/* ============================================================
   MEMBERSHIP (core offer)
   ============================================================ */
.membership { background: var(--ink); position: relative; }
.membership__head { max-width: 54rem; margin-bottom: clamp(3rem,6vw,4.5rem); }
.membership__head h2 { margin-top: 1.5rem; }
.membership__head p { margin-top: 1.4rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 2.4rem;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
}
.pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0; transition: opacity 0.45s;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.pillar:hover::before { opacity: 1; }
.pillar__icon {
  display: block;
  width: 2.6rem; height: 2.6rem;
  color: var(--blue);
  /* negative left pulls the glyph flush-left past the SVG's internal bearing;
     no top margin now that the number is gone — icon sits at the card top */
  margin: 0 0 1rem -0.3rem;
}
.pillar h3 { font-family: var(--sans); font-weight: 500; font-size: 1.28rem; letter-spacing: -0.01em; }
.pillar p { margin-top: 0.85rem; color: var(--text-muted); font-size: 0.98rem; }
.pillar__list { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.pillar__list li {
  font-size: 0.96rem; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.45;
}
.pillar__list svg { width: 1rem; height: 1rem; color: var(--blue); flex: none; margin-top: 0.18rem; }

.promise {
  margin-top: clamp(2.4rem,5vw,3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3.5vw, 2.4rem) clamp(2.2rem, 5vw, 3.4rem);
  background: linear-gradient(135deg, rgba(107,168,214,0.08), rgba(16,16,19,0));
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.promise__text { max-width: 40ch; }
.promise__text .h3 { font-family: var(--serif); color: var(--text); }
.promise__text p { color: var(--text-muted); margin-top: 0.7rem; }

/* ============================================================
   PHOTO BREAK (full-bleed image band between sections)
   ============================================================ */
.photo-break {
  position: relative;
  height: clamp(280px, 44vh, 480px);
  overflow: hidden;
  background: var(--ink);
}
.photo-break img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
/* soft vignette top & bottom so the band melts into the dark sections it divides */
.photo-break::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(16,16,19,0.55) 0%, rgba(16,16,19,0.12) 26%,
    rgba(16,16,19,0.12) 74%, rgba(16,16,19,0.6) 100%);
}
/* brighter images get a dimmer overlay so they sit in the same moody register */
.photo-break--dim::after {
  background: linear-gradient(180deg,
    rgba(16,16,19,0.6) 0%, rgba(16,16,19,0.33) 26%,
    rgba(16,16,19,0.33) 74%, rgba(16,16,19,0.64) 100%);
}

/* ============================================================
   WAYS TO WORK (membership vs. one-time consulting)
   ============================================================ */
.ways { background: var(--charcoal); }
.ways__head { max-width: 50rem; margin-bottom: clamp(2.5rem,5vw,3.6rem); }
.ways__head h2 { margin-top: 1.4rem; }
.ways__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.way {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 2.4rem;
  background: var(--surface);
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
}
.way:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.way__tag {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); font-weight: 500; margin-bottom: 1rem;
}
.way h3 { font-family: var(--sans); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; }
.way p { margin-top: 0.85rem; color: var(--text-muted); font-size: 1rem; flex: 1; }
.way__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.6rem; padding-block: 0.8rem;   /* >=44px tap target */
  color: var(--blue); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
  align-self: flex-start;
  transition: color 0.3s var(--ease);
}
.way__link svg { width: 0.9em; height: 0.9em; transition: transform 0.35s var(--ease); }
.way__link:hover { color: var(--blue-bright); }
.way__link:hover svg { transform: translateX(3px); }
@media (max-width: 640px) {
  .ways__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES (what we cover)
   ============================================================ */
.services { background: var(--charcoal); }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem,5vw,3.6rem); }
.services__head h2 { margin-top: 1.4rem; max-width: 18ch; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc {
  background: var(--charcoal);
  padding: 2.4rem 2rem;
  transition: background 0.4s var(--ease);
  position: relative;
}
.svc:hover { background: var(--surface); }
.svc__icon { width: 2rem; height: 2rem; color: var(--blue); }
.svc h3 { font-family: var(--sans); font-weight: 500; font-size: 1.28rem; margin-top: 0.95rem; letter-spacing: -0.005em; }
.svc p { color: var(--text-muted); font-size: 0.98rem; margin-top: 0.7rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--ink); }
.process__head { max-width: 50rem; margin-bottom: clamp(3rem,6vw,4.5rem); }
.process__head h2 { margin-top: 1.4rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.step { position: relative; padding-top: 2.2rem; }
/* one divider treatment only — a simple hairline */
.step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line-strong);
}
.step__num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--blue); }
.step h3 { font-family: var(--sans); font-weight: 500; font-size: 1.28rem; margin-top: 1rem; }
.step p { color: var(--text-muted); font-size: 0.98rem; margin-top: 0.7rem; }

/* ============================================================
   WHO IT'S FOR (image split)
   ============================================================ */
.who { background: var(--charcoal); padding: 0; }
.who__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.who__media { position: relative; min-height: 420px; overflow: hidden; }
.who__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.who__media::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(22,22,26,0.55), rgba(22,22,26,0.05)); }
.who__body { padding: var(--section-y) clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.who__body h2 { margin-top: 1.4rem; }
.who__body > p { margin-top: 1.4rem; color: var(--text-muted); max-width: 42ch; }
.who__list { list-style: none; margin-top: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; }
.who__list li {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.98rem; color: var(--text);
}
.who__list svg { width: 1.15rem; height: 1.15rem; color: var(--blue); flex: none; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--ink); border-top: 1px solid var(--line); }
.stats__head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2.6rem, 5vw, 3.6rem); }
.stats__head h2 { margin-top: 1.2rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--text); }
.stat__num .unit { color: inherit; }   /* all white — two-color hurt legibility */
.stat__label { margin-top: 0.9rem; font-size: 0.78rem; letter-spacing: 0.128em; text-transform: uppercase; color: var(--text-dim); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(16,16,19,0.9), rgba(16,16,19,0.82)); }
.cta__inner { max-width: 46rem; margin-inline: auto; }
.cta h2 { margin-top: 1.6rem; }
.cta p { margin-top: 1.4rem; color: var(--text-muted); font-size: 1.1rem; max-width: 40ch; margin-inline: auto; }
.cta__actions { margin-top: 2.6rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta__phone { margin-top: 1.8rem; font-size: 0.85rem; letter-spacing: 0.112em; text-transform: uppercase; color: var(--text-dim); }
.cta__phone a { color: var(--blue); position: relative; }
/* inline link — extend the tap area vertically without disturbing the sentence */
.cta__phone a::after { content: ""; position: absolute; inset: -11px -6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(3.5rem,7vw,5rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer__brand p { color: var(--text-muted); margin-top: 1.4rem; max-width: 30ch; font-size: 0.95rem; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.3rem; font-weight: 500; }
.footer__col ul { list-style: none; display: grid; gap: 0.1rem; }
.footer__col a, .footer__col li { color: var(--text-muted); font-size: 0.95rem; transition: color 0.3s; display: inline-flex; align-items: center; gap: 0.6rem; }
/* >=44px touch target (Apple HIG / WCAG 2.5.5) — the bare address line is
   padded to match so the list keeps an even rhythm */
.footer__col a { padding-block: 0.75rem; }
.footer__col li:not(:has(a)) { padding-block: 0.75rem; }
.footer__col a:hover { color: var(--blue); }
.footer__col svg { width: 1rem; height: 1rem; color: var(--blue); flex: none; }
.footer__bottom {
  margin-top: clamp(3rem,5vw,4rem); padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.footer__bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer__cats { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__cats span { font-size: 0.72rem; letter-spacing: 0.128em; text-transform: uppercase; color: var(--taupe-light); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
.reveal[data-delay="4"] { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; transform: scale(1); }
  .hero__bg { inset: 0; }                       /* drop the parallax overscan */
  [data-parallax] { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Large screens: the hero overlay was capping small and clustering low.
   Scale the headline, subhead and content column up so it fills the frame. */
@media (min-width: 1536px) {
  .hero .display { font-size: clamp(3.74rem, 3.91vw, 5rem); max-width: none; }
  .hero__sub { font-size: clamp(1.3rem, 1.35vw, 1.6rem); max-width: 52ch; }
  .hero { padding-bottom: clamp(11.5rem, 15vh, 15rem); }
}
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 3rem 2rem; }
  .who__grid { grid-template-columns: 1fr; }
  .who__media { min-height: 320px; }
}
/* Nav: drop the redundant phone on mid widths, then fully collapse to the
   hamburger before the wider uppercase links can crowd the CTA */
@media (max-width: 1140px) {
  /* mobile header is the logo alone — no hamburger, no nav (single-page scroll) */
  .header__inner { display: flex; justify-content: space-between; gap: 1rem; }
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav { gap: 1rem; }
}
@media (max-width: 860px) {
  .shift__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .eyebrow { font-size: 0.8rem; }   /* keep section labels on one line on small phones */
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .who__list { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .promise { flex-direction: column; align-items: flex-start; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  /* hero CTA: full width on mobile */
  .hero__cta { justify-content: center; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  /* final CTA: both buttons identical size, stacked */
  .cta__actions { flex-direction: column; align-items: center; }
  .cta__actions .btn { width: 100%; max-width: 22rem; justify-content: center; }
}
