/* ============ TOKENS ============ */
:root, [data-theme="light"] {
  --font-body: 'General Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', 'Cabinet Grotesk', Georgia, serif;
  --font-wordmark: 'Space Grotesk', 'General Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-xs: clamp(.75rem, .72rem + .15vw, .82rem);
  --text-sm: clamp(.875rem, .84rem + .15vw, .95rem);
  --text-base: clamp(1rem, .96rem + .18vw, 1.08rem);
  --text-lg: clamp(1.125rem, 1.02rem + .45vw, 1.35rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  --text-2xl: clamp(2.1rem, 1.4rem + 2.4vw, 4.2rem);
  --text-hero: clamp(2.6rem, 1.6rem + 3.2vw, 5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  /* Concrete surface palette */
  --color-bg: #ebebe6;
  --color-surface: #f1f0eb;
  --color-surface-2: #e3e2db;
  --color-panel: #dcdbd3;
  --color-text: #1d2024;
  --color-muted: #4b5058;
  --color-faint: #7d8088;
  --color-border: rgba(29, 32, 36, .12);
  --color-divider: rgba(29, 32, 36, .08);

  /* Signal Orange accent */
  --color-primary: #d96a2b;
  --color-primary-deep: #b8531d;
  --color-primary-soft: #f3dccc;
  --color-primary-tint: rgba(217, 106, 43, .10);

  --color-graphite: #1d2024;
  --color-slate: #3a3f47;

  --color-inverse-bg: #1d2024;
  --color-inverse-text: #ebebe6;

  --radius-sm: .5rem;
  --radius-md: .85rem;
  --radius-lg: 1.15rem;
  --radius-xl: 1.6rem;
  --radius-2xl: 2rem;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 17, 22, .05);
  --shadow-md: 0 14px 36px rgba(15, 17, 22, .08);
  --shadow-lg: 0 30px 70px rgba(15, 17, 22, .14);

  --content: 1240px;
  --header-h: 78px;
}

[data-theme="dark"] {
  --color-bg: #1d2024;
  --color-surface: #23272d;
  --color-surface-2: #2a2e35;
  --color-panel: #2f343c;
  --color-text: #ebebe6;
  --color-muted: #a8acb3;
  --color-faint: #7d8088;
  --color-border: rgba(235, 235, 230, .12);
  --color-divider: rgba(235, 235, 230, .07);

  --color-primary: #e8843f;
  --color-primary-deep: #d96a2b;
  --color-primary-soft: #3a2418;
  --color-primary-tint: rgba(232, 132, 63, .15);

  --color-graphite: #ebebe6;
  --color-slate: #a8acb3;

  --color-inverse-bg: #ebebe6;
  --color-inverse-text: #1d2024;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .5);
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
  font-feature-settings: "ss01", "ss02";
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 500;
}
h1 { font-size: var(--text-hero); letter-spacing: -.025em; font-weight: 500; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--color-primary); font-weight: 500; }
h2 { font-size: var(--text-xl); font-weight: 500; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; font-weight: 600; font-family: var(--font-wordmark); letter-spacing: -.005em; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 1rem; top: 1rem; background: var(--color-primary); color: #fff;
  padding: .75rem 1rem; border-radius: var(--radius-sm); z-index: 1000;
}

