/*
 * Thermalnation Experts — stylesheet.
 *
 * The visual language of the operator's design reference (https://www.mightyroofingny.com/, recorded in
 * data/template.json): a charcoal and near-black ground, one lime accent, condensed uppercase display type
 * over a clean sans, a fixed charcoal header, a dark photographic hero with a white form card, a lime
 * stats band, dark icon cards, white process and FAQ sections, and a closing form on a photograph.
 * The tokens below are the whole palette. Nothing of the reference's copy, claims, logo or imagery is here.
 */

@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/bebas-neue-latin-400.a7c90c8924.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-var.3100e775e8.woff2') format('woff2'); }

:root {
  --charcoal: #2d2d2d;
  --card: #3a3a3a;
  --black: #1a1a1a;
  --deep: #1c1c1c;
  --slate: #f6f7f9;
  --white: #ffffff;
  --lime: #dcfd0a;
  --lime-hover: #c8e809;
  --ink: #18181b;
  --neutral: #52525b;
  --silver: #e4e4e7;
  --on-dark: #d4d4d8;
  --muted-on-dark: #a1a1aa;
  --border-dark: rgba(255, 255, 255, .12);
  --radius: 16px;
  --radius-sm: 8px;
  --header-h: 77px;
  --container: 1200px;
  --gutter: 20px;
  --display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, .35);
  /* the licensed-and-insured seal (scripts/generate-badges.mjs reads these three) */
  --seal-edge: #dcfd0a;
  --seal-face: #ffffff;
  --seal-ink: #2d2d2d;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--white); color: var(--neutral); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.04; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
h3 { font: 700 20px/1.25 var(--sans); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--lime); color: var(--ink); padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.tag { display: inline-block; color: var(--muted-on-dark); font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; }
.section--light .tag { color: var(--neutral); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radius-sm); background: var(--lime); color: var(--ink); font: 800 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.btn:hover { background: var(--lime-hover); }
.btn:active { transform: scale(.98); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--silver); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn__icon { display: inline-grid; place-items: center; flex: none; }
.btn[disabled] { opacity: .7; cursor: default; }
.phone-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm); background: var(--card); color: var(--white); font-weight: 700; text-decoration: none; }
.phone-pill__icon { display: grid; place-items: center; color: var(--lime); }

