/* =============================================================
   Hi Sign — design system
   A friendly, hands-on Brea / Orange County sign shop.
   Warm paper, sign-shop green from the Hi Sign logo, pencil-yellow detail.
   Barlow display + Source Sans 3 body. Eyebrows, labels, and spec
   keys use uppercase + letter-spacing, not a mono face. WCAG 2.1 AA throughout.
   ============================================================= */

:root {
  /* Surface palette — clean cool-neutral (professional B2B) */
  --color-bg:           #F7F4ED;   /* warm paper */
  --color-bg-subtle:     #F0EBE0;
  --color-bg-muted:      #E5DECF;
  --color-bg-translucent: rgba(247, 244, 237, 0.88);
  --color-surface:       #FFFFFF;  /* white card */
  --color-surface-alt:   #FFFFFF;  /* form fields */
  --color-ink:           #26211A;  /* warm near-black */
  /* Form field border: green at rest and on focus, so inputs read the same
     whether or not they are being interacted with. Clears 3:1 on white. */
  /* Green edge shared by static content cards and form fields. */
  --color-edge-green:    #3F7D4E;
  --color-field-border:  var(--color-edge-green);
  --color-ink-secondary: #4A443B;
  /* WCAG 2.1 AA (1.4.3): tertiary clears 4.5:1 on every page surface. */
  --color-ink-tertiary:  #52555A;
  --color-line:          #D9D1C1;
  --color-line-subtle:   #E7E1D3;

  /* Accent — sign-shop green, pulled from the Hi Sign logo. Leaf green (secondary emphasis). */
  --color-accent:        #156A2E;  /* deep logo green — AA with white text */
  --color-accent-hover:  #0F5223;
  --color-accent-text:   #FFFFFF;
  --color-accent-subtle: #DCEFD9;
  --color-accent-soft:   #7DB58A;
  --color-pop:           #3E9B47;  /* light logo green — decorative / large text only */
  --color-pop-hover:     #2F7D38;
  --color-pop-subtle:    #E2F1DC;
  --color-pop-band:      #8FD49A;  /* pop, legible on the dark band */
  --color-pencil:        #F5C542;  /* pencil yellow — decorative only */
  --color-status-bg:     #262119;  /* warm dark surface */

  --color-success: #2F7D52;
  --color-error:   #B23A28;
  --color-warning: #9A6B14;

  /* Typography — Barlow display; Source Sans 3 everywhere else.
     No monospace on this site: --font-mono is kept as an alias so the
     existing label/eyebrow/spec rules keep working, but it resolves to
     the body sans. Labels get their character from uppercase + tracking. */
  --font-body:    'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow', 'Source Sans 3', system-ui, sans-serif;
  --font-mono:    var(--font-body);

  /* Type scale — 12 / 14 / 16 / 20 / 24 / 32 / 48 / 64 */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 1rem;
  --text-md:  1.25rem;
  --text-lg:  1.5rem;
  --text-xl:  2rem;
  --text-2xl: 3rem;
  --text-3xl: clamp(2.25rem, 5vw, 3.75rem);
  --text-4xl: clamp(2.75rem, 6.5vw, 5rem);

  /* Spacing */
  --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;

  /* Layout */
  --container-max:    72rem;
  --container-narrow: 46rem;
  --container-pad:    clamp(1rem, 3.5vw, 2rem);

  /* Radius — friendlier, more rounded */
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 18px; --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms; --duration-normal: 250ms; --duration-slow: 400ms;

  --header-h: 4.5rem;
}

/* =============================================================
   RESET
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-xl));
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Inline links inside body prose: accent + underline (never rely on color alone). */
.industry-card p a, .service-line-text p a, .prose a, .faq-a a, p.footer-mission a {
  color: var(--color-accent); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.industry-card p a:hover, .service-line-text p a:hover, .prose a:hover, .faq-a a:hover, p.footer-mission a:hover {
  color: var(--color-accent-hover); text-decoration-thickness: 2px;
}
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; text-wrap: balance; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }

/* Highlighter swipe for a key phrase — pencil-yellow nod to the logo (AA safe: ink text) */
.hl { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--color-pencil) 38%, transparent) 58% 94%, transparent 94%); padding-inline: 0.05em; }
/* Steel-teal emphasis — only used at large/bold display sizes */
.pop-word { color: var(--color-pop); }

/* =============================================================
   FOCUS — visible rings (WCAG 2.1 AA 2.4.7 / 1.4.11)
   ============================================================= */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================================
   LAYOUT
   ============================================================= */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-3xl); }
.section--tight { padding-block: var(--space-2xl); }

.section-header { margin-bottom: var(--space-3xl); max-width: 60ch; }
.section-header h2 { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 800; margin-bottom: var(--space-xs); }
.section-sub { font-size: var(--text-md); color: var(--color-ink-secondary); max-width: 54ch; line-height: 1.5; }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header--center .section-sub { margin-inline: auto; }

/* Shop-ticket label: small mono tag with a vermilion dot marker */
.section-eyebrow,
.page-label {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.section-eyebrow::before,
.page-label::before {
  content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--color-pop); flex: 0 0 auto;
}
.section-header--center .section-eyebrow { justify-content: center; }

/* =============================================================
   SKIP LINK — first focusable element on every page
   ============================================================= */
.skip-link {
  position: fixed; top: -100%; left: var(--space-md); z-index: 300;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent); color: var(--color-accent-text);
  border-radius: var(--radius-sm); font-weight: 600; font-size: var(--text-sm);
  transition: top var(--duration-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-md); }

/* Visually hidden, still available to screen readers. */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* =============================================================
   HEADER / NAV
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h); background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-normal), border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.site-header.scrolled {
  background: var(--color-bg-translucent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-line-subtle);
}
.nav { display: flex; align-items: center; gap: var(--space-lg); height: 100%; }

.wordmark {
  display: inline-flex; align-items: center;
  white-space: nowrap;
}
.wordmark-logo { display: block; height: 38px; width: auto; }
.wordmark:hover { opacity: 0.85; }

.nav-links { display: flex; gap: var(--space-lg); margin-left: auto; }
.nav-links a {
  font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-secondary);
  padding: var(--space-2xs) 0; transition: color var(--duration-fast);
}
.nav-links a:hover { color: var(--color-ink); }
.nav-links-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: var(--space-md); }

/* Local-shop phone in the header (desktop) */
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 600;
  color: var(--color-ink); white-space: nowrap; transition: color var(--duration-fast);
}
.nav-phone::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-pop); }
.nav-phone:hover { color: var(--color-accent); }

/* Hamburger */
.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; border-radius: var(--radius-md); }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: var(--color-ink);
  border-radius: 1px; transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast);
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before { content: ''; position: absolute; top: -6px; }
.nav-toggle-bar::after  { content: ''; position: absolute; top:  6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-6px) rotate(-45deg); }

/* =============================================================
   BUTTONS — friendly, confident, pill-shaped
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  font-weight: 700; font-size: var(--text-sm); padding: 0.72em 1.5em;
  border-radius: var(--radius-pill); white-space: nowrap;
  transition: background var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast);
}
.btn-primary { background: var(--color-accent); color: var(--color-accent-text); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--color-accent) 75%, transparent); }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--color-surface); color: var(--color-ink); box-shadow: inset 0 0 0 1.5px var(--color-accent); }
.btn-secondary:hover { background: var(--color-accent-subtle); }
.btn-lg { font-size: var(--text-base); padding: 0.9em 1.9em; }
.btn .arrow { transition: transform var(--duration-fast); }
.btn:hover .arrow { transform: translateX(3px); }

/* =============================================================
   HERO
   ============================================================= */