.container {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

::selection { background: var(--color-primary); color: #fff; }

/* ============ EYEBROW + LABEL ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .75rem .4rem .55rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-tint);
  color: var(--color-primary-deep);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
[data-theme="dark"] .eyebrow { color: var(--color-primary); }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.eyebrow.inverse {
  background: rgba(255,255,255,.10);
  color: #f3dccc;
}
.eyebrow.inverse .dot { box-shadow: 0 0 0 3px rgba(255,255,255,.10); }

.label {
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  font-weight: 700;
}
[data-theme="dark"] .label { color: var(--color-primary); }

/* ============ BUTTONS ============ */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--color-text);
  color: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.button-primary:hover { background: var(--color-primary-deep); color: #fff; }
[data-theme="dark"] .button-primary { background: var(--color-text); color: var(--color-inverse-text); }
[data-theme="dark"] .button-primary:hover { background: var(--color-primary); color: #0a0c0f; }

.button-ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.button-ghost:hover { background: var(--color-surface); border-color: var(--color-text); }

.button-light {
  background: var(--color-inverse-text);
  color: var(--color-inverse-bg);
}
.button-light:hover { background: var(--color-primary); color: #fff; }

.button-ghost-inverse {
  background: transparent;
  border-color: rgba(255,255,255,.22);
  color: var(--color-inverse-text);
}
.button-ghost-inverse:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 84%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-divider);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--color-text);
}
.brand-mark { width: 40px; height: 40px; color: var(--color-text); flex: none; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1; gap: .25rem; }
.brand-name {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.015em;
  display: inline-flex;
  align-items: baseline;
  gap: .25rem;
}
.brand-name .brand-dot {
  width: 5px; height: 5px;
  background: var(--color-primary);
  display: inline-block;
  align-self: flex-end;
  margin-bottom: .15rem;
}
.brand-sub {
  font-family: var(--font-wordmark);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}

.header-nav {
  display: none; gap: var(--space-5); align-items: center;
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.header-nav a {
  position: relative; padding: .35rem 0;
  transition: color .2s ease;
}
.header-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.header-nav a:hover { color: var(--color-text); }
.header-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; gap: .5rem; align-items: center; }
.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-full);
  color: var(--color-text);
  transition: background-color .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: var(--color-surface-2); border-color: var(--color-text); }

.mobile-panel {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-panel[hidden] { display: none; }
.mobile-links { display: grid; gap: .25rem; padding-top: .5rem; }
.mobile-links a {
  padding: .85rem .25rem;
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}
.mobile-links a:last-child { border-bottom: none; }
.mobile-links .button { margin-top: .75rem; justify-self: start; }

/* ============ HERO ============ */
.hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 7rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
}
.hero-copy { display: grid; gap: var(--space-6); }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lede {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 44ch;
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.proof-strip {
  list-style: none; padding: 0; margin: .25rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.proof-strip li {
  padding: .55rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: var(--color-surface);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  border-radius: clamp(1.2rem, 2.2vw, 1.8rem);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-card, .hero-card-bottom {
  position: absolute;
  background: color-mix(in srgb, var(--color-surface) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .hero-card,
[data-theme="dark"] .hero-card-bottom {
  background: color-mix(in srgb, var(--color-surface) 80%, transparent);
  border-color: rgba(255,255,255,.08);
}
.hero-card {
  top: 1.2rem; left: 1.2rem;
  max-width: 280px;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
}
.hero-card p { font-size: var(--text-sm); margin-top: .45rem; color: var(--color-muted); }
.hero-card p strong { color: var(--color-text); }

.hero-card-bottom {
  right: 1.2rem; bottom: 1.2rem; left: 1.2rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-lg);
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}
.metric {
  padding: .65rem .55rem;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: left;
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -.01em;
  color: var(--color-text);
}
.metric span {
  font-size: .68rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-top: .15rem;
}

/* ============ SECTIONS ============ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.alt { background: var(--color-surface); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }

.section-head {
  display: grid; gap: var(--space-4);
  margin-bottom: var(--space-10);
  max-width: 64ch;
}
.section-head p { color: var(--color-muted); font-size: var(--text-base); }
.section-head-row {
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: none;
  align-items: end;
}
@media (min-width: 880px) {
  .section-head-row { grid-template-columns: 1.2fr .9fr; gap: var(--space-10); }
}
.section-tag { color: var(--color-muted); font-size: var(--text-base); max-width: 50ch; }

.editorial-grid {
  display: grid; gap: var(--space-6);
}

/* ============ FEATURE / IMAGE PANELS ============ */
.feature-panel, .info-panel, .quote-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 2.5vw, 2.4rem);
}
.section.alt .feature-panel,
.section.alt .info-panel { background: var(--color-bg); }

.feature-panel h3 { margin-top: .25rem; }
.feature-panel p { color: var(--color-muted); margin-top: .5rem; line-height: 1.55; }

.image-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}
.image-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }

/* ============ STATS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.stat {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-divider);
}
.stat:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--color-divider); }
.stat:nth-child(even) { padding-left: 1rem; }
.stat:nth-last-child(-n+2) { border-bottom: none; }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -.03em;
  color: var(--color-text);
  font-weight: 700;
}
.stat-unit {
  font-size: .6em;
  color: var(--color-muted);
  font-weight: 600;
  margin-left: .15em;
}
.stat span:not(.stat-unit) {
  font-size: var(--text-sm);
  color: var(--color-muted);
  display: block;
  margin-top: .35rem;
  line-height: 1.4;
}

/* ============ SERVICES ============ */
.service-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 2vw, 1.8rem);
  display: grid;
  gap: .65rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.service-card.featured {
  background: linear-gradient(160deg, var(--color-primary-tint), var(--color-surface) 60%);
  border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
}
.service-card .card-num {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-faint);
  letter-spacing: -.01em;
}
.service-card h3 { font-size: 1.35rem; margin-top: .1rem; }
.service-card > p { color: var(--color-muted); line-height: 1.55; }

