/* ==========================================================================
   Kidd's Exterior Solutions — Royse City, TX
   Design system: graphite + bone + cure-amber. Concrete "control joint" motif.
   Native scroll only. No animation libraries. CSS transform/opacity motion,
   driven by one IntersectionObserver (js/site.js).

   THEMING LAW: every band declares its own --bg/--fg/--fg-mute/--accent-text/
   --line/--card. Components NEVER hardcode a colour — they read those tokens.
   That is what keeps light bands legible and dark bands consistent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* palette */
  --ink:        #0C0E10;
  --ink-2:      #14171A;
  --ink-3:      #1D2126;
  --ink-4:      #272C32;
  --bone:       #F3F0EA;
  --paper:      #F6F4EF;
  --sand:       #E9E3D8;
  --amber:      #E07B26;
  --amber-lite: #F09A45;
  --amber-deep: #A0490C;

  /* default (DARK) theme tokens — overridden per band */
  --bg:          var(--ink);
  --fg:          var(--bone);
  --fg-mute:     #9DA4AB;
  --accent:      var(--amber);
  --accent-text: var(--amber-lite);
  --line:        rgba(243, 240, 234, .13);
  --line-soft:   rgba(243, 240, 234, .07);
  --card:        #14171A;
  --card-2:      #1D2126;
  --field:       rgba(243, 240, 234, .05);
  --shadow:      0 24px 60px -28px rgba(0, 0, 0, .85);

  /* type */
  --display: "Chivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --body:    "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* rhythm */
  --wrap:      1240px;
  --gutter:    clamp(20px, 5vw, 56px);
  --band-y:    clamp(72px, 10vw, 132px);
  --radius:    3px;
  --radius-lg: 5px;

  /* motion */
  --ease: cubic-bezier(.22, .72, .28, 1);
}

/* LIGHT bands (paper) */
.light {
  --bg:          var(--paper);
  --fg:          #12151A;
  --fg-mute:     #575D65;
  --accent:      var(--amber);
  --accent-text: var(--amber-deep);
  --line:        rgba(12, 14, 16, .14);
  --line-soft:   rgba(12, 14, 16, .07);
  --card:        #FFFFFF;
  --card-2:      #EFEBE3;
  --field:       #FFFFFF;
  --shadow:      0 22px 48px -26px rgba(12, 14, 16, .34);
}

/* SAND bands (warm concrete paper) */
.sandy {
  --bg:          var(--sand);
  --fg:          #12151A;
  --fg-mute:     #555B62;
  --accent:      var(--amber);
  --accent-text: var(--amber-deep);
  --line:        rgba(12, 14, 16, .16);
  --line-soft:   rgba(12, 14, 16, .08);
  --card:        #F7F4EE;
  --card-2:      #DFD8CB;
  --field:       #FFFFFF;
  --shadow:      0 22px 48px -26px rgba(12, 14, 16, .3);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--ink-3); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 900;
  margin: 0;
  letter-spacing: -.022em;
  line-height: 1.03;
  text-wrap: balance;
}

p { margin: 0; }
p + p { margin-top: 1.05em; }

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }

ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

hr { border: 0; margin: 0; }

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: var(--radius);
  transition: top .18s var(--ease);
}
.skip:focus { top: 12px; }

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

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES  (all horizontal centring lives here)
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-tight { max-width: 900px; }
.wrap-mid   { max-width: 1080px; }

.band {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--band-y);
}
.band-sm { padding-block: clamp(52px, 6.5vw, 88px); }

/* faint vertical "control joint" hairlines on wide bands */
.band.joints::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--line-soft) 50%, transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent calc(16% - 1px), var(--line-soft) 16%, transparent calc(16% + 1px)),
    linear-gradient(90deg, transparent calc(84% - 1px), var(--line-soft) 84%, transparent calc(84% + 1px));
}
@media (max-width: 800px) { .band.joints::before { display: none; } }

/* NOTE: align-items MUST stay `stretch` here. With `start`, a grid item only
   grows to its content height, which ends the containing block for any
   `.side-sticky` inside it — the sticky panel then un-sticks immediately and
   leaves a dead column. */
