/* ============================================================
   Overhead Door Co of Vancouver — corporate site
   Translated from _handoff/design_handoff_ohdvan_website/styles.css
   System per design brief: Modern Industrial
   Graphite #1A1D1F · Signal Red #D9372A · Concrete #F4F4F2
   Inter · 8px cards · 4px buttons · 0 on imagery · borders before shadows
   ============================================================ */

:root {
  --graphite: #1A1D1F;
  --ink: #0A0A0A;
  --red: #D9372A;
  --red-deep: #B32A1F;
  --concrete: #F4F4F2;
  --steel: #6B7280;
  --steel-2: #9CA3AF;
  --line: rgba(0,0,0,0.08);
  --line-strong: rgba(0,0,0,0.14);
  --white: #FFFFFF;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Claude: scroll-padding-top reserves 96px at the top of the scrolling
   viewport so anchor-scroll targets clear the sticky nav (see .nav rule;
   nav is position:sticky;top:0 and effectively 96px tall — same offset
   used by .legal-toc and .segment-quote-side). Honoured by:
     - browser-native fragment navigation (e.g. /contact#leadform-contact)
     - element.scrollIntoView() in anchor-scroll.js for in-page #fragment links
   Single source of truth — bump this if the nav height ever changes.

   scroll-behavior: smooth animates programmatic scroll operations
   (anchor-link clicks, scrollIntoView calls, history navigation that
   includes a fragment). Mouse-wheel and scrollbar interactions are NOT
   affected — those are user-initiated and browsers don't expose them to
   CSS. The prefers-reduced-motion override below disables the animation
   for users who've set the OS-level "reduce motion" preference. */
html {
    scroll-padding-top: 96px;
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
html, body {
  font-family: var(--font);
  font-feature-settings: 'ss01','cv11';
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-size: 17px;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 80px; }
@media (max-width: 1024px) { .wrap { padding: 0 40px; } }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

section { padding: 120px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* Visually-hidden — spec §5e defense-in-depth NAP for crawlers that bypass UA detection */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Lead-photo thumbnail loader (Thank You page + in-form FileField tiles).
   Two sizes: full (220×165, used on Thank You) and tile (96×96, used in the
   form's photo row). */
.photo-spinner { width: 220px; height: 165px; background: var(--concrete); border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; color: var(--steel); font-size: 13px; position: relative; }
.photo-spinner::after { content: ""; width: 28px; height: 28px; border: 3px solid var(--line-strong); border-top-color: var(--red); border-radius: 50%; animation: photo-spin 0.9s linear infinite; }
.photo-spinner.photo-spinner-failed::after { display: none; }
.photo-spinner-tile { width: 96px; height: 96px; }
.photo-spinner-tile::after { width: 22px; height: 22px; border-width: 2.5px; }
@keyframes photo-spin { to { transform: rotate(360deg); } }

/* In-form photo tile row — grid of square thumbnails appended as the user uploads. */
.photo-tile-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 14px 0; }
.photo-tile { width: 96px; height: 96px; border-radius: 4px; overflow: hidden; background: var(--concrete); border: 1px solid var(--line); position: relative; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Type */
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--graphite); text-wrap: balance; }
.display { font-size: clamp(44px, 5.6vw, 64px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.h1 { font-size: clamp(36px, 4.4vw, 48px); line-height: 1.1; }
.h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.15; }
.h3 { font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.h4 { font-size: 18px; line-height: 1.35; letter-spacing: -0.005em; }
.lede { font-size: 19px; line-height: 1.5; color: var(--steel); text-wrap: pretty; }
.body-lg { font-size: 19px; line-height: 1.6; color: var(--ink); }
.small { font-size: 14px; line-height: 1.5; color: var(--steel); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow.no-line::before { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-size: 15px; font-weight: 500; border-radius: 4px; transition: all 0.2s ease-out; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); }
.btn-secondary { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn-secondary:hover { background: var(--graphite); color: var(--white); }
.btn-ghost { background: transparent; color: var(--graphite); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--red); }
.btn-ghost u { text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.btn-light { background: var(--white); color: var(--graphite); border-color: rgba(255,255,255,0.3); }
.btn-light:hover { background: var(--concrete); }
.btn-light-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-light-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ===== Top Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: 72px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 32px; }
.nav-logo { display: inline-flex; align-items: center; height: 100%; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; max-width: none; display: block; object-fit: contain; aspect-ratio: 1108 / 241; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--graphite); position: relative; padding: 8px 0; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-dd { position: relative; }
.nav-dd .caret { display: inline-block; margin-left: 4px; font-size: 10px; opacity: 0.6; }
.nav-dd-menu {
  position: absolute; top: 100%; left: -16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px; min-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  display: none; margin-top: 4px;
}
.nav-dd:hover .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 10px 12px; border-radius: 4px; font-size: 14px; }
.nav-dd-menu a:hover { background: var(--concrete); color: var(--graphite); }
.nav-dd-menu .dd-sub { font-size: 11px; color: var(--steel-2); display: block; margin-top: 2px; font-weight: 400; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--graphite); }
.nav-phone:hover { color: var(--red); }
@media (max-width: 1024px) { .nav-links { display: none; } .nav-phone span.txt { display: none; } }
@media (max-width: 540px) { .nav-call { padding: 10px !important; } .nav-call span.call-txt { display: none; } }

.hero.seg-hero { padding: 80px 0; }
.hero.seg-hero .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; max-width: none; }
@media (max-width: 1024px) { .hero.seg-hero .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.nav-burger { display: none; background: transparent; border: none; width: 44px; height: 44px; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; align-items: stretch; }
.nav-burger span { display: block; height: 2px; background: var(--graphite); border-radius: 1px; transition: background 0.2s; }
@media (max-width: 1024px) { .nav-burger { display: flex; } .nav-quote { display: none; } }
@media (max-width: 540px) { .nav-burger { margin-left: 4px; } }

.nav-drawer-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; background: rgba(10,10,10,0.5); z-index: 100; animation: ovf 0.2s ease-out; }
@keyframes ovf { from { opacity: 0; } to { opacity: 1; } }
.nav-drawer { position: fixed; right: 0; top: 0; width: min(360px, 88vw); height: 100vh; background: var(--white); display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(0,0,0,0.12); animation: drw 0.25s cubic-bezier(.2,.8,.2,1); }
@keyframes drw { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-logo img { height: 32px; width: auto; display: block; }
.drawer-close { background: transparent; border: none; width: 44px; height: 44px; cursor: pointer; color: var(--graphite); display: grid; place-items: center; margin-right: -10px; }
.drawer-close:hover { color: var(--red); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.drawer-group { padding: 4px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.drawer-group:last-of-type { border-bottom: none; }
.drawer-link { display: block; font-size: 17px; font-weight: 600; color: var(--graphite); padding: 12px 0; letter-spacing: -0.01em; }
.drawer-link.active { color: var(--red); }
.drawer-link:hover { color: var(--red); }
.drawer-sub { display: flex; flex-direction: column; gap: 2px; padding-left: 2px; padding-bottom: 4px; }
.drawer-sub a { font-size: 14px; color: var(--steel); padding: 8px 0; }
.drawer-sub a:hover { color: var(--red); }
.drawer-foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ===== Hero ===== */
.hero { background: var(--graphite); color: var(--white); position: relative; overflow: hidden; }
.hero.home { min-height: 80vh; display: flex; align-items: center; padding: 80px 0; }
.hero.short { min-height: 50vh; display: flex; align-items: center; padding: 80px 0; }
.hero.mini { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; width: 100%; }
.hero.short .hero-grid, .hero.mini .hero-grid { grid-template-columns: 1fr; max-width: 800px; }
.hero h1.display, .hero h1.h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.72); font-size: 21px; }
.hero .lede strong { color: var(--white); font-weight: 600; }
.hero .lede a { color: var(--white); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color 0.2s; }
.hero .lede a:hover { color: var(--red); }
.hero-ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.hero-image { position: relative; aspect-ratio: 5/4; overflow: hidden; background: #2a2d30; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image .corner-tag { position: absolute; top: 16px; left: 16px; background: rgba(0,0,0,0.5); color: white; padding: 6px 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; font-family: ui-monospace, Menlo, monospace; }
.hero-kicker { color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 32px; height: 1px; background: var(--red); }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero.home { min-height: 60vh; }
}

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 24px; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ===== Stat Strip ===== */
.stat-strip { background: var(--concrete); padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--concrete); padding: 32px; }
.stat .big { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; color: var(--graphite); line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat .big.stat-logo { display: flex; align-items: center; height: 48px; margin-bottom: 10px; }
.stat .big.stat-logo img { height: 44px; width: auto; max-width: 100%; display: block; object-fit: contain; }
.stat .big .accent { color: var(--red); }
.stat .lbl { font-size: 14px; color: var(--steel); line-height: 1.4; max-width: 22ch; }
@media (max-width: 768px) { .stats { grid-template-columns: 1fr 1fr; } .stat .big { font-size: 36px; } }

/* ===== Card grids ===== */
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 20px; }

.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seg-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.seg-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.seg-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 36px 28px; display: flex; flex-direction: column; gap: 16px; transition: all 0.2s ease-out; min-height: 260px; }
.seg-card:hover { border-color: var(--graphite); transform: translateY(-2px); }
.seg-card .seg-icon { width: 44px; height: 44px; border-radius: 6px; background: var(--concrete); color: var(--red); display: grid; place-items: center; }
.seg-card h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-top: auto; }
.seg-card p { font-size: 14px; color: var(--steel); line-height: 1.55; }
.seg-card .seg-arrow { font-size: 13px; font-weight: 500; color: var(--graphite); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.seg-card:hover .seg-arrow { color: var(--red); }
@media (max-width: 1024px) { .seg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .seg-grid { grid-template-columns: 1fr; }
    /* Claude: at single-column, drop the icon and tighten the card so the
       four "What do you need?" tiles don't dominate the mobile scroll. */
    .seg-card { min-height: 0; padding: 24px 22px; gap: 12px; }
    .seg-card .seg-icon { display: none; }
}

/* Two-column explainer */
.explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.explainer:last-child { margin-bottom: 0; }
.explainer.reverse .explainer-text { order: 2; }
.explainer-img { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--graphite); }
.explainer-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explainer h3 { font-size: 32px; margin-bottom: 20px; letter-spacing: -0.02em; }
.explainer p { font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 24px; }
.explainer em { font-style: normal; font-weight: 500; color: var(--graphite); }
@media (max-width: 1024px) { .explainer { grid-template-columns: 1fr; gap: 40px; margin-bottom: 64px; } .explainer.reverse .explainer-text { order: 0; } }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; }
.prod-card:hover { border-color: var(--graphite); }
.prod-img { aspect-ratio: 4/3; background: var(--concrete); position: relative; overflow: hidden; }
.prod-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-body h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.prod-body p { font-size: 14px; color: var(--steel); line-height: 1.5; flex: 1; }
.prod-body .link { font-size: 13px; font-weight: 500; color: var(--red); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
@media (max-width: 1024px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }

/* Split CTA band */
.cta-band { background: var(--graphite); color: var(--white); padding: 80px 0; }
.cta-band.red { background: var(--red); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.cta-band h3 { font-size: clamp(26px, 2.8vw, 34px); color: var(--white); max-width: 20ch; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 6px; font-size: 15px; }
.cta-band.red h3, .cta-band.red p { color: var(--white); }
.cta-band-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Testimonial */
.testi { background: var(--concrete); }
.testi-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.testi blockquote { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; color: var(--graphite); text-wrap: balance; }
.testi blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: 0.5; color: var(--red); margin-bottom: 20px; font-weight: 500; }
.testi-attr { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #c9c9c4, #9a9a95); }
.testi-attr .name { font-weight: 600; font-size: 15px; }
.testi-attr .role { font-size: 13px; color: var(--steel); }
.testi-dots { display: flex; gap: 6px; margin-top: 32px; }
.testi-dot { width: 24px; height: 2px; background: rgba(0,0,0,0.15); cursor: pointer; }
.testi-dot.active { background: var(--red); }
@media (max-width: 1024px) { .testi-inner { grid-template-columns: 1fr; gap: 40px; } }

/* Checklist columns */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; max-width: 780px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; list-style: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist li svg { flex-shrink: 0; margin-top: 4px; color: var(--red); }
@media (max-width: 768px) { .checklist { grid-template-columns: 1fr; } }

/* Callout */
.callout { background: var(--concrete); border-left: 3px solid var(--red); padding: 32px 36px; max-width: 780px; margin: 48px 0; border-radius: 0 8px 8px 0; }
.callout p { font-size: 17px; color: var(--ink); line-height: 1.6; }

/* Parts block */
.parts-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; background: var(--concrete); padding: 80px; border-radius: 8px; }
.parts-block h3 { font-size: 32px; margin-bottom: 16px; }
.parts-block p { color: var(--ink); margin-bottom: 24px; }
.parts-visual { font-variant-numeric: tabular-nums; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.parts-chip { background: var(--white); border: 1px solid var(--line); padding: 14px; border-radius: 4px; font-size: 12px; color: var(--steel); text-align: center; font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.02em; }
@media (max-width: 1024px) { .parts-block { grid-template-columns: 1fr; gap: 40px; padding: 48px; } }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 48px; }
.timeline::before { content: ""; position: absolute; top: 16px; left: 5%; right: 5%; height: 1px; background: var(--line-strong); }
.tm-point { position: relative; padding: 0 8px; }
.tm-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); margin-bottom: 24px; position: relative; z-index: 1; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line-strong); }
.tm-year { font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.tm-lbl { font-size: 13px; color: var(--steel); line-height: 1.4; }
@media (max-width: 768px) { .timeline { grid-template-columns: 1fr; gap: 16px; } .timeline::before { display: none; } .tm-point { display: flex; gap: 16px; align-items: baseline; } .tm-dot { margin-bottom: 0; } }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color 0.2s; }
.team-card:hover { border-color: var(--graphite); }
.team-img { aspect-ratio: 4/5; background: var(--concrete); position: relative; overflow: hidden; }
.team-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); }
.team-body { padding: 24px; }
.team-body .name { font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.team-body .role { font-size: 13px; color: var(--red); font-weight: 500; letter-spacing: 0.02em; margin-bottom: 10px; }
.team-body .bio { font-size: 13px; color: var(--steel); line-height: 1.55; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Features (why work here) */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); }
.feat { padding: 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.feat:nth-child(2n) { border-right: none; }
.feat:nth-last-child(-n+2) { border-bottom: none; }
.feat-ico { width: 36px; height: 36px; color: var(--red); }
.feat h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.feat p { font-size: 14px; color: var(--steel); line-height: 1.55; }
@media (max-width: 768px) { .feat-grid { grid-template-columns: 1fr; } .feat { border-right: none; } .feat:last-child { border-bottom: none; } }

/* Forms */
.form-row { display: grid; gap: 24px; margin-bottom: 24px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row.cols-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; color: var(--graphite); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 0 18px; height: 56px;
  border: 1px solid var(--line-strong); border-radius: 4px; background: var(--white); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { padding: 16px 18px; height: auto; min-height: 120px; resize: vertical; }
.field-check { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--graphite); cursor: pointer; user-select: none; }
.field-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--red); margin: 0; flex-shrink: 0; cursor: pointer; }

