/* Horizon Fix Design System — shared tokens & components
   Extracted from horizonfix.com (real CSS tokens, real logo SVG, real photography), 2026-05-08.
   Stack: Next.js 15 + Tailwind v4 — bundled via `chunks/71dd4e75....css`.
   Brand: Horizon Fix — South Shore Massachusetts multi-trade home services contractor.
          HVAC + plumbing + electrical + masonry + handyman + painting + roofing + siding
          + home renovations — 24/7 dispatch, "no job too small."
   Audience: residential homeowners across Quincy → Plymouth, MA — homeowners who want one
             phone number for the whole house instead of nine specialist Rolodex entries.
   Voice: "Always on call." / "No job too small." / "Quick response times." / "Your trusted
          handyman & home service experts." / "Expert tradespeople." / "Free consultation."
   Signature visual: the rising-sun logo mark — a 16-ray sun with an 8-stop fiery gradient
                    (red-orange → gold → amber). Reinterpreted across the system as the
                    "Sunrise Bar" — a 4px gradient line above section titles. */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ----------------------------------------------------------------
     COLOR — extracted directly from `assets/horizon-fix-brand/logo-light.svg`
     (the SVG defs hold the canonical sun gradient + wordmark fills) and from
     the live `chunks/71dd4e75....css` (Tailwind v4 `--color-*` declarations).

     The signature move: Horizon Fix's identity isn't a single brand color —
     it's a SUNRISE GRADIENT. The 8-stop ladder runs from red-orange at the
     top of the sun disc through gold at the middle to amber at the bottom.
     The flat orange `#ED5521` is the wordmark "FIX" color and the canonical
     primary-CTA orange. The flat orange `#FC9732` is the sun-ray fill.

     The slate `#1e293b` (Tailwind slate-800) is the secondary ground —
     used for headings, footer, and the 24/7 emergency strip. The combination
     creates the "warm sunrise + capable slate" pairing that defines the brand.
  ---------------------------------------------------------------- */

  /* PRIMARY — the FIX orange wordmark + primary CTAs */
  --brand: #ED5521;             /* THE Horizon Fix orange — extracted from logo "FIX" */
  --brand-deep: #B8401A;        /* derived darken — hover, emphasis */
  --brand-soft: #F7841E;        /* derived lighten — sun-mid family */
  --brand-darker: #8C2F12;      /* deepest — emphasis, footer ribbon */
  --brand-pale: #FCE7DC;        /* derived pale — surface tint */
  --brand-tint: #FEF3EB;        /* paler — large background washes */

  /* SUN-RAY — flat orange used on all 16 rays of the logo mark */
  --ray: #FC9732;
  --ray-soft: #FDB670;

  /* SUN-GRADIENT — verbatim 8-stop ladder from logo SVG defs */
  --sun-1: #EF4136;             /* top of disc — red-orange */
  --sun-2: #F15A29;
  --sun-3: #F79034;
  --sun-4: #FBB03B;             /* mid — gold */
  --sun-5: #FBAE39;
  --sun-6: #FAA732;
  --sun-7: #F89C27;
  --sun-8: #F7931E;             /* bottom of disc — amber */

  /* INK / SLATE — Tailwind slate ladder, captured from live CSS */
  --ink-pure: #000000;
  --ink-deep: #0f172a;          /* slate-900 — deepest */
  --ink: #1e293b;               /* slate-800 — primary heading (live: 5 occ.) */
  --ink-soft: #475569;          /* slate-600 — body */
  --ink-mid: #64748b;           /* slate-500 — meta */
  --ink-quiet: #94a3b8;         /* slate-400 — quiet */
  --ink-muted: #cbd5e1;         /* slate-300 — disabled */

  /* BACKGROUNDS */
  --bg: #ffffff;
  --bg-pure: #ffffff;
  --bg-soft: #f8fafc;           /* slate-50 — neutral surface */
  --bg-warm: #fef9f4;            /* derived warm cream — sun-paired sections */
  --bg-cream: #fef3eb;            /* warmer cream — testimonial / mission */
  --bg-pale-orange: #fef3eb;
  --bg-slate: #0f172a;           /* footer ground + emergency strip */
  --bg-charcoal: #1e293b;
  --surface-gray: #f2f2f2;       /* live --color value (5 occ.) */

  /* BORDER + RULE */
  --border: #e5e7eb;             /* live: --color-gray-200 */
  --border-soft: #f3f4f6;        /* live: --color-gray-100 */
  --border-warm: #fadcc6;        /* derived warm divider for sun-paired sections */
  --rule: #1e293b;

  /* ACCENT — the deep red used VERY sparingly for emergency flags */
  --alert: #811d1d;
  --alert-soft: #fb2c36;          /* live --color-red-500 */

  /* CANONICAL GRADIENTS */
  --grad-sunrise: linear-gradient(180deg,
    #EF4136 0%, #F15A29 28%, #F79034 48%,
    #FBB03B 63%, #FBAE39 84%, #FAA732 92%,
    #F89C27 97%, #F7931E 100%);

  --grad-sunrise-h: linear-gradient(90deg,
    #EF4136 0%, #F15A29 28%, #F79034 48%,
    #FBB03B 63%, #FBAE39 84%, #FAA732 92%,
    #F89C27 97%, #F7931E 100%);

  --grad-hero-scrim: linear-gradient(180deg,
    rgba(15,23,42,0) 35%,
    rgba(15,23,42,0.45) 65%,
    rgba(15,23,42,0.85) 100%);

  --grad-warm-fade: linear-gradient(180deg, #ffffff 0%, #fef9f4 100%);

  /* TYPE — Manrope display + Inter body (free Google Fonts substitutes for the
     Tailwind system-ui default the live site ships with). Manrope is a
     geometric humanist sans with slightly warmer terminals than Inter,
     pairs naturally with the warm-sun palette without going playful. */
  --font-display: 'Manrope', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --text-display: clamp(2.75rem, 5vw + 1rem, 5rem);
  --text-h1: clamp(2.25rem, 4vw + 0.75rem, 3.75rem);
  --text-h2: clamp(1.75rem, 2.5vw + 0.875rem, 2.75rem);
  --text-h3: 1.5rem;
  --text-h4: 1.25rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-meta: 0.875rem;
  --text-eyebrow: 0.6875rem;

  /* RADIUS — modest. Live site uses 6px (--radius-md) and 8px (--radius-lg).
     We lean a touch friendlier on CTAs (12px) but keep cards calm at 8px. */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* SHADOWS — directional, warm */
  --shadow-card: 0 1px 2px rgba(15,23,42,0.06), 0 4px 12px rgba(15,23,42,0.04);
  --shadow-card-hover: 0 12px 32px rgba(237,85,33,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-cta: 0 6px 16px rgba(237,85,33,0.32);
  --shadow-cta-hover: 0 12px 28px rgba(237,85,33,0.40);
  --shadow-sticky: 0 1px 0 rgba(15,23,42,0.05), 0 4px 16px rgba(15,23,42,0.06);

  /* MOTION */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-base: 240ms;
  --t-slow: 380ms;

  /* SPACING (rem-based for fluid scaling) */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
}

/* =============================================================== RESET =============================================================== */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

/* =============================================================== TYPOGRAPHY =============================================================== */

.display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.display { font-size: var(--text-display); line-height: 1.02; }
.h1 { font-size: var(--text-h1); }
.h2 { font-size: var(--text-h2); line-height: 1.1; letter-spacing: -0.018em; }
.h3 { font-size: var(--text-h3); font-weight: 700; line-height: 1.2; letter-spacing: -0.012em; }
.h4 { font-size: var(--text-h4); font-weight: 700; line-height: 1.3; letter-spacing: -0.008em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin: 0;
}
.eyebrow.muted { color: var(--ink-mid); }
.eyebrow.with-bar::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  margin-right: 10px;
  vertical-align: middle;
}

.lede {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 60ch;
}
.lede-lg {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
.muted { color: var(--ink-mid); }
.text-center { text-align: center; }
.maxw-prose { max-width: 60ch; margin-inline: auto; }

.color-brand { color: var(--brand); }
.color-deep { color: var(--brand-deep); }
.color-ink { color: var(--ink); }
.color-ray { color: var(--ray); }
.color-alert { color: var(--alert); }

/* THE wordmark pattern — `<span class="wordmark"><span class="hz">HORIZON</span> <span class="fx">FIX</span></span>` */
.wordmark { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
.wordmark .hz { color: var(--ink); }
.wordmark .fx { color: var(--brand); }
.wordmark.on-dark .hz { color: #ffffff; }

/* =============================================================== SUNRISE BAR — the signature horizontal-rule motif =============================================================== */

.sunrise-bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--grad-sunrise-h);
  width: 56px;
  margin-bottom: 1rem;
}
.sunrise-bar.lg { height: 6px; width: 96px; }
.sunrise-bar.full { width: 100%; height: 4px; border-radius: 0; }
.sunrise-bar.center { margin-inline: auto; }

.gloss-rule {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}
.hr { border: 0; height: 1px; background: var(--border); margin: 0; }
.hr-thick { border: 0; height: 2px; background: var(--ink); margin: 0; }
.hr-orange { border: 0; height: 4px; background: var(--grad-sunrise-h); border-radius: 999px; margin: 0; }

/* =============================================================== LAYOUT =============================================================== */

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
.container.narrow { max-width: 960px; }
.container.wide { max-width: 1440px; }

.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section.tight { padding-block: clamp(2rem, 4vw, 4rem); }
.section.bg-soft { background: var(--bg-soft); }
.section.bg-warm { background: var(--bg-warm); }
.section.bg-cream { background: var(--bg-cream); }
.section.bg-slate { background: var(--bg-slate); color: #ffffff; }
.section.bg-slate .h1, .section.bg-slate .h2, .section.bg-slate .h3, .section.bg-slate .h4, .section.bg-slate .display { color: #ffffff; }
.section.bg-slate .lede { color: rgba(255,255,255,0.78); }
.section.bg-slate .eyebrow { color: var(--ray); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 64ch; }
.section-head.center { margin-inline: auto; text-align: center; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

.row-2col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 880px) { .row-2col { grid-template-columns: 1fr; } }

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.spacer { height: var(--space-2xl); }
.spacer-lg { height: var(--space-4xl); }

/* =============================================================== BUTTONS =============================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 0.85rem; border-radius: var(--radius-md); }
.btn-lg { padding: 18px 28px; font-size: 1rem; border-radius: var(--radius-lg); }

/* Primary — solid Horizon orange, sunrise-fill on hover (signature hover) */
.btn-accent {
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}
.btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-sunrise);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  z-index: 0;
}
.btn-accent > * { position: relative; z-index: 1; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta-hover); }
.btn-accent:hover::before { opacity: 1; }

.btn-dark {
  background: var(--ink);
  color: #ffffff;
}
.btn-dark:hover { background: var(--ink-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: var(--ray); color: var(--ray); }

.btn-text {
  background: transparent;
  padding: 6px 0;
  color: var(--brand);
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.btn-text:hover { border-bottom-color: var(--brand); }

.btn .arrow { display: inline-block; transition: transform var(--t-base) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =============================================================== CARDS =============================================================== */

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  transition: border-color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.card:hover {
  border-color: var(--brand-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* The Service Tile — signature 3×3 grid pattern, photo + icon + label */
.service-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand);
}
.service-tile .photo {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--surface-gray);
  overflow: hidden;
}
.service-tile .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}
.service-tile:hover .photo img { transform: scale(1.05); }
.service-tile .photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,23,42,0.45) 100%);
}
.service-tile .body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.service-tile .icon-chip {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-warm);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: -32px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--bg);
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}
.service-tile .icon-chip svg { width: 22px; height: 22px; }
.service-tile h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
.service-tile p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.service-tile .more {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-tile:hover .more { color: var(--brand-deep); }

.tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.bio-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
}
.bio-card .avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-warm);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}
.bio-card .name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 0; }
.bio-card .role { font-size: 0.82rem; color: var(--ink-mid); margin: 4px 0 12px; }