.hero { padding-top: var(--space-4xl); padding-bottom: var(--space-3xl); }

.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: var(--space-3xl); align-items: center; }
.hero-eyebrow {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent);
  margin-bottom: var(--space-md); display: flex; align-items: center; gap: var(--space-sm);
}
.hero-eyebrow::before { content: ''; width: 1.75rem; height: 2px; background: var(--color-pop); display: inline-block; border-radius: 2px; }
.hero-headline { font-size: var(--text-4xl); font-weight: 800; line-height: 1.0; margin-bottom: var(--space-lg); letter-spacing: -0.03em; }
.hero-sub { font-size: var(--text-md); color: var(--color-ink-secondary); max-width: 42ch; margin-bottom: var(--space-2xl); line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero-meta { margin-top: var(--space-lg); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-tertiary); letter-spacing: 0.01em; font-family: var(--font-body); }

/* Signboard hero visual (decorative) — a friendly "sign of a sign" */
.hero-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero-photo {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-bg-muted); box-shadow: 0 26px 50px -26px rgba(28,24,21,0.35);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroSlideFade 30s infinite; }
.hero-photo-slide:nth-child(1) { animation-delay: 0s; }
.hero-photo-slide:nth-child(2) { animation-delay: 5s; }
.hero-photo-slide:nth-child(3) { animation-delay: 10s; }
.hero-photo-slide:nth-child(4) { animation-delay: 15s; }
.hero-photo-slide:nth-child(5) { animation-delay: 20s; }
.hero-photo-slide:nth-child(6) { animation-delay: 25s; }
@keyframes heroSlideFade { 0% { opacity: 0; } 2% { opacity: 1; } 15% { opacity: 1; } 18% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo-slide { animation: none !important; opacity: 0 !important; }
  .hero-photo-slide:first-child { opacity: 1 !important; }
}
.hero-logo-img { width: min(100%, 22rem); height: auto; }
.signboard {
  position: relative; width: min(100%, 26rem); aspect-ratio: 5 / 4;
  display: grid; place-items: center;
}
.signboard-panel {
  position: relative; z-index: 2; width: 86%; aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1em;
  background: var(--color-surface-alt);
  border: 3px solid var(--color-accent); border-radius: var(--radius-lg);
  box-shadow: 0 26px 50px -26px rgba(28,24,21,0.5);
}
.signboard-hi {
  font-family: var(--font-display); font-weight: 800; line-height: 0.9;
  font-size: clamp(3.5rem, 12vw, 6rem); letter-spacing: -0.05em; color: var(--color-accent);
}
.signboard-hi .dot { color: var(--color-pop); }
.signboard-sub { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-ink-tertiary); }
/* standoff posts behind the panel */
.signboard-post { position: absolute; z-index: 1; width: 0.55rem; height: 1.7rem; background: var(--color-accent-soft); border-radius: var(--radius-pill); top: 18%; }
.signboard-post--l { left: 12%; }
.signboard-post--r { right: 12%; }
.signboard-swatches { position: absolute; z-index: 3; right: 4%; bottom: 8%; display: flex; gap: 0.4rem; padding: 0.5rem; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-pill); box-shadow: 0 10px 24px -14px rgba(28,24,21,0.4); }
.signboard-swatches .sw { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid rgba(28,24,21,0.12); }
.sw-blue { background: var(--color-accent); }
.sw-pop  { background: var(--color-pop); }
.sw-ink  { background: var(--color-ink); }
.sw-cream{ background: var(--color-bg-muted); }
.signboard-tag {
  position: absolute; z-index: 3; left: 2%; top: 6%;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; color: var(--color-ink-tertiary);
  background: var(--color-surface); border: 1px dashed var(--color-line); border-radius: var(--radius-pill);
  padding: 0.3em 0.7em;
}

/* =============================================================
   KEYWORD TICKER — "what we make" sign-shop marquee
   ============================================================= */
.ticker-strip {
  border-top: 1px solid var(--color-line-subtle); border-bottom: 1px solid var(--color-line-subtle);
  background: var(--color-bg); color: var(--color-ink);
  overflow: hidden; padding-block: var(--space-md);
}
.ticker { display: flex; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; flex-shrink: 0; align-items: center; gap: var(--space-xl); padding-right: var(--space-xl); animation: ticker 38s linear infinite; }
.ticker-track li {
  display: inline-flex; align-items: center; gap: var(--space-xl);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-md);
  letter-spacing: -0.01em; white-space: nowrap; color: var(--color-ink-secondary);
}
.ticker-track li::after { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-pop); }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Trust chips (industries / quick facts) */
.trust-strip { border-top: 1px solid var(--color-line-subtle); border-bottom: 1px solid var(--color-line-subtle); background: var(--color-bg); }
.trust-inner { display: flex; align-items: center; gap: var(--space-xl); flex-wrap: wrap; padding-block: var(--space-md); }
.trust-chips { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.trust-inner .trust-label { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-ink-tertiary); flex: 0 0 auto; }
.chip {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--color-ink-secondary);
  padding: 0.4em 0.9em; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-surface);
}

/* =============================================================
   CATALOG / PORTFOLIO — "our work"
   ============================================================= */
.catalog { background: var(--color-bg); }
.catalog-toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
.filter-group { display: flex; flex-direction: column; gap: var(--space-2xs); }
.filter-group > .filter-label { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-ink-tertiary); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.filter-btn {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.02em;
  padding: 0.45em 0.95em; border: 1px solid var(--color-line); border-radius: var(--radius-pill);
  background: var(--color-surface); color: var(--color-ink-secondary);
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
}
.filter-btn:hover { border-color: var(--color-accent-soft); color: var(--color-ink); }
.filter-btn[aria-pressed="true"] { background: var(--color-accent); color: var(--color-accent-text); border-color: var(--color-accent); }
.catalog-reset { margin-left: auto; align-self: center; font-size: var(--text-xs); font-weight: 600; color: var(--color-accent); }
.catalog-reset:hover { color: var(--color-accent-hover); text-decoration: underline; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.catalog-grid--curated { grid-template-columns: repeat(6, 1fr); align-items: start; }
.catalog-grid--curated .catalog-item { grid-column: span 2; }
.catalog-item--wide { grid-column: span 4 !important; }
.catalog-item--half { grid-column: span 3 !important; }
.catalog-item--wide .catalog-figure { aspect-ratio: 16 / 10; }
.catalog-item--half .catalog-figure { aspect-ratio: 16 / 9; }
.catalog-item--tall .catalog-figure { aspect-ratio: 3 / 4; }
.catalog-item { display: flex; flex-direction: column; }
.catalog-item[hidden] { display: none; }
.catalog-figure {
  position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg-muted);
}
.catalog-ph {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: var(--color-ink-tertiary);
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(28,24,21,0.035) 12px 13px),
    var(--color-surface);
}
.catalog-ph .ph-tag {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  padding: 0.4em 0.8em; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-surface) 80%, transparent);
  border: 1px solid var(--color-line-subtle);
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em;
}
.catalog-tags {
  position: absolute; z-index: 2; left: var(--space-xs); top: var(--space-xs); display: flex; gap: 4px; flex-wrap: wrap; max-width: calc(100% - 2 * var(--space-xs));
}
.catalog-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.03em; padding: 0.3em 0.55em; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-ink) 80%, transparent); color: var(--color-bg);
}
.catalog-tag--industry { background: var(--color-accent); color: var(--color-accent-text); }
.catalog-cap { padding: var(--space-sm) var(--space-2xs) 0; }
.catalog-cap h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: 2px; }
.catalog-cap p { font-size: var(--text-xs); color: var(--color-ink-tertiary); font-family: var(--font-mono); letter-spacing: 0.02em; }
.catalog-empty { grid-column: 1 / -1; padding: var(--space-3xl) var(--space-xl); text-align: center; border: 1px dashed var(--color-line); border-radius: var(--radius-lg); color: var(--color-ink-secondary); display: none; }
.catalog-empty[data-show="true"] { display: block; }