/* File upload */
.field-helper { font-size: 13px; color: var(--steel); line-height: 1.45; margin-top: 8px; }
.file-trigger {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 16px 18px;
  background: var(--white); color: var(--ink);
  border: 1.5px dashed var(--line-strong); border-radius: 4px;
  font: inherit; font-size: 15px; text-align: left; cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.file-trigger:hover { border-color: var(--red); border-style: solid; }
/* Claude: <label> can't take a `disabled` attribute, so visual + interactive
   block during an upload-in-flight is via this class instead. */
.file-trigger.is-disabled { pointer-events: none; opacity: 0.6; cursor: not-allowed; }
.file-trigger.is-disabled:hover { border-color: var(--line-strong); border-style: dashed; }
.file-trigger-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--concrete); color: var(--graphite); flex-shrink: 0; }
.file-trigger:hover .file-trigger-icon { background: color-mix(in oklab, var(--red) 12%, white); color: var(--red); }
.file-trigger-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--steel); }
.file-trigger-cta { font-weight: 600; color: var(--red); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; flex-shrink: 0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231A1D1F' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }

/* Contact two-col */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-item { }
.contact-item .lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 10px; }
.contact-item .val { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--graphite); }
.contact-item.sm .val { font-size: 17px; }
.socials { display: flex; gap: 12px; margin-top: 12px; }
.social-btn { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: all 0.2s; color: var(--graphite); }
.social-btn:hover { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.map { aspect-ratio: 16/6; background: var(--concrete); border: 1px solid var(--line); border-radius: 8px; position: relative; overflow: hidden; margin-top: 64px; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

/* Gallery */
.gallery-filters { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.gallery-filter { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--white); color: var(--graphite); cursor: pointer; transition: all 0.2s; }
.gallery-filter:hover { border-color: var(--graphite); }
.gallery-filter.active { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.masonry { column-count: 3; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; position: relative; overflow: hidden; cursor: pointer; }
.masonry-item img { width: 100%; display: block; transition: transform 0.3s; }
.masonry-item:hover img { transform: scale(1.03); }
.masonry-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px 16px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82)); color: var(--white); opacity: 0; transition: opacity 0.2s; }
.masonry-item:hover .masonry-cap { opacity: 1; }
.masonry-cap .type { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; font-weight: 600; }
.masonry-cap .cap-title { font-size: 15px; font-weight: 600; }
.masonry-cap .cap-sub { font-size: 12px; opacity: 0.75; }
@media (max-width: 1024px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } }

