/* Layout: a dark detailing bay. Left-aligned spec-sheet structure, condensed display type,
   one gloss sweep across the hero, red used only for action and the base-coat layer. */
:root {
  --ink: #0c0c0d;
  --panel: #151314;
  --panel-2: #1d1a1b;
  --line: #2e2829;
  --text: #efe9e8;
  --muted: #a99f9e;
  --red: #ba1014;
  --logo-red: #ba1014;
  --red-hover: #d0161b;
  --red-hi: #e2393f;
  --chrome: #d7dadc;
  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--red-hi); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--panel); padding: 8px 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; text-wrap: balance; margin: 0; line-height: 0.95; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: 0.02em; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hi); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--text); line-height: 1; }
.brand-word { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; letter-spacing: 0.04em; }
.brand-word span { color: var(--red-hi); }
.brand-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red-hi); }
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; cursor: pointer; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line); padding: 9px 12px; border-radius: 3px; }
.nav-toggle-input:focus-visible + .nav-toggle { outline: 2px solid var(--red-hi); outline-offset: 3px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
  .nav-toggle-input:checked ~ .nav { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 3px; text-decoration: none;
  border: 1px solid var(--red); background: var(--red); color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--muted); color: var(--text); }
.nav .btn { padding: 10px 16px; font-size: 0.88rem; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.phone-line { font-family: var(--font-mono); font-size: 0.95rem; color: var(--text); text-decoration: none; letter-spacing: 0.03em; }
.phone-line:hover { color: var(--red-hi); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { display: flex; flex-direction: column; gap: 22px; }
.hero h1 .tagline {
  font-size: clamp(3.4rem, 10vw, 7.6rem); font-weight: 900; line-height: 0.86;
  color: var(--text);
  background-image: linear-gradient(105deg, var(--text) 0%, var(--text) 42%, #ffffff 48%, var(--chrome) 52%, var(--text) 58%, var(--text) 100%);
  background-size: 260% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sweep 2.6s cubic-bezier(.6,.1,.3,1) 0.3s 1 both;
}
.hero h1 .tagline em { font-style: normal; -webkit-text-fill-color: var(--red-hi); }
.hero h1 .kw { font-family: var(--font-body); text-transform: none; font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.4; letter-spacing: 0; color: var(--muted); max-width: 46ch; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.hero .btn-row { margin-top: 32px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero-meta span::before { content: "+ "; color: var(--red-hi); }

/* ---------- clear coat gauge ---------- */
.gauge { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: clamp(18px, 3vw, 28px); }
.gauge-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.gauge-head .eyebrow { color: var(--muted); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; }
.layer { position: relative; border-left: 3px solid transparent; }
.layer-label { display: flex; flex-direction: column; justify-content: center; padding-block: 2px; font-size: 0.85rem; line-height: 1.25; }
.layer-label b { font-weight: 600; }
.layer-label .mono { font-size: 0.72rem; color: var(--muted); }
.l-clear { height: 108px; background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(215,218,220,0.06)); border-top: 1px solid rgba(255,255,255,0.55); }
.l-base { height: 38px; background: var(--red); }
.l-primer { height: 70px; background: #5a5456; }
.l-ecoat { height: 46px; background: #39343a; }
.l-steel { height: 22px; background: repeating-linear-gradient(90deg, #8d9194 0 2px, #6f7376 2px 5px); }
.swirl-zone { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(115deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 7px); }
.gauge-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.gauge-note strong { color: var(--text); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > div { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* services index rows */
.svc-group + .svc-group { margin-top: 48px; }
.svc-group-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.svc-group-title h3 { font-size: 1.15rem; letter-spacing: 0.08em; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding-block: 24px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.svc h4 { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-size: 1.45rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1; }
.svc p { color: var(--muted); font-size: 0.95rem; }
.svc .more { margin-top: auto; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hi); }
.svc:hover h4 { color: var(--red-hi); }
@media (max-width: 920px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.chip { display: inline-block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); white-space: nowrap; }
.chip-drop { border-color: var(--red); color: var(--red-hi); }
.chip-mobile { border-color: #5a6d74; color: #a9c2cb; }

/* thesis */
.thesis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.thesis p + p { margin-top: 16px; }
.thesis .big { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 0.92; text-wrap: balance; }
.thesis .big em { font-style: normal; color: var(--red-hi); }
@media (max-width: 820px) { .thesis { grid-template-columns: 1fr; } }

/* jobs */
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.job .year { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; }
.job h3 { font-size: 1.7rem; }
.job p { color: var(--muted); font-size: 0.95rem; }
.job .chip { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .jobs { grid-template-columns: 1fr; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: "Step " counter(step); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hi); }
.steps li p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* credentials */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 4px; }
.cred { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.cred + .cred { border-left: 1px solid var(--line); }
.cred .eyebrow { color: var(--muted); }
.cred b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; font-weight: 700; line-height: 1.05; letter-spacing: 0.02em; }
.cred span:last-child { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 820px) { .creds { grid-template-columns: 1fr; } .cred + .cred { border-left: 0; border-top: 1px solid var(--line); } }

/* areas */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.area { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.area b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em; }
.area span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.area:hover b { color: var(--red-hi); }
@media (max-width: 920px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .areas { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--red-hi); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 70ch; }

/* cta band */
.cta-band { padding-block: clamp(56px, 8vw, 96px); background: linear-gradient(180deg, var(--ink), var(--panel)); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.cta-inner h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.cta-inner .side { display: flex; flex-direction: column; gap: 16px; }
.pay { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.crumbs { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red-hi); }
.crumbs span[aria-hidden] { color: var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 900; line-height: 0.9; max-width: 16ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); padding-block: clamp(44px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .layout { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--red-hi); }
.prose .note { border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; border-radius: 4px; color: var(--muted); font-size: 0.95rem; }
.prose .note strong { color: var(--text); }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.opt { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.opt b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.05; }
.opt span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 560px) { .opts { grid-template-columns: 1fr; } }

.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 920px) { .aside { position: static; } }
.quote-card { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.quote-card h3 { font-size: 1.5rem; }
.quote-card .btn { width: 100%; }
.quote-card .row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; padding-top: 12px; border-top: 1px solid var(--line); }
.quote-card .row span:first-child { color: var(--muted); }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 12px; padding-block: 11px; text-decoration: none; color: var(--text); font-size: 0.95rem; }
.link-list a::after { content: "\2192"; color: var(--red-hi); }
.link-list a:hover { color: var(--red-hi); }
.aside-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-item { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.contact-item .val { font-family: var(--font-mono); font-size: 1rem; overflow-wrap: anywhere; color: var(--text); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form-frame { width: 100%; min-height: 720px; border: 0; border-radius: 4px; background: var(--panel); }

/* ---------- footer ---------- */
.site-footer { padding-block: 56px 36px; background: var(--panel); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; font-size: 0.92rem; }
.foot-grid a:hover { color: var(--red-hi); }
.foot-grid p { color: var(--muted); font-size: 0.92rem; max-width: 36ch; margin-top: 12px; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--muted); }
.foot-base a { color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =================== color + design pass =================== */
:root {
  --red-tint: rgba(186, 16, 20, 0.22);
  --red-glow: rgba(186, 16, 20, 0.55);
  --streak: rgba(255, 255, 255, 0.05);
}

/* twin racing stripe under the header */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 4px;
  background: linear-gradient(180deg, var(--red) 0 1px, transparent 1px 3px, var(--red) 3px 4px);
  pointer-events: none;
}

/* home hero: showroom glow and light streaks across the "paint" */
.hero { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 40%, var(--red-glow), transparent 70%),
    radial-gradient(40% 50% at 5% 0%, rgba(215, 218, 220, 0.08), transparent 70%),
    var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 140px, var(--streak) 140px 150px, transparent 150px 230px, rgba(255,255,255,0.025) 230px 300px);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.gauge { box-shadow: 0 40px 90px -40px var(--red-glow), 0 0 0 1px rgba(255,255,255,0.03) inset;
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%); }

/* inner page heroes: red glow plus a large outlined watermark word */
.page-hero { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 90% at 100% 0%, var(--red-glow), transparent 65%),
    linear-gradient(180deg, var(--panel), var(--ink)); }
.page-hero[data-mark]::after {
  content: attr(data-mark); position: absolute; right: -0.04em; bottom: -0.18em; z-index: -1;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: 0.8;
  font-size: clamp(5rem, 17vw, 15rem); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(226, 57, 63, 0.28);
  pointer-events: none;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 160px, var(--streak) 160px 168px, transparent 168px 260px);
}

/* alternate section grounds so pages read in bands */
main > .section:nth-of-type(odd) { background: linear-gradient(180deg, var(--panel), var(--ink)); }

/* eyebrows get a short red rule */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before, .page-hero .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red-hi); }

/* section and prose headings: small red underline */
.section-head h2::after, .prose h2::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 14px;
  background: linear-gradient(90deg, var(--red), var(--red-hi));
}

/* chips filled with color */
.chip-drop { background: var(--red-tint); border-color: var(--red); color: #ffd9da; }
.chip-mobile { background: rgba(90, 109, 116, 0.25); border-color: #5a6d74; color: #cfe3ea; }

/* service rows light up on hover */
.svc { position: relative; padding-inline: 14px; margin-inline: -14px; border-radius: 3px; transition: background 0.2s ease; }
.svc:hover { background: linear-gradient(135deg, var(--red-tint), transparent 70%); }
.svc-group-title h3 { color: var(--red-hi); }

/* thesis: big red-tinted panel */
.thesis .big { background: linear-gradient(180deg, var(--text) 30%, #b9b0af); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.thesis .big em { -webkit-text-fill-color: var(--red-hi); }

/* job cards: red glow header and big year */
.job { background: linear-gradient(165deg, var(--red-tint), var(--panel) 45%); border-color: #3a2a2b; transition: transform 0.2s ease, border-color 0.2s ease; }
.job:hover { transform: translateY(-3px); border-color: var(--red); }
.job .year { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 0.9; color: var(--red-hi); letter-spacing: 0.02em; }

/* steps: filled red markers */
.steps li { border-top-color: var(--red); }
.steps li::before { align-self: flex-start; background: var(--red); color: #fff; padding: 4px 10px; border-radius: 2px; }

/* credentials */
.creds { background: linear-gradient(135deg, var(--red-tint), var(--panel) 50%); border-color: #3a2a2b; }
.cred b { color: var(--text); }
.cred .eyebrow { color: var(--red-hi); }

/* service areas rows */
.area { padding-inline: 12px; margin-inline: -12px; border-radius: 3px; transition: background 0.2s ease; }
.area:hover { background: var(--red-tint); }

/* faq */
.faq details[open] { background: linear-gradient(90deg, var(--red-tint), transparent 60%); }
.faq details { padding-inline: 14px; margin-inline: -14px; border-radius: 3px; }

/* option tiles and notes */
.opt { background: linear-gradient(140deg, var(--red-tint), var(--panel) 55%); border-color: #3a2a2b; }
.prose .note { background: linear-gradient(135deg, rgba(186,16,20,0.16), var(--panel) 60%); border-color: #4a2a2c; }
.prose ul li::before { height: 3px; background: linear-gradient(90deg, var(--red), var(--red-hi)); }

/* sidebar quote card */
.quote-card { background: linear-gradient(170deg, var(--red-tint), var(--panel) 40%); border-color: var(--red); box-shadow: 0 30px 70px -40px var(--red-glow); }
.contact-item { background: linear-gradient(150deg, var(--red-tint), var(--panel) 55%); border-color: #3a2a2b; }

/* CTA band: full brand red */
.cta-band { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 120% at 100% 0%, var(--red-hover), transparent 60%), linear-gradient(135deg, var(--red), #5e0306); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 120px, rgba(255,255,255,0.06) 120px 128px, transparent 128px 210px);
}
.cta-band .eyebrow, .cta-band .lead, .cta-band .pay { color: rgba(255, 240, 240, 0.85); }
.cta-band .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band .btn:hover { background: #000; border-color: #000; }
.cta-band .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.6); }
.cta-band .btn-ghost:hover { background: rgba(0,0,0,0.25); border-color: #fff; }
.cta-band .phone-line { color: #fff; font-size: 1.15rem; }

/* footer stripe */
.site-footer { border-top: 3px solid var(--red); background: linear-gradient(180deg, #120f10, var(--panel)); }

/* =================== carousels =================== */
.carousel { position: relative; }
.car-window { overflow: hidden; border-radius: 4px; }
.car-track { display: flex; transition: transform 0.6s cubic-bezier(.6,.1,.3,1); }
.car-slide { flex: 0 0 100%; min-width: 0; margin: 0; }
.car-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.car-prev, .car-next { width: 46px; height: 46px; border-radius: 3px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 1.1rem; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.car-prev:hover, .car-next:hover { background: var(--red); border-color: var(--red); }
.car-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.car-dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--line); cursor: pointer; transition: background 0.2s ease, width 0.2s ease; }
.car-dots button.on { background: var(--red-hi); width: 40px; }

/* home photo slideshow */
.show .slide { position: relative; }
.show .slide img, .show .slide .ph { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.show .slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 20px; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(180deg, transparent, rgba(12,12,13,0.92)); }
.show .slide figcaption b { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1; letter-spacing: 0.02em; }
.show .slide figcaption span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 600px) { .show .slide img, .show .slide .ph { aspect-ratio: 4 / 3; } }

/* photo slot (until real photos are added) */
.ph { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 24px;
  background:
    repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,0.04) 60px 64px),
    radial-gradient(80% 90% at 80% 20%, var(--red-glow), transparent 70%),
    linear-gradient(160deg, var(--panel-2), var(--ink)); }
.ph b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; opacity: 0.35; }
.ph > span:last-child { color: var(--muted); font-size: 0.85rem; opacity: 0.6; }
.ph-tag { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--muted); padding: 3px 8px; border-radius: 2px; }
.show .ph b, .show .ph > span:last-child { display: none; }

/* reviews */
.rv .car-window { border: 1px solid #3a2a2b; background: linear-gradient(150deg, var(--red-tint), var(--panel) 55%); }
.rv-card { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.rv-stars { color: #f4b400; letter-spacing: 0.12em; font-size: 1.2rem; }
.rv-card blockquote { margin: 0; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; max-width: 62ch; }
.rv-card figcaption { display: flex; align-items: center; gap: 12px; }
.rv-card figcaption img, .rv-initial { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.rv-initial { display: grid; place-items: center; background: var(--red); font-weight: 600; }
.rv-card figcaption > span { display: flex; flex-direction: column; }
.rv-card figcaption .mono { font-size: 0.72rem; color: var(--muted); }
.rv:not(.live) .car-controls { display: none; }
.rv-summary { display: flex; align-items: center; gap: 14px; justify-self: start; }
.rv-big { font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; line-height: 1; }
.rv-summary > span:last-child { display: flex; flex-direction: column; }
.rv-summary .mono { font-size: 0.75rem; color: var(--muted); }

/* maps */
.map-frame { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--panel); }
.map-frame iframe, .map-ph { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(0.35) contrast(1.05); }
.map-ph { filter: none; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px;
  background: radial-gradient(60% 80% at 50% 50%, var(--red-tint), transparent 70%), repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--panel); }
.map-ph b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; }
.map-frame figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px; font-size: 0.88rem; border-top: 1px solid var(--line); }
.map-frame figcaption span { color: var(--muted); }
.areas-map { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.areas-map .areas { grid-template-columns: 1fr; }
@media (max-width: 860px) { .areas-map { grid-template-columns: 1fr; } }


/* gallery page */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 14px; border-radius: 2px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; }
.tab:hover { color: var(--text); border-color: var(--muted); }
.tab[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g-grid { grid-template-columns: 1fr; } }
.g-item { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.g-media { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.g-media img, .g-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.4s ease; }
.g-media .ph { cursor: default; }
.g-media:hover img { transform: scale(1.04); }
.g-item figcaption { display: flex; flex-direction: column; gap: 4px; }
.g-item figcaption b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.02em; line-height: 1; }
.g-item figcaption span:not(.chip) { color: var(--muted); font-size: 0.92rem; }
.g-item .chip { align-self: flex-start; margin-top: 4px; }
.lightbox { padding: 0; border: 1px solid var(--line); background: var(--ink); color: var(--text); max-width: min(1100px, 94vw); border-radius: 4px; }
.lightbox::backdrop { background: rgba(0,0,0,0.85); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-height: 80vh; width: 100%; object-fit: contain; }
.lightbox figcaption { padding: 12px 16px; color: var(--muted); }
.lb-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 3px; background: rgba(0,0,0,0.6); color: #fff; font-size: 1rem; cursor: pointer; }

/* GoHighLevel reviews widget */
.rv-widget { border: 1px solid #3a2a2b; border-radius: 4px; overflow: hidden; background: linear-gradient(150deg, var(--red-tint), var(--panel) 55%); padding: clamp(8px, 2vw, 16px); }
.rv-widget iframe { display: block; min-height: 320px; border: 0; }
.rv-ph { min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(24px, 4vw, 44px); }
.rv-ph b { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; }

/* =================== detail packages =================== */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .pkgs { grid-template-columns: 1fr; max-width: 560px; } }
.pkg { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(170deg, var(--panel-2), var(--panel) 60%); min-width: 0; }
.pkg.featured { border-color: var(--red); background: linear-gradient(170deg, rgba(186,16,20,0.38), var(--panel) 55%); box-shadow: 0 40px 90px -45px var(--red-glow); }
.pkg-badge { position: absolute; top: -12px; left: 24px; background: var(--red); color: #fff; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; }
.pkg-stars { color: var(--red-hi); letter-spacing: 0.18em; font-size: 1.05rem; }
.pkg-stars .dim { color: var(--line); }
.pkg h3 { font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 900; }
.pkg-tag { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.pkg-from { display: flex; align-items: baseline; gap: 10px; }
.pkg-from .mono { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pkg-from b { font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; line-height: 0.9; }
.prices { border-top: 1px solid var(--line); }
.pr { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.pr span { color: var(--muted); }
.pr b { font-weight: 500; }
.pkg-hl { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.93rem; }
.pkg-hl li { padding-left: 24px; position: relative; }
.pkg-hl li::before { content: "\2713"; position: absolute; left: 0; color: var(--red-hi); font-weight: 700; }
.pkg .btn { margin-top: auto; width: 100%; }
.pkg-more { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }

.matrices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 1000px) { .matrices { grid-template-columns: 1fr; } }
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.prose .matrix-wrap { margin-block: 4px; }
.matrix { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 480px; }
.matrix caption { position: absolute; left: -9999px; }
.matrix th, .matrix td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.matrix thead th { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.04em; background: var(--panel-2); }
.matrix thead th:first-child { text-align: left; color: var(--red-hi); }
.matrix thead th:last-child { background: linear-gradient(180deg, rgba(186,16,20,0.4), var(--panel-2)); }
.matrix tbody th { text-align: left; font-weight: 500; color: var(--text); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover { background: var(--red-tint); }
.matrix td:last-child { background: rgba(186,16,20,0.08); }
.yes { color: var(--red-hi); font-weight: 700; font-size: 1.05rem; }
.no { color: var(--line); }
.lvl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text); }
.layout > *, .prose > * { min-width: 0; }
.matrix thead th { white-space: nowrap; }
.matrix td { min-width: 76px; }
.no { color: var(--muted); opacity: 0.5; font-size: 1.2rem; }
.lvl { line-height: 1.35; display: inline-block; }
.tier .pkg-count { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tier .pkg-hl { margin-bottom: 10px; }
.note-line { margin-top: 28px; padding: 16px 18px; border: 1px solid #4a2a2c; border-radius: 4px; background: linear-gradient(135deg, rgba(186,16,20,0.16), var(--panel) 60%); }

/* real photos */
.show .slide img.real, .g-media img.real { object-fit: contain; background: #070707; }
.show .slide img.real { aspect-ratio: 2 / 1; }
.g-media { position: relative; }
.g-media img.real { aspect-ratio: 16 / 9; }
.ba-tag { position: absolute; top: 12px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; background: rgba(12,12,13,0.78); color: #fff; pointer-events: none; }
.ba-l { left: 12px; }
.ba-r { right: 12px; background: var(--red); }
.show .slide .ba-tag { top: 16px; }
.show .slide .ba-l { left: 16px; } .show .slide .ba-r { right: 16px; }
@media (max-width: 600px) { .show .slide img.real { aspect-ratio: 16 / 10; } }
.g-media .ph { display: flex; }

/* blurred fill behind photos in the slideshow */
.show .slide { overflow: hidden; isolation: isolate; }
.show .slide[style]::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(28px) brightness(0.45) saturate(1.2); }
.show .slide[style] img.real { background: transparent; }
.g-media img.real { background: #070707; }
.g-item.tall .g-media img.real { aspect-ratio: 4 / 5; object-fit: cover; }
.g-item.tall .g-media img.real, .g-media img.real { aspect-ratio: 4 / 3; object-fit: contain; background: transparent; }
.g-media { isolation: isolate; }
.g-media[style]::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(24px) brightness(0.45) saturate(1.2); }

/* hero photo */
.hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); }
.hero-photo { position: relative; margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid #3a2a2b; box-shadow: 0 50px 100px -45px var(--red-glow); max-width: 480px; justify-self: end; width: 100%; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(180deg, transparent, rgba(12,12,13,0.92)); }
.hero-photo figcaption .mono { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hi); }
.hero-photo figcaption b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.7rem; line-height: 1; letter-spacing: 0.02em; }
.hero-photo figcaption span:last-child { color: var(--muted); font-size: 0.88rem; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-top: 3px solid var(--red); pointer-events: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { justify-self: stretch; max-width: none; } .hero-photo img { aspect-ratio: 4 / 5; } }
.thesis-left { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
/* gallery: portrait tiles, phone photos fill the frame, wide before/after shots sit on a blurred fill */
.g-item .g-media img.real { aspect-ratio: 4 / 5; object-fit: cover; }
.g-item .g-media.wide img.real { object-fit: contain; }
[hidden] { display: none !important; }

/* process steps inside service pages */
.psteps { list-style: none; margin: 4px 0; padding: 0; counter-reset: ps; display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--line); }
.psteps li { counter-increment: ps; position: relative; padding: 0 0 18px 30px; display: flex; flex-direction: column; gap: 4px; }
.psteps li:last-child { padding-bottom: 0; }
.psteps li::before { content: counter(ps); position: absolute; left: -13px; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-mono); font-size: 0.72rem; display: grid; place-items: center; }
.psteps b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: 0.02em; line-height: 1.1; }
.psteps span { color: var(--muted); }
.svc-photos { padding-top: 0; border-bottom: 0; }
.psteps { margin-left: 13px; }

/* =================== nav dropdowns =================== */
.dd { position: relative; display: flex; align-items: center; gap: 2px; }
.dd-top { color: var(--text); text-decoration: none; }
.dd[data-active="true"] > .dd-top { color: var(--red-hi); }
.dd-btn { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: var(--muted); cursor: pointer; transition: transform 0.2s ease, color 0.2s ease; }
.dd-btn:hover { color: var(--text); }
.dd.open .dd-btn, .dd:hover .dd-btn { transform: rotate(180deg); color: var(--red-hi); }
.dd-menu { display: none; position: absolute; top: 100%; left: -18px; z-index: 30; min-width: 240px; padding: 16px 18px; background: var(--panel); border: 1px solid #3a2a2b; border-top: 2px solid var(--red); border-radius: 0 0 4px 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7); }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.dd-wide { display: none; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 4px 28px; min-width: 620px; left: -40px; }
.dd-col { display: flex; flex-direction: column; min-width: 0; }
.dd-h { margin: 0 0 6px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hi); }
.nav .dd-menu a { padding: 7px 0; font-size: 0.92rem; color: var(--text); border-bottom: 1px solid var(--line); }
.nav .dd-menu .dd-col a:last-child { border-bottom: 0; }
.nav .dd-menu a:hover, .nav .dd-menu a[aria-current="page"] { color: var(--red-hi); }
.dd-foot { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.nav .dd-foot a { border-bottom: 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hi); }
.nav .dd-foot a::after { content: " \2192"; }
@media (min-width: 921px) {
  .dd:hover > .dd-menu, .dd:focus-within > .dd-menu, .dd.open > .dd-menu { display: block; }
  .dd:hover > .dd-wide, .dd:focus-within > .dd-wide, .dd.open > .dd-wide { display: grid; }
}
@media (max-width: 920px) {
  .nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .dd { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .dd-top { flex: 1; padding: 12px 0; font-size: 1rem; }
  .nav .dd > .dd-top { border-bottom: 0; }
  .dd-btn { width: 40px; height: 40px; }
  .dd.open .dd-btn { transform: rotate(180deg); }
  .dd:hover .dd-btn { transform: none; color: var(--muted); }
  .dd.open:hover .dd-btn { transform: rotate(180deg); color: var(--red-hi); }
  .dd-menu, .dd-wide { position: static; display: none; width: 100%; min-width: 0; padding: 4px 0 14px 14px; background: transparent; border: 0; border-left: 2px solid var(--red); border-radius: 0; box-shadow: none; margin-bottom: 12px; }
  .dd-menu::before { display: none; }
  .dd.open > .dd-menu { display: block; }
  .dd.open > .dd-wide { display: flex; flex-direction: column; gap: 14px; }
  .nav .dd-menu a { padding: 9px 0; font-size: 0.95rem; }
}
.dd-menu::before { display: none; }
@media (min-width: 921px) {
  .header-row { align-items: stretch; }
  .brand, .nav-toggle { align-self: center; }
  .nav { align-self: stretch; }
  .nav > a { align-self: center; }
  .dd { align-self: stretch; }
  .dd-menu { top: calc(100% + 1px); }
}
@media (max-width: 920px) { .nav .dd-foot a { font-size: 0.72rem; padding: 6px 0; } .nav .dd-menu .dd-col a:last-child { border-bottom: 0; } }

/* videos */
video.real { display: block; width: 100%; object-fit: cover; background: #070707; }
.show .slide video.real { aspect-ratio: 2 / 1; object-fit: contain; background: transparent; }
.g-item .g-media video.real { aspect-ratio: 4 / 5; }
.vid-badge { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 2px; background: rgba(12,12,13,0.78); color: #fff; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; pointer-events: none; }
.show .slide .vid-badge { top: 16px; right: 16px; }
.g-media:has(video) { cursor: pointer; }
.lightbox video { display: block; max-height: 80vh; width: 100%; background: #000; }
@media (max-width: 600px) { .show .slide video.real { aspect-ratio: 16 / 10; } }
.lb-close { z-index: 3; }
.form-wrap { width: 100%; min-height: 1036px; height: 1036px; border-radius: 8px; overflow: hidden; background: var(--panel); }

/* header logo */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-logo { width: 52px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-foot { display: inline-block; }
.brand-foot img { width: 120px; height: 120px; border-radius: 10px; display: block; }
@media (max-width: 420px) { .brand-logo { width: 44px; height: 44px; } .brand-word { font-size: 1.35rem; } .brand-sub { font-size: 0.52rem; letter-spacing: 0.16em; } }

/* watermark word: always fits the screen width */
.page-hero[data-mark]::after {
  font-size: min(15rem, 17vw, calc((100vw - 32px) / (var(--len, 8) * 0.56)));
  right: var(--gutter);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .page-hero[data-mark] { --mk: min(17vw, calc((100vw - 32px) / (var(--len, 8) * 0.72))); padding-bottom: calc(var(--mk) + 34px); }
  .page-hero[data-mark]::after { font-size: var(--mk); line-height: 0.85; bottom: 16px; right: auto; left: var(--gutter); max-width: calc(100vw - 32px); overflow: hidden; -webkit-text-stroke: 1px rgba(226, 57, 63, 0.45); }
}
.brand-logo, .brand-foot img { border-radius: 0; background: transparent; }

/* logo red on large display accents */
.hero h1 .tagline em, .thesis .big em { -webkit-text-fill-color: var(--logo-red); color: var(--logo-red); }
.brand-word span { color: var(--logo-red); }
.cta-band { background: radial-gradient(70% 120% at 100% 0%, var(--red-hover), transparent 60%), linear-gradient(135deg, var(--logo-red), #6e0609); }
@media (min-width: 761px) {
  .page-hero[data-mark]::after { font-size: min(15rem, calc((min(100vw, 1280px) - 2 * var(--gutter)) / (var(--len, 8) * 0.72))); right: var(--gutter); max-width: calc(100vw - 2 * var(--gutter)); overflow: hidden; }
}
/* phones: background word sits faded behind the hero, drifting off the right edge like desktop */
@media (max-width: 760px) {
  .page-hero[data-mark] { padding-bottom: clamp(36px, 5vw, 56px); }
  .page-hero[data-mark]::after {
    font-size: clamp(4.2rem, calc(100vw / (var(--len, 8) * 0.5)), 9rem);
    line-height: 0.85; left: 18vw; right: auto; bottom: -0.12em; top: auto;
    max-width: none; overflow: visible;
    -webkit-text-stroke: 1px rgba(226, 57, 63, 0.26);
  }
}
@media (max-width: 760px) { .page-hero[data-mark]::after { font-size: clamp(3.8rem, calc(100vw / (var(--len, 8) * 0.5)), 6.5rem); left: 22vw; } }