/* =============================================================
   CATALOG PHOTO LIGHTBOX — click a photo to view it full-size
   ============================================================= */
.catalog-photo-btn {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in;
}
.catalog-photo-btn img { display: block; width: 100%; height: 100%; object-fit: cover; }
.catalog-photo-btn img[hidden] { display: none; }
.catalog-photo-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -3px; }
.catalog-zoom-hint {
  position: absolute; right: var(--space-xs); bottom: var(--space-xs);
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-ink) 65%, transparent); color: var(--color-bg);
  opacity: 0; transform: scale(0.85);
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.catalog-photo-btn:hover .catalog-zoom-hint,
.catalog-photo-btn:focus-visible .catalog-zoom-hint { opacity: 1; transform: scale(1); }
.catalog-photo-count {
  position: absolute; right: var(--space-xs); bottom: var(--space-xs);
  display: inline-flex; align-items: center; gap: 0.3em;
  padding: 0.35em 0.65em; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-ink) 70%, transparent); color: var(--color-bg);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}

.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: clamp(0.75rem, 3vh, var(--space-xl)) var(--space-md); overflow: hidden; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; cursor: pointer;
  background: color-mix(in srgb, var(--color-ink) 88%, transparent);
  opacity: 0; transition: opacity var(--duration-normal) var(--ease-out);
}
.lightbox[data-open="true"] .lightbox-backdrop { opacity: 1; }

.lightbox-dialog {
  position: relative; z-index: 1; width: min(92vw, 70rem); max-height: 100%; min-height: 0;
  padding-top: 3.25rem; display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: scale(0.96) translateY(10px);
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}
.lightbox[data-open="true"] .lightbox-dialog { opacity: 1; transform: none; }

.lightbox-figure { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-ink); display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); place-items: center; }
.lightbox-img { width: 100%; height: 100%; max-width: 100%; max-height: calc(100dvh - 11rem); object-fit: contain; display: block;
  transform-origin: center center; transition: transform var(--duration-fast) var(--ease-out); will-change: transform; }
.lightbox-figure[data-zoom="1"] { cursor: zoom-in; }
.lightbox-figure[data-zoom="2"], .lightbox-figure[data-zoom="3"] { cursor: grab; }
.lightbox-figure[data-dragging="true"] { cursor: grabbing; }
.lightbox-figure[data-dragging="true"] .lightbox-img { transition: none; }

.lightbox-zoom {
  position: absolute; z-index: 2; bottom: var(--space-sm); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-ink) 72%, transparent);
  backdrop-filter: blur(6px);
}
.lightbox-zoom button {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%;
  background: transparent; color: var(--color-bg); cursor: pointer; font-family: var(--font-mono);
  font-size: var(--text-sm); line-height: 1; transition: background var(--duration-fast) var(--ease-out);
}
.lightbox-zoom button:hover, .lightbox-zoom button:focus-visible { background: color-mix(in srgb, var(--color-bg) 22%, transparent); }
.lightbox-zoom button[disabled] { opacity: 0.35; cursor: default; }
.lightbox-zoom-level { min-width: 3.25em; text-align: center; color: var(--color-bg); font-family: var(--font-mono); font-size: var(--text-xs); }

.lightbox-cap { flex: 0 0 auto; padding-top: var(--space-md); color: var(--color-bg); text-align: center; }
.lightbox-cap-title { display: block; font-family: var(--font-display); font-size: var(--text-md); font-weight: 700; }
.lightbox-cap-sub { display: block; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.02em; color: color-mix(in srgb, var(--color-bg) 72%, transparent); margin-top: 2px; }

.lightbox-counter {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); margin: 0;
  padding: 0.4em 1em; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-ink) 55%, transparent); border: 1px solid rgba(255,255,255,0.28);
  color: var(--color-bg); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em;
}
.lightbox-counter[hidden] { display: none; }

.lightbox-close, .lightbox-arrow {
  position: absolute; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: color-mix(in srgb, var(--color-ink) 55%, transparent);
  color: var(--color-bg); cursor: pointer; transition: background var(--duration-fast) var(--ease-out);
}
.lightbox-close:hover, .lightbox-arrow:hover,
.lightbox-close:focus-visible, .lightbox-arrow:focus-visible { background: color-mix(in srgb, var(--color-ink) 85%, transparent); }
.lightbox-close { top: 0; right: 0; }
.lightbox-arrow--prev { left: var(--space-md); top: 50%; transform: translateY(-50%); }
.lightbox-arrow--next { right: var(--space-md); top: 50%; transform: translateY(-50%); }
.lightbox-arrow[hidden] { display: none; }

html.lightbox-open, html.lightbox-open body { overflow: hidden; }
/* Lock background scroll while the mobile menu overlay is open. */
html.nav-open, body.nav-open { overflow: hidden; }

/* =============================================================
   PROCESS STRIP — say hi → mock-up → approve → install
   ============================================================= */
.process { background: var(--color-bg); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.process-step {
  position: relative; padding: var(--space-xl) var(--space-lg); border: 1px solid var(--color-edge-green);
  border-radius: var(--radius-lg);
  /* Soft blueprint-grid corner + faint blue wash — engineered, low-contrast, text stays on clean white. */
  background:
    linear-gradient(var(--color-line-subtle) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, var(--color-line-subtle) 1px, transparent 1px) 0 0 / 26px 26px,
    radial-gradient(115% 70% at 100% 0, color-mix(in srgb, var(--color-accent) 8%, transparent), transparent 60%),
    var(--color-surface);
  background-repeat: no-repeat;
  background-position: 100% 0, 100% 0, 100% 0, 0 0;
  background-size: 96px 96px, 96px 96px, 100% 100%, 100% 100%;
}
.process-step + .process-step::before {
  content: ''; position: absolute; left: calc(var(--space-lg) * -1); top: 50%; width: var(--space-lg); height: 2px;
  background: var(--color-pop); opacity: 0.5; transform: translateY(-50%);
}
.process-top { display: flex; align-items: center; justify-content: space-between; }
.process-num { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; color: var(--color-accent); text-transform: uppercase; }
.process-step h3 { font-size: var(--text-md); font-weight: 800; margin: var(--space-sm) 0 var(--space-2xs); }
.process-step p { font-size: var(--text-sm); color: var(--color-ink-secondary); line-height: 1.5; }
.process-ico { color: var(--color-accent); flex-shrink: 0; }

/* =============================================================
   WHY / CAPABILITY
   ============================================================= */
.why-section { background: var(--color-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.why-card {
  position: relative; overflow: hidden;
  padding: var(--space-2xl); border: 1px solid var(--color-edge-green); border-radius: var(--radius-lg);
  background: var(--color-surface);
}
/* Shop-ticket diagonal hatch filling the lower-left triangular half — masked, so copy on the upper half stays clean. */
.why-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--color-pop) 6%, transparent) 10px 11px);
  -webkit-mask-image: linear-gradient(to bottom left, transparent 50%, #000 50%);
  mask-image: linear-gradient(to bottom left, transparent 50%, #000 50%);
}
.why-card > * { position: relative; z-index: 1; }
/* Static cards — they link nowhere, so no hover lift or border shift. */
.why-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); }
.why-num { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; color: var(--color-accent); }
.why-ico { color: var(--color-pop); flex-shrink: 0; }
.why-card h3 { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-sm); }
.why-card p { font-size: var(--text-base); color: var(--color-ink-secondary); line-height: 1.55; }
.why-card .lead { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); color: var(--color-ink); letter-spacing: -0.02em; margin-bottom: var(--space-md); line-height: 1.12; }
.why-card .lead::after { content: ''; display: block; width: 2.2rem; height: 3px; background: var(--color-pop); border-radius: 2px; margin-top: var(--space-sm); }