/* Service areas */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-card { background: var(--white); padding: 32px; transition: background 0.2s; }
.area-card:hover { background: var(--concrete); }
.area-card .city { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--graphite); margin-bottom: 6px; }
.area-card .region { font-size: 13px; color: var(--steel); }
.area-card .mins { font-size: 12px; color: var(--red); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin-top: 12px; }
@media (max-width: 1024px) { .area-grid { grid-template-columns: 1fr 1fr; } }

/* Maintenance plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; }
.plan.feat { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.plan-name { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--steel); }
.plan.feat .plan-name { color: rgba(255,255,255,0.5); }
.plan h3 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; }
.plan.feat h3 { color: var(--white); }
.plan-desc { font-size: 14px; color: var(--steel); line-height: 1.55; }
.plan.feat .plan-desc { color: rgba(255,255,255,0.7); }
.plan ul { list-style: none; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.plan.feat ul { border-top-color: rgba(255,255,255,0.15); }
.plan li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.plan li svg { flex-shrink: 0; margin-top: 3px; color: var(--red); }
.plan .cta { margin-top: auto; }
@media (max-width: 1024px) { .plan-grid { grid-template-columns: 1fr; } }

/* Careers role list */
.role-empty { background: var(--concrete); border: 1px dashed var(--line-strong); border-radius: 8px; padding: 40px; text-align: center; color: var(--steel); }

