/* My Miller Lights — landing page
 * Cream paper, deep navy ink, warm amber accent, gold bands.
 * Heavy uppercase-and-title-case type, centred section heads, white cards,
 * stacked quote/call button pairs, dark photo bands with falling snow,
 * navy masthead and footer. */
@import url("./tokens.css");
@import url("./base.css");

/* Inter's heavy weights, for headings and buttons. Same file as tokens.css,
   so nothing extra downloads, and <strong> in body copy keeps its 600 cap. */
@font-face { font-family: "Inter Heavy"; src: url("./fonts/inter-latin.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --masthead-h: 73px; /* 72px bar + hairline; the hero tucks under it */
  --font-heavy: "Inter Heavy", var(--font-body);
  --text-h2: clamp(1.875rem, 1.6vw + 1.1rem, 2.75rem);
  --radius-box: 12px;
  --shadow-box: 0 1px 3px oklch(25% 0.03 260 / 0.08), 0 6px 24px oklch(25% 0.03 260 / 0.09);
  --shadow-box-hover: 0 2px 6px oklch(25% 0.03 260 / 0.1), 0 14px 36px oklch(25% 0.03 260 / 0.13);
  /* The logo's ring: silver inside a navy outline, then a soft drop. */
  --ring-ice: inset 0 1px 0 oklch(100% 0 0 / 0.45), 0 0 0 2px var(--color-silver), 0 0 0 4px var(--color-ink), 0 10px 18px -10px oklch(10% 0.03 260 / 0.7);
}

html { scroll-behavior: smooth; scroll-padding-top: 104px; } /* the masthead plus its icicles */

h2, h3 { font-family: var(--font-heavy); font-weight: 800; letter-spacing: -0.01em; color: var(--color-ink); }
h2 { line-height: 1.1; }
h3 { line-height: 1.25; }
body { font-size: 1.0625rem; }

/* ================================================================ CHROME == */

.skip-link { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); background: var(--color-brand); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); font-weight: 600; text-decoration: none; }
.skip-link:focus-visible { top: var(--space-md); }

/* ---- masthead: navy bar, clear over the hero ---- */
.masthead { position: sticky; top: 0; z-index: var(--z-sticky-nav); border-bottom: var(--rule-hair) solid var(--color-night-rule); background: rgb(20 63 105 / 0.96); /* the logo navy, #143F69 */ backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out); }
/* The script sets .is-over, so without it the bar stays navy. */
/* ---- icicles, like the ones on the logo's letters ----
   They hang below the navy masthead and the two navy photo bands, over the
   top of whatever comes next. Hidden while the masthead is clear over the hero. */