.split {
  display: grid;
  gap: clamp(36px, 5vw, 76px);
  align-items: stretch;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left  { grid-template-columns: 1.18fr .82fr; }
  .split.wide-right { grid-template-columns: .82fr 1.18fr; }
}

.stack-sm > * + * { margin-top: 14px; }
.stack   > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 36px; }

.side-sticky { position: sticky; top: 108px; }
@media (max-width: 899px) { .side-sticky { position: static; } }

/* --------------------------------------------------------------------------
   4. TYPE COMPONENTS
   -------------------------------------------------------------------------- */
.d1 {
  font-size: clamp(2.75rem, 8.4vw, 6.1rem);
  line-height: .93;
  letter-spacing: -.035em;
  font-weight: 900;
}
.d2 {
  font-size: clamp(2rem, 4.9vw, 3.7rem);
  line-height: 1.0;
  letter-spacing: -.03em;
}
.d3 {
  font-size: clamp(1.4rem, 2.5vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -.024em;
}
.d4 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 800;
}

.accent { color: var(--accent-text); }

.kicker {
  font-family: var(--display);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.kicker.center { justify-content: center; }

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.55;
  color: var(--fg);
  max-width: 62ch;
}
.tiny { font-size: .92rem; color: var(--fg-mute); }
.muted { color: var(--fg-mute); }

.sep { color: var(--accent-text); font-weight: 700; padding-inline: .45em; }

.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: inline; } }

/* section intro block */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5.5vw, 72px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { margin-top: 18px; color: var(--fg-mute); }
.sec-head.center .kicker { justify-content: center; }

/* control-joint rule — the signature separator */
.joint {
  height: 3px;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 28px, transparent 28px 40px);
  position: relative;
}
.joint::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: clamp(70px, 12vw, 150px);
  height: 3px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   5. BUTTONS + LINKS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: #150C04;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.0rem;
  letter-spacing: -.01em;
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover {
  --btn-bg: var(--amber-lite);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(224, 123, 38, .9);
}
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: color-mix(in srgb, var(--fg) 38%, transparent);
}
.btn-ghost:hover {
  --btn-bg: color-mix(in srgb, var(--fg) 10%, transparent);
  --btn-fg: var(--fg);
  border-color: var(--fg);
  box-shadow: none;
}

.btn-sm { min-height: 46px; padding: 11px 20px; font-size: .95rem; }

/* over a photo hero the ghost button needs its own ground to stand on */
.hero .btn-ghost,
.page-hero .btn-ghost,
.bleed .btn-ghost,
.cta .btn-ghost {
  --btn-bg: rgba(12, 14, 16, .5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-color: rgba(243, 240, 234, .5);
}
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.bleed .btn-ghost:hover,
.cta .btn-ghost:hover { --btn-bg: rgba(12, 14, 16, .74); border-color: var(--bone); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn-row.center { justify-content: center; }
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* text link with an animated joint underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  color: var(--accent-text);
  text-decoration: none;
  padding-block: 6px;
  min-height: 44px;
  align-self: flex-start;
}
.tlink::after {
  content: "→";
  transition: transform .22s var(--ease);
  font-family: var(--body);
}
.tlink:hover::after { transform: translateX(6px); }
.tlink span.rule {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.inline-link { color: var(--accent-text); font-weight: 600; }

/* --------------------------------------------------------------------------
   6. HEADER + NAV
   -------------------------------------------------------------------------- */
.sentinel { display: block; height: 1px; }

/* must sit ABOVE .mnav (z 95) or the open sheet buries its own close button */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .28s var(--ease), border-color .28s var(--ease),
              backdrop-filter .28s var(--ease);
  padding-top: env(safe-area-inset-top);
}
.hdr.stuck {
  background: rgba(12, 14, 16, .93);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: rgba(243, 240, 234, .12);
}

.hdr-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bone);
  margin-right: auto;
  min-height: 48px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink-2);
  border: 1px solid rgba(243, 240, 234, .18);
  border-radius: 2px;
  font-family: var(--display);
  font-weight: 900;
  font-size: .84rem;
  letter-spacing: -.02em;
  color: var(--bone);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%;
  bottom: 7px;
  height: 3px;
  background: var(--amber);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.06; }
