/* DD Studio Pro — "glass" theme
   Frosted, glossy panels floating over a slow-moving field of studio light.
   Brand red from the logo, tungsten amber and a cool monitor blue as the light colors. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/bigshoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #141116;
  --red: #b3171b;
  --red-hi: #e0373a;
  --tungsten: #f0b85a;
  --monitor: #3c6df0;
  --violet: #7a3cf0;

  --on-ink: #f6f3f1;
  --on-ink-muted: rgba(246, 243, 241, 0.66);
  --on-paper: #19161a;
  --on-paper-muted: rgba(25, 22, 26, 0.66);

  /* glass recipe */
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --glass-hi: rgba(255, 255, 255, 0.42);
  --glass-blur: blur(22px) saturate(170%);
  --paper-glass: rgba(246, 244, 242, 0.80);

  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.375rem;
  --step-2: 1.875rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.75rem, 5vw, 3.9rem);
  --step-hero: clamp(3.25rem, 7.4vw, 7.2rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
  --header-h: 88px;
  --r-s: 14px;
  --r-m: 22px;
  --r-l: 34px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  margin: 0;
  color: var(--on-ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--tungsten); outline-offset: 3px; border-radius: 6px; }
.on-paper :focus-visible { outline-color: var(--red); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--tungsten); color: var(--ink);
  padding: 0.6rem 1rem; font-weight: 600; text-decoration: none; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: 0.005em; margin: 0; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); line-height: 1.05; }
p { margin: 0 0 1em; }

