/* ==========================================================================
   OinkDrop — home.css
   Landing-only styles: hero, drops carousel, projects slideshow.
   Loaded on index.html after main.css.
   ========================================================================== */

.shell { max-width: var(--shell); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 193, 177, 0.55);
}
.eyebrow.pill {
  padding: 7px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: rgba(201, 193, 177, 0.75);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin: 0;
}
.section-title em { font-style: italic; color: var(--accent); }

/* ==========================================================================
   Hero — cinematic "vault": full-bleed key art, HUD readout, load entrance
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding: clamp(116px, 19vh, 210px) 0 clamp(64px, 11vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
/* full-bleed key-art layer (fades in on load) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  opacity: 0;
  animation: heroBgIn 1200ms ease both;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.12); /* slack for the scroll parallax below */
  will-change: transform;
}
/* darkening scrims: top for header legibility, bottom to fuse into the page,
   left so the headline always has a dark bed regardless of the art */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,29,38,0.74) 0%, rgba(20,29,38,0.18) 24%, rgba(20,29,38,0) 44%),
    linear-gradient(0deg, var(--bg) 1%, rgba(27,38,50,0.86) 15%, rgba(27,38,50,0.22) 40%, transparent 60%),
    linear-gradient(90deg, rgba(20,29,38,0.82) 0%, rgba(20,29,38,0.32) 40%, transparent 70%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 95% at 28% 42%, transparent 38%, rgba(9,13,18,0.58) 100%);
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* oversized geometric headline (Century Gothic / Jost via --display) — line-staggered rise */
.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin: 0 0 28px;
  text-shadow: 0 6px 46px rgba(0, 0, 0, 0.5);
}
.hero-title .line { display: block; opacity: 0; }
.hero-title .line-1 { animation: heroRise 820ms var(--mo-ease, ease) both 140ms; }
.hero-title .line-2 { animation: heroRise 820ms var(--mo-ease, ease) both 260ms; }
.hero-title em { font-style: normal; font-weight: 700; color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: rgba(238, 233, 223, 0.82);
  max-width: 46ch;
  margin: 0 0 36px;
  opacity: 0;
  animation: heroRise 720ms var(--mo-ease, ease) both 380ms;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  opacity: 0;
  animation: heroRise 720ms var(--mo-ease, ease) both 480ms;
}

/* HUD stat readout (replaces the old glass feature-card row) */
.hero-readout {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  flex-wrap: wrap;
  opacity: 0;
  animation: heroRise 720ms var(--mo-ease, ease) both 580ms;
}
.readout-item { display: flex; flex-direction: column; gap: 5px; }
.readout-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  color: var(--accent);
}
.readout-label {
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(201, 193, 177, 0.62);
}
.readout-div {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, transparent, rgba(255, 177, 98, 0.5), transparent);
}

@keyframes heroBgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
/* Reduced motion: everything lands in its final, visible state immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-title .line,
  .hero-sub,
  .hero-actions,
  .hero-readout { opacity: 1 !important; transform: none !important; animation: none !important; }
}

.glass-card {
  padding: 22px 22px 24px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-line), 0 16px 40px -26px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 193, 177, 0.3);
}
.glass-card .kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.glass-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.glass-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(201, 193, 177, 0.6);
}

/* ==========================================================================
   Drops — interactive "drop stage" (slam-down + spotlight swap)
   A darkened room: spotlit floor, soft key-light aura, one crate at a time.
   home.js slams a crate in from the top with a dust burst + shockwave; prev/
   next launches the current crate up and drops the next in. Placeholder CSS-3D
   crate (front face = hand-painted art) — swappable for a real 3D model later.
   ========================================================================== */
.drops { max-width: var(--shell); margin: 0 auto; padding: 72px 0 48px; }
.drops-inner { padding: 0 var(--pad); }
.drops-head { margin-bottom: 26px; }
.drops-head .eyebrow { margin-bottom: 14px; }

