/* ─────────────────────────────────────────────────────────
   ALUXIL — global stylesheet
   ───────────────────────────────────────────────────────── */

:root {
  /* Base palette — light */
  --bg:           #F6F5F3;
  --surface:      #FFFFFF;
  --surface-2:    #EFEDE8;
  --fg:           #141414;
  --fg-2:         #2A2A28;
  --muted:        #6B6B68;
  --muted-2:      #9A9994;
  --border:       #E1DED8;
  --border-2:     #D1CEC7;

  /* Accent — defaults to warm orange. Overridden by tweaks. */
  --accent:       oklch(64% 0.14 47);
  --accent-ink:   #FFFFFF;
  --accent-soft:  oklch(96% 0.02 47);

  /* Aluminum sheen for product blocks */
  --alu-1:        #DCDAD5;
  --alu-2:        #B8B6B1;
  --alu-3:        #8A8884;
  --anthracite:   #1F1F1D;

  /* Type */
  --font-display: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-text:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Scale */
  --max:          1440px;
  --pad-x:        clamp(20px, 4vw, 64px);
  --gap:          24px;
  --radius:       4px;
  --radius-lg:    12px;

  /* Motion */
  --ease:         cubic-bezier(.2, .8, .2, 1);
}

[data-theme="dark"] {
  --bg:           #0E0E0D;
  --surface:      #161614;
  --surface-2:    #1F1F1D;
  --fg:           #F4F2EE;
  --fg-2:         #E8E5DF;
  --muted:        #8A8884;
  --muted-2:      #5C5B57;
  --border:       #2A2826;
  --border-2:     #3A3835;
  --alu-1:        #3A3835;
  --alu-2:        #4A4845;
  --alu-3:        #6A6863;
  --accent-soft:  oklch(28% 0.04 47);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { transition: background-color .3s var(--ease), color .3s var(--ease); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ── Type ───────────────────────────────────────────────── */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 7vw, 112px); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.6vw, 64px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; margin: 0; letter-spacing: -0.01em; }

p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 2px;
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  font-weight: 400;
  color: var(--fg-2);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.muted { color: var(--muted); }
.mono  { font-family: var(--font-mono); font-feature-settings: "tnum"; }

/* ── Layout primitives ──────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(72px, 9vw, 140px);
}
.section.tight { padding-block: clamp(48px, 6vw, 88px); }

.row { display: flex; gap: var(--gap); }
.col { display: flex; flex-direction: column; gap: var(--gap); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--fg);
  color: var(--bg);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--fg); color: var(--bg); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); gap: 12px; }
.link-arrow .arr { color: var(--accent); }

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.brand .mark {
  width: 26px; height: 26px;
  background: var(--fg);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 2px;
}

/* ALUXIL wordmark logo (header + mobile sheet). The source PNG is a white,
   transparent silhouette. On the light header we invert it to near-black; in
   dark mode we leave it white — one asset, both themes. */
.brand-logo {
  display: block;
  height: 30px;
  width: auto;
  filter: invert(1);
}
[data-theme="dark"] .brand-logo { filter: none; }
@media (max-width: 560px) { .brand-logo { height: 26px; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--fg-2);
  font-weight: 450;
  border-radius: var(--radius);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
}
/* Nav dropdown (desktop hover menus for Produkte / Dachoptionen) */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a { gap: 7px; }
.nav-links .caret {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
  opacity: .55;
}
.nav-links .has-sub:hover .caret,
.nav-links .has-sub:focus-within .caret { transform: rotate(225deg) translateY(1px); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  padding-top: 12px;            /* bridges the gap so hover doesn't drop */
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 60;
}
.nav-links .has-sub:hover .nav-dropdown,
.nav-links .has-sub:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown > ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -22px rgba(0,0,0,.4);
}
.nav-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--fg);
  transition: background-color .15s var(--ease);
}
.nav-dropdown a:hover { background: var(--surface-2); color: var(--fg); }
.nav-dropdown a:hover .dd-title { color: var(--accent); }
.nav-dropdown .dd-title { font-size: 14px; font-weight: 500; transition: color .15s var(--ease); }
.nav-dropdown .dd-desc { font-size: 12px; color: var(--muted); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--fg);
  position: relative;
}
.menu-btn span::before, .menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 1.5px;
  background: var(--fg);
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after  { top: 5px; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn  { display: inline-flex; }
  .nav-cta .btn-cta-desktop { display: none; }
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--anthracite);
  color: #B8B6B1;
  padding-block: 96px 32px;
  margin-top: 0;
}
.site-footer .f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.site-footer h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: #F4F2EE;
  margin: 0 0 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #B8B6B1; font-size: 14px; transition: color .2s var(--ease); }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .brand { color: #FFFFFF; }