/* ---------- Living background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #241b26 0%, transparent 60%),
    var(--ink);
}
.aurora span {
  position: absolute; border-radius: 50%;
  width: 60vmax; height: 60vmax;
  opacity: 0.55;
  will-change: transform;
}
.aurora .a1 { background: radial-gradient(closest-side, rgba(179, 23, 27, 0.75), transparent); left: -18vmax; top: -16vmax; animation: drift1 26s ease-in-out infinite alternate; }
.aurora .a2 { background: radial-gradient(closest-side, rgba(60, 109, 240, 0.55), transparent); right: -22vmax; top: 10vh; animation: drift2 32s ease-in-out infinite alternate; }
.aurora .a3 { background: radial-gradient(closest-side, rgba(240, 184, 90, 0.38), transparent); left: 20vw; bottom: -30vmax; animation: drift3 38s ease-in-out infinite alternate; }
.aurora .a4 { background: radial-gradient(closest-side, rgba(122, 60, 240, 0.40), transparent); left: 45vw; top: 25vh; width: 40vmax; height: 40vmax; animation: drift4 29s ease-in-out infinite alternate; }
.grain {
  position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate(28vw, 30vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-30vw, 35vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(25vw, -40vh) scale(1.2); } }
@keyframes drift4 { to { transform: translate(-35vw, 20vh) scale(1.3); } }

/* ---------- Glass primitives ---------- */
.glass,
.nav-pill,
.filters,
.work-card,
.product,
.cart-btn,
.btn-ghost,
.store-foot,
.site-footer .wrap {
  background: linear-gradient(155deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.04) 45%, rgba(255,255,255,0.07) 100%);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 18px 50px -18px rgba(0, 0, 0, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: var(--step-0);
  text-decoration: none;
  transition: transform 260ms var(--spring), box-shadow 260ms ease, background-color 200ms ease, color 200ms ease;
}
.btn::after { /* moving gloss sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(0.97); transition-duration: 90ms; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #e2393c 0%, var(--red) 55%, #8f1013 100%);
  border-color: rgba(255, 140, 140, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -6px 14px rgba(0, 0, 0, 0.18),
    0 10px 28px -8px rgba(179, 23, 27, 0.75);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -6px 14px rgba(0,0,0,0.18), 0 16px 40px -8px rgba(224, 55, 58, 0.85); }
.btn-ghost { color: var(--on-ink); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.on-paper .btn-ghost { color: var(--on-paper); background: rgba(255,255,255,0.55); border-color: rgba(0,0,0,0.1); }

/* ---------- Header: floating pill ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  position: relative;
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin-inline: auto;
  height: 62px;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 0.6rem 0 1.25rem;
  border-radius: 999px;
  transition: height 300ms var(--ease), max-width 400ms var(--ease), background-color 300ms;
}
.site-header.is-scrolled .nav-pill { height: 56px; max-width: 980px; background-color: rgba(20, 17, 22, 0.45); }
.scroll-progress {
  position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red-hi), var(--tungsten));
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; transition: transform 300ms var(--spring); }
.brand:hover img { transform: scale(1.05); }

.main-nav { margin-left: auto; position: relative; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; position: relative; }
.nav-blob {
  position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 420ms var(--spring), width 420ms var(--spring), opacity 200ms;
  opacity: 0; pointer-events: none;
}
.main-nav a {
  position: relative; z-index: 1;
  display: block; padding: 0.5rem 0.95rem;
  text-decoration: none; color: var(--on-ink-muted); font-weight: 500;
  border-radius: 999px;
  transition: color 160ms ease;
}
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--on-ink); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 44px; padding: 0.35rem 0.5rem 0.35rem 0.95rem;
  border-radius: 999px; font-weight: 600;
  transition: transform 260ms var(--spring);
}
.cart-btn:hover { transform: scale(1.04); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 1.75rem; height: 1.75rem; padding: 0 0.4rem;
  display: inline-grid; place-items: center; border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: var(--step--1); font-variant-numeric: tabular-nums;
}
.cart-count.has-items { background: linear-gradient(180deg, #e2393c, var(--red)); color: #fff; box-shadow: 0 0 0 0 rgba(224,55,58,0.6); }
.cart-count.bump { animation: bump 600ms var(--spring); }
@keyframes bump {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224,55,58,0.7); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(224,55,58,0); }
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid var(--glass-edge);
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--on-ink); position: relative; border-radius: 2px;
  transition: transform 300ms var(--spring), background-color 200ms;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-pill { padding-left: 1rem; }
  .nav-toggle { display: grid; order: 3; }
  .cart-btn { margin-left: auto; }
  .cart-btn .cart-label { display: none; }
  .nav-blob { display: none; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    padding: 0.5rem;
    border-radius: var(--r-m);
    background: linear-gradient(160deg, #342a36, #1a151c);
    border: 1px solid var(--glass-edge);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 30px 60px -20px rgba(0,0,0,0.7);
    visibility: hidden; opacity: 0;
    transform: translateY(-10px) scale(0.96); transform-origin: top right;
    transition: opacity 220ms ease, transform 380ms var(--spring), visibility 0s 380ms;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms ease, transform 380ms var(--spring); }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 0.9rem 1rem; font-size: var(--step-1); border-radius: var(--r-s); }
  .main-nav a:hover { background: rgba(255,255,255,0.08); }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 8vh, 6rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 4rem; align-items: center;
}
.hero h1 {
  font-size: var(--step-hero); font-weight: 900;
  line-height: 0.88; max-width: 13ch;
  color: #fff;
  padding-bottom: 0.06em;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.02em 0.2em; margin: -0.04em -0.02em -0.2em; }
.hero h1 .w > span {
  display: inline-block;
  background-image: linear-gradient(180deg, #ffffff 30%, #d9cfd6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(105%) rotate(4deg);
  animation: rise 1000ms var(--ease) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes rise { to { transform: none; } }

.hero-mark { perspective: 900px; }
.mark-glass {
  position: relative;
  width: clamp(150px, 17vw, 240px);
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 28%;
  background: linear-gradient(150deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 55%, rgba(255,255,255,0.10));
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,0.5),
    inset 0 -20px 40px rgba(179, 23, 27, 0.18),
    0 40px 80px -30px rgba(179, 23, 27, 0.7),
    0 0 0 1px rgba(0,0,0,0.2);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease);
  animation: float 7s ease-in-out infinite, pop-in 1100ms var(--spring) 300ms both;
  overflow: hidden;
}
.mark-glass::before { /* specular highlight */
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 120%; height: 90%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.55), transparent 70%);
  transform: rotate(-20deg); opacity: 0.55; pointer-events: none;
}
.mark-glass::after { /* sheen sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: sweep 6s ease-in-out 1.6s infinite;
}
.mark-glass img { width: 64%; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45)); transform: translateZ(40px); }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes pop-in { from { opacity: 0; scale: 0.6; } }
@keyframes sweep { 0%, 60% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

.hero-lede {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 36rem) auto;
  justify-content: space-between; align-items: end; gap: 1.5rem 3rem;
}
.hero-lede p { color: var(--on-ink-muted); font-size: var(--step-1); line-height: 1.45; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .fade-up { opacity: 0; animation: fade-up 900ms var(--ease) forwards; }
.hero-lede p.fade-up { animation-delay: 750ms; }
.hero-actions.fade-up { animation-delay: 900ms; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .hero-lede { grid-template-columns: 1fr; }
  .hero-lede p { font-size: 1.1875rem; }
}

/* Filmstrip on a tilted glass tray */
.filmstrip-stage {
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  perspective: 1400px;
  padding-inline: var(--gutter);
}
.filmstrip {
  --hole: 9px;
  position: relative; overflow: hidden;
  max-width: 1600px; margin-inline: auto;
  padding: calc(var(--hole) * 2.6) 0;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 50px 90px -40px rgba(0,0,0,0.9);
  transform: rotateX(var(--tilt, 14deg)) scale(var(--scale, 0.96));
  transform-origin: center top;
  transition: transform 120ms linear;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.filmstrip::before, .filmstrip::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--hole);
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,0.55) 10px 24px, transparent 24px 34px);
  border-radius: 2px;
}
.filmstrip::before { top: calc(var(--hole) * 0.8); }
.filmstrip::after { bottom: calc(var(--hole) * 0.8); }
.filmstrip-track { display: flex; gap: 12px; width: max-content; animation: roll 80s linear infinite; }
.filmstrip:hover .filmstrip-track { animation-play-state: paused; }
.filmstrip img {
  height: clamp(120px, 15vw, 185px); width: auto; aspect-ratio: 300 / 190; object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.8);
  transition: transform 400ms var(--spring);
}
.filmstrip img:hover { transform: scale(1.08) translateY(-4px); }
@keyframes roll { to { transform: translateX(-50%); } }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head p { max-width: 34rem; margin: 0; color: var(--on-ink-muted); }

