/* ============================================================
   RAVE RUNWAY LA — design system
   Hypebeast-editorial: heavy display type, mono meta,
   hairline rules, edge-to-edge photography.
   ============================================================ */

:root {
  --font-display: 'Anton', 'Archivo', sans-serif;
  --font-head: 'Archivo', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* accent (overridden by JS tweak) */
  --accent: #3a4cff;
  --accent-ink: #ffffff;

  /* light theme (default) */
  --paper: #f1efe9;
  --paper-2: #e7e4dc;
  --ink: #0b0b0b;
  --ink-70: rgba(11, 11, 11, 0.62);
  --ink-45: rgba(11, 11, 11, 0.45);
  --line: rgba(11, 11, 11, 0.16);
  --line-strong: rgba(11, 11, 11, 0.85);
  --tile-bg: #ddd9d0;
  --logo-filter: none;
  --invert-on-accent: #fff;
}

[data-theme="dark"] {
  --paper: #0a0a0b;
  --paper-2: #131316;
  --ink: #f3f1ea;
  --ink-70: rgba(243, 241, 234, 0.64);
  --ink-45: rgba(243, 241, 234, 0.42);
  --line: rgba(243, 241, 234, 0.16);
  --line-strong: rgba(243, 241, 234, 0.85);
  --tile-bg: #1a1a1e;
  --logo-filter: invert(1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-head);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
}
.head {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
}
.meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.meta-strong { color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; padding: 0 clamp(16px, 3vw, 40px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule-strong { border-top: 1px solid var(--line-strong); }

/* ============================================================
   TOP BAR / NAV
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.topbar-row {
  display: flex; align-items: stretch; justify-content: space-between;
  height: 60px;
}
.brand-mark {
  display: flex; align-items: center; gap: 12px;
  padding-right: 22px; border-right: 1px solid var(--line);
}
.brand-mark img { height: 19px; width: auto; filter: var(--logo-filter); }
.nav {
  display: flex; align-items: stretch; flex: 1;
}
.navlink {
  display: flex; align-items: center; padding: 0 clamp(10px, 1.6vw, 20px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-70);
  position: relative; transition: color 0.18s;
  white-space: nowrap;
}
.navlink:hover { color: var(--ink); }
.navlink.active { color: var(--ink); }
.navlink.active::after {
  content: ""; position: absolute; left: clamp(10px,1.6vw,20px); right: clamp(10px,1.6vw,20px);
  bottom: 14px; height: 2px; background: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 14px; padding-left: 18px; border-left: 1px solid var(--line); }
.quicklink { display: none; cursor: pointer; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink-70); align-items: center; padding: 0 2px; }
.quicklink:hover, .quicklink.active { color: var(--ink); }
.tagmode-btn .needle-icon { flex-shrink: 0; }
.needle-emoji { font-size: 19px; line-height: 1; filter: brightness(0); }
[data-theme="dark"] .needle-emoji { filter: brightness(0) invert(1); }
@media (max-width: 860px) { .quicklink { display: inline-flex; } }

.tagmode-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--ink); padding: 8px 13px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; transition: all 0.18s; line-height: 1;
}
.tagmode-btn:hover { background: var(--ink); color: var(--paper); }
.tagmode-btn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tagmode-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.tagmode-btn.on .tagmode-dot { animation: pulse 1.3s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.25;} }

/* mobile nav toggle */
.nav-toggle { display: none; }

/* ============================================================
   STAR MARK (4-point sparkle from logo)
   ============================================================ */
.star {
  display: inline-block; background: currentColor;
  -webkit-mask: var(--star-mask) center/contain no-repeat;
          mask: var(--star-mask) center/contain no-repeat;
}
:root { --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 C54 36 64 46 100 50 C64 54 54 64 50 100 C46 64 36 54 0 50 C36 46 46 36 50 0 Z'/%3E%3C/svg%3E"); }

/* ============================================================
   PHOTO TILE
   ============================================================ */
.tile {
  position: relative; display: block; width: 100%;
  background: var(--tile-bg); overflow: hidden; cursor: pointer;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.4s;
}
.tile:hover img { transform: scale(1.045); }
.tile-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.tile:hover .tile-meta { opacity: 1; }
.tile-meta .t-brand { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 13px; letter-spacing: -0.01em; line-height: 1.1; }
.tile-meta .t-model { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 3px; }
.tile-idx { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; }

/* brand chip persistent (read mode, shown on cards in lists) */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--line); color: var(--ink-70);
}
.chip .star { width: 8px; height: 8px; }

/* untagged badge in tag mode */
.tile.untagged::after {
  content: "+ TAG"; position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  background: var(--accent); color: var(--accent-ink); padding: 4px 8px;
  opacity: 0; transition: opacity 0.2s;
}
body.tagmode .tile.untagged::after { opacity: 1; }
body.tagmode .tile { outline: 1px dashed transparent; }
body.tagmode .tile:hover { outline-color: var(--accent); }
.tile.tagged-flag::before {
  content: ""; position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 9px; height: 9px; background: var(--accent);
  -webkit-mask: var(--star-mask) center/contain no-repeat; mask: var(--star-mask) center/contain no-repeat;
  opacity: 0; transition: opacity 0.2s;
}
body.tagmode .tile.tagged-flag::before { opacity: 1; }

/* ============================================================
   PAGE SHELL
   ============================================================ */
.page { min-height: 100vh; }
.page-pad { padding-bottom: 120px; }

/* section header band */
.band {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; padding: clamp(40px, 6vw, 76px) clamp(16px, 3vw, 40px) 22px; flex-wrap: wrap;
}
.band-title { font-family: var(--font-display); font-size: clamp(34px, 6vw, 86px); line-height: 0.9; text-transform: uppercase; letter-spacing: -0.015em; }
.band-sub { max-width: 460px; }

/* ============================================================
   HERO — slideshow direction
   ============================================================ */
.hero-slide { position: relative; width: 100%; height: calc(100vh - 60px); min-height: 540px; overflow: hidden; background: #000; }
.hero-slide .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide .slide.show { opacity: 1; }
.hero-slide .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 38%, rgba(0,0,0,0.25) 100%); }
.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 4vw, 56px); color: #fff;
}
.hero-logo { width: min(72vw, 760px); filter: invert(1) drop-shadow(0 4px 30px rgba(0,0,0,0.5)); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.hero-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.82); max-width: 420px; line-height: 1.7; }
.hero-counter { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); }
.hero-dots { position: absolute; top: clamp(20px,4vw,40px); right: clamp(20px,4vw,56px); display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 3px; background: rgba(255,255,255,0.3); border: 0; padding: 0; }
.hero-dots button.on { background: #fff; }

/* ============================================================
   HERO — editorial grid direction
   ============================================================ */
.ed-masthead {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-bottom: 1px solid var(--line);
}
.ed-headline {
  padding: clamp(22px, 4vw, 54px) 0 clamp(18px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 18px;
}
.ed-headline img.wm { width: min(86vw, 900px); filter: var(--logo-filter); }
.ed-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 1px; gap: 2px;
}
.ed-feat { grid-column: span 7; }
.ed-side { grid-column: span 5; display: grid; grid-template-rows: 1fr 1fr; gap: 2px; }
.ed-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 2px; }

