/* =========================================================
   M&H HVAC — "Job site" theme
   Dark concrete, heavy condensed type, logo red/blue as hard
   accents, spec-label tags. Loads after site.css and overrides it.
   ========================================================= */
:root {
  /* Surfaces */
  --cream: #0d0e11;      /* page */
  --paper: #131519;      /* alt section */
  --white: #191c22;      /* cards, inputs */
  --line: #2a2e36;
  /* Text (the old --navy was "text on light"; it is now the light text) */
  --navy: #f1eee6;
  --ink: #f1eee6;
  --muted: #9aa0ab;
  /* Accents from the logo */
  --red: #e5260f;
  --red-2: #c41d08;
  --blue: #2f5bff;
  --steel: #1f232a;
  --night: #07080a;
  --radius: 10px;
  --radius-sm: 6px;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

html, body { background: var(--cream); color: var(--ink); }
body::after {
  /* faint concrete grain */
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
h1, h2, h3 { font-stretch: 68%; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; line-height: .88; }
h1 em, h2 em, h3 em { font-family: var(--sans); font-style: normal; font-weight: 900; font-stretch: 68%; letter-spacing: -.01em; color: var(--red); }
.section-head h2, .help h2, .request h2, .band h2, .mo h2 { font-size: clamp(56px, 9vw, 150px); line-height: .86; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.title .eyebrow::before, .tour-room .eyebrow::before, .item-copy .eyebrow::before, .tour-head .eyebrow::before, .exhibit-head .eyebrow::before, .emergency .eyebrow::before { display: none; }
.body-lg { color: var(--muted); }

/* ---------- Buttons: squared, uppercase, heavy ---------- */
.btn { border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .04em; font-weight: 800; font-stretch: 85%; }
.btn-light { background: var(--ink); color: var(--night); }
.btn-light:hover { background: #fff; }
.btn-outline { color: var(--ink); border-color: #ffffff4d; }
.btn-outline:hover { background: var(--ink); color: var(--night); border-color: var(--ink); }
.btn-glass { background: #0d0e11b3; border-color: #ffffff59; }
.btn-ghost:hover { background: #ffffff14; }

/* ---------- Header / menu / action bar ---------- */
.site-header.is-solid { background: #0d0e11e8; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand { background: #fffdf7; padding-inline: 8px; }
.brand { border-radius: 6px; }
.menu { background: var(--cream); color: var(--ink); }
.menu nav a { font-stretch: 68%; font-weight: 900; text-transform: uppercase; border-color: var(--line); }
body.menu-open .site-header { background: var(--cream); color: var(--ink); }
body.menu-open .site-header .brand { background: #fffdf7; padding-inline: 8px; }
.action-bar { background: #0d0e11f0 !important; box-shadow: 0 -1px 0 var(--line) !important; }
.menu-toggle { border-radius: 8px; }

/* ---------- Hero ---------- */
.stage, .tour-showcase { background: var(--night); }
.title h1 { font-size: clamp(72px, 13vw, 220px); line-height: .84; max-width: 8ch; }
.title h1 em { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 0 0 transparent; background: var(--red); padding: 0 .08em; display: inline-block; line-height: .95; margin-top: .04em; }
.pill { border-radius: 4px; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; }
.title .eyebrow { font-family: var(--mono); color: #ffffffcc; }

/* ---------- Marquee strip ---------- */
.strip { position: relative; overflow: hidden; background: var(--red); color: #fff; border-block: 2px solid var(--night); }
.strip-track { display: flex; width: max-content; animation: strip 38s linear infinite; }
.strip span { flex: none; padding: 16px 28px; font-stretch: 68%; font-weight: 900; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.strip span::after { content: ""; width: 12px; height: 12px; background: var(--night); transform: rotate(45deg); }
@keyframes strip { to { transform: translateX(-50%); } }
.hazard { height: 14px; background: repeating-linear-gradient(-45deg, var(--red) 0 18px, var(--night) 18px 36px); }

/* ---------- Emergency ---------- */
.emergency { background: var(--night); border-top: 1px solid var(--line); }
.emergency::before { background: radial-gradient(60% 80% at 10% 30%, #e5260f40, transparent 60%), radial-gradient(50% 70% at 100% 10%, #2f5bff38, transparent 60%); }
.big-247 { font-stretch: 62%; -webkit-text-stroke: 0; }
.road::before { background: #15171b; }

/* ---------- Help cards ---------- */
.help { background: var(--cream); }
.help-card { background: var(--white); border-color: var(--line); border-radius: var(--radius); }
.help-card:hover { border-color: #ffffff38; box-shadow: 0 30px 50px -30px #000; }
.help-text strong { text-transform: uppercase; font-stretch: 68%; font-weight: 900; font-size: clamp(26px, 2.3vw, 34px); line-height: .95; letter-spacing: 0; }
.help-go { border-radius: 6px; }
.tone-navy .help-go { background: var(--blue); }
.tone-red { box-shadow: inset 0 4px 0 var(--red); }
.tone-blue, .tone-navy { box-shadow: inset 0 4px 0 var(--blue); }
.help-art, .card-art .card-media { background: #1c1f25; }
.help-art img, .card-art .card-media img { filter: saturate(.92) contrast(1.04); }

/* ---------- Services ---------- */
.services, .work { background: var(--paper); border-color: var(--line); }
.card { background: var(--white); border-color: var(--line); border-radius: var(--radius); }
.card:hover { box-shadow: 0 30px 50px -30px #000; }
.card h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: .9; letter-spacing: 0; }
.card p { color: var(--muted); }
.svc-title { font-stretch: 68%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); letter-spacing: 0; }
.svc-title span { border-radius: 2px; }
.dot-ref { background: #2fc3ff; }
.card-media { background: #1c1f25; }

/* Spec tag on cards */
.card-body { position: relative; }

/* ---------- Split screen ---------- */
.exhibit, .exhibit-alt { background: var(--night); }
.panel h3, .tour-grid h3 { font-family: var(--sans); font-style: normal; font-weight: 900; font-stretch: 68%; text-transform: uppercase; line-height: .88; }
.panel .num { font-family: var(--mono); }

/* ---------- Meet Mo ---------- */
.mo { background: var(--cream); }
.mo-photo { border-radius: var(--radius); box-shadow: 14px 14px 0 var(--red); }
.mo-tag span { font-stretch: 68%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); }
.mo-tag b { background: var(--blue); color: #fff; border-radius: 4px; font-family: var(--mono); }
.follow { font-family: var(--mono); }
.follow-total { color: var(--ink); font-family: var(--sans); font-stretch: 68%; font-weight: 900; }
.sc { border-radius: var(--radius); }

/* ---------- Process ---------- */
.process { background: var(--cream); }
.steps li { border-top-color: var(--line) !important; }
.steps li:first-child { border-top: 3px solid var(--red) !important; }
.steps span { border-radius: 6px; font-family: var(--mono); }
.steps h3 { font-size: clamp(40px, 4.4vw, 72px); }

/* ---------- Work gallery ---------- */
.chip { border-radius: 6px; background: transparent; border-color: var(--line); color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 13px; }
.chip:hover { border-color: #ffffff59; }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.w { border-radius: 8px; background: #1c1f25; }
.w figcaption { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.w figcaption::before { content: "JOB · "; color: var(--red); }
.play { background: var(--red); }
.play::after { border-left-color: #fff; }

/* ---------- Request ---------- */
.request { background: var(--cream); }
.form { background: var(--white); border-color: var(--line); border-radius: var(--radius); box-shadow: none; }
.field > span, .field legend { color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea { background: var(--cream); border-color: var(--line); color: var(--ink); border-radius: 6px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1eee6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px #e5260f2e; }
.toggle label span { border-color: var(--line); color: var(--ink); border-radius: 6px; }
.toggle input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.contact-list div { border-color: var(--line); }
.contact-list dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.big-call span { font-stretch: 68%; font-weight: 900; }

/* ---------- Footer ---------- */
.footer { background: var(--night); border-top: 1px solid var(--line); }
.footer-brand img { border-radius: 6px; }

/* ---------- Walkthrough captions ---------- */
.tour-room h2, .item-copy h2 { font-stretch: 68%; }
.tour-room h2 em, .item-copy h2 em { color: var(--red); }
.item-media { border-radius: 12px; }

/* ---------- Misc ---------- */
:focus-visible { outline-color: var(--red); }
.skip { background: var(--ink); color: var(--night); }
.lightbox { background: #050608f2; }

@media (max-width: 650px) {
  .title h1 { font-size: clamp(64px, 21vw, 104px); }
  .section-head h2, .help h2, .request h2, .band h2, .mo h2 { font-size: clamp(54px, 16vw, 84px); }
  .help-text strong { font-size: 21px; }
  .mo-photo { box-shadow: 8px 8px 0 var(--red); }
  .strip span { padding: 12px 18px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* fixes */
.brand, .footer-brand img { background: #fffdf7; }
.field select { background-color: var(--cream); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
@media (max-width: 850px) {
  .tour-on .title { bottom: calc(var(--bar, 86px) + 64px); }
  .title .lede { text-shadow: 0 1px 12px #000; }
}