/* ============ MINI LIST ============ */
.mini-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: .55rem;
  margin-top: .4rem;
}
.mini-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 14px; height: 1.5px;
  background: var(--color-primary);
}
.mini-list.lg li {
  font-size: var(--text-base);
  padding-left: 1.5rem;
  line-height: 1.55;
}
.mini-list.lg li::before { width: 18px; top: .65em; }

/* ============ INDUSTRIES ============ */
.split-band {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 980px) {
  .split-band { grid-template-columns: .85fr 1.15fr; align-items: stretch; }
  .split-band .image-panel { min-height: 100%; }
}
.stack { display: grid; gap: var(--space-6); align-content: start; }
.industry-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.industry-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
}
.industry-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.industry-card p { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.5; }

/* ============ FLOOR CARE ============ */
.floor-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .floor-grid { grid-template-columns: 1fr 1fr; }
}
.quote-panel {
  padding: 0;
  overflow: hidden;
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .quote-panel { color: var(--color-inverse-text); }
.quote-panel .image-tile {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.quote-panel .image-tile img { width: 100%; height: 100%; object-fit: cover; }
.quote-panel .quote-body {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: grid; gap: .7rem;
}
.quote-panel .label { color: var(--color-primary); }
.quote-panel .quote-body p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 500;
}
.quote-panel .quote-body p strong { color: var(--color-bg); font-weight: 700; }
[data-theme="dark"] .quote-panel .quote-body p strong { color: var(--color-inverse-text); }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.about-grid .feature-panel h3 {
  margin-top: .6rem;
  font-size: 1.25rem;
}

/* ============ WALKTHROUGH FORM SECTION ============
   Section is always graphite-dark in both themes for visual consistency. */
.walkthrough-grid {
  background: #1d2024;
  color: #ebebe6;
  border-radius: clamp(1.4rem, 2.5vw, 2rem);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  display: grid;
  gap: var(--space-8);
  position: relative;
  overflow: hidden;
}
.walkthrough-grid::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 70%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(217, 106, 43, .18), transparent 65%);
  opacity: .9;
  pointer-events: none;
}
.walkthrough-grid > * { position: relative; }

/* Override .eyebrow.inverse in this scope so it stays readable on graphite */
.walkthrough-grid .eyebrow.inverse {
  color: #d96a2b;
}
.walkthrough-grid .eyebrow.inverse .dot { background: #d96a2b; }

.walkthrough-copy h2 {
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.4rem);
  max-width: 22ch;
  margin-top: .4rem;
  color: #ebebe6;
}
.walkthrough-copy > p {
  color: rgba(235, 235, 230, .72);
  max-width: 52ch;
  margin-top: .85rem;
}

.walkthrough-grid .label.inverse {
  color: #d96a2b;
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}

.walkthrough-next { margin-top: var(--space-6); }
.walkthrough-steps {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.walkthrough-steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: start;
  gap: .75rem;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(235, 235, 230, .82);
}
.walkthrough-steps li span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: #d96a2b;
  border: 1px solid #d96a2b;
  border-radius: 999px;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .5rem;
}

.walkthrough-direct {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(235, 235, 230, .14);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.walkthrough-grid .contact-link.inverse {
  color: #ebebe6;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.walkthrough-grid .contact-link.inverse:hover { color: #d96a2b; }

/* ============ WALKTHROUGH FORM ============ */
.walkthrough-form-wrap { position: relative; }
.walkthrough-form {
  background: rgba(235, 235, 230, .04);
  border: 1px solid rgba(235, 235, 230, .12);
  border-radius: clamp(1rem, 1.6vw, 1.4rem);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: grid;
  gap: 1rem;
}
.hp-field { position: absolute; left: -10000px; }

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .75rem;
  margin-bottom: .25rem;
  border-bottom: 1px solid rgba(235, 235, 230, .14);
}
.form-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d96a2b;
}
.form-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(235, 235, 230, .55);
}

