/* ALOXE — architectural lighting. Light (Ivory) is the default; dark (Carbon) is the opt-in night stage.
   Colours follow the brand palette in src/brand.mjs. */
:root {
  --bg: #f5f3ee;
  --bg-2: #eeebe4;
  --surface: #ffffff;
  --surface-2: #f0ede6;
  --line: rgba(20, 18, 14, 0.09);
  --line-2: rgba(20, 18, 14, 0.18);
  --text: #121212;
  --muted: #5e5b54;
  --faint: #8d8a82;
  --accent: #d7262c;
  --accent-ink: #fff;
  --glow: #f2a93b;
  --glow-soft: rgba(242, 169, 59, 0.14);
  --tile: #f0eeea;
  --tile-ink: #141414;
  --shadow: 0 30px 60px -34px rgba(40, 30, 10, 0.35);
  --banner-veil: linear-gradient(90deg, rgba(10, 10, 11, 0.8), rgba(10, 10, 11, 0.3) 70%), linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, 0.6));
  --radius: 18px;
  --wrap: 1240px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Jost", "Futura", var(--sans);
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --surface: #151518;
  --surface-2: #1c1c20;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f3ee;
  --muted: #a19e96;
  --faint: #6c6a64;
  --accent: #e3262b;
  --glow: #ffcf86;
  --glow-soft: rgba(255, 207, 134, 0.16);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --banner-veil: linear-gradient(90deg, rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0.35) 70%), linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, 0.7));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
em.s, .serif { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  font: 500 14px/1 var(--sans); letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { border-color: var(--text); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { box-shadow: 0 10px 30px -10px var(--accent); }
.btn.glow { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn svg { flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.logo svg { height: 19px; width: auto; display: block; }
.logo small { font: 500 10px/1.2 var(--mono); letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; border-left: 1px solid var(--line-2); padding-left: 12px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: transparent;
  transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--text); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.menu-btn { display: none; }
.header-cta { padding: 11px 18px; }
@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-120%); transition: transform 0.35s ease; z-index: -1;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); background: none !important; }
  .menu-btn { display: grid; }
  .header-cta { display: none; }
  .logo small { display: none; }
}