/* ============================================================
   HERO — marquee direction
   ============================================================ */
.mq-hero { padding: clamp(30px,6vw,80px) 0 clamp(20px,4vw,40px); text-align: center; }
.mq-hero img.wm { width: min(90vw, 1000px); filter: var(--logo-filter); margin: 0 auto; }
.mq-strip { overflow: hidden; width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mq-track { display: flex; gap: 2px; width: max-content; will-change: transform; }
.mq-track.rev { animation-direction: reverse; }
.mq-item { height: clamp(180px, 24vw, 320px); flex: 0 0 auto; background: var(--tile-bg); position: relative; cursor: pointer; overflow: hidden; }
.mq-item img { height: 100%; width: auto; object-fit: cover; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   MASONRY (gallery / brand)
   ============================================================ */
.masonry { column-gap: 2px; }
.masonry .tile { margin-bottom: 2px; break-inside: avoid; display: inline-block; width: 100%; }
.cols-2 { column-count: 2; }
.cols-3 { column-count: 3; }
.cols-4 { column-count: 4; }
.cols-5 { column-count: 5; }

/* fixed grid */
.grid-tiles { display: grid; gap: 2px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.ar-portrait { aspect-ratio: 4/5; }
.ar-tall { aspect-ratio: 3/4; }

/* ============================================================
   BRAND RAIL + HERO
   ============================================================ */
.brand-layout { display: grid; grid-template-columns: 236px 1fr; gap: clamp(28px, 4vw, 68px); align-items: start; padding-top: clamp(18px, 2.5vw, 32px); }
.brand-rail { position: sticky; top: 84px; display: flex; flex-direction: column; }
.brand-rail-head { padding-bottom: 12px; margin-bottom: 2px; border-bottom: 1.5px solid var(--ink); }
.brand-rail-item {
  appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px; width: 100%; text-align: left;
  padding: 13px 4px 13px 0; color: var(--ink-45); position: relative;
  transition: color 0.15s, padding 0.18s;
}
.brand-rail-item:hover { color: var(--ink); padding-left: 8px; }
.brand-rail-item.active { color: var(--ink); padding-left: 12px; }
.brand-rail-item.active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--accent); }
.bri-n { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-45); min-width: 16px; }
.brand-rail-item.active .bri-n { color: var(--accent); }
.bri-nm { font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; line-height: 1.15; flex: 1; }
.bri-ct { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-45); }

