/* ==========================================================================
   Hacman Lighting: main stylesheet
   --------------------------------------------------------------------------
   1. Design tokens      6. Cards and grids     11. Quote flow
   2. Base and reset     7. Home sections       12. Guide, FAQ, contact
   3. Utilities          8. Page heroes         13. Footer
   4. Header and nav     9. Services (shop)     14. Glow effects
   5. Buttons and forms 10. Package page       15. Reduced motion
   ========================================================================== */

/* 1. Design tokens --------------------------------------------------------- */
:root {
  --navy-950: #060b15;
  --navy-900: #0b1424;
  --navy-800: #111d33;
  --navy-700: #1b2a45;
  --pine-900: #0a1c18;
  --pine-800: #0f2b25;

  --gold: #e3b25b;
  --gold-soft: #f2c46d;
  --amber: #f0a83c;
  --cream: #f6eedd;
  --cream-muted: #cdc4b2; /* 10:1 on navy-900 */
  --line: rgba(246, 238, 221, 0.12);
  --line-strong: rgba(242, 196, 109, 0.35);

  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --glow: 0 0 24px rgba(242, 196, 109, 0.35);

  --space-section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 72px;
}

/* 2. Base and reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background: var(--navy-900);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, strong, dd { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
a { color: var(--gold-soft); text-underline-offset: 0.2em; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
strong { font-weight: 600; }
::selection { background: var(--gold-soft); color: var(--navy-900); }

/* 3. Utilities ------------------------------------------------------------- */
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 720px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold-soft); color: var(--navy-900); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-soft); margin-bottom: 0.9rem;
}
.muted { color: var(--cream-muted); font-size: 0.95rem; }
.optional { color: var(--cream-muted); font-weight: 400; }
.text-link {
  color: var(--gold-soft); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s, color .2s;
}
.text-link:hover { color: var(--cream); border-color: var(--cream); }
.section { position: relative; padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: linear-gradient(180deg, var(--pine-900), #0b1d22); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.75rem; }
.section-head .section-title { margin-bottom: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.prose { max-width: 760px; }
.prose .section-title { margin-top: 2.2em; }
.prose .section-title:first-child { margin-top: 0; }

/* 4. Header and nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 36, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(8, 14, 26, 0.94); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--cream); }
.logo__mark { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(242, 196, 109, .6)); }
.logo__word { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1; }
.logo__word em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.logo:hover { color: var(--cream); }

.nav { margin-left: auto; }
.nav__menu { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  display: block; padding: 0.5rem 0.85rem; border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: 0.95rem; transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--gold-soft); }
.nav__menu a[aria-current="page"] { color: var(--gold-soft); background: rgba(242, 196, 109, 0.08); }
.nav__toggle { display: none; }

.quote-link {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: 0.95rem; transition: background .2s, border-color .2s;
}
.quote-link svg { width: 20px; height: 20px; color: var(--gold-soft); }
.quote-link:hover, .quote-link[aria-current="page"] { background: rgba(242, 196, 109, 0.1); border-color: var(--gold-soft); color: var(--cream); }
.quote-link__count {
  min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem; border-radius: 999px;
  background: var(--gold-soft); color: var(--navy-900); font-size: 0.75rem; font-weight: 600;
  display: inline-grid; place-items: center; box-shadow: var(--glow);
}

@media (max-width: 899px) {
  .nav { order: 3; margin-left: 0; }
  .quote-link { margin-left: auto; }
  .quote-link__label { display: none; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--cream); cursor: pointer;
  }
  .nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s;
  }
  .nav__toggle-bars { position: relative; }
  .nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav__toggle-bars::before { top: -6px; }
  .nav__toggle-bars::after { top: 6px; }
  .nav-open .nav__toggle-bars { background: transparent; }
  .nav-open .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; padding: 1rem 1.25rem 1.5rem;
    background: var(--navy-950); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__menu a { padding: 0.9rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-open .nav__menu { visibility: visible; opacity: 1; transform: none; }
}

/* 5. Buttons and forms ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.6rem; border-radius: 999px;
  font: 500 0.98rem/1.2 var(--font-sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, box-shadow .25s, transform .2s, border-color .2s;
}
.btn--gold { background: var(--gold-soft); color: var(--navy-900); box-shadow: 0 0 0 rgba(242, 196, 109, 0); }
.btn--gold:hover { background: #f8d48a; color: var(--navy-900); box-shadow: 0 0 28px rgba(242, 196, 109, 0.45); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn--small { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

input, select, textarea { font: inherit; color: inherit; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 500; }
.field input, .field select, .field textarea, .newsletter-form input {
  width: 100%; min-height: 48px; padding: 0.7rem 0.95rem;
  background: rgba(6, 11, 21, 0.55); border: 1px solid rgba(246, 238, 221, 0.28); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { background: var(--navy-900); }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter-form input:focus {
  outline: none; border-color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(242, 196, 109, 0.22);
}
::placeholder { color: rgba(205, 196, 178, 0.75); }
.form__fine { font-size: 0.86rem; color: var(--cream-muted); margin: 0.9rem 0 0; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

.newsletter-form__row { display: flex; gap: 0.6rem; }
.newsletter-form__row input { flex: 1; border-radius: 999px; padding-inline: 1.2rem; }
@media (max-width: 480px) { .newsletter-form__row { flex-direction: column; } }

/* Panels */
.panel { background: linear-gradient(180deg, rgba(27, 42, 69, 0.55), rgba(17, 29, 51, 0.55)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.panel--soft { background: rgba(17, 29, 51, 0.45); }
.panel--dashed { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.panel__title { font-size: 1.55rem; margin-bottom: 0.8rem; }

/* 6. Media, cards and grids ------------------------------------------------ */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-950); aspect-ratio: 4 / 3; }
.media svg, .media img { width: 100%; height: 100%; object-fit: cover; }
.ph-tag {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px dashed rgba(246, 238, 221, 0.5);
  background: rgba(6, 11, 21, 0.75); color: var(--cream); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.media--thumb .ph-tag { display: none; }
.media--thumb { border-radius: var(--radius-sm); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: rgba(17, 29, 51, 0.6); border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
}
.card:hover, .card:focus-within { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow), 0 0 40px rgba(242, 196, 109, 0.08); }
.card__media .media { border-radius: 0; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body .eyebrow { font-size: 0.7rem; margin-bottom: 0.5rem; }
.card__title { font-size: 1.6rem; margin-bottom: 0.4rem; }
.card__title a { color: var(--cream); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card { position: relative; }
.card__title a:hover { color: var(--gold-soft); }
.card__summary { color: var(--cream-muted); font-size: 0.95rem; flex: 1; }
.card__price { margin: 0; font-size: 0.95rem; color: var(--cream-muted); }
.card__price strong { color: var(--gold-soft); font-size: 1.15rem; font-family: var(--font-serif); font-weight: 600; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tick-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-soft); box-shadow: 0 0 10px 2px rgba(242, 196, 109, 0.55);
}
.numbered { padding-left: 1.3rem; }
.numbered li { margin-bottom: 0.8rem; padding-left: 0.3rem; }
.numbered li::marker { color: var(--gold-soft); font-family: var(--font-serif); font-weight: 600; }

/* 7. Home sections --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 7.5rem);
  background: radial-gradient(1200px 600px at 80% 10%, rgba(240, 168, 60, 0.12), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(15, 43, 37, 0.9), transparent 70%), var(--navy-900); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: clamp(2.8rem, 6.4vw, 5.2rem); margin-bottom: 0.4em; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--cream-muted); max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero__copy .hero__actions { margin-top: 0; }
.hero__actions--center { justify-content: center; }
.hero__note { margin-top: 1.6rem; font-size: 0.88rem; color: var(--cream-muted); }
.hero__art .media { box-shadow: var(--shadow), 0 0 80px rgba(240, 168, 60, 0.12); border: 1px solid var(--line); }
@media (max-width: 899px) { .hero__inner { grid-template-columns: 1fr; } }

.story__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); }
.story__text p { font-size: 1.15rem; color: var(--cream-muted); }
.story__text p:first-child { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--cream); }
@media (max-width: 799px) { .story__inner { grid-template-columns: 1fr; } }

.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-item { position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--navy-900); }
.section--tint .why-item { background: #0c1f20; }
.why-item h3 { font-size: 1.5rem; margin-top: 1.2rem; }
.why-item p { color: var(--cream-muted); margin: 0; font-size: 0.97rem; }
.why-item__glow { display: block; width: 12px; height: 12px; border-radius: 50%; background: #fff4d6; box-shadow: 0 0 10px 3px rgba(242, 196, 109, 0.8), 0 0 34px 10px rgba(240, 168, 60, 0.3); }
@media (max-width: 899px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold-soft); }
.steps li::after { content: ""; position: absolute; top: 1.2rem; left: 3.2rem; right: 0.8rem; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.steps p { color: var(--cream-muted); font-size: 0.95rem; }
@media (max-width: 899px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17, 29, 51, 0.5); display: flex; flex-direction: column; }
.review--placeholder { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.review blockquote { margin: 0 0 1.4rem; flex: 1; }
.review blockquote p { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; font-style: italic; margin: 0; }
.review--placeholder blockquote p { color: var(--cream-muted); }
.review__who { margin: 0; font-weight: 500; }
.review__who span { display: block; font-weight: 400; color: var(--cream-muted); font-size: 0.9rem; }
.review__flag { display: inline-block; align-self: flex-start; margin-bottom: 1rem; padding: 0.15rem 0.65rem; border: 1px dashed var(--gold-soft); border-radius: 999px; color: var(--gold-soft); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 899px) { .reviews { grid-template-columns: 1fr; } }

.signup { overflow: hidden; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(240, 168, 60, 0.14), transparent 70%), var(--navy-950); border-top: 1px solid var(--line); }
.signup__inner { position: relative; max-width: 620px; }
.signup p { color: var(--cream-muted); }
.signup .newsletter-form { margin-top: 1.8rem; }

/* Photo hero: full-bleed shot of a lit home with a dark wash for legible text. */
.hero--photo { min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-950); }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 21, 0.92) 0%, rgba(6, 11, 21, 0.7) 38%, rgba(6, 11, 21, 0.1) 70%, rgba(6, 11, 21, 0) 100%),
    linear-gradient(0deg, var(--navy-900) 0%, rgba(11, 20, 36, 0) 30%),
    linear-gradient(180deg, rgba(6, 11, 21, 0.55) 0%, rgba(6, 11, 21, 0) 25%);
}
.hero--photo .hero__inner { grid-template-columns: minmax(0, 36rem); }
.hero--photo .hero__lede { color: #e2d9c6; }
.hero--photo .hero__note { color: #d8cfbc; }
.hero__credit { position: relative; margin: 1.5rem auto 0; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--cream-muted); text-align: right; }
@media (max-width: 899px) {
  .hero--photo { min-height: 0; padding-top: 0; }
  .hero__photo { position: relative; inset: auto; aspect-ratio: 4 / 3; margin-bottom: -5rem; }
  .hero__photo::after { background: linear-gradient(0deg, var(--navy-950) 4%, rgba(6, 11, 21, 0.25) 55%, rgba(6, 11, 21, 0) 100%); }
  .hero__credit { text-align: left; }
}

/* Our work: mosaic of real install photos. */
.work__lede { max-width: 26rem; color: var(--cream-muted); margin: 0; }
.work-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(0.6rem, 1.4vw, 1rem);
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.work-grid__item--lead { grid-row: span 2; }
.work-grid a { position: relative; display: block; height: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--navy-950); }
.work-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s ease, filter .4s; }
.work-grid__item--lead img { aspect-ratio: auto; }
.work-grid a:hover img, .work-grid a:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }
.work-grid a:hover, .work-grid a:focus-visible { border-color: var(--line-strong); box-shadow: 0 0 40px rgba(242, 196, 109, 0.12); }
.work-grid__zoom { position: absolute; right: 0.8rem; bottom: 0.8rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: rgba(6, 11, 21, 0.7); border: 1px solid var(--line-strong); opacity: 0; transition: opacity .3s; }
.work-grid__zoom::before, .work-grid__zoom::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold-soft); transform: translate(-50%, -50%); }
.work-grid__zoom::before { width: 12px; height: 1.5px; }
.work-grid__zoom::after { width: 1.5px; height: 12px; }
.work-grid a:hover .work-grid__zoom, .work-grid a:focus-visible .work-grid__zoom { opacity: 1; }
@media (max-width: 899px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .work-grid__item--lead { grid-column: span 2; grid-row: auto; }
  .work-grid__item--lead img { aspect-ratio: 4 / 3; }
}

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1400px); max-height: 94vh; overflow: visible; color: var(--cream); }
.lightbox::backdrop { background: rgba(4, 7, 14, 0.92); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; margin-inline: auto; border-radius: var(--radius-sm); box-shadow: 0 0 80px rgba(242, 196, 109, 0.12); }
.lightbox__caption { margin: 0.9rem auto 0; max-width: 60ch; text-align: center; font-size: 0.9rem; color: var(--cream-muted); }
.lightbox__nav, .lightbox__close { position: absolute; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(6, 11, 21, 0.75); color: var(--cream); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--gold-soft); border-color: var(--gold); }
.lightbox__nav { top: calc(41vh - 1.375rem); }
.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }
.lightbox__close { top: 0.75rem; right: 0.75rem; }