/* the room */
.stage {
  position: relative;
  height: clamp(460px, 62vh, 640px);
  border-radius: 12px;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 42%;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 6%, rgba(44,59,77,0.5), transparent 58%),
    linear-gradient(180deg, #10171f 0%, #0c1218 62%, #090e13 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -70px 130px -60px rgba(0,0,0,0.9);
}
/* soft key-light aura behind the crate */
.stage-aura {
  position: absolute; z-index: 0;
  left: 50%; top: 6%;
  width: min(70%, 620px); height: 82%;
  transform: translateX(-50%);
  background: radial-gradient(58% 55% at 50% 32%, rgba(255,177,98,0.22), rgba(255,177,98,0.06) 46%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
/* spotlit floor pool the crate lands on */
.stage-floor {
  position: absolute; z-index: 0;
  left: 50%; bottom: 20%;
  width: min(70%, 540px); height: 140px;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 55%, rgba(255,205,150,0.32), rgba(255,177,98,0.08) 46%, transparent 72%);
  filter: blur(4px);
  pointer-events: none;
}
.crate-viewport { position: absolute; inset: 0; z-index: 1; }
.stage-shock {
  position: absolute; z-index: 2;
  left: 50%; bottom: 26%;
  width: 44px; height: 15px; margin-left: -22px;
  border-radius: 50%;
  border: 2px solid rgba(255,210,150,0.85);
  opacity: 0; transform: scale(0.4);
  pointer-events: none;
}
.stage-shock.go { animation: shockRing 620ms ease-out; }
@keyframes shockRing {
  0%   { opacity: 0.9; transform: scale(0.4); border-width: 2.5px; }
  100% { opacity: 0;   transform: scale(6.5); border-width: 0.5px; }
}
.stage-particles { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }

/* one crate on stage at a time */
.drop-crate { position: absolute; inset: 0; display: none; }
.drop-crate.is-active { display: block; }

/* the physical block that slams / launches (vertical only — centring is via
   left+margin so the slam's transform never fights it) */
.crate-3d {
  --cw: clamp(150px, 19vw, 208px);
  --ch: clamp(200px, 26vw, 286px);
  --cd: 46px;
  position: absolute;
  left: 50%; bottom: 30%;
  margin-left: calc(var(--cw) / -2);
  width: var(--cw); height: var(--ch);
  z-index: 1;
  transform-style: preserve-3d;
}
/* idle turntable on the inner layer so it never fights the slam transform */
.crate-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-22deg);
  animation: crateIdle 6.5s ease-in-out infinite;
}
@keyframes crateIdle {
  0%,100% { transform: rotateX(6deg) rotateY(-24deg); }
  50%     { transform: rotateX(6deg) rotateY(-11deg); }
}
.crate-face { position: absolute; top: 50%; left: 50%; }
.crate-front {
  width: var(--cw); height: var(--ch);
  margin-left: calc(var(--cw) / -2); margin-top: calc(var(--ch) / -2);
  transform: translateZ(calc(var(--cd) / 2));
  border-radius: 6px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,177,98,0.30), inset 0 1px 0 rgba(255,255,255,0.18),
              0 24px 54px -18px rgba(0,0,0,0.9);
}
.crate-front svg, .crate-front img.drop-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.crate-side {
  width: var(--cd); height: var(--ch);
  margin-left: calc(var(--cd) / -2); margin-top: calc(var(--ch) / -2);
  transform: rotateY(90deg) translateZ(calc(var(--cw) / 2));
  background: linear-gradient(180deg, #263440, #0f151b);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4);
}
.crate-top {
  width: var(--cw); height: var(--cd);
  margin-left: calc(var(--cw) / -2); margin-top: calc(var(--cd) / -2);
  transform: rotateX(90deg) translateZ(calc(var(--ch) / 2));
  background: linear-gradient(90deg, #35434f, #1b2630);
  box-shadow: inset 0 0 0 1px rgba(255,177,98,0.18);
}
.crate-number {
  position: absolute; z-index: 2;
  bottom: 10px; right: 12px;
  font-family: var(--display); font-weight: 700; font-size: 44px;
  color: rgba(238,233,223,0.22); line-height: 1; pointer-events: none;
}
/* contact shadow */
.crate-shadow {
  position: absolute; z-index: 0;
  left: 50%; bottom: 27%;
  width: min(44%, 250px); height: 24px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,0.72), transparent 70%);
  filter: blur(5px);
}
/* caption below the crate */
.crate-caption {
  position: absolute; z-index: 2;
  left: 50%; bottom: 5%;
  transform: translateX(-50%);
  width: min(90%, 540px);
  text-align: center;
}
.drop-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.01em; color: var(--text-bright);
  margin: 0 0 8px;
}
.drop-desc {
  font-size: 14px; line-height: 1.55;
  color: rgba(201,193,177,0.75);
  margin: 0 0 14px;
}
.drop-foot { display: inline-flex; align-items: center; gap: 18px; }
.drop-count {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(201,193,177,0.55);
}