:root { --icicles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Crect x='-1' y='0' width='122' height='4.2' fill='%23fff'/%3E%3Crect x='-1' y='4.2' width='122' height='.7' fill='%232A5682'/%3E%3Cpath d='M4 3 L10 3 Q8.8 10.5 7 15 Q5.2 10.5 4 3Z' fill='%23fff' stroke='%232A5682' stroke-width='.7'/%3E%3Cpath d='M7.6 4 L9.4 4 Q8.5 9.9 7.3 13.5Z' fill='%23C6D2D9'/%3E%3Cpath d='M19 3 L23 3 Q22.2 5.6 21 8 Q19.8 5.6 19 3Z' fill='%23fff' stroke='%232A5682' stroke-width='.7'/%3E%3Cpath d='M21.4 4 L22.4 4 Q22 5.28 21.3 6.5Z' fill='%23C6D2D9'/%3E%3Cpath d='M32.5 3 L39.5 3 Q38.1 13.3 36 19 Q33.9 13.3 32.5 3Z' fill='%23fff' stroke='%232A5682' stroke-width='.7'/%3E%3Cpath d='M36.7 4 L38.9 4 Q37.75 12.54 36.3 17.5Z' fill='%23C6D2D9'/%3E%3Cpath d='M52.5 3 L57.5 3 Q56.5 7.7 55 11 Q53.5 7.7 52.5 3Z' fill='%23fff' stroke='%232A5682' stroke-width='.7'/%3E%3Cpath d='M55.5 4 L56.9 4 Q56.25 7.26 55.3 9.5Z' fill='%23C6D2D9'/%3E%3Cpath d='M68 3 L74 3 Q72.8 11.2 71 16 Q69.2 11.2 68 3Z' fill='%23fff' stroke='%232A5682' stroke-width='.7'/%3E%3Cpath d='M71.6 4 L73.4 4 Q72.5 10.56 71.3 14.5Z' fill='%23C6D2D9'/%3E%3Cpath d='M88 3 L92 3 Q91.2 5.6 90 8 Q88.8 5.6 88 3Z' fill='%23fff' stroke='%232A5682' stroke-width='.7'/%3E%3Cpath d='M90.4 4 L91.4 4 Q91 5.28 90.3 6.5Z' fill='%23C6D2D9'/%3E%3Cpath d='M101 3 L107 3 Q105.8 9.1 104 13 Q102.2 9.1 101 3Z' fill='%23fff' stroke='%232A5682' stroke-width='.7'/%3E%3Cpath d='M104.6 4 L106.4 4 Q105.5 8.58 104.3 11.5Z' fill='%23C6D2D9'/%3E%3C/svg%3E"); }
:root { --icicles-btn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='12' viewBox='0 0 60 12'%3E%3Cpath d='M3 0h7l-3.5 9z M15 0h5l-2.5 6z M25 0h8l-4 11z M38 0h5l-2.5 5z M48 0h8l-4 10z' fill='%23fff' stroke='%23235070' stroke-width='.7' stroke-linejoin='round'/%3E%3C/svg%3E"); } /* smaller, for button edges */
.masthead::after, .countdown::after, .close::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; background: var(--icicles) repeat-x 0 0 / 120px 22px; pointer-events: none; }
.masthead.is-over::after { display: none; }
.masthead.is-over { background: transparent; border-bottom-color: oklch(100% 0 0 / 0.16); backdrop-filter: none; -webkit-backdrop-filter: none; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: white; flex-shrink: 0; }
/* The owner's badge: about 58px tall in the 72px bar. */
.brand__logo { display: block; width: auto; height: 58px; filter: drop-shadow(0 2px 6px oklch(0% 0 0 / 0.35)); }

.nav { display: flex; align-items: center; gap: var(--space-lg); }
.nav a { font-size: var(--text-sm); font-weight: 600; color: var(--color-night-ink); text-decoration: none; transition: color var(--dur-micro) var(--ease-out); white-space: nowrap; }
.nav a:hover { color: var(--color-bulb-light); }
@media (max-width: 72rem) { .nav { display: none; } }

.masthead__actions { display: flex; align-items: center; gap: var(--space-md); flex-shrink: 0; }
.masthead__call { font-size: var(--text-sm); font-weight: 600; color: var(--color-night-ink); text-decoration: none; white-space: nowrap; }
.masthead__call:hover { color: var(--color-bulb-light); }
@media (max-width: 40rem) { .masthead__call { display: none; } }


/* ============================================================= CONTROLS == */

/* Buttons are ice-tipped, like the logo's lettering: a silver ring inside a
   navy outline, with icicles hanging from the bottom edge. On hover a light
   streak crosses the face, the icicles grow and the icon moves. Every button
   carries .keep-motion, so these hover-only effects run for reduced-motion
   visitors too. Orange stays for quote and call only. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 var(--space-xl); border: 0; border-radius: 10px; font-family: var(--font-heavy); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; box-shadow: var(--ring-ice); transition: background var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 40%, oklch(100% 0 0 / 0.55) 50%, transparent 60%) 100% 0 / 300% 100% no-repeat; pointer-events: none; }
.btn::after { content: ""; position: absolute; left: 12px; right: 12px; top: calc(100% + 1px); height: 12px; background: var(--icicles-btn) repeat-x 0 0 / 60px 12px; transform-origin: top; transition: transform 400ms var(--ease-out); pointer-events: none; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before, .btn:focus-visible::before { animation: btn-shine 900ms var(--ease-out); }
.btn:hover::after { transform: scaleY(1.45); }
@keyframes btn-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.btn__icon { flex: none; width: 1.15em; height: 1.15em; transition: transform 700ms var(--ease-out); }
.btn:hover .btn__icon--flake { transform: rotate(180deg); }
.btn:hover .btn__icon--phone { animation: btn-ring 600ms var(--ease-out); }
@keyframes btn-ring { 20%, 60% { transform: rotate(-14deg); } 40%, 80% { transform: rotate(14deg); } }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hot); }
.btn--secondary { background: linear-gradient(white, var(--color-ice)); color: var(--color-brand); }
.btn--secondary:hover { background: linear-gradient(var(--color-ice), var(--color-bulb-light)); color: var(--color-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
/* Small buttons sit in the masthead, above its own icicles. */
.btn--sm { min-height: 42px; padding: 0 var(--space-lg); font-size: var(--text-sm); }
.btn--sm::after { content: none; }

/* Quote above call, stacked and centred, repeated between sections. The gap
   leaves room for the top button's icicles. */
.cta-pair { display: flex; flex-direction: column; gap: var(--space-lg); width: min(100%, 22rem); margin: var(--space-2xl) auto 0; }
.cta-pair .btn { width: 100%; min-height: 60px; padding-inline: var(--space-md); font-size: var(--text-lg); }
.cta-pair--start { margin-inline: 0; }

.eyebrow { display: block; margin-bottom: var(--space-sm); font-family: var(--font-heavy); font-weight: 800; font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-brand-2); }

/* ================================================================== HERO == */

/* Full screen, tucked under the clear masthead, everything centred on a
   darkened night photo. */
.hero { position: relative; min-height: 100vh; min-height: 100svh; margin-top: calc(-1 * var(--masthead-h)); display: grid; place-items: center; text-align: center; isolation: isolate; background: var(--color-night); }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, oklch(12% 0.03 260 / 0.5), oklch(12% 0.03 260 / 0.78)),
    linear-gradient(to bottom, oklch(12% 0.03 260 / 0.45), transparent 25%, transparent 70%, oklch(12% 0.03 260 / 0.55)); }
