/* My Home Lights
   A white site with charcoal type. The charcoal is the logo's own background colour, and it is also
   used for the few dark panels (the photo stage, the "try it" panel, the footer), where the lights
   are shown the way they are seen: glowing on a dark surface.
   Blue is for links and small accents. Warm white (the colour of the lights) appears only on charcoal.
   Order of this file: tokens, base, buttons, header, home page, gallery, inner pages,
   contact, how it works, chat, footer. */

:root {
  --bar-h: 0px;              /* the "Try it on your home" bar above the menu; 0 on the Try it page */
  --paper: #ffffff;
  --mist: #f3f5f8;
  --charcoal: #272a2f;       /* the footer logo is drawn on exactly this colour */
  --charcoal-2: #353940;
  --text: #40454d;
  --muted: #5f6670;
  --line: #e1e5eb;
  --line-strong: #9aa3af;
  --blue: #2460c4;
  --blue-dark: #1b4c9e;
  --blue-soft: #e7effb;
  --warm: #ffd08a;           /* warm white light */
  --on-dark: #d9dce0;
  --on-dark-muted: #a9afb7;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 80px;
  --r-panel: 28px;
  --r: 16px;
  --r-small: 10px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(104px + var(--bar-h)); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--charcoal);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
p { text-wrap: pretty; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--warm); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--charcoal); color: var(--paper); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.section { padding-top: 120px; padding-bottom: 120px; }
.section--mist { background: var(--mist); }
.section--tight { padding-top: 0; }          /* follows another white section */

.section-head { display: grid; gap: 16px; justify-items: start; max-width: 720px; margin-bottom: 56px; }
.section-head p { max-width: 560px; font-size: 1.1875rem; color: var(--muted); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; max-width: none; }
.section-head--row > div { display: grid; gap: 16px; max-width: 720px; }

/* Heading on the left, content on the right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; align-items: start; }
.split > .section-head { margin-bottom: 0; }

@media (max-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section--tight { padding-top: 0; }
  .section-head { margin-bottom: 36px; }
}

/* Line icons */
.ico { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Ticked lists */
.tick-list { display: grid; gap: 10px; align-content: start; list-style: none; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; }
.tick { flex: none; width: 22px; height: 22px; margin-top: 0.16em; padding: 4px; border-radius: 50%; background: var(--blue-soft); fill: none; stroke: var(--blue); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.on-dark .tick { background: var(--warm); stroke: var(--charcoal); }

/* A row of small lights. Each light takes its colour from --c. */
.lights { display: flex; justify-content: center; gap: 14px; }
.lights i { flex: none; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--warm)); box-shadow: 0 0 12px 1px var(--c, var(--warm)); }
.lights i.off { background: #4d525b; box-shadow: none; }

/* A straight line of lights, like the real thing along a roofline. Always on a dark surface.
   The dim lights are always there; a brighter copy on top is revealed by a soft band that moves along the line.
   - Under each photo header: warm white, with a glow that chases left to right.
   - Along the top of the footer (.light-line--colour): five colours, with a wave of brightness moving through. */
.light-line {
  --dots: radial-gradient(circle at center, var(--warm) 0, var(--warm) 2.6px, rgba(255, 208, 138, 0) 3.2px);
  --tile: 30px;
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 22px; pointer-events: none;
}
.light-line::before, .light-line::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots); background-size: var(--tile) 100%; background-repeat: round no-repeat; background-position: center;
}
.light-line::before { opacity: 0.4; }
.light-line::after {
  filter: brightness(1.2) drop-shadow(0 0 5px var(--warm)) drop-shadow(0 0 10px rgba(255, 208, 138, 0.7));
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 58%, #000 68%, rgba(0, 0, 0, 0) 80%) 0 0 / 760px 100% repeat-x;
          mask: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 58%, #000 68%, rgba(0, 0, 0, 0) 80%) 0 0 / 760px 100% repeat-x;
  animation: light-chase 7s linear infinite;
}
.light-line.is-paused::after { animation-play-state: paused; }
@keyframes light-chase {
  from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to { -webkit-mask-position: 760px 0; mask-position: 760px 0; }
}

/* Five colours in each 150px stretch: red, amber, green, blue, purple. Each light carries its own soft halo. */
.light-line--colour {
  --dots:
    radial-gradient(circle at 10% 50%, rgb(255,75,75) 0, rgb(255,75,75) 2.6px, rgba(255,75,75, 0.42) 3.6px, rgba(255,75,75, 0) 10px),
    radial-gradient(circle at 30% 50%, rgb(255,196,64) 0, rgb(255,196,64) 2.6px, rgba(255,196,64, 0.42) 3.6px, rgba(255,196,64, 0) 10px),
    radial-gradient(circle at 50% 50%, rgb(57,211,83) 0, rgb(57,211,83) 2.6px, rgba(57,211,83, 0.42) 3.6px, rgba(57,211,83, 0) 10px),
    radial-gradient(circle at 70% 50%, rgb(58,160,255) 0, rgb(58,160,255) 2.6px, rgba(58,160,255, 0.42) 3.6px, rgba(58,160,255, 0) 10px),
    radial-gradient(circle at 90% 50%, rgb(176,96,255) 0, rgb(176,96,255) 2.6px, rgba(176,96,255, 0.42) 3.6px, rgba(176,96,255, 0) 10px);
  --tile: 150px;
  height: 26px;
}
.light-line--colour::before { opacity: 0.38; }
.light-line--colour::after {
  filter: brightness(1.25) saturate(1.15);
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 50%, rgba(0, 0, 0, 0) 100%) 0 0 / 520px 100% repeat-x;
          mask: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 50%, rgba(0, 0, 0, 0) 100%) 0 0 / 520px 100% repeat-x;
  animation: light-wave 5.5s linear infinite;
}
@keyframes light-wave {
  from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to { -webkit-mask-position: 520px 0; mask-position: 520px 0; }
}
.site-footer { position: relative; }
.site-footer > .light-line { top: 0; bottom: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn--solid { background: var(--charcoal); color: var(--paper); }
.btn--solid:hover { background: var(--blue); color: var(--paper); }
.btn--outline { border-color: var(--charcoal); background: transparent; color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--paper); }
/* On charcoal the main button is lit */
.btn--lit { background: var(--warm); color: var(--charcoal); box-shadow: 0 0 36px rgba(255, 208, 138, 0.38); }
.btn--lit:hover { background: var(--paper); color: var(--charcoal); box-shadow: 0 0 44px rgba(255, 255, 255, 0.4); }
.btn--ghost-dark { border-color: rgba(255, 255, 255, 0.38); color: var(--paper); }
.btn--ghost-dark:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.1); color: var(--paper); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
label.btn { cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- "Try it on your home" bar ----------
   A thin bar above the menu on every page except Try it itself. It stays at the top of the screen while the page
   scrolls (the menu slides away under it on the way down). */
.has-bar { --bar-h: 40px; }
.has-bar body { padding-top: var(--bar-h); }
.tryit-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 55;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bar-h); padding: 0 16px; overflow: hidden;
  background: #1c1e22; color: var(--paper); font-size: 0.9375rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.tryit-bar:hover { color: var(--paper); }