/* ── header ───────────────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header-h); background: var(--charcoal); transition: box-shadow .25s ease; }
.site-header.is-stuck { box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.brand-logo { height: 42px; width: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { color: var(--silver); text-decoration: none; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 16px 0; display: inline-block; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--white); text-decoration: none; font: 700 14px/1 var(--sans); letter-spacing: .02em; }
.header-phone:hover { color: var(--lime); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: var(--radius-sm); background: var(--card); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-toggle > span:not(.sr-only) { width: 20px; height: 2px; background: var(--white); border-radius: 2px; display: block; }
main { padding-top: var(--header-h); }
@media (max-width: 991px) {
  .primary-nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 575px) { .header-actions .btn--sm { display: none; } }

.side-panel { position: fixed; inset: 0; z-index: 100; }
.side-panel__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); border: 0; opacity: 0; transition: opacity .35s ease; cursor: pointer; }
.side-panel__sheet { position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 88vw); background: var(--charcoal); padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.side-panel.is-open .side-panel__scrim { opacity: 1; }
.side-panel.is-open .side-panel__sheet { transform: none; }
.side-panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.side-panel__top .brand-logo { height: 38px; }
.panel-close { width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--card); color: var(--white); font-size: 28px; line-height: 1; cursor: pointer; }
.side-panel nav ul { list-style: none; padding: 0; margin: 0 0 22px; }
.side-panel nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border-dark); text-decoration: none; color: var(--white); font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.side-panel nav a:hover, .side-panel nav a[aria-current="page"] { color: var(--lime); }
.side-panel .actions { display: grid; gap: 12px; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; min-height: min(820px, calc(100vh - var(--header-h))); display: flex; align-items: center; background: var(--black); margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .74) 0%, rgba(10, 10, 10, .42) 55%, rgba(10, 10, 10, .18) 100%); }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero__eyebrow { color: var(--silver); font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { color: var(--white); font-size: clamp(54px, 8.2vw, 112px); line-height: .96; margin-bottom: 24px; }
.hero h1 strong { color: var(--lime); font-weight: 400; }
.hero__lede { color: var(--on-dark); font-size: 19px; max-width: 580px; margin-bottom: 28px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero__row .seal { width: 124px; height: 124px; flex: none; }
.hero__card { justify-self: end; width: 100%; max-width: 440px; }
.seal__word { font: 700 9.4px var(--sans); letter-spacing: .12em; fill: var(--seal-ink); }

/* ── lead forms ───────────────────────────────────────────────────────── */
.lead-form { background: var(--white); color: var(--neutral); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.lead-form__heading { font: 400 30px/1 var(--display); text-transform: uppercase; color: var(--ink); margin: 0 0 6px; letter-spacing: .02em; }
.lead-form__sub { margin: 0 0 18px; font-size: 15px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { margin: 0 0 14px; }
.lead-field label { display: block; font: 600 13px/1.3 var(--sans); color: var(--ink); margin-bottom: 6px; }
.lead-optional { font-weight: 400; color: var(--neutral); }
.lead-field input, .lead-field select, .lead-field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--silver); border-radius: var(--radius-sm); font: 400 16px var(--sans); color: var(--ink); background: var(--white); }
.lead-field textarea { min-height: 96px; resize: vertical; }
.lead-field input:focus, .lead-field select:focus, .lead-field textarea:focus { outline: 2px solid var(--charcoal); outline-offset: 1px; border-color: var(--charcoal); }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-actions { margin: 4px 0 0; }
.lead-actions .btn { width: 100%; min-height: 56px; font-size: 17px; }
.lead-status { margin: 12px 0 0; font-size: 15px; min-height: 1.4em; }
.lead-status[data-state="error"] { color: #b3261e; }
.lead-status[data-state="ok"] { color: #1f7a3a; }
.lead-consent { font-size: 13px; margin: 10px 0 0; text-align: center; }
.lead-noscript { font-size: 14px; }
.lead-form--card .lead-bar__fields { display: block; }
.lead-form--card .lead-bar__head { margin-bottom: 4px; }
@media (max-width: 575px) { .lead-row { grid-template-columns: 1fr; } .lead-form { padding: 22px 18px; } }

/* ── stats band and ticker ────────────────────────────────────────────── */
.stats-band { background: var(--lime); color: var(--ink); }
.stats-band__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 30px; padding-bottom: 30px; text-align: center; }
.stat b { display: block; font: 400 clamp(40px, 5vw, 62px)/1 var(--display); letter-spacing: .01em; }
.stat span { display: block; font: 700 12px/1.35 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.ticker { background: var(--deep); overflow: hidden; border-bottom: 1px solid var(--border-dark); }
.ticker__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 22px 0; gap: 0; animation: ticker 46s linear infinite; }
.ticker__track li { font: 400 24px/1 var(--display); letter-spacing: .1em; color: var(--on-dark); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker__track li::after { content: ''; width: 9px; height: 9px; background: var(--lime); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-25%); } }

/* ── sections ─────────────────────────────────────────────────────────── */
.section { padding: 96px 0; overflow-x: clip; }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--light { background: var(--white); }
.section-title { max-width: 760px; margin-bottom: 48px; }
.section-title--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title h2 { font-size: clamp(40px, 5.2vw, 68px); }
.section-title__lede { font-size: 18px; margin: 16px 0 0; }
.section--dark .section-title__lede { color: var(--muted-on-dark); }