.sheet {
  position: relative;
  border-radius: var(--r-l);
  padding: clamp(1.75rem, 5vw, 4.5rem);
  background: linear-gradient(160deg, rgba(255,255,255,0.88) 0%, rgba(243,240,238,0.76) 60%, rgba(236,232,235,0.82) 100%);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(0,0,0,0.04),
    0 60px 120px -50px rgba(0,0,0,0.85),
    0 0 0 1px rgba(0,0,0,0.12);
  color: var(--on-paper);
}
.sheet::before { /* top specular edge */
  content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
}

/* ---------- Work ---------- */
.filters {
  position: relative;
  display: inline-flex; flex-wrap: wrap; gap: 0.25rem;
  padding: 5px; border-radius: 999px;
  margin-bottom: 2.25rem;
}
.seg-indicator {
  position: absolute; z-index: 0; top: 5px; left: 0;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #e7e2e5);
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px -6px rgba(0,0,0,0.6);
  transition: transform 520ms var(--spring), width 520ms var(--spring), height 300ms;
}
.filter {
  position: relative; z-index: 1;
  min-height: 42px; padding: 0.45rem 1.05rem;
  border-radius: 999px; border: 0; background: transparent;
  color: var(--on-ink-muted); font-weight: 600;
  transition: color 260ms ease;
}
.filter:hover { color: var(--on-ink); }
.filter[aria-pressed="true"] { color: var(--ink); }
.filter .n { opacity: 0.55; margin-left: 0.3rem; font-variant-numeric: tabular-nums; }
.filters:not(.has-indicator) .filter[aria-pressed="true"] { background: #fff; }
@media (max-width: 640px) {
  .filters { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
}

.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 1.25rem;
  perspective: 1200px;
}
.work-grid > li { display: flex; }
.work-grid > li > .work-card { height: 100%; }
.work-grid li[hidden], .work-grid.is-collapsed li.extra { display: none; }
.work-grid li.pop { animation: card-pop 600ms var(--spring) both; animation-delay: calc(var(--d, 0) * 40ms); }
@keyframes card-pop { from { opacity: 0; transform: translateY(24px) scale(0.94); } }

.work-card,
.product {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  border-radius: var(--r-m);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: transform 500ms var(--ease), box-shadow 400ms ease, border-color 300ms;
}
.work-card { transform-style: preserve-3d; }
.work-card {
  display: block; width: 100%; padding: 10px 10px 14px; text-align: left; color: inherit;
}
.work-card::after, .product::after { /* cursor-following gloss */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,0.22), transparent 45%);
  opacity: 0; transition: opacity 300ms ease;
}
.work-card:hover, .product:hover {
  border-color: rgba(255,255,255,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 40px 70px -25px rgba(0,0,0,0.85), 0 0 50px -20px rgba(224,55,58,0.45);
}
.work-card:hover::after, .product:hover::after { opacity: 1; }
.work-card.is-tilting, .product.is-tilting { transition: transform 80ms linear, box-shadow 400ms ease, border-color 300ms; }

.work-thumb {
  display: block; position: relative;
  aspect-ratio: 300 / 190; overflow: hidden;
  border-radius: calc(var(--r-m) - 8px);
  background: rgba(255,255,255,0.05);
  transform: translateZ(30px);
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.07); }
.work-play {
  position: absolute; left: 50%; top: 50%;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(20,17,22,0.35);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 10px 30px rgba(0,0,0,0.4);
  color: #fff; font-size: var(--step--1); font-weight: 600;
  opacity: 0; transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 250ms ease, transform 450ms var(--spring);
}
.work-play svg { width: 14px; height: 14px; }
.work-card:hover .work-play, .work-card:focus-visible .work-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .work-play { opacity: 1; transform: translate(-50%, -50%) scale(0.9); } }
.work-meta { display: block; padding: 0.85rem 0.35rem 0; transform: translateZ(20px); }
.work-title { display: block; font-family: var(--display); font-weight: 800; font-size: var(--step-1); line-height: 1.05; }
.work-sub { display: block; margin-top: 0.3rem; color: var(--on-ink-muted); font-size: var(--step--1); }
.work-sub time { color: var(--on-ink); opacity: 0.8; }
.work-more { margin-top: 2.5rem; display: flex; justify-content: center; }
.work-more[hidden] { display: none; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 5vw, 5rem); }
.services-intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.services-intro h2 { margin-bottom: 1.25rem; }
.services-intro p { color: var(--on-paper-muted); max-width: 30rem; }
.formats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.formats li {
  font-family: var(--display); font-weight: 800; font-size: var(--step-1);
  padding: 0.25rem 0.95rem; border-radius: 999px;
  background: linear-gradient(180deg, #2a2328, #141116);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 16px -6px rgba(0,0,0,0.5);
}
.formats li:last-child { background: linear-gradient(180deg, #e2393c, var(--red) 60%, #8f1013); }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.service-list li {
  display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 0.5rem 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--r-m);
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 14px 30px -18px rgba(40,20,30,0.35);
  transition: transform 450ms var(--spring), box-shadow 300ms ease;
}
.service-list li:hover { transform: translateX(6px) scale(1.01); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 24px 40px -18px rgba(120,20,30,0.4); }
.service-list h3 { font-size: var(--step-2); }
.service-list p { margin: 0; color: var(--on-paper-muted); max-width: 38rem; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .service-list li { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.section.about { padding-top: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: center; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { max-width: 36rem; color: var(--on-paper-muted); }
.about-text p:first-of-type { font-size: var(--step-1); line-height: 1.4; color: var(--on-paper); }
.about-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; perspective: 1000px; }
.about-collage img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-m);
  border: 4px solid rgba(255,255,255,0.9);
  box-shadow: 0 30px 50px -25px rgba(40, 10, 20, 0.6);
  transition: transform 600ms var(--spring);
  translate: 0 var(--py, 0px);
}
.about-collage img:first-child { grid-column: 1 / -1; }
.about-collage img:nth-child(2) { rotate: -2.5deg; }
.about-collage img:nth-child(3) { rotate: 2.5deg; }
.about-collage img:hover { transform: scale(1.04) rotate(0deg); rotate: 0deg; z-index: 2; position: relative; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Store ---------- */
.store-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem; perspective: 1200px;
}
.product { display: flex; flex-direction: column; height: 100%; padding: 10px; }
.product-cover {
  display: block; width: 100%; padding: 0; border: 0; background: rgba(255,255,255,0.05);
  border-radius: calc(var(--r-m) - 8px); overflow: hidden; cursor: zoom-in;
}
.product-cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 700ms var(--ease); }
.product:hover .product-cover img { transform: scale(1.05); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 0.5rem 0.4rem; }
.product-body h3 { font-size: var(--step-2); }
.product-body p { color: var(--on-ink-muted); margin: 0.35rem 0 1.25rem; }
.product-buy {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.price { font-family: var(--display); font-weight: 800; font-size: var(--step-2); font-variant-numeric: tabular-nums; }
.btn-add[aria-pressed="true"] { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-add.added { animation: added 650ms var(--spring); }
@keyframes added { 30% { transform: scale(1.12); } 100% { transform: none; } }
.store-foot {
  margin-top: 2rem; padding: 1.1rem 1.5rem; border-radius: 999px;
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center;
  color: var(--on-ink-muted); font-size: var(--step--1);
}
@media (max-width: 640px) { .store-foot { border-radius: var(--r-m); } }
.linkish { background: none; border: 0; padding: 0; color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* flying thumbnail when adding to cart */
.fly {
  position: fixed; z-index: 100; pointer-events: none;
  border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 750ms cubic-bezier(0.5, -0.3, 0.6, 1), opacity 750ms ease;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2rem, 5vw, 5rem); }
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info > p { color: var(--on-paper-muted); max-width: 28rem; }
.contact-details { margin: 2rem 0 0; display: grid; gap: 0.75rem; }
.contact-details > div {
  padding: 1rem 1.25rem; border-radius: var(--r-m);
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 12px 26px -18px rgba(40,20,30,0.35);
}
.contact-details dt { font-weight: 600; }
.contact-details dd { margin: 0.15rem 0 0; color: var(--on-paper-muted); }
.contact-details a { color: var(--on-paper); text-underline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step--1); padding-left: 0.4rem; }
.field .hint { font-weight: 400; color: var(--on-paper-muted); }
.field input, .field textarea {
  width: 100%; padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(25,22,26,0.12);
  border-radius: var(--r-s);
  color: var(--on-paper);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
  transition: background-color 200ms, border-color 200ms, box-shadow 300ms;
}
.field input:focus, .field textarea:focus {
  background: #fff; outline: none; border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(179, 23, 27, 0.18), inset 0 2px 4px rgba(0,0,0,0.03);
}
.field input[type="file"] { padding: 0.7rem; }
.field input[type="file"]::file-selector-button {
  border: 0; border-radius: 999px; padding: 0.45rem 1rem; margin-right: 0.8rem;
  background: var(--on-paper); color: #fff; font-weight: 600; cursor: pointer;
}
.field textarea { min-height: 9rem; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 0 0 2rem; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.5rem; border-radius: 999px;
  max-width: calc(var(--max) - 2 * var(--gutter));
}
.site-footer img { height: 26px; width: auto; }
.site-footer p { margin: 0; color: var(--on-ink-muted); font-size: var(--step--1); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px) scale(0.98); filter: blur(6px); }
.reveal.in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}

