/* =========================================================================
   Smoky Mountain Christmas Lights — site stylesheet (v2, logo-led)
   Layout concept: the brand plaque sets the tone — evergreen-black "sign board"
   bands with engraved gold capitals, warm parchment daylight sections, a
   Smokies dusk sky behind the hero, holly red used only as a rare accent.
   Single-theme by design: every color is set explicitly below.
   ========================================================================= */
:root {
  color-scheme: light;
  /* Color — sampled from the logo */
  --night: #0b1712;        /* plaque board: evergreen-black */
  --night-2: #13261c;      /* raised surfaces on dark */
  --ridge: #2c4a3c;        /* borders on dark */
  --spruce: #173626;       /* holly-leaf evergreen */
  --frost: #f6f1e6;        /* parchment — light sections */
  --paper: #fffdf8;
  --ink: #18211c;          /* body text on light */
  --muted: #5a6159;        /* secondary text on light */
  --mist: #bcc6bd;         /* secondary text on dark */
  --glow: #e3b65a;         /* engraved gold */
  --glow-hi: #f8e3a3;      /* gold highlight */
  --glow-deep: #8a6114;    /* gold for text on light (AA) */
  --glow-soft: #fbe9bf;
  --holly: #b5182d;        /* CHRISTMAS red — rare accent */
  --holly-deep: #7c0f1f;
  --dusk: #e3904a;         /* sunset over the ridges */
  --line: rgba(24, 33, 28, .12);
  --line-dark: rgba(227, 182, 90, .2);
  --ok: #2f7a55;
  --err: #b3261e;
  --gold-grad: linear-gradient(180deg, #fbe7a8 0%, #e6bb5e 48%, #b3801f 100%);

  /* Type */
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.16rem, 1.1rem + .3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.22rem + .6vw, 1.7rem);
  --step-3: clamp(1.65rem, 1.4rem + 1.2vw, 2.4rem);
  --step-4: clamp(2rem, 1.6rem + 2.2vw, 3.5rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(8,19,14,.06), 0 12px 32px -12px rgba(8,19,14,.25);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--frost);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; 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: -100px; z-index: 100; background: var(--glow); color: var(--night); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--paper); }
