/* Ben Rick Construction, Inc. — site styles
   Palette: California state flag. Kept calm so the logo stays the focal point. */


:root {
  --red: #B22234;
  --red-d: #8E1B2A;
  --brown: #5C4033;
  --brown-d: #3E2B22;
  --brown-dd: #251913;
  --green: #3F6B3A;
  --sand: #C9A66B;
  --sand-l: #EFE4CF;
  --ink: #2A211D;
  --muted: #6B5F58;
  --bg: #FFFFFF;
  --paper: #F8F5F0;
  --line: #E7E0D6;

  --f-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 136px);
  --radius: 4px;


  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-head); font-weight: 700; line-height: 1.02;
  letter-spacing: .005em; margin: 0; color: var(--brown-d); text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brown-d); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1.2 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--sand); }
.h-xl { font-size: clamp(44px, 7vw, 96px); text-transform: uppercase; letter-spacing: -.005em; }
.h-lg { font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; }
.h-md { font-size: clamp(26px, 3vw, 36px); }
.h-sm { font-size: 22px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 62ch; }

.btn {
  --b: var(--brown-d);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 2px solid var(--b); border-radius: var(--radius);
  font: 700 15px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  background: var(--b); color: #fff; cursor: pointer; position: relative; overflow: hidden;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); }
.btn--red { --b: var(--red); }
.btn--red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn--ghost { background: transparent; color: var(--brown-d); }
.btn--ghost:hover { background: var(--brown-d); color: #fff; }
.btn--ghost-light { --b: rgba(255,255,255,.7); background: rgba(255,255,255,.04); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: #fff; color: var(--brown-dd); border-color: #fff; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--red);
}
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(5px); }

.star-dot {
  display: inline-block; width: 12px; height: 12px; flex: none; background: var(--red);
  -webkit-mask: url("/assets/img/favicon.svg") center / contain no-repeat;
          mask: url("/assets/img/favicon.svg") center / contain no-repeat;
}

/* Red stripe band, from the bottom of the state flag */
.flag-band { height: 14px; background: var(--red); position: relative; }
.flag-band::before { content: ""; position: absolute; inset: -6px 0 auto; height: 6px; background: #fff; }
.stripe { height: 4px; width: 72px; background: var(--red); border: 0; margin: 0 0 26px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 82px; }
.brand { display: block; width: 132px; flex: none; }
.brand img { width: 100%; height: auto; }
.site-header .brand { margin-right: auto; transition: opacity .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(37,25,19,.08); }
/* Home: the big logo is in the hero, so the header logo appears only after scrolling */
.home .site-header { position: fixed; left: 0; right: 0; }
.home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; }
.home .site-header:not(.is-scrolled) .nav a:not(.btn) { color: #fff; }
.home .site-header:not(.is-scrolled) .brand { opacity: 0; visibility: hidden; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a:not(.btn) {
  font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--brown-d); position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red);
  transition: right .3s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { right: 0; }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.header-call { display: none; }
.nav-toggle { display: none; }


@media (max-width: 1080px) {
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-header__in { min-height: 70px; }
  .brand { width: 108px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: var(--radius);
    background: var(--brown-d); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .3s, background .3s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  [aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  [aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .header-call {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius);
    background: var(--red); color: #fff; font-weight: 700; text-decoration: none; font-size: 15px;
  }
  .header-call svg { width: 18px; height: 18px; fill: currentColor; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 90; flex-direction: column; align-items: stretch;
    gap: 0; padding: 96px 28px 28px; background: var(--brown-dd); transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), visibility .4s; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.3); }
  .nav a:not(.btn) {
    color: #fff; font-size: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current] { color: var(--sand) !important; }
  .nav__cta { margin-top: 24px; min-height: 54px; }
  .nav-toggle { position: relative; z-index: 95; }
}
@media (max-width: 640px) {
}

/* ---------- Home hero: commercial photo | residential photo, logo in the middle ---------- */
@property --split { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.hero {
  position: relative; min-height: max(620px, 100svh); display: grid; place-items: center;
  overflow: hidden; background: var(--brown-dd); color: #fff; isolation: isolate;
  --split: 50%; transition: --split .8s cubic-bezier(.2,.7,.2,1);
}
.hero[data-lean="com"] { --split: 60%; }
.hero[data-lean="res"] { --split: 40%; }
.hero__side { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__side img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.hero__side--com { clip-path: polygon(0 0, calc(var(--split) + 7%) 0, calc(var(--split) - 7%) 100%, 0 100%); }
.hero__side--res { clip-path: polygon(calc(var(--split) + 7%) 0, 100% 0, 100% 100%, calc(var(--split) - 7%) 100%); }
.hero__side--res img { animation-direction: alternate-reverse; object-position: 60% 50%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 55% 50% at 50% 48%, rgba(22,14,10,.55), rgba(22,14,10,0) 72%),
    linear-gradient(180deg, rgba(37,25,19,.7) 0%, rgba(37,25,19,.35) 35%, rgba(37,25,19,.4) 65%, rgba(37,25,19,.85) 100%);
}
.hero__seam {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--red);
  clip-path: polygon(calc(var(--split) + 7% - 1.5px) 0, calc(var(--split) + 7% + 1.5px) 0, calc(var(--split) - 7% + 1.5px) 100%, calc(var(--split) - 7% - 1.5px) 100%);
  -webkit-mask: linear-gradient(180deg, #000 0 12%, transparent 28% 74%, #000 88%);
          mask: linear-gradient(180deg, #000 0 12%, transparent 28% 74%, #000 88%);
}
.hero__center {
  text-align: center; padding: 120px var(--gutter) 110px; width: 100%; max-width: 1000px;
  display: flex; flex-direction: column; align-items: center;
}
.hero__logo {
  display: block; width: clamp(260px, calc((100svh - 470px) * 1.69), min(720px, 86vw)); height: auto; margin-bottom: 30px;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.55));
  animation: fade-up 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 { color: #fff; font-size: clamp(26px, 3.2vw, 42px); text-transform: uppercase; letter-spacing: .04em; animation: fade-up 1s .3s both; }
.hero__sub { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.86); margin: 12px auto 28px; animation: fade-up 1s .45s both; }
.hero .btn-row { justify-content: center; animation: fade-up 1s .6s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__tag {
  position: absolute; bottom: 32px; z-index: 2; padding: 8px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 99px;
  font: 600 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #fff; text-decoration: none;
  background: rgba(37,25,19,.35); backdrop-filter: blur(6px); transition: background .25s, border-color .25s;
}
.hero__tag:hover { background: var(--red); border-color: var(--red); }
.hero__tag--com { left: var(--gutter); }
.hero__tag--res { right: var(--gutter); }
.hero > .flag-band { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.hero > .flag-band::before { display: none; }
.creds-line { text-align: center; font-size: 14px; letter-spacing: .04em; color: var(--muted); padding-block: 18px; margin: 0; border-bottom: 1px solid var(--line); max-width: none; }
@media (max-width: 720px) {
  .hero__side--com { clip-path: polygon(0 0, 100% 0, 100% 42%, 0 58%); }
  .hero__side--res { clip-path: polygon(0 58%, 100% 42%, 100% 100%, 0 100%); }
  .hero__seam { display: none; }
  .hero__center { padding: 110px var(--gutter) 100px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section--paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Two-sided services (commercial / residential) */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.duo-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(460px, 48vw, 600px);
  color: #fff; text-decoration: none; overflow: hidden; border-radius: var(--radius); isolation: isolate;
}
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.duo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(37,25,19,.1) 0%, rgba(37,25,19,.55) 45%, rgba(37,25,19,.94) 100%); }
.duo-card:hover img { transform: scale(1.05); }
.duo-card__body { padding: clamp(24px, 3vw, 40px); }
.duo-card__tag { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--sand); }
.duo-card h3 { color: #fff; font-size: clamp(30px, 3.2vw, 44px); text-transform: uppercase; margin: 10px 0 12px; }
.duo-card p { color: rgba(255,255,255,.85); max-width: 46ch; }
.duo-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.duo-card li { font-size: 13px; letter-spacing: .06em; padding: 6px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; }
.duo-card .link-arrow { color: #fff; }
.duo-card .link-arrow::after { color: var(--red); }
.duo-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--red); transition: width .5s; }
.duo-card:hover::after { width: 100%; }
@media (max-width: 800px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Insurance / property loss feature */
.loss { background: var(--brown-dd); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }
.loss::before {
  content: ""; position: absolute; right: -8%; top: -20%; width: 60%; aspect-ratio: 1; opacity: .05; pointer-events: none;
  background: #fff; -webkit-mask: url("/assets/img/favicon.svg") center / contain no-repeat; mask: url("/assets/img/favicon.svg") center / contain no-repeat;
}
.loss h2, .loss h3 { color: #fff; }
.loss__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.loss__media { position: relative; }
.loss__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.loss__media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--red); border-radius: var(--radius); z-index: -1; }
.loss__media { isolation: isolate; }
.loss .lede { color: rgba(255,255,255,.78); }
.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; background: var(--red);
  -webkit-mask: url("/assets/img/favicon.svg") center / contain no-repeat; mask: url("/assets/img/favicon.svg") center / contain no-repeat;
}
.checks b { color: #fff; display: block; font-weight: 600; }
.checks--dark b { color: var(--brown-d); }
@media (max-width: 900px) {
  .loss__grid { grid-template-columns: minmax(0, 1fr); }
  .loss__media img { aspect-ratio: 16 / 10; }
}

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 34px 28px 0 0; position: relative; }
.steps li::before {
  content: "0" counter(step); display: block; font: 800 64px/1 var(--f-head); color: transparent;
  -webkit-text-stroke: 1.5px var(--sand); margin-bottom: 18px;
}
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--red); }
.steps h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Service areas */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.core-cities { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.core-cities li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0 14px; }
.core-cities b { font: 800 clamp(40px, 5vw, 64px)/1 var(--f-head); text-transform: uppercase; color: var(--brown-d); }
.core-cities span { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 15px; }
.chips li.chip--county { border-color: var(--sand); background: var(--sand-l); font-weight: 600; }
@media (max-width: 860px) { .areas { grid-template-columns: minmax(0, 1fr); } }

/* CTA + form */
.cta { background: var(--paper); border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--brown-d); fill: none; stroke: #fff; stroke-width: 1.7; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-weight: 600; font-size: 18px; text-decoration: none; color: var(--brown-d); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--red); }
.form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 30px 60px -30px rgba(37,25,19,.25); }
.form h3 { font-size: 30px; text-transform: uppercase; margin-bottom: 6px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-d); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brown); background: #fff; box-shadow: 0 0 0 3px rgba(178,34,52,.15); }
.form .btn { width: 100%; margin-top: 22px; }
.form__fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form__status { margin-top: 12px; font-weight: 600; color: var(--green); }
@media (max-width: 900px) { .cta__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; color: #fff; background: var(--brown-dd); overflow: hidden; isolation: isolate; }
.page-hero img.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(37,25,19,.95) 0%, rgba(37,25,19,.72) 55%, rgba(37,25,19,.35) 100%); }
.page-hero__in { padding-block: clamp(70px, 10vw, 130px) clamp(60px, 8vw, 100px); max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 78px); text-transform: uppercase; }
.page-hero .lede { color: rgba(255,255,255,.84); margin-top: 20px; }
.page-hero .btn-row { margin-top: 30px; }
.crumbs { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--sand); }
.crumbs span[aria-hidden] { margin: 0 8px; color: var(--red); }
.page-hero .flag-band { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.page-hero .flag-band::before { height: 3px; inset: -3px 0 auto; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.split--rev > :first-child { order: 2; }
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--rev > :first-child { order: 0; } }
.prose h2 { font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; margin: 0 0 18px; }
.prose h3 { font-size: 24px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--red); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(37,25,19,.35); }
.card::before { content: ""; position: absolute; top: -1px; left: 28px; width: 40px; height: 3px; background: var(--red); }
.card svg { width: 38px; height: 38px; stroke: var(--sand); fill: none; stroke-width: 1.5; margin-bottom: 18px; }
.card h3 { font-size: 23px; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 700 22px/1.2 var(--f-head); color: var(--brown-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 30px; color: var(--red); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

.band-cta { background: var(--red); color: #fff; }
.band-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 64px); }
.band-cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); text-transform: uppercase; }
.band-cta p { color: rgba(255,255,255,.88); margin-top: 8px; }
.band-cta .btn { --b: #fff; color: var(--red); }
.band-cta .btn:hover { background: var(--brown-dd); border-color: var(--brown-dd); color: #fff; }
.band-cta .btn--ghost-light { color: #fff; --b: rgba(255,255,255,.8); }

.placeholder {
  border: 2px dashed var(--sand); background: var(--sand-l); color: var(--brown-d); border-radius: var(--radius);
  padding: 22px 24px; font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dd); color: rgba(255,255,255,.72); font-size: 15px; padding-top: clamp(56px, 7vw, 90px); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.brand--footer { width: 220px; margin-bottom: 22px; }
.site-footer__h { font-size: 15px; font-family: var(--f-body); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin: 0 0 14px; }
.site-footer__h:not(:first-child) { margin-top: 28px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.nap strong { color: #fff; }
.nap a { color: #fff; }
.site-footer__hours { margin-top: 12px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__areas { margin-bottom: 22px; }
.site-footer__areas strong { color: #fff; }
.lic-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 14px; border: 1px solid rgba(201,166,107,.45); border-radius: var(--radius); color: #fff; font-size: 14px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.site-footer__legal p { margin: 0; }
.site-footer .flag-band::before { background: var(--brown-dd); }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