.hero__inner { position: relative; z-index: var(--z-raised); display: flex; flex-direction: column; align-items: center; padding-block: calc(var(--masthead-h) + var(--space-2xl)) calc(var(--space-3xl) + var(--space-xl)); }
.hero__logo { width: clamp(130px, 11vw + 40px, 210px); height: auto; margin-bottom: var(--space-lg); filter: drop-shadow(0 12px 28px oklch(5% 0.02 260 / 0.6)); }
.hero h1 { max-width: 15ch; color: white; font-family: var(--font-heavy); font-weight: 900; font-size: clamp(2.25rem, 3.9vw + 0.75rem, 4.5rem); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; text-shadow: 0 2px 28px oklch(10% 0.03 260 / 0.55); }
.hero__tag { margin: var(--space-md) 0 0; color: white; font-family: var(--font-heavy); font-weight: 700; font-size: clamp(1rem, 0.5vw + 0.85rem, 1.3125rem); letter-spacing: 0.03em; text-transform: uppercase; }
.hero .cta-pair { margin-top: var(--space-xl); }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__media img { animation: dusk var(--dur-scene) var(--ease-out) both; }
  @keyframes dusk {
    0% { opacity: 0.6; filter: brightness(0.32) saturate(0.55); transform: scale(1.045); }
    60% { opacity: 1; }
    100% { opacity: 1; filter: brightness(1) saturate(1); transform: scale(1); }
  }
  .js .hero__logo, .js .hero h1, .js .hero__tag, .js .hero .cta-pair { animation: rise 760ms var(--ease-out) both; }
  .js .hero__logo { animation-delay: 140ms; }
  .js .hero h1 { animation-delay: 280ms; }
  .js .hero__tag { animation-delay: 480ms; }
  .js .hero .cta-pair { animation-delay: 660ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---- falling snow: drawn by the script onto these canvases; reduced
   motion gets a slow, straight fall ---- */
.snow { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; pointer-events: none; }

/* ---- string of lights along the edges of the closing banner ---- */
.string { position: absolute; left: 0; right: 0; z-index: var(--z-raised); display: flex; justify-content: space-between; padding-inline: var(--gutter); pointer-events: none; }
.string--top { top: 0; padding-top: 10px; border-top: 2px solid oklch(28% 0.02 260); }
.string--bottom { bottom: 0; padding-bottom: 10px; border-bottom: 2px solid oklch(28% 0.02 260); align-items: flex-end; }
.string span { width: 9px; height: 14px; border-radius: 48% 48% 44% 44% / 60% 60% 40% 40%; background: var(--color-star); opacity: 0.95; box-shadow: 0 0 12px oklch(82% 0.15 78 / 0.7); }
.string span:nth-child(3n) { background: oklch(60% 0.22 28); box-shadow: 0 0 12px oklch(60% 0.22 28 / 0.7); }
.string span:nth-child(5n) { background: oklch(70% 0.16 155); box-shadow: 0 0 12px oklch(70% 0.16 155 / 0.7); }
.string span:nth-child(7n) { background: oklch(68% 0.14 250); box-shadow: 0 0 12px oklch(68% 0.14 250 / 0.7); }
/* Each bulb switches off and back on at its own pace. Brightness, not
   movement, so it runs for everyone (.keep-motion on the strings). */
.string span { animation: bulb 3.2s var(--ease-in-out) infinite; }
.string span:nth-child(2n) { animation-duration: 2.6s; animation-delay: -1.1s; }
.string span:nth-child(3n) { animation-duration: 3.8s; animation-delay: -0.4s; }
.string span:nth-child(4n+1) { animation-delay: -2.2s; }
.string span:nth-child(5n) { animation-duration: 2.2s; animation-delay: -1.7s; }
.string span:nth-child(7n) { animation-duration: 4.4s; animation-delay: -2.9s; }
@keyframes bulb { 0%, 40%, 100% { opacity: 1; } 52%, 82% { opacity: 0.15; box-shadow: none; } }

/* ======================================================== TRUST BADGES == */

/* A gold card riding up over the bottom of the hero. */
.badges { position: relative; z-index: var(--z-raised); margin-top: calc(-1 * var(--space-3xl)); }
.badges__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); max-width: 64rem; margin-inline: auto; padding: var(--space-xl) var(--space-lg); text-align: center; background: var(--color-ice); border-radius: var(--radius-box); box-shadow: 0 20px 40px -14px oklch(10% 0.03 260 / 0.5); }
.badge { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); }
.badge__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: white; color: var(--color-brand-2); box-shadow: 0 4px 10px -4px oklch(30% 0.08 60 / 0.4); }
.badge__label { font-family: var(--font-heavy); font-weight: 800; font-size: var(--text-md); color: var(--color-ink); line-height: 1.25; }
.badge__sub { font-size: var(--text-sm); color: var(--color-ink-2); }
@media (max-width: 48rem) { .badges { margin-top: calc(-1 * var(--space-xl)); } .badges__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--space-lg) var(--space-md); gap: var(--space-lg) var(--space-md); } }

/* ============================================================= SECTIONS == */

