/* LUMENFOLD — a marketing-led design for a lighting range.
   Structurally different from every other family in the catalogue: the others are documentation-led
   (hero, specification tables, details, onward links), this one is marketing-led, with a full-bleed
   hero, a three-column feature band, a callout band, a proof band and a closing call to action.

   The shared motion layer sets the sticky header to the body's background colour, so the masthead is
   designed as part of the body surface: the same colours apply whether or not the script runs. */

:root {
  color-scheme: dark;
  --ground: #12100e;
  --surface: #1a1714;
  --surface-2: #221e1a;
  --ink: #f5efe6;
  --ink-2: #b8ada0;
  --ink-3: #857b70;
  --rule: #332c26;
  --accent: #e8a13a;
  --accent-ink: #12100e;
  --glow: #ffd9a0;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell: 1200px;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shell { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }
.narrow { width: min(100% - 2.4rem, 780px); margin-inline: auto; }

/* ---------------------------------------------------------------- masthead */

.masthead { background: var(--ground); color: var(--ink); }
.masthead-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; padding: 1.15rem 0; }
.brand { display: flex; align-items: baseline; gap: 0.7rem; margin: 0; }
.brand strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.brand span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin-inline-start: auto; }
.site-nav a { color: var(--ink-2); font-size: 0.82rem; letter-spacing: 0.05em; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------------------------------------------------------- headings */

h1, h2, h3 { line-height: 1.12; margin: 0 0 0.7rem; }
h1 { font-family: var(--serif); font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem); font-weight: 400; letter-spacing: -0.015em; }
h2 { font-family: var(--serif); font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.1rem); font-weight: 400; }
h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: 0.01em; }

p { margin: 0 0 1.05rem; color: var(--ink-2); }
p.lead { font-size: 1.14rem; color: var(--ink); max-width: 56ch; }

.eyebrow { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.85rem; }

.breadcrumb { font-size: 0.76rem; letter-spacing: 0.06em; color: var(--ink-3); margin: 0 0 1.2rem; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin-inline: 0.45rem; }

/* ---------------------------------------------------------------- hero */

/* The full-bleed hero is the structural signature of this family: the image runs to both edges and
   the copy sits over it, rather than the two sitting side by side. */
.hero { position: relative; overflow: hidden; background: var(--surface); }
.hero-media { position: relative; }
.hero-media img { width: 100%; max-height: 74vh; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 16 14 / .18) 0%, rgb(18 16 14 / .55) 55%, rgb(18 16 14 / .92) 100%); }
.hero-copy { position: relative; margin-top: -18vh; padding-bottom: clamp(2.4rem, 1.4rem + 3vw, 4rem); }
.hero-copy .lead { max-width: 52ch; }
.hero-figure { margin: 0; background: var(--surface); border: 1px solid var(--rule); }
.hero-figure img { width: 100%; }
.hero-figure figcaption { font-size: 0.74rem; letter-spacing: 0.04em; color: var(--ink-3); padding: 0.65rem 0.95rem; border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- bands */

.band { padding: clamp(2.6rem, 1.6rem + 3.6vw, 5rem) 0; }
.band + .band { border-top: 1px solid var(--rule); }
.band-tight { padding: clamp(1.8rem, 1.2rem + 2vw, 3rem) 0; }
.section-head { max-width: 64ch; margin-bottom: 2rem; }

/* the three-column feature band */
.features { display: grid; gap: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature { display: flex; flex-direction: column; gap: 0.55rem; }
.feature .num { font-family: var(--serif); font-size: 2.1rem; color: var(--accent); line-height: 1; }
.feature h3 { margin: 0; }
.feature p { margin: 0; font-size: 0.95rem; }

/* the callout band: a single statement, centred, on the raised surface */
.callout { background: var(--surface-2); text-align: center; }
.callout blockquote { margin: 0 auto; max-width: 42ch; font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); line-height: 1.35; color: var(--ink); }
.callout cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

/* the proof band: three figures with a label each */
.proof { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.proof figure { margin: 0; }
.proof strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); color: var(--accent); line-height: 1.1; }
.proof span { display: block; font-size: 0.86rem; color: var(--ink-2); margin-top: 0.3rem; }

