/* ==========================================================================
   Bright City Cleaning — shared stylesheet
   Swap the values in :root below for your own design tokens.
   ========================================================================== */

:root {
  /* --- Colors ------------------------------------------------------------ */
  --color-bg:            #FFFDF7;   /* page background */
  --color-surface:       #FFFFFF;   /* cards */
  --color-surface-muted: #FAF5EC;   /* nested / alternating sections */
  --color-ink:           #2B2620;   /* primary text */
  --color-ink-soft:      #6B6459;   /* secondary text */
  --color-ink-faint:     #9A9184;   /* meta text */
  --color-line:          #E6DFD3;   /* hairline borders */
  --color-primary:       #5CE1E6;   /* primary action */
  --color-primary-dark:  #2FB9BF;   /* primary hover/press */
  --color-accent:        #0891B2;   /* links, secondary action */
  --color-accent-dark:   #076C86;
  --color-success:       #166534;   /* confirmed state */
  --color-focus:         rgba(8, 145, 178, .3);
  --color-invert-bg:     #2B2620;   /* dark bands */
  --color-invert-ink:    #FFFDF7;

  /* --- Typography -------------------------------------------------------- */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-label:   "Neue Einstellung", "Figtree", system-ui, sans-serif;
  --font-body:    "Figtree", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;

  --leading-tight: 1.05;
  --leading-snug:  1.25;
  --leading-body:  1.65;
  --tracking-tight: -0.02em;
  --tracking-wide:  0.14em;

  /* --- Spacing (4px base) ------------------------------------------------ */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  --container: 1120px;
  --gutter: var(--space-5);

  /* --- Radius ----------------------------------------------------------- */
  --radius-xs:   3px;
  --radius-sm:   6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-pill: 999px;

  /* --- Elevation -------------------------------------------------------- */
  --shadow-hair: 0 1px 0 rgba(60, 44, 26, .05);
  --shadow-sm:   0 1px 2px rgba(60, 44, 26, .06), 0 2px 8px rgba(60, 44, 26, .04);
  --shadow-md:   0 2px 4px rgba(60, 44, 26, .06), 0 8px 24px rgba(60, 44, 26, .06);
  --shadow-lg:   0 4px 8px rgba(60, 44, 26, .07), 0 16px 40px rgba(60, 44, 26, .08);
  --border-hairline: 1px solid var(--color-line);
}

/* ==========================================================================
   Base
   ========================================================================== */

/* Neue Einstellung is a licensed font and cannot be loaded from a free CDN.
   Drop your licensed web font files into a /fonts folder, then add @font-face
   rules for "Neue Einstellung" pointing at NeueEinstellung-Regular.woff2 (400)
   and NeueEinstellung-Medium.woff2 (500), with font-display: swap.
   Until then, labels fall back to Figtree via --font-label. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--color-accent-dark); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 100;
  background: var(--color-surface);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: var(--border-hairline);
}

/* ==========================================================================
   Icons — Lucide outlines, masked so they inherit currentColor
   Set the glyph inline with an --icon custom property holding a Lucide SVG URL
   ========================================================================== */

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 24px; height: 24px; }
.card > .icon { color: var(--color-primary-dark); }
.hero-meta span,
.card-foot,
.post-meta,
.summary-row { display: inline-flex; align-items: center; gap: var(--space-2); }

/* ==========================================================================
   Type helpers
   ========================================================================== */

.overline {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-ink-faint);
  margin: 0 0 var(--space-3);
}

.display {
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  line-height: var(--leading-tight);
}

.h2 { font-size: clamp(1.75rem, 4vw, var(--text-3xl)); }
.h3 { font-size: var(--text-xl); }

.lead {
  font-size: var(--text-lg);
  color: var(--color-ink-soft);
  max-width: 58ch;
}

