/* =========================================================================
   Custom Roofing by Mark Bruno
   Editorial-trade. Honest typography. Cream + charcoal + warm slate blue.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */

:root {
  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (varied, not uniform) */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  /* Radius — restrained, tactile */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Light theme — cream paper */
  --bg: oklch(0.97 0.012 80);          /* warm cream */
  --bg-elevated: oklch(0.99 0.008 80);
  --bg-inset: oklch(0.93 0.014 78);
  --surface: oklch(0.98 0.01 80);
  --ink: oklch(0.21 0.018 250);        /* deep charcoal-blue */
  --ink-muted: oklch(0.42 0.012 250);
  --ink-faint: oklch(0.58 0.008 250);
  --line: oklch(0.86 0.012 80);
  --line-strong: oklch(0.78 0.014 80);
  --accent: oklch(0.45 0.06 245);      /* warm slate blue */
  --accent-strong: oklch(0.38 0.07 245);
  --accent-soft: oklch(0.92 0.025 245);
  --accent-ink: oklch(0.99 0.005 80);  /* text-on-accent */
  --highlight: oklch(0.82 0.13 75);    /* warm amber for tiny marks */

  /* Shadows — restrained, warm */
  --shadow-sm: 0 1px 2px oklch(0.21 0.018 250 / 0.06);
  --shadow-md: 0 8px 24px -10px oklch(0.21 0.018 250 / 0.18), 0 2px 6px oklch(0.21 0.018 250 / 0.06);
  --shadow-lg: 0 24px 60px -20px oklch(0.21 0.018 250 / 0.28);
  --shadow-inset: inset 0 1px 0 oklch(0.99 0.005 80 / 0.6);

  /* Container */
  --container: 1240px;
  --container-narrow: 880px;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.16 0.014 250);              /* deep night charcoal */
    --bg-elevated: oklch(0.19 0.014 250);
    --bg-inset: oklch(0.13 0.014 250);
    --surface: oklch(0.21 0.014 250);
    --ink: oklch(0.95 0.008 80);              /* warm cream type */
    --ink-muted: oklch(0.75 0.008 80);
    --ink-faint: oklch(0.58 0.008 80);
    --line: oklch(0.28 0.012 250);
    --line-strong: oklch(0.38 0.014 250);
    --accent: oklch(0.72 0.08 245);           /* lifted slate blue */
    --accent-strong: oklch(0.82 0.09 245);
    --accent-soft: oklch(0.26 0.04 245);
    --accent-ink: oklch(0.16 0.014 250);
    --highlight: oklch(0.78 0.14 75);

    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
    --shadow-md: 0 8px 24px -10px oklch(0 0 0 / 0.55), 0 2px 6px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 24px 60px -20px oklch(0 0 0 / 0.7);
    --shadow-inset: inset 0 1px 0 oklch(0.95 0.008 80 / 0.05);

    color-scheme: dark;
  }
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */

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

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

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

/* -------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}

h1 { font-size: clamp(2.4rem, 5.6vw + 0.5rem, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw + 0.6rem, 3.2rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1vw + 0.9rem, 1.6rem); letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; font-weight: 600; }

p { margin: 0; max-width: 70ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lead {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* -------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow { max-width: var(--container-narrow); }

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

section { position: relative; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease-out-quart), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s var(--ease-out-quart);
  will-change: transform;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--accent-strong);
  color: var(--accent-ink);
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--accent-strong);
}

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

.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.1rem 2rem; font-size: 1.04rem; }

.btn--block { width: 100%; }

.btn .arr {
  display: inline-block;
  transition: transform 0.4s var(--ease-out-quart);
}
.btn:hover .arr { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in oklch, var(--bg) 94%, transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow-sm);
}

.brand__name { display: none; line-height: 1; }
.brand__name strong { font-weight: 600; }
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

@media (min-width: 540px) { .brand__name { display: block; } }

.nav {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.8rem;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--ink); }

.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

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

.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.header-phone:hover { background: var(--bg-inset); color: var(--accent-strong); }
.header-phone svg { width: 16px; height: 16px; flex-shrink: 0; }

.header-cta {
  display: none;
}

@media (min-width: 880px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .header-phone { display: inline-flex; }
}

/* Mobile call button — always shows */
.header-phone--mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}
.header-phone--mobile svg { width: 14px; height: 14px; }