/* ── service cards ────────────────────────────────────────────────────── */
.svc-grid { list-style: none; padding: 0; margin: 0; }
.svc { display: block; height: 100%; background: var(--card); border-radius: var(--radius); padding: 30px 28px; text-decoration: none; color: var(--on-dark); transition: transform .25s ease, background-color .25s ease; }
a.svc:hover { transform: translateY(-4px); background: #424242; }
.svc__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: rgba(220, 253, 10, .1); color: var(--lime); margin-bottom: 20px; }
.svc h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.svc p { margin: 0; font-size: 15.5px; color: var(--muted-on-dark); }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--lime); font: 700 14px/1 var(--sans); }

/* ── why it matters here ──────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.why .section-title { margin-bottom: 28px; }
.why .prose { max-width: 640px; }

/* ── areas ────────────────────────────────────────────────────────────── */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.regions { display: grid; gap: 26px; margin-bottom: 30px; }
.region__head { font: 400 26px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.region__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.region__list li { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: 16px; }
.region__list svg { color: var(--lime); flex: none; }
.region__list a { text-decoration: none; border-bottom: 1px solid var(--lime); }
.areas__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; border-radius: var(--radius); display: block; background: var(--card); }
.areas__map { position: sticky; top: calc(var(--header-h) + 24px); }

/* ── process ──────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 24px; align-items: start; background: var(--slate); border-radius: var(--radius); padding: 28px; }
.step__node { font: 400 56px/1 var(--display); color: var(--ink); background: var(--lime); border-radius: 12px; display: grid; place-items: center; height: 76px; }
.step h3 { margin-bottom: 6px; }
.step p:last-child { margin-bottom: 0; }

/* ── faq ──────────────────────────────────────────────────────────────── */
.faq { max-width: 900px; margin: 0 auto; }
.faq details { background: var(--slate); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 18px; flex: 1; }
.faq__arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--charcoal); color: var(--lime); display: grid; place-items: center; flex: none; transition: transform .25s ease; }
.faq details[open] .faq__arrow { transform: rotate(90deg); }
.faq__answer { padding: 0 24px 20px; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ── closing band ─────────────────────────────────────────────────────── */
.book { position: relative; overflow: hidden; background: var(--black); color: var(--on-dark); padding: 96px 0; }
.book__bg, .book__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book__bg::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 10, .78); }
.book__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.book h2 { color: var(--white); font-size: clamp(46px, 6vw, 84px); line-height: .96; margin-bottom: 18px; }
.book .tag { color: var(--lime); }
.book .prose { color: var(--on-dark); font-size: 18px; margin-bottom: 24px; }
.book__form .lead-form { max-width: 520px; margin-left: auto; }