.brand-txt b {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.brand-txt span {
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #9DA4AB;
  font-weight: 600;
  margin-top: 3px;
}

.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: block; }
  .nav ul { display: flex; align-items: center; gap: 4px; }
  .nav a {
    display: block;
    padding: 10px 13px;
    font-size: .93rem;
    font-weight: 600;
    color: #C9CDD2;
    text-decoration: none;
    border-radius: var(--radius);
    transition: color .16s var(--ease), background .16s var(--ease);
  }
  .nav a:hover { color: var(--bone); background: rgba(243, 240, 234, .07); }
  .nav a[aria-current="page"] { color: var(--amber-lite); }
}

.hdr-cta { display: none; }
@media (min-width: 720px) { .hdr-cta { display: inline-flex; } }

.burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid rgba(243, 240, 234, .22);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bone);
  transition: transform .24s var(--ease), opacity .16s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1060px) { .burger { display: none; } }

/* mobile nav sheet */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  padding: calc(90px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
.mnav.open { opacity: 1; transform: none; pointer-events: auto; }
.mnav[hidden] { display: none; }
.mnav ul { border-top: 1px solid var(--line); }
.mnav li { border-bottom: 1px solid var(--line); }
/* scoped to `nav` — an unscoped `.mnav a` also hits the .btn links in the
   sheet footer and turns them into left-aligned space-between rows */
.mnav nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 2px;
  min-height: 56px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -.025em;
  color: var(--bone);
  text-decoration: none;
}
.mnav nav a span {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--amber);
  font-weight: 700;
}
.mnav nav a[aria-current="page"] { color: var(--amber-lite); }
.mnav-foot { display: grid; gap: 12px; margin-top: 30px; }

/* --------------------------------------------------------------------------
   7. HERO — centred full-bleed money shot (hero layout law)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(600px, 90svh, 940px);
  margin-top: -74px;
  padding-top: calc(74px + env(safe-area-inset-top));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 62%;
  transform-origin: 58% 60%;
  animation: kenburns 34s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.2%, -1.6%, 0); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,14,16,.88) 0%, rgba(12,14,16,.50) 30%, rgba(12,14,16,.68) 70%, rgba(12,14,16,.96) 100%),
    radial-gradient(122% 80% at 50% 60%, rgba(12,14,16,.16) 0%, rgba(12,14,16,.82) 100%);
}

.hero-in {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(90px, 14vw, 150px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(243, 240, 234, .26);
  border-radius: 999px;
  background: rgba(12, 14, 16, .42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 26px;
  text-wrap: balance;
}
/* the second half of the badge would wrap to three lines at 390px */
.pill-more { display: none; }
@media (min-width: 760px) { .pill-more { display: inline; } }
.pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
  box-shadow: 0 0 0 4px rgba(224, 123, 38, .22);
}
.pill .sep { padding-inline: .3em; }

.hero h1 { color: var(--bone); text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }

.hero-sub {
  margin-top: 26px;
  max-width: 62ch;
  font-size: clamp(1.04rem, 1.75vw, 1.28rem);
  line-height: 1.55;
  color: #DEDAD2;
}