.section { padding-block: var(--section-gap); }
.section--photos { padding-block: var(--section-gap-s); }
.section--alt { background: var(--color-paper-2); }
.section--ice { background: var(--color-ice); }
.section--strung { position: relative; } /* holds a string of lights along its top and bottom edges */
.head { max-width: 46rem; margin: 0 auto var(--space-2xl); text-align: center; }
.head h2 { margin-inline: auto; font-size: var(--text-h2); }
.head .lead { margin: var(--space-md) auto 0; color: var(--color-muted); }
.section--ice .head .lead { color: var(--color-ink-2); }

/* ================================================================ INTRO == */

.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: center; }
.intro__photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-box); background: var(--color-paper-3); box-shadow: 0 24px 48px -20px oklch(15% 0.03 260 / 0.55); }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.intro h2 { font-size: var(--text-h2); }
.intro .lead { margin-top: var(--space-lg); color: var(--color-muted); }
.intro .cta-pair { margin-top: var(--space-xl); }
@media (max-width: 60rem) { .intro__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ============================================================ COUNTDOWN == */

/* A dark photo band: big white line, white number tiles, falling snow. */
.countdown { position: relative; z-index: 3; isolation: isolate; padding-block: var(--section-gap); text-align: center; color: white; background: var(--color-night) url("./photos/house-07.jpg") center 35% / cover no-repeat; }
.countdown::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(oklch(12% 0.03 260 / 0.8), oklch(12% 0.03 260 / 0.68) 50%, oklch(12% 0.03 260 / 0.82)); }
.countdown__inner { position: relative; z-index: var(--z-raised); }
.countdown__label { margin-inline: auto; max-width: 16ch; font-size: clamp(2.25rem, 3.4vw + 1rem, 4.25rem); line-height: 1.02; color: white; text-shadow: 0 2px 24px oklch(10% 0.03 260 / 0.6); }
.countdown__grid { display: flex; justify-content: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.countdown__box { display: flex; flex-direction: column; align-items: center; }
.countdown__num { min-width: 6.5rem; padding: var(--space-md) var(--space-lg); background: white; border-radius: var(--radius-box); box-shadow: 0 14px 24px -10px oklch(0% 0 0 / 0.6); font-family: var(--font-heavy); font-weight: 900; font-size: clamp(2rem, 2.4vw + 1rem, 3.25rem); line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; text-align: center; }
.countdown__unit { margin-top: var(--space-sm); font-family: var(--font-heavy); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.1em; text-transform: uppercase; color: white; }
.countdown__note { margin: var(--space-xl) auto 0; max-width: 46ch; color: oklch(88% 0.01 85); }
.countdown__note strong { color: var(--color-bulb-light); }
.countdown .cta-pair { margin-top: var(--space-xl); }
@media (max-width: 34rem) { .countdown__num { min-width: 64px; padding: var(--space-sm); font-size: var(--text-2xl); } .countdown__grid { gap: var(--space-sm); } }

/* ========================================================= HOW IT WORKS == */

.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.process__step { overflow: hidden; padding-bottom: var(--space-xl); background: white; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-box); box-shadow: var(--shadow-box); text-align: center; transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.process__step:hover { box-shadow: var(--shadow-box-hover); transform: translateY(-3px); }
/* Photo across the top, the number riding its bottom edge. */
.process__photo, .choice__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-night); }
.process__photo img, .choice__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.process__step:hover .process__photo img, .choice:hover .choice__photo img { transform: scale(1.04); }
.process__num { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: -32px auto var(--space-md); border: 4px solid white; border-radius: 50%; background: var(--color-brand); color: white; font-family: var(--font-heavy); font-weight: 900; font-size: var(--text-xl); box-shadow: 0 8px 18px -6px var(--color-glow); }
.process__step h3 { margin-inline: auto; padding-inline: var(--space-lg); font-size: var(--text-title); }
.process__step p { margin: var(--space-sm) auto 0; padding-inline: var(--space-xl); color: var(--color-muted); }
@media (max-width: 60rem) { .process { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }

/* ============================================================= CHOICES == */

.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
/* Navy cards; in each list the option we recommend gets a gold tag. */
.choice { position: relative; overflow: hidden; padding-bottom: var(--space-xl); background: var(--color-night); border: var(--rule-hair) solid var(--color-night); border-radius: var(--radius-box); box-shadow: 0 18px 36px -18px oklch(15% 0.03 260 / 0.55); text-align: center; }
.choice h3 { margin: var(--space-lg) auto var(--space-md); padding-inline: var(--space-md); font-size: var(--text-title); color: white; }
/* Options as a neat checked list: centred as a block, read left to right. */
.choice__list { list-style: none; display: grid; gap: var(--space-sm); width: fit-content; max-width: 100%; margin: 0 auto; padding: 0 var(--space-md); text-align: left; }
.choice__list li { display: flex; align-items: center; gap: var(--space-xs); font-weight: 600; color: var(--color-night-ink); }
.choice__list li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--color-bulb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.choice__list li.is-recommended { display: grid; grid-template-columns: 18px auto; gap: 4px var(--space-xs); color: white; }
.choice__badge { grid-column: 2; justify-self: start; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--color-silver); color: var(--color-ink); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 72rem) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .choices { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================= GALLERY == */

/* Folder tabs over a grid of 3:2 thumbnails; tapping one opens the viewer. */
.gallery__folders { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.gallery__folder { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 2px solid var(--color-rule-2); border-radius: 10px; background: white; color: var(--color-ink-2); font-family: var(--font-heavy); font-weight: 700; font-size: var(--text-sm); cursor: pointer; transition: border-color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.gallery__folder svg { color: var(--color-brand-2); }
.gallery__folder span { min-width: 1.6em; padding: 1px 6px; border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-xs); text-align: center; }
.gallery__folder:hover { border-color: var(--color-brand-2); color: var(--color-brand-2); }
.gallery__folder[aria-pressed="true"] { border-color: var(--color-ink); background: var(--color-ink); color: white; }
.gallery__folder[aria-pressed="true"] svg { color: var(--color-bulb-light); }
.gallery__folder[aria-pressed="true"] span { background: oklch(100% 0 0 / 0.16); }
.gallery__folder:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; }
.gallery__item { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-box); background: var(--color-night); box-shadow: var(--shadow-box); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: oklch(12% 0.03 260 / 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 32px no-repeat; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
@media (max-width: 60rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); } }
/* Phones: the folders become one row you swipe, edge to edge. */
@media (max-width: 40rem) { .gallery__folders { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--space-2xs); scrollbar-width: none; } .gallery__folders::-webkit-scrollbar { display: none; } .gallery__folder { flex: none; } }

