@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #321a20;
  --ink-deep: #331019;
  --paper: #fbf5e9;
  --cream: #f2e7d4;
  --muted: #635056;
  --line: #ded0bb;
  --gold: #e6c99a;
  --red: #581723;
  --red-light: #782c3c;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #a05a62;
  outline-offset: 4px;
}
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .75rem; left: 1rem; padding: .6rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.masthead { display: grid; place-items: center; min-height: 139px; border-top: 4px solid var(--red); background: var(--cream); }
.wordmark { display: grid; justify-items: center; padding: .85rem 1rem; line-height: 1; text-decoration: none; }
.wordmark span { color: var(--red); font: 600 clamp(2.35rem, 6vw, 3.4rem)/.9 var(--serif); letter-spacing: -.035em; }
.wordmark b { font-size: .6em; font-weight: 600; letter-spacing: .06em; }
.wordmark small { font-size: .67rem; font-weight: 650; letter-spacing: .43em; text-transform: uppercase; margin-top: .35rem; }
.wordmark img { margin-bottom: .35rem; }
.nav { background: var(--red); color: var(--paper); }
.nav-sticky { position: sticky; top: 0; z-index: 4; }
.nav-sticky ~ main, .nav-sticky ~ main .section { scroll-margin-top: 4.5rem; }
.scroll-progress { display: none; }
.nav-inner, .nav ul { display: flex; align-items: stretch; justify-content: center; }
.nav-inner, .nav ul { gap: clamp(.6rem, 2.6vw, 2.5rem); }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav a, .menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
  .nav a {
    transition: color 0.24s var(--ease-out), text-shadow 0.24s var(--ease-out);
  }
  .nav a:hover {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(230, 201, 154, 0.3);
  }
}
.nav .nav-contact, .nav a[aria-current] { color: var(--gold); }
.nav a[aria-current] { box-shadow: inset 0 -2px var(--gold); }
.menu-toggle { color: var(--paper); background: transparent; border: 0; cursor: pointer; }