.muted { color: var(--color-ink-soft); }
.small { font-size: var(--text-sm); }
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  padding: 14px var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .14s cubic-bezier(.2,0,.2,1),
              color .14s cubic-bezier(.2,0,.2,1),
              border-color .14s cubic-bezier(.2,0,.2,1);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-ink);
}
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-ink); }
.btn-primary:active { box-shadow: inset 0 2px 4px rgba(60, 44, 26, .2); }

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn-secondary:hover { background: var(--color-surface-muted); color: var(--color-ink); }

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  padding-inline: var(--space-3);
}
.btn-ghost:hover { background: var(--color-surface-muted); }

.btn-invert {
  background: var(--color-bg);
  color: var(--color-ink);
}
.btn-invert:hover { background: var(--color-primary); color: var(--color-ink); }

.btn-sm { padding: 10px var(--space-4); font-size: var(--text-sm); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ==========================================================================
   Header
   ========================================================================== */

.topbar {
  background: var(--color-invert-bg);
  color: var(--color-invert-ink);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  align-items: center;
  justify-content: center;
  padding-block: var(--space-2);
}
.topbar a { color: var(--color-primary); }
.topbar span:not(:last-child)::after {
  content: "";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--color-bg) 86%, transparent);
  backdrop-filter: saturate(120%) blur(12px);
  border-bottom: var(--border-hairline);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-block: var(--space-3);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-tight);
  color: var(--color-ink);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.wordmark em {
  font-style: normal;
  color: var(--color-primary-dark);
}

/* Bright City Cleaning logo image (replaces the text wordmark). Full-resolution
   source image, displayed at a fixed width per breakpoint with height:auto so
   the aspect ratio is always preserved. !important overrides the global
   'img { max-width:100% }' reset above so the logo is never shrunk to fit. */
.wordmark { flex-shrink: 0; }
.wordmark img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain;
}

@media (min-width: 1025px) {
  .wordmark img { width: 190px !important; height: auto !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .wordmark img { width: 165px !important; height: auto !important; }
}

@media (max-width: 767px) {
  .wordmark img { width: 135px !important; max-width: 42vw !important; height: auto !important; }
}

@media (max-width: 390px) {
  .wordmark img { width: 120px !important; max-width: 40vw !important; height: auto !important; }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-5);
  align-items: center;
}
.nav a {
  color: var(--color-ink-soft);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--color-ink); }
.nav a[aria-current="page"] {
  color: var(--color-ink);
  border-bottom-color: var(--color-primary);
}

.header-cta { display: flex; align-items: center; gap: var(--space-3); }
.header-phone {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: var(--space-8); }
.section-lg { padding-block: var(--space-9); }
.section-muted {
  background: var(--color-surface-muted);
  border-block: var(--border-hairline);
}
.section-invert {
  background: var(--color-invert-bg);
  color: var(--color-invert-ink);
}
.section-invert .lead,
.section-invert .muted { color: color-mix(in srgb, var(--color-invert-ink) 72%, transparent); }
.section-invert .overline { color: var(--color-primary); }

.section-head { max-width: 62ch; margin-bottom: var(--space-7); }
.section-head .h2 { margin-bottom: var(--space-3); }

.rule {
  height: 1px;
  background: var(--color-line);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding-block: var(--space-8) var(--space-9); }
.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: end;
}
.hero h1 { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: var(--space-6); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: var(--border-hairline);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
}

.page-hero { padding-block: var(--space-8) var(--space-7); }
.page-hero h1 { margin-bottom: var(--space-4); }

/* Hero with an inset photo bleeding off the right edge (mobile: stacked) */
.hero-stage { position: relative; padding-block: var(--space-7) var(--space-8); display: grid; }
.hero-stage > .container { order: 1; }
.hero-stage > .hero-photo { order: 2; }
.hero-stage .container { position: relative; z-index: 1; }
.hero-copy { max-width: 34rem; }
.hero-copy .lead { margin-bottom: var(--space-6); }
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
  margin-top: var(--space-6);
}
.hero-trust {
  display: grid;
  gap: var(--space-4);
  background: var(--color-surface);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
  margin-top: var(--space-6);
}
.hero-trust > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-3);
  align-items: start;
}
.hero-trust .icon { grid-row: span 2; color: var(--color-primary-dark); }
.hero-trust b { font-size: var(--text-sm); }
.hero-trust span:not(.icon) {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
  line-height: 1.4;
}