.form-row {
  display: grid;
  gap: 1rem;
}
.form-row.two { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.field {
  display: grid;
  gap: .35rem;
}
.field-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(235, 235, 230, .68);
}
.req { color: #d96a2b; margin-left: .2em; }

.walkthrough-form input,
.walkthrough-form select,
.walkthrough-form textarea {
  width: 100%;
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #ebebe6;
  background: rgba(235, 235, 230, .06);
  border: 1px solid rgba(235, 235, 230, .18);
  border-radius: .55rem;
  padding: .75rem .9rem;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.walkthrough-form input::placeholder,
.walkthrough-form textarea::placeholder { color: rgba(235, 235, 230, .35); }

.walkthrough-form input:focus,
.walkthrough-form select:focus,
.walkthrough-form textarea:focus {
  outline: none;
  border-color: #d96a2b;
  background: rgba(235, 235, 230, .10);
  box-shadow: 0 0 0 3px rgba(217, 106, 43, .22);
}

.walkthrough-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23d96a2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}
.walkthrough-form select option {
  background: #1d2024;
  color: #ebebe6;
}

.walkthrough-form textarea {
  resize: vertical;
  min-height: 5.5rem;
  font-family: 'General Sans', system-ui, sans-serif;
}

.form-submit {
  width: 100%;
  margin-top: .5rem;
  font-size: 1rem;
}
.form-fine {
  font-size: .78rem;
  color: rgba(235, 235, 230, .55);
  text-align: center;
  margin-top: .35rem;
}

/* ============ WALKTHROUGH SUCCESS ============ */
.walkthrough-success {
  background: rgba(235, 235, 230, .04);
  border: 1px solid #d96a2b;
  border-radius: clamp(1rem, 1.6vw, 1.4rem);
  padding: clamp(2rem, 3vw, 2.8rem);
  text-align: center;
  display: grid;
  gap: .85rem;
  justify-items: center;
  color: #ebebe6;
}
.walkthrough-success[hidden] { display: none; }
.success-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #d96a2b;
  color: #1d2024;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.walkthrough-success h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -.01em;
  color: #ebebe6;
}
.walkthrough-success p {
  color: rgba(235, 235, 230, .72);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.5;
}
.success-sub { font-size: .9rem; }
.success-sub a { color: #d96a2b; font-weight: 600; }
.success-sub a:hover { color: #ebebe6; }

@media (min-width: 960px) {
  .walkthrough-grid {
    grid-template-columns: .95fr 1.05fr;
    align-items: start;
    gap: var(--space-10);
  }
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: .65rem;
  max-width: 920px;
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: border-color .2s ease;
}
.section.alt .faq-item { background: var(--color-surface); }
.faq-item[open] { border-color: var(--color-primary); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  display: grid; place-items: center;
  flex: 0 0 auto;
  position: relative;
  transition: background-color .2s ease, transform .25s ease;
}
.faq-item .chev::before, .faq-item .chev::after {
  content: "";
  position: absolute;
  background: var(--color-primary-deep);
  border-radius: 2px;
}
[data-theme="dark"] .faq-item .chev::before,
[data-theme="dark"] .faq-item .chev::after { background: var(--color-primary); }
.faq-item .chev::before { width: 10px; height: 2px; }
.faq-item .chev::after { width: 2px; height: 10px; transition: transform .25s ease; }
.faq-item[open] .chev::after { transform: scaleY(0); }

.faq-item p {
  padding: 0 1.4rem 1.25rem;
  color: var(--color-muted);
  line-height: 1.55;
  max-width: 68ch;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 1.2fr .8fr; gap: var(--space-8); }
}
.contact-main h2 { margin-top: .85rem; max-width: 18ch; }
.contact-main .section-tag { margin-top: 1rem; }
.contact-rows {
  margin-top: 2rem;
  display: grid;
  gap: 0;
}
.contact-row {
  display: grid;
  gap: .3rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--color-divider);
}
.contact-row:last-child { border-bottom: 1px solid var(--color-divider); }
.contact-link {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-text);
  transition: color .2s ease;
}
.contact-link:hover { color: var(--color-primary-deep); }
[data-theme="dark"] .contact-link:hover { color: var(--color-primary); }
.contact-link.as-text {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
}
.contact-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: .15rem;
}
.contact-aside {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  align-self: start;
}
.section .contact-aside { background: var(--color-surface); }
.contact-aside h3 { margin-top: .55rem; font-size: 1.5rem; }
.contact-aside p { margin-top: .75rem; color: var(--color-muted); line-height: 1.55; }
.aside-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* ============ FOOTER ============ */
footer {
  padding: var(--space-12) 0 var(--space-6);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-8);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}