/* ── inner pages ──────────────────────────────────────────────────────── */
.page-head { position: relative; overflow: hidden; background: var(--black); padding: calc(var(--header-h) + 72px) 0 72px; margin-top: calc(var(--header-h) * -1); }
.page-head__bg, .page-head__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head__bg::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 10, .72); }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: var(--white); font-size: clamp(46px, 6.4vw, 88px); margin-bottom: 16px; }
.page-head__lede { color: var(--on-dark); font-size: 19px; max-width: 640px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; color: var(--muted-on-dark); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--muted-on-dark); }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs [aria-current="page"] { color: var(--lime); }
.section--tight { padding: 56px 0; }
.prose { max-width: 760px; }
.prose h2 { font: 400 clamp(32px, 3.4vw, 44px)/1 var(--display); text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose h3 { margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul.checks { list-style: none; padding: 0; }
.prose ul.checks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.prose ul.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 6px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.prose ol li { margin-bottom: 8px; }
.why .prose p { color: var(--neutral); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--charcoal); color: var(--on-dark); border-radius: var(--radius); padding: 22px 24px; }
.contact-card h2 { font: 700 15px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--lime); text-decoration: none; font-weight: 700; }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(220, 253, 10, .1); color: var(--lime); flex: none; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); display: block; background: var(--card); }
.contact-grid .lead-form { box-shadow: none; border: 1px solid var(--silver); }
.link-row { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.link-row a { display: inline-block; padding: 12px 20px; border-radius: var(--radius-sm); background: var(--charcoal); color: var(--white); text-decoration: none; font-weight: 700; }
.link-row a:hover { background: var(--lime); color: var(--ink); }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: var(--muted-on-dark); padding: 72px 0 0; font-size: 15.5px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-main { display: grid; grid-template-columns: 1.2fr .9fr .9fr 1.3fr; gap: 40px; padding-bottom: 52px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 20px; }
.footer-about { max-width: 320px; }
.footer-seals { display: flex; gap: 12px; margin-top: 18px; }
.footer-seals .seal { width: 124px; height: 124px; }
.footer-title { margin: 0 0 16px; }
.footer-title, .foot-col__toggle { color: var(--lime); font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: none; border: 0; padding: 0; cursor: default; text-align: left; min-height: 44px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a, .footer-links .footer-here { display: inline-block; padding: 11px 0; }
.footer-contact a, .footer-bottom a { display: inline-block; padding: 12px 0; }
.footer-here { color: var(--lime); font-weight: 600; }
.footer-contact { list-style: none; margin: 0 0 16px; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact__icon { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--card); color: var(--lime); display: grid; place-items: center; }
.footer-map iframe { height: 200px; border: 0; border-radius: var(--radius-sm); width: 100%; background: var(--card); }
.footer-map__note { margin: 10px 0 0; font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--border-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 26px; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.call-bar { display: none; }
.scrollup { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 48px; height: 48px; border-radius: var(--radius-sm); border: 0; background: var(--lime); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.scrollup.is-visible { opacity: 1; visibility: visible; }

/* ── reveal (only once the head has armed it) ─────────────────────────── */
[data-reveal-armed] [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
@media (min-width: 1200px) {
  [data-reveal-armed] [data-reveal="left"] { transform: translateX(-28px); }
  [data-reveal-armed] [data-reveal="right"] { transform: translateX(28px); }
}
[data-reveal-armed] [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-armed] .beat { opacity: 0; transform: translateY(20px); transition: opacity .7s ease calc(var(--beat, 0) * .12s), transform .7s cubic-bezier(.2, .7, .2, 1) calc(var(--beat, 0) * .12s); }
[data-reveal-armed] [data-entrance].is-in .beat { opacity: 1; transform: none; }
.reveal-off [data-reveal], .reveal-off .beat { opacity: 1 !important; transform: none !important; }
@keyframes settle { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero__bg img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .hero__bg img { animation: none; }
  .btn, .svc, .faq__arrow, .side-panel__scrim, .side-panel__sheet { transition: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .areas, .why, .contact-grid, .book__in { gap: 40px; }
}
@media (max-width: 991px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__card { justify-self: stretch; max-width: none; }
  .stats-band__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why, .areas, .contact-grid, .book__in { grid-template-columns: 1fr; }
  .areas__map { position: static; }
  .areas__map iframe { min-height: 320px; }
  .why__media img { aspect-ratio: 16 / 10; }
  .section { padding: 72px 0; }
  .book__form .lead-form { margin: 0; max-width: none; }
}
@media (max-width: 767px) {
  .call-bar { display: block; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: var(--radius-sm); background: var(--lime); color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
  body { padding-bottom: 76px; }
  .scrollup { bottom: 80px; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .step__node { font-size: 40px; height: 56px; }
  .region__list { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .footer-main { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
}

/* ── services showcase: the cards run as a continuous carousel (SiteKit) ── */
.showcase__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.showcase__head .section-title { margin-bottom: 36px; }
.showcase__controls { display: flex; gap: 10px; margin-bottom: 40px; }
.round-btn { width: 52px; height: 52px; border-radius: var(--radius-sm); border: 1px solid var(--border-dark); background: var(--card); color: var(--lime); display: inline-grid; place-items: center; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.round-btn:hover { background: var(--lime); color: var(--ink); }
.showcase__viewport { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.showcase__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 10px 0; }
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__track > li { flex: 0 0 min(320px, 80vw); scroll-snap-align: start; }
.showcase .svc { height: 100%; }
@media (max-width: 767px) { .showcase__head { display: block; } .showcase__controls { margin-bottom: 24px; } }
