/* ==========================================================================
   victorborges.com — shared styles
   Sections each own an accent: Worlds (ice), Light (teal), Lab (signal orange)
   ========================================================================== */
:root {
  --bg: #0c0c0d;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f3efe8;
  --ink-2: #b9b4ab;
  --ink-3: #7d7972;
  --worlds: #9cc3ff;
  --light: #3ee6c4;
  --lab: #ff6a1a;
  --accent: var(--ink);
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
  /* side padding that lines full-width bars (nav, footer) up with the centred content */
  --edge: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut)));
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
body[data-section="worlds"] { --accent: var(--worlds); }
body[data-section="light"] { --accent: var(--light); }
body[data-section="lab"] { --accent: var(--lab); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--bg); }

/* film grain, very subtle (sits below overlays/viewers so artwork stays crisp) */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0) } 25% { transform: translate(-3%, 2%) } 50% { transform: translate(2%, -3%) } 75% { transform: translate(-2%, -1%) } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.muted { color: var(--ink-2); }

/* ---------- nav ---------- */
/* menu: a floating bar the same width as the content, always solid so it's easy to find */
.nav {
  position: fixed; top: 12px; left: 50%; z-index: 50; translate: -50% 0;
  width: min(calc(100% - 2 * var(--gut)), calc(var(--max) - 2 * var(--gut)));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 10px 12px 28px; border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-2); box-shadow: 0 12px 40px -16px rgba(0,0,0,.7);
}
.logo { display: block; width: 116px; height: 33px; background: var(--ink); -webkit-mask: url("../img/site/logo.png") left center / contain no-repeat; mask: url("../img/site/logo.png") left center / contain no-repeat; transition: background .3s; }
.logo:hover { background: var(--accent); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font: 500 14px/1 var(--display); color: var(--ink-2); transition: color .2s, background .2s; }
.nav li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--ink-3)); opacity: .9; }
.nav li a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav li a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav .n-worlds { --c: var(--worlds); } .nav .n-light { --c: var(--light); } .nav .n-lab { --c: var(--lab); }
.nav .s { display: none; }
@media (max-width: 760px) { .nav .l { display: none; } .nav .s { display: inline; } }
@media (max-width: 640px) {
  .logo { width: 92px; height: 26px; }
  .nav { padding: 9px 6px 9px 18px; top: 8px; }
  .nav li a { padding: 8px 9px; font-size: 13px; gap: 6px; }
  .nav li a::before { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 99px;
  font: 600 14px/1 var(--display); border: 1px solid var(--line-2); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #0c0c0d; border-color: var(--accent); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translate(3px, -1px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- section heads ---------- */
.sec { padding: clamp(72px, 12vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { margin: 12px 0 0; font: 600 clamp(40px, 7vw, 96px)/.92 var(--display); letter-spacing: -.035em; }
.sec-head .btn { justify-self: start; }
.sec-head p { margin: 0; max-width: 42ch; color: var(--ink-2); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   HOME
   ========================================================================== */

/* three doors */
.doors { flex: 1; display: flex; gap: 10px; min-height: 58svh; padding: 0 var(--gut) var(--gut); }
.door {
  --c: var(--ink); position: relative; flex: 1; overflow: hidden; border-radius: 18px; background: var(--bg-2);
  transition: flex-grow .8s var(--ease); isolation: isolate; min-width: 0;
  clip-path: inset(0 round 18px);
}
.door.worlds { --c: var(--worlds); } .door.light { --c: var(--light); } .door.lab { --c: var(--lab); }
.door .slides, .door .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door .slides img { opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear; }
.door .slides img.on { opacity: 1; transform: scale(1); }
.door::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.6) 72%, rgba(0,0,0,.9) 100%); }
.door::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s; }
.door:hover::after { box-shadow: inset 0 0 0 2px var(--c); }
.door-meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 6px; }
.door-num { position: absolute; z-index: 3; top: clamp(14px, 1.8vw, 24px); left: clamp(14px, 1.8vw, 24px); color: var(--c); padding: 8px 12px; border-radius: 99px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; }
.door-arrow { position: absolute; z-index: 3; top: clamp(12px, 1.8vw, 24px); right: clamp(12px, 1.8vw, 24px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); border: 1px solid var(--line-2); transition: background .3s, color .3s, transform .4s var(--ease); }
.door:hover .door-arrow { background: var(--c); color: #0c0c0d; transform: rotate(-45deg); border-color: var(--c); }
.door h2 { margin: 0; font: 600 clamp(36px, 5.4vw, 84px)/.9 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.door p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 34ch; opacity: .85; }
.tag { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); color: var(--ink-2); backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .doors { flex-direction: column; min-height: 0; }
  .door { flex: none; height: 46svh; min-height: 300px; }
}