.hero-trust {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(243, 240, 234, .18);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C6C9CD;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  margin: 0;
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(243, 240, 234, .55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.4); opacity: .5; transform-origin: top; }
  50%      { transform: scaleY(1);  opacity: 1;  transform-origin: top; }
}
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* interior page hero */
.page-hero {
  position: relative;
  margin-top: -74px;
  padding-top: calc(150px + env(safe-area-inset-top));
  padding-bottom: clamp(56px, 8vw, 96px);
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
}
.page-hero .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero .page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.04);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,14,16,.92) 0%, rgba(12,14,16,.7) 44%, rgba(12,14,16,.96) 100%),
    linear-gradient(90deg, rgba(12,14,16,.6) 0%, rgba(12,14,16,.1) 62%, rgba(12,14,16,.35) 100%);
}
.page-hero h1 { color: var(--bone); max-width: 18ch; }
.page-hero .hero-sub { margin-inline: 0; color: #DCD8D0; }
/* Scoped hard — a bare .crumb rule loses to page-level colour tokens. */
.page-hero .crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #B9BEC4;
}
.page-hero .crumb a { color: #B9BEC4; text-decoration: none; }
.page-hero .crumb a:hover { color: var(--amber-lite); }
.page-hero .crumb span[aria-current] { color: var(--amber-lite); }

/* --------------------------------------------------------------------------
   8. MARQUEE STRIP
   -------------------------------------------------------------------------- */
.marq {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 17px;
  --marq-speed: 42s;
}
.marq-track { display: flex; width: max-content; animation: marq var(--marq-speed) linear infinite; }
.marq ul { display: flex; align-items: center; }
.marq li {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(.86rem, 1.4vw, 1.05rem);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #B4BAC0;
  white-space: nowrap;
  padding-inline: 4px;
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marq:hover .marq-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   9. FACTS LIST
   -------------------------------------------------------------------------- */
.facts { border-top: 1px solid var(--line); }
.facts > div {
  display: grid;
  grid-template-columns: minmax(96px, 30%) 1fr;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--accent-text);
  padding-top: 3px;
}
.facts dd { font-size: .98rem; line-height: 1.45; }
.facts dd a { color: var(--fg); font-weight: 600; }

.quote-block {
  margin-top: 34px;
  padding: 26px 28px;
  border-left: 3px solid var(--accent);
  background: var(--card-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.4;
  letter-spacing: -.015em;
}
.quote-block cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. NUMBERED SERVICE ROWS  (the editorial spine of the site)
   -------------------------------------------------------------------------- */
.rows { display: grid; gap: clamp(56px, 8vw, 116px); }

.row {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  .row { grid-template-columns: 1.05fr .95fr; }
  .row:nth-child(even) .row-media { order: 2; }
}

.row-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-2);
  box-shadow: var(--shadow);
}
.row-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.row:hover .row-media img { transform: scale(1.035); }
.row-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.row-body { display: flex; flex-direction: column; align-items: flex-start; }

.row-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: .8;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--fg) 26%, transparent);
  margin-bottom: 14px;
  display: block;
}
.row-body h3 { margin-bottom: 14px; }
.row-body > p { color: var(--fg-mute); max-width: 52ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--fg-mute);
  background: var(--card-2);
}
.row-body .tlink { margin-top: 22px; }

/* --------------------------------------------------------------------------
   11. HORIZONTAL RAIL (secondary services)
   -------------------------------------------------------------------------- */
.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.rail-head .sec-head { margin-bottom: 0; }
.rail-nav { display: none; gap: 10px; flex: none; }
/* arrows only matter while the rail is an actual horizontal scroller */
@media (min-width: 900px) and (max-width: 1099.98px) { .rail-nav { display: flex; } }
.rail-nav button {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.rail-nav button:hover { background: var(--card-2); border-color: var(--accent); }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 78vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
@media (min-width: 700px) { .rail { grid-auto-columns: minmax(290px, 42vw); } }
/* At desktop widths stop scrolling sideways and lay the cards out as a wrapping
   grid — a column rail with a 290px minimum overflows the wrap and clips the
   last card. */
@media (min-width: 1100px) {
  .rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
    gap: 18px;
    overflow-x: visible;
    padding-bottom: 0;
  }
}