/* ---------- hero (spotlight) ---------- */
.hero {
  position: relative; min-height: min(calc(100svh - 72px), 900px); overflow: hidden;
  display: grid; align-items: end; isolation: isolate;
  --mx: 70%; --my: 35%;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; filter: brightness(0.95) saturate(1.1) contrast(1.05); transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; transform: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(640px circle at var(--mx) var(--my), transparent 0, rgba(10,10,11,0.1) 40%, rgba(10,10,11,0.55) 75%),
    linear-gradient(90deg, rgba(10,10,11,0.82) 0%, rgba(10,10,11,0.35) 55%, rgba(10,10,11,0.1)),
    linear-gradient(180deg, rgba(10,10,11,0.15) 40%, rgba(10,10,11,0.92) 96%);
  transition: background 0.1s;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(255, 207, 134, 0.35), transparent 65%);
}
.hero-beam {
  position: absolute; top: -10%; left: var(--mx); width: 2px; height: 0; z-index: -1;
}
.hero-inner { padding: 120px 0 72px; color: #f4f2ed; }
.hero h1 { font-size: clamp(48px, 9.5vw, 148px); font-weight: 400; letter-spacing: -0.035em; line-height: 0.95; max-width: 11ch; }
.hero h1 .serif { color: var(--glow); }
.hero .lead { color: rgba(244, 242, 237, 0.72); margin: 28px 0 36px; }
.hero .btn { border-color: rgba(255,255,255,0.3); color: #fff; }
.hero .btn.primary { border-color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px;
}
.hero-meta div { font: 400 13px/1.5 var(--sans); color: rgba(244,242,237,0.6); }
.hero-meta strong { display: block; font: 500 clamp(26px, 3vw, 40px)/1.1 var(--display); color: #fff; letter-spacing: -0.03em; }
@media (max-width: 700px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font: 400 clamp(22px, 3vw, 36px)/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--accent); font-size: 0.5em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5.5vw, 76px); max-width: 14ch; margin-top: 18px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { max-width: 18ch; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: gap 0.25s, border-color 0.25s; }
.link-arrow:hover { gap: 16px; border-color: var(--text); }

/* ---------- category bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 14px; }
.bento .cat-card:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.bento .cat-card:nth-child(2), .bento .cat-card:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.bento .cat-card { grid-column: span 3; }
.bento .cat-card:nth-child(4), .bento .cat-card:nth-child(5) { grid-column: span 6; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .bento .cat-card, .bento .cat-card:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .bento .cat-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff; min-height: 220px;
}
.cat-card .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter 0.6s; filter: brightness(0.5) saturate(0.85); }
.cat-card .float { position: absolute; right: 6%; top: 12%; width: 52%; height: 58%; object-fit: contain; z-index: -1; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.55)); transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover .bg { transform: scale(1.06); filter: brightness(0.62) saturate(1); }
.cat-card:hover .float { transform: translateY(-6px) scale(1.04); }
.bento .cat-card:nth-child(1) .float { width: 48%; height: 66%; top: 10%; }
.bento .cat-card:nth-child(n + 6) .float, .rail .cat-card .float { width: 44%; height: 44%; top: 9%; right: 5%; }
.bento .cat-card:nth-child(4) .float, .bento .cat-card:nth-child(5) .float { width: 34%; height: 70%; top: 8%; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 9, 0.9)); }
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(380px circle at var(--cx, 50%) var(--cy, 30%), rgba(255, 207, 134, 0.35), transparent 60%);
  mix-blend-mode: soft-light;
}
.cat-card:hover::after { opacity: 1; }
.cat-card .num { position: absolute; top: 18px; left: 22px; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; opacity: 0.75; }
.cat-card .count { position: absolute; top: 14px; right: 16px; font: 500 11px/1 var(--mono); padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); }
.cat-card h3 { font-size: clamp(22px, 2.2vw, 32px); }
.cat-card p { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,0.72); max-width: 34ch; }
.cat-card h3, .cat-card p { position: relative; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-grid .app-card:nth-child(3n + 2) { transform: translateY(48px); }
.app-grid .app-card:nth-child(3n + 2).reveal:not(.in) { transform: translateY(72px); }
@media (max-width: 900px) { .app-grid { grid-template-columns: repeat(2, 1fr); } .app-grid .app-card:nth-child(n) { transform: none; } }
@media (max-width: 560px) { .app-grid { grid-template-columns: 1fr; } }
.app-grid:has(.app-card:nth-child(4)) { padding-bottom: 48px; }
@media (max-width: 900px) { .app-grid:has(.app-card:nth-child(4)) { padding-bottom: 0; } }
.app-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border: 1px solid var(--line); }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter 0.6s; filter: brightness(0.85); }
.app-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,9,0) 35%, rgba(8,8,9,0.9)); }
.app-card:hover img { transform: scale(1.06); filter: brightness(1); }
.app-card .num { position: absolute; top: 22px; left: 26px; font: 500 12px/1 var(--mono); letter-spacing: 0.16em; opacity: 0.8; }
.app-card h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; letter-spacing: -0.035em; }
.app-card p { margin: 10px 0 14px; color: rgba(255,255,255,0.78); font-size: 15px; max-width: 30ch; }
.app-fams { font: 500 10.5px/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--glow); }
.app-go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); transition: background 0.3s, transform 0.3s; }
.app-card:hover .app-go { background: var(--accent); transform: rotate(-45deg); }

/* ---------- product rail / grid ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.p-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.35s, box-shadow 0.35s;
}
.p-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.p-card .ph { position: relative; aspect-ratio: 1 / 1; background: var(--tile); overflow: hidden; }
.p-card .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.p-card:hover .ph img { transform: scale(1.05); }
.p-card .ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--glow), transparent); transform: scaleX(0); transition: transform 0.5s; }
.p-card:hover .ph::after { transform: scaleX(1); }
.p-card .badge { position: absolute; top: 12px; left: 12px; font: 600 10px/1 var(--mono); letter-spacing: 0.1em; padding: 6px 8px; border-radius: 6px; background: rgba(10,10,11,0.78); color: #fff; backdrop-filter: blur(6px); }
.p-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card .code { font: 600 13px/1.2 var(--mono); letter-spacing: 0.04em; color: var(--accent); }
.p-card h3 { font: 500 18px/1.25 var(--display); letter-spacing: -0.015em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.chip { font: 500 11px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- inner banner (changi pattern, elevated) ---------- */
.banner {
  position: relative; isolation: isolate; overflow: hidden; color: #f4f2ed;
  padding: clamp(120px, 16vw, 220px) 0 clamp(48px, 6vw, 80px);
}
.banner-bg { position: absolute; inset: 0; z-index: -2; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--banner-veil); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 15% 100%, rgba(255,207,134,0.22), transparent 70%); }
.banner h1 { font-size: clamp(44px, 8vw, 112px); font-weight: 400; letter-spacing: -0.03em; }
.banner p { color: rgba(244,242,237,0.72); max-width: 60ch; margin: 18px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 26px; color: rgba(244,242,237,0.6); }
.crumbs a:hover { color: #fff; }
.crumbs li { list-style: none; display: inline-flex; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--accent); }
.crumbs { padding: 0; margin-top: 0; }

