/* Utah Garage Builders design system (navy + red from the logo, layout after the owner's Reilly Fence reference).
   Source: owner's Magic Valley Slab Co. reference, re-tuned to the logo (STYLE-GUIDE.md, .factory/config/design-dna.json). */

@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-condensed-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-condensed-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); }

:root {
  --navy-900: #0B1730;
  --navy-800: #12213F;
  --navy-700: #1C2E52;
  --navy-line: #2F4268;
  --paper: #F4F3F0;
  --white: #FFFFFF;
  --line: #DAD8D3;
  --line-soft: #E7E5E0;
  --ink: #0F1A30;
  --body: #38424F;
  --muted: #566170;
  --label: #5B5F68;
  --accent: #B3141B;
  --accent-dark: #8E0F15;
  --accent-light: #F4A9A1;
  --on-dark: #F6F4F1;
  --on-dark-muted: #B4BECC;
  --green: #1C2E52;
  --focus: #1F6FB2;

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1240px;
  --gutter: 24px;
  --band: clamp(56px, 8vw, 88px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.6 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; color: var(--ink); text-transform: uppercase; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: .98; letter-spacing: -.005em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.03; }
h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.08; letter-spacing: .015em; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
@media (max-width: 600px) { :root { --gutter: 16px; } body { font-size: 16.5px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type helpers ---------- */
.eyebrow { font: 400 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: 19px; line-height: 1.55; max-width: 52ch; text-wrap: pretty; }
.prose { max-width: 64ch; text-wrap: pretty; }
.muted { color: var(--muted); }

/* ---------- Bands ---------- */
.band { padding-block: var(--band); }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--navy { background: var(--navy-800); color: var(--on-dark-muted); }
.band--navy h1, .band--navy h2, .band--navy h3 { color: var(--on-dark); }
.band--navy .eyebrow { color: var(--accent-light); }
.band--navy a:not(.btn) { color: var(--accent-light); }
.band--rule { border-top: 1px solid var(--line-soft); }
.band__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 52px; align-items: end; margin-bottom: 40px; }
.band__head p { max-width: 46ch; margin: 0; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 44px 56px; align-items: start; }
.split--center { align-items: center; }
.split > * { min-width: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); border: 1px solid transparent; font: 700 19px/1.1 var(--f-display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.band--navy .btn--outline, .hero .btn--outline { border-color: #6B7A85; color: var(--on-dark); }
.band--navy .btn--outline:hover, .hero .btn--outline:hover { border-color: var(--on-dark); color: var(--white); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-900); color: var(--white); }
.btn--lg { font-size: clamp(20px, 2vw, 23px); padding: 15px 26px; min-height: 56px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font: 700 18px/1.2 var(--f-display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.text-link::after { content: " \2192"; }
.text-link:hover { color: var(--accent-dark); }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--navy-900); color: #C9D1D7; font: 400 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.utility__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding-block: 9px; }
.utility__sep { opacity: .45; }
@media (max-width: 760px) { .utility__hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; position: relative; }
.brand { flex: 0 0 auto; display: block; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 4px 22px; list-style: none; }
.nav__item { position: relative; }
.nav__link, .nav__toggle-sub { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font: 600 17px/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.nav__toggle-sub::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .15s ease; }
.nav__toggle-sub[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav__link:hover, .nav__toggle-sub:hover, .nav__link[aria-current="page"], .nav__item.is-active > .nav__toggle-sub { color: var(--accent); }
.nav__sub { display: none; position: absolute; top: calc(100% + 16px); left: -18px; min-width: 250px; list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 8px 0; }
.nav__toggle-sub[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sublink { display: block; padding: 9px 18px; font: 500 16px/1.3 var(--f-body); color: var(--ink); text-decoration: none; }
.nav__sublink:hover, .nav__sublink[aria-current="page"] { background: var(--paper); color: var(--accent); }
.nav__sub li:last-child .nav__sublink { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 12px; font-weight: 600; }
.nav__cta { font-size: 18px; padding: 11px 18px; white-space: nowrap; }
.header-cta-sm { display: none; }
.nav-toggle { display: none; margin-left: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font: 700 17px/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); cursor: pointer; }

@media (max-width: 1120px) {
  .brand img { height: 40px; }
  .site-header__inner { min-height: 68px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-cta-sm { display: inline-flex; margin-left: auto; min-height: 44px; font-size: 16px; padding: 10px 14px; white-space: nowrap; }
  .site-header__inner { gap: 10px; }
  .nav__cta { display: none; }
  .nav { display: none; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link, .nav__toggle-sub { width: 100%; justify-content: space-between; min-height: 52px; font-size: 19px; }
  .nav__sub { position: static; border: 0; min-width: 0; padding: 0 0 10px; }
  .nav__sublink { padding: 11px 12px; }
  .nav__cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
/* Full-bleed photo hero. The scrim keeps text at AA contrast; the photo subject sits on the right. */
.hero { position: relative; background: var(--navy-900); color: var(--on-dark-muted); overflow: hidden; }
.hero--photo { min-height: clamp(600px, 88vh, 900px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 55%; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 30, 44, .94) 0%, rgba(15, 30, 44, .82) 32%, rgba(15, 30, 44, .38) 58%, rgba(15, 30, 44, 0) 78%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.hero__copy { max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { color: var(--white); font-size: clamp(42px, 5.6vw, 76px); }
.hero .eyebrow { color: var(--accent-light); margin: 0; }
.hero .lead { color: #D5DCE1; margin: 0; max-width: 50ch; }
.hero .btn--lg { font-size: 19px; padding: 15px 20px; }
.hero--inner { padding: 0; }
.hero--inner .hero__content { padding-block: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) {
  /* Phones: the photo gets its own full-width block above the copy, so the addition stays visible. */
  .hero--photo { min-height: 0; display: block; }
  .hero--photo::before { display: none; }
  .hero__bg { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero__bg img { position: absolute; inset: 0; object-position: 78% 60%; }
  .hero__content { padding: 32px var(--gutter) 44px; background: var(--navy-900); }
}

/* ---------- Full-bleed media ---------- */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(560px, 76vh, 860px); }
.media-split__img { position: relative; min-height: 360px; background: var(--navy-700); }
.media-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-split__body { display: flex; flex-direction: column; justify-content: center; padding-block: var(--band); padding-inline: clamp(32px, 5vw, 88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.media-split--reverse .media-split__img { order: 2; }
.media-split--reverse .media-split__body { padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) clamp(32px, 5vw, 88px); }
.media-split__body > * { max-width: 560px; }
@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; min-height: 0; }
  .media-split__img { aspect-ratio: 4 / 3; min-height: 0; }
  .media-split--reverse .media-split__img { order: 0; }
  .media-split__body, .media-split--reverse .media-split__body { padding: 48px var(--gutter) 56px; }
}
.photo-band { position: relative; height: clamp(320px, 64vh, 760px); background: var(--navy-700); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pillars strip ---------- */
.pillars { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.pillars__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 22px 36px; padding-block: 28px; list-style: none; }
.pillar__title { font: 700 21px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); margin-bottom: 6px; }
.pillar__text { font-size: 15.5px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- Hairline list ---------- */
.ledger { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ledger li { background: var(--white); padding: 15px 18px; display: flex; gap: 14px; align-items: baseline; font-size: 16.5px; line-height: 1.45; color: var(--body); }
.ledger li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; background: var(--green); transform: translateY(-2px); }
.ledger strong { color: var(--ink); font-weight: 600; }

/* ---------- Tile grids ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); list-style: none; }
.tiles > li { display: flex; }
.tile { flex: 1; background: var(--navy-700); display: flex; flex-direction: column; gap: 9px; padding: 24px 22px 26px; min-height: 164px; text-decoration: none; transition: background-color .15s ease; }
a.tile:hover { background: #2A3B4E; }
.tile__name { font: 700 23px/1.05 var(--f-display); text-transform: uppercase; color: var(--on-dark); }
.tile__text { font-size: 15px; line-height: 1.5; color: #AEB9C1; }
.tile__more { margin-top: auto; padding-top: 6px; font: 400 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); }

/* ---------- Figure + detail checklist ---------- */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; }
.checks { list-style: none; border-top: 1px solid var(--line); margin-top: 26px; }
.checks li { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.checks b { font: 700 18px/1.25 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.checks span { font-size: 16px; line-height: 1.5; color: var(--body); }
@media (max-width: 520px) { .checks li { grid-template-columns: 1fr; } }

/* ---------- Compare (up vs out) ---------- */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; margin-top: 34px; }
.compare__card { background: var(--white); border: 1px solid var(--line); padding: 30px 28px; }
.compare__card h3 { font-size: 28px; margin-bottom: 6px; }
.compare__tag { font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.compare__card ul { list-style: none; display: grid; gap: 12px; }
.compare__card li { display: flex; gap: 12px; align-items: baseline; border-top: 1px solid var(--line-soft); padding-top: 12px; font-size: 16px; line-height: 1.5; color: var(--body); }
.compare__card li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; background: var(--accent); transform: translateY(-2px); }

/* ---------- Process steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; counter-reset: step; }
.step { border-top: 3px solid var(--accent); padding-top: 18px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 700 44px/1 var(--f-display); color: #D2CBC2; margin-bottom: 8px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- Area chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.chips a { display: inline-flex; align-items: center; min-height: 46px; border: 1px solid #44545F; text-decoration: none; font: 600 19px/1 var(--f-display); letter-spacing: .03em; text-transform: uppercase; padding: 10px 16px; transition: border-color .15s ease, color .15s ease; }
.band--navy .chips a { color: #DCE3E8; }
.band--navy .chips a:hover { border-color: var(--accent-light); color: var(--white); }
.band--navy .chips .chips__primary { border-color: var(--accent-light); color: var(--white); }

/* ---------- Resource list ---------- */
.resources { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.resources > li { display: flex; }
.resource { flex: 1; background: var(--white); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: background-color .15s ease; }
a.resource:hover { background: var(--paper); }
.resource__kind { font: 400 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.resource__title { font: 700 22px/1.08 var(--f-display); text-transform: uppercase; color: var(--ink); }
.resource__text { font-size: 15.5px; line-height: 1.5; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q { list-style: none; cursor: pointer; display: flex; gap: 20px; align-items: baseline; justify-content: space-between; padding: 20px 0; font: 700 clamp(20px, 2.2vw, 23px)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--accent); font-size: 28px; line-height: 1; }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__q:hover { color: var(--accent); }
.faq__a { padding: 0 0 22px; max-width: 70ch; color: var(--body); }

/* ---------- Lead form ---------- */
.contact-meta { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; list-style: none; }
.contact-meta li { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 16px; }
.contact-meta b { font: 400 11.5px/1.9 var(--f-mono); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--label); min-width: 84px; }
.lead-form { background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); position: relative; }
.lead-form__title { font-size: 26px; margin-bottom: 6px; }
.lead-form__intro { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .lead-form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font: 400 11.5px/1.3 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--label); }
.field .req { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #B9B1A7; background: #FBFAF8; padding: 11px 14px; font: 400 16px/1.4 var(--f-body); color: var(--ink); border-radius: var(--radius); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(117, 90, 66, .3); }
.field [aria-invalid="true"] { border-color: #A4262C; box-shadow: 0 0 0 1px #A4262C; }
.lead-form__alert { background: #FBEDEA; border-left: 3px solid #A4262C; color: #6E1B1F; padding: 12px 14px; margin-bottom: 18px; font-size: 15.5px; }
.lead-form__privacy { font-size: 13.5px; line-height: 1.5; color: var(--label); margin: 18px 0; }
.lead-form__submit { width: 100%; }
.lead-form__submit[aria-busy="true"] { opacity: .7; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Next steps (friction reducer by the form) ---------- */
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 14px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--body); }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font: 700 22px/1.1 var(--f-display); color: var(--accent); }
.next-steps b { color: var(--ink); font-weight: 600; }
.nav-toggle__bars { display: none; }
@media (max-width: 560px) {
  .brand img { height: 32px; }
  .nav-toggle { width: 44px; padding: 0; justify-content: center; margin-left: 0; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .header-cta-sm { font-size: 15px; padding: 9px 12px; }
}
@media (max-width: 420px) {
  .brand img { height: 26px; }
  .header-cta-sm { font-size: 14px; padding: 8px 10px; }
  .utility { font-size: 10.5px; letter-spacing: .04em; }
}
@media (max-width: 339px) { .header-cta-sm { display: none; } .nav-toggle { margin-left: auto; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--white); padding-block: 48px; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { color: #F3EAE1; margin: 8px 0 0; font-size: 17px; max-width: 56ch; }

/* ---------- Breadcrumbs, TOC, sources ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font: 400 12px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #9AA6AE; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #C9D1D7; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.toc { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 32px; }
.toc__title { font: 400 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: 10px; }
.toc ol { list-style: none; columns: 2 260px; column-gap: 32px; } .toc li { padding: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.sources { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; font-size: 15px; color: var(--muted); }
.sources h2 { font-size: 22px; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #A3B0B9; padding: 56px 0 30px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 340px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { background: var(--white); padding: 10px 12px; border-radius: var(--radius); display: inline-block; margin-bottom: 16px; }
.footer__logo img { height: 40px; width: auto; }
.footer__brand p { font-size: 15px; line-height: 1.6; max-width: 36ch; }
.footer__heading { font: 700 17px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 14px; }
.footer__col ul { list-style: none; display: grid; gap: 4px; font-size: 15.5px; }
.footer__col a { display: inline-block; padding-block: 4px; }
.site-footer a { color: #C2CCD3; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer__bottom { margin-top: 40px; border-top: 1px solid #26333D; padding-top: 20px; font: 400 11.5px/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #93A0AB; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Motion (MOTION-PROFILE.md: subtle reveals) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .45s ease-out, transform .45s ease-out; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ---------- Inner page hero (full-bleed photo, shorter than home) ---------- */
.hero--page { min-height: clamp(460px, 66vh, 700px); }
.hero--page .hero__copy { gap: 18px; max-width: 700px; }
.hero--page h1 { font-size: clamp(38px, 5vw, 66px); }
.hero .breadcrumbs { margin-bottom: 4px; }
.hero--plain { background: var(--navy-800); min-height: 0; }
.hero--plain .hero__content { padding-block: clamp(48px, 7vw, 88px); }

/* ---------- Article layout (guides, service, location) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article__aside { position: sticky; top: 108px; display: grid; gap: 24px; }
@media (max-width: 1000px) { .article { grid-template-columns: minmax(0, 1fr); } .article__aside { position: static; } }
.article .prose { max-width: 72ch; }
.prose h2 { margin: 56px 0 18px; }
.prose h2:first-child, .prose > .toc + h2 { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .ledger, .prose .checks, .prose .compare, .prose .steps { margin-block: 26px; padding-left: 0; }
.prose .ledger li, .prose .checks li { margin: 0; }
.aside-card { background: var(--navy-800); color: var(--on-dark-muted); padding: 28px 26px; border-top: 3px solid var(--accent-light); }
.aside-card h2 { color: var(--on-dark); font-size: 28px; margin-bottom: 10px; }
.aside-card p { font-size: 15.5px; line-height: 1.55; margin-bottom: 18px; }
.aside-card .btn { width: 100%; font-size: 18px; }
.aside-links { background: var(--white); border: 1px solid var(--line); padding: 22px 24px; }
.aside-links h2 { font: 400 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: 12px; }
.aside-links ul { list-style: none; display: grid; gap: 2px; }
.aside-links a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font: 600 18px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; color: var(--ink); }
.aside-links a:hover { color: var(--accent); }
.note { background: var(--white); border-left: 3px solid var(--green); padding: 18px 20px; margin: 26px 0; font-size: 16px; }
.note b { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); background: var(--white); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15.5px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.table-wrap th { font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--label); background: var(--paper); }
.table-wrap td:first-child { font-weight: 600; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 26px 0; }
.facts > div { background: var(--white); padding: 18px 20px; }
.facts dt { font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--label); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
mark[data-research] { background: #F3E6C9; color: inherit; padding: 0 2px; border-bottom: 1px dashed var(--accent); }

/* ---------- Cards (related, page-list) ---------- */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.card { background: var(--white); padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px; position: relative; transition: background-color .15s ease; }
.card:hover { background: var(--paper); }
.card__eyebrow { font: 400 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0; }
.card__title { font-size: 23px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { color: var(--accent); }
.card__text { font-size: 15.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.empty-note { background: var(--white); border: 1px dashed var(--line); padding: 22px; color: var(--muted); }
.sources ul { padding-left: 1.1em; display: grid; gap: 6px; margin-top: 12px; }
.sources__reviewed { font: 400 12px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--label); margin-bottom: 6px; }
.sitemap-group { margin-bottom: 40px; }
.sitemap-group h2 { font-size: 28px; margin-bottom: 14px; }
.sitemap-group ul { columns: 3 240px; list-style: none; }
.sitemap-group li { padding: 5px 0; break-inside: avoid; }
.legal h2 { font-size: 28px; margin: 40px 0 12px; }
.tiles--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.chips--light { margin: 22px 0 8px; padding: 0; }
.prose .chips--light li { margin: 0; }
.chips--light a { color: var(--ink); border-color: var(--line); background: var(--white); }
.chips--light a:hover { border-color: var(--accent); color: var(--accent); }

/* ======================================================================
   Utah Garage Builders additions (home hero, stats, service grid, price table, steps, call bar)
   ====================================================================== */
.ph { background: linear-gradient(135deg, #D9DCE2 0%, #C3C8D1 100%); width: 100%; border-radius: var(--radius); }
.utility__call { color: var(--accent-light); font-weight: 600; text-decoration: none; }
.nav__phone { font: 700 22px/1 var(--f-display); letter-spacing: .02em; color: var(--ink); text-decoration: none; white-space: nowrap; }

.hero--home { background: radial-gradient(1200px 500px at 85% 0%, #1C2E52 0%, transparent 60%), var(--navy-800); color: var(--on-dark-muted); padding-block: clamp(40px, 7vw, 88px); border-bottom: 4px solid var(--accent); }
.hero--home h1 { color: var(--white); font-size: clamp(46px, 7vw, 84px); }
.hero--home .eyebrow { color: var(--accent-light); }
.hero-home__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 56px; align-items: center; }
.hero-home__sub { font: 600 clamp(22px, 2.6vw, 30px)/1.2 var(--f-display); color: var(--white); margin: 18px 0 14px; letter-spacing: .01em; }
.hero-home__text { max-width: 52ch; font-size: 18px; }
.hero-home__actions { margin-top: 24px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pills li { border: 1px solid var(--navy-line); background: rgba(255,255,255,.04); color: var(--on-dark); border-radius: 999px; padding: 7px 16px 7px 34px; font-size: 15px; font-weight: 500; position: relative; }
.pills li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 6px; height: 11px; border-right: 2px solid var(--accent-light); border-bottom: 2px solid var(--accent-light); transform: translateY(-62%) rotate(45deg); }
.hero--home .btn--outline { border-color: #6B7A8C; color: var(--on-dark); }

.quote-card { background: var(--navy-900); border: 1px solid var(--navy-line); border-top: 4px solid var(--accent); border-radius: 6px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); color: var(--on-dark-muted); }
.quote-card .lead-form__title { color: var(--white); font-size: clamp(26px, 3vw, 32px); text-transform: none; font-weight: 700; letter-spacing: 0; }
.quote-card .lead-form__intro { margin: 8px 0 18px; }
.quote-card .field label { color: var(--on-dark); }
.quote-card .field .req { color: var(--on-dark-muted); }
.quote-card .lead-form__privacy, .quote-card .lead-form__privacy a { color: var(--on-dark-muted); font-size: 14px; }
.quote-card .lead-form__submit { width: 100%; margin-top: 6px; }
.lead-form--short .lead-form__grid { grid-template-columns: 1fr 1fr; }

.stats { background: var(--navy-700); color: var(--on-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 34px; text-align: center; }
.stats b { display: block; font: 700 clamp(34px, 5vw, 52px)/1 var(--f-display); color: var(--white); }
.stats span { display: block; margin-top: 8px; font: 400 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); }

.section-lead { max-width: 64ch; margin: 16px 0 36px; font-size: 18px; text-wrap: pretty; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { position: relative; background: var(--white); border: 1px solid var(--line); border-bottom: 3px solid var(--accent); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.svc .ph { border-radius: 0; }
.svc__num { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--navy-800); color: var(--white); font: 700 18px/1 var(--f-display); padding: 8px 10px; border-radius: 4px; }
.svc__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc h3 { font-size: 24px; }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; }
.svc p { font-size: 15.5px; margin: 0; color: var(--muted); }
.svc__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--navy-800); font-size: 15px; }
.svc__more::after { content: " \2192"; }
.svc:hover { box-shadow: 0 12px 30px -16px rgba(15,26,48,.4); }
.svc--cta { background: var(--paper); border: 1px dashed #B4B8C0; border-bottom: 1px dashed #B4B8C0; padding: 26px; justify-content: center; gap: 12px; align-items: flex-start; }
.svc--cta h3 { font-size: clamp(28px, 3vw, 36px); }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.price-table thead th { background: var(--navy-800); color: var(--white); font: 600 15px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table tbody td:last-child { font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
.price-table tbody tr:last-child > * { border-bottom: 0; }

.why .checks { display: grid; gap: 14px; list-style: none; }
.why .checks li { display: block; padding: 16px 18px 16px 52px; border: 1px solid var(--navy-line); border-radius: 6px; background: rgba(255,255,255,.03); position: relative; }
.why .checks li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 8px; height: 15px; border-right: 3px solid var(--accent-light); border-bottom: 3px solid var(--accent-light); transform: rotate(45deg); }
.why .checks b { display: block; color: var(--white); font: 700 21px/1.2 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.why .checks span { display: block; margin-top: 4px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 32px; counter-reset: s; }
.steps li { border-top: 3px solid var(--accent); padding-top: 18px; }
.steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--navy-800); color: var(--white); font: 700 22px/1 var(--f-display); border-radius: 4px; margin-bottom: 12px; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 15.5px; color: var(--muted); }

.areas { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.areas a { display: block; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 4px; font: 700 24px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.areas a:hover { background: var(--navy-800); color: var(--white); }

.final-cta .quote-card { background: var(--navy-900); }
.final-cta__phone { margin-top: 20px; }
.final-cta__call { font: 700 clamp(30px, 4vw, 44px)/1 var(--f-display); color: var(--white); text-decoration: none; }

.site-footer .footer__logo { display: inline-block; background: var(--white); padding: 8px 14px; border-radius: 4px; }
.site-footer .footer__logo img { height: 52px; width: auto; }

.call-bar { display: none; }
@media (max-width: 1120px) { .nav__phone { padding: 10px 0; } }
@media (max-width: 1000px) {
  .hero-home__grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; }
  .steps__n { grid-row: span 2; }
}
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .lead-form--short .lead-form__grid { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .call-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(15,26,48,.12); }
  .call-bar .btn { flex: 1; min-height: 50px; }
}

/* fixes: form inside dark card, table row headers */
.quote-card .lead-form { background: transparent; border: 0; padding: 0; box-shadow: none; }
.quote-card .field input, .quote-card .field select, .quote-card .field textarea { background: #F8F8F6; color: var(--ink); border-color: #C9CDD4; }
.quote-card .field label { font-size: 12px; }
.price-table tbody th { font: 600 17px/1.3 var(--f-body); letter-spacing: 0; text-transform: none; background: var(--white); color: var(--ink); }

/* contrast + mobile hero tightening */
.quote-card .lead-form__intro { color: var(--on-dark-muted); }
.why .checks li { border-top: 1px solid var(--navy-line); }
.why .checks span { color: var(--on-dark-muted); }
.why .split h2 + .lead { margin-top: 18px; }
.brand img { height: 52px; }
@media (max-width: 1120px) { .brand img { height: 50px; } }
@media (max-width: 700px) {
  .hero--home { padding-block: 28px 36px; }
  .hero--home h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero-home__sub { font-size: 19px; margin: 12px 0 14px; }
  .hero-home__text, .pills { display: none; }
  .hero-home__actions { margin: 0 0 22px; }
  .hero-home__actions .btn { width: 100%; }
}
.band h2 + .lead, .band h2 + .section-lead { margin-top: 16px; }

/* ---------- Shimmer (CSS only, off for prefers-reduced-motion) ---------- */
@keyframes ugb-sweep { 0% { transform: translateX(-130%) skewX(-20deg); } 38%, 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes ugb-glint { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.btn--primary, .nav__cta { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after, .nav__cta::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: translateX(-130%) skewX(-20deg); animation: ugb-sweep 5.5s ease-in-out infinite; }
.lead-form__submit::after { animation-delay: 1.2s; }
.btn--primary:hover::after, .btn--primary:focus-visible::after { animation: ugb-sweep 1s ease-out 1; }
.svc { transition: box-shadow .2s ease, transform .2s ease; }
.svc:hover { transform: translateY(-3px); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); }
.svc:hover::after { transform: translateX(120%); transition: transform .8s ease; }
.svc--cta::after { display: none; }
.quote-card { position: relative; overflow: hidden; }
.quote-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 40%, #FF6B63 50%, var(--accent) 60%, var(--accent) 100%); background-size: 200% 100%; animation: ugb-glint 6s linear infinite; }
.stats b { background: linear-gradient(100deg, #fff 30%, #F4A9A1 50%, #fff 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ugb-glint 7s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary::after, .nav__cta::after, .quote-card::before { animation: none; }
  .stats b { animation: none; background: none; color: var(--white); -webkit-text-fill-color: currentColor; }
  .svc, .svc::after { transition: none; transform: none; }
}
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* inner pages */
.hero--inner { padding-block: clamp(32px, 5vw, 64px); }
.hero--inner h1 { font-size: clamp(38px, 5.4vw, 68px); }
.hero--inner .breadcrumbs, .hero--inner .breadcrumbs a { color: var(--on-dark-muted); }
.hero--inner .breadcrumbs { margin-bottom: 14px; }
.hero-home__intro { margin-top: 18px; font-size: 19px; }
.page-photo { margin: 0; }
.page-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.included { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin-top: 8px; }
.included li { position: relative; padding: 12px 14px 12px 38px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-weight: 500; color: var(--ink); }
.included li::before { content: ""; position: absolute; left: 15px; top: 17px; width: 6px; height: 12px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); }
.chip-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip-links a { display: block; padding: 11px 18px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 4px; font: 700 19px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.chip-links a:hover { background: var(--navy-800); color: var(--white); }
.prose h2 { margin: 38px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; }
.prose ul { margin: 0 0 1em 1.2em; }
.prose li { margin-bottom: 6px; }
.rules { list-style: none; margin: 18px 0 !important; display: grid; gap: 10px; }
.rules li { padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 4px; margin: 0; }
.rules b { color: var(--ink); }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.rel-grid a { display: block; padding: 18px; background: var(--white); border: 1px solid var(--line); border-bottom: 3px solid var(--accent); border-radius: 6px; font: 700 22px/1.1 var(--f-display); text-transform: uppercase; color: var(--ink); text-decoration: none; }
.rel-grid a span { display: block; margin-top: 8px; font: 400 15px/1.4 var(--f-body); text-transform: none; color: var(--muted); }
.rel-grid a:hover { background: var(--navy-800); color: var(--white); }
.rel-grid a:hover span { color: var(--on-dark-muted); }
mark[data-research] { background: #FFF2B3; color: inherit; padding: 0 3px; }
@media (max-width: 1000px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .included, .rel-grid { grid-template-columns: 1fr; } .page-photo img { aspect-ratio: 16 / 9; } .hero--inner .hero-home__text { display: block; } }
.prose .eyebrow + h2 { margin-top: 0; }

/* contact page sits on a light band */
.band--paper .breadcrumbs, .band--paper .breadcrumbs a { color: var(--muted); }
.band--paper .breadcrumbs [aria-current="page"] { color: var(--ink); }
.band--paper .contact-phone { color: var(--navy-800); }

/* ---------- Photo behind the hero (Reilly-style: photo, navy overlay, content on top) ---------- */
.hero--photo-bg { position: relative; overflow: hidden; isolation: isolate; }
.hero--photo-bg .hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero--photo-bg .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero--photo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(11,23,48,.90) 0%, rgba(11,23,48,.74) 38%, rgba(11,23,48,.30) 68%, rgba(11,23,48,.12) 100%); }
.hero--photo-bg .hero-home__grid { position: relative; }
@media (max-width: 1000px) { .hero--photo-bg::before { background: linear-gradient(180deg, rgba(11,23,48,.84) 0%, rgba(11,23,48,.70) 45%, rgba(11,23,48,.48) 100%); } }

/* hero photo: fill the whole hero on mobile too (template had a 4:3 block rule) */
.hero--photo-bg .hero__bg { aspect-ratio: auto; height: 100%; }
.hero--photo-bg .hero__bg img { position: absolute; inset: 0; }

/* desktop: open dropdowns on hover and keyboard focus */
@media (min-width: 1121px) {
  .nav__item--has-sub::after { content: ""; position: absolute; left: -18px; right: -18px; top: 100%; height: 22px; }
  .nav__item--has-sub:hover > .nav__sub,
  .nav__item--has-sub:focus-within > .nav__sub { display: block; }
  .nav__item--has-sub:hover > .nav__toggle-sub::after,
  .nav__item--has-sub:focus-within > .nav__toggle-sub::after { transform: translateY(1px) rotate(-135deg); }
}

/* ---------- Desktop hero: form is a slim bar along the bottom so the photo (and the garage in it) stays visible ---------- */
@media (min-width: 1001px) {
  .hero--photo-bg { min-height: 700px; display: flex; align-items: stretch; padding-block: 0; }
  .hero--photo-bg .hero-home__grid { grid-template-columns: minmax(0, 1fr); gap: 0; align-content: space-between; width: 100%; padding-block: 56px 36px; }
  .hero--photo-bg .hero-home__copy { max-width: 660px; }
  .hero--photo-bg .pills { display: none; }
  .hero--photo-bg .quote-card { margin-top: 48px; padding: 16px 20px 14px; background: rgba(11,23,48,.93); border-top-width: 3px; border-radius: 6px; }
  .hero--photo-bg .lead-form--short { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 6px 18px; align-items: end; }
  .hero--photo-bg .lead-form--short .lead-form__title { grid-column: 1 / -1; font-size: 22px; margin: 0; }
  .hero--photo-bg .lead-form--short .lead-form__intro { display: none; }
  .hero--photo-bg .lead-form--short .lead-form__alert { grid-column: 1 / -1; }
  .hero--photo-bg .lead-form--short .lead-form__grid { grid-column: 1; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .hero--photo-bg .lead-form--short .lead-form__submit { grid-column: 2; margin: 0; width: 100%; height: 48px; }
  .hero--photo-bg .lead-form--short .lead-form__privacy { grid-column: 1 / -1; margin: 0; font-size: 13px; }
  .hero--photo-bg::before { background: linear-gradient(95deg, rgba(11,23,48,.90) 0%, rgba(11,23,48,.80) 40%, rgba(11,23,48,.50) 54%, rgba(11,23,48,.08) 72%, rgba(11,23,48,0) 100%); }
  .hero--photo-bg .hero__bg img { object-position: center 55%; }
}
@media (min-width: 1001px) {
  .hero--photo-bg .lead-form--short .lead-form__title { grid-row: 1; }
  .hero--photo-bg .lead-form--short .lead-form__alert { grid-row: 2; }
  .hero--photo-bg .lead-form--short .lead-form__grid { grid-row: 3; }
  .hero--photo-bg .lead-form--short .lead-form__submit { grid-row: 3; align-self: end; }
  .hero--photo-bg .lead-form--short .lead-form__privacy { grid-row: 4; }
  .hero--photo-bg .lead-form--short .lead-form__alert[hidden] { display: none; }
}

/* ---------- Mobile / tablet hero: photo is a clear band on top, content on navy below ---------- */
@media (max-width: 1000px) {
  .hero--photo-bg { overflow: visible; isolation: auto; padding-block: 0 30px; }
  .hero--photo-bg::before { display: none; }
  .hero--photo-bg .hero__bg { position: relative; inset: auto; z-index: auto; height: 220px; margin-bottom: 0; }
  .hero--photo-bg .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
  .hero--home:not(.hero--inner) .hero__bg img { object-position: 88% 62%; }
  .hero--photo-bg .hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(to bottom, rgba(18,33,63,0), var(--navy-800)); }
  .hero--photo-bg .hero-home__grid { padding-top: 8px; position: relative; z-index: 1; }
  .hero--photo-bg .hero-home__actions .btn--outline { display: none; }
  .hero--photo-bg .hero-home__actions { margin-bottom: 20px; }
  .hero--photo-bg .breadcrumbs { margin-bottom: 8px; }
}
@media (max-width: 700px) { .hero--photo-bg .hero__bg { height: 200px; } }

/* ---------- Bigger logo ---------- */
.brand img { height: 68px; }
.site-header__inner { min-height: 88px; }
.site-footer .footer__logo img { height: 68px; }
@media (max-width: 1120px) { .brand img { height: 58px; } .site-header__inner { min-height: 76px; } }
@media (max-width: 400px) { .brand img { height: 52px; } }