/* =============================================================
   WHO WE WORK WITH (industries)
   ============================================================= */
.industries { background: var(--color-bg); }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.industry-card {
  padding: var(--space-xl); border: 1px solid var(--color-edge-green); border-radius: var(--radius-lg);
  /* Soft teal glow bottom-left — keeps the top-left tag/heading crisp. */
  background:
    radial-gradient(130% 90% at 0 100%, color-mix(in srgb, var(--color-pop) 8%, transparent), transparent 55%),
    var(--color-surface);
}
.industry-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.industry-ico { color: var(--color-pop); flex-shrink: 0; margin-top: 2px; }
.industry-card h3 { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-xs); }
.industry-card p { font-size: var(--text-sm); color: var(--color-ink-secondary); line-height: 1.55; }
.industry-card .industry-tag { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-sm); display: block; }

/* =============================================================
   STOP BY THE SHOP — local Brea block
   ============================================================= */
.shop-visit { background: var(--color-bg); }
.shop-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.shop-visit-text h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: var(--space-md); }
.shop-visit-text p { font-size: var(--text-md); color: var(--color-ink-secondary); line-height: 1.55; margin-bottom: var(--space-xl); max-width: 44ch; }
.shop-facts { display: flex; flex-direction: column; gap: var(--space-md); }
.shop-fact { display: flex; gap: var(--space-md); align-items: baseline; }
.shop-fact .sf-k { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-ink-tertiary); min-width: 5.5rem; flex: 0 0 auto; }
.shop-fact .sf-v { font-size: var(--text-base); color: var(--color-ink); font-weight: 600; }
.shop-fact a { color: var(--color-accent); }
.shop-fact a:hover { color: var(--color-accent-hover); }
.shop-map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-line); background: var(--color-surface);
  display: grid; place-items: center; text-align: center;
  background-image:
    linear-gradient(var(--color-line-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line-subtle) 1px, transparent 1px);
  background-size: 32px 32px;
}
.shop-map .map-pin { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.shop-map .map-dot { width: 1rem; height: 1rem; border-radius: 50% 50% 50% 0; background: var(--color-pop); transform: rotate(-45deg); box-shadow: 0 8px 18px -8px rgba(28,24,21,0.5); }
.shop-map .map-label { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-secondary); letter-spacing: 0.04em; background: var(--color-surface); padding: 0.35em 0.8em; border-radius: var(--radius-pill); border: 1px solid var(--color-line); }

/* =============================================================
   TESTIMONIAL (retained styles; flag used site-wide)
   ============================================================= */
.testimonial { background: var(--color-bg); }
.testimonial-card {
  padding: var(--space-2xl) var(--space-2xl); border-left: 4px solid var(--color-accent);
  background: var(--color-surface); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border-top: 1px solid var(--color-line-subtle); border-right: 1px solid var(--color-line-subtle); border-bottom: 1px solid var(--color-line-subtle);
}
.testimonial-quote { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.3; letter-spacing: -0.015em; color: var(--color-ink); margin-bottom: var(--space-lg); }
.testimonial-meta { display: flex; gap: var(--space-sm); align-items: baseline; flex-wrap: wrap; }
.testimonial-name { font-weight: 700; font-size: var(--text-sm); }
.testimonial-role { font-size: var(--text-sm); color: var(--color-ink-tertiary); }
.testimonial-flag { display: inline-block; margin-top: var(--space-sm); font-size: var(--text-xs); font-family: var(--font-mono); color: var(--color-ink-tertiary); letter-spacing: 0.02em; }

/* =============================================================
   CLIENT REVIEWS (index #why) — all content is placeholder
   ============================================================= */
.reviews-section { background: var(--color-bg); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
#why .review-card {
  position: relative; overflow: hidden;
  padding: var(--space-xl); border: 1px solid var(--color-edge-green); border-radius: var(--radius-lg);
  background:
    radial-gradient(140% 100% at 100% 0, color-mix(in srgb, var(--color-pop) 9%, transparent), transparent 60%),
    var(--color-surface);
  display: flex; flex-direction: column; gap: var(--space-md);
}
#why .review-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--color-pop) 6%, transparent) 10px 11px);
  -webkit-mask-image: linear-gradient(to bottom left, transparent 55%, #000 55%);
  mask-image: linear-gradient(to bottom left, transparent 55%, #000 55%);
}
#why .review-card > * { position: relative; z-index: 1; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.review-src { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-tertiary); }
.review-stars { display: inline-flex; color: #D32323; font-size: 0.95rem; letter-spacing: 0.18em; line-height: 1; }
.review-quote { margin: 0; }
.review-quote p { font-size: var(--text-sm); color: var(--color-ink-secondary); line-height: 1.55; }
.review-attr { display: flex; flex-direction: column; gap: 0.15rem; margin-top: auto; }
.review-attr cite { font-style: normal; font-size: var(--text-lg); font-weight: 800; color: var(--color-ink); }
.review-attr span { font-size: var(--text-sm); color: var(--color-ink-secondary); }
.verified-badge { display: inline-flex; align-items: center; gap: 0.35rem; }
.verified-badge-icon { width: 15px; height: 15px; flex-shrink: 0; }
.review-project { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.02em; color: var(--color-ink-tertiary); padding-top: var(--space-md); border-top: 1px solid var(--color-line-subtle); margin: 0; }

.reviews-summary { margin-top: var(--space-xl); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); text-align: center; }
.reviews-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.55rem 0.9rem; margin: 0; }
.reviews-score { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; line-height: 1; color: var(--color-ink); }
.reviews-count { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-tertiary); }

/* =============================================================
   CTA BAND
   ============================================================= */