/* ==========================================================================
   Image placeholders (swap for real photography)
   ========================================================================== */

.ph {
  display: grid;
  place-items: center;
  border: 1px dashed color-mix(in srgb, var(--color-primary) 60%, var(--color-line));
  border-radius: var(--radius-lg);
  background: var(--color-surface-muted);
  color: var(--color-ink-faint);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-4);
  min-height: 200px;
}
.ph-tall { aspect-ratio: 4 / 5; min-height: 0; }
.ph-wide { aspect-ratio: 16 / 10; min-height: 0; }
.ph-square { aspect-ratio: 1 / 1; min-height: 0; }

/* Real photography */
.media {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.media-tall { aspect-ratio: 4 / 5; height: 100%; }
.media-wide { aspect-ratio: 16 / 10; }
.media-photo { aspect-ratio: 3 / 2; }

/* CTA band with a photographic backdrop */
.cta-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-invert-bg) 74%, transparent);
  z-index: -1;
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */

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

.card {
  background: var(--color-surface);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card h3 { font-size: var(--text-lg); }
.card p { color: var(--color-ink-soft); font-size: var(--text-sm); }
.card-link {
  text-decoration: none;
  transition: box-shadow .14s cubic-bezier(.2,0,.2,1), transform .14s cubic-bezier(.2,0,.2,1);
}
.card-link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  color: inherit;
}
.card-foot {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: var(--border-hairline);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.numbered { counter-reset: step; }
.numbered .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-primary-dark);
}

.check {
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}
.check li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--space-2);
  align-items: start;
}
.check li::before {
  content: "\2713";
  color: var(--color-success);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px var(--space-3);
  border-radius: var(--radius-pill);
  border: var(--border-hairline);
  background: var(--color-surface-muted);
  color: var(--color-ink-soft);
}
.badge-ok {
  color: var(--color-success);
  border-color: color-mix(in srgb, var(--color-success) 30%, var(--color-line));
  background: color-mix(in srgb, var(--color-success) 6%, var(--color-surface));
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Split feature block */
.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.split-body h2 { margin-bottom: var(--space-4); }
.split-body p + p { margin-top: var(--space-4); }

/* Stat strip */
.stats {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
.stat { border-top: 2px solid var(--color-primary); padding-top: var(--space-3); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-tight);
}
.stat span { font-size: var(--text-sm); color: var(--color-ink-soft); }

/* Definition rows */
.rows { border-top: var(--border-hairline); }
.row {
  display: grid;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-5);
  border-bottom: var(--border-hairline);
}
.row-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: var(--tracking-tight); }
.row p { color: var(--color-ink-soft); font-size: var(--text-sm); }

/* Quotes */
.quote {
  background: var(--color-surface);
  border: var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.35;
  letter-spacing: var(--tracking-tight);
}
.quote figcaption {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
  margin-top: auto;
}

/* CTA band */
.cta-band { text-align: left; }
.cta-band .h2 { margin-bottom: var(--space-4); }
.cta-inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

/* Article list */
.posts { border-top: var(--border-hairline); }
.post {
  display: grid;
  gap: var(--space-3);
  padding-block: var(--space-6);
  border-bottom: var(--border-hairline);
}
.post h3 { font-size: var(--text-xl); }
.post a { color: inherit; text-decoration: none; }
.post a:hover { color: var(--color-accent-dark); text-decoration: underline; }
.post-meta {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
}