.tryit-bar strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--warm); }
.tryit-bar strong svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tryit-bar:hover strong svg { transform: translateX(3px); }
.tryit-bar:hover strong > span { text-decoration: underline; text-underline-offset: 3px; }
.tryit-bar:focus-visible { outline: 3px solid var(--warm); outline-offset: -3px; }
.tryit-bar__dots { display: inline-flex; gap: 5px; }
.tryit-bar__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 8px 1px var(--warm); }
.tryit-bar__dots i:nth-child(2) { background: #ff5fa2; box-shadow: 0 0 8px 1px #ff5fa2; }
.tryit-bar__dots i:nth-child(3) { background: #3d9bff; box-shadow: 0 0 8px 1px #3d9bff; }
.tryit-bar__short { display: none; }
@media (max-width: 640px) { .tryit-bar__long { display: none; } .tryit-bar__short { display: inline; } }
@media (prefers-reduced-motion: no-preference) {
  .tryit-bar__dots i { animation: bar-twinkle 2.4s ease-in-out infinite; }
  .tryit-bar__dots i:nth-child(2) { animation-delay: 0.8s; }
  .tryit-bar__dots i:nth-child(3) { animation-delay: 1.6s; }
  .tryit-bar { view-transition-name: tryit-bar; }
}
@keyframes bar-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: var(--bar-h); z-index: 50;
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.25s, background-color 0.25s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-header.is-tucked { transform: translateY(calc(-100% - var(--bar-h) - 24px)); }   /* slides away while reading down the page, back on the way up */
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { display: block; height: 50px; width: auto; }
.brand .logo-on-photo { display: none; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) { position: relative; padding: 10px 12px; font-size: 0.9875rem; font-weight: 500; color: var(--charcoal); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--blue); }
.site-nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {   /* laptops: the full menu still fits on one line */
  .site-header .wrap { gap: 14px; }
  .brand img { height: 44px; }
  .site-nav a:not(.btn) { padding: 10px 8px; font-size: 0.9375rem; }
}
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.header-cta[aria-current="page"], .nav-cta[aria-current="page"] { background: var(--blue); }   /* on the contact page the open page is the quote button itself */   /* the open page: blue on the white header, warm yellow over a photo */
.nav-home, .nav-cta { display: none; }

.nav-toggle, .header-call {
  display: none; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; padding: 0;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--paper); color: var(--charcoal); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.header-call .ico { width: 20px; height: 20px; stroke-width: 1.9; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header .wrap { gap: 10px; }
  .brand img { height: 42px; }
  .nav-toggle, .header-call { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 28px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 28px 40px rgba(24, 28, 36, 0.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
  .site-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
  .nav-home { display: block; }
  .nav-cta { display: inline-flex; margin-top: 22px; }
}
@media (max-width: 600px) { .header-cta { display: none; } }
@media (max-width: 350px) { .brand img { height: 32px; } }

/* Pages that open with a photo: the header sits over the photo, clear, with white lettering.
   Once the page scrolls, or the phone menu opens, it turns into the normal white header.
   Without JavaScript it stays at the top of the page and scrolls away with the photo. */
.site-header--over { position: absolute; left: 0; right: 0; }
.site-header--over.is-fixed { position: fixed; top: var(--bar-h); }
.site-header--over:not(.is-stuck):not(.menu-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header--over:not(.is-stuck):not(.menu-open) .brand .logo-on-white { display: none; }
.site-header--over:not(.is-stuck):not(.menu-open) .brand .logo-on-photo { display: block; filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.45)); }
.site-header--over:not(.is-stuck):not(.menu-open) .site-nav a:not(.btn) { color: var(--paper); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.site-header--over:not(.is-stuck):not(.menu-open) .site-nav a:not(.btn):hover { color: var(--warm); }
.site-header--over:not(.is-stuck):not(.menu-open) .site-nav a[aria-current="page"] { color: var(--warm); }
.site-header--over:not(.is-stuck):not(.menu-open) .header-cta { background: var(--paper); color: var(--charcoal); }
.site-header--over:not(.is-stuck):not(.menu-open) .header-cta:hover { background: var(--warm); color: var(--charcoal); }
.site-header--over:not(.is-stuck):not(.menu-open) .header-cta[aria-current="page"] { background: var(--warm); color: var(--charcoal); }
.site-header--over:not(.is-stuck):not(.menu-open) .nav-toggle,
.site-header--over:not(.is-stuck):not(.menu-open) .header-call { border-color: rgba(255, 255, 255, 0.55); background: rgba(34, 37, 42, 0.35); color: var(--paper); }
.site-header--over:not(.is-stuck):not(.menu-open) :focus-visible { outline-color: var(--warm); }

/* ---------- Home: hero ---------- */
/* A photo across the whole width. On wider screens the words sit on the left, over a dark fade, so the lit house shows
   clearly on the right. On phones the photo comes first, whole, and the words follow below it on charcoal.
   The buttons under "See it lit for" change the photo. */
.hero { position: relative; display: flex; flex-direction: column; min-height: calc(min(92vh, 900px) - var(--bar-h)); overflow: hidden; background: var(--charcoal); color: var(--on-dark); text-align: center; }
.hero > .wrap { width: 100%; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(18, 20, 24, 0.8) 0, rgba(18, 20, 24, 0.35) calc(var(--header-h) + 40px), rgba(18, 20, 24, 0) calc(var(--header-h) + 140px)),   /* behind the menu */
    linear-gradient(90deg, rgba(16, 18, 22, 0.9) 0, rgba(16, 18, 22, 0.8) 34%, rgba(16, 18, 22, 0.42) 54%, rgba(16, 18, 22, 0) 72%),              /* behind the words, on the left */
    linear-gradient(rgba(16, 18, 22, 0) 62%, rgba(16, 18, 22, 0.8) 100%);                                                                         /* under the facts */
}
.stage-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.stage-photo.is-on { opacity: 1; animation: hero-drift 9s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero-inner { position: relative; flex: 1; display: grid; gap: 24px; align-content: center; justify-items: center; width: 100%; padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 13px; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 999px; background: rgba(34, 37, 42, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; color: var(--paper); }
.hero-badge .ico { flex: none; width: 18px; height: 18px; stroke-width: 2; color: var(--warm); }
.hero h1 { max-width: 13em; color: var(--paper); text-shadow: 0 0 1px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.65), 0 0 26px rgba(0, 0, 0, 0.55), 0 0 50px rgba(0, 0, 0, 0.45); }   /* a tight halo around each letter keeps it readable without darkening the photo */
.hero-lede { max-width: 34em; font-size: 1.25rem; font-weight: 500; line-height: 1.5; color: var(--paper); text-shadow: 0 0 1px #000, 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 7px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.8), 0 0 34px rgba(0, 0, 0, 0.6); }
.hero-lede__short { display: none; }
@media (max-width: 640px) { .hero-lede__long { display: none; } .hero-lede__short { display: inline; } }   /* phones: a short line, so the photo is not covered by text */
.hero .btn-row { justify-content: center; }

.stage-bar { display: grid; gap: 12px; justify-items: center; max-width: 100%; margin-top: 20px; font-size: 0.9375rem; font-weight: 600; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.looks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; }
.look {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  background: rgba(34, 37, 42, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--paper); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.look:hover { border-color: var(--paper); }
.look[aria-pressed="true"] { border-color: var(--paper); background: var(--paper); color: var(--charcoal); }
.look i { display: inline-flex; }
.look i b { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(39, 42, 47, 0.35); }
.look i b + b { margin-left: -4px; }
.look:focus-visible { border-radius: 999px; }
/* phones and tablets held upright: the photo first, the whole house in view, then the words on charcoal */
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-bg { position: relative; inset: auto; flex: none; height: calc(var(--header-h) + 64vw); max-height: 640px; overflow: hidden; translate: none !important; animation: none !important; }   /* the photo stays inside its own box, so no strip of it shows under the fade */
  .hero-bg::after { background: linear-gradient(rgba(18, 20, 24, 0.8) 0, rgba(18, 20, 24, 0.3) calc(var(--header-h) + 30px), rgba(18, 20, 24, 0) calc(var(--header-h) + 90px)), linear-gradient(rgba(39, 42, 47, 0) 72%, var(--charcoal) 100%); }
  .hero-inner { gap: 18px; padding-top: 18px; padding-bottom: 36px; }
  .stage-bar { order: -1; margin-top: 0; }                                   /* the look buttons sit right under the photo they change */
}
/* wider screens: the words on the left, so the lit house shows on the right */
@media (min-width: 901px) {
  .hero { text-align: left; }
  .hero-inner { justify-items: start; }
  .hero h1 { max-width: 9.5em; }
  .hero-lede { max-width: 28em; }
  .hero .btn-row { justify-content: flex-start; }
  .stage-bar { justify-items: start; }
  .looks { justify-content: flex-start; }
}

/* Four facts along the bottom of the photo */
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.2); margin-bottom: 24px; }   /* room for the line of lights under it */
.hero-facts li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 12px 22px; font-weight: 600; line-height: 1.3; color: var(--paper); text-align: left; }
.hero-facts li + li { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.hero-facts .ico { flex: none; width: 26px; height: 26px; color: var(--warm); }

@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-lede { font-size: 1.125rem; }
  .hero-badge { font-size: 0.875rem; text-align: left; }
  /* the look buttons become a row that scrolls sideways */
  .stage-bar { width: 100%; }
  .looks { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: calc(100% + var(--gutter) * 2); max-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .looks::-webkit-scrollbar { display: none; }
  .look { flex: none; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li { justify-content: flex-start; padding: 16px 8px 18px 0; font-size: 0.9375rem; }
  .hero-facts li + li { border-left: 0; }
  .hero-facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
  .hero-facts li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .hero-facts .ico { width: 22px; height: 22px; }
}

/* ---------- Home: sections ---------- */
/* Why go permanent: each reason is drawn with the lights themselves, on a strip of night */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; }
.benefits li { display: grid; gap: 10px; align-content: start; }
.benefits p { color: var(--muted); }
.night { display: grid; place-content: center; gap: 20px; height: 196px; margin-bottom: 14px; padding: 0 16px; overflow: hidden; border-radius: var(--r); background: var(--charcoal); }
.lights--labelled { gap: 14px; }
.lights--labelled { padding-bottom: 24px; }
.lights--labelled span { position: relative; flex: none; width: 10px; font-size: 0.75rem; font-weight: 600; line-height: 1; text-align: center; color: var(--on-dark-muted); }
.lights--labelled span i { margin-bottom: 12px; }
.lights--labelled small { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: 0.75rem; white-space: nowrap; }
@media (max-width: 920px) {
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .night { height: 168px; }
}
@media (max-width: 380px) { .lights, .lights--labelled { gap: 10px; } }

/* What we do: the main job is the photo, the other three are rows beside it */
.services-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; }
.service-lead { position: relative; display: flex; align-items: flex-end; min-height: 460px; overflow: hidden; border-radius: var(--r-panel); background: var(--charcoal); color: var(--paper); text-decoration: none; }
.service-lead:hover { color: var(--paper); }
.service-lead img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-lead:hover img { transform: scale(1.03); }
.service-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(24, 26, 30, 0) 34%, rgba(24, 26, 30, 0.88) 90%); }
.service-lead-body { position: relative; z-index: 1; display: grid; gap: 8px; padding: 36px; }
.service-lead-note { font-size: 0.9375rem; font-weight: 600; color: var(--warm); }
.service-lead h3 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--paper); }
.service-lead p { max-width: 28em; font-size: 1.125rem; color: #e6e8eb; }
.go { flex: none; width: 46px; height: 46px; padding: 13px; border: 1.5px solid var(--line); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--charcoal); transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
a:hover > .go { transform: translateX(4px); }
.service-row:hover .go { border-color: var(--charcoal); background: var(--charcoal); color: var(--paper); }
.service-lead .go { position: absolute; top: 24px; right: 24px; z-index: 1; border-color: var(--paper); background: var(--paper); }
.service-lead:hover .go { border-color: var(--warm); background: var(--warm); }
.service-rows { display: grid; grid-auto-rows: 1fr; }
.service-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row h3 { margin-bottom: 4px; font-size: 1.5rem; letter-spacing: -0.02em; transition: color 0.18s; }
.service-row p { color: var(--muted); }
.service-row:hover { color: var(--text); }
.service-row:hover h3 { color: var(--blue); }
.service-row:hover .go { border-color: var(--charcoal); background: var(--charcoal); color: var(--paper); }
@media (max-width: 920px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .service-lead { min-height: 0; aspect-ratio: 4 / 3; border-radius: 20px; }
  .service-lead-body { padding: 24px; }
  .service-lead h3 { font-size: 1.875rem; }
  .service-rows { grid-auto-rows: auto; }
}
@media (max-width: 520px) { .service-lead { aspect-ratio: 5 / 6; } }

/* Numbered steps. Used only where the order matters. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 24px; background: linear-gradient(var(--charcoal), var(--charcoal)) left top / 100% 2px no-repeat; counter-increment: step; }   /* the top line is a background so it can draw in */
.steps li::before { content: counter(step); margin-bottom: 14px; font-family: var(--font-head); font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--blue); }
.steps h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.steps p { max-width: 30em; color: var(--muted); }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 3rem; }
}