.site-footer .brand .mark { background: #FFFFFF; color: var(--anthracite); }
.site-footer .legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  margin-top: 64px;
  border-top: 1px solid #2A2A28;
  font-size: 13px;
  color: #6B6B68;
}
.site-footer .legal-links {
  display: flex; gap: 24px; flex-wrap: wrap;
}
@media (max-width: 900px) {
  .site-footer .f-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .35s var(--ease);
}
.card:hover { border-color: var(--border-2); }
.card .card-body { padding: 24px; }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-4px); }
.product-card .ph {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--alu-1), var(--alu-2));
  position: relative;
}
.product-card .meta {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card .meta .system-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.product-card .meta h3 { letter-spacing: -0.025em; }
.product-card .meta .desc { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }
.product-card .meta .more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--accent);
}

/* ── Image placeholder slot (works alongside image-slot.js) */
.ph-photo {
  position: relative;
  background:
    linear-gradient(135deg, var(--alu-1), var(--alu-2) 55%, var(--alu-3));
  overflow: hidden;
}
.ph-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 22px,
      color-mix(in oklab, var(--fg) 5%, transparent) 22px 23px);
  mix-blend-mode: multiply;
  opacity: .35;
}
/* Suppress the placeholder stripe texture once a real photo is wired in */
.ph-photo:has(img)::after,
.ph-photo:has(picture)::after,
.ph-photo:has(.ph-illu)::after { display: none; }

/* Temporary line-illustration placeholder (used where no real photo exists yet,
   e.g. Carport). Theme-adaptive via --fg, so it reads in light and dark mode. */
.ph-illu {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--alu-1), var(--alu-2) 55%, var(--alu-3));
}
.ph-illu svg {
  width: min(60%, 280px); height: auto;
  fill: none;
  stroke: color-mix(in oklab, var(--fg) 52%, transparent);
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.ph-illu .beam, .ph-illu .post, .ph-illu .panel { fill: color-mix(in oklab, var(--fg) 13%, transparent); }
.ph-illu .car, .ph-illu .rib { stroke: color-mix(in oklab, var(--fg) 38%, transparent); }
.ph-illu .ph-illu-label {
  position: absolute; right: 16px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in oklab, var(--fg) 52%, transparent);
}
.ph-photo .ph-label {
  position: absolute;
  left: 16px; top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--anthracite);
  background: color-mix(in oklab, white 80%, transparent);
  padding: 6px 10px;
  border-radius: 2px;
  z-index: 1;
}

