/* ============================================================
   QUACKTORY · Portfolio 2021
   Visual language: Aristide-portfolio-2021 (editorial dark, four corners, filmstrip, vignette)
   ============================================================ */

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

html { scroll-behavior: smooth; }

html,
body { min-height: 100%; }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

:root {
  --bg: #1a1a1a;
  --fg: #ECECEC;
  --accent: #C8923C;
  --muted: #8A8A8A;
  --ink: #FFFFFF;
  --surface: #2A2A2A;
  --surface-2: #232323;
  --line: rgba(236, 236, 236, 0.10);
  --line-strong: rgba(236, 236, 236, 0.22);

  --glow-micro: #E8A0B0;
  --glow-classic: #7AB8C4;
  --glow-designer: #C8923C;
  --glow-mega: #D97842;
  --glow-architect: #6A8AAC;

  --tile-w: 200px;
  --tile-h: 340px;
  --pad-x: clamp(18px, 3vw, 36px);
  --pad-y: clamp(18px, 2.4vw, 28px);

  --font-display: 'Bebas Neue', 'Helvetica Neue Condensed', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  font-size: 14px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100vh;
  padding: var(--pad-y) var(--pad-x);
  position: relative;
  gap: 18px;
}

/* Decorative overlays */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 3px 3px;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.55) 100%);
}

/* ============================================================
   HEADER (top corners)
   ============================================================ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 10;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  font-size: 14px;
  color: var(--accent);
  line-height: 1;
  transform: translateY(-2px);
  text-shadow: 0 0 14px rgba(200,146,60,0.5);
}
.brand__type {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: 0.05em;
  line-height: 0.9;
  font-weight: 400;
}

.top-nav { display: flex; gap: 26px; align-items: center; }

.nav-link {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  font-weight: 400;
  transition: color 0.2s ease, border-color 0.2s ease, letter-spacing 0.2s ease;
}
.nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
  letter-spacing: 0.26em;
}

/* ============================================================
   SCALE RAIL (tick marks — 4cm to 3m)
   ============================================================ */
.scale-rail {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

.scale-rail__ticks {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 60px;
  width: min(540px, 90%);
}
.scale-rail__ticks span {
  display: block;
  width: 1px;
  background: var(--fg);
  opacity: 0.55;
  animation: tickPulse 4.2s ease-in-out infinite;
  transform-origin: bottom;
}
.scale-rail__ticks span:nth-child(1)  { height: 6px;  }
.scale-rail__ticks span:nth-child(2)  { height: 9px;  animation-delay: 0.10s; }
.scale-rail__ticks span:nth-child(3)  { height: 12px; animation-delay: 0.20s; }
.scale-rail__ticks span:nth-child(4)  { height: 16px; animation-delay: 0.30s; }
.scale-rail__ticks span:nth-child(5)  { height: 20px; animation-delay: 0.40s; }
.scale-rail__ticks span:nth-child(6)  { height: 26px; animation-delay: 0.50s; }
.scale-rail__ticks span:nth-child(7)  { height: 32px; animation-delay: 0.60s; }
.scale-rail__ticks span:nth-child(8)  { height: 38px; animation-delay: 0.70s; }
.scale-rail__ticks span:nth-child(9)  { height: 44px; animation-delay: 0.80s; opacity: 0.85; }
.scale-rail__ticks span:nth-child(10) { height: 50px; animation-delay: 0.90s; }
.scale-rail__ticks span:nth-child(11) { height: 54px; animation-delay: 1.00s; opacity: 0.9; background: var(--accent); }
.scale-rail__ticks span:nth-child(12) { height: 56px; animation-delay: 1.05s; background: var(--accent); }
.scale-rail__ticks span:nth-child(13) { height: 54px; animation-delay: 1.10s; background: var(--accent); }
.scale-rail__ticks span:nth-child(14) { height: 50px; animation-delay: 1.20s; }
.scale-rail__ticks span:nth-child(15) { height: 44px; animation-delay: 1.30s; }
.scale-rail__ticks span:nth-child(16) { height: 38px; animation-delay: 1.40s; }
.scale-rail__ticks span:nth-child(17) { height: 32px; animation-delay: 1.50s; }
.scale-rail__ticks span:nth-child(18) { height: 26px; animation-delay: 1.60s; }
.scale-rail__ticks span:nth-child(19) { height: 20px; animation-delay: 1.70s; }
.scale-rail__ticks span:nth-child(20) { height: 16px; animation-delay: 1.80s; }
.scale-rail__ticks span:nth-child(21) { height: 12px; animation-delay: 1.90s; }
.scale-rail__ticks span:nth-child(22) { height: 8px;  animation-delay: 2.00s; }

@keyframes tickPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.94); }
  50%      { opacity: 0.95; transform: scaleY(1); }
}

.scale-rail__labels {
  display: flex;
  justify-content: space-between;
  width: min(540px, 90%);
  font-family: var(--font-display);
}
.scale-rail__label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.scale-rail__label--end { color: var(--ink); }