/* slam-in / launch-out (on .crate-3d; idle lives on .crate-inner) + caption */
.drop-crate.is-entering .crate-3d { animation: crateSlam 720ms cubic-bezier(0.2,0.9,0.28,1) both; }
.drop-crate.is-leaving  .crate-3d { animation: crateLaunch 380ms cubic-bezier(0.5,0,0.75,0) both; }
.drop-crate.is-entering .crate-caption { animation: capIn 520ms var(--mo-ease, ease) both 240ms; }
.drop-crate.is-leaving  .crate-caption { animation: capOut 220ms ease both; }
@keyframes crateSlam {
  0%   { transform: translateY(-118%); opacity: 0; }
  56%  { transform: translateY(4%);    opacity: 1; }   /* land + overshoot */
  74%  { transform: translateY(-3%); }
  100% { transform: translateY(0);     opacity: 1; }
}
@keyframes crateLaunch {
  0%   { transform: translateY(0);     opacity: 1; }
  100% { transform: translateY(-140%); opacity: 0; }
}
@keyframes capIn  { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes capOut { to { opacity: 0; } }

/* controls */
.stage-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; margin-top: 26px;
}
.stage-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  color: var(--text-bright);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: background 180ms var(--mo-ease, ease), border-color 180ms var(--mo-ease, ease),
              color 180ms var(--mo-ease, ease), transform 150ms var(--mo-ease, ease);
}
.stage-btn:hover { background: rgba(255,177,98,0.12); border-color: rgba(255,177,98,0.45); color: var(--accent); }
.stage-btn:active { transform: scale(0.92); }
.stage-btn svg { width: 20px; height: 20px; }
.stage-count {
  display: inline-flex; align-items: baseline; gap: 8px; justify-content: center;
  min-width: 78px;
  font-family: var(--display); font-size: 14px; letter-spacing: 0.14em;
  color: var(--text-dim);
}
.stage-count .current { color: var(--accent); font-size: 22px; font-weight: 600; }
.stage-count .sep { opacity: 0.5; }

/* reduced motion: no slam / idle / dust — the crate simply appears */
@media (prefers-reduced-motion: reduce) {
  .crate-inner { animation: none !important; transform: rotateX(4deg) rotateY(-16deg); }
  .drop-crate.is-entering .crate-3d,
  .drop-crate.is-leaving .crate-3d,
  .drop-crate.is-entering .crate-caption,
  .drop-crate.is-leaving .crate-caption { animation: none !important; }
  .stage-shock { display: none !important; }
}

/* ==========================================================================
   Projects slideshow  (glass restyle of the existing autoplay carousel)
   ========================================================================== */