/* ── Stat blocks ────────────────────────────────────────── */
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 0;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  background: var(--surface);
}
.badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Form ───────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--font-text);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ── Page hero ──────────────────────────────────────────── */
.page-hero {
  padding-block: clamp(80px, 10vw, 140px) clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { max-width: 56ch; margin-top: 24px; }

/* ── Utility ────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }
.bg-surface  { background: var(--surface); }
.bg-anthracite { background: var(--anthracite); color: #F4F2EE; }
.bg-anthracite h1, .bg-anthracite h2, .bg-anthracite h3 { color: #F4F2EE; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 80px); align-items: center; }
.split-2-tall { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 4vw, 80px); align-items: stretch; }
@media (max-width: 880px) { .split-2, .split-2-tall { grid-template-columns: 1fr; } }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 880px) { .three { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }

/* ── Tweaks panel ───────────────────────────────────────── */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  width: 260px;
  font-size: 13px;
  display: none;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.15), 0 2px 4px rgba(0,0,0,.05);
}
.tweaks-panel.is-on { display: block; }
.tweaks-panel h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.tweaks-panel .group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.tweaks-panel .swatches { display: flex; gap: 8px; }
.tweaks-panel .sw {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform .15s var(--ease);
}
.tweaks-panel .sw[aria-checked="true"] { border-color: var(--fg); }
.tweaks-panel .sw:hover { transform: scale(1.08); }
.tweaks-panel .seg {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.tweaks-panel .seg button {
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.tweaks-panel .seg button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}
.tweaks-panel .close {
  position: absolute;
  top: 10px; right: 10px;
  width: 24px; height: 24px;
  border: 0; background: transparent;
  cursor: pointer; color: var(--muted);
  font-size: 16px; line-height: 1;
}

/* ── Hero variants ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(640px, 90vh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute; inset: 0;
  background-image: url("images/home-carport.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1A1A18;
  z-index: 0;
}
.hero .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 30%, rgba(0,0,0,.65) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.0) 55%);
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 8vw, 96px);
  color: #FFFFFF;
  width: 100%;
}
.hero[data-variant="photo"] .hero-photo,
.hero[data-variant="type"] .hero-photo { display: none; }
.hero .hero-content h1 { color: #FFFFFF; max-width: 18ch; }
.hero .hero-content .lead { color: rgba(255,255,255,.78); max-width: 52ch; }
.hero .hero-eyebrow {
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
}
.hero .hero-eyebrow .dot { background: var(--accent); }
.hero .hero-meta {
  position: absolute;
  top: clamp(40px, 6vw, 64px);
  right: var(--pad-x);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero .hero-meta .key { color: rgba(255,255,255,.4); }

.hero-actions {
  display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap;
}
.hero-actions .btn-accent { background: var(--accent); }
.hero-actions .btn-ghost-light {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.3);
}
.hero-actions .btn-ghost-light:hover { background: #FFFFFF; color: var(--anthracite); border-color: #FFFFFF; }

/* Hero variant: split */
.hero[data-variant="split"] {
  align-items: stretch;
  min-height: 720px;
}
.hero[data-variant="split"] .hero-bg { display: none; }
.hero[data-variant="split"] .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: var(--fg);
  padding-block: 0;
}
.hero[data-variant="split"] .hero-content > .hero-text {
  padding-block: 96px;
  padding-right: 48px;
}
.hero[data-variant="split"] .hero-content h1 { color: var(--fg); max-width: 14ch; }
.hero[data-variant="split"] .hero-content .lead { color: var(--muted); }
.hero[data-variant="split"] .hero-content .hero-eyebrow { color: var(--muted); }
.hero[data-variant="split"] .hero-content .hero-eyebrow .dot { background: var(--accent); }
.hero[data-variant="split"] .hero-actions .btn-ghost-light {
  color: var(--fg);
  border-color: var(--border-2);
}
.hero[data-variant="split"] .hero-actions .btn-ghost-light:hover { background: var(--fg); color: var(--bg); }
.hero[data-variant="split"] .hero-content > .hero-photo {
  position: relative;
  min-height: 720px;
}
.hero[data-variant="split"] .hero-content > .hero-photo image-slot {
  position: absolute; inset: 0;
}
.hero[data-variant="split"] .hero-meta {
  top: auto; bottom: 24px; right: var(--pad-x);
  color: var(--muted);
}
.hero[data-variant="split"] .hero-meta .key { color: var(--muted-2); }

/* Hero variant: typographic */
.hero[data-variant="type"] {
  background: var(--bg);
  align-items: center;
  min-height: clamp(560px, 75vh, 760px);
}
.hero[data-variant="type"] .hero-bg { display: none; }
.hero[data-variant="type"] .hero-content { color: var(--fg); }
.hero[data-variant="type"] .hero-content h1 {
  color: var(--fg);
  font-size: clamp(64px, 11vw, 180px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  max-width: none;
}
.hero[data-variant="type"] .hero-content h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero[data-variant="type"] .hero-content .lead { color: var(--muted); max-width: 48ch; margin-top: 32px; }
.hero[data-variant="type"] .hero-content .hero-eyebrow { color: var(--muted); }
.hero[data-variant="type"] .hero-actions .btn-ghost-light {
  color: var(--fg); border-color: var(--border-2);
}
.hero[data-variant="type"] .hero-actions .btn-ghost-light:hover { background: var(--fg); color: var(--bg); }
.hero[data-variant="type"] .hero-meta { color: var(--muted); }
.hero[data-variant="type"] .hero-meta .key { color: var(--muted-2); }

@media (max-width: 880px) {
  .hero[data-variant="split"] .hero-content { grid-template-columns: 1fr; }
  .hero[data-variant="split"] .hero-content > .hero-photo { min-height: 360px; }
  .hero[data-variant="split"] .hero-content > .hero-text { padding-right: 0; padding-block: 64px 32px; }
}

/* ── Mobile menu sheet ──────────────────────────────────── */
.mobile-sheet {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 60;
  transform: translateY(-100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-sheet.is-open { transform: translateY(0); }
.mobile-sheet .sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  padding-inline: var(--pad-x);
  border-bottom: 1px solid var(--border);
}
.mobile-sheet ul {
  list-style: none; padding: var(--pad-x); margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-sheet ul a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 12px 0;
  display: block;
}
.mobile-sheet .sheet-foot { padding: var(--pad-x); margin-top: auto; }
.close-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  display: grid; place-items: center;
}