.cta-band { background: var(--color-status-bg); color: var(--color-surface); padding-block: var(--space-4xl); max-width: var(--container-max); margin: var(--space-3xl) var(--container-pad) var(--space-4xl); margin-inline: max(var(--container-pad), calc((100% - var(--container-max)) / 2)); border-radius: var(--radius-lg); border: 1px solid color-mix(in srgb, var(--color-surface) 20%, transparent); box-shadow: 0 26px 60px -24px rgba(28,24,21,0.35); overflow: hidden; }
.cta-band--photo { position: relative; background-image: linear-gradient(180deg, color-mix(in srgb, var(--color-status-bg) 62%, transparent), color-mix(in srgb, var(--color-status-bg) 74%, transparent)), url("images/work/IMG_0957.jpg"); background-size: 112% auto; background-position: 42% 30%; }
.cta-band .section-eyebrow { color: var(--color-pop-band); }
.cta-band .section-eyebrow::before { background: var(--color-pop-band); }
.cta-band h2 { color: var(--color-surface); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: var(--space-sm); }
.cta-band p { color: color-mix(in srgb, var(--color-surface) 78%, transparent); font-size: var(--text-md); margin-bottom: var(--space-xl); max-width: 52ch; }
.cta-band .btn-primary { background: var(--color-surface-alt); color: var(--color-ink); box-shadow: 0 8px 22px -10px rgba(0,0,0,0.5); }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band .btn-secondary { background: color-mix(in srgb, var(--color-surface) 15%, transparent); color: var(--color-surface); box-shadow: inset 0 0 0 1.5px var(--color-accent); }
.cta-band .btn-secondary:hover { background: var(--color-accent-subtle); color: var(--color-ink); box-shadow: inset 0 0 0 1.5px var(--color-accent); }
.cta-actions { display: inline-flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; justify-content: center; }
.cta-phone { font-family: var(--font-mono); font-weight: 600; color: var(--color-surface); display: inline-flex; align-items: center; gap: 0.5em; }
.cta-phone::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-pop-band); }
.cta-phone:hover { color: var(--color-pop-band); }

/* =============================================================
   SERVICES PAGE — service lines
   ============================================================= */
.service-line { padding-block: var(--space-3xl); border-top: 1px solid var(--color-line-subtle); }
.service-line:first-of-type { border-top: none; }
.service-line-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-3xl); align-items: center; }
.service-line--reverse .service-line-text { order: 2; }
.service-line-text .page-label { margin-bottom: var(--space-sm); }
.service-line-text h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: var(--space-sm); }
.service-line-text p { color: var(--color-ink-secondary); line-height: 1.6; margin-bottom: var(--space-lg); }
.service-specs { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.service-spec { display: flex; gap: var(--space-sm); align-items: baseline; font-size: var(--text-sm); color: var(--color-ink-secondary); }
.service-spec .spec-k { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-ink-tertiary); min-width: 8.5rem; flex: 0 0 auto; }
.service-line-cta { margin-top: var(--space-md); }
.service-line-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.service-line-gallery .ph { aspect-ratio: 4 / 3; }

/* shared image placeholder */
.ph {
  position: relative; border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  background: var(--color-surface); overflow: hidden;
  background-image: repeating-linear-gradient(135deg, transparent 0 12px, rgba(28,24,21,0.035) 12px 13px);
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em;
  color: var(--color-ink-tertiary); padding: var(--space-md);
}
.ph--lg { aspect-ratio: 16 / 10; }

/* real service-line photos (replace .ph placeholders once photography exists) */
.service-photo { position: relative; border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-bg-muted); }
.service-photo--lg { aspect-ratio: 16 / 10; }
.service-photo--full { grid-column: 1 / -1; }
.service-photo--tall { aspect-ratio: 1 / 1; max-height: 430px; width: auto; margin-inline: auto; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =============================================================
   QUOTE FORM — multi-step funnel
   ============================================================= */
.quote { background: var(--color-bg); }
.quote-form {
  display: flex; flex-direction: column; gap: var(--space-xl);
}
.quote-form[hidden] { display: none; }
.quote-progress { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.progress-step { display: flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-tertiary); }
.progress-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--color-line); background: var(--color-surface); transition: background var(--duration-fast), border-color var(--duration-fast); }
.progress-step[data-state="active"] { color: var(--color-accent); }
.progress-step[data-state="active"] .progress-dot { background: var(--color-accent); border-color: var(--color-accent); }
.progress-step[data-state="done"] .progress-dot { background: var(--color-accent); border-color: var(--color-accent); }
.progress-bar { flex: 1; height: 3px; background: var(--color-line); border-radius: var(--radius-pill); overflow: hidden; min-width: 2rem; }
.progress-bar > span { display: block; height: 100%; width: 0; background: var(--color-accent); transition: width var(--duration-slow) var(--ease-out); }
.progress-count { margin-left: auto; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-ink-tertiary); }

.quote-step[hidden] { display: none; }
.quote-step h3 { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-2xs); }
.quote-step .step-helper { font-size: var(--text-sm); color: var(--color-ink-secondary); margin-bottom: var(--space-lg); }

.form-row { width: 100%; }
/* Short single fields shouldn't stretch the full card width. */
.form-row:not(.form-row--two) .form-field:not(:has(textarea)) { max-width: 30rem; }
.form-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.form-field { display: flex; flex-direction: column; gap: var(--space-2xs); margin-bottom: var(--space-lg); }
.form-field:last-child { margin-bottom: 0; }
.form-field label { font-size: var(--text-sm); font-weight: 700; color: var(--color-ink); }
.required-mark { color: var(--color-accent); }
.optional-mark { color: var(--color-ink-tertiary); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.72em 0.9em; border: 1.5px solid var(--color-field-border); border-radius: var(--radius-md);
  background: var(--color-bg); font-size: var(--text-base); color: var(--color-ink);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--color-field-border);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-field-border) 35%, transparent);
}
.form-field textarea { resize: vertical; min-height: 6rem; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235A4F44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85em center; padding-right: 2.5em;
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea {
  border-color: var(--color-error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-error) 14%, transparent);
}
.field-error { font-size: var(--text-xs); color: var(--color-error); min-height: 0; transition: min-height var(--duration-fast); }
.field-error:not(:empty) { min-height: 1.2em; margin-top: 2px; }
.form-helper { font-size: var(--text-xs); color: var(--color-ink-tertiary); margin-top: var(--space-xs); }
.form-error-region { font-size: var(--text-sm); color: var(--color-error); padding: 0; border-radius: var(--radius-md); transition: padding var(--duration-fast); }
.form-error-region:not(:empty) {
  padding: var(--space-md); background: color-mix(in srgb, var(--color-error) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-error) 22%, transparent);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-nav { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); }
.btn-back { background: none; color: var(--color-ink-secondary); font-weight: 600; font-size: var(--text-sm); padding: var(--space-xs) var(--space-sm); }
.btn-back:hover { color: var(--color-ink); }
.btn-submit { min-width: 14rem; position: relative; }
.btn-spinner { display: none; animation: spin 0.75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quote-form[data-state="loading"] .btn-label { visibility: hidden; }
.quote-form[data-state="loading"] .btn-spinner { display: block; position: absolute; }
.quote-form[data-state="loading"] .btn-submit { pointer-events: none; opacity: 0.75; }
.quote-form[data-state="loading"] input,
.quote-form[data-state="loading"] select,
.quote-form[data-state="loading"] textarea { pointer-events: none; opacity: 0.6; }

.turnstile-wrap { margin-top: var(--space-md); display: flex; flex-direction: column; gap: var(--space-2xs); }
.turnstile-note { font-size: var(--text-xs); color: var(--color-ink-tertiary); }

/* Success panel */
.quote-success { text-align: center; padding: var(--space-3xl) var(--space-2xl); border: 1px solid var(--color-accent); border-radius: var(--radius-lg); background: var(--color-surface-alt); box-shadow: 0 18px 48px rgba(28,24,21,0.07); }
.quote-success .success-heading { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--space-sm); color: var(--color-accent); }
.quote-success p { color: var(--color-ink-secondary); margin-bottom: var(--space-lg); }
.next-steps { text-align: left; margin: var(--space-xl) auto; max-width: 38rem; display: flex; flex-direction: column; gap: var(--space-sm); }
.next-step { display: flex; gap: var(--space-md); align-items: flex-start; }
.next-step .ns-num { flex: 0 0 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--color-accent-subtle); color: var(--color-accent); display: grid; place-items: center; font-weight: 800; font-size: var(--text-sm); }
.next-step p { margin: 0; font-size: var(--text-sm); color: var(--color-ink-secondary); line-height: 1.55; }
.next-step strong { color: var(--color-ink); }