/* Portfolio */
.case {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-7);
  border-bottom: var(--border-hairline);
}
.case-pair { display: grid; gap: var(--space-3); grid-template-columns: 1fr 1fr; }
.case-pair figcaption {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
  margin-top: var(--space-2);
}
.spec {
  display: grid;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  border-top: var(--border-hairline);
  padding-top: var(--space-3);
}
.spec div { display: flex; justify-content: space-between; gap: var(--space-4); }
.spec dt, .spec dd { margin: 0; }
.spec dt { text-transform: uppercase; color: var(--color-ink-faint); }

/* ==========================================================================
   Forms
   ========================================================================== */

.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 600;
}
.field .hint { font-family: var(--font-label); font-size: var(--text-xs); color: var(--color-ink-faint); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-surface);
  border: var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 12px var(--space-4);
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
select {
  appearance: none;
  padding-right: var(--space-7);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-ink-soft) 50%),
    linear-gradient(135deg, var(--color-ink-soft) 50%, transparent 50%);
  background-position:
    right calc(var(--space-5) + 5px) center,
    right var(--space-5) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, var(--color-line)); }

fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
legend { font-family: var(--font-label); font-size: var(--text-sm); font-weight: 600; padding: 0; margin-bottom: var(--space-2); }
.choice { display: flex; gap: var(--space-3); align-items: center; font-size: var(--text-sm); }
.choice input { accent-color: var(--color-success); width: 18px; height: 18px; }

details {
  border-bottom: var(--border-hairline);
  padding-block: var(--space-4);
}
summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: var(--tracking-tight);
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: " +"; color: var(--color-primary-dark); }
details[open] summary::after { content: " \2013"; }
details p { margin-top: var(--space-3); color: var(--color-ink-soft); font-size: var(--text-sm); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-invert-bg);
  color: var(--color-invert-ink);
  padding-block: var(--space-8) var(--space-5);
  margin-top: var(--space-9);
}
.footer-grid {
  display: grid;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid color-mix(in srgb, var(--color-invert-ink) 16%, transparent);
}
.site-footer h2 {
  font-size: var(--text-xs);
  font-family: var(--font-label);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-invert-ink) 55%, transparent);
  margin-bottom: var(--space-4);
}
.site-footer a { color: var(--color-invert-ink); text-decoration: none; font-size: var(--text-sm); }
.site-footer a:hover { color: var(--color-primary); text-decoration: underline; }
.footer-list { display: grid; gap: var(--space-2); }
.footer-brand p {
  font-size: var(--text-sm);
  color: color-mix(in srgb, var(--color-invert-ink) 70%, transparent);
  max-width: 34ch;
  margin-top: var(--space-3);
}
.footer-brand .wordmark { color: var(--color-invert-ink); margin: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  padding-top: var(--space-5);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: color-mix(in srgb, var(--color-invert-ink) 55%, transparent);
}

/* ==========================================================================
   Responsive — mobile first
   ========================================================================== */

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 220px 1fr; }
  .post { grid-template-columns: 140px 1fr; }
}

@media (min-width: 900px) {
  .hero-trust { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
  :root { --gutter: var(--space-6); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split-reverse .split-media { order: 2; }
  .cta-inner { grid-template-columns: 1.4fr auto; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .case { grid-template-columns: 1.1fr 1fr; gap: var(--space-7); }
  .contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); }
}

@media (min-width: 640px) and (max-width: 899px), (min-width: 1040px) {
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

@media (min-width: 1040px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; }
  .hero-stage { padding-block: 0 var(--space-8); min-height: 660px; display: flex; flex-direction: row; align-items: center; }
  .hero-stage > .container { order: 0; }
  .hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0 0 var(--radius-xl) 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.3) 20%, #000 44%);
    mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.3) 20%, #000 44%);
  }
  .hero-stage .container { padding-block: var(--space-9) 0; }
  .hero-copy { max-width: 32rem; }
  .hero-trust { margin-top: var(--space-8); max-width: 1000px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

@media print {
  .site-header, .topbar { position: static; }
}
