:root {
  --bg: #080a0c;
  --surface: #111418;
  --surface-2: #181c21;
  --text: #f4f6f7;
  --muted: #9299a2;
  --line: #2a3037;
  --lime: #e2ff42;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, a, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 68px; padding: 12px clamp(18px, 3vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(8,10,12,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; background: var(--lime); color: #080a0c; border-radius: 8px; font-weight: 900; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.full-res-badge { color: var(--lime); font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }

.intro { padding: clamp(42px, 7vw, 96px) clamp(18px, 4vw, 72px) 32px; max-width: 1500px; margin: 0 auto; }
.eyebrow { margin: 0 0 18px; color: var(--lime); font: 700 13px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
h1 { max-width: 1050px; margin: 0; font-size: clamp(42px, 7vw, 96px); line-height: .96; letter-spacing: -.055em; }
.intro-copy { max-width: 780px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.5; }

.view-tabs { position: sticky; top: 68px; z-index: 15; padding: 14px 18px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; background: rgba(8,10,12,.9); backdrop-filter: blur(18px); }
.view-tabs button, .zoom-toolbar button, .zoom-toolbar a { border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; color: var(--muted); background: var(--surface); cursor: pointer; text-decoration: none; }
.view-tabs button:hover, .view-tabs button.active, .zoom-toolbar button.active { color: #080a0c; background: var(--lime); border-color: var(--lime); }

.viewer { width: min(100%, 1920px); margin: 0 auto; padding: 0 clamp(10px, 2vw, 28px) 42px; }
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #020304; border: 1px solid var(--line); }
.stage:fullscreen { background: #000; }
.stage img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.stage-badge { position: absolute; top: 16px; left: 16px; padding: 8px 11px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.stage-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 72px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(0,0,0,.56); color: #fff; font-size: 24px; cursor: pointer; backdrop-filter: blur(10px); }
.stage-arrow:hover { color: #080a0c; background: var(--lime); }
.stage-arrow.left { left: 16px; }
.stage-arrow.right { right: 16px; }

.viewer-meta { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 24px 0 18px; border-bottom: 1px solid var(--line); }
.context { margin: 0 0 8px; color: var(--muted); font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 58px); letter-spacing: -.04em; }
.description { margin: 8px 0 0; color: var(--muted); font-size: 18px; }
.viewer-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.button.secondary { background: var(--surface); color: var(--text); }
.button.primary { background: var(--lime); border-color: var(--lime); color: #080a0c; font-weight: 700; }
.button:hover { filter: brightness(1.12); }

.range-row { padding: 18px 0 0; display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center; gap: 16px; color: var(--muted); font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; }
.range-row input { width: 100%; accent-color: var(--lime); }

.look-grid { max-width: 1920px; margin: 0 auto; padding: 0 clamp(10px, 2vw, 28px) 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.look-card { position: relative; padding: 0 0 14px; overflow: hidden; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; content-visibility: auto; contain-intrinsic-size: 260px; }
.look-card:hover, .look-card.active { border-color: var(--lime); background: var(--surface-2); }
.look-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.look-card span { display: block; padding: 0 13px; font-size: 13px; font-weight: 650; }
.look-card .look-number { margin-bottom: 5px; color: var(--lime); font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }

footer { padding: 28px clamp(18px, 4vw, 72px); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }

.zoom-overlay { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr; background: #000; }
.zoom-overlay[hidden] { display: none; }
.zoom-toolbar { min-height: 62px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #0b0d10; border-bottom: 1px solid #272b31; }
.zoom-toolbar > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zoom-toolbar > div { display: flex; gap: 7px; }
.zoom-canvas { overflow: auto; display: grid; align-items: start; justify-items: center; }
.zoom-canvas img { display: block; max-width: none; height: auto; }

@media (max-width: 1050px) {
  .look-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .viewer-meta { align-items: start; flex-direction: column; }
  .viewer-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; }
  .brand span:last-child, .full-res-badge { display: none; }
  .intro { padding-top: 46px; }
  .view-tabs { top: 68px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .view-tabs button { white-space: nowrap; }
  .look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer-actions { width: 100%; }
  .viewer-actions .button { flex: 1 1 45%; }
  .range-row { grid-template-columns: auto 1fr; }
  .range-row span { display: none; }
  .stage-arrow { width: 40px; height: 58px; }
  .stage-arrow.left { left: 8px; }
  .stage-arrow.right { right: 8px; }
  .stage-badge { top: 8px; left: 8px; }
  footer { flex-direction: column; }
  .zoom-toolbar { align-items: flex-start; flex-direction: column; }
  .zoom-toolbar > div { width: 100%; overflow-x: auto; }
}