/* =============================================================
   CONTACT PAGE — info + form
   ============================================================= */
/* One panel holds info + form as a single object — dividers, not separate boxes. */
.contact-panel {
  border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  background: var(--color-surface-alt); box-shadow: 0 18px 48px rgba(28,24,21,0.07);
  padding: var(--space-2xl);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--space-3xl); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--space-lg); padding-right: var(--space-2xl); border-right: 1px solid var(--color-line); }
.contact-card { padding: 0; }
.contact-card + .contact-card { padding-top: var(--space-lg); border-top: 1px solid var(--color-line); }
.contact-card h2 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: var(--space-md); font-family: var(--font-mono); font-weight: 700; }
.contact-row { display: flex; gap: var(--space-sm); align-items: baseline; margin-bottom: var(--space-sm); }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .c-label { font-size: var(--text-xs); color: var(--color-ink-tertiary); font-family: var(--font-mono); min-width: 5.5rem; flex: 0 0 auto; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-row .c-val { font-size: var(--text-sm); color: var(--color-ink); font-weight: 600; }
.contact-row .c-val a { color: var(--color-accent); font-weight: 700; }
.contact-row .c-val a:hover { color: var(--color-accent-hover); }
.contact-flag { font-size: var(--text-xs); color: var(--color-ink-tertiary); font-family: var(--font-mono); margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px dashed var(--color-line-subtle); }

.copy-btn { display: inline; padding: 0 2px; border: 0; background: none; color: var(--color-accent); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.copy-btn:hover, .copy-btn:focus-visible { opacity: 0.8; }
.copy-status { margin-left: var(--space-2xs); color: var(--color-success); font-size: var(--text-xs); font-weight: 700; }

/* =============================================================
   FAQ / DETAILS ACCORDION — native <details>
   ============================================================= */
.faq-accordion { display: grid; gap: var(--space-sm); }
.faq-item { border: 1px solid var(--color-edge-green); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; transition: box-shadow var(--duration-fast), border-color var(--duration-fast); }
.faq-item[open] { border-color: var(--color-accent); box-shadow: 0 8px 28px color-mix(in srgb, var(--color-accent) 12%, transparent); }
.faq-item summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-question { font-size: var(--text-base); font-weight: 700; letter-spacing: -0.01em; }
.faq-icon { position: relative; width: 1rem; height: 1rem; color: var(--color-pop); flex: 0 0 auto; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 0.8rem; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%,-50%); transition: transform var(--duration-fast) var(--ease-out); }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-answer { padding: 0 var(--space-lg) var(--space-md); }
.faq-answer p { color: var(--color-ink-secondary); line-height: 1.7; max-width: 62ch; }
.faq-answer a { color: var(--color-accent); font-weight: 700; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { padding-block: var(--space-2xl) var(--space-lg); border-top: 1px solid var(--color-line-subtle); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: var(--space-xl); margin-bottom: var(--space-lg); }
.footer-brand .wordmark { display: inline-flex; margin-bottom: var(--space-sm); }
.footer-brand .wordmark-logo { height: 46px; }
.footer-mission { font-size: var(--text-sm); color: var(--color-ink-tertiary); max-width: 34ch; line-height: 1.6; }

.footer-col h2 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: var(--space-md); font-weight: 700; font-family: var(--font-mono); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col li, .footer-col a { font-size: var(--text-xs); font-family: var(--font-body); color: var(--color-ink-tertiary); transition: color var(--duration-fast); line-height: 1.5; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { padding-top: var(--space-lg); border-top: 1px solid var(--color-line-subtle); font-size: var(--text-xs); color: var(--color-ink-tertiary); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
.footer-bottom a { color: var(--color-ink-tertiary); }
.footer-bottom a:hover { color: var(--color-accent); }
.footer-top-link { font-size: var(--text-xs); color: var(--color-ink-tertiary); letter-spacing: 0.04em; transition: color var(--duration-fast); }

/* =============================================================
   INNER PAGE HERO
   ============================================================= */
.page-hero { padding-top: var(--space-3xl); padding-bottom: var(--space-xl); }

/* Photo-backed page hero.
   Tweak points (override on the section, inline or in a page block):
     --hero-image           url("images/…") to show a photo, or `none` to switch it off
     --hero-overlay-opacity 0 (full photo) → 1 (flat paper); default keeps body text ≥ 4.5:1
     --hero-focal-x / -y    background-position, e.g. 50% 35% to hold the subject          */
.page-hero--photo {
  --hero-image: none;
  --hero-overlay-opacity: 0.88;
  --hero-focal-x: 50%;
  --hero-focal-y: 50%;
  --hero-bleed: 30rem;
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: var(--hero-min-height, auto);
  display: flex;
  align-items: flex-start;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.page-hero--photo::before,
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0 0 calc(var(--hero-bleed) * -1) 0;
  z-index: -1;
  pointer-events: none;
}
.page-hero--photo::before {
  background-image: var(--hero-image);
  /* Viewport-anchored cover: the photo scale is derived from the viewport, not
     the band, so every page renders the storefront at one identical size with
     no uncovered area. Same mechanism as the whole-page photo below. */
  background-size: cover;
  background-position: var(--hero-focal-x) var(--hero-focal-y);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--color-ink);
}
/* iOS repaints fixed backgrounds badly — fall back to band-driven cover there. */
@media (hover: none) and (max-width: 900px) {
  .page-hero--photo::before { background-attachment: scroll; }
}
.page-hero--photo::after {
  background: linear-gradient(
    to bottom,
    rgba(247, 244, 237, var(--hero-overlay-opacity)),
    rgba(247, 244, 237, calc(var(--hero-overlay-opacity) * 0.96)) 55%,
    var(--color-bg) 100%
  );
}
.page-hero--photo > .container { position: relative; z-index: 1; }

/* Dark variant of the photo hero above: the paper overlay is swapped for a dark
   scrim so light text can sit directly on the photo. Same tweak points
   (--hero-image / --hero-focal-x / -y / --hero-bleed) plus:
     --hero-scrim-opacity  0 (bare photo) → 1 (solid ink); 0.88 default keeps the
                           mono meta line ≥ 4.5:1 over the brightest photo region.
   Used by the homepage hero (.hero). */
.page-hero--dark {
  align-items: center;
  --hero-scrim-opacity: 0.88;
  --hero-bleed: 0rem;
  color: var(--color-bg);
}
.page-hero--dark:not(.hero) { align-items: flex-end; padding-bottom: var(--space-2xl); }
/* Photo runs up under the sticky header so the nav blends into it. */
.page-hero--dark::before,
.page-hero--dark::after { top: calc(var(--header-h) * -1); }
.page-hero--dark::after {
  background:
    linear-gradient(to bottom, transparent 90%, var(--color-bg) 100%),
    linear-gradient(
      90deg,
      rgba(20,17,13, var(--hero-scrim-opacity)) 0%,
      rgba(20,17,13, calc(var(--hero-scrim-opacity) * 0.97)) 42%,
      rgba(20,17,13, calc(var(--hero-scrim-opacity) * 0.82)) 100%
    );
}
/* Below the hero-grid collapse point the copy spans full width, so the scrim
   must be uniform rather than fading out to the right. */
@media (max-width: 1000px) {
  .page-hero--dark::after {
    background:
      linear-gradient(to bottom, transparent 90%, var(--color-bg) 100%),
      linear-gradient(
      180deg,
      rgba(20,17,13, var(--hero-scrim-opacity)) 0%,
      rgba(20,17,13, calc(var(--hero-scrim-opacity) * 0.97)) 100%
    );
  }
}
.hero.page-hero--dark { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); align-items: center; }
.page-hero--dark .hero-headline { color: var(--color-bg); }
.page-hero--dark .hero-sub { color: rgba(247,244,237,0.92); }
.page-hero--dark .hero-photo { border-color: rgba(255,255,255,0.22); box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6); }
/* The bleed layers sit in the hero's positioned paint layer, which lands above
   non-positioned siblings — lift the next section so its text stays on top. */
.page-hero--photo + .section { position: relative; z-index: 1; }

/* Whole-page photo background (contact): the photo runs behind the entire page
   rather than just the hero. Tweak points on <body>:
     --page-bg-image / --page-bg-focal-x / -y   the photo and its focal point
     --page-scrim-opacity                       ink veil; 0.62 keeps body copy ≥ 4.5:1 */
body.page-bg-photo {
  --page-scrim-opacity: 0.62;
  --page-bg-focal-x: 50%;
  --page-bg-focal-y: 42%;
  background-color: var(--color-ink);
  background-image:
    linear-gradient(rgba(20,17,13, var(--page-scrim-opacity)), rgba(20,17,13, var(--page-scrim-opacity))),
    var(--page-bg-image, none);
  background-position: center, var(--page-bg-focal-x) var(--page-bg-focal-y);
  /* Same viewport-derived scale as the hero photo layers. */
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}
@media (hover: none) and (max-width: 900px) {
  body.page-bg-photo { background-attachment: scroll, scroll; }
}
/* Footer keeps its paper surface so its ink text stays legible over the photo. */
.page-bg-photo .site-footer { background: var(--color-bg); border-top-color: transparent; }

/* Shared light-on-photo text treatment for both dark surfaces */
.page-hero--dark .page-title,
.page-bg-photo .page-title,
.page-bg-photo .section-header h2 { color: var(--color-bg); }
.page-hero--dark .page-intro,
.page-bg-photo .page-intro,
.page-bg-photo .section-sub { color: rgba(247,244,237,0.90); }
/* One palette for ALL small light text on the photo surfaces: 12px copy needs a
   paler green than --color-pop-band and near-opaque paper to clear 4.5:1 over
   the sunlit stucco. Applies to eyebrows, labels and mono meta lines alike. */
.page-hero--dark .page-label,
.page-hero--dark .hero-eyebrow,
.page-bg-photo .page-label { color: #C6E9CB; }
.page-hero--dark .page-label::before,
.page-hero--dark .hero-eyebrow::before,
.page-bg-photo .page-label::before { background: var(--color-pop-band); }
.page-hero--dark .hero-meta { color: rgba(247,244,237,0.96); }
.page-hero--dark .breadcrumb ol,
.page-hero--dark .breadcrumb a,
.page-bg-photo .breadcrumb ol,
.page-bg-photo .breadcrumb a { color: rgba(247,244,237,0.86); }
.page-hero--dark .breadcrumb [aria-current="page"],
.page-bg-photo .breadcrumb [aria-current="page"] { color: rgba(247,244,237,0.86) !important; }
.page-hero--dark .breadcrumb li:not(:last-child)::after,
.page-bg-photo .breadcrumb li:not(:last-child)::after { color: rgba(255,255,255,0.38); }
.page-hero--dark .breadcrumb a:hover,
.page-bg-photo .breadcrumb a:hover { color: #FFFFFF; }

/* Nav blends into the photo until you scroll past the hero. On the photo-backed
   page it stays dark-translucent, since the photo never ends. */
.has-dark-hero .site-header:not(.scrolled),
.page-bg-photo .site-header:not(.scrolled) { background: transparent; }
.page-bg-photo .site-header.scrolled {
  background: rgba(20,17,13,0.62);
  border-bottom-color: rgba(255,255,255,0.16);
}
@media (min-width: 641px) {
  .has-dark-hero .site-header:not(.scrolled) .nav-links a,
  .page-bg-photo .site-header .nav-links a { color: rgba(247,244,237,0.92); }
  .has-dark-hero .site-header:not(.scrolled) .nav-links [aria-current="page"],
  .page-bg-photo .site-header .nav-links [aria-current="page"] { color: #FFFFFF !important; }
  .has-dark-hero .site-header:not(.scrolled) .nav-links a:hover,
  .page-bg-photo .site-header .nav-links a:hover { color: #FFFFFF; }
  .has-dark-hero .site-header:not(.scrolled) .nav-phone,
  .page-bg-photo .site-header .nav-phone { color: rgba(247,244,237,0.92); }
}
.has-dark-hero .site-header:not(.scrolled) .nav-toggle-bar,
.has-dark-hero .site-header:not(.scrolled) .nav-toggle-bar::before,
.has-dark-hero .site-header:not(.scrolled) .nav-toggle-bar::after,
.page-bg-photo .site-header .nav-toggle-bar,
.page-bg-photo .site-header .nav-toggle-bar::before,
.page-bg-photo .site-header .nav-toggle-bar::after { background: var(--color-bg); }
.page-title { font-size: var(--text-3xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.03; margin-bottom: var(--space-lg); }
.page-intro { font-size: var(--text-md); color: var(--color-ink-secondary); line-height: 1.5; max-width: 56ch; }

[aria-current="page"] { color: var(--color-ink) !important; position: relative; }
.nav-links [aria-current="page"]::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--color-pop); border-radius: 1px; }

/* Breadcrumb */
.breadcrumb { padding-top: var(--space-lg); }
.breadcrumb ol { display: flex; align-items: center; font-size: var(--text-xs); color: var(--color-ink-tertiary); }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-inline: var(--space-xs); color: var(--color-line); }
.breadcrumb a { color: var(--color-ink-secondary); transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb [aria-current="page"] { color: var(--color-ink-tertiary); font-weight: 500; }
.breadcrumb [aria-current="page"]::after { display: none; }

/* =============================================================
   MOTION — scroll reveal (gated on html.js-reveal)
   ============================================================= */
html.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
html.js-reveal .reveal.revealed { opacity: 1; transform: translateY(0); }
@media print { html.js-reveal .reveal { opacity: 1 !important; transform: none !important; } }

/* Reduced motion: disable all transitions and animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  html.js-reveal .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-visual { order: -1; min-height: 280px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid--curated { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid--curated .catalog-item,
  .catalog-item--wide, .catalog-item--half { grid-column: span 1 !important; }
  .catalog-grid--curated .catalog-figure { aspect-ratio: 4 / 3; }
  .catalog-item--tall .catalog-figure { aspect-ratio: 3 / 4; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step + .process-step::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }

  .shop-visit-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .service-line-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .service-line--reverse .service-line-text { order: 0; }
  /* Stacked: form first, then the two info cards side by side. */
  .contact-panel { padding: var(--space-xl); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .contact-info { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: start; padding-right: 0; border-right: 0; padding-top: var(--space-xl); border-top: 1px solid var(--color-line); }
  .contact-card + .contact-card { padding-top: 0; border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { gap: var(--space-md); flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .section { padding-block: var(--space-2xl); }
  .section-header { margin-bottom: var(--space-2xl); }
  .nav { gap: var(--space-md); }
  .nav > .wordmark { max-width: calc(100% - 5.5rem); }
  .nav-phone { display: none; }
  .nav-actions { display: flex; flex: 0 0 auto; margin-left: auto; position: relative; z-index: 101; }
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: fixed; top: var(--header-h); right: 0; left: 0;
    height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch;
    gap: var(--space-sm); padding: clamp(2rem, 8vh, 4rem) var(--container-pad) var(--space-2xl);
    background: var(--color-bg); border-top: 1px solid var(--color-line-subtle);
    box-shadow: 0 1.5rem 3rem color-mix(in srgb, var(--color-ink) 12%, transparent);
    opacity: 0; pointer-events: none; overflow-y: auto; overscroll-behavior: contain;
    transition: opacity var(--duration-normal) var(--ease-out); z-index: 150;
  }
  .nav-links.open { display: flex; opacity: 1; pointer-events: auto; }
  .nav-links li { width: min(100%, 24rem); margin-inline: auto; }
  .nav-links a { display: block; padding: var(--space-md) var(--space-lg); background: var(--color-surface); border: 1px solid var(--color-line-subtle); border-radius: var(--radius-md); color: var(--color-ink); font-size: var(--text-md); text-align: center; }
  .nav-links a:hover { color: var(--color-accent-hover); border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-line)); }
  .nav-links [aria-current="page"]::after { display: none; }
  /* Primary CTA lives inside the mobile menu (header button is hidden here). */
  .nav-links-cta { display: block; margin-top: var(--space-xs); }
  .nav-links .nav-links-cta a { background: var(--color-accent); color: var(--color-accent-text); border-color: var(--color-accent); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--color-accent) 75%, transparent); font-weight: 700; }
  .nav-links .nav-links-cta a:hover { background: var(--color-accent-hover); color: var(--color-accent-text); border-color: var(--color-accent-hover); }

  .catalog-grid, .catalog-grid--curated { grid-template-columns: 1fr; }
  .catalog-toolbar { gap: var(--space-md); }
  .catalog-reset { margin-left: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .quote-form, .quote-success { padding: var(--space-xl); }
  .form-row--two { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-card + .contact-card { border-top: 1px solid var(--color-line); padding-top: var(--space-lg); }
  .service-line-gallery { grid-template-columns: 1fr; }
  .trust-inner { gap: var(--space-md); }
  .footer-bottom { justify-content: flex-start; }
}


/* =============================================================
   PAGE PANEL — the contact-page treatment, site-wide
   Paper card floating over the whole-page photo background.
   ============================================================= */
.page-panel {
  border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  background: var(--color-surface-alt); box-shadow: 0 18px 48px rgba(28,24,21,0.07);
  padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
}
.page-panel .section { background: transparent; }
.page-panel > .section:first-child { padding-top: 0; }
.page-panel > .section:last-child { padding-bottom: 0; }
.page-panel .container { max-width: none; padding-inline: 0; }
.page-panel .service-line:first-of-type { border-top: 0; }
/* The panel is paper — restore ink text inside it on the photo-backed pages. */
.page-bg-photo .page-panel .page-title,
.page-bg-photo .page-panel .section-header h2 { color: var(--color-ink); }
.page-bg-photo .page-panel .page-intro,
.page-bg-photo .page-panel .section-sub { color: var(--color-ink-secondary); }
.page-bg-photo .page-panel .page-label { color: var(--color-accent); }
.page-bg-photo .page-panel .page-label::before { background: var(--color-pop); }
@media (max-width: 900px) {
  .page-panel { padding: var(--space-lg); }
}

/* Hero-scale copy can also sit inside a panel (404, home catalog band). */
.page-bg-photo .page-panel .hero-headline,
.page-bg-photo .page-panel h2,
.page-bg-photo .page-panel h3 { color: var(--color-ink); }
.page-bg-photo .page-panel .hero-sub,
.page-bg-photo .page-panel .hero-meta { color: var(--color-ink-secondary); }
.page-bg-photo .page-panel .hero-eyebrow { color: var(--color-accent); }
.page-bg-photo .page-panel .hero-eyebrow::before { background: var(--color-pop); }
/* Sections stacked inside one panel read as bands separated by rules, not tints. */
.page-panel > .section + .section { border-top: 1px solid var(--color-line-subtle); }


/* =============================================================
   LEGAL DOCUMENTS — privacy.html, terms.html
   Numbered sections inside .page-panel. Measure-limited body copy,
   plain tables, no accent-border containers.
   ============================================================= */
.legal-meta {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-ink-tertiary); font-family: var(--font-mono);
  padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-line-subtle);
}
.legal-toc { margin-top: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-line-subtle); }
.legal-toc h2 {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-accent); font-weight: 700; margin-bottom: var(--space-md);
}
.legal-toc ol {
  list-style: decimal; padding-left: 1.4rem;
  columns: 2; column-gap: var(--space-2xl);
  font-size: var(--text-sm); color: var(--color-ink-tertiary);
}
.legal-toc li { margin-bottom: 0.4rem; break-inside: avoid; }
.legal-toc a { color: var(--color-ink-secondary); text-decoration: none; border-bottom: 1px solid transparent; }
.legal-toc a:hover { color: var(--color-accent); border-bottom-color: currentColor; }