/* low-res sources (1200px) shown whole instead of upscaled */
.door .slides.fit { background: radial-gradient(ellipse at 50% 45%, #48494d, #2a2b2e 75%); }
.door .slides.fit img { object-fit: contain; }

/* home = just the picker, same width and header as every other page */
body.home { min-height: 100svh; display: flex; flex-direction: column; padding-top: 96px; }
body.home .doors { flex: none; width: 100%; max-width: var(--max); height: min(62svh, 620px); min-height: 0; margin: auto; padding: 0 var(--gut); gap: 14px; }
body.home .door h2 { font-size: clamp(26px, 2.8vw, 44px); white-space: normal; text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }
body.home .door p { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.82); text-shadow: 0 1px 8px rgba(0,0,0,.7); }
body.home .home-foot { margin-top: 0; border-top: 0; }
@media (max-width: 860px) {
  body.home .doors { height: auto; }
  body.home .door { height: 30svh; min-height: 190px; }
}

.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

/* links / footer */
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.links a { background: var(--bg-2);padding: 22px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .25s; }
.links a:hover { background: var(--bg-3); }
.links a b { font: 600 18px/1.2 var(--display); }
.links a span { color: var(--ink-3); font: 500 12px/1 var(--mono); letter-spacing: .04em; }
@media (max-width: 760px) { .links { grid-template-columns: 1fr; } }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--edge) 36px; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 120px); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }

/* ==========================================================================
   SECTION PAGES (shared)
   ========================================================================== */
.page-hero { position: relative; min-height: 46svh; padding-top: 96px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero .bg, .page-hero .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero .bg img { opacity: 0; transition: opacity 1.6s ease, transform 9s linear; transform: scale(1.06); }
.page-hero .bg img.on { opacity: 1; transform: scale(1); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,12,13,.55) 0%, rgba(12,12,13,0) 28%, rgba(12,12,13,.15) 55%, var(--bg) 100%), linear-gradient(90deg, rgba(12,12,13,.6), rgba(12,12,13,0) 60%); }
.page-hero .wrap { width: 100%; padding-bottom: clamp(24px, 3vw, 40px); }
.page-hero h1 { margin: 10px 0 10px; font: 600 clamp(44px, 7vw, 104px)/.9 var(--display); letter-spacing: -.045em; }
.page-hero h1 em { font-family: var(--serif); font-weight: 400; color: var(--accent); letter-spacing: -.02em; }
.page-hero .intro { max-width: 52ch; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin: 0; }
.hero-cap { position: absolute; right: var(--gut); bottom: clamp(24px, 3vw, 40px); color: var(--ink-3); text-align: right; }
@media (max-width: 760px) { .hero-cap { display: none; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 14px/1 var(--display); color: var(--ink-2); transition: all .2s; }
.filters button small { font: 500 11px/1 var(--mono); color: var(--ink-3); }
.filters button:hover { color: var(--ink); border-color: var(--ink-3); }
.filters button[aria-pressed="true"] { background: var(--accent); color: #0c0c0d; border-color: var(--accent); }
.filters button[aria-pressed="true"] small { color: rgba(0,0,0,.55); }

/* worlds grid */
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; grid-auto-flow: row dense; }
.proj { grid-column: span 3; position: relative; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.proj img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--bg-2); transition: transform 1.2s var(--ease), box-shadow .3s; }
.proj:hover img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent); }
.proj .meta { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.proj .meta b { font: 600 16px/1.25 var(--display); letter-spacing: -.01em; }
.proj .meta span { font-size: 13px; color: var(--ink-3); }
.proj .count { display: none; }
.proj-grid { row-gap: 28px; }
.proj[hidden] { display: none; }
@media (max-width: 960px) { .proj { grid-column: span 4; } }
@media (max-width: 600px) { .proj { grid-column: span 6; } .proj .meta span { font-size: 12px; line-height: 1.3; } .proj .count { display: none; } }

/* project viewer */
.viewer { position: fixed; inset: 0; z-index: 80; background: #080809; display: none; overflow-y: auto; overscroll-behavior: contain; }
.viewer.open { display: block; }
@keyframes fadeIn { from { opacity: 0 } }
.viewer-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gut); background: linear-gradient(rgba(8,8,9,.95), rgba(8,8,9,0)); }
.viewer-bar .nav-proj { display: flex; gap: 8px; }
.viewer-inner { max-width: 1600px; margin: 0 auto; padding: 0 var(--gut) 80px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.viewer-imgs { display: flex; flex-direction: column; gap: 14px; }
.viewer-imgs img { width: 100%; height: auto; border-radius: 10px; background: var(--bg-2); opacity: 0; transition: opacity .35s ease; }
.viewer-imgs img[src] { background: var(--bg-2); }
.viewer-imgs img.ld { opacity: 1; }
.viewer-info { position: sticky; top: 80px; }
.viewer-info h2 { margin: 12px 0 6px; font: 600 clamp(32px, 3.4vw, 52px)/.95 var(--display); letter-spacing: -.04em; }
.viewer-info .sub { color: var(--accent); margin-bottom: 18px; display: block; }
.viewer-info p { color: var(--ink-2); }
.viewer-info .tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 24px; }
@media (max-width: 960px) { .viewer-inner { grid-template-columns: 1fr; } .viewer-info { position: static; order: -1; } }