.brand-hero { padding: 0 0 clamp(20px,3vw,34px); display: flex; flex-direction: column; gap: clamp(16px,2vw,24px); }
.brand-hero > div:first-child { min-width: 0; }
.brand-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 8.4vw, 92px); line-height: 0.9; text-transform: uppercase; margin: 0; letter-spacing: -0.02em; word-break: break-word; }
.brand-blurb { max-width: 520px; line-height: 1.6; color: var(--ink-70); font-size: clamp(14px,1.5vw,17px); }
.brand-site {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--ink); padding: 13px 20px; transition: background 0.15s, color 0.15s;
}
.brand-site:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bs-arrow { font-size: 14px; line-height: 1; }
.watch-film {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); padding: 12px 22px; border: 1px solid var(--accent);
  transition: transform 0.15s, box-shadow 0.15s;
}
.watch-film:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.watch-film .wf-play { font-size: 10px; }

@media (max-width: 880px) {
  .brand-layout { grid-template-columns: 1fr; gap: 20px; }
  .brand-rail { position: static; top: auto; flex-direction: row; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .brand-rail-head { width: 100%; border-bottom: 0; padding-bottom: 2px; margin-bottom: 4px; }
  .brand-rail-item { width: auto; border: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px 13px; }
  .brand-rail-item:hover, .brand-rail-item.active { padding-left: 13px; }
  .brand-rail-item.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .brand-rail-item.active::before { display: none; }
  .brand-rail-item.active .bri-n, .brand-rail-item.active .bri-ct { color: var(--accent-ink); }
  .bri-n { display: none; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-overlay {
  position: fixed; inset: 0; z-index: 120; display: flex;
  background: rgba(6,6,7,0.92); backdrop-filter: blur(8px);
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(14px,3vw,46px); min-width: 0; position: relative; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,0.6); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background 0.18s; }
.lb-nav:hover { background: rgba(255,255,255,0.2); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { position: absolute; top: 18px; left: 18px; background: transparent; border: 0; color: rgba(255,255,255,0.7); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.lb-close:hover { color: #fff; }

.lb-panel {
  width: min(380px, 86vw); flex: 0 0 auto; background: var(--paper);
  border-left: 1px solid var(--line); padding: clamp(20px,2.4vw,34px);
  display: flex; flex-direction: column; gap: 22px; overflow-y: auto;
}
.lb-panel .pnl-idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-45); }
.lb-field { display: flex; flex-direction: column; gap: 9px; }
.lb-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-45); display: flex; align-items: center; gap: 8px; }
.lb-value-big { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; line-height: 1.05; }
.lb-value-empty { color: var(--ink-45); font-weight: 500; font-style: italic; font-family: var(--font-head); font-size: 16px; }
.lb-value-model { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; }

.fld {
  width: 100%; background: var(--paper-2); border: 1px solid var(--line);
  color: var(--ink); padding: 12px 13px; font-family: var(--font-head); font-size: 15px;
  border-radius: 0; outline: none; transition: border-color 0.15s;
}
.fld:focus { border-color: var(--accent); }
select.fld { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.brandpick { display: flex; flex-direction: column; gap: 6px; }
.brandpick button {
  text-align: left; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-70);
  padding: 10px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 9px; transition: all 0.15s;
}
.brandpick button:hover { color: var(--ink); border-color: var(--ink-45); }
.brandpick button.sel { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.brandpick button .star { width: 9px; height: 9px; }

.lb-savebar { margin-top: auto; display: flex; gap: 10px; }
.btn-primary { flex: 1; background: var(--ink); color: var(--paper); border: 0; padding: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; transition: opacity 0.15s; }
.btn-primary:hover { opacity: 0.84; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-70); padding: 14px 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.btn-ghost:hover { color: var(--ink); }
.saved-flash { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ============================================================
   ABOUT / MODELS
   ============================================================ */
.about-hero { position: relative; height: clamp(360px, 60vh, 620px); overflow: hidden; background: #000; }
.about-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; height: clamp(300px, 46vh, 520px); margin-top: clamp(22px, 3vw, 40px); }
.about-strip .ast-cell { overflow: hidden; background: #000; }
.about-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .about-strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .about-strip .ast-cell { aspect-ratio: 3/4; }
  .about-strip .ast-cell:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16/10; }
}
.about-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; }
.about-hero .ah-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #fff; padding: 20px; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 8.5vw, 132px); line-height: 0.95; margin: 0; text-transform: uppercase; }

.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--ink); margin: 0 0 22px; }
.prose .lead { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; }
.drop::first-letter { font-family: var(--font-display); font-size: 3.6em; line-height: 0.7; float: left; padding: 8px 12px 0 0; color: var(--accent); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-row-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
.team-card .tile { width: 100%; }
.team-card .tc-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-top: 16px; }
.team-card .tc-name { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; margin-top: 8px; }
.team-card .tc-ig { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-45); }
.team-card .tc-ig:hover { color: var(--accent); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; gap: 28px; } }
.stat { padding: 26px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-display); font-size: clamp(32px, 4vw, 60px); line-height: 0.9; }
.stat .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-70); margin-top: 8px; }