.projects {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}
.projects::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent 0%, rgba(201,193,177,0.42) 28%, rgba(201,193,177,0.42) 72%, transparent 100%);
}
/* cross-fading tinted backgrounds */
.project-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
}
.project-bg.active { opacity: 1; }
/* Blurs the photo itself directly (not via backdrop-filter, which proved
   unreliable sampling through this element's own opacity-transitioned
   stacking context — the blur silently no-op'd despite computing correctly). */
.project-bg.has-image { filter: blur(var(--bg-overlay-blur, 0px)); }
/* Configurable tint (CMS "Background photo overlay") layered on top of the
   now-blurred photo, for legibility under the section heading. */
.project-bg.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-overlay-color, #111922);
  opacity: var(--bg-overlay-opacity-frac, 0.5);
}

.projects-inner {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 84px var(--pad) 90px;
}
.projects-head { margin-bottom: 40px; }
.projects-head .eyebrow { margin-bottom: 14px; }
.projects-head .section-title { max-width: 620px; }

.project-stage { position: relative; }
.project-slide { display: none; }
.project-slide.active {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  /* Neutral by default (matches every other glass panel on the site) —
     only tints to the accent color once you actually set one, so an
     unthemed project never gets a stray amber ring around a cool palette. */
  border: 1px solid var(--proj-border, var(--line));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 26px 60px -32px rgba(0, 0, 0, 0.85);
  background: var(--proj-fill, var(--bg-2));
  animation: projectIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes projectIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* One seamless card: copy + key art share a background (--proj-fill) that
   bleeds diagonally into the uploaded photo via .project-art.has-cover::before */
.project-copy {
  position: relative;
  z-index: 2;
  padding: 32px 32px 30px;
  /* No background of its own — the card's solid --proj-fill (set on the
     parent .project-slide.active) shows through exactly as picked, with
     nothing layered on top to shift its hue. */
  background: transparent;
}
.project-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.badge {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--proj-badge-text, var(--proj-accent, var(--accent)));
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--proj-badge-text, var(--proj-accent, var(--accent))) 30%, transparent);
  background: var(--proj-badge-bg, color-mix(in srgb, var(--proj-badge-text, var(--proj-accent, var(--accent))) 8%, transparent));
}
.badge-year { font-size: 12px; color: rgba(201, 193, 177, 0.5); }
.project-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin: 0 0 8px;
}
.project-name em { font-style: italic; font-weight: 400; color: var(--accent); }
.project-tagline {
  font-size: 13px;
  color: rgba(201, 193, 177, 0.6);
  margin-bottom: 22px;
}
.project-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--proj-desc-color, rgba(201, 193, 177, 0.85));
  margin-bottom: 24px;
  max-width: 52ch;
}
.project-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--proj-hr-color, rgba(201, 193, 177, 0.12));
  border-bottom: 1px solid var(--proj-hr-color, rgba(201, 193, 177, 0.12));
  margin-bottom: 24px;
}
.project-meta > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.project-meta dt { color: var(--proj-meta-label-color, rgba(201, 193, 177, 0.5)); }
.project-meta dd { color: var(--proj-meta-value-color, var(--text)); }

/* preview panel showing the drop-art of the matching world — stretches to
   match the copy column's height via grid's default align-items: stretch */
.project-art {
  position: relative;
  overflow: hidden;
}
.project-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Bleed from the card's solid fill into the uploaded photo, so the two
   columns read as one continuous surface instead of a hard seam. A pure
   horizontal fade (not diagonal) is used deliberately: this panel's height
   is dynamic (stretches to match the copy column), and an angled gradient's
   iso-color line lands at a different, often awkward spot depending on how
   tall the card ends up — a horizontal fade looks right at any height. */
.project-art.has-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, var(--proj-tint, rgba(44, 59, 77, 0.92)) 0%, transparent 45%);
}