/* 8. Page heroes ----------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); background: radial-gradient(900px 400px at 85% 0%, rgba(240, 168, 60, 0.11), transparent 65%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; }
.page-hero--short { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-hero--center { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.page-hero--center .page-lede { margin-inline: auto; }
.page-hero__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 899px) { .page-hero__split { grid-template-columns: 1fr; } }
.page-title { font-size: clamp(2.5rem, 5.5vw, 4.2rem); }
.page-lede { font-size: 1.15rem; color: var(--cream-muted); max-width: 42rem; margin: 0; }

/* 9. Services (shop) ------------------------------------------------------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.filters__summary { list-style: none; cursor: pointer; font-family: var(--font-serif); font-size: 1.5rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.filters__summary::-webkit-details-marker { display: none; }
.filters__group { border: 0; padding: 0; margin: 0 0 1.5rem; }
.filters__group legend { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.6rem; padding: 0; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check label { display: flex; align-items: center; gap: 0.7rem; padding: 0.35rem 0; cursor: pointer; font-size: 0.95rem; }
.check label::before { content: ""; flex: none; width: 18px; height: 18px; border: 1px solid rgba(246, 238, 221, 0.45); border-radius: 4px; transition: background .2s, border-color .2s, box-shadow .2s; }
.check input:checked + label::before { background: var(--gold-soft); border-color: var(--gold-soft); box-shadow: 0 0 12px rgba(242, 196, 109, 0.55); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b1424' stroke-width='2'/%3E%3C/svg%3E"); }
.check input:focus-visible + label::before { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.shop__count { margin: 0; color: var(--cream-muted); }
.shop__sort { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; }
.shop__sort select { min-height: 42px; padding: 0.4rem 0.9rem; background: rgba(6, 11, 21, 0.55); border: 1px solid rgba(246, 238, 221, 0.28); border-radius: 999px; }
.shop__sort select option { background: var(--navy-900); }
@media (max-width: 1100px) { .card-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .card-grid, .card-grid--shop { grid-template-columns: 1fr; } }
.empty-state { padding: 2rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--cream-muted); }
@media (min-width: 900px) { .filters__summary { pointer-events: none; } }
@media (max-width: 899px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
  .filters__summary { border: 0; margin: 0; padding: 0.9rem 0; font-size: 1.25rem; display: flex; justify-content: space-between; }
  .filters__summary::after { content: "+"; color: var(--gold-soft); }
  .filters[open] .filters__summary::after { content: "–"; }
  .filters__form { padding-bottom: 1.2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 1.5rem; }
}

/* 10. Package page --------------------------------------------------------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 1.4rem 0 0; font-size: 0.88rem; color: var(--cream-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { color: var(--cream-muted); }
.breadcrumb a:hover { color: var(--gold-soft); }

.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.gallery__stage .media { border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery__thumbs { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.gallery__thumb { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: none; cursor: pointer; opacity: 0.65; transition: opacity .2s, border-color .2s; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-pressed="true"] { opacity: 1; border-color: var(--gold-soft); box-shadow: 0 0 16px rgba(242, 196, 109, 0.25); }
.product__title { font-size: clamp(2.4rem, 4.5vw, 3.4rem); margin-bottom: 0.25em; }
.product__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--cream-muted); }
.product__price { font-size: 1.05rem; color: var(--cream-muted); margin: 1.4rem 0 0.2rem; }
.product__price strong { font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold-soft); font-weight: 600; margin-left: 0.3rem; }
.product__price-note, .add-form__hint, .product__wire { font-size: 0.88rem; color: var(--cream-muted); }
.option-group { border: 0; padding: 0; margin: 1.6rem 0; }
.option-group legend { font-weight: 500; margin-bottom: 0.7rem; padding: 0; }
.option { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem; margin-bottom: 0.6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.option:hover { border-color: rgba(242, 196, 109, 0.5); }
.option:has(input:checked) { border-color: var(--gold-soft); background: rgba(242, 196, 109, 0.07); }
.option input { accent-color: var(--gold-soft); width: 18px; height: 18px; flex: none; }
.option__body { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.option__detail { font-size: 0.86rem; color: var(--cream-muted); }
.option__price { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-soft); white-space: nowrap; }
.option-group--chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.option-group--chips legend { width: 100%; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 0.93rem; transition: border-color .2s, background .2s; }
.chip input:checked + span { border-color: var(--gold-soft); background: rgba(242, 196, 109, 0.08); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(246, 238, 221, 0.5); }
.swatch--green { background: #1d3b2a; } .swatch--white { background: #e9e4d8; } .swatch--black { background: #111; } .swatch--copper { background: #b06d3b; }
.includes { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.includes__title { font-size: 1.4rem; }

.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.product-detail__copy p { color: var(--cream-muted); }
.specs { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.specs th, .specs td { text-align: left; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--gold-soft); width: 42%; padding-right: 1rem; }
.specs thead th { color: var(--cream); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.specs caption { text-align: left; caption-side: top; font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--cream-muted); }
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.specs--guide th { width: auto; }
@media (max-width: 899px) {
  .product, .product-detail { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

/* 11. Quote flow ----------------------------------------------------------- */
.progress { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; font-size: 0.9rem; color: var(--cream-muted); }
.progress li { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--line); }
.progress span { flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 0.82rem; }
.progress .is-done, .progress .is-current { color: var(--cream); border-color: var(--gold-soft); }
.progress .is-done span { background: rgba(242, 196, 109, 0.18); }
.progress .is-current span { background: var(--gold-soft); color: var(--navy-900); box-shadow: var(--glow); }
@media (max-width: 720px) { .progress { grid-template-columns: repeat(2, 1fr); } }