/* ===== Footer ===== */
.footer { background: var(--graphite); color: rgba(255,255,255,0.7); padding: 96px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer h5 { color: var(--white); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer a:hover { color: var(--white); }
.footer .brand-block .logo-wordmark { display: block; margin-bottom: 20px; }
.footer .brand-block .logo-wordmark img { height: 44px; width: auto; max-width: none; display: block; object-fit: contain; aspect-ratio: 1108 / 241; }
.footer p { font-size: 14px; line-height: 1.6; }
.footer .license { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 16px; }
.footer-bot { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bot a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: grid; place-items: center; }
.footer-socials a:hover { border-color: var(--white); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ===== Mobile call bar ===== */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line-strong); padding: 10px; gap: 8px; }
.mobile-bar .btn { flex: 1; padding: 14px; font-size: 15px; }
@media (max-width: 768px) { .mobile-bar { display: flex; } body { padding-bottom: 72px; } }

/* DoorView */
.doorview { background: var(--graphite); color: var(--white); padding: 96px 0; overflow: hidden; }
.dv-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.dv-grid h2 { color: var(--white); }
.dv-grid p { color: rgba(255,255,255,0.72); }
.dv-visual { aspect-ratio: 4/3; position: relative; overflow: hidden; border-radius: 4px; background: #2a2d30; }
.dv-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dv-slider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--white); cursor: ew-resize; }
.dv-slider::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.dv-half { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; overflow: hidden; }
.dv-half img { width: 200%; height: 100%; right: 0; left: auto; }
.dv-tag { position: absolute; top: 16px; padding: 4px 10px; background: rgba(0,0,0,0.65); color: white; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 1024px) { .dv-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Photo placeholder with label (monospace) */
.photo-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); }