.lightbox { width: min(100vw - 2 * var(--space-md), 72rem); max-height: calc(100vh - 2 * var(--space-md)); padding: 0; border: 0; border-radius: var(--radius-box); background: var(--color-night); color: white; overflow: visible; }
.lightbox::backdrop { background: oklch(10% 0.03 260 / 0.88); }
.lightbox__img { display: block; width: 100%; max-height: calc(100vh - 2 * var(--space-md)); object-fit: contain; border-radius: var(--radius-box); }
.lightbox__count { position: absolute; left: 50%; bottom: var(--space-sm); transform: translateX(-50%); margin: 0; padding: 2px 10px; border-radius: var(--radius-pill); background: oklch(10% 0.03 260 / 0.7); font-size: var(--text-sm); font-weight: 600; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: oklch(10% 0.03 260 / 0.7); color: white; font-size: 1.75rem; line-height: 1; cursor: pointer; transition: background var(--dur-micro) var(--ease-out); }
.lightbox__btn:hover { background: var(--color-bulb); }
.lightbox__btn:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.lightbox__close { top: var(--space-sm); right: var(--space-sm); }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--space-sm); }
.lightbox__next { right: var(--space-sm); }

/* ======================================================= WHY CHOOSE US == */

/* Heading on a gold band, cards riding up over its bottom edge. */
.why { padding-bottom: var(--section-gap); }
.why__band { padding-block: var(--section-gap-s) calc(var(--space-3xl) + var(--space-2xl)); background: var(--color-ice); }
.why__band .head { margin-bottom: 0; }
.why__band .head .lead { color: var(--color-ink-2); }
.why .cards { position: relative; margin-top: calc(-1 * var(--space-3xl)); }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.card { padding: var(--space-xl) var(--space-lg); background: white; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-box); box-shadow: var(--shadow-box); text-align: center; transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.card:hover { box-shadow: var(--shadow-box-hover); transform: translateY(-3px); }
.card__icon { display: flex; justify-content: center; margin-bottom: var(--space-md); color: var(--color-brand-2); }
.card__icon svg { width: 40px; height: 40px; stroke-width: 1.6; }
.card h3 { margin-inline: auto; font-size: var(--text-title); }
.card p { margin: var(--space-sm) auto 0; color: var(--color-muted); }
@media (max-width: 72rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ========================================================= WHO WE SERVE == */

.serve { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.serve__item { margin: 0; overflow: hidden; background: white; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-box); box-shadow: var(--shadow-box); text-align: center; transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.serve__item:hover { box-shadow: var(--shadow-box-hover); transform: translateY(-3px); }
.serve__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-paper-3); }
.serve__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.serve__item:hover .serve__photo img { transform: scale(1.04); }
.serve figcaption { padding: var(--space-lg); }
.serve figcaption h3 { margin-inline: auto; font-size: var(--text-title); }
.serve figcaption p { margin: var(--space-xs) auto 0; color: var(--color-muted); }
@media (max-width: 60rem) { .serve { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ======================================================= REVIEWS CAROUSEL == */

.carousel { position: relative; }
/* Without the script: a row you can swipe. */
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-block: var(--space-xs) var(--space-xl); }
.carousel__track::-webkit-scrollbar { display: none; }
/* With it: the track holds two copies of the cards and slides left by half,
   forever, fading in and out at the edges. Hover or the button pauses it. */
.carousel.is-rolling { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
.carousel.is-rolling .carousel__track { width: max-content; overflow: visible; scroll-snap-type: none; animation: reel var(--reel-time, 90s) linear infinite; }
.carousel.is-rolling:hover .carousel__track, .carousel.is-paused .carousel__track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .carousel.is-rolling .carousel__track { animation-duration: calc(var(--reel-time, 90s) * 2); } }
.carousel__pause { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto; padding: 0; border: 2px solid var(--color-ink); border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; opacity: 0.55; transition: opacity var(--dur-micro) var(--ease-out); }
.carousel__pause:hover, .carousel__pause:focus-visible { opacity: 1; }
.carousel__pause:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.carousel__pause::before { content: ""; width: 10px; height: 12px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0h3.5v12H0zM6.5 0H10v12H6.5z'/%3E%3C/svg%3E"); }
.carousel__pause[aria-pressed="true"]::before { margin-left: 2px; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z'/%3E%3C/svg%3E"); }
.review { flex: 0 0 min(360px, 85vw); margin-right: var(--space-lg); display: flex; flex-direction: column; scroll-snap-align: start; padding: var(--space-xl); background: white; border-radius: var(--radius-box); box-shadow: 0 10px 24px -12px oklch(30% 0.08 60 / 0.45); transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.review:hover { transform: translateY(-3px); }
.review__stars { color: var(--color-star); font-size: 1.125rem; letter-spacing: 2px; margin-bottom: var(--space-md); }
.review__text { color: var(--color-ink-2); line-height: 1.65; flex: 1; }
.review__by { margin-top: var(--space-lg); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }

/* review card internals — Google-style layout */
.review__header { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: var(--text-sm); color: white; flex-shrink: 0; letter-spacing: 0.02em; }
.review__meta { display: flex; flex-direction: column; gap: 2px; }
.review__meta .review__by { margin-top: 0; font-family: var(--font-heavy); font-weight: 800; font-size: var(--text-md); }
.review__meta .review__stars { margin-bottom: 0; font-size: 0.875rem; letter-spacing: 1px; }
.review__source { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-md); display: flex; align-items: center; gap: var(--space-xs); }
.review__source::before { content: ""; display: inline-block; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E") no-repeat center / contain; flex-shrink: 0; }

/* ================================================================= FAQ == */

/* Boxed rows, each led by a square tile: navy plus, accent minus when open. */
.faq { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 56rem; margin-inline: auto; }
.faq__item { overflow: hidden; background: white; border: var(--rule-hair) solid var(--color-rule); border-radius: 8px; box-shadow: var(--shadow-box); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--space-md); min-height: 60px; padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-sm); font-family: var(--font-heavy); font-weight: 700; font-size: 1.0625rem; color: var(--color-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "+"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: var(--color-ink); color: white; font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; line-height: 1; transition: background var(--dur-short) var(--ease-out); }
.faq__item[open] summary::before { content: "\2212"; background: var(--color-bulb); }
.faq__item summary:hover::before { background: var(--color-bulb); }
.faq__item summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.faq__item p { max-width: none; padding: 0 var(--space-lg) var(--space-lg) calc(var(--space-sm) + 38px + var(--space-md)); color: var(--color-muted); }

/* ========================================================== COMPARISON == */

/* Our column is the accent stripe; the others stay grey. "Varies" is used
   wherever it would be unfair to say every installer lacks something. */
.compare { max-width: 60rem; margin-inline: auto; }
.compare table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.compare__label-col { width: 40%; }
.compare th, .compare td { padding: var(--space-md) var(--space-sm); text-align: center; vertical-align: middle; border-bottom: var(--rule-hair) solid var(--color-rule); }
.compare thead th, .compare thead td { padding-block: var(--space-lg); border-bottom: 0; font-family: var(--font-heavy); font-weight: 800; font-size: var(--text-md); line-height: 1.25; color: var(--color-ink); }
.compare tbody th { padding-left: var(--space-lg); text-align: left; background: var(--color-paper-2); font-weight: 600; line-height: 1.35; color: var(--color-ink); }
.compare tbody td { background: white; color: oklch(72% 0.01 260); }
.compare .compare__us { background: var(--color-brand); color: white; border-bottom-color: oklch(100% 0 0 / 0.22); }
.compare thead .compare__us { padding-block: var(--space-sm); border-radius: var(--radius-box) var(--radius-box) 0 0; }
.compare thead .compare__us img { display: block; width: auto; height: 72px; margin-inline: auto; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:last-child .compare__us { border-radius: 0 0 var(--radius-box) var(--radius-box); }
/* Ticks and crosses: the word stays for screen readers, the shape shows. */
.mk { display: inline-block; width: 24px; height: 24px; overflow: hidden; white-space: nowrap; text-indent: 100%; vertical-align: middle; background: currentColor; -webkit-mask: var(--mk) center / contain no-repeat; mask: var(--mk) center / contain no-repeat; }
.mk--yes { --mk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E"); }
.mk--no { --mk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.mk--some { width: auto; height: auto; overflow: visible; text-indent: 0; background: none; -webkit-mask: none; mask: none; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.compare__us .mk--yes { width: 28px; height: 28px; }
@media (max-width: 40rem) {
  .compare__label-col { width: 37%; }
  .compare th, .compare td { padding: var(--space-sm) var(--space-2xs); }
  .compare tbody th { padding-left: var(--space-sm); font-size: var(--text-sm); }
  .compare thead th { font-size: var(--text-sm); }
  .compare thead .compare__us img { height: 54px; }
  .mk { width: 20px; height: 20px; }
  .mk--some { font-size: 0.6875rem; letter-spacing: 0; }
  .compare__us .mk--yes { width: 24px; height: 24px; }
}

/* ========================================================== MAP / AREA == */

.map__wrap { margin-bottom: var(--space-2xl); }
.map { width: 100%; max-width: 68rem; height: auto; display: block; }
.map__region { fill: var(--color-paper-2); stroke: var(--color-rule); stroke-width: 1; }
.map__road { fill: none; stroke: var(--color-rule-2); stroke-width: 1.5; opacity: 0.5; stroke-linecap: round; }
.map__dot { fill: var(--color-ink-2); }
.map__dot--home { fill: var(--color-accent); filter: drop-shadow(0 0 6px var(--color-glow)); }
.map__dot--inbound { fill: none; stroke: var(--color-rule-2); stroke-width: 2.5; }
.map__label { font-family: var(--font-body); font-size: 23px; fill: var(--color-ink-2); }
.map__label--home { fill: var(--color-accent); font-weight: 600; font-size: 27px; }
.map__label--inbound { fill: var(--color-muted); }
@media (max-width: 48rem) { .map__label { font-size: 30px; } .map__label--home { font-size: 34px; } }

.map__key { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.map__swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--color-ink-2); margin-right: var(--space-2xs); }
.map__swatch--home { background: var(--color-accent); box-shadow: 0 0 8px var(--color-glow); }
.map__swatch--inbound { background: transparent; border: 1px solid var(--color-rule-2); }

.note { margin-top: var(--space-lg); color: var(--color-muted); max-width: 56ch; }
.note a { color: var(--color-brand-2); }

/* ============================================================== CLOSE == */

/* The last word: a dark photo banner with snow and a string of lights
   along the top and bottom. */
.close { position: relative; z-index: 3; isolation: isolate; padding-block: calc(var(--section-gap) + var(--space-lg)); text-align: center; color: white; background: var(--color-night) url("./photos/house-09.jpg") center 40% / cover no-repeat; }
.close::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 80% 70% at 50% 50%, oklch(12% 0.03 260 / 0.62), oklch(12% 0.03 260 / 0.88)); }
.close__inner { position: relative; z-index: var(--z-raised); display: flex; flex-direction: column; align-items: center; }
.close h2 { max-width: 16ch; font-size: clamp(2.25rem, 4vw + 1rem, 4.5rem); line-height: 1.02; color: white; text-shadow: 0 2px 24px oklch(10% 0.03 260 / 0.6); }
.close .lead { margin-top: var(--space-md); color: oklch(90% 0.01 85); max-width: 46ch; }
.close .cta-pair { margin-top: var(--space-xl); }
.close .note { margin: var(--space-lg) auto 0; color: oklch(82% 0.01 85); }
.close .note a { color: var(--color-bulb-light); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); max-width: 52rem; margin: var(--space-xl) 0 0; padding: 0; }
.steps li { counter-increment: step; display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); color: oklch(92% 0.01 85); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-bulb); color: white; font-family: var(--font-heavy); font-weight: 900; box-shadow: 0 0 16px var(--color-glow); }
@media (max-width: 40rem) { .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

/* ============================================================= FOOTER == */

.footer { background: var(--color-night); color: var(--color-night-ink); padding-block: var(--space-3xl); }
.footer a { transition: color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-2xl); }
.footer__heading { margin-bottom: var(--space-md); font-family: var(--font-heavy); font-size: var(--text-lg); font-weight: 800; color: white; }
.footer__brand .brand { margin-bottom: var(--space-lg); }
.footer__brand .brand__logo--footer { height: 132px; }
.footer__brand > p { margin-top: var(--space-lg); max-width: 34ch; font-size: var(--text-sm); color: var(--color-night-muted); }
.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__contact li { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-night-ink); }
.footer__contact svg { flex: none; color: var(--color-bulb-light); }
.footer__contact a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--color-bulb-light); }
.footer__social { display: flex; gap: var(--space-sm); margin-top: var(--space-lg); }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-bulb); color: white; }
.footer__social a:hover { background: var(--color-brand-2); }
.footer__social a:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: var(--space-sm); }
.footer__links a { color: var(--color-night-ink); text-decoration: none; }
.footer__links a:hover { color: var(--color-bulb-light); }
.footer__map { position: relative; overflow: hidden; border-radius: var(--radius-box); background: var(--color-night-2); }
.footer__map img { width: 100%; }
/* Teardrop pins: the point sits on the city (--x, --y as % of the map). */
.pin { position: absolute; left: calc(var(--x) - 7px); top: calc(var(--y) - 17px); width: 14px; height: 14px; border: 2px solid white; border-radius: 50% 50% 50% 0; background: var(--color-brand-2); box-shadow: 0 2px 4px oklch(0% 0 0 / 0.35); transform: rotate(-45deg); }
.pin--home { left: calc(var(--x) - 9px); top: calc(var(--y) - 22px); width: 18px; height: 18px; background: var(--color-bulb); z-index: 1; }
/* Where each city sits on the map, as % of its width and height (from the
   OpenStreetMap frame in ops/brand/photo-credits.md). Classes, not inline
   styles, so the quote page's stricter rules allow them. */