/* light: masonry */
.masonry { columns: 4 280px; column-gap: 12px; }
.tile { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; border-radius: 10px; overflow: hidden; position: relative; background: var(--bg-2); }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease), opacity .6s; }
.tile:hover img { transform: scale(1.04); }
.tile[hidden] { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6,6,7,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; animation: fadeIn .3s ease; }
.lightbox img { max-width: calc(100vw - 2 * var(--gut)); max-height: calc(100svh - 140px); width: auto; height: auto; border-radius: 6px; object-fit: contain; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); }
.lb-cap { position: absolute; bottom: 18px; left: var(--gut); right: var(--gut); text-align: center; color: var(--ink-2); font-size: 14px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); }
.lb-prev { left: var(--gut); } .lb-next { right: var(--gut); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 56px; transform: none; } }

/* videos */
.vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vid { display: flex; flex-direction: column; gap: 12px; }
.vid .th { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.vid .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vid:hover .th img { transform: scale(1.05); }
.vid .play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .25s, color .25s; }
.vid:hover .play { background: var(--accent); color: #000; }
.vid .play svg { width: 18px; fill: currentColor; margin-left: 3px; }
.vid b { font: 600 16px/1.3 var(--display); display: block; }
.vid small { color: var(--ink-3); }
@media (max-width: 960px) { .vids { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vids { grid-template-columns: 1fr; } }

/* ==========================================================================
   LAB
   ========================================================================== */
.lab-hero { min-height: 40svh; display: flex; align-items: flex-end; padding-top: 120px; background:
  radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,106,26,.16), transparent 70%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.lab-hero .wrap { width: 100%; padding-bottom: 32px; }
.lab-hero h1 { margin: 10px 0 10px; font: 600 clamp(44px, 7vw, 104px)/.9 var(--display); letter-spacing: -.045em; }
.lab-hero h1 em { font-family: var(--serif); font-weight: 400; color: var(--lab); }

.build { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.build.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.build.flip .build-media { order: 2; }
.build h2 { margin: 14px 0 6px; font: 600 clamp(40px, 5.6vw, 84px)/.9 var(--display); letter-spacing: -.045em; }
.build p { color: var(--ink-2); max-width: 52ch; }
.build ul.facts { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.build ul.facts li { background: var(--bg); padding: 14px 16px; }
.build ul.facts span { display: block; color: var(--ink-3); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.build ul.facts b { font: 600 15px/1.3 var(--display); }
.build .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 960px) { .build, .build.flip { grid-template-columns: 1fr; } .build.flip .build-media { order: 0; } }

/* CCTV monitor for Ghost Circuit */
.monitor { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -40px rgba(0,0,0,.8); }
.monitor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: saturate(.75) contrast(1.08); transition: opacity .15s; }
.monitor img.on { opacity: 1; }
.monitor::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.monitor::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.65)); }
.monitor .osd { position: absolute; z-index: 3; inset: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; font: 500 clamp(10px, 1.1vw, 13px)/1.3 var(--mono); color: #e9f5e3; text-shadow: 0 0 6px rgba(0,0,0,.9); letter-spacing: .08em; pointer-events: none; }
.monitor .osd div { display: flex; justify-content: space-between; }
.monitor .rec { display: inline-flex; align-items: center; gap: 6px; }
.monitor .rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.monitor.glitch img.on { animation: glitch .18s steps(3); }
@keyframes glitch { 0% { transform: translateX(-6px); filter: hue-rotate(40deg) saturate(2); } 50% { transform: translateX(5px); } 100% { transform: none; } }
.gc-mark { height: 52px; width: auto; margin-bottom: 6px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.shots img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Badlands Interactive studio panel */
.studio { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin: clamp(48px, 7vw, 96px) 0 0; padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-2); border-radius: 22px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255,106,26,.12), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 32px 32px, var(--bg-2); }
.studio-logo { width: 100%; height: auto; opacity: .92; }
.studio h2 { margin: 12px 0 8px; font: 600 clamp(30px, 3.6vw, 52px)/.95 var(--display); letter-spacing: -.035em; }
.studio p { color: var(--ink-2); max-width: 52ch; margin: 0 0 22px; }
.studio-links { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-links a { padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 13px/1 var(--display); color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.studio-links a:hover { background: var(--lab); border-color: var(--lab); color: #0c0c0d; }
@media (max-width: 760px) { .studio { grid-template-columns: 1fr; } .studio-logo { max-width: 180px; } }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { display: flex; flex-direction: column; gap: 3px; }
.product .cover { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-2); margin-bottom: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.product .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product .cover.fit { background: radial-gradient(ellipse at 50% 45%, #48494d, #2a2b2e 75%); }
.product .cover.fit img { object-fit: contain; }
.product:hover .cover img { transform: scale(1.05); }
.product b { font: 600 17px/1.25 var(--display); }
.product span { color: var(--ink-3); font-size: 14px; }
.product em { font: 500 13px/1 var(--mono); font-style: normal; color: var(--lab); margin-top: 6px; }
@media (max-width: 860px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-top { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; padding-top: 120px; }
.portrait-sm { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.portrait-sm img { width: 100%; height: 100%; object-fit: cover; }
.about-top h1 { margin: 10px 0 18px; font: 600 clamp(44px, 7vw, 104px)/1 var(--display); letter-spacing: -.045em; }
.about-top .role { color: var(--ink-3); margin: 0 0 22px; }
.story { max-width: 60ch; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body[data-page="about"] .about-actions .btn.primary { background: #0a66c2; border-color: #0a66c2; color: #fff; }
body[data-page="about"] .about-actions .btn.primary:hover { background: #fff; border-color: #fff; color: #0a66c2; }
.story p { color: var(--ink-2); margin: 0 0 12px; font-size: clamp(16px, 1.3vw, 18px); }
@media (max-width: 700px) { .about-top { grid-template-columns: 1fr; } .portrait-sm { max-width: 200px; } }

.credits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.credit { display: flex; flex-direction: column; gap: 4px; position: relative; }
.credit .cover { aspect-ratio: 460 / 215; border-radius: 12px; overflow: hidden; background: var(--bg-2); margin-bottom: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.credit .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.credit:hover .cover img { transform: scale(1.05); }
.credit .cover.blank { display: grid; place-items: center; color: var(--ink-3); background: repeating-linear-gradient(-45deg, var(--bg-2) 0 14px, #17171a 14px 28px); }
.credit h3 { margin: 0; font: 600 19px/1.2 var(--display); letter-spacing: -.01em; }
.credit p { margin: 0; font-size: 14px; }
.credit .co { color: var(--ink-2); }
.credit .meta { color: var(--ink-3); }
.credit .role { color: var(--ink-3); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.credit .status { position: absolute; top: 10px; left: 10px; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; background: rgba(0,0,0,.6); color: #a6f4c5; backdrop-filter: blur(6px); }
@media (max-width: 1000px) { .credits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .credits { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* socials row above the footer on every page */
.socials-row { margin-top: clamp(56px, 8vw, 120px); }
.socials-row + .foot { margin-top: 28px; }
body.home .socials-row { margin-top: 20px; width: 100%; }