.footer-brand p {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: var(--text-sm);
  max-width: 40ch;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.footer-h {
  font-size: var(--text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 700;
  margin-bottom: .75rem;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-cols a, .footer-cols li {
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: color .2s ease;
}
.footer-cols a:hover { color: var(--color-primary-deep); }
[data-theme="dark"] .footer-cols a:hover { color: var(--color-primary); }

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: var(--text-xs);
  letter-spacing: .04em;
  color: var(--color-muted);
}

/* ============ RESPONSIVE ============ */
@media (min-width: 880px) {
  .header-nav { display: flex; }
  .menu-btn { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); }
  .editorial-grid { grid-template-columns: 1.05fr .95fr; }
}
@media (max-width: 879px) {
  .header-cta { display: none; }
  .hero-visual { aspect-ratio: 4 / 4.4; min-height: 0; }
  .hero-card { max-width: 240px; padding: .85rem 1rem; }
  .hero-card-bottom { padding: .8rem; }
  .metric-row { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; }
  .metric { padding: .55rem .4rem; }
  .metric strong { font-size: .85rem; }
  .metric span { font-size: .6rem; }
}
@media (max-width: 520px) {
  .hero-card { left: .8rem; top: .8rem; max-width: 220px; }
  .hero-card-bottom { left: .8rem; right: .8rem; bottom: .8rem; }
  .metric-row { grid-template-columns: 1fr; gap: .4rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { padding-right: 0; border-right: none; }
  .stat:nth-child(even) { padding-left: 0; }
  .stat { border-bottom: 1px solid var(--color-divider); }
  .stat:last-child { border-bottom: none; }
}

/* ============ MOTION ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   DIRECTION B — ORANGE-FORWARD INDUSTRIAL OVERRIDES
   ============================================================ */

/* PRIMARY CTA — solid orange */
.button-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 20px -8px rgba(217,106,43,.55);
}
.button-primary:hover { background: var(--color-graphite); color: #fff; }
[data-theme="dark"] .button-primary { background: var(--color-primary); color: #1d2024; }
[data-theme="dark"] .button-primary:hover { background: #ebebe6; color: #1d2024; }

/* HERO TAG — graphite + orange split (echoes spec sheet header bar) */
.hero-tag {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 1.5rem;
  font-family: var(--font-wordmark);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.hero-tag-stamp {
  background: var(--color-primary);
  color: #fff;
  padding: .55rem .85rem;
  font-family: var(--font-mono);
  letter-spacing: .15em;
  font-size: .65rem;
  display: inline-flex;
  align-items: center;
}
.hero-tag-label {
  background: var(--color-graphite);
  color: #ebebe6;
  padding: .55rem 1rem;
  display: inline-flex;
  align-items: center;
}
[data-theme="dark"] .hero-tag-label {
  background: #ebebe6;
  color: #1d2024;
}

/* HERO HEADLINE — orange italic emphasis */
.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 500;
}

/* HERO CARD — orange registration corners + tag */
.hero-card { position: relative; }
.reg-corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 1.5px solid var(--color-primary);
  pointer-events: none;
}
.reg-tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.reg-tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.reg-bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.reg-br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .55rem;
  gap: 1rem;
}
.hero-card-tag {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-wordmark);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .35rem .6rem;
}
.hero-card-num {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--color-graphite);
  letter-spacing: .08em;
  opacity: .7;
}
[data-theme="dark"] .hero-card-num { color: #ebebe6; }

/* SERVICE CARD NUMBERS — large orange mono */
.card-num {
  font-family: var(--font-mono) !important;
  color: var(--color-primary) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  opacity: 1 !important;
}

/* FEATURED SERVICE CARD — orange tint background */
.service-card.featured {
  background: var(--color-graphite);
  color: #ebebe6;
  border-color: var(--color-graphite);
  position: relative;
  overflow: hidden;
}
.service-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-primary);
}
.service-card.featured .label { color: var(--color-primary); }
.service-card.featured .card-num { color: var(--color-primary) !important; }
.service-card.featured h3 { color: #ebebe6; }
.service-card.featured p { color: rgba(235,235,230,.78); }
.service-card.featured .mini-list li { color: rgba(235,235,230,.85); }
.service-card.featured .mini-list li::before { color: var(--color-primary); }
[data-theme="dark"] .service-card.featured { background: var(--color-primary); border-color: var(--color-primary); color: #1d2024; }
[data-theme="dark"] .service-card.featured::before { background: #1d2024; }
[data-theme="dark"] .service-card.featured .label { color: #1d2024; }
[data-theme="dark"] .service-card.featured .card-num { color: #1d2024 !important; }
[data-theme="dark"] .service-card.featured h3 { color: #1d2024; }
[data-theme="dark"] .service-card.featured p { color: rgba(29,32,36,.78); }
[data-theme="dark"] .service-card.featured .mini-list li { color: rgba(29,32,36,.88); }
[data-theme="dark"] .service-card.featured .mini-list li::before { color: #1d2024; }

/* STATS — orange italic Fraunces numbers */
.stat strong {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  color: var(--color-primary) !important;
  font-weight: 500 !important;
}
.stat-unit {
  font-family: var(--font-wordmark) !important;
  font-style: normal !important;
  color: var(--color-graphite) !important;
  opacity: .55;
  font-size: .55em !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  margin-left: .15em;
}
[data-theme="dark"] .stat-unit { color: #ebebe6 !important; opacity: .65; }

/* EYEBROW — louder orange tag */
.eyebrow {
  color: var(--color-primary);
  background: transparent;
  border-left: 2px solid var(--color-primary);
  border-radius: 0;
  padding-left: .75rem;
  font-weight: 600;
}
.eyebrow .dot {
  background: var(--color-primary);
  box-shadow: none;
}

/* SECTION HEADLINES — allow orange italic emphasis */
.section h2 em,
.feature-panel h2 em { font-style: italic; color: var(--color-primary); font-weight: 500; }

/* FORM accents & links */
a:not(.button) { color: var(--color-primary); }
a:not(.button):hover { color: var(--color-primary-deep); text-decoration: underline; text-underline-offset: 3px; }

/* SECTION DIVIDERS — orange hairline above section headings */
.section-head { position: relative; }
.section-head::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--color-primary);
  margin-bottom: 1.25rem;
}

/* metric strong color */
.metric strong { color: var(--color-graphite); }
[data-theme="dark"] .metric strong { color: #ebebe6; }
.metric span { color: var(--color-muted); }


/* ============================================================
   BRAND MARK — theme-aware tile + letter
   ============================================================ */
.brand-mark .mark-tile { fill: #1d2024; }
.brand-mark .mark-letter { fill: #ebebe6; }
/* Dark theme: invert — light tile with graphite K */
[data-theme="dark"] .brand-mark .mark-tile { fill: #ebebe6; }
[data-theme="dark"] .brand-mark .mark-letter { fill: #1d2024; }

/* Footer always sits on graphite — force light-on-dark mark regardless of theme */
footer .brand-mark .mark-tile { fill: #ebebe6 !important; }
footer .brand-mark .mark-letter { fill: #1d2024 !important; }
/* But when section-on-orange is in dark mode, footer behaves */
footer .brand-name { color: #ebebe6; }
footer .brand-dot { background: #d96a2b !important; }
footer .brand-sub { color: rgba(235,235,230,.55); }

/* ============================================================
   SECTION-ORANGE — inverted: graphite + white on orange
   ============================================================ */
.section-orange {
  background: var(--color-primary);
  color: #1d2024;
  position: relative;
  isolation: isolate;
}
.section-orange::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #1d2024 0 35%, #ebebe6 35% 100%);
  z-index: 1;
}

/* Industrial corner registration marks on the orange section */
.section-orange::after {
  content: '';
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  border: 2px solid #1d2024;
  border-left: none;
  border-top: none;
  opacity: .35;
}

/* Eyebrow becomes graphite on orange */
.section-orange .eyebrow {
  color: #1d2024;
  border-left-color: #1d2024;
  font-weight: 700;
}
.section-orange .eyebrow .dot { background: #1d2024; }

/* H2 — graphite, italic word becomes WHITE (the inversion) */
.section-orange h2 {
  color: #1d2024;
}
.section-orange h2 em {
  color: #ebebe6 !important;
  font-style: italic;
  font-weight: 500;
}

/* Body paragraph */
.section-orange p {
  color: rgba(29,32,36,.82);
}

/* Section-head hairline rule above H2 — graphite on orange */
.section-orange .section-head::before {
  background: #1d2024;
}

/* Stats reverse: numbers now WHITE Fraunces italic, units graphite */
.section-orange .stat strong {
  color: #ebebe6 !important;
}
.section-orange .stat-unit {
  color: #1d2024 !important;
  opacity: .65;
}
.section-orange .stat span {
  color: rgba(29,32,36,.78);
}

/* Add an industrial spec strip under the headline */
.section-orange .feature-panel {
  position: relative;
}
.section-orange .feature-panel::after {
  content: 'SERIES FL · NO. 02 · OPERATIONAL FOUNDATION';
  position: absolute;
  bottom: -2.25rem;
  left: 0;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .25em;
  color: rgba(29,32,36,.55);
  white-space: nowrap;
}

/* Image panel: graphite frame on orange */
.section-orange .image-panel {
  border: 1px solid rgba(29,32,36,.18);
  box-shadow: 0 30px 60px -25px rgba(29,32,36,.35);
}

/* Make sure dark-mode also handles this section consistently */
[data-theme="dark"] .section-orange { background: var(--color-primary); }
[data-theme="dark"] .section-orange::before { background: linear-gradient(90deg, #1d2024 0 35%, #ebebe6 35% 100%); }
[data-theme="dark"] .section-orange h2,
[data-theme="dark"] .section-orange .eyebrow,
[data-theme="dark"] .section-orange .stat-unit { color: #1d2024; }
[data-theme="dark"] .section-orange h2 em { color: #ebebe6 !important; }
[data-theme="dark"] .section-orange .stat strong { color: #ebebe6 !important; }
[data-theme="dark"] .section-orange p { color: rgba(29,32,36,.82); }


/* ============================================================
   SECTION-ORANGE — fix panel transparency so inversion works
   ============================================================ */
.section-orange .feature-panel {
  background: transparent !important;
  border: none !important;
  padding-left: 0;
  padding-right: 0;
}
/* H3 in panel (if any) */
.section-orange .feature-panel h3,
.section-orange .feature-panel p { color: rgba(29,32,36,.85); }

/* Stats: now need a SOLID GRAPHITE background so white italic numbers actually show */
.section-orange .stats-grid {
  background: #1d2024;
  padding: 1.75rem;
  border-radius: 4px;
  border: 1px solid rgba(29,32,36,.18);
  margin-top: 1.75rem;
  position: relative;
}
.section-orange .stats-grid::before {
  content: 'KEY OPERATING METRICS';
  position: absolute;
  top: -10px; left: 16px;
  background: #1d2024;
  color: #d96a2b;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .25em;
  padding: 0 .5rem;
  text-transform: uppercase;
}
.section-orange .stat {
  border-color: rgba(235,235,230,.10) !important;
}
.section-orange .stat strong {
  color: #ebebe6 !important;
  font-family: var(--font-display) !important;
  font-style: italic;
}
.section-orange .stat-unit {
  color: #d96a2b !important;
  opacity: 1 !important;
}
.section-orange .stat span:not(.stat-unit) {
  color: rgba(235,235,230,.65) !important;
}

/* H2 italic emphasis on orange — make it graphite for clean inversion */
.section-orange h2 em {
  color: #1d2024 !important;
  font-style: italic;
  font-weight: 500;
  border-bottom: 2px solid rgba(29,32,36,.35);
  padding-bottom: .05em;
}

/* Section head hairline (the small bar above H2) — make graphite */
.section-orange .section-head::before {
  background: #1d2024;
  width: 48px;
  height: 3px;
}

/* Image panel on orange — stronger graphite frame */
.section-orange .image-panel {
  border: 2px solid #1d2024;
  border-radius: 4px;
  box-shadow: 12px 12px 0 #1d2024;
}

/* Make sure the spec stamp at bottom sits cleanly */
.section-orange .feature-panel::after {
  bottom: -2.5rem;
}

/* Bump section padding so the bottom stamp/registration mark have room */
.section-orange { padding-bottom: 7rem !important; }


/* ============================================================
   FOOTER — graphite band (always dark, regardless of theme)
   ============================================================ */
footer {
  background: #1d2024 !important;
  color: #ebebe6;
  border-top: none !important;
  position: relative;
  padding-top: var(--space-16) !important;
}
footer::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #d96a2b 0 35%, #ebebe6 35% 100%);
}

/* Footer mark — light tile, graphite K (consistent with dark surface) */
footer .brand-mark .mark-tile { fill: #ebebe6 !important; }
footer .brand-mark .mark-letter { fill: #1d2024 !important; }

/* Footer wordmark text */
footer .brand-name { color: #ebebe6 !important; }
footer .brand-dot { background: #d96a2b !important; }
footer .brand-sub { color: rgba(235,235,230,.55) !important; }

/* Footer body text */
footer .footer-brand p { color: rgba(235,235,230,.65); }
footer .footer-h {
  color: #d96a2b !important;
  font-family: var(--font-mono);
  letter-spacing: .22em;
  font-size: .65rem;
}
footer .footer-cols a,
footer .footer-cols li { color: rgba(235,235,230,.85) !important; }
footer .footer-cols a:hover { color: #d96a2b !important; }
footer .footer-bottom { border-top-color: rgba(235,235,230,.10) !important; color: rgba(235,235,230,.5); }
footer .footer-bottom * { color: rgba(235,235,230,.5) !important; }

/* Inline links inside footer area (phone/email) — orange */
footer a[href^="tel"],
footer a[href^="mailto"] { color: #d96a2b !important; }
footer a[href^="tel"]:hover,
footer a[href^="mailto"]:hover { color: #ebebe6 !important; text-decoration: underline; }


/* ============================================================
   HERO — FULL-BLEED RIGHT
   Container is max 1240px with 1.25rem side padding.
   When viewport > 1240px + 2.5rem, extend image to right edge.
   ============================================================ */
.hero-bleed { position: relative; }

@media (min-width: 900px) {
  .hero-bleed {
    /* Override the rounded right corners + let image escape */
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    /* Width grows past the column to viewport edge. Clamp prevents negatives on small screens. */
    width: calc(100% + max(1.25rem, (100vw - 1240px) / 2 + 1.25rem));
    max-width: none;
    margin-right: calc(-1 * max(1.25rem, (100vw - 1240px) / 2 + 1.25rem));
  }
  .hero-bleed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

/* Keep the floating overlay cards inside the visible image */
.hero-bleed .hero-card,
.hero-bleed .hero-card-bottom { right: auto; }

/* (brand stamp overlay removed) */





/* ============================================================
   HEADER BANNER LOCKUP — replaces the old K-tile + KLNZ. wordmark
   Framed K with 4 orange corner brackets (matches logo pack #17)
   ============================================================ */
.brand-banner { display: inline-flex; align-items: center; gap: 0; }
.banner-lockup {
  height: 56px;
  width: auto;
  display: block;
}
@media (min-width: 720px) {
  .banner-lockup { height: 68px; }
}
/* Wordmark fill adapts to theme. Logo pack #17 = light (graphite KLNZ on light bg), #18 = dark (concrete KLNZ on dark bg). */
.banner-wordmark { fill: #1D2024; }
[data-theme="dark"] .banner-wordmark { fill: #EBEBE6; }
.banner-wordmark path { fill: inherit; }
/* Brackets stay orange in both modes */
.banner-brackets rect { fill: #D96A2B; }

/* ============ SERVICES BANNER LOCKUP ============ */
.services-head .services-lockup {
  line-height: 0;
  align-self: center;
}
.services-head .services-lockup img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}
/* Theme-aware swap: 06 (Graphite border/FL + Orange KLNZ) on light, 07 (Orange border/FL + Concrete KLNZ) on dark */
.services-lockup .services-lockup-light { display: block !important; }
.services-lockup .services-lockup-dark  { display: none  !important; }
[data-theme="dark"] .services-lockup .services-lockup-light { display: none  !important; }
[data-theme="dark"] .services-lockup .services-lockup-dark  { display: block !important; }

/* On desktop the services head becomes lockup | text */
@media (min-width: 880px) {
  .services-head { grid-template-columns: .9fr 1.2fr; align-items: center; }
  .services-head .services-lockup img { max-width: 460px; }
}

/* Suppress the orange hairline for the services head — the lockup itself is the marker */
.services-head::before { display: none; }

/* ============ FOOTER SUBMARK + TAGLINE SPACING ============ */
img.brand-mark.footer-submark {
  width: 120px;
  height: 120px;
  display: block;
  object-fit: contain;
}
.footer-brand .footer-tagline { margin-top: 2rem; }