.case-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.case-card .photo { aspect-ratio: 4/3; overflow: hidden; }
.case-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.case-card .body { padding: 1.25rem; }

.insight-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.pricing-tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 12px;
}
.pricing-tier.featured {
  background: var(--bg-warm);
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  position: relative;
}
.pricing-tier.featured::before {
  content: 'MOST CALLED';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ink);
  color: var(--ray);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 12px;
  border-radius: 999px;
}
.pricing-tier .price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.pricing-tier .price small { font-size: 0.85rem; font-weight: 500; color: var(--ink-mid); margin-left: 4px; }

/* =============================================================== HEROES =============================================================== */

.hero-photo {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  background: var(--bg-slate);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo > .photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-photo > .photo::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-hero-scrim);
}
.hero-photo > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(4rem, 8vw, 6rem);
}
.hero-photo .display, .hero-photo .h1 { color: #ffffff; max-width: 22ch; }
.hero-photo .lede { color: rgba(255,255,255,0.85); max-width: 52ch; }
.hero-photo .eyebrow { color: var(--ray); }
.hero-photo::after {
  /* The Sunrise bottom-bar — pinned 6px gradient as horizon line */
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--grad-sunrise-h);
  z-index: 3;
}

.hero-centered {
  background: var(--bg-warm);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.hero-centered .display { max-width: 18ch; margin-inline: auto; }
.hero-centered .lede { margin-inline: auto; max-width: 52ch; }

.page-hero {
  background: var(--bg-slate);
  color: #ffffff;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
  position: relative;
}
.page-hero .h1 { color: #ffffff; }
.page-hero .lede { color: rgba(255,255,255,0.78); }
.page-hero .eyebrow { color: var(--ray); }
.page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--grad-sunrise-h);
}