/* ===== Inline segment quote form ===== */
.segment-quote { padding: 100px 0; }

/* ===== Body intro with side image ===== */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; max-width: 1080px; }
.intro-grid .body-lg { margin: 0; }
.intro-img { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: var(--concrete); }
.intro-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Legal pages (Privacy / SMS Terms) ===== */
.legal-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc-inner { padding: 24px 24px 20px; background: var(--concrete); border: 1px solid var(--line); border-radius: 6px; }
.legal-toc ol { list-style: none; counter-reset: none; display: flex; flex-direction: column; gap: 2px; }
.legal-toc li a { display: flex; gap: 0; padding: 8px 0; font-size: 13px; line-height: 1.4; color: var(--steel); align-items: baseline; transition: color 0.15s; word-break: normal; overflow-wrap: normal; }
.legal-toc li .num { display: none; }
.legal-toc li a:hover { color: var(--graphite); }
.legal-toc li.on a { color: var(--graphite); font-weight: 500; }
.legal-toc li.on .num { color: var(--red); }
.legal-toc-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-toc-foot .btn-ghost { font-size: 13px; padding: 4px 0; }

.legal-body { max-width: 720px; }
.legal-intro { font-size: 17px; line-height: 1.7; color: var(--ink); padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 12px; text-wrap: pretty; }
.legal-section { padding: 40px 0 8px; position: relative; }
.legal-section + .legal-section { border-top: 1px solid var(--line); }
.legal-section .legal-num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--red); text-transform: uppercase; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.legal-section h2.h3 { color: var(--graphite); margin-bottom: 16px; }
.legal-section p { font-size: 15.5px; line-height: 1.7; color: var(--ink); margin-bottom: 14px; text-wrap: pretty; }
.legal-section ul { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-direction: column; gap: 12px; }
.legal-section ul li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.legal-section ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--red); }
.legal-section a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-section a:hover { color: var(--red-deep); }
.legal-section strong { font-weight: 600; color: var(--graphite); }