/* Reviews: one set large, the rest as a plain list */
.review { display: grid; gap: 14px; align-content: start; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 0.9375rem; color: var(--muted); }
.review figcaption strong { font-weight: 600; color: var(--charcoal); }
.review figcaption span { padding-left: 12px; border-left: 1px solid var(--line-strong); line-height: 1.2; }
.stars { display: flex; gap: 2px; color: #c2850c; }
.stars svg { width: 17px; height: 17px; fill: currentColor; }
.review--lead { gap: 22px; max-width: 1000px; margin-bottom: 72px; }
.review--lead blockquote { font-family: var(--font-head); font-size: clamp(1.625rem, 3.3vw, 2.625rem); font-weight: 600; line-height: 1.14; letter-spacing: -0.028em; color: var(--charcoal); }
.review--lead .stars svg { width: 20px; height: 20px; }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; }
.review-list .review { padding: 30px 0; border-top: 1px solid #d3d9e1; }
/* Long reviews are shortened, with a button to read the rest (added by js/main.js) */
.review.is-clamped blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.review-more { justify-self: start; min-height: 32px; margin-top: -6px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 820px) {
  .review--lead { margin-bottom: 44px; }
  .review-list { grid-template-columns: minmax(0, 1fr); }
  .review-list .review { padding: 24px 0; }
}

/* Parts: one list, a row for each part */
.part-list { list-style: none; }
.part-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.part-list li:last-child { border-bottom: 1px solid var(--line); }
.part-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--blue); }
.part-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.part-main h3 { font-size: 1.1875rem; }
.part-main p { font-size: 1rem; line-height: 1.45; color: var(--muted); }
.part-side { display: grid; justify-items: end; font-weight: 600; }
.price { font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.part-list .price.is-unpriced { display: none; }   /* the link beside it already says to ask */
@media (max-width: 620px) {
  .part-list li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .part-icon { width: 44px; height: 44px; align-self: start; }
  .part-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; min-height: 40px; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.shot {
  position: relative; display: block; grid-column: span 6; aspect-ratio: 16 / 10;
  padding: 0; border: 0; border-radius: var(--r); overflow: hidden;
  background: var(--charcoal); color: var(--paper); font: inherit; text-align: left;
  cursor: zoom-in; -webkit-tap-highlight-color: transparent;
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.shot:hover img { transform: scale(1.03); }
.shot:focus-visible { outline-offset: 3px; }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px;
  padding: 56px 22px 20px;
  background: linear-gradient(rgba(24, 26, 30, 0), rgba(24, 26, 30, 0.88));
}
.shot__cap b { font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; line-height: 1.2; letter-spacing: -0.015em; }
.shot__cap span { font-size: 0.9375rem; line-height: 1.35; color: var(--on-dark); }
.gallery__hint { display: none; margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }

@media (min-width: 761px) {
  /* Home page: one large photo with two beside it */
  .gallery--strip { grid-template-rows: repeat(2, 250px); }
  .gallery--strip .shot { grid-column: span 5; aspect-ratio: auto; }
  .gallery--strip .shot:first-child { grid-column: span 7; grid-row: span 2; }
  /* Gallery page: rows alternate wide and narrow */
  .gallery--page { grid-auto-rows: 380px; }
  .gallery--page .shot { aspect-ratio: auto; grid-column: span 5; }
  .gallery--page .shot:nth-child(4n + 1), .gallery--page .shot:nth-child(4n) { grid-column: span 7; }
}
@media (max-width: 760px) {
  .shot { grid-column: span 12; aspect-ratio: 4 / 3; }
  /* The home page strip becomes a swipeable row */
  .gallery--strip {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .gallery--strip::-webkit-scrollbar { display: none; }
  .gallery--strip .shot { flex: 0 0 86%; scroll-snap-align: start; }
  .gallery__hint { display: block; }
}

.lightbox { width: min(1180px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible; }
.lightbox::backdrop { background: rgba(24, 26, 30, 0.95); }
.lightbox figure { display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 76vh; width: auto; height: auto; border-radius: 10px; }
.lightbox figcaption { font-weight: 600; text-align: center; }
.lightbox figcaption span { display: block; font-weight: 400; font-size: 0.95rem; color: var(--on-dark-muted); }
.lightbox__bar { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.lightbox__btn {
  display: grid; place-items: center; width: 50px; height: 50px;
  border: 1px solid #555b64; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--paper); cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--warm); color: var(--warm); }
.lightbox__btn:focus-visible { outline-color: var(--warm); border-radius: 50%; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Inner pages ---------- */
/* Page header: a photo across the full width, behind the menu, with the heading centred over it.
   Shorter than the home page's. "Compact" is shorter still, for pages where the content should come up quickly. */
.page-hero { position: relative; display: flex; align-items: center; min-height: min(62vh, 560px); overflow: hidden; background: var(--charcoal); color: var(--on-dark); text-align: center; }
.page-hero--compact { min-height: min(50vh, 440px); }
.page-hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(18, 20, 24, 0.86) 0, rgba(18, 20, 24, 0.5) calc(var(--header-h) + 30px), rgba(18, 20, 24, 0) calc(var(--header-h) + 150px)),   /* behind the menu */
    radial-gradient(ellipse 60% 55% at 50% 55%, rgba(14, 16, 20, 0.45), rgba(14, 16, 20, 0) 80%),
    linear-gradient(rgba(22, 24, 28, 0.56), rgba(22, 24, 28, 0.7));
}
.page-hero-text { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: center; width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px; }
.page-hero h1 { max-width: 14em; font-size: clamp(2.375rem, 5.4vw, 4.25rem); color: var(--paper); text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 4px 40px rgba(0, 0, 0, 0.5); }
.page-hero p { max-width: 34em; font-size: 1.25rem; font-weight: 500; line-height: 1.5; color: var(--paper); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 2px 18px rgba(0, 0, 0, 0.55); }
.page-hero--compact + .section { padding-top: 72px; }
@media (max-width: 760px) {
  .page-hero { min-height: 340px; }
  .page-hero--compact { min-height: 290px; }
  .page-hero-text { gap: 16px; padding-top: calc(var(--header-h) + 36px); padding-bottom: 48px; }
  .page-hero p { font-size: 1.125rem; }
  .page-hero--compact + .section { padding-top: 48px; }
}

/* A photo beside a block of text */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.feature-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-panel); }
.feature-copy { display: grid; gap: 20px; justify-items: start; }
.feature-copy > p { font-size: 1.1875rem; }
.feature-copy .feature-note { margin-bottom: -8px; font-size: 1rem; font-weight: 600; color: var(--blue); }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature-photo { border-radius: 20px; } }

/* Three columns under a rule */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 96px; }
.section-head + .columns { margin-top: 0; }
.column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 28px; background: linear-gradient(var(--charcoal), var(--charcoal)) left top / 100% 2px no-repeat; }
.column > .ico { width: 34px; height: 34px; margin-bottom: 6px; color: var(--blue); }
.column h2, .column h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.column > p { color: var(--muted); }
.column .tick-list { flex-grow: 1; margin: 6px 0; }
.column > a { font-weight: 600; }
@media (max-width: 920px) { .columns { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 64px; } }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.parts { width: 100%; min-width: 660px; border-collapse: collapse; text-align: left; }
.parts th, .parts td { padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.parts tbody tr:last-child th, .parts tbody tr:last-child td { border-bottom: 0; }
.parts thead th { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.parts tbody th { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--charcoal); white-space: nowrap; }
.part-ico { width: 40px; height: 40px; padding: 9px; margin-right: 14px; vertical-align: middle; border-radius: 50%; background: var(--mist); fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.parts td { color: var(--muted); }
.parts td:last-child { white-space: nowrap; font-weight: 600; }
.text-link { font-weight: 600; }

/* On phones each part becomes its own block, so nothing scrolls sideways */
@media (max-width: 720px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .parts { min-width: 0; }
  .parts, .parts tbody, .parts tr, .parts th, .parts td { display: block; }
  .parts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .parts tbody { display: grid; gap: 12px; }
  .parts tr { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
  .parts th, .parts td, .parts tbody tr:last-child th, .parts tbody tr:last-child td { padding: 0; border: 0; white-space: normal; }
  .parts td { margin-top: 8px; }
  .parts td[data-price] { font-size: 0.9375rem; }
}

/* Common questions */
.faq details { border-top: 1px solid var(--line); }
.faq-col:last-child details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; font-family: var(--font-head); font-size: 1.3125rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--charcoal); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--line); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272a2f' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details > div { max-width: 40em; padding: 0 54px 26px 0; }
@media (max-width: 520px) { .faq summary { font-size: 1.1875rem; } .faq details > div { padding-right: 0; } }

/* About */
.prose { display: grid; gap: 18px; max-width: 640px; font-size: 1.1875rem; }
.prose .btn { margin-top: 10px; }
/* At a glance: the four facts on charcoal, then where and when */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-radius: var(--r-panel); background: var(--charcoal); color: var(--on-dark); }
.stats li { display: grid; gap: 2px; align-content: start; justify-items: start; padding: 36px 32px; }
.stats li + li { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stats .ico { width: 30px; height: 30px; margin-bottom: 18px; color: var(--warm); }
.stats strong { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--paper); }
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; margin-top: 64px; }
.where-area { display: grid; gap: 14px; align-content: start; }
.where-area h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.where-area p { color: var(--muted); }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; list-style: none; }
.city-list li { padding: 7px 15px; border-radius: 999px; background: var(--mist); font-size: 0.9375rem; font-weight: 600; color: var(--charcoal); }
.where-details { display: grid; gap: 24px; align-content: start; }
.where-details > div { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; }
.where-details .ico { grid-row: span 3; width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--mist); color: var(--blue); }
.where-details dt { font-size: 0.875rem; color: var(--muted); }
.where-details dd { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: var(--charcoal); overflow-wrap: anywhere; }
.where-details dd a { color: var(--charcoal); text-decoration: none; }
.where-details dd a:hover { color: var(--blue); text-decoration: underline; }
.where-details dd.detail { margin-top: 2px; font-size: 0.9375rem; font-weight: 400; color: var(--muted); }
.where-details dd.detail a { color: var(--blue); text-decoration: underline; }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .stats li { padding: 26px 22px; }
  .stats li + li { border-left: 0; }
  .stats li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .stats li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .stats strong { font-size: 1.5rem; }
  .where { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
}