/* Projects controls (pips + autoplay ring) */
.projects-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}
.projects-pips { display: flex; gap: 14px; align-items: center; }
.project-pip {
  width: 12px; height: 12px;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(201, 193, 177, 0.35);
  transition: all 0.3s ease;
}
.project-pip:hover:not(.active) { border-color: var(--text); transform: scale(1.15); }
.project-pip.active {
  background: var(--pip-accent, var(--accent));
  border-color: var(--pip-accent, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pip-accent, var(--accent)) 18%, transparent);
}
.projects-autoplay {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.autoplay-ring { width: 40px; height: 40px; position: relative; }
.autoplay-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.autoplay-ring circle { fill: none; stroke-width: 1.5; }
.autoplay-ring .track { stroke: var(--line); }
.autoplay-ring .fill {
  stroke: var(--accent);
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  transition: stroke-dashoffset 0.15s linear;
}
.autoplay-ring button { position: absolute; inset: 0; display: grid; place-items: center; }
.autoplay-ring svg.icon {
  width: 12px; height: 12px; transform: none;
  position: absolute; inset: 0; margin: auto;
}

/* CMS: cover images may replace the hand-painted SVG scenes */
.drop-art img.drop-cover,
.project-art img.project-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.drop-art img.drop-cover { position: static; }

/* CTA button + optional dev-log link side by side on project slides */
.project-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Studio section (landing)
   ========================================================================== */
.studio {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 84px var(--pad) 70px;
}
.studio::before {
  content: '';
  position: absolute;
  top: 0; left: var(--pad); right: var(--pad);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,193,177,0.32) 28%, rgba(201,193,177,0.32) 72%, transparent 100%);
}
.studio-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.studio-copy .eyebrow { margin-bottom: 14px; }
.studio-copy .section-title { margin-bottom: 22px; max-width: 480px; }
.studio-lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.55;
  color: var(--text-bright);
  margin: 0 0 18px;
  max-width: 52ch;
}
.studio-para {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(201, 193, 177, 0.75);
  margin: 0 0 14px;
  max-width: 58ch;
}
.studio-actions { margin-top: 26px; }

.studio-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.studio-fact { text-align: left; }
.studio-fact .fact-value {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.studio-fact .fact-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 193, 177, 0.6);
}

/* ==========================================================================
   Responsive (landing)
   ========================================================================== */