.quote { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.75rem; align-items: start; }
.quote__items { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.quote__payment { grid-column: 2; }
.quote-list { list-style: none; margin: 0; padding: 0; }
.quote-item { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.quote-item__name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--cream); text-decoration: none; }
.quote-item__name:hover { color: var(--gold-soft); }
.quote-item__meta { margin: 0; font-size: 0.88rem; color: var(--cream-muted); }
.quote-item__price { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; color: var(--gold-soft); font-weight: 600; text-align: right; }
.quote-item__remove { grid-column: 2; justify-self: end; background: none; border: 0; padding: 0.2rem 0; color: var(--cream-muted); font-size: 0.85rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.quote-item__remove:hover { color: var(--cream); }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.2rem 0 0.6rem; }
.quote-total dt { font-weight: 500; }
.quote-total dd { margin: 0; font-family: var(--font-serif); font-size: 2rem; color: var(--gold-soft); font-weight: 600; }
.quote__fine { font-size: 0.85rem; color: var(--cream-muted); margin: 0; }
.quote__payment p { color: var(--cream-muted); font-size: 0.95rem; }
@media (max-width: 899px) {
  .quote { grid-template-columns: 1fr; }
  .quote__items { position: static; }
  .quote__payment { grid-column: auto; }
}

/* Toast */
.toast { position: fixed; z-index: 60; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); opacity: 0;
  padding: 0.9rem 1.3rem; border-radius: 999px; background: var(--navy-950); border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow), var(--glow); transition: opacity .3s, transform .3s; font-size: 0.95rem; max-width: calc(100% - 2rem); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { margin-left: 0.5rem; font-weight: 500; }

