/* Lightstead Lighting — v2.1 "warm glow" identity. Light pages, dark hero bands, electric-amber signature. */
:root {
  --bg: #FFFFFF;
  --bg-2: #F5F3EF;
  --ink: #0F1115;
  --ink-2: #474B55;
  --ink-3: #80848E;
  --night: #0B0D12;          /* dark bands */
  --night-2: #161A22;
  --line: #E7E4DE;
  --line-2: #D5D1C8;
  --glow: #FFB21E;           /* signature: electric amber */
  --glow-2: #FF7A1A;         /* hotter orange for gradients */
  --glow-soft: #FFF3D6;
  --volt: #2B4BFF;           /* secondary accent (links/focus) */
  --ok: #1F7A3A;
  --warn-bg: #FFF6E0;
  --warn-line: #F2C66A;
  --display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 14px;
  --wrap: 1200px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--volt); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.preview-bar { background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); font-size: 13px; color: #6B4A10; text-align: center; padding: 8px 16px; }

/* ---------- header ---------- */
.site-header { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; flex-wrap: wrap; }
.wordmark { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.wordmark .mark { width: 30px; height: 30px; flex: none; }
.wordmark b { font: 700 21px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.wordmark i { font: 500 10.5px/1 var(--sans); font-style: normal; letter-spacing: .32em; text-transform: uppercase; opacity: .7; display: block; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: rgba(255,255,255,.82); font: 500 15px/1 var(--display); padding: 10px 14px; border-radius: 999px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--glow); border-radius: 0; }
.nav a.btn { margin-left: 8px; }
.nav a.btn-glow, .nav a.btn-glow:hover { color: var(--ink); background: var(--glow); box-shadow: none; border-radius: 999px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--display); letter-spacing: .01em; text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-glow { background: var(--glow); color: var(--ink); }
.btn-glow:hover { background: #FFC24A; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- type ---------- */
.tag-label { display: inline-block; font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--glow); padding: 7px 10px; border-radius: 4px; }
.eyebrow { font: 600 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #B26B00; }
h1, h2, h3 { margin: 0; }
.h1 { font: 700 clamp(40px, 6.2vw, 76px)/1.02 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.h2 { font: 700 clamp(30px, 3.8vw, 44px)/1.08 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.lead { font-size: 18.5px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
section { padding-block: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head .h2 { margin-top: 12px; }

/* ---------- glow field (our own CSS light art) ---------- */
.glowfield { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.glowfield span { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,140,.95) 0%, rgba(255,170,40,.55) 30%, rgba(255,140,20,0) 70%); filter: blur(1px); }
.glowfield span.cool { background: radial-gradient(circle, rgba(235,240,255,.9) 0%, rgba(190,205,255,.35) 35%, rgba(150,170,255,0) 70%); }
.glowfield .wire { position: absolute; left: -5%; right: -5%; height: 160px; border-top: 1.5px solid rgba(255,255,255,.14); border-radius: 50%; }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(120% 140% at 85% 10%, #2A1C08 0%, var(--night) 55%); color: #fff; padding-block: 88px 96px; overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .tag-label { margin-bottom: 22px; }
.hero .h1 { margin-bottom: 20px; }
.hero .h1 em { font-style: normal; color: var(--glow); }
.hero .lead { color: rgba(255,255,255,.78); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transform: rotate(-2deg); }
.hero-cards .tile { background: #fff; border-radius: var(--radius); aspect-ratio: 1; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.hero-cards .tile:nth-child(2) { transform: translateY(26px); }
.hero-cards .tile:nth-child(4) { transform: translateY(26px); }
.hero-cards .tile img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }

/* ---------- category icon row ---------- */
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.cat-ico { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 10px; text-decoration: none; color: var(--ink); border-radius: var(--radius); text-align: center; transition: background .15s; }
.cat-ico:hover { background: var(--bg-2); }
.cat-ico svg { width: 64px; height: 64px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cat-ico:hover svg { transform: translateY(-3px); }
.cat-ico svg .hot { stroke: #E89400; }
.cat-ico b { font: 600 15.5px/1.25 var(--display); }

/* ---------- spotlight bands ---------- */
.spot { position: relative; background: linear-gradient(100deg, var(--night) 0%, var(--night-2) 60%, #23180A 100%); color: #fff; overflow: hidden; isolation: isolate; }
.spot .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spot.flip .wrap > :first-child { order: 2; }
.spot .h2 { margin: 18px 0 14px; }
.spot p { color: rgba(255,255,255,.76); font-size: 17.5px; max-width: 52ch; margin: 0 0 26px; }
.spot-stage { position: relative; aspect-ratio: 4/3; display: grid; place-items: center; }
.spot-stage::before { content: ""; position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,178,30,.35) 0%, rgba(255,178,30,0) 65%); }
.spot-stage .card-img { position: relative; background: #fff; border-radius: 18px; width: 62%; aspect-ratio: 1; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.spot-stage .card-img img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.spot-stage .card-img.b { position: absolute; width: 36%; right: 4%; bottom: 2%; transform: rotate(6deg); }
.spot-list { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 26px; padding: 0; list-style: none; }
.spot-list li { font: 500 13.5px/1 var(--sans); color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 8px 12px; }

/* ---------- color block CTA ---------- */
.block { border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.block-glow { background: linear-gradient(110deg, #FFC43D 0%, #FF9A1F 55%, #FF6B1A 100%); color: var(--ink); }
.block-glow::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 65%); }
.block .h2 { margin-bottom: 10px; }
.block p { margin: 0; font-size: 17.5px; color: rgba(15,17,21,.82); max-width: 54ch; }
.block .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }

/* brands */
.brands { display: flex; gap: 12px; flex-wrap: wrap; }
.brand-chip { font: 600 16px/1 var(--display); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 12px 20px; color: var(--ink); text-decoration: none; }
.brand-chip:hover { border-color: var(--ink); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .2s, transform .2s; }
.card:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(15,17,21,.12); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card .ph { aspect-ratio: 1; position: relative; background: #fff; }
.card .ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--glow), var(--glow-2)); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.card:hover .ph::after { transform: scaleX(1); }
.card .ph img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.ph-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--ink-3); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.card .brandline { font: 600 11.5px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #B26B00; }
.card h3 { font: 600 17px/1.28 var(--display); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .keyspecs { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.tag { font-size: 12px; background: var(--bg-2); border-radius: 999px; padding: 4px 10px; color: var(--ink-2); }

/* ---------- catalog ---------- */
.page-hero { background: var(--night); color: #fff; padding-block: 48px 40px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .h1 { font-size: clamp(36px, 5vw, 56px); margin: 14px 0 10px; }
.page-hero .lead { color: rgba(255,255,255,.75); margin: 0; }
.toolbar { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin: -28px 0 18px; position: relative; z-index: 2; background: #fff; padding: 12px; border-radius: 16px; box-shadow: 0 12px 30px rgba(15,17,21,.12); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.chip { font: 600 14px/1 var(--display); background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; }
.input, select.input, textarea.input { font: 15.5px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px 14px; width: 100%; }
.input:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(255,178,30,.25); }
.count { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-3); border: 1.5px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- product detail ---------- */
.crumbs { font-size: 13.5px; color: var(--ink-3); padding-block: 20px 0; }
.crumbs a { color: var(--ink-3); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 24px 64px; align-items: start; }
.pd-photo { margin: 0; background: radial-gradient(circle at 50% 45%, #FFF8E6 0%, #fff 60%); border: 1px solid var(--line); border-radius: 22px; aspect-ratio: 1; position: relative; position: sticky; top: 96px; }
.pd-photo img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.pd-photo figcaption { position: absolute; bottom: 12px; right: 16px; font-size: 11.5px; color: var(--ink-3); }
.pd .brandline { margin-bottom: 14px; }
.pd h1 { font: 700 clamp(32px, 4vw, 46px)/1.06 var(--display); letter-spacing: -.015em; margin-bottom: 16px; }
.pd .desc { color: var(--ink-2); font-size: 17px; margin: 0 0 24px; }
.pd .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pd .fine { font-size: 13px; color: var(--ink-3); margin: 0 0 30px; }
table.specs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.specs th, table.specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs tr:last-child th, table.specs tr:last-child td { border-bottom: 0; }
table.specs th { width: 40%; font-weight: 500; color: var(--ink-3); background: var(--bg-2); }
.pd h2 { font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 32px 0 12px; }
.doclink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.related { background: var(--bg-2); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 10px 30px rgba(15,17,21,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font: 600 14px/1.3 var(--display); }
label .opt { font-weight: 400; color: var(--ink-3); }
.err { font-size: 13px; color: #B3261E; }
.input[aria-invalid="true"] { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; }
.notice { border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #6B4A10; margin-bottom: 18px; }
.notice.ok { border-color: #B9D8BF; background: #EEF7EF; color: var(--ok); }

/* ---------- about ---------- */
.prose { max-width: 70ch; }
.prose p { color: var(--ink-2); font-size: 17.5px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.facts div { background: var(--bg-2); border-radius: var(--radius); padding: 20px; }
.facts b { display: block; font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #B26B00; margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.75); margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-block: 56px 40px; font-size: 14.5px; }
.site-footer .wordmark { color: #fff; margin-bottom: 14px; }
.site-footer h4 { margin: 0 0 12px; font: 700 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--glow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.5); }

@media (max-width: 920px) {
  .hero .wrap, .spot .wrap, .pd, .block { grid-template-columns: 1fr; }
  .spot.flip .wrap > :first-child { order: 0; }
  .hero-cards { max-width: 440px; }
  .pd-photo { position: relative; top: 0; }
  .block .actions { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  section { padding-block: 52px; }
  .hero { padding-block: 56px 72px; }
  .hero-cards { gap: 10px; }
  .block { padding: 28px; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .search { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .body { padding: 12px; }
  .card h3 { font-size: 15px; }
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .cat-ico { padding: 14px 4px; }
  .cat-ico svg { width: 48px; height: 48px; }
  .cat-ico b { font-size: 13.5px; }
  .site-header { position: static; }
  .site-header .wrap { min-height: 60px; padding-block: 8px; }
  .chips { display: none; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: 8px 8px; font-size: 14px; }
  .nav a.btn { margin-left: 0; padding: 9px 12px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .btn:hover, .card:hover { transform: none; } }