.legal-body { display: flex; flex-direction: column; gap: var(--space-xl); margin-top: var(--space-xl); max-width: 78ch; }
.legal-body > section { scroll-margin-top: calc(var(--header-h) + var(--space-lg)); }
.legal-body h2 { font-size: 1.15rem; font-weight: 700; color: var(--color-ink); margin-bottom: var(--space-sm); line-height: 1.3; }
.legal-body h3 { font-size: 0.98rem; font-weight: 700; color: var(--color-ink); margin-top: var(--space-md); margin-bottom: 0.35rem; }
.legal-body p { color: var(--color-ink-secondary); line-height: 1.75; text-wrap: pretty; }
.legal-body p + p { margin-top: var(--space-sm); }
.legal-body ul { list-style: disc; padding-left: 1.25rem; margin-top: var(--space-sm); display: flex; flex-direction: column; gap: 0.45rem; }
.legal-body li { color: var(--color-ink-secondary); line-height: 1.7; }
.legal-body a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--color-ink); }
.legal-caps { font-size: var(--text-sm); letter-spacing: 0.01em; }

.legal-table-wrap { margin-top: var(--space-md); overflow-x: auto; }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--text-sm); }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top; padding: 0.7rem 0.9rem 0.7rem 0;
  border-bottom: 1px solid var(--color-line-subtle); color: var(--color-ink-secondary); line-height: 1.5;
}
.legal-table thead th {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-ink-tertiary); font-weight: 700; border-bottom-color: var(--color-line);
}
.legal-table tbody th { font-weight: 700; color: var(--color-ink); width: 22%; }
@media (max-width: 700px) {
  .legal-toc ol { columns: 1; }
}