.legal-callout { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--graphite); color: var(--white); border-radius: 4px; margin: 8px 0 18px; }
.legal-callout p { color: rgba(255,255,255,0.92) !important; margin: 0 !important; }
.legal-callout strong { color: var(--white); }
.legal-callout-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); padding-top: 3px; flex-shrink: 0; }

.legal-contact-card { margin-top: 8px; padding: 28px; background: var(--concrete); border: 1px solid var(--line); border-radius: 6px; }
.legal-contact-name { font-size: 16px; font-weight: 600; color: var(--graphite); letter-spacing: -0.005em; }
.legal-contact-sub { font-size: 13px; color: var(--steel); margin-top: 2px; margin-bottom: 18px; }
.legal-contact-card dl { display: grid; grid-template-columns: 80px 1fr; gap: 12px 24px; margin: 0; }
.legal-contact-card dl > div { display: contents; }
.legal-contact-card dt { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-2); padding-top: 3px; }
.legal-contact-card dd { font-size: 14.5px; line-height: 1.5; color: var(--ink); margin: 0; }
.legal-contact-card a { color: var(--graphite); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-contact-card a:hover { color: var(--red); }

.legal-keywords { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 24px; }
.legal-keywords > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.legal-keywords .legal-kw { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--red); padding: 4px 10px; border: 1px solid currentColor; border-radius: 3px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.legal-keywords .legal-kw-muted { color: var(--steel); }
.legal-keywords p { font-size: 13px; line-height: 1.5; color: var(--ink); margin: 0; }

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-keywords { grid-template-columns: 1fr; }
  .legal-contact-card dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal-contact-card dl > div { display: block; padding-bottom: 14px; }
}

.segment-quote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.segment-quote-side { position: sticky; top: 96px; }
.segment-quote-side .h2 { text-wrap: balance; }
.segment-quote-contact { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); }
.segment-quote-contact .sq-row { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.5; text-decoration: none; }
.segment-quote-contact .sq-row:hover { color: var(--white); }
.segment-quote-contact .sq-row svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.segment-quote-contact .sq-row strong { font-weight: 600; color: var(--white); }
.segment-quote-contact .sq-row .sq-sub { color: rgba(255,255,255,0.55); font-size: 13px; }
.segment-quote-form { background: var(--white); color: var(--ink); padding: 40px; border-radius: 8px; }
.segment-quote-form .field label,
.segment-quote .segment-quote-form .field label { color: var(--graphite) !important; }
.segment-quote-form .field input,
.segment-quote-form .field select,
.segment-quote-form .field textarea { color: var(--ink) !important; }
.segment-quote-form .field input::placeholder,
.segment-quote-form .field textarea::placeholder { color: var(--steel-2); }
.segment-quote-form .field-check,
.segment-quote-form .field-check span { color: var(--graphite) !important; }
.sq-sent { text-align: center; padding: 40px 20px; }
.sq-sent-icon { width: 72px; height: 72px; border-radius: 50%; background: color-mix(in oklab, var(--red) 14%, white); color: var(--red); display: grid; place-items: center; margin: 0 auto 24px; }
.sq-sent h3 { font-size: 24px; margin-bottom: 12px; }
.sq-sent p { color: var(--steel); line-height: 1.55; font-size: 15px; }
@media (max-width: 1024px) {
  .segment-quote-grid { grid-template-columns: 1fr; gap: 48px; }
  .segment-quote-side { position: static; }
  .segment-quote { padding: 72px 0; }
}
@media (max-width: 560px) {
  .segment-quote-form { padding: 28px 20px; }
}