@media (min-width: 880px) {
  .header-phone--mobile { display: none; }
}

/* Hamburger */
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.2s ease;
}
.menu-toggle:hover { background: var(--bg-inset); }
.menu-toggle svg { width: 18px; height: 18px; }

@media (min-width: 880px) {
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  z-index: 49;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out-quart), opacity 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__inner {
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mobile-nav a:last-of-type { border-bottom: none; }

.mobile-nav__cta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
  }
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero__badge .est {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.hero__sub {
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.18rem);
  color: var(--ink-muted);
  max-width: 36ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}

@media (min-width: 980px) {
  .hero__media {
    aspect-ratio: 4 / 5.4;
  }
}

.hero__media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.6s var(--ease-out-quart);
}

/* parallax handled in JS */

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, oklch(0.16 0.014 250 / 0.55) 100%),
    radial-gradient(60% 80% at 80% 10%, transparent 0%, oklch(0.16 0.014 250 / 0.25) 100%);
  pointer-events: none;
}

.hero__stamp {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.hero__stamp .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.65 0.18 145);
  box-shadow: 0 0 0 4px oklch(0.65 0.18 145 / 0.18);
  animation: pulse 2.4s var(--ease-out-quart) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* trust bar */
.trust-bar {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

@media (min-width: 640px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-bar__item strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.trust-bar__item span {
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------------
   Section header (shared)
   ------------------------------------------------------------------------- */

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  position: relative;
}

.section--tight { padding: clamp(2.5rem, 4vw, 4rem) 0; }

.section--inset {
  background: var(--bg-inset);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 3rem;
  max-width: 720px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__head h2 .em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* -------------------------------------------------------------------------
   Services
   ------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.service {
  position: relative;
  padding: 1.75rem 1.75rem 1.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  isolation: isolate;
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-quart);
  z-index: -1;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.service:hover::before { opacity: 1; }

.service__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.service__icon svg { width: 22px; height: 22px; }

.service h3 { margin-bottom: 0.15rem; }

.service p {
  font-size: 0.97rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.service__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.service__link .arr { transition: transform 0.3s var(--ease-out-quart); }
.service:hover .service__link .arr { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   Why choose us (editorial block)
   ------------------------------------------------------------------------- */

.why {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 980px) {
  .why {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 5rem;
  }
}

.why__intro h2 {
  margin-bottom: 1rem;
}

.why__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.why__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.why__item h3 {
  margin-bottom: 0.4rem;
}

.why__item p {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   Gallery preview
   ------------------------------------------------------------------------- */

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-preview {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-preview__item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-inset);
}

.gallery-preview__item:nth-child(3n+1) { aspect-ratio: 4 / 5; }
.gallery-preview__item:nth-child(3n+2) { aspect-ratio: 1 / 1; transform: translateY(-12px); }
.gallery-preview__item:nth-child(3n+3) { aspect-ratio: 4 / 5; }

@media (max-width: 767px) {
  .gallery-preview__item:nth-child(3n+2) { transform: none; }
}

.gallery-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-quart);
}

.gallery-preview__item:hover img { transform: scale(1.04); }

.gallery-preview__cap {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.35rem 0.6rem;
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  font-size: 0.74rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-quart);
}

.gallery-preview__item:hover .gallery-preview__cap {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* -------------------------------------------------------------------------
   Reviews
   ------------------------------------------------------------------------- */

.reviews {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.review {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: grid;
  gap: 1rem;
  transition: transform 0.5s var(--ease-out-quart), box-shadow 0.5s var(--ease-out-quart);
}

.review:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--highlight);
}

.review__stars svg { width: 16px; height: 16px; }

.review__quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 80, "WONK" 0;
}

.review__quote::before {
  content: "“";
  font-size: 2.5rem;
  line-height: 0;
  color: var(--accent);
  margin-right: 0.15rem;
  vertical-align: -0.32em;
}

.review__attribution {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.review__name { font-weight: 600; color: var(--ink); }

.review__divider {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

/* -------------------------------------------------------------------------
   Process
   ------------------------------------------------------------------------- */

.process {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.process__step {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}

.process__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.process__step .step-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  display: block;
}

.process__step h3 { margin-bottom: 0.6rem; }

.process__step p {
  font-size: 0.97rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   Service area
   ------------------------------------------------------------------------- */

.service-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .service-area {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 4rem;
  }
}

.service-area__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-area__chip {
  padding: 0.55rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
  transition: background 0.2s ease, transform 0.4s var(--ease-out-quart), border-color 0.2s ease;
}

.service-area__chip:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   Final CTA band
   ------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--ink);
  color: oklch(0.97 0.012 80);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 20% 10%, oklch(0.45 0.06 245 / 0.4) 0%, transparent 60%),
    radial-gradient(50% 60% at 85% 90%, oklch(0.45 0.06 245 / 0.25) 0%, transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  text-align: center;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.cta-band .kicker { color: oklch(0.72 0.08 245); }

.cta-band h2 {
  color: oklch(0.97 0.012 80);
  max-width: 14ch;
  margin: 0 auto;
}

.cta-band h2 .em {
  font-style: italic;
  color: oklch(0.85 0.13 75);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.cta-band p {
  color: oklch(0.85 0.012 80);
  max-width: 48ch;
}

.cta-band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.cta-band .btn--primary {
  background: oklch(0.97 0.012 80);
  color: oklch(0.21 0.018 250);
}

.cta-band .btn--primary:hover {
  background: oklch(0.85 0.13 75);
  color: oklch(0.21 0.018 250);
}

.cta-band .btn--ghost {
  border-color: oklch(0.97 0.012 80 / 0.4);
  color: oklch(0.97 0.012 80);
}

.cta-band .btn--ghost:hover {
  background: oklch(0.97 0.012 80);
  color: oklch(0.21 0.018 250);
  border-color: oklch(0.97 0.012 80);
}

.cta-band__phone {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: oklch(0.97 0.012 80);
}

.cta-band__phone a {
  color: inherit;
  border-bottom: 1px solid oklch(0.97 0.012 80 / 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.cta-band__phone a:hover {
  color: oklch(0.85 0.13 75);
  border-color: oklch(0.85 0.13 75);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--bg-inset);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.site-footer__brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 36ch;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer__list a {
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s ease;
}
.site-footer__list a:hover { color: var(--accent); }

.site-footer__legal {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* -------------------------------------------------------------------------
   Sticky mobile CTA
   ------------------------------------------------------------------------- */

.mobile-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-quart), opacity 0.3s ease;
  pointer-events: none;
}

.mobile-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-cta .btn {
  flex: 1;
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

/* -------------------------------------------------------------------------
   Page hero (interior pages)
   ------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2rem, 3vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  display: grid;
  gap: 1rem;
  max-width: 880px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw + 0.4rem, 4rem);
}

.page-hero h1 .em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.page-hero .lead {
  max-width: 60ch;
}

/* -------------------------------------------------------------------------
   About page
   ------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 980px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 5rem;
  }
}

.about-grid__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid__media::after {
  content: "Since 1990";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.9rem;
  background: var(--bg);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.about-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 60ch;
  display: grid;
  gap: 1.1rem;
}

.about-prose p { max-width: none; }

.about-prose strong { color: var(--ink); }

.values {
  margin-top: 2.5rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.values__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.values__item::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.9rem;
}

.values__item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.values__item p {
  font-size: 0.97rem;
  color: var(--ink-muted);
}

/* -------------------------------------------------------------------------
   Services page
   ------------------------------------------------------------------------- */

.service-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-page__row {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .service-page__row {
    grid-template-columns: 0.6fr 1.4fr 1fr;
    gap: 3rem;
  }
}

.service-page__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.service-page__body h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 1rem;
}

.service-page__body p {
  font-size: 1.02rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.service-page__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.service-page__body li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.97rem;
  color: var(--ink);
}

.service-page__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.service-page__cta {
  align-self: start;
}

/* -------------------------------------------------------------------------
   Gallery full page
   ------------------------------------------------------------------------- */

.gallery-grid {
  column-count: 1;
  column-gap: 1rem;
}

@media (min-width: 540px) { .gallery-grid { column-count: 2; } }
@media (min-width: 980px) { .gallery-grid { column-count: 3; column-gap: 1.5rem; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-inset);
  position: relative;
}

@media (min-width: 980px) {
  .gallery-item { margin-bottom: 1.5rem; }
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--ease-out-quart);
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-item__cap {
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 5rem;
  }
}

.form {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) { .form { padding: 2.5rem; } }

.form__row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 540px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.field:last-of-type { margin-bottom: 1.75rem; }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--ink-muted);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.45 0.06 245 / 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}

.field--error input,
.field--error textarea {
  border-color: oklch(0.55 0.18 28);
  box-shadow: 0 0 0 3px oklch(0.55 0.18 28 / 0.15);
}

.field__error {
  font-size: 0.82rem;
  color: oklch(0.5 0.18 28);
  display: none;
  margin-top: 0.15rem;
}

.field--error .field__error { display: block; }

.form__submit {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form__submit .btn { min-width: 160px; }

.form__status {
  font-size: 0.93rem;
  color: var(--ink-muted);
  display: none;
}

.form__status.is-success {
  display: block;
  color: oklch(0.4 0.13 145);
  font-weight: 500;
}

.form__status.is-error {
  display: block;
  color: oklch(0.5 0.18 28);
  font-weight: 500;
}

/* contact side panel */
.contact-side {
  display: grid;
  gap: 2rem;
}

.contact-call {
  padding: 1.75rem;
  background: var(--ink);
  color: oklch(0.97 0.012 80);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-call::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 100% 0%, oklch(0.45 0.06 245 / 0.5) 0%, transparent 60%);
  pointer-events: none;
}

.contact-call > * { position: relative; }

.contact-call .kicker {
  color: oklch(0.72 0.08 245);
  margin-bottom: 0.5rem;
}

.contact-call__phone {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: oklch(0.97 0.012 80);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-call p {
  font-size: 0.92rem;
  color: oklch(0.82 0.012 80);
  margin: 0;
}

.contact-info {
  display: grid;
  gap: 1.25rem;
}

.contact-info__row {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.25rem;
}

.contact-info__row:last-child { border-bottom: none; padding-bottom: 0; }

.contact-info__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-info__value {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}

.contact-info__value a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-info__value a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq__q:hover { color: var(--accent); }

.faq__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--bg-inset);
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.4s var(--ease-out-quart);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.4s var(--ease-out-quart), background 0.3s ease;
}