/* ---------- Dialogs ---------- */
dialog { padding: 0; border: 0; color: inherit; max-width: none; max-height: none; }
dialog::backdrop {
  background: rgba(10, 8, 12, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
dialog[open] { animation: dialog-in 520ms var(--spring); }
dialog[open]::backdrop { animation: fade 300ms ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(0.92); } }
@keyframes fade { from { opacity: 0; } }

.dialog-close {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(30,25,30,0.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  color: #fff;
  transition: transform 350ms var(--spring), background-color 200ms;
}
.dialog-close:hover { background: var(--red); transform: rotate(90deg) scale(1.08); }
.dialog-close svg { width: 18px; height: 18px; }

.video-dialog {
  width: min(1100px, calc(100vw - 2rem));
  padding: 10px;
  border-radius: var(--r-l);
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 60px 120px -30px rgba(0,0,0,0.9);
  color: var(--on-ink);
}
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: calc(var(--r-l) - 10px); overflow: hidden; }
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.video-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: 1.1rem 1rem 0.9rem; }
.video-caption h3 { font-size: var(--step-2); }
.video-caption p { margin: 0.35rem 0 0; color: var(--on-ink-muted); font-size: var(--step--1); max-width: 46rem; }
.video-caption a {
  color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap;
  padding: 0.6rem 1.1rem; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.video-caption a:hover { background: rgba(255,255,255,0.22); }
.video-dialog .dialog-close { top: 1.4rem; right: 1.4rem; }

.zoom-dialog { background: transparent; width: min(1400px, calc(100vw - 2rem)); overflow: visible; }
.zoom-dialog img { width: 100%; height: auto; max-height: calc(100vh - 2rem); object-fit: contain; border-radius: var(--r-m); box-shadow: 0 50px 100px -30px rgba(0,0,0,0.9); }

.policy-dialog {
  width: min(680px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem);
  border-radius: var(--r-l);
  padding: clamp(1.5rem, 4vw, 2.75rem); padding-right: 4.5rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(240,236,238,0.82));
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 #fff, 0 60px 120px -30px rgba(0,0,0,0.9);
  color: var(--on-paper);
}
.policy-dialog h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.policy-dialog p { color: var(--on-paper-muted); }
.policy-dialog .dialog-close { background: var(--on-paper); }