.section--night { background: var(--night); color: #f3eee2; }
.section--spruce { background: var(--spruce); color: #f3eee2; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--body); font-size: var(--step--1); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--glow-deep);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 2px rgba(227,182,90,.55); }
.section--night .eyebrow, .section--spruce .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--glow); }
.display { font-family: var(--display); font-weight: 700; letter-spacing: .01em; line-height: 1.08; }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.display em, .h2 em { font-style: italic; color: var(--glow-deep); }
.section--night .h2 em, .section--spruce .h2 em, .hero em, .page-hero em { color: var(--glow); }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section--night .lede, .section--spruce .lede { color: var(--mist); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.15; margin-top: 1.8em; }
.prose h3 { font-size: var(--step-1); font-weight: 700; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose a, .text-link { color: var(--ink); text-decoration-color: var(--glow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover, .text-link:hover { color: var(--glow-deep); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--glow); --fg: var(--night);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(227,182,90,.75); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: var(--glow); color: var(--glow); box-shadow: none; }
.btn--dark { --bg: var(--night); --fg: #fff; }
.btn--dark:hover { box-shadow: 0 10px 28px -12px rgba(8,19,14,.6); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-sub { display: block; font-size: .78rem; font-weight: 500; opacity: .75; letter-spacing: .02em; }

/* ---------- Header ---------- */
.topline { background: var(--spruce); color: #e8efe9; font-size: .86rem; text-align: center; padding: 8px var(--gutter); }
.topline a { color: var(--glow); font-weight: 700; text-decoration: none; }
@media (max-width: 560px) { .topline { font-size: .8rem; padding-block: 6px; } .topline .tl-call { display: none; } }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(8,19,14,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: #fff; border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.12rem; line-height: 1.05; font-weight: 700; }
.brand-name small { display: block; font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--glow); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #ece5d2; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 8px; transition: color .15s, background-color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--glow); border-radius: 8px 8px 2px 2px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 8px; }
.header-phone svg { width: 18px; height: 18px; color: var(--glow); }
.header-phone:hover { background: rgba(255,255,255,.07); }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.icon-call { display: none; }

@media (max-width: 1040px) {
  .header-phone .num { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn, .header-phone { display: none; }
  .icon-call { display: inline-flex; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; background: var(--glow); color: var(--night); }
  .icon-call svg { width: 22px; height: 22px; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--glow); }
  .nav .nav-mobile-cta { display: grid; gap: 10px; margin-top: 18px; }
  .nav .nav-mobile-cta a { padding: 0 20px; border-radius: 999px; color: var(--fg); background: var(--bg); border: 2px solid transparent; }
  .nav .nav-mobile-cta a.btn--ghost { border-color: rgba(255,255,255,.45); }
}
.nav-mobile-cta { display: none; }
@media (max-width: 420px) { .brand-name { font-size: 1rem; } .brand-mark { width: 34px; height: 34px; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,19,14,.92) 0%, rgba(8,19,14,.72) 42%, rgba(8,19,14,.1) 75%), linear-gradient(0deg, rgba(8,19,14,.85) 0%, transparent 35%); }
.hero .wrap { padding-block: clamp(72px, 11vw, 150px) clamp(80px, 10vw, 140px); }
.hero-copy { max-width: 620px; display: grid; gap: 22px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 1.5rem + 3vw, 3.9rem); line-height: 1.08; letter-spacing: .01em; }
.hero h1 em { font-style: italic; color: var(--glow); text-shadow: 0 0 28px rgba(227,182,90,.45); }
.hero p.lede { color: #e6dfcd; font-size: var(--step-1); }
.hero-areas { font-size: .92rem; color: var(--mist); line-height: 1.6; }
.hero-areas svg { display: inline-block; width: 16px; height: 16px; color: var(--glow); vertical-align: -3px; margin-right: 6px; }
@media (max-width: 700px) {
  .hero::before { background: linear-gradient(180deg, rgba(8,19,14,.9) 0%, rgba(8,19,14,.82) 60%, rgba(8,19,14,.6) 100%); }
  .hero-media img { object-position: 78% 50%; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* placeholder tag — delete .ph-tag elements (or this rule) once real photos are in */
.ph-tag {
  position: absolute; z-index: 2; right: 10px; bottom: 10px; max-width: calc(100% - 20px);
  font: 600 .68rem/1.3 var(--body); letter-spacing: .04em; color: #fbe9bf;
  background: rgba(8,19,14,.78); border: 1px dashed rgba(227,182,90,.6); padding: 5px 8px; border-radius: 6px; pointer-events: none;
}
.hero .ph-tag { bottom: 14px; right: 14px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trustbar ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; font-weight: 600; line-height: 1.3; font-size: .96rem; }
.trustbar li + li { border-left: 1px solid var(--line); }
.trustbar svg { width: 30px; height: 30px; flex: none; color: var(--glow-deep); }
.trustbar span small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 2px; }
@media (max-width: 900px) { .trustbar ul { grid-template-columns: 1fr 1fr; } .trustbar li:nth-child(3) { border-left: 0; } .trustbar li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .trustbar li { padding: 16px 10px; gap: 10px; font-size: .9rem; } .trustbar svg { width: 24px; height: 24px; } }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(138,97,20,.45); }
.service-card .media { position: relative; aspect-ratio: 16 / 10; background: var(--night); overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .body { padding: 22px 22px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.service-card p { color: var(--muted); font-size: .97rem; }
.service-card .more { margin-top: 6px; font-weight: 700; font-size: .92rem; color: var(--glow-deep); display: inline-flex; gap: 6px; align-items: center; }
.service-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .more svg { transform: translateX(3px); }
.service-card--feature { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--night); color: #fff; border-color: var(--night); }
.service-card--feature .media { aspect-ratio: auto; min-height: 280px; }
.service-card--feature .body { padding: clamp(24px, 4vw, 48px); align-content: center; gap: 14px; }
.service-card--feature p { color: var(--mist); }
.service-card--feature .more { color: var(--glow); }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr 1fr; } .service-card--feature { grid-column: span 2; } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } .service-card--feature { grid-column: auto; grid-template-columns: 1fr; } .service-card--feature .media { min-height: 0; aspect-ratio: 16/10; } }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 22px 0 0; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.4rem; color: var(--night);
  background: radial-gradient(circle at 50% 40%, #fff6dc, var(--glow) 70%); box-shadow: 0 0 0 6px rgba(227,182,90,.14), 0 0 26px rgba(227,182,90,.5);
  margin-bottom: 8px; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; border-top: 1px dashed rgba(227,182,90,.45); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--mist); font-size: .97rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { grid-template-columns: 52px 1fr; column-gap: 18px; padding: 0 0 28px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { display: block; top: 58px; bottom: 4px; left: 26px; right: auto; border-top: 0; border-left: 1px dashed rgba(227,182,90,.45); }
}

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split--media-right .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--night); }
.split-media img { width: 100%; height: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--media-right .split-media { order: 0; } }
.check-list { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.check-list svg { width: 28px; height: 28px; color: var(--glow-deep); margin-top: 1px; }
.check-list strong { display: block; font-size: 1.04rem; }
.check-list span { color: var(--muted); }
.section--night .check-list span, .section--spruce .check-list span { color: var(--mist); }
.section--night .check-list svg { color: var(--glow); }

/* ---------- Before / after ---------- */
.ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: var(--shadow); user-select: none; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--glow); transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 12px rgba(227,182,90,.8); }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1222' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-label { position: absolute; top: 14px; z-index: 2; font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; background: rgba(8,19,14,.75); color: #fff; padding: 8px 10px; border-radius: 6px; pointer-events: none; }
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; color: var(--glow); }
.ba .ph-tag { bottom: 12px; right: auto; left: 12px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: .9rem; font-weight: 600; background: linear-gradient(transparent, rgba(8,19,14,.88)); }
.gallery figcaption small { display: block; color: var(--mist); font-weight: 400; font-size: .8rem; }
.gallery .ph-tag { top: 10px; bottom: auto; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: auto; height: 100%; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery .wide { grid-column: auto; } .gallery .wide img { aspect-ratio: 4/3; } }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { position: relative; background: var(--paper); border: 1px dashed rgba(138,97,20,.55); border-radius: var(--radius); padding: 28px 26px 24px; display: grid; gap: 16px; align-content: start; }
.review .stars { display: flex; gap: 3px; color: var(--glow-deep); }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; font-weight: 500; }
.review footer { font-size: .9rem; color: var(--muted); }
.review footer strong { color: var(--ink); display: block; }
.placeholder-chip { justify-self: start; font: 700 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--glow-deep); background: rgba(227,182,90,.14); padding: 6px 8px; border-radius: 4px; }
.reviews-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.area-link {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 20px 22px;
  background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); color: #fff; text-decoration: none;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.area-link:hover { border-color: var(--glow); background: #1a3326; transform: translateY(-2px); }
.area-link strong { font-family: var(--display); font-weight: 700; font-size: 1.28rem; }
.area-link span { grid-column: 1; color: var(--mist); font-size: .88rem; line-height: 1.4; }
.area-link svg { grid-row: span 2; grid-column: 2; width: 20px; height: 20px; color: var(--glow); }
.areas-note { margin-top: 26px; color: var(--mist); font-size: .95rem; }
.areas-note a { color: var(--glow); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(138,97,20,.5); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.04rem; position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--glow-deep); border-bottom: 2px solid var(--glow-deep); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); max-width: 70ch; }
.faq .answer > * + * { margin-top: .8em; }
.faq .note { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--glow-deep); background: rgba(227,182,90,.14); padding: 3px 7px; border-radius: 4px; }

/* ---------- CTA + form ---------- */
.cta-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cta-panel > * { min-width: 0; }
@media (max-width: 900px) { .cta-panel { grid-template-columns: 1fr; } }
.cta-call { margin-top: 28px; display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.cta-call .label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); font-weight: 700; }
.cta-call a { font-family: var(--display); font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); color: var(--glow); text-decoration: none; line-height: 1.1; }
.cta-call .digits { color: var(--mist); font-size: .92rem; }
.cta-promise { list-style: none; display: grid; gap: 10px; margin-top: 24px; color: var(--mist); }
.cta-promise li { display: flex; gap: 10px; align-items: flex-start; }
.cta-promise svg { width: 20px; height: 20px; color: var(--glow); flex: none; margin-top: 3px; }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form-card h2, .form-card h3 { font-family: var(--display); font-weight: 700; font-size: var(--step-2); margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--frost);
  border: 1.5px solid #d9cfb8; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--glow-deep); background: #fff; box-shadow: 0 0 0 4px rgba(227,182,90,.25); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .error { color: var(--err); font-size: .84rem; font-weight: 600; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1.5px solid #d9cfb8; border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; background: var(--frost); transition: all .15s; user-select: none; }