.faq__icon {
  position: relative;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
  transform: rotate(0deg);
}

.faq__item.is-open .faq__icon {
  background: var(--accent);
}

.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after {
  background: var(--accent-ink);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out-quart);
}

.faq__a-inner {
  padding-bottom: 1.75rem;
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 62ch;
}

.faq__item.is-open .faq__a {
  max-height: 400px;
}

/* -------------------------------------------------------------------------
   Reveal animations (intersection-observer driven)
   ------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out-quart), transform 0.9s var(--ease-out-quart);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal--stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}

.reveal--stagger.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal--stagger.is-in > *:nth-child(2) { transition-delay: 0.13s; }
.reveal--stagger.is-in > *:nth-child(3) { transition-delay: 0.21s; }
.reveal--stagger.is-in > *:nth-child(4) { transition-delay: 0.29s; }
.reveal--stagger.is-in > *:nth-child(5) { transition-delay: 0.37s; }
.reveal--stagger.is-in > *:nth-child(6) { transition-delay: 0.45s; }
.reveal--stagger.is-in > *:nth-child(7) { transition-delay: 0.53s; }
.reveal--stagger.is-in > *:nth-child(8) { transition-delay: 0.61s; }

.reveal--stagger.is-in > * {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   Utilities
   ------------------------------------------------------------------------- */

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

.skip-link {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 4px;
  z-index: 100;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

/* page-specific small offsets */
body.page--home { padding-bottom: 0; }
body { padding-bottom: 80px; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

/* font-variant tweaks for numbers in trust bar */
.trust-bar__item strong {
  font-feature-settings: "tnum" on;
}

/* Decorative roof-line divider (subtle) */
.divider-roof {
  display: block;
  width: 56px;
  height: 18px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