/* =============================================================== HEADER + 24/7 STRIP =============================================================== */

.emergency-strip {
  background: var(--bg-slate);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.emergency-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.emergency-strip .left { display: inline-flex; align-items: center; gap: 10px; }
.emergency-strip .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ray);
  box-shadow: 0 0 0 0 rgba(252, 151, 50, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(252, 151, 50, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(252, 151, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 151, 50, 0); }
}
.emergency-strip a { color: var(--ray); font-weight: 600; text-decoration: none; }
.emergency-strip a:hover { color: #ffffff; }

.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sticky);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; }
.nav .brand-mark { display: inline-flex; align-items: center; gap: 12px; }
.nav .brand-mark img { height: 32px; width: auto; }
.nav .links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.nav .links a { font-size: 0.95rem; font-weight: 500; color: var(--ink); transition: color var(--t-fast) var(--ease); }
.nav .links a:hover { color: var(--brand); }

/* =============================================================== CHIPS / BADGES =============================================================== */

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.01em;
}
.chip.dark { background: var(--ink); color: var(--ray); border-color: transparent; }
.chip.outline { background: transparent; border-color: var(--border); color: var(--ink-soft); }
.chip svg { width: 14px; height: 14px; }

.creds-strip {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

/* =============================================================== STATS =============================================================== */

.stat {
  display: flex; flex-direction: column; gap: 4px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat .label { font-size: 0.85rem; color: var(--ink-mid); font-weight: 500; }

/* =============================================================== TESTIMONIAL / PULLQUOTE =============================================================== */

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial .quote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.testimonial .quote::before { content: '"'; color: var(--brand); font-size: 1.5rem; margin-right: 4px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .author .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-warm); display: inline-flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; }
.testimonial .author .name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.testimonial .author .role { font-size: 0.78rem; color: var(--ink-mid); }

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw + 0.75rem, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
  border-left: 4px solid var(--brand);
  padding-left: 1.5rem;
  max-width: 28ch;
}

