/* My House in Lights v2 (2026-10-09). Used ONLY by the myhouseinlights pages in mhil-v2/.
   Shared site.css / lead.js / tawny-chat.js are untouched; this file restyles the bits of them these pages use. */
:root {
  --navy: #0a1020;
  --navy-2: #0f1a2e;
  --navy-3: #070b16;
  --cream: #f6f2ea;
  --sand: #ece6d8;
  --ink: #1b1f2a;
  --body: #3b3a36;
  --muted: #5d6372;
  --on-dark: #d9d3c4;
  --on-dark-mut: #b8b3a4;
  --gold: #c9a24b;
  --gold-text: #7a5c12;      /* gold for text on light backgrounds (contrast-safe on cream and sand) */
  --line: #d8d1c2;
  --line-dark: #2a3352;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --bar-h: 68px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.mhil { margin: 0; background: var(--cream); color: var(--ink); font: 18px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 6px; }
.in { max-width: 1200px; margin: 0 auto; }
.sec { padding: 96px var(--pad); }
.sec-tight { padding: 48px var(--pad); }
.kick { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.dark .kick, .hero .kick { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h2.big { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; text-wrap: balance; }
.head { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.head p { margin: 0; color: var(--body); }
.dark { background: var(--navy-2); color: var(--cream); }
.dark .head p, .dark p { color: var(--on-dark); }
.sand { background: var(--sand); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.cap { font-size: 14px; color: var(--muted); margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 6px;
  font: 600 15px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: #14100a; }
.btn-gold:hover { background: #d8b45f; color: #14100a; }
.btn-ghost { color: var(--cream); border-color: var(--on-dark-mut); background: transparent; font-weight: 500; }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn-navy { background: var(--navy-2); color: var(--cream); }
.btn-navy:hover { background: #18264a; color: var(--cream); }
.btn-line { color: var(--cream); border-color: var(--gold); background: transparent; font-weight: 500; min-height: 48px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* top call bar */
.topbar { background: var(--gold); color: #14100a; padding: 8px var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; font-size: 15px; font-weight: 500; }
.topbar a { color: #14100a; font-weight: 600; text-decoration: none; letter-spacing: .04em; min-height: 36px; display: inline-flex; align-items: center; }

/* header (used on dark hero and on the design page) */
.site-head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 16px var(--pad); }
.site-head .logo { height: clamp(96px, 13vw, 160px); width: auto; }
.site-head nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.site-head nav a { color: var(--cream); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-head nav a:hover { color: var(--gold); }
.site-head nav a.tel { color: var(--gold); border: 1px solid var(--gold); border-radius: 6px; padding: 0 18px; font-weight: 500; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); min-height: 720px; display: flex; flex-direction: column; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,12,24,.92) 0%, rgba(8,12,24,.7) 40%, rgba(8,12,24,.1) 80%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 260px; z-index: 1; background: linear-gradient(180deg, rgba(8,12,24,.92) 0%, rgba(8,12,24,0) 100%); }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 48px var(--pad) 96px; }
.hero-copy { max-width: 620px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: .96; text-wrap: balance; }
.hero h1 em { color: var(--gold); }
.hero .lede { margin: 0; font-size: 20px; line-height: 1.5; color: #e6e0d2; max-width: 520px; }
.hero .area-line { margin: 0; font-size: 16px; color: var(--on-dark); }
.hero-cap { position: absolute; z-index: 2; right: var(--pad); bottom: 16px; left: var(--pad); text-align: right; font-size: 12px; color: #c9c4b6; margin: 0; }

/* offer band */
.offer { background: var(--navy-2); color: var(--cream); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 40px var(--pad); }
.offer .in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.offer .title { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 500; margin: 6px 0 0; }
.offer .kick { color: var(--gold); }
.offer .side { flex: 1 1 320px; max-width: 480px; color: var(--on-dark); }
.offer .side p { margin: 0; }
.offer .ends { margin-top: 8px !important; color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.offer .btn { margin-top: 16px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.gallery-foot a { color: var(--gold-text); text-decoration: none; font-family: var(--serif); font-size: 32px; font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; }

/* two ways */
.ways { display: flex; flex-wrap: wrap; gap: 24px; }
.way { flex: 1 1 340px; min-width: 0; border-radius: 10px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.way h3 { font-size: 34px; line-height: 1.1; }
.way p { margin: 0; }
.way-dark { background: var(--navy-2); color: var(--cream); }
.way-dark .kick { color: var(--gold); }
.way-dark p { color: var(--on-dark); }
.way-light { background: var(--sand); }
.way-light p { color: var(--body); }
.commercial { margin: 0; color: var(--body); }
.commercial a { font-weight: 600; }

/* colors */
.swatches { display: flex; flex-wrap: wrap; gap: 24px; }
.swatch { flex: 1 1 220px; min-width: 0; background: var(--navy-2); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.swatch i { width: 56px; height: 56px; border-radius: 50%; display: block; }
.swatch h3 { font-size: 28px; color: var(--cream); }

/* how it works */
.steps { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps li { flex: 1 1 300px; min-width: 0; border-top: 2px solid var(--gold); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.steps .n { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--gold-text); }
.steps h3 { font-size: 30px; line-height: 1.1; }
.steps p { margin: 0; color: var(--body); }

/* cost */
.cost .in { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 80px; }
.cost .num { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); line-height: 1.02; font-weight: 500; margin: 0; }
.cost .num span { font-size: .5em; color: var(--on-dark); }
.cost .l, .cost .r { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* founders */
.founders { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.founders img { flex: 1 1 340px; min-width: 0; height: 440px; object-fit: cover; object-position: 50% 30%; border-radius: 10px; }
.founders .bios { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.founders h3 { font-size: 32px; line-height: 1.1; }
.founders p { margin: 8px 0 0; color: var(--body); }

/* service area */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px 40px; }
.areas div { border-top: 2px solid var(--gold); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.areas h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.areas p { margin: 0; color: var(--ink); }

/* quick facts + FAQ */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { padding-left: 22px; position: relative; color: var(--body); }
.facts li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fffdf8; border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--gold-text); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.35; }
.faq details p { margin: 0 0 18px; color: var(--body); }

/* final CTA + footer */
.final { background: var(--navy); color: var(--cream); padding: 96px var(--pad); text-align: center; }
.final .in { max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.final h2 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; text-wrap: balance; }
.final p { margin: 0; color: var(--on-dark); }
.final .actions { justify-content: center; }
.foot { background: var(--navy-3); color: #a9a392; padding: 48px var(--pad); font-size: 15px; }
.foot .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.foot .logo { height: 56px; width: auto; }
.foot a { color: var(--on-dark); }
.foot .fine { margin: 32px 0 0; font-size: 13px; color: #8d8879; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* floating call bar: phones only */
.callbar { display: none; }
@media (max-width: 800px) {
  body.mhil.has-callbar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px; align-items: center;
    background: var(--navy-2); border-top: 1px solid var(--gold);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .callbar a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 8px;
    background: var(--gold); color: #14100a; font: 700 18px/1.2 var(--sans); text-decoration: none; letter-spacing: .02em; }
  /* keep Ask Tawny clear of the call bar */
  /* tawny-chat.js sets bottom inline on scroll; !important keeps it above the bar on these pages only */
  body.has-callbar #ie-tawny-launch { bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom, 0px)) !important; right: 12px; }
  body.has-callbar #ie-tawny-panel { bottom: calc(var(--bar-h) + 74px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 800px) {
  .sec { padding: 64px var(--pad); }
  .hero { min-height: 640px; }
  .hero-body { padding: 24px var(--pad) 72px; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(8,12,24,.55) 0%, rgba(8,12,24,.65) 45%, rgba(8,12,24,.94) 100%); }
  .site-head { padding: 12px var(--pad); }
  .site-head nav { width: 100%; justify-content: flex-start; gap: 0 18px; font-size: 14px; }
  .site-head nav a.tel { display: none; }   /* the floating call bar carries the number on phones */
  .actions .btn { width: 100%; }
  .way { padding: 28px 22px; }
  .founders img { height: 320px; }
}

/* ===== quick preview tool (design.html) ===== */
body.mhil.tool { --t-bg: var(--navy); --t-surface: #141d38; --t-surface-2: #1d2848; --t-fg: var(--cream); --t-muted: #b4b9cc;
  --t-line: var(--line-dark); --t-accent: var(--gold); --t-accent-fg: #14100a; --t-ok: #8fe0a1; --t-link: var(--gold); color-scheme: dark;
  background: var(--t-bg); color: var(--t-fg); padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-color-scheme: light) {
  body.mhil.tool { --t-bg: var(--cream); --t-surface: #ffffff; --t-surface-2: var(--sand); --t-fg: var(--ink); --t-muted: #545b6b;
    --t-line: var(--line); --t-accent: var(--gold); --t-accent-fg: #14100a; --t-ok: #1d7a3a; --t-link: var(--gold-text); color-scheme: light; }
}
.tool .tool-head { background: var(--navy); }
.tool .tool-head .logo { height: clamp(72px, 10vw, 110px); }
.tool main { max-width: 760px; margin: 0 auto; padding: 24px 16px 32px; display: grid; gap: 16px; }
.tool h1 { font-size: clamp(36px, 8vw, 56px); line-height: 1; text-wrap: balance; }
.tool .lede { margin: 6px 0 0; color: var(--t-muted); max-width: 60ch; }
.tool .jump { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; }
.tool .jump a, .tool main .fine a { color: var(--t-link); font-weight: 600; }
.stage { border-radius: 10px; overflow: hidden; background: #05070f; border: 1px solid var(--t-line); }
.stage canvas { display: block; width: 100%; height: auto; touch-action: pan-y; cursor: crosshair; }
.tool .cap { color: var(--t-muted); }
.panel { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 10px; padding: 16px; display: grid; gap: 16px; }
.panel h2 { font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.label { font-size: 14px; font-weight: 600; color: var(--t-muted); letter-spacing: .04em; text-transform: uppercase; }
.tbtn { min-height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--t-line); background: var(--t-surface-2); color: var(--t-fg);
  font: 600 15px var(--sans); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; }
.tbtn.primary { background: var(--t-accent); border-color: var(--t-accent); color: var(--t-accent-fg); }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--t-line); background: var(--t-surface-2); color: var(--t-fg);
  font: 500 15px var(--sans); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--t-accent); box-shadow: 0 0 0 1px var(--t-accent) inset; font-weight: 600; }
.sw { display: inline-flex; }
.sw i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }
.sw i + i { margin-left: -4px; }
.tool input[type=file] { max-width: 100%; color: var(--t-muted); font: 15px var(--sans); }
.tool input[type=file]::file-selector-button { min-height: 44px; padding: 0 16px; margin-right: 12px; border-radius: 6px; border: 1px solid var(--t-accent);
  background: var(--t-accent); color: var(--t-accent-fg); font: 600 15px var(--sans); cursor: pointer; }
.tool input[type=range] { width: 100%; accent-color: var(--t-accent); min-height: 32px; }
.tool input[type=color] { width: 44px; height: 44px; border: 1px solid var(--t-line); border-radius: 6px; background: var(--t-surface-2); padding: 2px; }
.tool input[type=number], .tool input[type=text], .tool input[type=tel], .tool input[type=email], .tool select, .tool textarea {
  min-height: 44px; width: 100%; border-radius: 6px; border: 1px solid var(--t-line); background: var(--t-surface-2); color: var(--t-fg); font: 16px var(--sans); padding: 8px 12px; }
.tool textarea { min-height: 72px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 15px; color: var(--t-muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 16px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--t-accent); flex: none; }
.est { display: grid; gap: 2px; }
.est .big { font: 600 clamp(34px, 8vw, 44px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.est .sub { font-size: 15px; color: var(--t-muted); }
.fine { font-size: 14px; color: var(--t-muted); margin: 0; }
.disclaimer { border-left: 3px solid var(--t-accent); padding: 4px 0 4px 14px; font-size: 15px; color: var(--t-fg); margin: 0; }
.status { color: var(--t-ok); font-weight: 600; margin: 0; }
.err { color: #ff8a80; font-weight: 600; margin: 0; }
@media (prefers-color-scheme: light) { .err { color: #b3261e; } }
.qbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--t-surface); border-top: 1px solid var(--t-accent);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.qbar .barest { font: 600 24px/1.1 var(--serif); font-variant-numeric: tabular-nums; min-width: 0; }
.qbar .barest small { display: block; font: 400 13px var(--sans); color: var(--t-muted); }
.qbar .tbtn { min-height: 48px; white-space: nowrap; }
body.tool #ie-tawny-launch { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; right: 12px; }
body.tool #ie-tawny-panel { bottom: calc(146px + env(safe-area-inset-bottom, 0px)) !important; }
.tool .foot { margin-top: 24px; }

/* time picker rendered by lead.js (ieMountVisit) */
.ie-pick { display: flex; flex-direction: column; gap: 12px; max-width: 100%; }
.ie-day { margin: 0; font: 18px/1.4 var(--sans); }
button.ie-choice { display: block; width: 100%; min-height: 48px; background: var(--t-surface-2, #fff); color: var(--t-fg, var(--ink));
  border: 1px solid var(--t-line, var(--line)); border-radius: 10px; padding: 12px 14px; font: 17px/1.3 var(--sans); text-align: left; cursor: pointer; }
button.ie-choice:hover { border-color: var(--t-accent, var(--gold)); }
#visit .note, #ie-book-msg { color: var(--t-muted, var(--muted)); font-size: 15px; }
.hidden { display: none !important; }

/* polish */
.nw { white-space: nowrap; }
.steps .n, .cost .num, .est .big, .qbar .barest, .offer .title { font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 800px) { .gallery-foot a { font-size: 26px; } }

/* gallery page */
.band-head { background: var(--navy); }
.band-head .logo { height: clamp(72px, 10vw, 110px); }
.gallery-foot .gf-left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gallery-foot a.all-photos { font: 600 15px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #14100a; min-height: 52px; }
.gallery-foot a.callq { display: inline-block; }