/* 12. Guide, FAQ, contact, about ------------------------------------------ */
.guide { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.guide__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.4rem; }
.guide__toc .panel__title { font-size: 1.2rem; }
.guide__toc ol { margin: 0; padding-left: 1.1rem; font-size: 0.93rem; }
.guide__toc li { margin-bottom: 0.4rem; }
.guide__toc a { color: var(--cream-muted); text-decoration: none; }
.guide__toc a:hover { color: var(--gold-soft); }
.guide__body p { color: var(--cream-muted); }
.guide__body p strong { color: var(--cream); }
.estimator { margin-block: 1rem 2rem; }
.estimator__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; padding: 1.2rem; border-radius: var(--radius-sm); background: rgba(6, 11, 21, 0.5); border: 1px solid var(--line-strong); }
.estimator__out span { font-size: 0.9rem; color: var(--cream-muted); }
.estimator__out strong { font-family: var(--font-serif); font-size: 1.7rem; color: var(--gold-soft); font-weight: 600; line-height: 1.1; }
.cta-panel { margin-top: 3rem; text-align: center; }
.cta-panel p { margin-inline: auto; }
@media (max-width: 899px) { .guide { grid-template-columns: 1fr; } .guide__toc { position: static; } }

.faq { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.faq__nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq__nav ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.faq__nav a { display: block; padding: 0.4rem 0 0.4rem 1rem; color: var(--cream-muted); text-decoration: none; font-size: 0.95rem; }
.faq__nav a:hover { color: var(--gold-soft); }
.faq__group { margin-bottom: 3rem; }
.faq__group .section-title { font-size: 2rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-weight: 500; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); color: var(--gold-soft); font-size: 1.5rem; font-weight: 300; transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--gold-soft); }
.faq__item p { color: var(--cream-muted); padding-bottom: 1.2rem; margin: 0; max-width: 46rem; }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; gap: 1.5rem; } .faq__nav { position: static; } }