/* =============================================================== PROCESS / EXPERTISE / FAQ =============================================================== */

.process-steps { display: grid; gap: 1.5rem; }
.process-steps .step {
  display: grid; grid-template-columns: 60px 1fr; gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.process-steps .step:last-child { border-bottom: 0; }
.process-steps .step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-sunrise);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-steps .step-body h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.process-steps .step-body p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.expertise-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.expertise-matrix .cell {
  background: var(--bg);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 8px;
  transition: background var(--t-base) var(--ease);
}
.expertise-matrix .cell:hover { background: var(--bg-warm); }
.expertise-matrix .cell .icon { color: var(--brand); width: 28px; height: 28px; }
.expertise-matrix .cell .label { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.expertise-matrix .cell .meta { font-size: 0.82rem; color: var(--ink-mid); }
@media (max-width: 880px) { .expertise-matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .expertise-matrix { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq .item { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.faq .item h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.faq .item p { margin: 0; color: var(--ink-soft); }

/* =============================================================== SERVICE CHECKLIST =============================================================== */

.service-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.service-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.95rem; color: var(--ink-soft); }
.service-checklist li::before {
  content: '';
  width: 18px; height: 18px;
  margin-top: 4px;
  background: var(--grad-sunrise);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center / contain no-repeat;
  border-radius: 4px;
}

/* =============================================================== CTA BAND =============================================================== */

.cta-band {
  background: var(--bg-slate);
  color: #ffffff;
  padding: clamp(3rem, 5vw, 5rem) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--grad-sunrise);
  opacity: 0.18;
  filter: blur(40px);
  z-index: -1;
}
.cta-band::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--grad-sunrise-h);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band .display, .cta-band .h2 { color: #ffffff; max-width: 18ch; }
.cta-band .lede { color: rgba(255,255,255,0.85); }

/* =============================================================== FOOTER =============================================================== */

.footer {
  background: var(--bg-slate);
  color: rgba(255,255,255,0.78);
  padding: clamp(3rem, 5vw, 4rem) 0 1.5rem;
  position: relative;
  border-top: 4px solid transparent;
  border-image: var(--grad-sunrise-h) 1;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: #ffffff; margin: 0 0 1rem; letter-spacing: 0.01em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.72); transition: color var(--t-fast) var(--ease); }
.footer ul a:hover { color: var(--ray); }
.footer .brand-block img { height: 28px; width: auto; margin-bottom: 1rem; }
.footer .brand-block p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin: 0; max-width: 38ch; }
.footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.55); }
@media (max-width: 880px) { .footer .container { grid-template-columns: 1fr 1fr; } .footer .brand-block { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer .container { grid-template-columns: 1fr; } }

/* =============================================================== COVERAGE / AVAILABILITY =============================================================== */

.coverage-zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.coverage-zones .zone { background: var(--bg-warm); border: 1px solid var(--border-warm); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink); text-align: center; }
@media (max-width: 720px) { .coverage-zones { grid-template-columns: repeat(2, 1fr); } }