@media (max-width: 860px) {
  .project-slide.active { grid-template-columns: 1fr; }
  .project-art { height: 240px; order: -1; }
  /* stacked layout: bleed runs top (photo) to bottom (seam with copy) instead of diagonally */
  .project-art.has-cover::before { background: linear-gradient(0deg, var(--proj-tint, rgba(44, 59, 77, 0.92)) 0%, transparent 60%); }
  .studio-inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .drop-card { flex: 0 0 86%; }
  .hero { min-height: 78vh; padding: clamp(92px, 16vh, 130px) 0 56px; }
  .hero-readout { gap: 16px; }
  .hero-readout .readout-div { display: none; }
  .studio-facts { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   MOTION LAYER  (additive — landing only)
   "Mercury pacing, Rive reflexes." Sections reveal slowly and editorially;
   interactive elements respond instantly and precisely. Everything animates
   ONCE and settles — no idle/looping motion. The Projects section is fully
   excluded from this layer (approved design benchmark) via :not(.projects *)
   and, for reveals, by never targeting anything inside .projects.

   Reveals use the independent `translate` property (not `transform`) so they
   compose cleanly with the transform-based hovers below — the two never fight
   over the same property.
   ========================================================================== */
:root {
  --mo-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mo-in: 180ms;    /* snap-in  */
  --mo-out: 400ms;   /* settle-out */
}

/* ---- (a) Section reveals — fade up 20px, once, on first viewport entry ---- */
/* JS adds .mo-reveal (so content stays visible if JS never runs) and sets
   --reveal-delay per sibling index for the 70ms stagger. */
.mo-reveal { opacity: 0; translate: 0 20px; }
.mo-reveal.mo-in { opacity: 1; translate: 0 0; }

/* Pure-reveal containers (no bespoke hover) — transition only the reveal. */
.hero-inner.mo-reveal,
.drops-head.mo-reveal,
.studio-copy.mo-reveal,
.footer-brand.mo-reveal {
  transition: opacity 550ms var(--mo-ease) var(--reveal-delay, 0ms),
              translate 550ms var(--mo-ease) var(--reveal-delay, 0ms);
}

/* Dual element (reveal + hover) — studio facts. Longhand lists keep the reveal
   (opacity, translate) and the hover (transform, border-color, box-shadow) on
   one element without either shorthand wiping the other. Drop cards get their
   own "loot crate" treatment further down. */
.studio-fact {
  transition-property: transform, border-color, box-shadow, opacity, translate;
  transition-timing-function: var(--mo-ease);
  transition-duration: var(--mo-out), var(--mo-out), var(--mo-out), 550ms, 550ms;
  transition-delay: 0ms, 0ms, 0ms, var(--reveal-delay, 0ms), var(--reveal-delay, 0ms);
}
.studio-fact:hover {
  transition-duration: var(--mo-in), var(--mo-in), var(--mo-in), 550ms, 550ms;
}

/* ---- (b) Hover asymmetry — quick in, slow settle out ---- */
.btn-pill,
.link-arrow:not(.projects *),
.footer .icon-btn,
.hero-cards .glass-card {
  transition-duration: var(--mo-out);
  transition-timing-function: var(--mo-ease);
}
.btn-pill:hover,
.link-arrow:not(.projects *):hover,
.footer .icon-btn:hover,
.hero-cards .glass-card:hover {
  transition-duration: var(--mo-in);
}
/* Glass cards (hero + studio facts): lift + border warms toward amber. */
.hero-cards .glass-card:hover,
.studio-fact:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 177, 98, 0.35);
}
/* ---- (c) Primary CTA signature sweep (.btn-primary only, excl. Projects) ---- */
/* An amber fill sweeps left→right BEHIND the label (negative-z ::before paints
   above the button's own background but below inline text — CSS paint order),
   label darkens to --bg-3 in sync. No dimension change / layout shift. */
.btn-primary:not(.projects *) {
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: transform var(--mo-out) var(--mo-ease),
              box-shadow var(--mo-out) var(--mo-ease),
              filter var(--mo-out) ease,
              color 220ms var(--mo-ease);
}
.btn-primary:not(.projects *)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--mo-ease);
}
.btn-primary:not(.projects *):hover {
  color: var(--bg-3);
  transition: transform var(--mo-in) var(--mo-ease),
              box-shadow var(--mo-in) var(--mo-ease),
              filter var(--mo-in) ease,
              color 220ms var(--mo-ease);
}
.btn-primary:not(.projects *):hover::before { transform: scaleX(1); }

/* ---- (d) Link underline draw (.link-arrow) ---- */
.link-arrow:not(.projects *) { position: relative; }
.link-arrow:not(.projects *)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--mo-ease);
}
.link-arrow:not(.projects *):hover::after { transform: scaleX(1); }

/* ---- (e) Hero parallax — .hero-cards drift ~0.92x scroll (subtle) ---- */
/* Preferred path: CSS scroll-timeline where supported. JS attaches a passive
   rAF fallback only when this @supports fails (see home.js). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-bg img {
      animation: heroDrift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 90vh;
    }
    /* scale(1.12) kept in both frames = parallax drift with no exposed edge */
    @keyframes heroDrift {
      from { transform: translateY(0) scale(1.12); }
      to   { transform: translateY(38px) scale(1.12); }
    }
  }
}

/* ---- Reduced motion: neutralise every new effect ---- */
@media (prefers-reduced-motion: reduce) {
  .mo-reveal { opacity: 1 !important; translate: none !important; }
  .btn-primary:not(.projects *)::before,
  .link-arrow:not(.projects *)::after { display: none !important; }
  .hero-bg img { animation: none !important; }
}