.pin--plano { --x: 49.4%; --y: 47.7%; }
.pin--allen { --x: 52.1%; --y: 32.8%; }
.pin--frisco { --x: 37.8%; --y: 24.3%; }
.pin--mckinney { --x: 54.9%; --y: 16.0%; }
.pin--prosper { --x: 39.9%; --y: 9.1%; }
.pin--richardson { --x: 46.5%; --y: 60.5%; }
.pin--murphy { --x: 57.4%; --y: 48.5%; }
.pin--wylie { --x: 64.4%; --y: 48.5%; }
.pin--sachse { --x: 59.1%; --y: 55.5%; }
.pin--dallas { --x: 40.3%; --y: 91.0%; }
.pin--highland-park { --x: 40.7%; --y: 80.9%; }
.pin--university-park { --x: 39.9%; --y: 77.9%; }
.pin--the-colony { --x: 31.9%; --y: 35.4%; }
.pin--lucas { --x: 60.8%; --y: 36.2%; }
.pin--fairview { --x: 55.7%; --y: 23.1%; }
.pin--princeton { --x: 68.2%; --y: 19.1%; }
.pin--lowry-crossing { --x: 63.7%; --y: 20.1%; }
.footer__credit { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-night-muted); }
.footer__credit a { color: inherit; }
/* Cities in tidy columns, each with a small gold marker. */
.footer__cities { list-style: none; columns: 2; column-gap: var(--space-lg); margin: var(--space-lg) 0 0; padding: 0; }
.footer__cities li { display: flex; align-items: center; gap: var(--space-xs); padding-block: 3px; break-inside: avoid; font-size: var(--text-sm); color: var(--color-night-ink); }
.footer__cities li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--color-bulb-light); }
.footer__note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-night-muted); }