.availability { display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.availability .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }
.availability .row:last-child { border-bottom: 0; }
.availability .row .day { color: var(--ink); font-weight: 500; }
.availability .row .open { color: var(--brand); font-weight: 600; }

/* =============================================================== SOCIAL PROOF =============================================================== */

.social-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: center; opacity: 0.7; }
.social-proof .logo { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--ink-mid); text-align: center; letter-spacing: 0.04em; }
@media (max-width: 720px) { .social-proof { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================== BOOKING / PATHS =============================================================== */

.booking-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.booking-paths .path { padding: 1.5rem; background: var(--bg-warm); border: 1px solid var(--border-warm); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 12px; }
.booking-paths .path .icon { width: 48px; height: 48px; border-radius: 50%; background: #ffffff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.booking-paths .path h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--ink); }
.booking-paths .path p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
@media (max-width: 880px) { .booking-paths { grid-template-columns: 1fr; } }

/* =============================================================== BEFORE / AFTER (rare on Horizon Fix; included for completeness of the section catalog) =============================================================== */

.before-after { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-gray); }
.before-after .img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before-after .label { position: absolute; top: 12px; padding: 4px 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: #ffffff; background: rgba(15,23,42,0.7); border-radius: 999px; }
.before-after .label.left { left: 12px; }
.before-after .label.right { right: 12px; background: var(--brand); }

/* =============================================================== WORK TILE (capped — represents the case-study pattern) =============================================================== */

.work-tile { background: var(--bg); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.work-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.work-tile .photo { aspect-ratio: 4/3; overflow: hidden; }
.work-tile .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out-expo); }
.work-tile:hover .photo img { transform: scale(1.04); }
.work-tile .body { padding: 1.25rem; }
.work-tile .meta { display: inline-flex; gap: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }

/* =============================================================== DESIGN-SYSTEM PAGE CHROME (.ds-*) =============================================================== */

.ds-nav {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sticky);
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.lockup-text { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.lockup-text small { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; color: var(--ink-mid); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
.tabs { display: flex; gap: 4px; }
.tab { padding: 8px 14px; font-size: 0.85rem; font-weight: 600; color: var(--ink-mid); border-radius: var(--radius-sm); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.tab:hover { background: var(--bg-soft); color: var(--ink); }
.tab.active { background: var(--ink); color: var(--ray); }

.ds-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-warm);
}
.ds-hero .display { max-width: 18ch; margin-bottom: 1.25rem; }
.ds-hero .lede { max-width: 62ch; }

.ds-section { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--border); }
.ds-section:last-child { border-bottom: 0; }
.ds-section .head { margin-bottom: 2rem; }

/* =============================================================== SWATCHES =============================================================== */

.swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 880px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }

.swatch {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.swatch .chip-color { aspect-ratio: 1.4; }
.swatch .label { padding: 10px 12px 12px; }
.swatch .label .name { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.swatch .label .hex { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-mid); margin-top: 2px; }

/* =============================================================== TYPE SPEC =============================================================== */

.type-spec { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--border); }
.type-spec .meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-mid); }
.type-spec .meta strong { display: block; color: var(--ink); font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.type-spec .demo { color: var(--ink); }
.type-spec:last-child { border-bottom: 0; }

/* =============================================================== SECTIONS-PAGE CHROME (.sx-*) =============================================================== */

.sx-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--bg-soft); }
.sx-index { background: #ffffff; border-right: 1px solid var(--border); padding: 1.5rem 1rem; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
.sx-index h4 { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mid); margin: 1.25rem 0 0.5rem; }
.sx-index a { display: block; padding: 6px 8px; font-size: 0.85rem; color: var(--ink-soft); border-radius: var(--radius-xs); margin-bottom: 2px; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.sx-index a:hover { background: var(--bg-warm); color: var(--brand); }
.sx-main { padding: 2rem clamp(1rem, 3vw, 2.5rem); }
.sx-header { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; }
.sx-pattern { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 1.5rem; overflow: hidden; }
.sx-pattern .sx-header { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 0; padding: 1rem 1.25rem; }
.sx-pattern .sx-header h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--ink); }
.sx-pattern .sx-header .demo-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-mid); margin: 4px 0 0; }
.sx-body { padding: 0; }
.sx-demo { padding: 0; background: var(--bg); }

