/* The Lighting Gale, new site v1 (2026-11-18): the locked home page's pattern carried to the other pages.
   Loaded after styles.css and intro.css. The components (story, team, why us, who we serve) are the v20 ones,
   already in the new look; this file sets the home-style sections around them. */

/* Dark sections: the v20 backgrounds, with the home page's spacing */
.hx-ink-sec { background: #1b1916; color: #fff; }
.hx-green-sec { background: #232b27; color: #fff; }

/* Space between a section's headline and its content */
.hx-sec .story, .hx-sec .team, .hx-sec .why2, .hx-sec .serve { margin-top: 46px; }
.hx-sec .why2, .hx-sec .serve, .hx-sec .team { list-style: none; padding-left: 0; }

/* Story text in the home page's type */
.hx-story .story-text p { font-size: 15.5px; line-height: 1.75; color: var(--hx-ink); max-width: 56ch; }
.hx-story .story-text p + p { margin-top: 16px; }
.hx-story .line strong { font-family: var(--hx-sans); font-weight: 500; letter-spacing: -.01em; }
.hx-story figcaption { color: var(--hx-muted); }

/* ---------- Page heading: the home hero's pattern, shorter ---------- */
.hx-phead {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(128px, 17vh, 180px) 0 clamp(60px, 9vh, 96px); background: var(--hx-ink); color: #fff;
}
.hx-phead::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 55% 95% at 80% 0%, rgba(255, 206, 128, .16), rgba(255, 206, 128, 0) 70%);
}
.hx-phead { font-family: var(--hx-sans); -webkit-font-smoothing: antialiased; }
.hx-phead em { font-family: var(--hx-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.hx-phead .hx-h1 { font-size: clamp(42px, 5.6vw, 80px); }
.hx-phead .hx-h1 em { max-width: 24ch; }
.hx-phead .hx-intro { color: rgba(255, 255, 255, .72); }
.hx-crumb-link { color: var(--hx-gold-t); text-decoration: none; }
.hx-crumb-link:hover { text-decoration: underline; }

/* ---------- Lighting: groups that match the home page's category cards ---------- */
.hx-group { margin-top: 56px; scroll-margin-top: 90px; }
.hx-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hx-group-title { font-family: var(--hx-sans); font-size: 22px; font-weight: 400; letter-spacing: -.02em; color: #fff; }
.hx-group-line { font-family: var(--hx-serif); font-style: italic; font-size: 19px; color: var(--hx-gold-t); }
.hx-ink-sec .also { margin-top: 36px; }
.hx-ink-sec .also + .also { margin-top: 8px; }
#brands .brands { margin-top: 36px; }
#brands .brand-kind { color: var(--hx-muted); }
#brands .house { background: var(--hx-ink); border: 0; border-radius: 0; }
#brands .house p { color: rgba(255, 255, 255, .82); }
#brands .house strong { color: var(--hx-gold-t); }

/* ---------- Knowledge: the four layers, and the guides ---------- */
.hx-layer-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
.hx-layer-list li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 8px; padding: 22px 22px 24px; background: var(--hx-dark); }
.hx-layer-t { font-size: 19px; color: #fff; letter-spacing: -.02em; }
.hx-layer-s { grid-column: 2; font-size: 13px; color: rgba(255, 255, 255, .6); }
.hx-layer-list .hx-n { padding-top: 6px; }
@media (min-width: 760px) { .hx-layer-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#guides .posts { margin-top: 46px; }
.post-card { scroll-margin-top: 90px; }
.post-card a { text-decoration: none; }
.post-card h2 { font-family: var(--hx-sans); }

/* ---------- One guide ---------- */
.hx-post { max-width: 760px; }
.hx-post .post-hero { display: block; width: min(100%, 380px); height: auto; margin-bottom: 30px; background: radial-gradient(circle at 50% 45%, #46524b 0%, #2c3530 55%, #1f2622 100%); }
.hx-post p, .hx-post li { font-size: 16.5px; line-height: 1.75; color: var(--hx-ink); max-width: 62ch; }
.hx-post p + p, .hx-post ul, .hx-post ol { margin-top: 18px; }
.hx-post h2, .hx-post h3 { margin-top: 30px; font-family: var(--hx-sans); font-weight: 500; letter-spacing: -.02em; }
.hx-post-end { margin-top: 30px !important; font-weight: 600; }
.hx-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-post .hx-btns, .hx-sec .hx-btns { margin-top: 26px; }
.hx-cream .hx-btn-line { border-color: var(--hx-ink); color: var(--hx-ink); }
.hx-cream .hx-btn-line:hover { background: rgba(23, 21, 18, .06); }
.hx-btn-inline { margin-top: 0; }

/* ---------- Calculator, Visit, Enquiry, Thank you ---------- */
#calc .calc { margin-top: 0; }
#visit .visit2 { margin-top: 0; }
#visit .hx-link { margin-top: 36px; }
.hx-enquiry { display: block; max-width: 860px; }
.hx-thanks { font-size: 16px; color: var(--hx-ink); }
.hx-thanks + .hx-thanks { margin-top: 8px; }

/* ---------- Applications ---------- */
.hx-sub { margin-top: 44px; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.hx-sub + .hx-intro { margin-top: 8px; }
.hx-sec .gallery { margin-top: 26px; }
.hx-sec .gallery figcaption { color: var(--hx-muted); }
.hx-note { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--hx-muted); max-width: 70ch; }
.hx-ink-sec .hx-note { color: rgba(255, 255, 255, .55); }
.hx-prod-figs { margin-top: 34px; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .hx-prod-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hx-prod-fig { margin: 0; }
.hx-prod-fig img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.hx-prod-fig figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; }
.hx-ink-sec .hx-prod-fig figcaption { color: rgba(255, 255, 255, .78); }
#clients .proj-cards { margin-top: 44px; }

/* ---------- Product catalogue ---------- */
.hx-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-jump a { padding: 8px 12px; border: 1px solid rgba(23, 21, 18, .18); color: var(--hx-ink); font-size: 12.5px; font-weight: 500; text-decoration: none; }
.hx-jump a:hover { background: var(--hx-ink); color: #fff; }
.hx-group-light .hx-group-head { border-bottom-color: rgba(23, 21, 18, .14); }
.hx-group-light .hx-group-title { color: var(--hx-ink); }
.hx-cat-sec .hx-group:first-of-type { margin-top: 40px; }
.hx-prods { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.hx-prod { display: flex; flex-direction: column; background: #fbfaf7; border: 1px solid rgba(23, 21, 18, .1); }
.hx-prod-img { display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.hx-prod-img img { width: 100%; height: 100%; object-fit: contain; }
.hx-prod-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.hx-prod-name { display: block; margin-top: 8px; font-size: 16px; letter-spacing: -.015em; }
.hx-prod-line { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: var(--hx-muted); }
.hx-prod-ask { margin-top: auto; padding-top: 14px; align-self: flex-start; color: var(--hx-ink); font-size: 12.5px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.hx-prod-ask:hover { color: var(--hx-brown); }

/* ---------- Brands ---------- */
.hx-rows-static li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 20px 0; }
.hx-house { margin-top: 30px; }
#brands .brand-kind { margin-top: 30px; }

/* ---------- Privacy ---------- */
.hx-priv-item + .hx-priv-item { margin-top: 34px; }
.hx-priv h2 { margin-top: 0; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.hx-priv p { margin-top: 10px; }
.hx-priv a { color: var(--hx-brown); }

/* ---------- v2: Our story ---------- */
.hx-story2 { margin-top: 46px; display: grid; gap: 36px; }
@media (min-width: 900px) { .hx-story2 { grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; } }
.hx-story2-text p { font-size: 15.5px; line-height: 1.8; color: var(--hx-muted); max-width: 58ch; }
.hx-story2-text p + p { margin-top: 18px; }
.hx-story2-text .hx-lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; letter-spacing: -.015em; color: var(--hx-ink); }
.hx-story2-photo { margin: 0; }
.hx-story2-photo img { display: block; width: 100%; max-width: 380px; height: auto; }
.hx-story2-photo figcaption { margin-top: 10px; font-size: 12.5px; color: var(--hx-muted); }
.hx-quote { padding: clamp(60px, 8vw, 100px) 0; background: linear-gradient(180deg, #1b211e, #27312c); color: #fff; font-family: var(--hx-sans); }
.hx-quote-big { font-size: clamp(48px, 7vw, 96px); line-height: 1; color: var(--hx-gold-t); }
.hx-quote-big em { font-family: var(--hx-serif); font-style: italic; }
.hx-quote-sub { margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hx-gens { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(23, 21, 18, .16); }
.hx-gens li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 8px; padding: 22px 0; border-bottom: 1px solid rgba(23, 21, 18, .16); }
.hx-gens .hx-n { color: var(--hx-gold); padding-top: 5px; }
.hx-gen-name { font-size: 20px; letter-spacing: -.02em; }
.hx-gen-line { grid-column: 2; font-size: 13.5px; color: var(--hx-muted); }
@media (min-width: 900px) {
  .hx-gens { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
  .hx-gens li { grid-template-columns: 1fr; padding: 24px 24px 26px 0; border-bottom: 0; border-top: 2px solid var(--hx-gold); margin-right: 18px; }
  .hx-gen-line { grid-column: 1; }
}

/* ---------- v2: Visit us ---------- */
.hx-visit { display: grid; gap: 44px; }
@media (min-width: 900px) { .hx-visit { grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; } }
.hx-visit-addr { margin-top: 26px; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.4; letter-spacing: -.015em; color: #fff; }
.hx-visit .hx-btns { margin-top: 28px; }
.hx-visit .hx-btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.hx-visit-hours .hx-foot-h { margin-bottom: 8px; }
.hx-hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hx-hours th, .hx-hours td { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: left; font-weight: 400; color: rgba(255, 255, 255, .82); }
.hx-hours td { text-align: right; }
.hx-hours tr.is-today th, .hx-hours tr.is-today td { color: var(--hx-gold-t); }
.hx-hours .today-tag { margin-left: 10px; padding: 2px 7px; background: var(--hx-gold); color: var(--hx-ink); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hx-map { line-height: 0; background: #1b1916; }
.hx-map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: grayscale(.25) contrast(1.02); }
.hx-contact-cols { margin-top: 42px; display: grid; gap: 34px; }
@media (min-width: 760px) { .hx-contact-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hx-contact-cols .hx-foot-h { margin-bottom: 14px; color: var(--hx-brown); }
.hx-contact-cols p { font-size: 15px; line-height: 1.6; color: var(--hx-ink); }
.hx-contact-cols p + p { margin-top: 4px; }
.hx-contact-cols a { color: var(--hx-ink); text-decoration: none; border-bottom: 1px solid rgba(23, 21, 18, .25); overflow-wrap: anywhere; }
.hx-contact-cols a:hover { color: var(--hx-brown); border-bottom-color: currentColor; }
.hx-contact-cols .hx-c-name { margin-top: 16px; font-size: 12.5px; color: var(--hx-muted); }
.hx-contact-cols .hx-foot-h + .hx-c-name { margin-top: 0; }
.hx-contact-cols .hx-c-gap { margin-top: 30px; }
.hx-store { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.hx-store figure { margin: 0; }
.hx-store img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hx-store figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--hx-muted); }

/* ---------- v3: pictures ---------- */
.hx-story2-solo { grid-template-columns: 1fr !important; max-width: 760px; }
/* Home: photos in place of the drawn shapes */
.hx-art-photo { background: #1d2420; }
.hx-art-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-art-photo em { z-index: 2; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
/* Lighting tiles with photos */
.tile-photo { position: relative; overflow: hidden; }
.tile-photo .tile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1d2420; }
.tile-photo .tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-photo .tag { position: absolute; z-index: 2; top: 12px; left: 12px; }
.hx-group-note { margin-top: 16px !important; }
/* Applications banners */
.hx-banner { margin: 30px 0 0; overflow: hidden; background: #1d2420; }
.hx-banner img { display: block; width: 100%; height: clamp(220px, 32vw, 400px); object-fit: cover; }
/* Guides and calculator */
.post-img-photo img { object-fit: cover; width: 100%; height: 100%; }
.hx-post .post-hero-photo { width: 100%; max-width: 760px; aspect-ratio: 16 / 9; object-fit: cover; }
.calc-cards .calc-photo, .calc-strip .calc-photo { object-fit: cover; }

/* ---------- v3: animations (only when the visitor's device allows motion) ---------- */
@keyframes hx-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hx-drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes hx-glow { 0%, 100% { text-shadow: 0 0 0 rgba(240, 201, 140, 0); } 50% { text-shadow: 0 0 28px rgba(240, 201, 140, .45); } }
@keyframes hx-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  /* Page headings rise in */
  .hx-phead .hx-kicker { animation: hx-up .8s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .hx-phead .hx-h1 span { display: block; animation: hx-up .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .hx-phead .hx-h1 em { animation: hx-up .9s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .hx-phead .hx-intro { animation: hx-up .9s cubic-bezier(.2, .7, .2, 1) .45s both; }
  /* Home photo drifts slowly once the light is on */
  .hx-hero.was-on .hx-hero-img { animation: hx-flicker 1.25s both, hx-drift 22s ease-in-out 1.3s infinite alternate; }
  .hx-hero.dark.was-on .hx-hero-img { animation: none; }
  /* Pictures zoom gently on hover */
  .hx-art-photo img, .tile-photo .tile-img img, .hx-banner img, .post-img img, .hx-prod-img img, .hx-prod-fig img, .gallery img {
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
  }
  .hx-cat:hover .hx-art-photo img, .hx-tile:hover .hx-art-photo img, .tile-photo:hover .tile-img img, .hx-banner:hover img,
  .post-card:hover .post-img img, .hx-prod:hover .hx-prod-img img, .hx-prod-fig:hover img, .gallery figure:hover img { transform: scale(1.06); }
  /* Pictures settle in as they scroll into view (the script adds .rv, then .in) */
  .rv .hx-art-photo img, .rv .tile-img img, .rv.hx-banner img, .rv .post-img img, .rv .hx-prod-img img, .rv.hx-prod-fig img { transform: scale(1.14); filter: brightness(.5); }
  .rv.in .hx-art-photo img, .rv.in .tile-img img, .rv.in.hx-banner img, .rv.in .post-img img, .rv.in .hx-prod-img img, .rv.in.hx-prod-fig img { transform: scale(1); filter: none; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter 1.2s ease; }
  /* Arrows nudge on hover */
  .hx-ar { transition: transform .25s ease; }
  .hx-btn:hover .hx-ar, .hx-link:hover .hx-ar, .hx-tile:hover .hx-ar, .hx-rows a:hover .hx-ar, .hx-prod-ask:hover .hx-ar { transform: translate(3px, -3px); }
  .hx-cat:hover .hx-circle { transform: rotate(45deg); transition: transform .35s ease, background-color .25s ease, color .25s ease; }
  /* Lighting for Life glows softly */
  .hx-quote-big em { animation: hx-glow 4.5s ease-in-out infinite; }
  /* The gold line before each label draws in */
  .rv .hx-eyebrow::before, .hx-rv.rv .hx-eyebrow::before { transform: scaleX(0); transform-origin: left; }
  .rv.in .hx-eyebrow::before { transform: scaleX(1); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .2s; }
}

/* ---------- v5: the Lighting Journal ---------- */
.hx-journal-top { padding-bottom: 0; }
.hx-journal-head { border-bottom-color: rgba(23, 21, 18, .14); }
.hx-journal-head .hx-group-title { color: var(--hx-ink); font-size: clamp(26px, 3vw, 36px); }
.hx-journal-head .hx-group-line { color: var(--hx-brown); }
section[id="living"], section[id="understanding"], section[id="designed"] { scroll-margin-top: 70px; }
.posts .hx-card-tag { display: block; margin: 14px 16px 0; color: #8a8479; }
.post-card h2, .post-card h3 { font-family: var(--hx-sans); font-weight: 400; letter-spacing: -.015em; }
.hx-journal h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 38px; }
.hx-journal p { color: #2b2823; }
.hx-table-wrap { margin-top: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hx-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.hx-table th, .hx-table td { padding: 11px 12px; border-bottom: 1px solid rgba(23, 21, 18, .14); text-align: left; vertical-align: top; }
.hx-table th { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-brown); }

/* v6: article-to-lights links */
.hx-explore { margin-top: 30px !important; padding-top: 18px; border-top: 1px solid rgba(23, 21, 18, .14); font-size: 14.5px !important; }
.hx-explore a { color: var(--hx-brown); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Who we serve cards on the home page's cream */
.hx-cream2 .serve li { background: #fbfaf7; border-color: rgba(23, 21, 18, .1); border-radius: 0; }
.hx-cream2 .serve h3 { font-family: var(--hx-sans); font-weight: 500; letter-spacing: -.01em; }