.chip input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.chip input:checked + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); margin-right: 8px; box-shadow: 0 0 8px var(--glow); }
.chip input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-foot { display: grid; gap: 12px; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: .82rem; text-align: center; }
.form-success { text-align: center; padding: 20px 0; display: grid; gap: 12px; justify-items: center; }
.form-success svg { width: 56px; height: 56px; color: var(--ok); }
.form-success .demo { font-size: .8rem; color: var(--glow-deep); font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,19,14,.95) 0%, rgba(8,19,14,.75) 55%, rgba(8,19,14,.35) 100%); }
.page-hero .wrap { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); display: grid; gap: 18px; }
.page-hero h1 { font-family: var(--display); font-weight: 700; font-size: var(--step-4); line-height: 1.05; max-width: 18ch; }
.page-hero .lede { color: #e6dfcd; }
.crumbs { font-size: .84rem; color: var(--mist); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--glow); }
.crumbs [aria-current] { color: #fff; }

/* ---------- Content layouts ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--night); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.aside-card h2 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.aside-card p { color: var(--mist); font-size: .95rem; }
.aside-card .phone-big { font-family: var(--display); font-size: 1.7rem; color: var(--glow); text-decoration: none; }
@media (max-width: 960px) { .aside-card { position: static; } }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; list-style: none; padding: 0 !important; }
.feature-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 18px 16px; margin: 0 !important; }
.feature-list li strong { display: block; margin-bottom: 4px; }
.feature-list li span { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }
.inline-cta { margin-top: 2.2em; padding: 24px; border-radius: var(--radius); background: var(--spruce); color: #fff; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.inline-cta p { font-family: var(--display); font-size: 1.3rem; line-height: 1.3; max-width: 30ch; }
.nearby { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.nearby li { margin: 0 !important; }
.nearby a { display: inline-flex; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 600; font-size: .92rem; }
.nearby a:hover { border-color: var(--glow-deep); color: var(--glow-deep); }

.service-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.service-detail:first-of-type { border-top: 0; }
.service-detail > * { min-width: 0; }
.service-detail:nth-of-type(even) .split-media { order: 2; }
.service-detail h2 { font-family: var(--display); font-weight: 700; font-size: var(--step-3); line-height: 1.1; margin: 8px 0 14px; }
.service-detail p + p { margin-top: 1em; }
.service-detail p { color: var(--muted); }
.service-detail ul { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.service-detail ul li { padding-left: 22px; position: relative; }
.service-detail ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px rgba(227,182,90,.7); }
@media (max-width: 860px) { .service-detail { grid-template-columns: 1fr; } .service-detail:nth-of-type(even) .split-media { order: 0; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; }
.toc a:hover { border-color: var(--glow); color: var(--glow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--mist); padding-block: 72px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--mist); text-decoration: none; }
.footer-grid a:hover { color: var(--glow); }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer-phone { display: inline-block; margin-top: 18px; font-family: var(--display); font-size: 1.6rem; color: var(--glow) !important; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom a { color: var(--mist); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobile sticky action bar ---------- */
.action-bar { display: none; }
@media (max-width: 900px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(8,19,14,.97); border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 50px; padding: 0 12px; font-size: .95rem; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Motion ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal.pre { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}

/* =========================================================================
   v2 — logo-led overrides
   ========================================================================= */
h1 em, h2 em, .display em { font-style: normal; color: var(--glow-deep); }
.section--night em, .section--spruce em, .hero h1 em, .page-hero h1 em, .aside-card em, .results em {
  color: var(--glow); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none;
}
.btn:not(.btn--ghost):not(.btn--dark):not(.btn--outline) {
  background-image: var(--gold-grad); color: var(--night);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 0 1px #9a6e1c;
}
.btn:not(.btn--ghost):not(.btn--dark):not(.btn--outline):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 0 1px #9a6e1c, 0 10px 28px -10px rgba(227,182,90,.8); }
.btn { font-weight: 800; letter-spacing: .02em; }
.btn--dark { --bg: var(--night); }

.topline { background: var(--holly-deep); color: #f6e9d6; }
.topline a { color: var(--glow-hi); }
.site-header { background: rgba(11,23,18,.96); border-bottom: 1px solid rgba(227,182,90,.35); box-shadow: 0 1px 0 rgba(0,0,0,.45); }
.brand-logo { height: 60px; width: auto; display: block; }
@media (max-width: 900px) { .brand-logo { height: 48px; } }
@media (max-width: 380px) { .brand-logo { height: 42px; } }
.nav a { font-weight: 700; }

/* hero v2: brand plaque + copy over a Smokies dusk */
.hero::before { background: linear-gradient(90deg, rgba(11,23,18,.94) 0%, rgba(11,23,18,.7) 45%, rgba(11,23,18,.15) 80%), linear-gradient(0deg, rgba(11,23,18,.9) 0%, transparent 30%); }
.hero-media img { object-position: 60% 100%; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 112px); }
.hero-badge { margin: 0; }
.hero-badge img { width: 100%; height: auto; filter: drop-shadow(0 28px 40px rgba(0,0,0,.6)); }
.hero-copy { max-width: 600px; }
.hero p.lede { color: #e6dfcd; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-badge { order: -1; max-width: 480px; margin-inline: auto; width: 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(11,23,18,.35) 0%, rgba(11,23,18,.82) 40%, rgba(11,23,18,.95) 100%); }
}
.ornament { display: flex; align-items: center; gap: 14px; color: var(--glow); }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(227,182,90,.6), transparent); }
.ornament svg { width: 54px; height: 22px; }

.footer-logo { width: 240px; height: auto; }
.page-hero h1 { max-width: 22ch; }
.section-head .ornament { max-width: 240px; }