.unit {
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.unit:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-3px); }
.unit-shot { position: relative; background: var(--card-2); }
.unit-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.unit-tag {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 11px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.unit-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.unit-body p { font-size: .95rem; color: var(--fg-mute); }
.unit-body ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.unit-body ul li {
  font-size: .78rem;
  color: var(--fg-mute);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   12. THE SPEC — sticky panel + cure spine (signature scroll moment)
   -------------------------------------------------------------------------- */
.spec { display: grid; gap: clamp(40px, 5vw, 72px); align-items: stretch; }
@media (min-width: 980px) { .spec { grid-template-columns: .86fr 1.14fr; } }

.spec-stick .spec-figure {
  margin-top: 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.spec-stick .spec-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.steps { position: relative; padding-left: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding-block: clamp(24px, 3.4vw, 38px);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 620px) { .step { grid-template-columns: 96px 1fr; gap: 30px; } }

.step-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: color-mix(in srgb, var(--fg) 24%, transparent);
  transition: color .5s var(--ease);
}
.step.on .step-n { color: var(--accent-text); }

/* the amber "cure spine" that fills in as each step reveals */
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .75s var(--ease);
}
.step.on::before { transform: scaleY(1); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--fg-mute); max-width: 56ch; }
.step-note {
  margin-top: 12px;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* --------------------------------------------------------------------------
   13. FULL-BLEED ATMOSPHERE BAND
   -------------------------------------------------------------------------- */
.bleed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(88px, 12vw, 168px);
  color: var(--bone);
  --fg: var(--bone);
  --fg-mute: #C3C7CC;
  --accent-text: var(--amber-lite);
  --line: rgba(243, 240, 234, .2);
  background: var(--ink);
}
.bleed-media { position: absolute; inset: 0; z-index: -2; }
.bleed-media img { width: 100%; height: 100%; object-fit: cover; }
.bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(12,14,16,.96) 0%, rgba(12,14,16,.86) 46%, rgba(12,14,16,.6) 100%);
}
.bleed-in { max-width: 760px; }
.bleed-in h2 { color: var(--bone); }

.runlist {
  margin-top: 30px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(.86rem, 1.4vw, 1.02rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 2;
  color: #C6CACE;
}

/* --------------------------------------------------------------------------
   14. REVIEWS CAROUSEL (real reviews only)
   -------------------------------------------------------------------------- */
.rev-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84vw, 430px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.rev {
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: .08em;
}
.rev blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--fg);
}
.rev figcaption {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.rev figcaption b {
  font-family: var(--display);
  font-weight: 800;
  font-size: .98rem;
}
.rev figcaption span { font-size: .8rem; color: var(--fg-mute); }

.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
  font-size: .92rem;
  color: var(--fg-mute);
}
.rating-line b {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--fg);
  letter-spacing: -.03em;
}

/* --------------------------------------------------------------------------
   15. DECISION / COMPARE BLOCK
   -------------------------------------------------------------------------- */
.compare { display: grid; gap: 18px; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; gap: 22px; } }

.comp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 38px);
}
.comp-card.alt { border-top-color: color-mix(in srgb, var(--fg) 38%, transparent); }
.comp-card h3 { margin-bottom: 18px; }
.comp-card ul { display: grid; gap: 12px; }
.comp-card li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: .98rem;
  color: var(--fg-mute);
  line-height: 1.5;
}
.comp-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}
.comp-card.alt li::before { background: color-mix(in srgb, var(--fg) 40%, transparent); }

/* --------------------------------------------------------------------------
   16. SERVICE AREA
   -------------------------------------------------------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area-grid li {
  background: var(--bg);
  padding: 15px 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: -.01em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.area-grid li:hover { background: var(--card-2); color: var(--accent-text); }

.area-fig {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-2);
}
.area-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.area-fig figcaption {
  padding: 15px 18px;
  font-size: .87rem;
  color: var(--fg-mute);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 2px;
  min-height: 58px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  letter-spacing: -.015em;
  list-style: none;
  color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .26s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--accent-text); }
.faq .ans { padding: 0 2px 24px; max-width: 68ch; }
.faq .ans p { color: var(--fg-mute); }

/* --------------------------------------------------------------------------
   18. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.6vw, 40px);
  box-shadow: var(--shadow);
}
.form-card > * + * { margin-top: 18px; }

.grid-2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.field .req { color: var(--accent-text); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 1rem;
  font-family: var(--body);
  transition: border-color .18s var(--ease), background .18s var(--ease);
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--fg-mute) 78%, transparent); }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: color-mix(in srgb, var(--fg) 32%, transparent); }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 26%, transparent); }
.field input[type="date"] { min-height: 52px; }

.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.checks { display: grid; gap: 8px; }
@media (min-width: 520px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .93rem;
  background: var(--field);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.checks label:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.checks input {
  width: 20px; height: 20px;
  accent-color: var(--amber);
  flex: none;
  margin: 0;
}
.checks label:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--amber) 12%, var(--field));
}

.form-note { font-size: .88rem; color: var(--fg-mute); text-align: center; }
.form-note a { color: var(--accent-text); font-weight: 600; }

.form-msg {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .95rem;
  line-height: 1.5;
  border: 1px solid var(--line);
}
.form-msg.show { display: block; }
.form-msg.ok  { border-color: color-mix(in srgb, var(--amber) 60%, transparent); background: color-mix(in srgb, var(--amber) 12%, transparent); color: var(--fg); }
.form-msg.err { border-color: color-mix(in srgb, var(--fg) 34%, transparent); background: color-mix(in srgb, var(--fg) 7%, transparent); color: var(--fg); }

.contact-lines { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-lines > * {
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  gap: 6px 16px;
  padding: 16px 18px;
  background: var(--bg);
  text-decoration: none;
  color: var(--fg);
  min-height: 56px;
  transition: background .18s var(--ease);
}
.contact-lines a:hover { background: var(--card-2); }
.contact-lines .k {
  font-family: var(--display);
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--accent-text);
  flex: none;
  min-width: 74px;
}
.contact-lines .v { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
/* keep the label column aligned so a long value (payment methods) doesn't drop
   below its key while the shorter rows stay inline */