.scale-rail__caption {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   HERO (duotone field + giant centered headline)
   ============================================================ */
.hero {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 0 12px;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 400;
}
.hero__eyebrow-mark {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 13.5vw, 220px);
  line-height: 0.84;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--accent); }
.hero__period { color: var(--accent); margin-left: -0.12em; }

.hero__divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 24px;
  position: relative;
}
.hero__divider::before,
.hero__divider::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}
.hero__divider::before { left: -3px; }
.hero__divider::after { right: -3px; }

.hero__manifesto {
  max-width: 580px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--fg);
  margin-bottom: 32px;
  letter-spacing: 0.005em;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--fg);
  padding: 16px 28px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--fg);
  transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}
.hero__cta:hover {
  background: transparent;
  color: var(--fg);
  letter-spacing: 0.34em;
}
.hero__cta-arrow {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 0.3s ease;
}
.hero__cta:hover .hero__cta-arrow { transform: translateY(3px); }

.hero__hint {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head__label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--ink);
  text-transform: uppercase;
}
.section-head__index {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   LINEUP / FILMSTRIP
   ============================================================ */
.lineup {
  position: relative;
  z-index: 5;
  padding: 32px 0 8px;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}

.filmstrip {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: flex-end;
  perspective: 1400px;
  padding: 20px 0 12px;
}

.tile {
  --glow: var(--fg);
  --tilt: 0deg;
  position: relative;
  width: var(--tile-w);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transform: translateY(0) rotateY(var(--tilt));
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.5s ease;
  isolation: isolate;
}
.tile::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
  transition: background 0.5s ease;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(0.95) brightness(0.78);
  transition: filter 0.55s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.tile:hover {
  transform: translateY(-14px) rotateY(0deg);
  border-color: var(--glow);
  box-shadow: 0 0 0 1px var(--glow), 0 30px 60px -20px rgba(0,0,0,0.7);
}
.tile:hover img {
  filter: grayscale(0) contrast(1.02) brightness(0.95);
  transform: scale(1.06);
}
.tile:hover::after {
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.45) 100%);
}
.tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.tile--micro     { --glow: var(--glow-micro);     height: calc(var(--tile-h) * 0.32); }
.tile--classic   { --glow: var(--glow-classic);   height: calc(var(--tile-h) * 0.55); }
.tile--designer  { --glow: var(--glow-designer);  height: calc(var(--tile-h) * 0.74); }
.tile--mega      { --glow: var(--glow-mega);      height: calc(var(--tile-h) * 0.92); }
.tile--architect { --glow: var(--glow-architect); height: var(--tile-h); }

.tile--accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 4;
  box-shadow: 0 0 18px var(--accent);
}

.tile__glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 80px;
  background: var(--glow);
  filter: blur(38px);
  opacity: 0.45;
  z-index: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
  animation: glowPulse 5s ease-in-out infinite;
}
.tile:hover .tile__glow { opacity: 0.95; bottom: -28px; }

.tile__rule {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--glow);
  z-index: 4;
  opacity: 0.4;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.tile:hover .tile__rule { transform: scaleX(1); opacity: 0.9; }

.tile__meta {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}
.tile__index {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--muted);
}
.tile__name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1;
}
.tile__size {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--fg);
  margin-top: 4px;
  text-transform: uppercase;
  opacity: 0.85;
}

.tile__pill {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line-strong);
  padding: 4px 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tile:hover .tile__pill { opacity: 1; transform: translateY(0); }

@keyframes glowPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.65; }
}

.filmstrip__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.filmstrip__caption {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.filmstrip__scale {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
}

/* ============================================================
   PRODUCTION
   ============================================================ */
.production {
  position: relative;
  z-index: 5;
  padding: 48px 0 24px;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}

.production__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
.production__cell {
  padding: 8px 20px 8px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  position: relative;
}
.production__cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.6s ease;
}
.production__cell:hover::before { width: 100%; }

.production__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.production__title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.15;
}
.production__copy {
  font-size: 12px;
  line-height: 1.65;
  color: var(--fg);
  opacity: 0.9;
}

/* ============================================================
   B2B
   ============================================================ */
.b2b {
  position: relative;
  z-index: 5;
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}

.b2b__intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}
.b2b__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.05;
  font-weight: 400;
  text-transform: uppercase;
}
.b2b__title em {
  color: var(--accent);
  font-style: normal;
  letter-spacing: 0.06em;
}
.b2b__copy {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg);
  opacity: 0.92;
  max-width: 460px;
}

.b2b__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.b2b__cell {
  padding: 26px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.b2b__cell:last-child { border-right: none; }
.b2b__cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.5s ease;
}
.b2b__cell:hover { background: rgba(200,146,60,0.04); }
.b2b__cell:hover::after { width: 100%; }