.hero {
  position: relative;
  display: grid;
  min-height: 550px;
  min-height: clamp(545px, 68svh, 720px);
  place-items: center;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgb(33 13 22 / 72%), rgb(33 13 22 / 58%) 48%, rgb(33 13 22 / 24%) 74%, rgb(24 11 18 / 70%)),
    #321a20 url("assets/detroit-skyline.webp") center 51% / cover no-repeat;
  color: var(--paper);
  text-align: center;
}
.hero-inner { align-self: start; padding-block: clamp(3.25rem, 8svh, 5.75rem) 5.5rem; }
.hero-caption { position: absolute; right: max(1.5rem, (100% - 1120px) / 2); bottom: 1.8rem; color: var(--paper); font-size: .67rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { color: var(--muted); font-size: .69rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { color: #782c3c; }
.hero-label { color: #f7dfb9; }
.hero h1 { margin-block: .9rem 1.1rem; font: 600 clamp(3.25rem, 8vw, 7rem)/.86 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { color: #f1d5aa; font-weight: 500; }
.hero-description { max-width: 34rem; margin-inline: auto; color: #fff8ed; font-size: clamp(1rem, 2vw, 1.2rem); text-wrap: balance; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  background: var(--red);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(88, 23, 35, 0.1);
}
@media (prefers-reduced-motion: no-preference) {
  .button:hover {
    background: var(--red-light);
    box-shadow: 0 4px 12px rgba(88, 23, 35, 0.2);
  }
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.65rem; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #f1d5aa; }
.button-outline { border-color: #fbf5e9b3; background: #33101999; }
.hero-next { position: absolute; bottom: 1.15rem; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #fbf5e980; border-radius: 50%; text-decoration: none; }
.hero-next:hover { background: #fbf5e924; }

.section { padding-block: clamp(3.5rem, 7vw, 6.25rem); scroll-margin-top: 1.25rem; }
.section :is(h1, h2) { margin-top: .4rem; font: 600 clamp(2.5rem, 5.5vw, 4.75rem)/.98 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.section-heading { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 1.25rem 2rem; margin-bottom: 2.25rem; }
.section-heading > p { max-width: 25rem; color: var(--muted); }
.services { border-top: 4px solid #b58c55; }
.service-explorer { display: grid; gap: 1rem; }
.service-explorer:has(.service-options:not([hidden])) { grid-template-columns: minmax(13rem, .85fr) minmax(0, 1.65fr); }
.service-options { display: grid; align-content: start; gap: .5rem; }
.service-options button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 62px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--red);
  cursor: pointer;
  text-align: left;
  font: 600 clamp(1.35rem, 2.4vw, 1.8rem)/1.1 var(--serif);
}
@media (prefers-reduced-motion: no-preference) {
  .service-options button {
    transition: all 0.3s var(--ease-out);
  }
  .service-options button:hover {
    background: var(--cream);
    border-color: var(--red);
    transform: translateX(4px);
  }
}
.service-options button[aria-selected="true"] {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}
.service-options button[aria-selected="true"] .index { color: var(--gold); }
.service {
  min-width: 0;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-top: 3px solid #b58c55;
  background: var(--cream);
}
.index { color: #782c3c; font: italic 500 1.2rem var(--serif); }
.service h3 { margin-block: .35rem .65rem; font: 600 clamp(2.4rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -.035em; }
.steps h3 { margin-block: .55rem .4rem; font: 600 1.85rem/1.05 var(--serif); }
.service p { max-width: 36rem; color: var(--muted); }
.service-deliverable { margin-block: 1.2rem; padding-block: .85rem; border-block: 1px solid var(--line); font-size: .9rem; }
.service-deliverable strong { display: block; color: var(--red); }

.approach { background: var(--red); color: var(--paper); }
.approach .eyebrow, .approach .eyebrow span { color: var(--gold); }
.approach-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 6vw, 6rem); }
.approach-intro, .contact-grid > div > p:last-child { max-width: 25rem; margin-top: 1rem; }
.approach-intro, .steps p { color: #f1dfd5; }
.steps { margin: 0; padding: 0; border-top: 1px solid #985966; list-style: none; }
.steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid #985966; }
.steps li > span { align-self: start; margin-top: .65rem; color: var(--gold); font: italic 500 1.2rem var(--serif); }
.steps h3 { margin-top: 0; }

.lighting-break { margin-block: clamp(2.5rem, 6vw, 5rem) 0; }
.lighting-image { overflow: hidden; background: var(--ink-deep); }
.lighting-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ken-burns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
  }
  .lighting-image img { animation: ken-burns 12s linear forwards; }
}
.lighting-break .lighting-image { aspect-ratio: 2.6; }
.lighting-break img { object-position: 50% 42%; }
.lighting-break figcaption, .founder-photo figcaption {
  padding-block: .75rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
figcaption span { color: var(--red); }
.lighting-break + .examples { padding-top: clamp(2.75rem, 5vw, 4.5rem); }

.examples details { border-top: 1px solid var(--line); }
.examples details:last-child { border-bottom: 1px solid var(--line); }
.examples summary { display: grid; grid-template-columns: 2rem 1fr 1.25rem; align-items: center; gap: 1rem; padding: 1.1rem .25rem; cursor: pointer; font: 600 clamp(1.35rem, 2.5vw, 1.85rem)/1.1 var(--serif); list-style: none; }
.examples summary::-webkit-details-marker { display: none; }
.examples summary:hover { color: #782c3c; }
.detail-icon::before { content: "+"; }
details[open] .detail-icon::before { content: "−"; }
.examples details p { max-width: 50rem; padding: 0 1.25rem 1.25rem 3.25rem; color: var(--muted); }

.founder { border-top: 1px solid var(--line); }
.founder-grid { display: grid; align-items: center; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); }
.founder-role { margin-top: .65rem; color: var(--red); font: italic 500 clamp(1.45rem, 2.5vw, 1.85rem)/1.15 var(--serif); }
.founder-bio { max-width: 38rem; margin-top: 1.5rem; padding-left: clamp(1rem, 3vw, 2rem); border-left: 2px solid var(--gold); color: var(--muted); }
.founder-bio p + p { margin-top: .85rem; }
.founder-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; color: var(--red); font-size: .85rem; font-weight: 700; text-underline-offset: .25em; }
.founder-photo { margin: 0; }
.founder-photo .lighting-image { aspect-ratio: 0.8; }
.founder-photo img { object-position: center 18%; }

.contact { background: var(--cream); }
#inquiry { display: grid; align-content: start; gap: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .85rem; }
.contact label { display: grid; gap: .3rem; min-width: 0; font-size: .85rem; font-weight: 650; }
.contact input, .contact select, .contact textarea { width: 100%; min-height: 45px; padding: .55rem .65rem; border: 1px solid #ae9493; border-radius: 0; background: var(--paper); color: var(--ink); font-size: 1rem; font-weight: 400; }
.contact textarea { resize: vertical; }
@media (prefers-reduced-motion: no-preference) {
  .contact input, .contact select, .contact textarea {
    transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  }
  .contact input:focus, .contact select:focus, .contact textarea:focus {
    background-color: #fbf0d9;
    border-color: #b58c55;
  }
}
#inquiry button { justify-self: start; }
.form-status { color: var(--muted); font-size: .85rem; }
.form-status:empty { display: none; }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.pull-chain {
  display: grid;
  justify-items: center;
  min-width: min(100%, 15rem);
  padding: 0.55rem 1rem 0.85rem;
  border: 2px solid var(--line);
  border-radius: 0.25rem;
  background: var(--cream);
  color: var(--red);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  box-shadow: 0 2px 4px rgba(88, 23, 35, 0.05);
}
@media (prefers-reduced-motion: no-preference) {
  .pull-chain {
    transition: all 0.24s var(--ease-out);
  }
  .pull-chain:hover {
    border-color: var(--red-light);
    box-shadow: 0 4px 12px rgba(88, 23, 35, 0.15);
    transform: translateY(-2px);
  }
}
.pull-chain svg { overflow: visible; stroke-linecap: round; stroke-linejoin: round; }
.bulb-glass { fill: #e1cead; stroke: var(--red); stroke-width: 2; }
.bulb-base, .bulb-rays, .chain-cord { fill: none; stroke-width: 2; }
.bulb-base, .chain-cord { stroke: var(--red); }
.bulb-rays { opacity: 0; stroke: #995418; }
.chain-cord { transform-origin: 85px 69px; }
.chain-handle { fill: var(--red); }
[data-lit] .bulb-glass { fill: #ffd779; filter: drop-shadow(0 0 10px #e6a82b); }
[data-lit] .bulb-rays { opacity: 1; }
.bulb-halo { fill: #ffd779; opacity: 0; }
[data-lit] .bulb-halo { opacity: .35; }
.chain-confirmation { color: var(--red); }
.chain-confirmation strong { display: block; font: 600 clamp(1.65rem, 4vw, 2.35rem)/1.05 var(--serif); }
.chain-confirmation span { display: block; color: var(--muted); font-size: .78rem; }
.chain-confirmation:empty, .chain-confirmation strong:empty, .chain-confirmation span:empty { display: none; }
footer { background: var(--ink-deep); color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.25rem; padding-block: 1.65rem; font-size: .82rem; }
.footer-brand { font: 600 1.55rem var(--serif); text-decoration: none; }
.footer-inner a:last-child { text-underline-offset: .25em; }

@media (max-width: 650px) {
  .wrap { width: min(1120px, 100% - 2rem); }
  .masthead { min-height: 113px; }
  .nav-inner { flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .nav ul { flex: 0 0 100%; flex-direction: column; gap: 0; border-top: 1px solid #985966; padding-bottom: .25rem; }
  .nav-sticky ul { max-height: 65dvh; overflow: auto; }
  .nav ul a { min-height: 44px; }
  .hero { min-height: 490px; background-position: center, 37% center; }
  .hero-caption { right: 1rem; bottom: 1rem; font-size: .55rem; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 4.7rem); }
  .section-heading, .service-explorer:has(.service-options:not([hidden])), .approach-grid, .founder-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-options button { min-height: 48px; }
  .lighting-break .lighting-image { aspect-ratio: 1.4; }

  /* Reduce animation durations on mobile for performance */
  @media (prefers-reduced-motion: no-preference) {
    .hero-inner > * { animation-duration: 0.5s; }
    .hero-inner > :nth-child(2) { animation-delay: 50ms; }
    .hero-inner > :nth-child(3) { animation-delay: 100ms; }
    .hero-inner > :nth-child(4) { animation-delay: 150ms; }
    .reveal-ready [data-reveal] { transition-duration: 0.5s; }
    .reveal-ready [data-reveal] + [data-reveal] { transition-delay: 50ms; }
    .reveal-ready [data-reveal] + [data-reveal] + [data-reveal] { transition-delay: 100ms; }
  }
}
@media (max-width: 380px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Disable all animations when motion is reduced */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-snappy: cubic-bezier(0.22, 1, 0.36, 1);
  }
  /* Hero: photo stays still; type enters with sophisticated stagger and depth. */
  .hero-inner > * { animation: rise 0.6s var(--ease-out) both; }
  .hero-inner > :nth-child(2) { animation-delay: 80ms; }
  .hero-inner > :nth-child(3) { animation-delay: 160ms; }
  .hero-inner > :nth-child(4) { animation-delay: 240ms; }
  /* Sections reveal with sophisticated staggered animations. Only hidden when JS + IntersectionObserver are ready. */
  .reveal-ready [data-reveal]:not(.has-entered):not(:focus-within) {
    opacity: 0;
    transform: translateY(16px);
  }
  .reveal-ready [data-reveal] {
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  }
  .reveal-ready [data-reveal] + [data-reveal] { transition-delay: 80ms; }
  .reveal-ready [data-reveal] + [data-reveal] + [data-reveal] { transition-delay: 160ms; }
  /* Controls: refined feedback with smooth transitions and micro-interactions. */
  .button, .service-options button, .pull-chain, .nav a, .hero-next {
    transition: background-color 0.24s var(--ease-out), color 0.24s var(--ease-out),
                border-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out),
                transform 0.18s var(--ease-out);
  }
  .button:active, .service-options button:active, .pull-chain:active, .hero-next:active {
    transform: scale(0.97);
    transition-duration: 0.12s;
  }
  .service[role="tabpanel"]:not([hidden]) { animation: tab-transition 0.3s var(--ease-out); }

  @supports (animation-timeline: scroll()) {
    .scroll-progress {
      display: block;
      position: absolute;
      inset: auto 0 0;
      height: 2px;
      background: var(--gold);
      pointer-events: none;
      transform: scaleX(0);
      transform-origin: left;
      animation: reading-progress linear both;
      animation-timeline: scroll(root block);
    }
  }
}
/* Keyframe animations - enhanced for sophistication and delight */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tab-transition {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reading-progress {
  to { transform: scaleX(1); }
}

@keyframes pull-cord {
  0% { transform: scaleY(1); }
  35% { transform: scaleY(1.75); }
  65% { transform: scaleY(0.88); }
  85% { transform: scaleY(1.02); }
  100% { transform: scaleY(1); }
}

.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  color: currentColor;
}
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before {
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}
.arrow::after {
  top: 5px;
  left: 1px;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}
.arrow-up { transform: rotate(-45deg); }
.arrow-down { transform: rotate(135deg); }
.footer-inner .arrow { margin-left: .35rem; vertical-align: middle; }
.menu-icon { width: 13px; height: 9px; border-block: 1px solid; }

/* ==== Polish pass: additive only (no layout or markup changes). Everything animated is behind no-preference. ==== */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 55% at 50% 38%, rgb(230 201 154 / 14%), transparent 70%); }
.service { box-shadow: 0 1px 2px rgb(50 26 32 / 6%), 0 14px 34px rgb(50 26 32 / 8%); }
.founder-photo .lighting-image { box-shadow: 14px 14px 0 -2px var(--gold), 0 18px 40px rgb(50 26 32 / 18%); }
.footer-inner a { text-underline-offset: .25em; }
.footer-inner a:hover { color: var(--gold); }
.examples details[open] { background: linear-gradient(90deg, rgb(242 231 212 / 70%), transparent); }
.examples details[open] summary { color: var(--red); }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 em { background: linear-gradient(100deg, #f1d5aa 30%, #fff3d6 50%, #f1d5aa 70%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gold-sheen 5s ease-in-out 1.2s 2; }
  .hero-next { animation: nudge 2.4s var(--ease-out) 1.6s 3; }

  /* nav: gold underline grows from the centre */
  .nav ul a { position: relative; }
  .nav ul a::after { content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease-out); }
  .nav ul a:hover::after { transform: scaleX(1); }

  /* buttons: soft light sweep */
  .button { position: relative; overflow: hidden; }
  .button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 22%) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease-out); pointer-events: none; }
  .button:hover::after { transform: translateX(120%); }
  .button:hover { transform: translateY(-2px); }

  /* sections: heading gold rule draws in, steps and examples stagger */
  .section :is(h1, h2)::after { content: ""; display: block; width: 3.5rem; height: 3px; margin-top: 1rem; background: #b58c55; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .25s; }
  .section-heading.has-entered :is(h1, h2)::after, [data-reveal].has-entered :is(h1, h2)::after { transform: scaleX(1); }
  .steps.has-entered li { animation: rise .7s var(--ease-out) both; }
  .steps.has-entered li:nth-child(2) { animation-delay: .12s; }
  .steps.has-entered li:nth-child(3) { animation-delay: .24s; }
  .steps.has-entered li:nth-child(4) { animation-delay: .36s; }
  .steps.has-entered li:nth-child(n+5) { animation-delay: .48s; }
  .examples summary { transition: color .24s var(--ease-out), padding-left .3s var(--ease-out); }
  .examples summary:hover { padding-left: .75rem; }
  .detail-icon { transition: transform .35s var(--ease-spring); }
  details[open] .detail-icon { transform: rotate(180deg); }
  details[open] > p { animation: rise .45s var(--ease-out) both; }
  .service { transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
  .service:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(50 26 32 / 8%), 0 22px 46px rgb(50 26 32 / 14%); }
  .founder-photo .lighting-image { transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
  .founder-photo:hover .lighting-image { transform: translate(-3px, -3px); box-shadow: 18px 18px 0 -2px var(--gold), 0 22px 46px rgb(50 26 32 / 22%); }
  .lighting-image img { transition: transform 1.2s var(--ease-out); }
}
@keyframes gold-sheen { 0%, 55% { background-position: 100% 0; } 100% { background-position: -120% 0; } }
@keyframes nudge { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(6px); } 90% { transform: translateY(1px); } }

/* ==== Scroll-driven motion: the page moves as you scroll. Progressive enhancement: only where the browser
   supports it (Chrome, Edge, Safari 26+) and never for reduced-motion. Other browsers keep the static page. ==== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* hero type drifts up and fades as you leave it; the arrow disappears first */
    .hero-inner { animation: hero-out linear both; animation-timeline: scroll(root block); animation-range: 0 60svh; }
    .hero-next { animation: fade-away linear both; animation-timeline: scroll(root block); animation-range: 0 18svh; }

    /* photos glide inside their frames (parallax) */
    .lighting-image img { animation: parallax linear both; animation-timeline: view(); animation-range: cover; transform-origin: center; }
    .founder-photo .lighting-image { animation: float-up linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }

    /* section titles slide across, steps and examples sweep in from alternating sides */
    .section :is(h1, h2) { animation: slide-in-left linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
    .steps li, .steps.has-entered li, .steps.has-entered li:nth-child(n) { animation-delay: 0s; }
    .steps li, .steps.has-entered li { animation: slide-in-left linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .steps li:nth-child(even), .steps.has-entered li:nth-child(even) { animation-name: slide-in-right; }
    .examples details { animation: slide-in-left linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    .examples details:nth-of-type(even) { animation-name: slide-in-right; }
    .service-explorer { animation: scale-up linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .contact-grid > * { animation: scale-up linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }

    /* gold reading line under the nav fills as you scroll (already present); make it thicker */
    .scroll-progress { height: 3px; }
  }
}
@keyframes hero-out { to { opacity: 0; transform: translateY(-60px) scale(.97); } }
@keyframes fade-away { to { opacity: 0; } }
@keyframes parallax { from { transform: translateY(-7%) scale(1.14); } to { transform: translateY(7%) scale(1.14); } }
@keyframes float-up { from { transform: translateY(50px); } to { transform: none; } }
@keyframes slide-in-left { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-right { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes scale-up { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---- smoothness: keep scroll-driven layers on the GPU, and don't animate what a scroll doesn't need ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-inner, .lighting-image img, .founder-photo .lighting-image, .steps li, .examples details, .service-explorer, .contact-grid > * { will-change: transform, opacity; backface-visibility: hidden; }
    .lighting-image img { animation-name: parallax-soft; }
    .lighting-image { contain: paint; }
    /* titles: fade and move a shorter distance, over a shorter range */
    .section :is(h1, h2) { animation-name: slide-in-soft; animation-range: entry 5% entry 70%; }
    .steps li, .examples details { animation-range: entry 0% entry 70%; }
    .service-explorer, .contact-grid > * { animation-range: entry 0% entry 60%; }
  }
}
@keyframes parallax-soft { from { transform: translate3d(0, -4%, 0) scale(1.1); } to { transform: translate3d(0, 4%, 0) scale(1.1); } }
@keyframes slide-in-soft { from { opacity: 0; transform: translate3d(-32px, 0, 0); } to { opacity: 1; transform: none; } }

/* ==== Pull chain: still when idle, teases on hover, held down while sending, then a punchy light-up ==== */
.bulb-ring { fill: none; stroke: #ffd779; stroke-width: 2.5; opacity: 0; }
.spark { fill: #ffd779; opacity: 0; transform-box: fill-box; transform-origin: center; }
.bulb-halo, .bulb-ring, .bulb-rays { transform-origin: 45px 38px; }
.bulb-glass { transform-box: fill-box; transform-origin: center; }
.chain-tug { transform-origin: 85px 69px; }
.chain-handle { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .chain-handle { transition: transform .3s var(--ease-spring); }
  .pull-chain .bulb-glass, .pull-chain .bulb-halo { transition: fill .35s var(--ease-out), opacity .35s var(--ease-out); }
  .inquiry-actions:not([data-lit]) .pull-chain:hover:not([disabled]) .chain-tug { animation: chain-tease 1.1s ease-in-out infinite; }
  .inquiry-actions:not([data-lit]) .pull-chain:hover:not([disabled]) .chain-handle { transform: scale(1.25); }
  .inquiry-actions:not([data-lit]) .pull-chain:hover:not([disabled]) .bulb-glass { fill: #f3dfae; }
  .inquiry-actions:not([data-lit]) .pull-chain:hover:not([disabled]) .bulb-halo { opacity: .14; }
  .inquiry-actions:not([data-lit]) .pull-chain:active:not([disabled]) .chain-tug { animation: none; transform: translateY(9px); transition: transform .12s ease-out; }
  /* sending: the chain is held down and still; only the bulb breathes */
  .pull-chain[aria-busy="true"] .chain-tug { animation: none; transform: translateY(12px); transition: transform .15s ease-out; }
  .pull-chain[aria-busy="true"] .bulb-glass { animation: bulb-wait .7s ease-in-out infinite alternate; }

  /* success: yank, snap on with a pop, flash ring, sparks, message */
  [data-lit] .chain-tug { animation: tug-swing 1.8s var(--ease-out) both; }
  [data-lit] .chain-cord { animation: pull-cord .5s var(--ease-spring); }
  [data-lit] .bulb-glass { animation: bulb-flicker .6s steps(1, end) both, bulb-pop .8s .15s var(--ease-spring) both; }
  [data-lit] .bulb-rays { animation: rays-pop .7s .15s var(--ease-spring) both; }
  [data-lit] .bulb-halo { animation: halo-bloom .9s .15s var(--ease-out) both; }
  [data-lit] .bulb-ring { animation: ring-out .9s .15s var(--ease-out) both; }
  [data-lit] .spark { animation: twinkle 1s var(--ease-out) both; }
  [data-lit] g:nth-of-type(1) .spark { animation-delay: .25s; }
  [data-lit] g:nth-of-type(2) .spark { animation-delay: .32s; }
  [data-lit] g:nth-of-type(3) .spark { animation-delay: .39s; }
  [data-lit] g:nth-of-type(4) .spark { animation-delay: .46s; }
  [data-lit] g:nth-of-type(5) .spark { animation-delay: .53s; }
  [data-lit] .chain-confirmation { animation: confirm-rise .6s .3s var(--ease-out) both; }
}
@keyframes chain-tease { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(2px); } }
@keyframes tug-swing {
  0% { transform: translateY(12px) rotate(0); }
  12% { transform: translateY(20px) rotate(0); }
  28% { transform: translateY(-5px) rotate(9deg); }
  44% { transform: translateY(1px) rotate(-6deg); }
  62% { transform: translateY(0) rotate(3deg); }
  100% { transform: none; }
}
@keyframes bulb-flicker {
  0% { fill: #e1cead; filter: none; }
  10% { fill: #fff3c4; filter: drop-shadow(0 0 16px #ffc04d); }
  22% { fill: #eed9a0; filter: drop-shadow(0 0 3px #e6a82b); }
  34% { fill: #fff0b8; filter: drop-shadow(0 0 18px #ffc04d); }
  100% { fill: #ffd779; filter: drop-shadow(0 0 14px #e6a82b); }
}
@keyframes bulb-pop { 0% { transform: scale(1); } 35% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes rays-pop { 0% { opacity: 0; transform: scale(.55); } 40% { opacity: 1; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bulb-wait { from { opacity: .7; } to { opacity: 1; } }
@keyframes halo-bloom { 0% { opacity: 0; transform: scale(.5); } 35% { opacity: .8; transform: scale(1.7); } 100% { opacity: .35; transform: scale(1); } }
@keyframes ring-out { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3); } }
@keyframes twinkle { 0% { opacity: 0; transform: scale(0) rotate(0); } 30% { opacity: 1; transform: scale(1.6) rotate(45deg); } 100% { opacity: 0; transform: scale(.4) rotate(90deg); } }
@keyframes confirm-rise { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 60% { opacity: 1; transform: translateY(-2px) scale(1.03); } 100% { opacity: 1; transform: none; } }