/* the closing call to action */
.cta { background: var(--surface); text-align: center; }
.cta h2 { margin-bottom: 1rem; }

/* ---------------------------------------------------------------- grids */

.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }

.card { background: var(--surface); border: 1px solid var(--rule); padding: 1.35rem 1.4rem 1.55rem; display: flex; flex-direction: column; gap: 0.5rem; }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: 0.94rem; }
.card .tag { font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.card a.more { font-size: 0.86rem; margin-top: auto; }

.product-card { background: var(--surface); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.product-card img { border-bottom: 1px solid var(--rule); }
.product-card .body { padding: 1.15rem 1.3rem 1.45rem; display: flex; flex-direction: column; gap: 0.45rem; }
.product-card h3 { margin: 0; }
.product-card .body p { margin: 0; font-size: 0.93rem; }
.product-card .body a.more { margin-top: 0.5rem; font-size: 0.86rem; }

/* ---------------------------------------------------------------- data */

.spec-list { margin: 0 0 1.4rem; }
.spec-list > div { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: 0.25rem 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .spec-list > div { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); } }
.spec-list dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0; }
.spec-list dd { margin: 0; color: var(--ink); font-size: 0.95rem; }

.table-scroll { overflow-x: auto; margin: 0 0 1.4rem; border: 1px solid var(--rule); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 32rem; }
caption { text-align: left; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); padding: 0.8rem 1rem; border-bottom: 1px solid var(--rule); }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--rule); font-size: 0.93rem; }
thead th { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
tbody th { color: var(--ink); font-weight: 600; }
tbody td { color: var(--ink-2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- notes */

details { background: var(--surface); border: 1px solid var(--rule); padding: 1rem 1.2rem; margin: 0 0 0.8rem; }
summary { cursor: pointer; font-weight: 600; font-size: 0.97rem; color: var(--ink); }
summary::marker { color: var(--accent); }
details p { margin: 0.68rem 0 0; font-size: 0.94rem; }

.note { font-size: 0.85rem; color: var(--ink-2); background: var(--surface-2); padding: 0.75rem 1rem; margin: 0 0 1.4rem; border-left: 3px solid var(--accent); }

.demo-band { background: var(--surface-2); color: var(--ink-2); padding: 0.75rem 1.1rem; font-size: 0.8rem; letter-spacing: 0.04em; margin: 0; }
.demo-band strong { color: var(--accent); letter-spacing: 0.12em; }

/* ---------------------------------------------------------------- links */

.link-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.link-row a { font-size: 0.87rem; letter-spacing: 0.04em; border: 1px solid var(--rule); padding: 0.7rem 1.3rem; color: var(--ink); background: transparent; }
.link-row a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.link-row a.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.link-row a.primary:hover { background: var(--glow); border-color: var(--glow); color: var(--accent-ink); }
.cta .link-row { justify-content: center; }

.next-links { display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 1.5rem; }
.next-links a { background: var(--surface); border: 1px solid var(--rule); padding: 0.95rem 1.1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.next-links a span { font-size: 0.67rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.next-links a b { font-weight: 500; font-size: 1rem; color: var(--ink); }
.next-links a:hover { border-color: var(--accent); text-decoration: none; }
.next-links a:hover b { color: var(--accent); }

/* ---------------------------------------------------------------- footer */

.site-foot { border-top: 1px solid var(--rule); background: var(--surface-2); padding: 2rem 0 3rem; }
.site-foot p { font-size: 0.85rem; color: var(--ink-3); }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-bottom: 1rem; }
.site-foot .links a { font-size: 0.84rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- utilities */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 0.7rem 1.1rem; z-index: 40; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
main:focus { outline: none; }
/* Added for batch B: the spacing previously set inline, which the preview policy blocks. */
.section-head { margin-top: 2rem; }