/* Thank-you and not-found pages: a short message under a string of lights */
.message { padding-top: 96px; padding-bottom: 136px; }
.message .wrap { display: grid; gap: 22px; justify-items: start; }
.message .lights { margin-bottom: 14px; padding: 18px 24px; border-radius: 999px; background: var(--charcoal); }
.message h1 { font-size: clamp(2.375rem, 5.4vw, 4.25rem); }
.message p { max-width: 520px; font-size: 1.25rem; }
@media (max-width: 760px) { .message { padding-top: 56px; padding-bottom: 88px; } }

/* Privacy page: plain text in one readable column */
.legal { padding-top: 80px; padding-bottom: 120px; }
.legal-head { display: grid; gap: 18px; max-width: 720px; margin-bottom: 56px; }
.legal-head h1 { font-size: clamp(2.375rem, 5.4vw, 4.25rem); }
.legal-head p { font-size: 1.25rem; line-height: 1.5; }
.legal-head .legal-date { font-size: 0.9375rem; color: var(--muted); }
.legal-body { max-width: 720px; }
.legal-body h2 { margin: 52px 0 16px; font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1.15; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-top: 14px; }
.legal-body ul { display: grid; gap: 12px; padding-left: 1.2em; }
.legal-body .sitemap-list a { font-weight: 600; }   /* the site map page */
.legal-body .sitemap-list span { display: block; color: var(--muted); font-size: 0.9375rem; }
.legal-body li::marker { color: var(--blue); }
.legal-body strong { font-weight: 600; color: var(--charcoal); }
@media (max-width: 760px) { .legal { padding-top: 48px; padding-bottom: 80px; } .legal-head { margin-bottom: 40px; } .legal-head p { font-size: 1.125rem; } .legal-body h2 { margin-top: 40px; font-size: 1.4375rem; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 40px; align-items: start; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

.form-card { display: grid; gap: 26px; padding: 44px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); }
.form-card h2 { font-size: 1.75rem; }
.form-head { display: grid; gap: 4px; }
.form-head p { color: var(--muted); }
@media (max-width: 520px) { .form-card { padding: 28px 22px; border-radius: 20px; } }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 20px; }
.field { display: grid; gap: 7px; }
.field label, legend { font-weight: 600; color: var(--charcoal); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], textarea {
  width: 100%; min-height: 52px; padding: 11px 15px;
  border: 1.5px solid #b3bbc6; border-radius: var(--r-small);
  background: var(--paper); color: var(--charcoal); font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"]:hover, input[type="tel"]:hover, input[type="email"]:hover, input[type="number"]:hover, textarea:hover { border-color: var(--line-strong); }
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="number"]:focus, textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 96, 196, 0.18);
}
textarea { resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.choice input { width: 22px; height: 22px; flex: none; accent-color: var(--charcoal); }
/* The four "interested in" choices are boxes that fill when ticked */
.choice-grid .choice { min-height: 54px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: var(--r-small); font-weight: 500; color: var(--charcoal); transition: border-color 0.15s, background-color 0.15s; }
.choice-grid .choice:hover { border-color: var(--line-strong); }
.choice-grid .choice:has(input:checked) { border-color: var(--charcoal); background: var(--mist); }

.parts-box { border: 1.5px solid var(--line); border-radius: var(--r-small); }
.parts-box > summary { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 16px; list-style: none; font-weight: 600; color: var(--charcoal); cursor: pointer; }
.parts-box > summary::-webkit-details-marker { display: none; }
.parts-box > summary::after { content: "+"; margin-left: auto; font-size: 1.375rem; font-weight: 400; line-height: 1; color: var(--muted); }
.parts-box[open] > summary::after { content: "\2212"; }
.parts-box > div { padding: 0 16px 10px; }
.part-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.part-row input[type="number"] { width: 96px; }
.hp { position: absolute; left: -9999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-error { padding: 12px 16px; border: 2px solid #a3271f; border-radius: var(--r-small); color: #7d1d17; font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot span { font-size: 0.9375rem; color: var(--muted); }

.contact-card { display: grid; gap: 24px; padding: 34px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); }
.contact-card h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.next-steps { display: grid; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.next-steps ol { display: grid; gap: 12px; list-style: none; counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; counter-increment: next; font-size: 1rem; line-height: 1.45; }
.next-steps li::before { content: counter(next); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--charcoal); color: var(--paper); font-size: 0.8125rem; font-weight: 700; }
@media (max-width: 520px) { .contact-card { padding: 26px 22px; border-radius: 20px; } }

/* ---------- How it works ---------- */
/* Four steps instead of three */
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 1020px) and (min-width: 821px) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 820px) { .steps--four { grid-template-columns: minmax(0, 1fr); } }

