/* Blackstone Restoration Group — shared styles
   Layout: dark polished-stone ground, organic stone "bubbles" behind key blocks, gold rules as structure */
:root {
  --ink: #0b0b0c;          /* page ground, near-black like the logo field */
  --slate: #151517;        /* raised surfaces */
  --line: #2a2823;         /* hairlines, warm */
  --gold: #c9a24a;         /* brand gold */
  --gold-hi: #ecd08a;      /* gold highlight */
  --silver: #d3d5d9;       /* brushed silver */
  --fg: #ece9e3;           /* body text */
  --muted: #a7a297;        /* secondary text */
  --on-gold: #17130a;      /* text on gold buttons */
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --stone: none;           /* filled with a generated texture at load */
  --wrap: 1180px;
  --mbar: 0px;             /* height of the mobile call bar */
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 17px/1.65 var(--body); overflow-x: hidden; padding-bottom: var(--mbar); }
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
[id] { scroll-margin-top: 110px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: .02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.eyebrow { font: 600 .82rem/1.2 var(--label); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 14px; margin: 0; }
.eyebrow::before, .eyebrow.both::after { content: ""; flex: none; width: 38px; height: 1px; background: var(--gold); }
.metal { background: linear-gradient(175deg, #fff 0%, var(--silver) 38%, #8d9096 52%, #e9eaec 70%, #b4b7bc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-text { background: linear-gradient(175deg, var(--gold-hi) 0%, var(--gold) 55%, #9a7629 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt { margin-top: 14px; }

/* Stone bubbles: organic shapes filled with generated slate, edges dissolved with a radial mask */
.stone { position: absolute; z-index: 0; pointer-events: none; background: var(--stone), #18181b; background-size: 640px; border-radius: 58% 42% 47% 53% / 46% 55% 45% 54%;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); opacity: .95; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 .95rem/1.1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; text-align: center; padding: 16px 26px; min-height: 50px; border-radius: 2px; border: 1px solid var(--gold); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #a8842f); color: var(--on-gold); }
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--gold-hi); }
.btn-ghost:hover { background: var(--gold); color: var(--on-gold); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Utility bar + header */
.util { background: #000; border-bottom: 1px solid var(--line); font: 600 .8rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.util .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 26px; min-height: 40px; flex-wrap: wrap; }
.util a { color: var(--silver); text-decoration: none; }
.util a:hover { color: var(--gold-hi); }
.util .phone { color: var(--gold-hi); font-size: 1.1rem; letter-spacing: .06em; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(0,0,0,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
header.site .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 70px; width: auto; mix-blend-mode: lighten; }
nav.main > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
nav.main ul { list-style: none; margin: 0; padding: 0; }
nav.main > ul > li { position: relative; }
nav.main a { display: block; padding: 12px 14px; color: var(--fg); text-decoration: none; font: 600 .98rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; }
nav.main a:hover, nav.main li:focus-within > a, nav.main a[aria-current="page"] { color: var(--gold-hi); }
nav.main a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
nav.main .has-sub > a::after { content: " \25BE"; font-size: .7em; color: var(--gold); }
nav.main .sub { position: absolute; top: 100%; left: 0; min-width: 270px; background: #0d0d0f; border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 8px 0; display: none; flex-direction: column; }
nav.main li:hover > .sub, nav.main li:focus-within > .sub { display: flex; }
nav.main .sub a { font: 500 .98rem/1.2 var(--body); letter-spacing: 0; text-transform: none; padding: 10px 18px; color: var(--silver); }
nav.main .sub .grp { font: 700 .74rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding: 12px 18px 4px; }
nav.main .cta a { color: var(--on-gold); box-shadow: none; }
.sub-toggle { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--gold); color: var(--gold-hi); font: 700 .85rem/1 var(--label); letter-spacing: .18em; padding: 0 16px; min-height: 46px; cursor: pointer; }
.menu-btn .bars { display: inline-block; width: 16px; height: 10px; margin-right: 8px; vertical-align: -1px; border-block: 2px solid currentColor; position: relative; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: currentColor; }

/* Home hero */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,6,.92) 0%, rgba(5,5,6,.72) 48%, rgba(5,5,6,.35) 100%), linear-gradient(0deg, rgba(5,5,6,.85), transparent 40%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: 72px 84px; }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: .03em; line-height: 1.04; }
.hero h1 span { display: block; }
.lede { max-width: 34em; color: var(--silver); font-size: 1.12rem; margin: 22px 0 30px; }
.tagline { font: 700 1rem/1.3 var(--label); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 22px; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .hero-bg { z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,6,.94) 0%, rgba(5,5,6,.78) 55%, rgba(5,5,6,.45) 100%), linear-gradient(0deg, rgba(5,5,6,.9), transparent 55%); }
.page-hero .wrap { padding-block: 84px 72px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); font-weight: 800; margin-top: 16px; }
.page-hero .lede { margin-bottom: 28px; }
.crumbs { font: 600 .8rem/1.2 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.crumbs a { color: var(--silver); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { font: 600 .82rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--silver); border: 1px solid #3a362e; padding: 10px 14px; background: rgba(0,0,0,.4); }
.jump a:hover { border-color: var(--gold); color: var(--gold-hi); }

/* Forms */
.form-wrap { position: relative; }
.form-wrap > .stone { width: 150%; height: 150%; left: -25%; top: -25%; }
.card-form { position: relative; z-index: 1; background: rgba(10,10,11,.84); border: 1px solid rgba(201,162,74,.55); padding: 30px 28px 26px; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.card-form h2 { font-size: 1.55rem; }
.card-form p.sub { color: var(--muted); margin: 6px 0 18px; font-size: .98rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: block; font: 600 .74rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fields input, .fields select, .fields textarea { width: 100%; background: #0f0f11; color: var(--fg); border: 1px solid #34312b; border-radius: 2px; padding: 12px; font: 400 16px/1.3 var(--body); min-height: 46px; }
.fields textarea { min-height: 96px; resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { border-color: var(--gold); outline: none; }
.card-form .btn { width: 100%; margin-top: 16px; }
.form-note { font-size: .92rem; color: var(--gold-hi); margin: 12px 0 0; min-height: 1.2em; }

/* Deployment strip */
.strip { background: linear-gradient(90deg, #7d5f22, var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, #7d5f22); color: var(--on-gold); text-align: center; font: 700 1rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 15px 20px; }

section { position: relative; }
.pad { padding-block: 92px; }
.tight { padding-block: 64px; }

/* Intro */
.intro { overflow: hidden; }
.intro .wrap { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.seal { position: relative; aspect-ratio: 1320 / 1013; max-width: 380px; width: 100%; }
.seal img { width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 72%, transparent 100%); mask-image: radial-gradient(ellipse 62% 64% at 50% 50%, #000 72%, transparent 100%); }
.prose p { color: var(--silver); max-width: 64ch; margin: 18px 0 0; }
.prose p strong { color: var(--fg); font-weight: 600; }

/* Section heads */
.head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head .prose p { margin-top: 12px; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* Photo service tiles */
.services { background: linear-gradient(180deg, var(--ink), #101012 40%, var(--ink)); overflow: hidden; }
.services .stone.s1 { width: 720px; height: 560px; right: -260px; top: 40px; }
.services .stone.s2 { width: 620px; height: 520px; left: -300px; bottom: -80px; }
.tiles { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; text-decoration: none; color: var(--fg); border: 1px solid var(--line); background: #111; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,6,.95) 8%, rgba(5,5,6,.35) 55%, rgba(5,5,6,.1)); }
.tile .t { position: relative; z-index: 1; padding: 20px 20px 18px; border-top: 2px solid var(--gold); }
.tile h3 { font-size: 1.12rem; letter-spacing: .06em; }
.tile span { font: 600 .78rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); display: block; margin-top: 10px; }
.tile:hover img { transform: scale(1.06); }
.tile:hover { border-color: var(--gold); }
.split-btns { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* Problems checklist */
.problems { background: var(--slate); border-block: 1px solid var(--line); overflow: hidden; }
.problems .stone { width: 900px; height: 700px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .7; }
.problems .wrap { position: relative; z-index: 1; }
.problems h2 { text-align: center; margin: 14px 0 44px; }
.problems .eyebrow { justify-content: center; }
.checks { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 28px; }
.checks li { break-inside: avoid; display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(201,162,74,.16); font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 9px; height: 9px; transform: rotate(45deg) translateY(-2px); background: var(--gold); }
.turnkey { text-align: center; margin-top: 46px; display: grid; justify-items: center; gap: 20px; }
.turnkey p { font: 500 1.35rem/1.4 var(--display); color: var(--silver); margin: 0; }

/* Work gallery */
.work .grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.work figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); }
.work figure img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); font: 600 .8rem/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.work .a { grid-column: span 3; grid-row: span 2; }
.work .b, .work .c { grid-column: span 3; }
.work .d, .work .e, .work .f { grid-column: span 2; }
.badge-row { display: flex; gap: 10px 34px; flex-wrap: wrap; margin-top: 30px; font: 600 .9rem/1.3 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.badge-row b { color: var(--gold-hi); font-weight: 700; }

/* Photo + text split */
.serve { overflow: hidden; }
.serve > .stone { width: 780px; height: 640px; left: -220px; top: 50%; transform: translateY(-50%); }
.serve.flip > .stone { left: auto; right: -220px; }
.serve .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.serve.flip .photo { order: 2; }
.serve .photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; border: 2px solid rgba(201,162,74,.5); }
.serve-list { display: grid; gap: 26px; margin-top: 26px; }
.serve-list h3 { font-size: 1.3rem; color: var(--gold-hi); }
.serve-list p { margin: 8px 0 0; color: var(--silver); max-width: 52ch; }

/* Commercial / residential pair */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--slate); padding: 34px 32px; }
.panel h3 { font-size: 1.5rem; margin-top: 12px; }
.panel p { color: var(--silver); margin: 12px 0 0; }
.panel ul { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.panel li { display: flex; gap: 12px; align-items: baseline; }
.panel li::before { content: ""; flex: none; width: 8px; height: 8px; transform: rotate(45deg) translateY(-2px); background: var(--gold); }

/* Roof systems spec list */
.systems { overflow: hidden; }
.systems > .stone { width: 760px; height: 600px; right: -280px; top: 120px; opacity: .8; }
.sys-group { position: relative; z-index: 1; margin-top: 46px; }
.sys-group > h3 { font: 700 .86rem/1 var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); padding-bottom: 14px; border-bottom: 1px solid var(--gold); }
.sys { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 10px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.sys h4 { font: 700 1.25rem/1.25 var(--display); margin: 0; color: var(--fg); letter-spacing: .03em; }
.sys .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font: 600 .72rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); border: 1px solid rgba(201,162,74,.45); padding: 6px 8px; }
.sys p { margin: 0; color: var(--silver); max-width: 68ch; }

/* Text service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; z-index: 1; }
.card { background: rgba(21,21,23,.88); border: 1px solid var(--line); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.card .k { font: 700 .74rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 1.22rem; }
.card p { margin: 0; color: var(--silver); }
.card:target { border-color: var(--gold); }

/* Process steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; z-index: 1; }
.steps li { counter-increment: s; padding: 0 20px 0 0; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 2.2rem/1 var(--display); color: var(--gold); margin-bottom: 14px; }
.steps li::after { content: ""; position: absolute; top: 18px; left: 64px; right: 14px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.steps li:last-child::after { display: none; }
.steps h3 { font: 700 1.05rem/1.25 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.steps p { margin: 8px 0 0; color: var(--silver); font-size: .98rem; }

/* Emergency band */
.emergency { background: #000; border-block: 1px solid var(--gold); }
.emergency .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; padding-block: 30px; }
.emergency p { margin: 0; font: 700 1.3rem/1.3 var(--display); }
.emergency .num { font: 700 1.6rem/1 var(--label); letter-spacing: .06em; color: var(--gold-hi); text-decoration: none; }

/* Pillars (Restore / Rebuild / Relieve) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); position: relative; z-index: 1; }
.pillars > div { padding: 38px 30px; border-left: 1px solid var(--line); }
.pillars > div:first-child { border-left: 0; }
.pillars h3 { font-size: 2rem; font-weight: 800; }
.pillars p { color: var(--silver); margin: 12px 0 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; position: relative; z-index: 1; }
.info { display: grid; gap: 0; border-top: 1px solid var(--gold); }
.info > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.info .lbl { font: 700 .74rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.info .val { font: 600 1.3rem/1.3 var(--label); letter-spacing: .04em; color: var(--fg); word-break: break-word; }
.info .note { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.contact-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy { background: none; border: 1px solid #3a362e; color: var(--muted); font: 600 .7rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 7px 9px; cursor: pointer; }
.copy:hover { border-color: var(--gold); color: var(--gold-hi); }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("images/cta-bg.jpg") center/cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8,8,9,.78), rgba(8,8,9,.95) 75%); }
.cta h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); margin: 16px 0 14px; }
.cta p { color: var(--silver); margin: 0 auto 28px; max-width: 46ch; }
.cta .eyebrow { justify-content: center; }
.cta .actions { justify-content: center; }

/* Footer */
footer { position: relative; overflow: hidden; background: #070708; border-top: 1px solid var(--line); }
footer > .stone { width: 700px; height: 520px; right: -200px; bottom: -220px; opacity: .8; }
footer .cols { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
footer img.flogo { width: 220px; mix-blend-mode: lighten; }
footer .ftag { color: var(--gold-hi); font: 700 .85rem/1.3 var(--label); letter-spacing: .3em; text-transform: uppercase; margin: 14px 0 0; }
footer h4 { font: 700 .82rem/1 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer ul a { display: inline-block; padding: 4px 0; }
footer a { color: var(--silver); text-decoration: none; }
footer a:hover { color: var(--gold-hi); }
.legal { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.legal .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; font-size: .85rem; color: var(--muted); }

/* Mega menu (Roofing) */
nav.main .sub.mega { min-width: 540px; }
nav.main li:hover > .sub.mega, nav.main li:focus-within > .sub.mega { display: grid; grid-template-columns: 1fr 1fr; }
nav.main .sub .col { display: flex; flex-direction: column; }
nav.main .sub p.grp { margin: 0; }
nav.main .sub a.all { color: var(--gold-hi); font-weight: 600; }

/* Category landing pages */
.page-hero.stone-hero { background: radial-gradient(ellipse at 70% 40%, #1b1b1e, var(--ink) 70%); }
.page-hero.stone-hero::before { display: none; }
.page-hero > .stone { width: 900px; height: 640px; right: -180px; top: -120px; opacity: .9; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-split .seal { justify-self: end; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.hero-chips .chip { background: rgba(0,0,0,.45); }
.svc-intro .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.glance { position: relative; border: 1px solid rgba(201,162,74,.45); background: var(--slate); padding: 26px 26px 10px; overflow: hidden; }
.glance h3 { font: 700 .82rem/1 var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.glance dl { margin: 0; display: grid; }
.glance dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.glance dl > div:last-child { border-bottom: 0; }
.glance dt { font: 600 .74rem/1.2 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 0; font: 600 1.08rem/1.35 var(--body); color: var(--fg); }
.checks.three { columns: 3 220px; }
.faq-list { display: grid; border-top: 1px solid var(--gold); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font: 700 1.12rem/1.35 var(--display); letter-spacing: .02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(201,162,74,.5); color: var(--gold-hi); font: 700 1.2rem/1 var(--label); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 20px; color: var(--silver); max-width: 70ch; }
.tile.stone-tile { background: var(--stone), #18181b; background-size: 520px; }
.tile.stone-tile::after { background: linear-gradient(0deg, rgba(5,5,6,.9) 10%, rgba(5,5,6,.2)); }
.tile.stone-tile .mark { position: absolute; top: 22px; left: 20px; z-index: 1; font: 800 2.6rem/1 var(--display); color: rgba(201,162,74,.5); }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.three .tile { aspect-ratio: 16 / 11; }
.link-more { display: inline-block; margin-top: 16px; font: 700 .86rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.sys .link-more { margin-top: 12px; }

/* Answers (blog + FAQ hybrid) */
.ans-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.ans-side { position: sticky; top: 120px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.ans-side .lbl { font: 700 .74rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.search { width: 100%; background: #0f0f11; color: var(--fg); border: 1px solid #34312b; border-radius: 2px; padding: 12px 14px; font: 400 16px/1.3 var(--body); min-height: 46px; }
.search:focus { border-color: var(--gold); outline: none; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { background: transparent; border: 1px solid #3a362e; color: var(--silver); font: 600 .82rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; cursor: pointer; min-height: 40px; }
.fchip:hover { border-color: var(--gold); color: var(--gold-hi); }
.fchip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.side-card { border: 1px solid rgba(201,162,74,.45); background: var(--slate); padding: 22px; }
.side-card p { margin: 0 0 14px; color: var(--silver); font-size: .98rem; }
.side-card .btn { width: 100%; }
.ans-list { display: grid; gap: 18px; }
.ans { position: relative; border: 1px solid var(--line); background: rgba(21,21,23,.9); padding: 26px 28px; }
.ans:target { border-color: var(--gold); }
.ans-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font: 600 .76rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ans-meta .tag { color: var(--gold-hi); border: 1px solid rgba(201,162,74,.45); padding: 5px 8px; }
.ans h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 14px 0 10px; }
.ans h2 a { color: inherit; text-decoration: none; }
.ans .quick { margin: 0; color: var(--fg); max-width: 70ch; }
.ans .quick b { color: var(--gold-hi); font: 700 .82rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; margin-right: 6px; }
.ans details { margin-top: 16px; }
.ans summary { cursor: pointer; list-style: none; display: inline-flex; gap: 10px; align-items: center; font: 700 .84rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); min-height: 40px; }
.ans summary::-webkit-details-marker { display: none; }
.ans summary::after { content: "\25BE"; transition: transform .2s; }
.ans details[open] summary::after { transform: rotate(180deg); }
.ans details[open] summary .more-txt::before { content: "Hide"; }
.ans-body p { color: var(--silver); max-width: 70ch; margin: 12px 0 0; }
.takeaways { margin-top: 18px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(201,162,74,.06); }
.takeaways .lbl { font: 700 .72rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.takeaways ul { margin: 0; padding-left: 18px; color: var(--fg); }
.takeaways li { margin: 4px 0; }
.ans-empty { color: var(--muted); padding: 30px 0; }

/* Locations map */
.map-sec { overflow: hidden; }
.map-sec > .stone { width: 900px; height: 700px; left: -300px; top: -200px; opacity: .7; }
.map-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 30px; }
.map-head h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; margin-top: 14px; }
.map-stats { display: flex; gap: 34px; }
.map-stats div { display: grid; gap: 6px; }
.map-stats b { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.map-stats span { font: 600 .74rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.map-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; }
.map-stage { position: relative; aspect-ratio: 975 / 610; max-width: 100%; background: radial-gradient(ellipse at 50% 45%, #121215, #070708 75%); border: 1px solid rgba(201,162,74,.4); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 80px rgba(0,0,0,.6); }
#us-map { display: block; width: 100%; height: 100%; cursor: grab; user-select: none; -webkit-user-select: none; }
#us-map:active { cursor: grabbing; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font: 600 .9rem/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; text-align: center; padding: 20px; }
.land { fill: url(#landFill); stroke: none; }
.state { fill: transparent; cursor: zoom-in; transition: fill .25s; }
.state:hover { fill: rgba(201,162,74,.07); }
.state-borders { fill: none; stroke: rgba(201,162,74,.34); stroke-width: .8; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
.counties { fill: none; stroke: rgba(211,213,217,.14); stroke-width: .5; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; }
.nation { fill: none; stroke: var(--gold); stroke-width: 1.3; vector-effect: non-scaling-stroke; pointer-events: none; }
.sweep { pointer-events: none; mix-blend-mode: screen; opacity: 0; }
.pin { cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .ready .nation { animation: edgeIn 1.6s ease-out both, edgeGlow 4s 1.6s ease-in-out infinite; }
  .ready .land, .ready .state-borders { animation: fadeIn 1.2s .2s both; }
  .ready .state { animation: stateIn .9s var(--d) both; }
  .ready .sweep { opacity: 1; animation: sweep 7s 2.2s linear infinite both; }
  .ready .pin { animation: pinIn .4s var(--d) ease-out both; }
  .ready .pin .core { animation: pop .6s var(--d) cubic-bezier(.2,1.8,.4,1) both; }
}
.pin .core { fill: var(--gold-hi); stroke: #000; stroke-width: .7; transform-box: fill-box; transform-origin: center; transition: transform .25s; }
.pin .pulse { fill: none; stroke: var(--gold-hi); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; animation-delay: var(--d); }
.pin .glow { opacity: .55; }
.pin .hit { fill: transparent; }
.pin .lbl { font: 600 9px var(--label); letter-spacing: .06em; fill: var(--fg); paint-order: stroke; stroke: #050506; stroke-width: 3px; stroke-linejoin: round; opacity: 0; transition: opacity .3s; pointer-events: none; }
.labels .pin .lbl { opacity: 1; }
.pin:hover .core { transform: scale(1.5); }
.pin:hover .lbl { opacity: 1; }
.pin.active .core { transform: scale(2); fill: #fff3cf; }
.pin.active .glow { opacity: 1; transform: scale(2); transform-box: fill-box; transform-origin: center; }
.pin.active .lbl { opacity: 1; fill: var(--gold-hi); font-size: 11px; }
.map-ui { position: absolute; top: 12px; right: 12px; display: grid; gap: 6px; z-index: 2; }
.map-ui button { width: 42px; height: 42px; background: rgba(5,5,6,.85); border: 1px solid rgba(201,162,74,.5); color: var(--gold-hi); font: 700 1.3rem/1 var(--label); cursor: pointer; }
.map-ui button:hover { background: var(--gold); color: var(--on-gold); }
.map-ui #map-reset { font-size: .66rem; letter-spacing: .1em; }
.map-legend { position: absolute; left: 14px; top: 12px; z-index: 2; display: flex; gap: 14px; align-items: center; font: 600 .72rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: rgba(5,5,6,.7); padding: 8px 10px; }
.map-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 8px var(--gold); margin-right: 6px; vertical-align: 0; }
.map-hint { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); z-index: 2; background: rgba(5,5,6,.9); border: 1px solid rgba(201,162,74,.5); color: var(--fg); font: 600 .8rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; }
.map-hint.show { opacity: 1; transform: translate(-50%, 0); }
.map-card { position: absolute; left: 14px; bottom: 14px; z-index: 3; width: min(320px, calc(100% - 28px)); background: rgba(8,8,9,.94); border: 1px solid var(--gold); padding: 18px 18px 16px; box-shadow: 0 20px 50px rgba(0,0,0,.6); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.map-card.show { opacity: 1; transform: none; }
.map-card .c-state { font: 600 .72rem/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0; }
.map-card .c-city { font: 700 1.35rem/1.2 var(--display); margin: 8px 0 6px; }
.map-card .c-addr { margin: 0 0 4px; color: var(--fg); }
.map-card .c-addr.soon { color: var(--muted); font-style: italic; }
.map-card .c-phone { margin: 0 0 14px; color: var(--silver); font-size: .95rem; }
.map-card .row { display: flex; gap: 8px; }
.map-card .btn { flex: 1; min-height: 42px; padding: 10px; font-size: .78rem; }
.map-card .x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.map-list { display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--line); background: rgba(13,13,15,.92); }
.map-list .top { padding: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.map-list #office-count { font: 600 .74rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
#office-list { list-style: none; margin: 0; padding: 0 0 10px; overflow-y: auto; flex: 1; max-height: 520px; overscroll-behavior: contain; }
#office-list ul { list-style: none; margin: 0; padding: 0; }
.og-h { position: sticky; top: 0; z-index: 1; margin: 0; padding: 10px 14px 6px; background: #0d0d0f; font: 700 .76rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: flex; justify-content: space-between; }
.og-h span { color: var(--muted); }
.office-btn { width: 100%; text-align: left; background: none; border: 0; color: var(--silver); font: 500 1rem/1.2 var(--body); padding: 9px 14px 9px 24px; cursor: pointer; position: relative; }
.office-btn::before { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--gold); transform: rotate(45deg); }
.office-btn:hover { color: var(--gold-hi); background: rgba(201,162,74,.06); }
.office-btn.on { color: var(--on-gold); background: var(--gold); }
.office-btn.on::before { background: var(--on-gold); }
@media (min-width: 1101px) { .map-list { height: 0; min-height: 100%; } #office-list { max-height: none; } }
.map-note { color: var(--muted); font-size: .92rem; margin: 14px 0 0; position: relative; z-index: 1; }
@keyframes drawEdge { to { stroke-dashoffset: 0; } }
@keyframes edgeIn { from { opacity: 0; stroke-width: 6; } }
@keyframes edgeGlow { 50% { stroke: var(--gold-hi); } }
@keyframes stateIn { from { fill: rgba(236,208,138,.28); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(1300px); } }
@keyframes pinIn { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }

/* Home: locations teaser */
.loc-band { position: relative; overflow: hidden; background: #000; border-block: 1px solid var(--line); }
.loc-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: 56px; }
.loc-band h2 { margin-top: 12px; }
.loc-band p { color: var(--silver); margin: 12px 0 0; max-width: 56ch; }
.loc-band > .stone { width: 700px; height: 420px; right: -120px; top: -60px; }

/* Intro splash (home page, once per visit) */
.splash { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(circle at 50% 44%, #19191c 0, #050506 62%); overflow: hidden; transition: clip-path .9s cubic-bezier(.7,0,.3,1), opacity .9s; clip-path: circle(150% at 50% 44%); }
.splash::before { content: ""; position: absolute; inset: -10%; background: var(--stone); background-size: 560px; opacity: .55; -webkit-mask-image: radial-gradient(circle at 50% 44%, #000 0, transparent 60%); mask-image: radial-gradient(circle at 50% 44%, #000 0, transparent 60%); animation: fadeIn 1.2s both; }
.splash.out { clip-path: circle(0% at 50% 30%); opacity: .4; }
.splash canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro-core { position: relative; width: min(80vw, 560px); aspect-ratio: 3 / 2; }
.intro-ring { position: absolute; width: 64%; left: 18%; top: -9%; overflow: visible; }
.intro-ring circle { fill: none; stroke: url(#introGold); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(236,208,138,.8)); animation: drawEdge 1.2s .15s cubic-bezier(.6,.1,.3,1) forwards, fadeOutRing .6s 1.5s forwards; transform: rotate(-90deg); transform-origin: center; }
.intro-logo { position: absolute; inset: 0; overflow: hidden; mix-blend-mode: lighten; opacity: 0; transform: scale(.9); filter: blur(10px); animation: logoIn 1.1s .55s cubic-bezier(.2,.8,.2,1) forwards; }
.intro-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.intro-logo::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255,246,214,.95) 50%, transparent 60%); mix-blend-mode: color-dodge; transform: translateX(-70%); animation: shine 1.1s 1.55s ease-in-out forwards; }
.intro-tag { position: absolute; left: 0; right: 0; bottom: -16%; margin: 0; text-align: center; font: 700 clamp(.8rem, 2.4vw, 1.05rem)/1 var(--label); letter-spacing: .6em; text-transform: uppercase; color: var(--gold-hi); opacity: 0; animation: tagIn 1s 1.9s ease-out forwards; }
.intro-skip { position: absolute; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); background: none; border: 1px solid rgba(201,162,74,.5); color: var(--silver); font: 600 .78rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; padding: 12px 16px; cursor: pointer; }
.intro-skip:hover { color: var(--gold-hi); border-color: var(--gold); }
html.intro-lock, html.intro-lock body { overflow: hidden; }
@keyframes logoIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes shine { to { transform: translateX(70%); } }
@keyframes tagIn { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; letter-spacing: .34em; } }
@keyframes fadeOutRing { to { opacity: .25; } }

/* Mobile call bar */
.mbar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; align-items: center; }
  nav.main { position: absolute; top: 100%; left: 0; right: 0; background: #050506; border-bottom: 1px solid var(--gold); display: none; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; }
  nav.main.open { display: block; }
  nav.main > ul { flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 0; }
  nav.main > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  nav.main > ul > li > a { flex: 1; padding: 16px 0; font-size: 1.05rem; }
  nav.main a[aria-current="page"] { box-shadow: none; }
  nav.main .has-sub > a::after { content: none; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid #3a362e; color: var(--gold-hi); cursor: pointer; font-size: 1.1rem; }
  .sub-toggle::before { content: "+"; font: 700 1.3rem/1 var(--label); }
  li.open > .sub-toggle::before { content: "\2212"; }
  nav.main li:hover > .sub, nav.main li:focus-within > .sub { display: none; }
  nav.main .sub { position: static; flex-basis: 100%; border: 0; background: none; padding: 0 0 12px 12px; min-width: 0; }
  nav.main li.open > .sub { display: flex; }
  nav.main .sub a { padding: 11px 0; }
  nav.main .sub .grp { padding: 14px 0 4px; }
  nav.main > ul > li.cta { border: 0; margin-top: 16px; }
  nav.main .cta a { flex: 1; padding: 16px; }
  .hero .wrap, .serve .wrap, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .serve.flip .photo { order: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 1.8rem; }
  .steps li::after { display: none; }
  .steps p { grid-column: 2; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --mbar: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body { font-size: 16px; }
  [id] { scroll-margin-top: 90px; }
  .wrap { padding-inline: 18px; }
  .util { display: none; }
  header.site .wrap { min-height: 70px; }
  .brand img { height: 54px; }
  nav.main { max-height: calc(100vh - 70px - var(--mbar)); max-height: calc(100dvh - 70px - var(--mbar)); }
  .hero .wrap { padding-block: 44px 52px; gap: 40px; }
  .page-hero .wrap { padding-block: 52px 44px; }
  .lede { font-size: 1.04rem; }
  .tagline { font-size: .86rem; letter-spacing: .26em; }
  .hero .actions .btn, .page-hero .actions .btn, .cta .actions .btn { flex: 1 1 100%; }
  .card-form { padding: 24px 18px 20px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .intro .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; }
  .seal { max-width: 300px; }
  .pad { padding-block: 60px; }
  .head { margin-bottom: 28px; }
  .head .btn { width: 100%; }
  .split-btns .btn { flex: 1 1 100%; }
  .tile h3 { font-size: 1rem; }
  .tile .t { padding: 14px 14px 12px; }
  .work .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .work .a { grid-column: 1 / -1; grid-row: span 2; }
  .work .b, .work .c, .work .d, .work .e { grid-column: span 1; grid-row: auto; }
  .work .f { grid-column: 1 / -1; }
  .badge-row { gap: 10px 22px; font-size: .8rem; }
  .checks { columns: 2; column-gap: 18px; }
  .checks li { font-size: .95rem; }
  .turnkey p { font-size: 1.15rem; }
  .serve .wrap { gap: 36px; }
  .pair, .cards { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 26px 20px; }
  .sys { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillars > div { border-left: 0; border-top: 1px solid var(--line); padding: 28px 4px; }
  .pillars > div:first-child { border-top: 0; }
  .emergency .wrap { flex-direction: column; align-items: stretch; text-align: center; }
  .emergency .btn { width: 100%; }
  .stone { max-width: 150vw; }
  footer .cols { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 48px 30px; }
  .legal .wrap { flex-direction: column; }

  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(0,0,0,.96); border-top: 1px solid var(--gold); }
  .mbar .btn { min-height: 48px; padding: 0 10px; font-size: .9rem; letter-spacing: .12em; }
}
/* Leaflet essentials (map library layout rules) */
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; left: 0; top: 0; }
.leaflet-container { overflow: hidden; -webkit-tap-highlight-color: transparent; font: 400 14px/1.4 var(--body); outline-offset: 1px; }
.leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow { user-select: none; -webkit-user-drag: none; }
.leaflet-container img.leaflet-tile, .leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-overlay-pane svg { max-width: none !important; max-height: none !important; }
.leaflet-tile { visibility: hidden; filter: inherit; }
.leaflet-tile-loaded { visibility: inherit; }
.leaflet-touch-zoom { touch-action: pan-x pan-y; }
.leaflet-touch-drag { touch-action: none; }
.leaflet-pane { z-index: 400; } .leaflet-tile-pane { z-index: 200; } .leaflet-overlay-pane { z-index: 400; } .leaflet-shadow-pane { z-index: 500; } .leaflet-marker-pane { z-index: 600; } .leaflet-tooltip-pane { z-index: 650; } .leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; } .leaflet-map-pane svg { z-index: 200; }
.leaflet-zoom-animated { transform-origin: 0 0; }
.leaflet-zoom-anim .leaflet-zoom-animated { transition: transform .25s cubic-bezier(0,0,.25,1); }
.leaflet-zoom-anim .leaflet-tile, .leaflet-pan-anim .leaflet-tile { transition: none; }
.leaflet-interactive { cursor: pointer; }
.leaflet-grab { cursor: grab; } .leaflet-dragging .leaflet-grab { cursor: grabbing; }
.leaflet-control { position: relative; z-index: 800; pointer-events: auto; float: left; clear: both; }
.leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-top { top: 0; } .leaflet-right { right: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; }
.leaflet-right .leaflet-control { float: right; }
.leaflet-top .leaflet-control { margin-top: 10px; } .leaflet-bottom .leaflet-control { margin-bottom: 0; } .leaflet-left .leaflet-control { margin-left: 10px; } .leaflet-right .leaflet-control { margin-right: 0; }
.leaflet-bar a { display: block; width: 40px; height: 40px; line-height: 38px; text-align: center; text-decoration: none; background: rgba(5,5,6,.88); color: var(--gold-hi); border: 1px solid rgba(201,162,74,.5); font: 700 20px/38px var(--label); }
.leaflet-bar a + a { border-top: 0; }
.leaflet-bar a:hover { background: var(--gold); color: var(--on-gold); }
.leaflet-bar a.leaflet-disabled { opacity: .4; cursor: default; }
.leaflet-control-attribution { background: rgba(5,5,6,.75); color: var(--muted); font-size: 11px; padding: 2px 6px; }
.leaflet-control-attribution a { color: var(--silver); }
.leaflet-popup { position: absolute; text-align: center; margin-bottom: 18px; }
.leaflet-popup-content-wrapper { text-align: left; background: rgba(8,8,9,.96); color: var(--fg); border: 1px solid var(--gold); border-radius: 2px; box-shadow: 0 12px 30px rgba(0,0,0,.6); }
.leaflet-popup-content { margin: 12px 30px 12px 14px; min-width: 170px; }
.leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-left: -20px; overflow: hidden; pointer-events: none; }
.leaflet-popup-tip { width: 15px; height: 15px; margin: -9px auto 0; transform: rotate(45deg); background: rgba(8,8,9,.96); border: 1px solid var(--gold); }
.leaflet-container a.leaflet-popup-close-button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; font: 20px/24px var(--body); color: var(--muted); text-decoration: none; text-align: center; }
.leaflet-tooltip { position: absolute; padding: 6px 9px; white-space: nowrap; pointer-events: none; background: rgba(8,8,9,.92); color: var(--fg); border: 1px solid rgba(201,162,74,.6); font: 600 .78rem/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.leaflet-div-icon { background: none; border: 0; }
.leaflet-fade-anim .leaflet-popup { opacity: 0; transition: opacity .2s linear; } .leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; }

/* Recent Weather Events */
.storm-hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
.page-hero > .wrap { position: relative; z-index: 1; }
.updated { font: 600 .8rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: -10px 0 26px; }
.storm-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; position: relative; z-index: 1; }
.storm-jump a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid rgba(201,162,74,.55); background: rgba(5,5,6,.6); text-decoration: none; color: var(--fg); transition: border-color .2s, background .2s; }
.storm-jump a:hover { border-color: var(--gold-hi); background: rgba(201,162,74,.08); }
.storm-jump .nk, .news-card .nk { font: 600 .74rem/1.2 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.storm-jump b { font: 700 1.6rem/1.1 var(--display); }
.storm-jump .nd { color: var(--silver); font-size: .95rem; }
.storm-sec { overflow: hidden; border-top: 1px solid var(--line); }
.storm-sec.alt { background: #0e0e10; }
.storm-sec > .stone { width: 800px; height: 600px; right: -300px; top: -120px; opacity: .55; }
.storm-sec .wrap { position: relative; z-index: 1; }
.storm-h { font-size: clamp(1.8rem, 4.2vw, 3rem); margin: 14px 0 12px; }
.storm-sum { font-size: 1.15rem; color: var(--fg); max-width: 62ch; margin: 0 0 30px; }
.sev { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(201,162,74,.45); background: rgba(5,5,6,.55); margin-bottom: 40px; }
.sev > div { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.sev > div:first-child { border-left: 0; }
.sev b { font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.sev span { font: 700 .78rem/1.25 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.sev small { color: var(--muted); font-size: .86rem; }
.storm-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.storm-grid .prose p:first-child { margin-top: 0; }
.sub-h { font: 700 .86rem/1 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 30px 0 14px; }
.checks.one { columns: 1; }
.areas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 22px !important; }
.areas span { font: 700 .76rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-right: 6px; }
.areas em { font: 600 .78rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--silver); border: 1px solid #3a362e; padding: 6px 8px; }
.else { font-size: .95rem; color: var(--muted) !important; }
.map-fig { margin: 0; position: sticky; top: 110px; }
.map-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.map-filter button { background: transparent; border: 1px solid #3a362e; color: var(--silver); font: 600 .78rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; min-height: 40px; cursor: pointer; }
.map-filter button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.storm-map { height: 480px; border: 1px solid rgba(201,162,74,.5); background: #101013; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.storm-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.35) sepia(.25); }
.map-fig figcaption { margin-top: 12px; }
.map-fig figcaption p { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.hail-key { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 600 .76rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--silver); align-items: center; }
.hail-key span { display: inline-flex; align-items: center; gap: 7px; }
.hail-key span.dim { opacity: .4; }
.hail-key i { display: inline-block; width: var(--d); height: var(--d); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff8e0, var(--gold) 70%); border: 1px solid #000; }
.map-lbl { display: none; font: 700 .72rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); text-shadow: 0 0 3px #000, 0 0 6px #000; white-space: nowrap; transform: translate(-50%, -50%); }
.no-tiles .map-lbl { display: block; }
.tornado-icon span { display: block; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, rgba(255,255,255,.25) 23% 60%, transparent 61%); border: 2px solid #fff; box-shadow: 0 0 14px rgba(255,255,255,.7); animation: torn 1.6s ease-in-out infinite; }
.track-arrow { color: #fff; font-size: 16px; line-height: 16px; text-align: center; text-shadow: 0 0 6px #000; }
@keyframes torn { 50% { box-shadow: 0 0 24px rgba(255,255,255,1); } }
.map-pop p { margin: 0; }
.map-pop .pp-k { font: 600 .72rem/1.2 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.map-pop .pp-h { font: 700 1.05rem/1.3 var(--display); margin: 4px 0 2px; }
.map-pop .pp-p { color: var(--silver); }
.map-pop .pp-n { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.storm-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; margin-top: 20px; }
.tline { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(201,162,74,.5); }
.tline li { position: relative; padding: 0 0 18px 22px; }
.tline li::before { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.tline time { font: 700 .8rem/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.tline p { margin: 4px 0 0; color: var(--silver); }
.news { display: grid; gap: 10px; }
.news-card { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); background: rgba(21,21,23,.9); text-decoration: none; color: var(--fg); transition: border-color .2s; }
.news-card:hover { border-color: var(--gold); }
.news-card .nt { font: 600 1.05rem/1.35 var(--body); }
.news-card .nd { color: var(--muted); font-size: .88rem; }
.rpt-wrap { margin-top: 34px; border: 1px solid var(--line); background: rgba(5,5,6,.5); }
.rpt-wrap summary { cursor: pointer; padding: 16px 18px; font: 700 .86rem/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.tbl-wrap { overflow-x: auto; }
.rpt { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.rpt th { text-align: left; font: 700 .72rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding: 12px 14px; border-bottom: 1px solid var(--gold); }
.rpt td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--silver); font-variant-numeric: tabular-nums; vertical-align: top; }
.rpt td.num { color: var(--gold-hi); font-weight: 600; white-space: nowrap; }
.storm-cta { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 36px; align-items: center; padding: 28px 30px; border: 1px solid var(--gold); background: linear-gradient(120deg, rgba(201,162,74,.16), rgba(5,5,6,.6) 60%); }
.storm-cta h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.storm-cta p { margin: 8px 0 0; color: var(--silver); max-width: 62ch; }
.sources p { color: var(--muted); max-width: 80ch; }
.sources ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.sources a { color: var(--silver); }
a.strip { display: block; text-decoration: none; }
a.strip:hover { filter: brightness(1.08); }
.util .storm-link { color: var(--gold-hi); }
#storm-form .contact-grid { align-items: center; }
.home-storms { overflow: hidden; background: #0e0e10; border-bottom: 1px solid var(--line); }
.home-storms > .stone { width: 820px; height: 600px; left: -280px; top: -100px; opacity: .6; }
.home-storms .wrap { position: relative; z-index: 1; }
.hs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hs-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 24px; border: 1px solid rgba(201,162,74,.5); background: linear-gradient(150deg, rgba(201,162,74,.12), rgba(5,5,6,.75) 55%); text-decoration: none; color: var(--fg); transition: border-color .2s, transform .2s; }
.hs-card:hover { border-color: var(--gold-hi); transform: translateY(-2px); }
.hs-k { font: 600 .76rem/1.3 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hs-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.hs-card p { margin: 0; color: var(--silver); }
.hs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 0; border-block: 1px solid var(--line); margin-top: auto; }
.hs-stats span { display: grid; gap: 4px; align-content: start; }
.hs-stats b { font: 800 clamp(1.3rem, 2.4vw, 1.7rem)/1 var(--display); }
.hs-stats small { font: 600 .7rem/1.25 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hs-go { font: 700 .84rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
@media (max-width: 900px) { .hs-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .hs-card { padding: 22px 18px 20px; } .home-storms .head .btn { width: 100%; } }
@media (max-width: 1100px) {
  .storm-grid, .storm-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .map-fig { position: static; }
  .sev { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sev > div:nth-child(3) { border-left: 0; }
  .sev > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .storm-jump { grid-template-columns: minmax(0, 1fr); }
  .storm-map { height: 380px; }
  .storm-cta { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .storm-cta .btn { flex: 1 1 100%; }
  .sev > div { padding: 16px 14px; }
  .storm-sum { font-size: 1.04rem; }
  .map-filter button { flex: 1 1 auto; }
}

/* New components: tablet and phone */
@media (max-width: 1100px) {
  nav.main li:hover > .sub.mega, nav.main li:focus-within > .sub.mega { display: none; }
  nav.main li.open > .sub.mega { display: flex; flex-direction: column; min-width: 0; }
  .svc-intro .wrap, .ans-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ans-side { position: static; }
  .map-shell { grid-template-columns: minmax(0, 1fr); }
  #office-list { max-height: 380px; }
  .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .hero-split .seal { display: none; }
  .page-hero > .stone { width: 520px; height: 420px; right: -200px; top: -80px; }
  .checks.three { columns: 1; }
  .faq-list summary { font-size: 1.02rem; padding: 18px 0; }
  .tiles.three { grid-template-columns: minmax(0, 1fr); }
  .tiles.three .tile { aspect-ratio: 16 / 9; }
  .ans { padding: 22px 18px; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .fchip { flex: none; }
  .map-head { margin-bottom: 20px; }
  .map-stats { gap: 22px; }
  .map-stage { aspect-ratio: 4 / 3.4; }
  .map-legend { display: none; }
  .map-ui button { width: 44px; height: 44px; }
  .map-card { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px 14px 12px; }
  .map-card .c-city { font-size: 1.15rem; }
  .map-hint { white-space: normal; text-align: center; width: max-content; max-width: 86%; }
  .loc-band .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 44px; }
  .loc-band .btn { width: 100%; }
}
@media (max-width: 380px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { aspect-ratio: 16 / 10; }
  .checks { columns: 1; }
}