.b2b__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.b2b__cap {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.b2b__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.b2b__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 15px 28px;
  text-decoration: none;
  font-weight: 500;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}
.b2b__cta:hover {
  background: var(--ink);
  color: var(--bg);
  letter-spacing: 0.32em;
}
.b2b__cta--ghost {
  color: var(--fg);
  border-color: var(--line-strong);
}
.b2b__cta--ghost:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 5;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s both;
}
.footer-stack { display: flex; flex-direction: column; gap: 6px; }
.footer-stack--right { align-items: flex-end; }

.footer-line {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
}
.footer-line--lede { color: var(--ink); font-weight: 500; letter-spacing: 0.3em; }
.footer-line--muted { color: var(--muted); }

.footer-link {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}
.footer-link:hover { color: var(--accent); letter-spacing: 0.28em; }

/* ============================================================
   MODAL (museum vitrine)
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[aria-hidden="false"] { display: flex; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1;
  animation: fadeIn 0.4s ease;
}

.modal__panel {
  position: relative; z-index: 2;
  background: var(--surface);
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--line-strong);
  padding: 36px 40px;
  animation: panelIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal__panel::-webkit-scrollbar { width: 8px; }
.modal__panel::-webkit-scrollbar-track { background: var(--surface); }
.modal__panel::-webkit-scrollbar-thumb { background: var(--line-strong); }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-display);
}
.modal__close:hover {
  background: var(--ink);
  color: var(--bg);
  transform: rotate(90deg);
}

.modal__head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal__eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}
.modal__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 0.95;
  font-weight: 400;
}
.modal__size {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.modal__body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 24px;
}
.modal__media {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
}
.modal__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.modal__media::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.modal__media-glow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 100px;
  background: var(--accent);
  filter: blur(50px);
  opacity: 0.4;
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

.modal__lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg);
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: 0.005em;
}

.modal__spec { display: grid; gap: 0; }
.modal__spec > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.modal__spec > div:first-child { border-top: 1px solid var(--line); }
.modal__spec dt {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.modal__spec dd {
  font-size: 12.5px;
  color: var(--fg);
  line-height: 1.5;
}

.modal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 12px;
  flex-wrap: wrap;
}
.modal__cta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
  transition: letter-spacing 0.25s ease, color 0.25s ease;
}
.modal__cta:hover { letter-spacing: 0.3em; color: var(--accent); }
.modal__hint {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   SHARE PILL (ghost chrome — bottom corner)
   ============================================================ */
.share-pill {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(26,26,26,0.7);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-display);
  pointer-events: none;
  animation: fadeUp 1.2s ease 1s both;
}
.share-pill__count { color: var(--fg); }
.share-pill__sep { color: var(--line-strong); }
.share-pill__gear {
  display: inline-block;
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 10px;
  color: var(--fg);
}

/* ============================================================
   GLOBAL ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .production__grid { grid-template-columns: repeat(2, 1fr); }
  .production__cell { border-bottom: 1px solid var(--line); }
  .production__cell:nth-child(odd) { border-left: none; }
  .production__cell:nth-child(2n) { border-right: none; }
  .b2b__grid { grid-template-columns: repeat(2, 1fr); }
  .b2b__cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .b2b__cell:nth-child(2n) { border-right: none; }
  .b2b__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  body { padding: 16px 18px; gap: 14px; }

  .site-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .top-nav { gap: 18px; flex-wrap: wrap; }

  .hero__headline { font-size: clamp(54px, 18vw, 96px); }
  .hero__manifesto { font-size: 13px; }
  .hero__actions { flex-direction: column; gap: 14px; }

  .filmstrip {
    gap: 8px;
    overflow-x: auto;
    padding: 16px 4px 12px;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .filmstrip::-webkit-scrollbar { display: none; }
  .tile {
    width: 140px;
    scroll-snap-align: center;
  }
  .tile--micro     { height: 80px;  }
  .tile--classic   { height: 130px; }
  .tile--designer  { height: 180px; }
  .tile--mega      { height: 220px; }
  .tile--architect { height: 260px; }

  .production__grid { grid-template-columns: 1fr; }
  .production__cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: auto;
    padding: 18px 0;
  }
  .production__cell:last-child { border-bottom: none; }

  .b2b__intro { grid-template-columns: 1fr; gap: 18px; }
  .b2b__grid { grid-template-columns: 1fr 1fr; }
  .b2b__cell { padding: 18px 14px; }

  .modal__panel { padding: 22px 20px; }
  .modal__body { grid-template-columns: 1fr; gap: 20px; }
  .modal__media { min-height: 240px; }

  .site-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-stack--right { align-items: flex-start; }

  .share-pill { bottom: 12px; right: 12px; font-size: 9px; padding: 6px 10px; }
}

@media (max-width: 420px) {
  .b2b__grid { grid-template-columns: 1fr; }
  .b2b__cell { border-right: none; border-bottom: 1px solid var(--line); }
  .b2b__cell:last-child { border-bottom: none; }
}