/* Occasion preview: a drawn house at night on a charcoal panel, with the occasion and effect buttons beside it */
.occ { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: center; padding: 28px; border-radius: var(--r-panel); background: var(--charcoal); color: var(--on-dark); }
.occ-scene { display: block; width: 100%; height: auto; border-radius: 16px; }
.occ-controls { display: grid; gap: 22px; min-width: 0; padding-right: 8px; }
.occ-group { display: grid; gap: 10px; min-width: 0; }
.occ-label { font-size: 0.9375rem; font-weight: 600; color: var(--on-dark-muted); }
.occ-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.occ-chip {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; background: rgba(255, 255, 255, 0.06);
  color: var(--paper); font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.occ-chip:hover { border-color: var(--paper); }
.occ-chip[aria-pressed="true"] { border-color: var(--paper); background: var(--paper); color: var(--charcoal); }
.occ-chip:focus-visible { outline-color: var(--warm); border-radius: 999px; }
.occ-chip__dots { display: inline-flex; gap: 3px; }
.occ-chip__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }
.occ-chip[aria-pressed="true"] .occ-chip__dots i { box-shadow: 0 0 0 1px rgba(39, 42, 47, 0.25); }
.occ-note { min-height: 3.2em; font-size: 1rem; color: var(--on-dark); }
.occ-lamp { transform-box: fill-box; }
.occ-scene[data-effect="twinkle"] .occ-lamp { animation: occ-twinkle var(--t, 2.6s) ease-in-out var(--d, 0s) infinite; }
.occ-scene[data-effect="chase"] .occ-lamp { animation: occ-chase 1.9s linear var(--c, 0s) infinite; }
@keyframes occ-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes occ-chase { 0%, 55%, 100% { opacity: 0.22; } 20% { opacity: 1; } }
@media (max-width: 1020px) {
  .occ { grid-template-columns: minmax(0, 1fr); padding: 18px; border-radius: 20px; }
  .occ-controls { padding: 0 6px 10px; }
  .occ-note { min-height: 0; }
}