@media (min-width: 460px) {
  .contact-lines > * { grid-template-columns: 88px 1fr; }
}

/* --------------------------------------------------------------------------
   19. CTA BAND + FOOTER + DOCK
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  --fg: var(--bone);
  --fg-mute: #C3C7CC;
  --accent-text: var(--amber-lite);
  padding-block: clamp(74px, 10vw, 130px);
  text-align: center;
}
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12,14,16,.93), rgba(12,14,16,.84));
}
.cta h2 { color: var(--bone); }
.cta .lede { margin-inline: auto; margin-top: 20px; color: #D6D2CA; }

.ftr {
  background: var(--ink);
  color: #C4C8CC;
  border-top: 1px solid rgba(243, 240, 234, .12);
  padding-block: clamp(56px, 7vw, 84px) 0;
  font-size: .95rem;
}
.ftr-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 720px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ftr-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }

.ftr-brand .brand { margin-bottom: 18px; }
.ftr-brand p { color: #9DA4AB; max-width: 40ch; font-size: .93rem; }
.ftr h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber-lite);
  margin-bottom: 18px;
}
.ftr ul { display: grid; gap: 2px; }
.ftr ul a,
.ftr ul span {
  display: block;
  padding: 7px 0;
  min-height: 38px;
  color: #C4C8CC;
  text-decoration: none;
  transition: color .16s var(--ease);
}
.ftr ul a:hover { color: var(--amber-lite); }

.ftr-bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(243, 240, 234, .1);
  font-size: .85rem;
  color: #8D949B;
}
.ftr-bot a { color: #8D949B; text-decoration: none; }
.ftr-bot a:hover { color: var(--amber-lite); }

/* mobile sticky call dock */
.dock {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 14, 16, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(243, 240, 234, .14);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.dock.on { transform: none; }
.dock .btn { min-height: 50px; padding: 12px 14px; font-size: .93rem; }
@media (min-width: 860px) { .dock { display: none; } }
/* reserve the dock's height so it never covers the last line of the footer */
@media (max-width: 859px) { body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* --------------------------------------------------------------------------
   20. REVEAL MOTION
   -------------------------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.rv.on { opacity: 1; transform: none; will-change: auto; }
.rv-2 { transition-delay: .1s; }
.rv-3 { transition-delay: .2s; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: scale(1.04); }
  .marq-track { animation: none; }
  .step::before { transform: scaleY(1); }
}

/* --------------------------------------------------------------------------
   21. UTILITIES
   -------------------------------------------------------------------------- */
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 22px; }
.mt-lg { margin-top: 34px; }
.center { text-align: center; }
.maxw-60 { max-width: 60ch; }

@media print {
  .hdr, .mnav, .dock, .scroll-cue, .marq { display: none !important; }
  body { background: #fff; color: #000; }
}