@media (max-width: 880px) { .sx-shell { grid-template-columns: 1fr; } .sx-index { position: relative; max-height: none; border-right: 0; border-bottom: 1px solid var(--border); } }

/* =============================================================== PAGES GALLERY =============================================================== */

.pages-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.pages-gallery .page-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.pages-gallery .page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--brand-soft); }
.pages-gallery .page-card .preview { aspect-ratio: 4/3; background: var(--surface-gray); display: flex; align-items: center; justify-content: center; color: var(--ink-mid); font-family: var(--font-mono); font-size: 0.75rem; }
.pages-gallery .page-card .meta { padding: 1rem 1.25rem; }
.pages-gallery .page-card .meta h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.pages-gallery .page-card .meta p { font-size: 0.82rem; color: var(--ink-mid); margin: 0; }
@media (max-width: 720px) { .pages-gallery { grid-template-columns: 1fr; } }

/* =============================================================== UTILITY: SX SUN-DISC ICON (small inline brand mark) =============================================================== */

.sun-disc {
  display: inline-block;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad-sunrise);
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
}
.sun-disc.lg { width: 36px; height: 36px; }
.sun-disc::after {
  /* 16-ray crown approximation */
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    var(--ray) 0deg, transparent 8deg, transparent 22.5deg,
    var(--ray) 22.5deg, transparent 30.5deg, transparent 45deg,
    var(--ray) 45deg, transparent 53deg, transparent 67.5deg,
    var(--ray) 67.5deg, transparent 75.5deg, transparent 90deg,
    var(--ray) 90deg, transparent 98deg, transparent 112.5deg,
    var(--ray) 112.5deg, transparent 120.5deg, transparent 135deg,
    var(--ray) 135deg, transparent 143deg, transparent 157.5deg,
    var(--ray) 157.5deg, transparent 165.5deg, transparent 180deg,
    var(--ray) 180deg, transparent 188deg, transparent 202.5deg,
    var(--ray) 202.5deg, transparent 210.5deg, transparent 225deg,
    var(--ray) 225deg, transparent 233deg, transparent 247.5deg,
    var(--ray) 247.5deg, transparent 255.5deg, transparent 270deg,
    var(--ray) 270deg, transparent 278deg, transparent 292.5deg,
    var(--ray) 292.5deg, transparent 300.5deg, transparent 315deg,
    var(--ray) 315deg, transparent 323deg, transparent 337.5deg,
    var(--ray) 337.5deg, transparent 345.5deg, transparent 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 50%, black 51%);
          mask: radial-gradient(circle, transparent 50%, black 51%);
  z-index: -1;
}

/* =============================================================== SPARKLE / MISC =============================================================== */

.sparkle::before { content: '✦'; color: var(--brand); margin-right: 6px; }

/* =============================================================== MOTION REDUCE =============================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .pulse-dot { animation: none; }
}