/* ---------- Anatomy of a lit home ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .anatomy { grid-template-columns: 1fr; } }
.anat-card { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; color: #fff; }
.anat { --sp: 15px; --bw: 6px; --c1: #ffd27f; --c2: #ffd27f; --c3: #ffd27f; --c4: #ffd27f; position: relative; }
.anat svg { width: 100%; height: auto; display: block; }
.anat .b { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: var(--bw); stroke-dasharray: 0 calc(var(--sp) * 4); pointer-events: none; transition: opacity .3s; }
.anat .b1 { stroke: var(--c1); }
.anat .b2 { stroke: var(--c2); stroke-dashoffset: calc(var(--sp) * -1); }
.anat .b3 { stroke: var(--c3); stroke-dashoffset: calc(var(--sp) * -2); }
.anat .b4 { stroke: var(--c4); stroke-dashoffset: calc(var(--sp) * -3); }
.anat .halo .b { stroke-width: calc(var(--bw) * 3.2); opacity: .32; }
.anat .core .b { filter: brightness(1.15); }
.anat .cloud { fill: none; stroke-linecap: round; stroke-width: 4.5; pointer-events: none; transition: opacity .3s; }
.anat .halo .cloud { stroke-width: 13; opacity: .3; }
.anat .hit { fill: none; stroke: transparent; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; pointer-events: stroke; }
.anat .hit-area { fill: transparent; cursor: pointer; }
.anat .hl { fill: none; stroke: transparent; stroke-width: 3; stroke-dasharray: 7 6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.anat .wire { fill: none; stroke: rgba(255,255,255,0); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; pointer-events: none; }
.anat .sec.off .b, .anat .sec.off .cloud { opacity: 0; }
.anat .sec.off .wire { stroke: rgba(240,230,210,.35); }
.anat .sec.is-hl .hl { stroke: #fff6d8; animation: march 1.1s linear infinite; }
.anat .sec.is-hl .wire { stroke: transparent; }
@keyframes march { to { stroke-dashoffset: -26; } }
.anat .mk { cursor: pointer; }
.anat .mk circle { fill: #e3b65a; stroke: #0b1712; stroke-width: 2; transition: fill .2s; }
.anat .mk text { font: 800 13px/1 var(--body); fill: #0b1712; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.anat .mk.is-hl circle, .anat .mk:hover circle { fill: #fff6d8; }
.anat .mk:focus-visible { outline: none; }
.anat .mk:focus-visible circle { stroke: #fff; stroke-width: 3; }
.look { display: flex; flex-wrap: wrap; gap: 14px 22px; padding: 16px 18px; border-top: 1px solid var(--line-dark); }
.look-group { display: grid; gap: 8px; min-width: 0; }
.look-label { font: 700 .7rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: #f3eee2; font: 700 .84rem/1 var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background-color .15s, border-color .15s; }
.seg button:hover { border-color: var(--glow); }
.seg button[aria-pressed="true"] { background: var(--gold-grad); color: var(--night); border-color: transparent; }
.sw-dots { display: inline-flex; gap: 2px; }
.sw-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; box-shadow: 0 0 6px currentColor; }
.look-tip { flex-basis: 100%; color: var(--mist); font-size: .9rem; }
.look-tip strong { color: var(--glow); }
.terms { list-style: none; display: grid; gap: 4px; counter-reset: none; }
.terms button { width: 100%; text-align: left; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 11px 12px; border-radius: 10px; background: transparent; border: 1px solid transparent; color: inherit; font: inherit; cursor: pointer; transition: background-color .15s, border-color .15s; }
.terms button:hover, .terms button[aria-pressed="true"] { background: rgba(227,182,90,.09); border-color: var(--line-dark); }
.terms .num { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-grad); color: var(--night); font-weight: 800; font-size: .82rem; display: grid; place-items: center; margin-top: 1px; }
.terms strong { color: #fff; font-size: 1rem; }
.terms .d { color: var(--mist); font-size: .9rem; line-height: 1.5; }

/* ---------- Light planner ---------- */
.planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.planner > * { min-width: 0; }
.planner-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .planner { grid-template-columns: 1fr; } .planner-side { position: static; } }
.p-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 16px; max-width: 100%; overflow-x: auto; }
.p-tabs button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 700 .92rem/1 var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.p-tabs button[aria-selected="true"] { background: var(--night); color: #fff; }
.pgroup { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.pgroup > header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); background: rgba(227,182,90,.07); }
.pgroup > header h3 { font: 800 .76rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.pgroup > header span { font-size: .82rem; color: var(--muted); }
.prow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 14px 18px; transition: background-color .2s; }
.prow + .prow { border-top: 1px solid var(--line); }
.prow.is-hl { background: rgba(227,182,90,.12); }
.prow .pname { font-weight: 800; line-height: 1.25; }
.prow .phow { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.prow .pft { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.08rem; text-align: right; white-space: nowrap; }
.prow .pft small { font-weight: 600; color: var(--muted); font-size: .78rem; margin-left: 2px; }
.prow .pinputs { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; }
.prow.is-off .pinputs, .prow.is-off .pft { opacity: .4; }
.pin { display: grid; gap: 4px; }
.pin label { font: 700 .68rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pin .box { display: flex; align-items: center; border: 1.5px solid #d9cfb8; border-radius: 8px; background: var(--frost); overflow: hidden; }
.pin .box:focus-within { border-color: var(--glow-deep); box-shadow: 0 0 0 3px rgba(227,182,90,.25); background: #fff; }
.pin input, .pin select { width: 76px; min-height: 42px; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 6px 8px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pin select { width: auto; padding-right: 4px; }
.pin input:focus, .pin select:focus { outline: none; }
.pin .u { padding: 0 9px 0 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.toggle { position: relative; width: 44px; height: 26px; flex: none; }
.toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #cfc6b1; transition: background-color .2s; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.toggle input:checked + span { background: var(--spruce); }
.toggle input:checked + span::after { transform: translateX(18px); background: var(--glow-hi); }
.toggle input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.p-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 4px; }
.p-actions .text-btn { background: none; border: 0; font: 700 .9rem var(--body); color: var(--glow-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; }
.example-note { font-size: .86rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.example-note b { color: var(--glow-deep); }

.results { background: var(--night); color: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line-dark); display: grid; gap: 16px; }
.results h3 { font: 800 .76rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px; min-width: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.1; color: var(--glow); font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--mist); font-size: .78rem; margin-top: 4px; line-height: 1.3; }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr 1fr; } }
.r-line { color: var(--mist); font-size: .92rem; }
.r-line strong { color: #fff; }
.view-switch { display: inline-flex; gap: 2px; background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px; }
.view-switch button { border: 0; background: transparent; color: var(--mist); font: 700 .74rem/1 var(--body); letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; cursor: pointer; text-transform: none; }
.view-switch button[aria-pressed="true"] { background: var(--glow); color: var(--night); }
.picklist { overflow-x: auto; }
.picklist table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.picklist th, .picklist td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.picklist th { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-weight: 700; }
.picklist td.n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--glow); white-space: nowrap; }
.picklist td small { color: var(--mist); display: block; font-size: .78rem; }
.tip { display: flex; gap: 10px; background: rgba(227,182,90,.08); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px; color: var(--mist); font-size: .88rem; line-height: 1.5; }
.tip svg { width: 20px; height: 20px; flex: none; color: var(--glow); margin-top: 1px; }
.plan-attached { display: flex; gap: 10px; align-items: center; background: rgba(47,122,85,.1); border: 1px solid rgba(47,122,85,.35); color: var(--ok); border-radius: 8px; padding: 10px 12px; font-weight: 700; font-size: .9rem; }
.plan-attached svg { width: 20px; height: 20px; }

/* photo measuring */
.photo-tool { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.5vw, 22px); display: grid; gap: 14px; }
.drop { display: grid; justify-items: center; gap: 10px; text-align: center; border: 2px dashed #d9cfb8; border-radius: 12px; padding: 30px 18px; background: var(--frost); }
.drop svg { width: 40px; height: 40px; color: var(--glow-deep); }
.drop p { color: var(--muted); font-size: .92rem; max-width: 44ch; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pt-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pt-steps li { font: 700 .78rem/1 var(--body); padding: 8px 10px; border-radius: 999px; background: var(--frost); color: var(--muted); border: 1px solid var(--line); }
.pt-steps li.is-on { background: var(--night); color: var(--glow-hi); border-color: var(--night); }
.pt-steps li.is-done { color: var(--ok); }
.canvas-wrap { position: relative; border-radius: 10px; overflow: hidden; background: #111; touch-action: none; }
.canvas-wrap canvas { display: block; width: 100%; height: auto; cursor: crosshair; }
.pt-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.pt-bar .btn { min-height: 44px; padding: 0 16px; font-size: .9rem; }
.pt-msg { font-size: .92rem; color: var(--ink); background: rgba(227,182,90,.12); border-radius: 8px; padding: 10px 12px; }
.seg-list { list-style: none; display: grid; gap: 6px; }
.seg-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .92rem; }
.seg-list li b { font-variant-numeric: tabular-nums; }
.seg-list button { background: none; border: 0; color: var(--err); font: 700 .82rem var(--body); cursor: pointer; }
.pitch-wrap { overflow-x: auto; }
.pitch-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.pitch-table th, .pitch-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.pitch-table th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pitch-table svg { width: 46px; height: 24px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.how-grid h3 { font-size: 1.05rem; }
.how-grid p { color: var(--muted); font-size: .95rem; }
.how-grid code { background: var(--frost); padding: 2px 6px; border-radius: 4px; font-size: .88rem; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }
@media (max-height: 859px) { .planner-side { position: static; } }
.planner-side .look { padding: 12px 14px; gap: 10px 16px; }
.planner-side .look-tip { display: none; }
.results .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
.results h3 { flex-wrap: wrap; }
@media (max-width: 520px) { .results .btn-row .btn { flex: 1 1 100%; } }
.anatomy > .anat-card { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px), (max-height: 760px) { .anatomy > .anat-card { position: static; } }
.anat .hl { stroke-width: 4; stroke-dasharray: 9 7; }
.anat .sec.is-hl .hl { stroke: #8fe3ff; filter: drop-shadow(0 0 4px rgba(143,227,255,.8)); }
.anat.has-hl .sec:not(.is-hl) .b, .anat.has-hl .sec:not(.is-hl) .cloud { opacity: .28; }
.example-note svg { width: 20px; height: 20px; flex: none; color: var(--glow-deep); }
.prow[data-type="line"], .prow[data-type="garland"], .prow[data-type="count"] { grid-template-columns: auto minmax(0, 1fr) auto; }
.prow[data-type="line"] .pinputs, .prow[data-type="garland"] .pinputs, .prow[data-type="count"] .pinputs { grid-column: 3; grid-row: 1; }
.prow[data-type="line"] .pft, .prow[data-type="garland"] .pft, .prow[data-type="count"] .pft { display: none; }
.prow[data-type="line"] .pin label, .prow[data-type="garland"] .pin label, .prow[data-type="count"] .pin label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.pin .box { min-height: 42px; }
.prow .pft { align-self: start; padding-top: 2px; }
.photo-tool .tip { color: var(--muted); background: rgba(227,182,90,.1); border-color: rgba(138,97,20,.25); }
.photo-tool .tip svg { color: var(--glow-deep); }
@media (max-width: 1000px) { .planner-side { order: -1; } }
@media (max-width: 480px) { .p-tabs { display: flex; width: 100%; } .p-tabs button { flex: 1; padding: 0 10px; font-size: .84rem; } }
.steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
.steps--6 li:nth-child(3n)::after { display: none; }
@media (max-width: 900px) { .steps--6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps--6 { grid-template-columns: 1fr; } .steps--6 li:nth-child(3n)::after { display: block; } .steps--6 li:last-child::after { display: none; } }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 800 .76rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(227,182,90,.07); }
.compare thead th:nth-child(2) { color: var(--night); background: rgba(227,182,90,.22); }
.compare td.yes { font-weight: 700; background: rgba(227,182,90,.08); }
.compare td.yes svg { width: 20px; height: 20px; color: var(--ok); display: inline-block; vertical-align: -5px; margin-right: 8px; }
.compare td.no { color: var(--muted); }

/* =========================================================================
   v4 — design previews, twinkle, tap-to-measure
   ========================================================================= */
/* stronger, gold selection on the house */
.anat .sec.is-hl .hl { stroke: #ffd166; stroke-width: 11; stroke-dasharray: none; opacity: .55; animation: none; filter: drop-shadow(0 0 9px rgba(255, 209, 102, .95)); }
.anat .sec.info.is-hl .hl { stroke-width: 6; opacity: .9; stroke-dasharray: 10 7; }
.anat.has-hl .sec:not(.is-hl) .b, .anat.has-hl .sec:not(.is-hl) .cloud { opacity: .16; }
.anat.has-hl .sec.is-hl .b, .anat.has-hl .sec.is-hl .cloud { opacity: 1; }
/* planner markers: numbers that match the list */
.anat .mk--p circle { fill: #0b1712; stroke: #e3b65a; stroke-width: 3; }
.anat .mk--p text { fill: #f8e3a3; font-size: 22px; }
.anat .mk--p:hover circle { fill: #1f3a2c; }
.anat .mk--p.is-hl circle { fill: #ffd166; stroke: #fff; stroke-width: 3; }
.anat .mk--p.is-hl text { fill: #0b1712; }
/* gentle twinkle on the inline house (stroke-opacity so on/off and dimming still work) */
@keyframes twk { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .5; } }
.anat .core .b1 { animation: twk 3.1s ease-in-out infinite; }
.anat .core .b2 { animation: twk 3.9s ease-in-out .7s infinite; }
.anat .core .b3 { animation: twk 2.7s ease-in-out 1.3s infinite; }
.anat .core .b4 { animation: twk 4.3s ease-in-out .4s infinite; }
.anat .core .cloud:nth-child(odd) { animation: twk 3.4s ease-in-out .5s infinite; }
.anat .core .cloud:nth-child(even) { animation: twk 4.1s ease-in-out 1.6s infinite; }

/* numbered rows */
.pnum { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-grad); color: var(--night); font: 800 .76rem/1 var(--body); margin-right: 9px; vertical-align: 2px; flex: none; }
.pnum--lg { width: 38px; height: 38px; font-size: 1rem; margin: 0; }
.prow.is-hl { background: rgba(227, 182, 90, .16); box-shadow: inset 4px 0 0 #e3b65a; }

/* measuring card */
.pcard { border-top: 1px solid var(--line-dark); padding: 16px 18px; color: #fff; background: linear-gradient(180deg, rgba(227,182,90,.08), transparent); }
.pcard-empty { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
.pcard-empty p { color: var(--mist); font-size: .95rem; max-width: 42ch; }
.pcard-empty strong { color: #fff; }
.pcard-empty .btn { min-height: 46px; }
.pcard-body { display: grid; gap: 12px; }
.pcard-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.pcard-title strong { display: block; font-size: 1.15rem; color: #fff; }
.pcard-title span { display: block; color: var(--mist); font-size: .88rem; }
.pcard-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.pcard-x:hover { border-color: var(--glow); color: var(--glow); }
.pcard-tip { color: #e6dfcd; font-size: .92rem; background: rgba(255,255,255,.05); border-radius: 8px; padding: 10px 12px; }
.pcard-inputs .pinputs { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: end; }
.pcard .pin label { color: var(--mist); position: static !important; width: auto !important; height: auto !important; clip: auto !important; }
.pcard .pin input { width: 110px; font-size: 18px; font-weight: 700; }
.pcard-row { display: flex; align-items: center; gap: 10px; }
.pcard-row label { font-weight: 700; cursor: pointer; }
.pcard-ft { margin-left: auto; font-size: 1.3rem; color: var(--glow); font-variant-numeric: tabular-nums; }
.pcard-ft small { color: var(--mist); font-size: .8rem; margin-left: 3px; }
.pcard-nav { display: flex; gap: 10px; }
.pcard-nav .btn { flex: 1; min-height: 48px; }
.pcard-nav .btn[disabled] { opacity: .35; pointer-events: none; }
.pcard-total { color: var(--mist); font-size: .88rem; text-align: center; }
.pcard-total strong { color: #fff; }

/* "Smoky Mountain standard" strip (replaces sample reviews) */
.standard { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.standard li { display: grid; gap: 6px; align-content: start; background: var(--frost); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.standard svg { width: 30px; height: 30px; color: var(--glow-deep); margin-bottom: 4px; }
.standard strong { font-size: 1.05rem; }
.standard span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .standard { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .standard { grid-template-columns: 1fr; } }
.pcard [data-pcpf] { color: var(--glow) !important; font-size: 1.05rem; }
.pcard .pin .box[style] { min-height: 42px; }

/* ---------- "Watch how it works" demo ---------- */
.demo-btn { display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 16px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid rgba(227,182,90,.45); background: var(--night); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.demo-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(8,19,14,.6); }
.demo-btn strong { display: block; font-size: 1.05rem; }
.demo-btn small { display: block; color: var(--mist); font-size: .85rem; }
.demo-play { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--night); font-size: 1.1rem; padding-left: 3px; box-shadow: 0 0 0 6px rgba(227,182,90,.15); }
.demo-layer { position: fixed; inset: 0; z-index: 200; }
.demo-cursor { position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -4px 0 0 -7px; z-index: 3; pointer-events: none; transition: transform .75s cubic-bezier(.45,.05,.25,1); filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.demo-cursor svg { width: 34px; height: 34px; }
.demo-ripple { position: absolute; left: 7px; top: 4px; width: 0; height: 0; border-radius: 50%; border: 3px solid #ffd166; transform: translate(-50%, -50%); opacity: 0; }
.demo-cursor.tap .demo-ripple { animation: ripple .55s ease-out; }
@keyframes ripple { 0% { width: 8px; height: 8px; opacity: 1; } 100% { width: 64px; height: 64px; opacity: 0; } }
.demo-cap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; width: min(680px, calc(100% - 32px)); display: grid; gap: 4px; padding: 16px 22px; border-radius: 16px; background: rgba(11,23,18,.94); border: 1px solid rgba(227,182,90,.55); color: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); pointer-events: none; }
.demo-cap.pop { animation: capin .35s ease-out; }
@keyframes capin { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.demo-step { font: 800 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--glow); }
.demo-text { font-size: 1.12rem; font-weight: 600; line-height: 1.4; }
.demo-stop { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; z-index: 4; border: 1px solid rgba(227,182,90,.6); background: rgba(11,23,18,.92); color: #fff; border-radius: 999px; padding: 10px 16px; font: 700 .9rem var(--body); cursor: pointer; }
.demo-card { position: fixed; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; background: rgba(11,23,18,.9); color: #fff; animation: capin2 .4s ease-out; }
.demo-card[hidden] { display: none; }
@keyframes capin2 { from { opacity: 0; } to { opacity: 1; } }
.demo-card img { width: min(320px, 70vw); height: auto; }
.demo-card strong { font-family: var(--body); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); line-height: 1.15; }
.demo-card span { color: var(--mist); font-size: 1.1rem; max-width: 36ch; }
.demo-typing { box-shadow: 0 0 0 3px #ffd166 !important; }
.demo-glow { animation: glowpulse 1s ease-in-out infinite; }
@keyframes glowpulse { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 0 1px #9a6e1c, 0 0 0 0 rgba(255,209,102,.7); } 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 0 1px #9a6e1c, 0 0 0 14px rgba(255,209,102,0); } }
.demo-on .action-bar { display: none !important; }
@media (max-width: 900px) { .demo-cap { bottom: 16px; padding: 12px 16px; } .demo-text { font-size: 1rem; } }

/* ===== v5 motion: snow flurries, garlands, reveals ===== */
.has-snow { position: relative; isolation: isolate; }
canvas.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.section--night > .wrap, .site-footer > .wrap { position: relative; }
.site-footer { position: relative; }

.garland { position: absolute; left: 0; right: 0; height: 36px; z-index: 2; pointer-events: none; }
.garland--bottom { bottom: -4px; }
.garland--top { top: -2px; }
.garland i { position: absolute; inset: 0; background-repeat: repeat-x; background-size: 120px 36px; }
.g-wire { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%2236%22 viewBox=%220 0 120 36%22%3E%3Cpath d=%22M0 4 Q60 22 120 4%22 fill=%22none%22 stroke=%22%2315221b%22 stroke-width=%222.2%22/%3E%3Crect x=%2217.8%22 y=%228%22 width=%224.4%22 height=%224.5%22 rx=%221%22 fill=%22%231d2b22%22/%3E%3Cpath d=%22M16.6 12.5 Q15.4 19 20 24 Q24.6 19 23.4 12.5 Z%22 fill=%22%235b4a2a%22/%3E%3Crect x=%2257.8%22 y=%2212%22 width=%224.4%22 height=%224.5%22 rx=%221%22 fill=%22%231d2b22%22/%3E%3Cpath d=%22M56.6 16.5 Q55.4 23 60 28 Q64.6 23 63.4 16.5 Z%22 fill=%22%235b4a2a%22/%3E%3Crect x=%2297.8%22 y=%228%22 width=%224.4%22 height=%224.5%22 rx=%221%22 fill=%22%231d2b22%22/%3E%3Cpath d=%22M96.6 12.5 Q95.4 19 100 24 Q104.6 19 103.4 12.5 Z%22 fill=%22%235b4a2a%22/%3E%3C/svg%3E"); }
.g-bulbs.b1 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%2236%22 viewBox=%220 0 120 36%22%3E%3Crect x=%2217.8%22 y=%228%22 width=%224.4%22 height=%224.5%22 rx=%221%22 fill=%22%231d2b22%22/%3E%3Ccircle cx=%2220%22 cy=%2218%22 r=%2210%22 fill=%22%23ffd98a%22 opacity=%22.28%22/%3E%3Ccircle cx=%2220%22 cy=%2218%22 r=%225.5%22 fill=%22%23ffd98a%22 opacity=%22.35%22/%3E%3Cpath d=%22M16.6 12.5 Q15.4 19 20 24 Q24.6 19 23.4 12.5 Z%22 fill=%22%23ffd98a%22/%3E%3Cellipse cx=%2218.8%22 cy=%2216.5%22 rx=%221%22 ry=%222.2%22 fill=%22%23fff%22 opacity=%22.7%22/%3E%3Crect x=%2297.8%22 y=%228%22 width=%224.4%22 height=%224.5%22 rx=%221%22 fill=%22%231d2b22%22/%3E%3Ccircle cx=%22100%22 cy=%2218%22 r=%2210%22 fill=%22%23ffd98a%22 opacity=%22.28%22/%3E%3Ccircle cx=%22100%22 cy=%2218%22 r=%225.5%22 fill=%22%23ffd98a%22 opacity=%22.35%22/%3E%3Cpath d=%22M96.6 12.5 Q95.4 19 100 24 Q104.6 19 103.4 12.5 Z%22 fill=%22%23ffd98a%22/%3E%3Cellipse cx=%2298.8%22 cy=%2216.5%22 rx=%221%22 ry=%222.2%22 fill=%22%23fff%22 opacity=%22.7%22/%3E%3C/svg%3E"); animation: gtw 2.6s ease-in-out infinite; }
.g-bulbs.b2 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%2236%22 viewBox=%220 0 120 36%22%3E%3Crect x=%2257.8%22 y=%2212%22 width=%224.4%22 height=%224.5%22 rx=%221%22 fill=%22%231d2b22%22/%3E%3Ccircle cx=%2260%22 cy=%2222%22 r=%2210%22 fill=%22%23ff4a3d%22 opacity=%22.28%22/%3E%3Ccircle cx=%2260%22 cy=%2222%22 r=%225.5%22 fill=%22%23ff4a3d%22 opacity=%22.35%22/%3E%3Cpath d=%22M56.6 16.5 Q55.4 23 60 28 Q64.6 23 63.4 16.5 Z%22 fill=%22%23ff4a3d%22/%3E%3Cellipse cx=%2258.8%22 cy=%2220.5%22 rx=%221%22 ry=%222.2%22 fill=%22%23fff%22 opacity=%22.7%22/%3E%3C/svg%3E"); animation: gtw 2.6s ease-in-out -1.3s infinite; }
@keyframes gtw { 0%, 100% { opacity: 1; } 45% { opacity: .35; } 55% { opacity: .9; } }
.site-footer { padding-top: 92px; }

/* scroll reveals (added by motion.js only below the fold) */
.m-pre { opacity: 0; transform: translateY(16px); }
.m-pre.m-in { opacity: 1; transform: none; transition: opacity .55s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.75,.2,1) var(--d, 0ms); }

/* hero entrance + living logo */
.js .hero-copy > *, .js .page-hero .wrap > * { animation: rise .9s cubic-bezier(.2,.75,.2,1) both; }
.js .hero-copy > :nth-child(2), .js .page-hero .wrap > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3), .js .page-hero .wrap > :nth-child(3) { animation-delay: .24s; }
.js .hero-copy > :nth-child(4), .js .page-hero .wrap > :nth-child(4) { animation-delay: .36s; }
.js .hero-copy > :nth-child(5), .js .page-hero .wrap > :nth-child(5) { animation-delay: .48s; }
.js .hero-copy > :nth-child(n+6), .js .page-hero .wrap > :nth-child(n+6) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-badge { position: relative; animation: badgein 1.2s cubic-bezier(.2,.75,.2,1) .15s both; }
.hero-badge::before { content: ""; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,205,110,.42), transparent 70%); animation: halo 5s ease-in-out infinite; }
.hero-badge img { animation: floaty 7s ease-in-out 1.4s infinite; }
@keyframes badgein { from { opacity: 0; transform: scale(.88) translateY(20px); filter: brightness(.4); } to { opacity: 1; transform: none; filter: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-.6deg); } }
@keyframes halo { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
/* background zoom retired: it made the small lights shimmer on wide screens */
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.08); } }

/* gold shimmer across the main buttons */
.btn:not(.btn--ghost):not(.btn--dark):not(.btn--outline) { position: relative; overflow: hidden; isolation: isolate; }
.btn:not(.btn--ghost):not(.btn--dark):not(.btn--outline)::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 42%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); animation: sheen 6s ease-in-out infinite; pointer-events: none; }
.btn:not(.btn--ghost):not(.btn--dark):not(.btn--outline):hover::after { animation-duration: 1.2s; }
@keyframes sheen { 0%, 72% { left: -60%; } 100% { left: 130%; } }

/* ringing phone + header depth on scroll */
.header-cta a[href^="tel"] svg, .action-bar a[href^="tel"] svg { animation: ring 5s ease-in-out 2s infinite; transform-origin: 50% 60%; }
@keyframes ring { 0%, 84%, 100% { transform: rotate(0); } 86% { transform: rotate(-16deg); } 88% { transform: rotate(14deg); } 90% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } 94% { transform: rotate(-6deg); } 96% { transform: rotate(0); } }
.site-header { transition: box-shadow .35s ease; }
.site-header.is-scrolled { box-shadow: 0 14px 34px -14px rgba(0,0,0,.75), 0 1px 0 rgba(227,182,90,.25); }

/* glowing gold words on dark sections */
.section--night .h2 em, .hero h1 em, .page-hero h1 em {
  background: linear-gradient(100deg, #e3b65a 0%, #e3b65a 40%, #fff3cf 50%, #e3b65a 60%, #e3b65a 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldtext 7s linear infinite; }
@keyframes goldtext { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* little touches */
.ornament svg { animation: orn 4s ease-in-out infinite; }
@keyframes orn { 0%, 100% { filter: drop-shadow(0 0 0 rgba(227,182,90,0)); } 50% { filter: drop-shadow(0 0 6px rgba(227,182,90,.8)); } }
.trustbar li svg { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.trustbar li:hover svg { transform: translateY(-4px) scale(1.12); }
.area-link { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.area-link:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .garland i, .hero-badge, .hero-badge::before, .hero-badge img, .hero-media img, .page-hero .bg img, .js .hero-copy > *, .js .page-hero .wrap > *,
  .btn::after, .header-cta a svg, .action-bar a svg, .section--night .h2 em, .hero h1 em, .page-hero h1 em, .ornament svg { animation: none !important; }
  .m-pre { opacity: 1; transform: none; }
}

/* demo v2: narrated walkthrough */
.demo-tools { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; z-index: 6; display: flex; gap: 8px; }
.demo-tools .demo-stop { position: static; }
.demo-voice { border: 1px solid rgba(227,182,90,.6); background: rgba(11,23,18,.92); color: #fff; border-radius: 999px; padding: 10px 16px; font: 700 .9rem var(--body); cursor: pointer; }
.demo-voice[aria-pressed="false"] { color: var(--mist); border-color: rgba(255,255,255,.3); }
.demo-card .demo-go { margin-top: 10px; min-height: 56px; padding: 0 30px; font-size: 1.1rem; }
.demo-card .demo-hint { color: var(--mist); font-size: .95rem; }
.demo-card .btn[hidden], .demo-card small[hidden] { display: none; }
.demo-text { font-size: 1.22rem; }
@media (max-width: 900px) { .demo-text { font-size: 1.08rem; } .demo-cap { bottom: 14px; } .demo-tools { top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; } .demo-voice, .demo-tools .demo-stop { padding: 8px 12px; font-size: .82rem; } }

/* snow switch in the header: small, always there, on every page */
.snow-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(160,205,250,.45); background: rgba(160,205,250,.08); color: #a9d4ff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.snow-toggle svg { width: 20px; height: 20px; }
.snow-toggle:hover { background: rgba(160,205,250,.18); border-color: #a9d4ff; }
.snow-toggle .snow-x { position: absolute; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-45deg); opacity: 0; transition: opacity .2s; }
.snow-toggle.is-off { color: var(--mist); border-color: rgba(255,255,255,.25); background: none; }
.snow-toggle.is-off .snow-x { opacity: 1; }
.snow-toggle[hidden] { display: none; }
@media (max-width: 900px) { .snow-toggle { width: 46px; height: 46px; border-radius: 10px; } .snow-toggle svg { width: 22px; height: 22px; } }
.demo-on .snow-layer { display: none !important; }
/* keep the header on one line now that it holds the snow switch */
.nav a, .header-phone { white-space: nowrap; }
@media (max-width: 1500px) and (min-width: 901px) { .header-phone .num { display: none; } .header-phone { padding: 8px; } }
@media (max-width: 1180px) and (min-width: 901px) { .nav a { padding-inline: 9px; font-size: .95rem; } .site-header .wrap { gap: 12px; } }
.brand { flex: none; } .brand-logo { object-fit: contain; }
@media (max-width: 1060px) and (min-width: 901px) { .brand-logo { height: 46px; } .nav a { padding-inline: 7px; font-size: .9rem; } }

/* home hero: the lodge from the logo, with its Christmas lights slowly breathing */
.hero-lodge { position: relative; width: 122%; margin-left: -6%; animation: badgein 1.2s cubic-bezier(.2,.75,.2,1) .15s both; }
.hero-lodge img { display: block; width: 100%; height: auto; animation: none !important; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); }
.hero-lodge .lodge-lights { position: absolute; inset: 0; filter: none; mix-blend-mode: screen; opacity: .25; animation: lodgeglow 4.2s ease-in-out 1.2s infinite !important; }
@keyframes lodgeglow { 0%, 100% { opacity: .05; } 50% { opacity: 1; } }
.hero-lodge::before { inset: 10% 4% 0; background: radial-gradient(closest-side, rgba(255,200,110,.38), transparent 72%); }
@media (prefers-reduced-motion: reduce) { .hero-lodge .lodge-lights { animation: none !important; opacity: .5; } }
@media (max-width: 900px) { .hero-lodge { width: 108%; margin-left: -4%; } }

/* snow button: light-blue snowflake + a small "Snow" label on computers */
.snow-toggle { width: auto; padding: 0 12px 0 9px; gap: 6px; border-radius: 999px; }
.snow-toggle .snow-label { font: 700 .82rem/1 var(--body); letter-spacing: .02em; }
.snow-toggle .snow-x { left: 9px; width: 22px; }
@media (max-width: 1500px) and (min-width: 901px) { .snow-toggle .snow-label { display: none; } .snow-toggle { width: 40px; padding: 0; } .snow-toggle .snow-x { left: 9px; } }
@media (max-width: 900px) { .snow-toggle { width: 46px; padding: 0; border-radius: 10px; } .snow-toggle .snow-label { display: none; } .snow-toggle .snow-x { left: 10px; } }
.header-cta { position: relative; }
.snow-hint { position: absolute; top: calc(100% + 10px); right: 60px; z-index: 70; background: #fff; color: var(--night); font: 700 .88rem/1.2 var(--body); padding: 10px 14px; border-radius: 10px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); white-space: nowrap; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.snow-hint::before { content: ""; position: absolute; top: -6px; right: 72px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.snow-hint.show { opacity: 1; transform: none; }
/* back to top */
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 58; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #9a6e1c; background: var(--gold-grad); color: var(--night); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px -10px rgba(0,0,0,.6); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
@media (max-width: 900px) { .to-top { bottom: 86px; right: 14px; width: 44px; height: 44px; } }
.demo-on .to-top { display: none; }