/* Calendar: when each occasion comes round. Each bar's start and end month are set as --s and --e (0 = start of January, 12 = end of December). */
.cal { display: grid; }
.cal__months, .cal__row { display: grid; grid-template-columns: clamp(150px, 26%, 260px) minmax(0, 1fr); column-gap: 28px; align-items: center; }
.cal__scale { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-column: 2; padding-bottom: 10px; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.cal__scale span { padding-left: 4px; }
.cal__scale i { font-style: normal; }
.cal__row { border-top: 1px solid #d3d9e1; }
.cal__row:last-child { border-bottom: 1px solid #d3d9e1; }
.cal__name { min-width: 0; padding-block: 14px; }
.cal__name b { display: block; font-weight: 600; line-height: 1.3; color: var(--charcoal); }
.cal__name small { display: block; font-size: 0.875rem; line-height: 1.35; color: var(--muted); }
.cal__track { position: relative; align-self: stretch; min-height: 56px; background: repeating-linear-gradient(90deg, #dfe4ea 0 1px, transparent 1px calc(100% / 12)); }
.cal__bar {
  position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px;
  left: calc(var(--s) / 12 * 100%); width: calc((var(--e) - var(--s)) / 12 * 100%);
  background: repeating-linear-gradient(90deg, var(--c1) 0 9px, var(--c2) 9px 18px, var(--c3) 18px 27px);
  box-shadow: 0 0 0 1px rgba(39, 42, 47, 0.12), 0 2px 10px -2px var(--c1);
}
.occ-lohri     { --c1: #ff8a1f; --c2: #ffc24a; --c3: #ff5a1f; }
.occ-valentine { --c1: #ff3b6b; --c2: #ffb3c7; --c3: #ff3b6b; }
.occ-vaisakhi  { --c1: #ff9f1c; --c2: #3d7bff; --c3: #ff9f1c; }
.occ-canada    { --c1: #e5202e; --c2: #ffffff; --c3: #e5202e; }
.occ-halloween { --c1: #ff7a1a; --c2: #9247ff; --c3: #ff7a1a; }
.occ-diwali    { --c1: #ffb627; --c2: #ff5fa2; --c3: #ff7a1a; }
.occ-christmas { --c1: #e5202e; --c2: #1fa24a; --c3: #ffe2a8; }
@media (max-width: 640px) {
  .cal__months, .cal__row { grid-template-columns: minmax(0, 1fr); }
  .cal__scale { grid-column: 1; }
  .cal__scale span { padding-left: 2px; }
  .cal__scale i { display: none; }
  .cal__name { padding-block: 12px 0; }
  .cal__track { min-height: 32px; }
}

/* ---------- Try it on your home (back from Everstone Lights, October 2026) ---------- */
.viz { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 40px; align-items: start; }
.viz-main { display: grid; gap: 14px; min-width: 0; }
@media (min-width: 921px) { .viz-main { position: sticky; top: 104px; } }   /* the picture stays in view while the controls scroll */
.viz-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.viz-bar:focus-within label.btn { outline: 3px solid var(--blue); outline-offset: 2px; }
.viz-stage { display: flex; align-items: center; justify-content: center; min-height: 220px; overflow: hidden; border-radius: 20px; background: var(--charcoal); }
.viz-frame { position: relative; flex: none; line-height: 0; }
.viz-frame canvas { display: block; width: 100%; height: 100%; }
#viz-overlay { position: absolute; inset: 0; touch-action: none; cursor: crosshair; }
#viz-overlay { opacity: 0; transition: opacity 0.6s ease; }                    /* guide dots fade away when not in use */
#viz-overlay.is-guiding { opacity: 1; transition-duration: 0.15s; }
.viz-hint { min-height: 3.2em; color: var(--text); }

.viz-panel { display: grid; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); }
.viz-panel h2 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.viz-group { display: grid; gap: 8px; }
.viz-group > label { font-weight: 600; color: var(--charcoal); }
.swatch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.swatch-btn, .mode-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 15px;
  border: 1.5px solid #b3bbc6; border-radius: 999px;
  background: var(--paper); color: var(--charcoal);
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.swatch-btn:hover, .mode-btn:hover { border-color: var(--charcoal); }
.swatch-btn[aria-pressed="true"], .mode-btn[aria-pressed="true"] { border-color: var(--charcoal); background: var(--charcoal); color: var(--paper); }
.swatch-btn i { display: inline-flex; }
.swatch-btn i b { width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(39, 42, 47, 0.35); }
.swatch-btn i b + b { margin-left: -4px; }
#viz-colour { width: 48px; height: 44px; padding: 2px; border: 1.5px solid #b3bbc6; border-radius: 10px; background: var(--paper); cursor: pointer; }
input[type="range"] { width: 100%; min-height: 32px; margin: 0; accent-color: var(--charcoal); }
.range-ends { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted); }
.viz-note { font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 920px) {
  .viz { grid-template-columns: minmax(0, 1fr); }
  .viz-panel { padding: 24px 22px; border-radius: 20px; }
}


/* "See it on your own house": a charcoal panel. Slide across the photo to compare it with and without lights. */
.tryit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border-radius: var(--r-panel); background: var(--charcoal); color: var(--on-dark); }
.tryit-copy { display: grid; gap: 22px; align-content: center; justify-items: start; padding: 64px 56px; }
.tryit h2 { color: var(--paper); }
.tryit-copy > p { font-size: 1.125rem; }
.compare { position: relative; min-height: 460px; overflow: hidden; }
.compare img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--paper); pointer-events: none; }
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272a2f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within .compare-handle::after { outline: 3px solid var(--warm); outline-offset: 2px; }
.compare-tag { position: absolute; top: 18px; padding: 6px 13px; border-radius: 999px; background: rgba(34, 37, 42, 0.72); color: var(--paper); font-size: 0.8125rem; font-weight: 600; pointer-events: none; }
.compare-tag--before { left: 18px; }
.compare-tag--after { right: 18px; }
@media (max-width: 920px) {
  .tryit { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .tryit-copy { padding: 40px 26px; }
  .compare { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Try it in a pop-up (opened from the bar, the menu and the other Try it links) ---------- */
.modal-open { overflow: hidden; }
.tryit-modal { width: min(1240px, calc(100vw - 48px)); max-width: none; height: min(900px, calc(100vh - 48px)); max-height: none; padding: 0; border: 0; border-radius: var(--r-panel); background: var(--paper); color: var(--text); overflow: hidden; box-shadow: 0 30px 80px rgba(12, 14, 18, 0.45); }
.tryit-modal[open] { display: flex; flex-direction: column; }
.tryit-modal::backdrop { background: rgba(20, 22, 26, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tryit-modal__head { display: flex; align-items: center; gap: 16px; flex: none; padding: 14px 16px 14px 28px; border-bottom: 1px solid var(--line); }
.tryit-modal__head h2 { margin-right: auto; font-size: 1.375rem; letter-spacing: -0.02em; }
.tryit-modal__full { font-size: 0.9375rem; font-weight: 600; }
.tryit-modal__close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--charcoal); cursor: pointer; }
.tryit-modal__close:hover { border-color: var(--charcoal); }
.tryit-modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tryit-modal__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.tryit-modal__wait { padding: 48px 28px; color: var(--muted); }
.tryit-modal #visualizer { padding-top: 28px; padding-bottom: 32px; }
.tryit-modal .viz-main { top: 0; }                                        /* sticky inside the pop-up's own scroll */
@media (max-width: 640px) {
  .tryit-modal { width: 100vw; height: 100%; max-height: 100dvh; border-radius: 0; }   /* full screen on phones */
  .tryit-modal__head { padding: 10px 12px 10px 20px; gap: 10px; }
  .tryit-modal__head h2 { font-size: 1.125rem; }
  .tryit-modal__full { font-size: 0.875rem; }
  .tryit-modal #visualizer { padding-top: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tryit-modal[open] { animation: modal-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .tryit-modal[open]::backdrop { animation: backdrop-in 0.35s ease; }
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes backdrop-in { from { opacity: 0; } }

/* ---------- Try it: compact layout for phones (from everstonelights.ca, October 2026) ----------
   About one and a half screens tall instead of three or four. Desktop is unchanged. */
.viz-short { display: none; }
@media (max-width: 640px) {
  .viz-long { display: none; }
  .viz-short { display: inline; }
  #visualizer { padding-top: 20px; padding-bottom: 28px; }
  .viz { gap: 16px; }
  .viz-main { gap: 10px; }
  .viz-bar { flex-wrap: nowrap; gap: 8px; }
  .viz-bar .btn { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 0 10px; font-size: 0.92rem; }
  .viz-stage { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; min-height: 180px; }   /* the photo runs edge to edge */
  .viz-hint { min-height: 0; font-size: 0.88rem; line-height: 1.45; }
  .viz-panel { gap: 14px; padding: 16px; border-radius: 16px; }
  .viz-panel h2, .viz-group > label { font-size: 0.85rem; }
  .viz-group { gap: 6px; }
  .swatch-row { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin-inline: -16px; padding: 2px 16px 4px; scrollbar-width: none; }   /* scenes and modes: one row each, swiped sideways */
  .swatch-row::-webkit-scrollbar { display: none; }
  .swatch-btn, .mode-btn { flex: none; min-height: 38px; padding: 0 12px; font-size: 0.88rem; gap: 6px; }
  .swatch-btn i b { width: 11px; height: 11px; }
  #viz-colour { flex: none; width: 40px; height: 38px; }
  .viz-panel input[type="range"] { min-height: 26px; }
  .range-ends { display: none; }
  #visualizer .btn-row { flex-wrap: nowrap; gap: 8px; }                                           /* only the tool's own button row */
  #visualizer .btn-row .btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 10px; font-size: 0.92rem; }
  .viz-note { font-size: 0.82rem; line-height: 1.45; }
}

/* ---------- Blog: the posts are drawn by Soro's embed into #soro-blog ----------
   Soro's own styles are plain; these (prefixed with #soro-blog so they win) give the posts the site's look:
   a grid of photo cards with the newest one wide, and the site's type for a post. */
#soro-blog { min-height: 240px; }
#soro-blog .soro-blog { max-width: none; font-family: var(--font-body); color: var(--text); }
#soro-blog .soro-blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
#soro-blog .soro-blog-card {
  display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); color: var(--text); box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, border-color 0.2s;
}
#soro-blog .soro-blog-card, #soro-blog .soro-blog-back { text-decoration: none; }
#soro-blog .soro-blog-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 44px rgba(24, 28, 36, 0.13); }
#soro-blog .soro-blog-card-image { display: block; flex: none; width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 0; object-fit: cover; border-radius: 0; }
#soro-blog .soro-blog-card-content { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
#soro-blog .soro-blog-card-title { margin: 0; font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--charcoal); }
#soro-blog .soro-blog-card-excerpt { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 1rem; line-height: 1.55; color: var(--muted); }
#soro-blog .soro-blog-card-date { order: -1; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
#soro-blog .soro-blog-card-content::after { content: "Read the post \2192"; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--charcoal); }
#soro-blog .soro-blog-card:hover .soro-blog-card-title { color: var(--blue); }
@media (min-width: 860px) {   /* the newest post runs across the full width, photo beside the words */
  #soro-blog .soro-blog-card:first-child { grid-column: 1 / -1; flex-direction: row; }
  #soro-blog .soro-blog-card:first-child .soro-blog-card-image { width: 56%; aspect-ratio: 16 / 10; }
  #soro-blog .soro-blog-card:first-child .soro-blog-card-content { justify-content: center; gap: 14px; padding: 40px 48px; }
  #soro-blog .soro-blog-card:first-child .soro-blog-card-title { font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.08; letter-spacing: -0.03em; }
  #soro-blog .soro-blog-card:first-child .soro-blog-card-excerpt { -webkit-line-clamp: 4; font-size: 1.125rem; }
  #soro-blog .soro-blog-card:first-child .soro-blog-card-content::after { margin-top: 8px; }
}

/* a single post */
#soro-blog .soro-blog-back { gap: 8px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--charcoal); font-size: 0.9375rem; font-weight: 600; }
#soro-blog .soro-blog-back:hover { border-color: var(--charcoal); background: var(--paper); }
#soro-blog .soro-blog-article { max-width: 760px; margin: 0 auto; }
#soro-blog .soro-blog-article header { display: grid; gap: 12px; margin-bottom: 8px; }
#soro-blog .soro-blog-article-title { margin: 0; font-family: var(--font-head); font-size: clamp(2.125rem, 4.6vw, 3.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--charcoal); }
#soro-blog .soro-blog-article-date { order: -1; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
#soro-blog .soro-blog-article-image { display: block; width: 100%; height: auto; margin: 28px 0 36px; border-radius: var(--r-panel); }
#soro-blog .soro-blog-article-content { font-size: 1.125rem; line-height: 1.7; color: var(--text); }
#soro-blog .soro-blog-article-content h2 { margin: 1.9em 0 0.5em; font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--charcoal); }
#soro-blog .soro-blog-article-content h3 { margin: 1.6em 0 0.4em; font-family: var(--font-head); font-size: 1.3125rem; font-weight: 700; line-height: 1.2; color: var(--charcoal); }
#soro-blog .soro-blog-article-content p { margin: 0 0 1.1em; }
#soro-blog .soro-blog-article-content ul, #soro-blog .soro-blog-article-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
#soro-blog .soro-blog-article-content li { margin-bottom: 0.4em; }
#soro-blog .soro-blog-article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
#soro-blog .soro-blog-article-content img { max-width: 100%; height: auto; border-radius: 14px; }
#soro-blog .soro-blog-article-content strong { color: var(--charcoal); }
/* share buttons on a post (added by js/blog.js): a row under the title, a rail beside the post on wide screens,
   and a panel at the end */
#soro-blog .share-icons { display: flex; flex-wrap: wrap; gap: 8px; }
#soro-blog .share-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: #fff; text-decoration: none; cursor: pointer; transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.2s; }
#soro-blog .share-icon:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(24, 28, 36, 0.18); }
#soro-blog .share-icon:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
#soro-blog .share-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#soro-blog .share-icon svg .fill { fill: currentColor; stroke: none; }
#soro-blog .share-icon--whatsapp { background: #25d366; }
#soro-blog .share-icon--facebook { background: #1877f2; }
#soro-blog .share-icon--facebook svg { width: 22px; height: 22px; }
#soro-blog .share-icon--x { background: #111; }
#soro-blog .share-icon--linkedin { background: #0a66c2; }
#soro-blog .share-icon--copy, #soro-blog .share-icon--more { background: var(--paper); color: var(--charcoal); box-shadow: inset 0 0 0 1.5px var(--line); }
#soro-blog .share-icon--copy:hover, #soro-blog .share-icon--more:hover { box-shadow: inset 0 0 0 1.5px var(--charcoal), 0 8px 18px rgba(24, 28, 36, 0.12); }
#soro-blog .share-icon[hidden] { display: none; }
#soro-blog .post-share-top { margin: 4px 0 0; }
#soro-blog .post-share-top__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
#soro-blog .post-share-top__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
#soro-blog .soro-blog-article { position: relative; }
@media (min-width: 1180px) {   /* wide screens: a rail in the space beside the post, which stays in view while reading */
  #soro-blog .post-share-top { position: absolute; top: 0; bottom: 0; left: -96px; margin: 0; }
  #soro-blog .post-share-top__inner { position: sticky; top: calc(var(--bar-h) + 112px); flex-direction: column; flex-wrap: nowrap; gap: 10px; width: 48px; }
  #soro-blog .post-share-top .share-icons { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
  #soro-blog .post-share-top__label { font-size: 0.6875rem; }
  #soro-blog .post-share-top__inner { transition: opacity 0.25s, visibility 0.25s; }
  #soro-blog .post-share-top.is-resting .post-share-top__inner { opacity: 0; visibility: hidden; }
}
#soro-blog .post-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 48px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--mist); }
#soro-blog .post-share h2 { margin: 0; font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: var(--charcoal); }
#soro-blog .post-share p { margin: 2px 0 0; font-size: 0.9375rem; color: var(--muted); }
#soro-blog .share-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80; margin: 0; padding: 12px 18px; border-radius: 999px; background: var(--charcoal); color: var(--paper); font-size: 0.9375rem; font-weight: 600; transform: translateX(-50%); box-shadow: 0 12px 30px rgba(12, 14, 18, 0.3); }
#soro-blog .share-toast:empty { display: none; }
@media (max-width: 600px) { #soro-blog .post-share { padding: 20px 18px; } }
/* reading a post: a shorter photo header, so the post starts higher up */
.blog:has(.soro-blog-article.visible) { padding-top: 48px; }
main:has(.soro-blog-article.visible) .page-hero { min-height: min(34vh, 300px); }
main:has(.soro-blog-article.visible) .page-hero-text p { display: none; }
.blog-note { color: var(--muted); }

/* ---------- Occasion pages (diwali.html and so on) ---------- */
.occ-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: start; }
.occ-intro { display: grid; gap: 22px; align-content: start; }
.occ-date { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--charcoal); }
.occ-date .ico { flex: none; width: 24px; height: 24px; color: var(--blue); }
.occ-lede { max-width: 34em; font-size: 1.25rem; line-height: 1.55; color: var(--text); }
.occ-colours { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.occ-dots { display: inline-flex; flex: none; gap: 5px; }
.occ-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(39, 42, 47, 0.18), 0 0 8px var(--c); }
.share-card { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); }
.share-card h2 { font-size: 1.75rem; letter-spacing: -0.02em; }
.share-card > p { color: var(--muted); }
.share-preview { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); }
.share-preview img { display: block; width: 100%; height: auto; }
.share-preview figcaption { padding: 12px 16px; font-size: 0.9375rem; line-height: 1.45; color: var(--text); }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-note { font-size: 0.9375rem; color: var(--muted); }
.share-status { min-height: 1.4em; font-size: 0.9375rem; font-weight: 600; color: var(--blue); }
.share-status:empty { display: none; }
.occ-links { display: flex; flex-wrap: wrap; gap: 10px; }
.occ-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--charcoal); font-weight: 600; text-decoration: none; transition: border-color 0.18s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.occ-link:hover { border-color: var(--charcoal); color: var(--charcoal); transform: translateY(-2px); }
.cal__name a { color: inherit; text-decoration: none; }
.cal__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-occasions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9375rem; }
.footer-occasions span { color: var(--on-dark-muted); }
.footer-occasions a { color: var(--on-dark); text-decoration: none; }
.footer-occasions a:hover { color: var(--paper); text-decoration: underline; }
@media (max-width: 920px) { .occ-page { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .share-card { padding: 22px 18px; border-radius: 20px; }
  .footer-occasions { justify-content: center; gap: 4px 14px; font-size: 0.875rem; text-align: center; }
  .footer-occasions span { flex-basis: 100%; }
}

/* ---------- Chat assistant ---------- */
.chat-launch {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 22px;
  border: 2.5px solid var(--paper); border-radius: 999px; background: var(--blue); color: var(--paper);
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 30px rgba(18, 22, 30, 0.35); transition: background-color 0.18s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s;
  animation: launch-in 0.7s 1.6s cubic-bezier(0.2, 0.9, 0.3, 1.25) backwards;
}
.chat-launch.is-back { animation: none; }
.chat-launch:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(18, 22, 30, 0.4); }
@keyframes launch-in { from { opacity: 0; transform: translateY(24px) scale(0.9); } }
.chat-launch:hover { background: var(--blue-dark); }
.chat-launch:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 999px; }
.chat {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px));
  overflow: hidden; border-radius: 20px; background: var(--paper); box-shadow: 0 18px 50px rgba(18, 22, 30, 0.35);
}
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 14px 18px; background: var(--charcoal); color: var(--paper); }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; }
.chat-head span { font-size: 0.8125rem; color: var(--on-dark-muted); }
.chat-head button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; }
.chat-head button:hover { background: var(--charcoal-2); }
.chat-head button:focus-visible { outline-color: var(--warm); }
.chat-log { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 16px; overflow-y: auto; background: var(--mist); }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg--bot { align-self: flex-start; background: var(--paper); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg--me { align-self: flex-end; background: var(--charcoal); color: var(--paper); border-bottom-right-radius: 4px; }
.chat-msg--typing { display: inline-flex; gap: 5px; padding: 14px; }
.chat-msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); animation: chat-dot 1s infinite ease-in-out; }
.chat-msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.chat-link {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 8px 14px;
  border-radius: 999px; background: var(--charcoal); color: var(--paper); font-weight: 600; text-decoration: none;
}
.chat-link:hover { background: var(--blue); color: var(--paper); }
.chat-link--wa { background: #17603b; }
.chat-link--wa:hover { background: #0f4a2c; }
.chat-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; background: var(--mist); }
.chat-replies:not(:empty) { padding-bottom: 12px; }
.chat-reply { min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--charcoal); border-radius: 999px; background: var(--paper); color: var(--charcoal); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.chat-reply:hover { background: var(--charcoal); color: var(--paper); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1 1 auto; min-width: 0; }
.chat-form button { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--charcoal); color: var(--paper); cursor: pointer; }
.chat-form button:hover { background: var(--blue); }
.chat-note { padding: 0 14px 12px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
  .chat { right: 8px; left: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; height: min(560px, calc(100vh - 90px)); }
  .chat-launch { width: 60px; height: 60px; padding: 0; justify-content: center; }
  .chat-launch span { display: none; }
}