/* gallery uniform grid */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* models grid */
.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2px; }
.model-card { position: relative; background: var(--tile-bg); cursor: pointer; }
.model-card .ar-tall { width: 100%; }
.model-card .mc-meta { padding: 12px 4px 22px; }
.model-card .mc-name { font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; display: block; }
.model-card .mc-looks { position: absolute; top: 10px; right: 10px; z-index: 2; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 4px 7px; }
.model-card .mc-ig { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-45); margin-top: 3px; display: block; }
.model-card .mc-ig:hover { color: var(--accent); }
.model-card .mc-brand { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45); margin-top: 4px; }
.model-card.draggable { cursor: grab; transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s; }
.model-card.draggable:active { cursor: grabbing; }
.model-card.dragging { opacity: 0.35; }
.model-card.dropover { box-shadow: -4px 0 0 0 var(--accent); transform: translateX(3px); }
.model-card.dropover .tile { outline: 2px solid var(--accent); outline-offset: -2px; }
.dragdots { color: var(--accent); font-size: 13px; letter-spacing: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); padding: 56px 0 64px; margin-top: 60px; }
.foot-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.foot img { height: 30px; filter: var(--logo-filter); }
.foot .meta, .foot .meta-strong { line-height: 1.8; }
.foot-brands { max-width: 640px; color: var(--ink-45); }
.foot-social { display: flex; gap: 22px; align-items: center; margin: 4px 0 2px; }
.foot-social a { color: var(--ink-70); display: inline-flex; transition: color 0.15s, transform 0.15s; }
.foot-social a:hover { color: var(--accent); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); align-items: stretch; z-index: 59;
  }
  .nav.open .navlink { height: 52px; border-bottom: 1px solid var(--line); }
  .nav.open .navlink.active::after { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--ink); width: 40px; height: 40px; }
  .cols-5, .cols-4 { column-count: 2; }
  .cols-3 { column-count: 2; }
  .g5, .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .ed-feat, .ed-side { grid-column: span 12; }
  .ed-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .lb-overlay { flex-direction: column; }
  .lb-panel { width: 100%; border-left: 0; border-top: 1px solid var(--line); max-height: 46vh; }
  .lb-stage { min-height: 40vh; }
  .hero-logo { width: 86vw; }
}
@media (max-width: 520px) {
  .cols-3 { column-count: 1; }
  .brand-mark .meta { display: none; }
}
