/* Home page only. Phone first. The other pages use pages.css, which copies the top bar, menu, button,
   form, questions, footer and contact bar rules from here; a test fails if a copied rule changes in one file only. */
:root {
  --bg: #0b0c0e;
  --bg-2: #111215;
  --panel: #17181c;
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(255, 190, 58, .28);
  --ink: #f3efe6;
  --muted: #b7b1a6;
  --gold: #e8a317;
  --gold-2: #ffbe3a;
  --gold-3: #ffd98a;
  --tape: #ffc61a;
  --pad: 20px;
  --max: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Instrument Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: Oswald, "Arial Narrow", sans-serif; letter-spacing: .015em; line-height: 1.04; text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(34px, 6.4vw, 62px); }
h3 { font-size: 23px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--gold-2); color: #1a1203; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--gold-2); font-weight: 700; margin-bottom: 14px; }

/* Thin gold line across the top that fills as you scroll, like a bead of caulk. */
.scroll-bead { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-bead span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-3)); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 12px rgba(255, 190, 58, .7); }

/* Top bar and navigation (same markup and script as the rest of the site). */
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 8px var(--pad); background: #060707; color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.topbar a { color: var(--gold-2); font-weight: 600; text-decoration: none; }
.contact-links { display: flex; gap: 16px; }
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 24px; padding: 12px var(--pad); background: rgba(11, 12, 14, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #000; box-shadow: 0 0 0 1px var(--line-gold), 0 0 18px rgba(255, 190, 58, .25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: Oswald, sans-serif; letter-spacing: .04em; text-transform: uppercase; font-size: 16px; }
.brand-text em { font-style: normal; color: var(--muted); font-size: 12px; }
.nav-menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.links a, .services-menu > summary { text-decoration: none; color: var(--muted); padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.links a:hover, .services-menu > summary:hover { color: var(--ink); }
.services-menu { position: relative; }
.services-menu > summary { cursor: pointer; list-style: none; }
.services-menu > summary::-webkit-details-marker { display: none; }
.services-menu > summary::after { content: " +"; white-space: pre; color: var(--gold-2); }
.services-menu[open] > summary::after { content: " −"; }
.service-menu-links { position: absolute; top: 100%; left: -18px; width: 270px; display: grid; padding: 10px; border: 1px solid #4a4a4a; border-radius: 14px; background: var(--bg-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.service-menu-links a { padding: 12px; border-radius: 8px; }
.service-menu-links a:hover { background: var(--panel); }
.nav-cta { display: flex; gap: 10px; }
.menu { display: none; margin-left: auto; min-height: 44px; padding: 8px 16px; background: none; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 11px 18px; min-height: 44px; font-weight: 700; font-size: 15px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn.solid { background: linear-gradient(180deg, var(--gold-3), var(--gold-2) 45%, var(--gold)); color: #1a1203; box-shadow: 0 6px 24px rgba(232, 163, 23, .35), inset 0 1px 0 rgba(255, 255, 255, .5); overflow: hidden; }
.btn.solid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.btn.ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border: 1px solid rgba(255, 255, 255, .22); }
.btn.lg { padding: 15px 24px; font-size: 17px; min-height: 54px; }
.btn:hover { transform: translateY(-2px); }
.btn.solid:hover { box-shadow: 0 10px 34px rgba(232, 163, 23, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.ghost:hover { border-color: var(--gold-2); }

/* Hero */
.hero { position: relative; display: grid; align-items: end; min-height: min(92svh, 860px); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(11, 12, 14, .25) 0%, rgba(11, 12, 14, .1) 22%, rgba(11, 12, 14, .78) 58%, var(--bg) 100%); }
.hero-glow { position: absolute; z-index: -1; left: -20%; bottom: -30%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 58, .26), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; padding: 132px var(--pad) 34px; max-width: 1040px; }
h1 { font-size: clamp(40px, 8.6vw, 88px); max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
.bead-word { position: relative; display: inline-block; color: var(--gold-2); }
.bead { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .22em; overflow: visible; }
.bead path { fill: none; stroke: var(--gold-2); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 190, 58, .8)); stroke-dasharray: 320; stroke-dashoffset: 0; }
.lede { margin-top: 20px; max-width: 34em; color: #e6e0d3; font-size: clamp(18px, 2.2vw, 21px); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-actions .btn { flex: 1 1 240px; max-width: 360px; }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; max-width: 760px; }
.proof div { display: flex; flex-direction: column; padding: 14px 16px; background: rgba(13, 14, 17, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.proof strong { font-family: Oswald, sans-serif; font-size: 34px; line-height: 1.1; background: linear-gradient(180deg, var(--gold-3), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof span { color: var(--muted); font-size: 13px; }
.hero-chips { position: absolute; top: 18px; right: var(--pad); z-index: 1; display: grid; gap: 10px; justify-items: end; list-style: none; }
.chip { display: flex; align-items: baseline; gap: 8px; max-width: 250px; padding: 9px 14px; border-radius: 14px; border: 1px solid var(--line-gold); background: rgba(13, 14, 17, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-size: 13px; color: #ded8cb; }
.chip b { font-family: Oswald, sans-serif; font-size: 17px; color: var(--gold-2); letter-spacing: .03em; white-space: nowrap; }
.chip:nth-child(2) { display: none; }

/* Caution-tape strip */
.strip { overflow: hidden; background: var(--tape); border-block: 3px solid #0b0c0e; box-shadow: 0 0 40px rgba(255, 198, 26, .18); }
.tape { display: flex; width: max-content; }
.tape p { flex: none; padding: 11px 26px 11px 0; font-family: Oswald, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #111; white-space: nowrap; }
.tape p::after { content: "///"; margin-left: 26px; letter-spacing: 0; opacity: .55; }

/* Sections */
.compare, .diagnosis, .services, .gallery, .owner, .reviews, .photo-ballpark > div, .quote, .faq, .closer > div { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* Before / after */
.compare { position: relative; }
.ba-tabs { display: flex; gap: 8px; margin: 0 calc(var(--pad) * -1) 16px; padding: 4px var(--pad); overflow-x: auto; scrollbar-width: none; }
.ba-tabs::-webkit-scrollbar { display: none; }
.ba-tab { flex: none; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: var(--panel); color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s ease; }
.ba-tab.is-on { background: linear-gradient(180deg, var(--gold-3), var(--gold)); color: #1a1203; border-color: transparent; box-shadow: 0 6px 22px rgba(232, 163, 23, .4); }
.slider { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-gold); background: #000; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 70px rgba(255, 190, 58, .12); }
.slider img { pointer-events: none; -webkit-user-drag: none; transition: opacity .25s ease; }
.slider.is-loading img { opacity: .25; }
.slider .after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before-wrap { position: absolute; inset: 0 auto 0 0; width: 50%; overflow: hidden; }
.before-wrap .before { position: absolute; inset: 0 auto 0 0; height: 100%; width: var(--slider-w, 100%); max-width: none; object-fit: cover; }
.handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: linear-gradient(180deg, var(--gold-3), var(--gold)); box-shadow: 0 0 18px rgba(255, 190, 58, .9), 0 0 2px #000; pointer-events: none; }
.handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-3), var(--gold) 70%); box-shadow: 0 6px 24px rgba(0, 0, 0, .55), 0 0 0 4px rgba(11, 12, 14, .55), 0 0 26px rgba(255, 190, 58, .7); }
.handle span::before { content: "◀ ▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; letter-spacing: 3px; color: #1a1203; font-weight: 700; }
.tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 12, 14, .78); border: 1px solid rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.tag.left { left: 14px; }
.tag.right { right: 14px; color: #1a1203; background: var(--gold-2); border-color: transparent; }
.ba-caption { margin-top: 16px; font-size: 19px; color: var(--ink); min-height: 2.9em; }
.comparison-control { margin-top: 4px; max-width: 520px; }
.comparison-control label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.comparison-control input { display: block; width: 100%; height: 44px; accent-color: var(--gold); cursor: pointer; }
.comparison-control p { color: var(--muted); font-size: 14px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.pair img { border-radius: 14px; }
.closeup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
.closeup figure { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.closeup img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.closeup figcaption { padding: 14px 16px 18px; color: var(--muted); font-size: 15px; }
.closeup figcaption b { display: block; color: var(--gold-2); font-family: Oswald, sans-serif; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }

/* Diagnosis */
.diagnosis { display: grid; gap: 36px; }
.chain span { display: block; }
.chain span:nth-child(2) { color: var(--gold-3); }
.chain span:nth-child(3) { color: var(--gold-2); text-shadow: 0 0 34px rgba(255, 190, 58, .35); }
.diag-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 34em; }
.symptoms { padding: 22px 18px; border-radius: 22px; border: 1px solid var(--line-gold); background: linear-gradient(180deg, #191a1f, #121316); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.symptoms-ask { font-weight: 700; margin-bottom: 12px; }
.checks { list-style: none; display: grid; gap: 8px; }
.symptoms .checks button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 10px 14px; text-align: left; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; transition: all .18s ease; }
.symptoms .checks button::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #6b665c; transition: all .18s ease; }
.symptoms .checks button[aria-pressed="true"] { border-color: var(--gold-2); background: rgba(255, 190, 58, .12); color: #fff; }
.symptoms .checks button[aria-pressed="true"]::before { border-color: var(--gold-2); background: var(--gold-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231a1203' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.note { margin: 16px 2px; color: var(--muted); }
.symptoms.is-hot .note { color: var(--gold-3); font-weight: 600; }
.symptom-cta { width: 100%; }

/* Services */
.cards { display: grid; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 50px rgba(255, 190, 58, .1); }
.card > img { width: 100%; height: 230px; object-fit: cover; }
.card > div { padding: 20px 20px 24px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p:not(.eyebrow) { color: var(--muted); margin-top: 10px; }
.card-link { display: inline-block; margin-top: 14px; color: var(--gold-2); font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }
.primary-service { border-color: var(--line-gold); }
.primary-service > img { height: 260px; }

/* Gallery */
.gallery { padding-inline: 0; }
.gallery .section-head { padding-inline: var(--pad); }
.reel { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--pad) 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--gold) transparent; scrollbar-width: thin; }
.reel img { flex: none; height: 240px; width: auto; max-width: 84vw; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: center; }
.reel-wrap { position: relative; }
.reel.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.reel img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
/* Arrows are added by home-fx.js, so they only exist when they can work. */
.reel-btn { position: absolute; top: calc(50% - 7px); z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; color: #1a1203; background: radial-gradient(circle at 35% 30%, var(--gold-3), var(--gold) 70%); box-shadow: 0 6px 24px rgba(0, 0, 0, .55), 0 0 0 4px rgba(11, 12, 14, .55), 0 0 22px rgba(255, 190, 58, .5); transition: transform .18s ease; }
.reel-btn:hover { transform: scale(1.08); }
.reel-btn.prev { left: 10px; }
.reel-btn.next { right: 10px; }
.reel-btn[hidden] { display: none; }
@media (hover: none) and (max-width: 759px) { .reel-btn { display: none; } }

/* Owner */
.owner { display: grid; gap: 28px; }
.owner h2 + p, .owner p + p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 36em; }
.meta { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.meta li { position: relative; padding-left: 26px; }
.meta li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 4px; border-radius: 2px; background: var(--gold-2); box-shadow: 0 0 10px rgba(255, 190, 58, .7); }
.meta a { color: var(--gold-3); }
.owner-card { position: relative; display: grid; place-items: center; padding: 44px 26px; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 120% at 0% 0%, rgba(255, 190, 58, .2), transparent 55%), var(--panel); border: 1px solid var(--line-gold); }
.owner-card::before, .owner-card::after { content: ""; position: absolute; left: -10%; right: -10%; height: 16px; background: repeating-linear-gradient(-45deg, var(--tape) 0 16px, #111 16px 32px); opacity: .9; }
.owner-card::before { top: 0; }
.owner-card::after { bottom: 0; }
.big { font-family: Oswald, sans-serif; font-size: clamp(30px, 6vw, 46px); line-height: 1.1; text-transform: uppercase; background: linear-gradient(180deg, #fff, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Reviews */
.review-widget { min-height: 120px; }
.review-fallback { margin-top: 22px; }

/* Three steps */
.photo-ballpark { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: none; }
.steps li { position: relative; padding: 24px 20px 24px 86px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.steps li > b { position: absolute; left: 20px; top: 16px; font-family: Oswald, sans-serif; font-size: 64px; line-height: 1; background: linear-gradient(180deg, var(--gold-3), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { margin-top: 8px; color: var(--muted); }
.steps a { color: var(--gold-3); font-weight: 600; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.photo-actions .btn { flex: 1 1 220px; max-width: 340px; min-height: 52px; }

/* Estimate form */
.quote { display: grid; gap: 28px; }
.quote > div > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.quote > div a { color: var(--gold-3); font-weight: 600; }
.checks.light { margin-top: 18px; }
.checks.light li { position: relative; padding: 4px 0 4px 26px; color: #ddd6c8; }
.checks.light li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-2); font-weight: 700; }
.form { display: grid; gap: 14px; padding: 22px 18px; border-radius: 24px; border: 1px solid var(--line-gold); background: linear-gradient(180deg, #1a1b20, #121316); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 80px rgba(255, 190, 58, .1); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input[type="text"], .form input[type="tel"], .form textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #3b3b40; background: #0c0d10; color: var(--ink); font: inherit; font-size: 16px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(255, 190, 58, .25); }
.form ::placeholder { color: #77736b; }
.form .consent { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.form .consent a { color: var(--gold-3); }
.form button[disabled] { opacity: .7; cursor: progress; }
.form-status { font-weight: 600; }
.form-status[data-kind="pending"] { color: var(--muted); }
.form-status[data-kind="success"] { color: #a8dfb5; }
.form-status[data-kind="error"] { color: var(--gold-2); }

/* Questions */
.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-gold); }
.faq summary { position: relative; padding: 18px 52px 18px 18px; min-height: 56px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--gold-2); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 18px; color: var(--muted); }
.faq details a { color: var(--gold-3); }

/* Last call */
.closer { position: relative; overflow: hidden; text-align: center; background: radial-gradient(60% 120% at 50% 100%, rgba(255, 190, 58, .2), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.closer h2 { font-size: clamp(46px, 11vw, 110px); background: linear-gradient(180deg, #fff 20%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.closer p { margin-top: 12px; font-size: 20px; color: var(--muted); }
.closer .hero-actions { justify-content: center; margin-bottom: 0; }

/* Footer */
.foot { display: grid; gap: 28px; padding: 44px var(--pad) 120px; border-top: 1px solid var(--line); background: #070808; color: var(--muted); font-size: 15px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--gold-2); }
.foot p { margin-top: 6px; }
.foot-brand { display: flex; gap: 14px; }
.foot-brand strong { color: var(--ink); font-family: Oswald, sans-serif; letter-spacing: .04em; text-transform: uppercase; font-size: 17px; }
.fine { font-size: 13px; }
.social { display: grid; gap: 8px; align-content: start; }
.footer-credit { display: flex; }
.northstar-credit { display: inline-flex; align-items: center; gap: 11px; min-height: 56px; padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(139, 215, 255, .35); background: linear-gradient(180deg, #12305a, #071a36); color: #e7f4ff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 24px rgba(80, 160, 255, .2); }
.northstar-credit img { width: 32px; height: 32px; border-radius: 50%; }
.northstar-credit small { display: block; color: #b8d5ee; font-size: 11px; line-height: 1.4; }
.northstar-credit strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: .065em; text-transform: uppercase; color: #e7f4ff; }
.foot .northstar-credit:hover { color: #fff; filter: brightness(1.15); }
.credit-arrow { color: #d6efff; font-size: 17px; }

/* Phone quick-contact bar */
.mobile-contact { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border: 1px solid #5d574b; border-radius: 18px; background: rgba(9, 10, 12, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 40px rgba(0, 0, 0, .6); }
.mobile-contact a { display: flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 12px; font-weight: 700; text-decoration: none; background: linear-gradient(180deg, var(--gold-3), var(--gold)); color: #1a1203; }
.mobile-contact a:last-child { background: var(--bg-2); color: var(--ink); border: 1px solid #5d574b; }

/* Phone and tablet navigation */
@media (max-width: 1100px) {
  .nav { flex-wrap: wrap; }
  .menu { display: inline-flex; align-items: center; }
  .nav-menu { display: none; width: 100%; margin: 0; }
  .nav.is-open .nav-menu { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-top: 8px; }
  .nav.is-open .links { flex-direction: column; align-items: stretch; gap: 0; }
  .links a, .services-menu > summary { padding: 12px; display: flex; }
  .service-menu-links { position: static; width: 100%; box-shadow: none; margin-bottom: 8px; }
  .nav.is-open .nav-cta { flex-wrap: wrap; }
  .nav.is-open .nav-cta .btn { flex: 1 1 140px; }
}
@media (max-width: 480px) {
  .topbar > span { display: none; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .1em; }
  /* The bar at the bottom of the screen already has Call and Text photos. */
  .hero .hero-actions .btn.ghost { display: none; }
  .hero .hero-actions { margin: 22px 0 22px; }
  .comparison-control p { display: none; }
  .topbar { justify-content: center; }
  .chip { font-size: 12px; padding: 7px 11px; max-width: 200px; }
  .chip b { font-size: 15px; }
  .handle span { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

/* Tablet and up */
@media (min-width: 760px) {
  :root { --pad: 32px; }
  .compare, .diagnosis, .services, .gallery, .owner, .reviews, .photo-ballpark > div, .quote, .faq, .closer > div { padding-block: 104px; }
  .hero-copy { padding-bottom: 56px; }
  .proof { grid-template-columns: repeat(4, 1fr); }
  .hero-chips { top: 34px; }
  .chip:nth-child(2) { display: flex; }
  .hero-copy { padding-top: 170px; }
  .slider { aspect-ratio: 3 / 2; max-height: min(640px, 72svh); }
  .closeup { gap: 20px; }
  .closeup img { aspect-ratio: 5 / 4; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card.wide { grid-column: 1 / -1; flex-direction: row; }
  .card.wide > img { width: 46%; height: auto; min-height: 320px; }
  .card.wide > div { align-self: center; padding: 34px; }
  .card.wide h3 { font-size: 32px; }
  .reel img { height: 340px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 96px 24px 26px; }
  .steps li > b { font-size: 76px; }
  .form { padding: 30px; }
  .foot { grid-template-columns: 1.3fr 1fr 1fr; padding-bottom: 56px; }
  .footer-credit { grid-column: 1 / -1; justify-content: center; }
}
@media (min-width: 901px) {
  .mobile-contact { display: none; }
  .diagnosis { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .owner { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .quote { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .quote > div { position: sticky; top: 110px; }
  .symptoms { padding: 30px; }
  .hero-chips { top: 40px; right: max(var(--pad), calc((100vw - var(--max)) / 2)); gap: 14px; }
  .chip { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 18px; font-size: 14px; }
  .chip b { font-size: 24px; }
  .hero-copy { margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--pad))); }
}
@media (max-width: 900px) {
  .foot { padding-bottom: 120px; }
}

/* Motion. Everything below only runs when home-fx.js has added "fx" to <html>,
   so the page is complete and readable without the script. */
.fx .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.fx .reveal.in { opacity: 1; transform: none; }
.fx .cards .reveal:nth-child(2n), .fx .steps .reveal:nth-child(2) { transition-delay: .1s; }
.fx .steps .reveal:nth-child(3) { transition-delay: .2s; }
.fx .hero-img { animation: drift 26s ease-in-out infinite alternate; }
.fx .hero-glow { animation: glow 7s ease-in-out infinite alternate; }
.fx .hero-copy > * { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.fx .hero-copy > :nth-child(2) { animation-delay: .1s; }
.fx .hero-copy > :nth-child(3) { animation-delay: .25s; }
.fx .hero-copy > :nth-child(4) { animation-delay: .4s; }
.fx .hero-copy > :nth-child(5) { animation-delay: .55s; }
.fx .bead path { stroke-dashoffset: 320; animation: draw 1s ease-out 1s forwards; }
.fx .chip { opacity: 0; animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) forwards, bob 6s ease-in-out 2.4s infinite alternate; }
.fx .chip:nth-child(1) { animation-delay: 1.2s, 2.4s; }
.fx .chip:nth-child(2) { animation-delay: 1.6s, 3s; }
.fx .chip:nth-child(3) { animation-delay: 2s, 3.6s; }
.fx .tape { animation: tape 26s linear infinite; }
.fx .reel { cursor: grab; }
.fx .btn.solid.lg::after { animation: shine 4.5s ease-in-out 2s infinite; }
.fx .chain span { opacity: 0; transform: translateX(-18px); transition: opacity .6s ease, transform .6s ease; }
.fx .in .chain span { opacity: 1; transform: none; }
.fx .in .chain span:nth-child(2) { transition-delay: .35s; }
.fx .in .chain span:nth-child(3) { transition-delay: .7s; }
.fx .symptoms.is-hot .symptom-cta { animation: pulse 1.6s ease-in-out infinite; }
.fx .closer::before { content: ""; position: absolute; inset: auto -10% 0 -10%; height: 10px; background: repeating-linear-gradient(-45deg, var(--tape) 0 16px, #111 16px 32px); background-size: 45.25px 100%; animation: stripes 1.4s linear infinite; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-1.5%); } }
@keyframes glow { from { opacity: .55; transform: scale(.9); } to { opacity: 1; transform: scale(1.1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -7px; } }
@keyframes tape { to { transform: translateX(-25%); } }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 24px rgba(232, 163, 23, .35); } 50% { box-shadow: 0 6px 44px rgba(255, 190, 58, .85); } }
@keyframes stripes { to { background-position: 45.25px 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fx .reveal, .fx .hero-copy > *, .fx .chip, .fx .chain span { opacity: 1; transform: none; }
  .fx .bead path { stroke-dashoffset: 0; }
}