.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.75rem; align-items: start; }
.contact__info { display: grid; gap: 1.25rem; }
.contact__info .panel__title { font-size: 1.3rem; margin-bottom: 0.4rem; }
.hours { margin: 0 0 1rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours dt { color: var(--cream-muted); }
.hours dd { margin: 0; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }

.placeholder-note { padding: 1.4rem 1.6rem; margin-bottom: 1.6rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--cream-muted); }
.placeholder-note p:last-child { margin: 0; }
.prose > p { color: var(--cream-muted); }
.prose > p:first-of-type { color: var(--cream); }

/* 13. Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 0.95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1.25fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand p { color: var(--cream-muted); margin-top: 1rem; max-width: 22rem; }
.site-footer__area { font-size: 0.88rem; }
.site-footer__links { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 0.5rem; }
.site-footer__links a { color: var(--cream-muted); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__links a:hover { color: var(--gold-soft); }
.footer-heading { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; }
.site-footer__signup p { color: var(--cream-muted); }
.social { display: flex; gap: 0.6rem; margin-top: 1.4rem !important; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--cream); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.social svg { width: 18px; height: 18px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); color: var(--cream-muted); font-size: 0.85rem; }
.site-footer__base p { margin: 0; }
.site-footer__base a { color: var(--cream-muted); }
@media (max-width: 899px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__signup { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* 14. Glow effects --------------------------------------------------------- */
/* Soft golden halo behind display headlines. */
.glow-text { color: #fff7e6; text-shadow: 0 0 18px rgba(242, 196, 109, 0.35), 0 0 48px rgba(240, 168, 60, 0.2); }

/* Bokeh: blurred warm dots drifting slowly behind hero content. */
.bokeh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bokeh span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 160, 0.55) 0%, rgba(242, 176, 80, 0.18) 45%, transparent 70%);
  opacity: 0.35; animation: bokeh-float 8s ease-in-out infinite alternate;
}
@keyframes bokeh-float {
  0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.15; }
  50% { opacity: 0.55; }
  100% { transform: translate3d(0, -18px, 0) scale(1.08); opacity: 0.25; }
}

/* Twinkle: a few bulbs in each illustration gently breathe. */
.tw { animation: twinkle 3.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* 15. Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .bokeh span { opacity: 0.3; }
}

/* Small screens: keep the wordmark on one line. */
.logo__word { white-space: nowrap; }
@media (max-width: 420px) { .logo__word { font-size: 1.3rem; } .site-header__inner { gap: 0.75rem; } }