/* Cart: floating glass sheet from the right */
.cart-dialog {
  margin: 12px 12px 12px auto;
  height: calc(100dvh - 24px); max-height: calc(100dvh - 24px);
  width: min(420px, calc(100vw - 24px));
  border-radius: var(--r-l);
  background: linear-gradient(160deg, rgba(48,40,50,0.72), rgba(24,20,26,0.82));
  -webkit-backdrop-filter: blur(34px) saturate(180%); backdrop-filter: blur(34px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 60px 120px -30px rgba(0,0,0,0.9);
  color: var(--on-ink);
  display: none; flex-direction: column; overflow: hidden;
}
.cart-dialog[open] { display: flex; animation: drawer-in 560ms var(--spring); }
@keyframes drawer-in { from { transform: translateX(110%); } }
.cart-head { padding: 1.6rem 1.5rem 1rem; }
.cart-head h2 { font-size: var(--step-3); }
.cart-items { list-style: none; margin: 0; padding: 0 1rem; overflow-y: auto; flex: 1; display: grid; align-content: start; gap: 0.6rem; }
.cart-items li {
  display: grid; grid-template-columns: 84px 1fr; gap: 1rem;
  padding: 0.7rem; border-radius: var(--r-m);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  animation: card-pop 500ms var(--spring) both;
}
.cart-items li.cart-empty { display: block; background: none; border: 0; padding: 1rem 0.5rem; color: var(--on-ink-muted); }
.cart-items img { width: 84px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.cart-items strong { display: block; font-weight: 600; line-height: 1.3; }
.cart-line { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.cart-line span { font-variant-numeric: tabular-nums; }
.cart-remove { background: none; border: 0; padding: 0.25rem 0; color: var(--on-ink-muted); text-decoration: underline; text-underline-offset: 3px; font-size: var(--step--1); }
.cart-remove:hover { color: var(--on-ink); }
.cart-foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cart-total strong { font-family: var(--display); font-size: var(--step-3); font-variant-numeric: tabular-nums; }
.btn-paypal {
  width: 100%; color: #fff;
  background: linear-gradient(180deg, #2a8de0, #0070ba 60%, #005ea6);
  border-color: rgba(140, 200, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 10px 28px -8px rgba(0, 112, 186, 0.8);
}
.btn-paypal:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.cart-foot small { display: block; margin-top: 0.85rem; color: var(--on-ink-muted); line-height: 1.5; }

/* ---------- Reduced motion: keep the glass, drop the movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .filmstrip-track { animation: none !important; }
  .aurora span { animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero h1 .w > span { transform: none; }
  .hero .fade-up { opacity: 1; }
}

/* Browsers without backdrop-filter get solid tints */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-pill, .filters, .work-card, .product, .cart-btn, .store-foot, .site-footer .wrap { background: #241f26; }
  .sheet { background: #efedea; }
  .cart-dialog, .video-dialog { background: #1f1a21; }
}