/* Narrower: logo and map run full width, the two link lists sit side by side. */
@media (max-width: 64rem) { .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer__brand, .footer__area { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .footer__grid { gap: var(--space-xl) var(--space-md); } }

/* ============================================================= HELPER == */

.helper { position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-sticky); display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-sm); }
.helper__launch { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: white; color: var(--color-ink); font-weight: 600; cursor: pointer; box-shadow: var(--shadow-card); transition: border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.helper__launch:hover { border-color: var(--color-brand-2); color: var(--color-brand-2); box-shadow: var(--shadow-card-hover); }
.helper__launch:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.helper__launch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-bulb); box-shadow: 0 0 8px var(--color-glow); }
.helper__panel { width: min(22rem, calc(100% - var(--space-xl))); background: white; color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-box); padding: var(--space-md); box-shadow: var(--shadow-card-hover); display: flex; flex-direction: column; gap: var(--space-sm); }
.helper__head { display: flex; align-items: center; justify-content: space-between; }
.helper__title { margin: 0; font-family: var(--font-heavy); font-size: var(--text-lg); font-weight: 800; }
.helper__close { background: none; border: 0; color: var(--color-muted); font-size: var(--text-xl); line-height: 1; cursor: pointer; padding: var(--space-2xs) var(--space-xs); }
.helper__close:hover { color: var(--color-ink); }
.helper__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.helper__body { max-height: 15rem; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-xs); }
.helper__msg { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); background: var(--color-paper-2); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-card); }
.helper__msg a { color: var(--color-brand-2); }
.helper__msg--you { align-self: flex-end; background: var(--color-brand-2); color: var(--color-accent-ink); font-weight: 600; }
.helper__choices { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.helper__choice { border: var(--rule-hair) solid var(--color-rule-2); background: transparent; color: var(--color-ink-2); font-size: var(--text-sm); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); cursor: pointer; transition: border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.helper__choice:hover { border-color: var(--color-brand-2); color: var(--color-brand-2); }
.helper__choice:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.helper__cta { min-height: 44px; }
.helper__cta::after { content: none; } /* no room for icicles at the panel's edge */
@media (max-width: 34rem) { .helper { right: var(--space-md); bottom: var(--space-md); left: var(--space-md); align-items: stretch; } }

/* ================================================= CINEMATIC ANIMATIONS == */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal-up { opacity: 0; transform: translateY(40px); }
  .js .reveal-left { opacity: 0; transform: translateX(-50px); }
  .js .reveal-right { opacity: 0; transform: translateX(50px); }
  .js .reveal-scale { opacity: 0; transform: scale(0.88); }
  .js .reveal-up.is-in, .js .reveal-left.is-in, .js .reveal-right.is-in, .js .reveal-scale.is-in {
    opacity: 1; transform: none;
    transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 140ms);
  }
}

/* ========================================================= SMALL SCREENS == */

@media (max-width: 40rem) {
  .hero__inner { padding-block: calc(var(--masthead-h) + var(--space-xl)) calc(var(--space-2xl) + var(--space-xl)); }
}