/* ---------- filter tabs ---------- */
.toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 36px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font: 500 13px/1 var(--sans); color: var(--muted); transition: all 0.25s;
}
.tabs button:hover { color: var(--text); border-color: var(--text); }
.tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tabs button small { font-family: var(--mono); opacity: 0.6; margin-left: 6px; }
.search { position: relative; min-width: min(100%, 320px); }
.search input {
  width: 100%; padding: 13px 16px 13px 44px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font: 400 14px/1 var(--sans);
}
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.no-results { text-align: center; color: var(--muted); padding: 48px 0; }
[data-item][hidden] { display: none !important; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cat-grid .cat-card { aspect-ratio: 4 / 5; }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: minmax(0, 1fr); } }
.pd-media { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 900px) { .pd-media { position: static; } }
.pd-photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tile); aspect-ratio: 1 / 1; border: 1px solid var(--line); cursor: zoom-in; }
.pd-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pd-photo.zoom img { transform: scale(2.4); }
.pd-sheet { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: left; width: 100%; transition: border-color 0.2s; }
.pd-sheet:hover { border-color: var(--line-2); }
.pd-sheet img { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--tile); }
.pd-sheet strong { display: block; font-weight: 500; }
.pd-sheet span { font-size: 13px; color: var(--muted); }
.pd-info .code { font: 600 14px/1 var(--mono); color: var(--accent); letter-spacing: 0.06em; }
.pd-info h1 { font-size: clamp(38px, 5vw, 64px); margin: 14px 0 16px; }
.pd-info .lead { margin-bottom: 28px; }
.key-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
.key-specs div { background: var(--surface); padding: 16px 18px; }
.key-specs dt { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.key-specs dd { margin: 0; font: 500 20px/1.2 var(--display); letter-spacing: -0.02em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 28px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font: 500 12px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-right: 16px; }
.cct-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cct { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); padding: 7px 10px 7px 7px; border-radius: 99px; border: 1px solid var(--line); }
.cct i { width: 16px; height: 16px; border-radius: 50%; background: var(--k, #fff); box-shadow: 0 0 10px 1px var(--k, #fff); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.note { font-size: 13px; color: var(--faint); }
.pd-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; border-top: 1px solid var(--line); padding-top: 24px; }
.pd-nav a { display: flex; flex-direction: column; gap: 6px; max-width: 45%; }
.pd-nav a:last-child { text-align: right; margin-left: auto; }
.pd-nav small { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(5,5,6,0.88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 90vh; width: auto; border-radius: 12px; margin-inline: auto; }
.lightbox .close { position: fixed; top: 16px; right: 16px; background: #fff; color: #111; border: 0; }

/* ---------- catalogue band ---------- */
.cat-band { position: relative; overflow: hidden; border-radius: 28px; background: #0c0c0d; color: #f4f2ed; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; border: 1px solid var(--line); isolation: isolate; }
.cat-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 400px at 85% 40%, rgba(227,38,43,0.28), transparent 70%), radial-gradient(400px 300px at 10% 110%, rgba(255,207,134,0.2), transparent 70%); }
.cat-band h2 { font-size: clamp(36px, 5vw, 68px); margin: 18px 0; }
.cat-band p { color: rgba(244,242,237,0.7); max-width: 48ch; }
.cat-band .btn { color: #fff; border-color: rgba(255,255,255,0.3); }
.cat-band .eyebrow { color: rgba(244,242,237,0.6); }
@media (max-width: 860px) { .cat-band { grid-template-columns: 1fr; } }
.book { perspective: 1400px; display: grid; place-items: center; min-height: 340px; }
.book-cover {
  width: min(250px, 62vw); aspect-ratio: 1 / 1.414; border-radius: 4px 12px 12px 4px; position: relative; overflow: hidden;
  background: #0b0b0c; box-shadow: -18px 30px 60px rgba(0,0,0,0.6), inset 6px 0 0 rgba(255,255,255,0.05);
  transform: rotateY(-24deg) rotateX(8deg) rotateZ(-2deg); transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
  border-top: 6px solid var(--accent);
}
.book:hover .book-cover { transform: rotateY(-8deg) rotateX(3deg); }
.book-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- feature strip ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.feats div { padding: 28px 24px 0 0; }
.feats strong { display: block; font: 400 clamp(34px, 4vw, 56px)/1 var(--display); letter-spacing: -0.025em; margin-bottom: 10px; }
.feats span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .feats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea, .form select { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 400 15px/1.4 var(--sans); text-transform: none; letter-spacing: 0; }
.form textarea { min-height: 140px; resize: vertical; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.info-list { display: grid; gap: 22px; margin: 0; }
.info-list dt { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info-list dd { margin: 0; font: 400 20px/1.35 var(--display); letter-spacing: -0.01em; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.big-quote { font: 400 clamp(32px, 4.6vw, 64px)/1.08 var(--display); letter-spacing: -0.025em; }
.big-quote .serif { color: var(--accent); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillars .card h3 { font-size: 24px; margin: 18px 0 10px; }
.pillars .card p { color: var(--muted); margin: 0; }
.pillars .card .n { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: 0.14em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer ul a { color: var(--muted); transition: color 0.2s; }
.site-footer ul a:hover { color: var(--text); }
.footer-word { margin: 72px 0 28px; color: var(--line-2); user-select: none; }
.footer-word svg { width: 100%; height: auto; display: block; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--faint); }

/* ---------- reveal ---------- */
.p-card.reveal { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .spec-table th { width: 42%; letter-spacing: 0.06em; }
  .pd-actions .btn { flex: 1 1 auto; justify-content: center; }
  .contact-grid, .cat-band { min-width: 0; }
}

/* ---------- brand ---------- */
.brand-hero { position: relative; isolation: isolate; overflow: hidden; background: #0a0a0b; color: #f5f3ee; padding: clamp(110px, 14vw, 190px) 0 clamp(60px, 8vw, 110px); }
.brand-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 360px at 50% 55%, rgba(242,169,59,.22), transparent 70%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px; }
.brand-hero .crumbs { color: rgba(245,243,238,.6); }
.brand-mark { width: min(820px, 100%); margin: 40px auto 0; }
.brand-mark svg { width: 100%; height: auto; display: block; }
.brand-claim { text-align: center; font: 400 clamp(26px, 3.4vw, 46px)/1.1 var(--display); letter-spacing: -0.035em; margin: 48px 0 0; }
.brand-claim .s { color: var(--glow); }
.bv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .bv-grid { grid-template-columns: minmax(0, 1fr); } }
.bv { margin: 0; }
.bv-art { border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(36px, 7vw, 80px); display: grid; place-items: center; aspect-ratio: 16 / 9; }
.bv-art svg { width: 100%; height: auto; display: block; }
.bv figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bv-files { display: flex; gap: 14px; }
.bv-files a { color: var(--accent); }
.sym-row { display: flex; align-items: flex-end; gap: 18px; }
.sym-row svg { width: 100%; height: auto; display: block; }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.swatch { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding-bottom: 14px; }
.swatch i { display: block; aspect-ratio: 1 / 0.8; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.swatch b { display: block; padding: 0 14px; font: 500 17px/1.2 var(--display); }
.swatch code { display: block; padding: 0 14px; font: 500 11px/1.7 var(--mono); color: var(--muted); }
.swatch p { padding: 0 14px; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.type-grid > div { border-top: 1px solid var(--text); padding-top: 18px; }
.type-grid .ts { font-size: clamp(64px, 8vw, 110px); line-height: 1; margin: 18px 0; }
.type-grid b { display: block; font-weight: 600; }
.type-grid small { color: var(--muted); }
.dl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); transition: background .25s, border-color .25s; }
.dl:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.dl span { font-weight: 500; }
.dl small { font: 500 11px/1.4 var(--mono); color: rgba(245,243,238,.6); letter-spacing: .06em; }
.dl svg { position: absolute; top: 16px; right: 16px; }

/* product page: application photo */
.pd-app { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 25 / 16; border: 1px solid var(--line); background: var(--surface-2); }
.pd-app img { width: 100%; height: 100%; object-fit: cover; }
.pd-app figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font: 500 15px/1.3 var(--display); background: linear-gradient(180deg, transparent, rgba(8,8,9,.8)); }
.pd-app figcaption span { display: block; font: 600 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--glow); margin-bottom: 6px; }