/* ---------- Footer ---------- */
/* Charcoal, the logo's own colour. It opens with the page's closing invitation. */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); }
.footer-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 72px; align-items: end; padding-top: 104px; padding-bottom: 80px; }
.footer-cta h2 { font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 0.98; letter-spacing: -0.035em; color: var(--paper); }
.footer-cta-side { display: grid; gap: 24px; padding-bottom: 6px; }
.footer-cta p { font-size: 1.125rem; color: var(--on-dark); }
.footer-cta p a { color: var(--paper); font-weight: 600; white-space: nowrap; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.9fr); gap: 40px 48px; padding-top: 56px; padding-bottom: 48px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.footer-brand img { display: block; height: 62px; width: auto; margin-left: -4px; }
.footer-brand p { max-width: 300px; }
.footer-col { display: grid; align-content: start; }
.footer-col h2 { margin-bottom: 10px; font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--paper); }
.footer-col a, .footer-col > span { display: flex; align-items: center; min-height: 38px; padding: 4px 0; color: var(--on-dark); text-decoration: none; line-height: 1.4; }
.footer-col > span > a { min-height: 0; padding: 0; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.footer-legal a + a::before,
.footer-credit::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: 0.6; }
.footer-bottom a { color: var(--on-dark); }
.footer-bottom a:hover { color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 96px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9375rem; }  /* room for the chat button */
@media (max-width: 920px) {
  .footer-cta { grid-template-columns: minmax(0, 1fr); padding-top: 72px; padding-bottom: 56px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
/* Phones: a shorter footer. The service links are left out (Services is in the page list), the area line
   is left out (it is in the contact details), and everything is set tighter. */
@media (max-width: 600px) {
  .footer-cta { gap: 20px; padding-top: 56px; padding-bottom: 40px; }
  .footer-cta h2 { font-size: 2.125rem; }
  .footer-cta p { font-size: 1rem; }
  .footer-cta .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .footer-cta .btn { padding: 0 14px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 32px; }
  .footer-brand { gap: 10px; }
  .footer-brand img { height: 46px; }
  .footer-area, .footer-services { display: none; }
  .footer-col h2 { margin-bottom: 6px; color: var(--on-dark-muted); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .footer-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .footer-pages h2 { grid-column: 1 / -1; }
  .footer-col a, .footer-col > span { min-height: 40px; padding: 2px 0; }
  .footer-contact [data-site="whatsapp"], .footer-contact [data-site="hours"] { display: none; }   /* both are just above, in the call-to-action */
  .footer-contact [data-site="address"] { min-height: 0; margin-top: 4px; padding: 2px 0; font-size: 0.9375rem; color: var(--on-dark-muted); }
  .footer-bottom { flex-direction: column; align-items: center; gap: 4px; padding-top: 20px; padding-bottom: 88px; font-size: 0.875rem; text-align: center; }   /* the bottom stays clear of the chat button */
  .footer-legal { justify-content: center; }
  .footer-credit { color: #8c939c; }
  .footer-credit { flex-basis: 100%; text-align: center; margin-top: 4px; }   /* own line under Privacy, Terms and Site map */
  .footer-credit::before { display: none; }
}
@media (max-width: 379px) { .footer-rights { display: none; } }

/* ---------- Motion ----------
   Everything here is movement only: no colour, size or layout of its own.
   Turned off for anyone who has asked their device for less motion. */

/* Sections arrive as they scroll into view. js/main.js adds .rv only to things still below the screen,
   so without JavaScript (or with reduced motion) everything is simply there. */
.rv { transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1), clip-path 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), background-size 1.1s cubic-bezier(0.6, 0, 0.2, 1);
  transition-delay: var(--rv-d, 0ms), var(--rv-d, 0ms), var(--rv-d, 0ms), calc(var(--rv-d, 0ms) + 150ms); }
.rv:not(.is-in) { opacity: 0; transform: translateY(32px); }
.rv--line:not(.is-in) { background-size: 0% 2px; }
.rv--clip:not(.is-in) { opacity: 1; transform: none; clip-path: inset(10% 7% 10% 7% round var(--r-panel)); }
.rv--clip img { transition: transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv--clip:not(.is-in) img { transform: scale(1.12); }

/* The little rows of lights on the home page switch on one after another as they arrive */
.rv .lights i:not(.off) { transition: background-color 0.3s, box-shadow 0.6s; transition-delay: calc(var(--rv-d, 0ms) + 450ms + var(--li, 0) * 70ms); }
.rv:not(.is-in) .lights i:not(.off) { background: #4d525b; box-shadow: none; }

/* Counting numbers keep their width while they count */
[data-count] { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }

/* Menu links: an underline slides in under the one you point at */
@media (min-width: 961px) {
  .site-nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .site-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left center; }
}

/* Questions open and close smoothly, where the browser can animate to the answer's own height */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), content-visibility 0.4s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Opening of each page: the photo settles, then the words come up one after another */
  .hero-bg, .page-hero-photo { animation: settle 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .hero-inner > *, .hero-facts li, .page-hero-text > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .hero h1, .page-hero h1 { animation-name: rise-soft; }
  .hero-inner > :nth-child(1), .page-hero-text > :nth-child(1) { animation-delay: 0.15s; }
  .hero-inner > :nth-child(2), .page-hero-text > :nth-child(2) { animation-delay: 0.3s; }
  .hero-inner > :nth-child(3), .page-hero-text > :nth-child(3) { animation-delay: 0.45s; }
  .hero-inner > :nth-child(4) { animation-delay: 0.6s; }
  .hero-inner > :nth-child(5) { animation-delay: 0.75s; }
  .hero-facts li:nth-child(1) { animation-delay: 0.8s; }
  .hero-facts li:nth-child(2) { animation-delay: 0.9s; }
  .hero-facts li:nth-child(3) { animation-delay: 1s; }
  .hero-facts li:nth-child(4) { animation-delay: 1.1s; }

  /* Page to page: the new page fades up while the menu stays put */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  .chat-launch { view-transition-name: chat-launch; }
  ::view-transition-old(root) { animation: vt-out 0.22s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes settle { from { scale: 1.08; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(0.4em); filter: blur(10px); } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chat-launch { animation: none; }
  .light-line::before, .light-line--colour::before { opacity: 0.8; }
  .occ-scene .occ-lamp { animation: none !important; }
  .light-line::after { display: none; }
  .stage-photo.is-on { animation: none; }
  * { transition: none !important; }
  .chat-msg--typing i { animation: none; opacity: 0.6; }
}
