/* Rooster Films — cinematic redesign
   Inspiration (patterns only): Somesuch full-bleed + minimal nav,
   RSA editorial scale, Sacred Pact work-first. Own grade + grain. */

@import url("https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap");

:root {
  --black: #000000;
  --ink: #07080a;
  --elev: #0e1014;
  --panel: #12151b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f1ea;
  --cream: #f4f1ea;
  --muted: #9aa1ab;
  --dim: #6a7280;
  --teal: #2dd4bf;
  --teal-deep: #0f766e;
  --amber: #f59e4a;
  --amber-hot: #ff7a1a;
  --gold: #e8c27a;
  --danger: #fb7185;
  --nav-h: 4.25rem;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1280px;
  --radius: 1.1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Syne", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background: var(--black);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-optical-sizing: auto;
  color: var(--text);
  background: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-size: 0.9em; color: var(--teal); }

/* Film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 400;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* ——— Overlay nav (Somesuch-like minimal) ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* above grain (400), hero, featured */
  height: var(--nav-h);
  display: flex;
  align-items: center;
  mix-blend-mode: normal;
  isolation: isolate;
  pointer-events: none; /* let clicks pass except interactive kids */
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 70%, transparent 100%);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
}
.site-header .nav-inner,
.site-header .logo-link,
.site-header .nav-toggle,
.site-header .nav-links,
.site-header .nav-links a,
.site-header .lang-switch,
.site-header .lang-btn {
  pointer-events: auto;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  background: transparent;
}
.logo-link img {
  height: 32px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  object-position: left center;
  display: block;
  background: transparent;
  filter: none;
}
.footer-brand img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.neon-mark {
  background: #000 !important;
  line-height: 0;
}
.neon-mark img {
  display: block;
  background: #000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 0.55rem 0.65rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.78);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.nav-play { color: var(--amber); }
.nav-links a.nav-play:hover { background: rgba(245, 158, 74, 0.14); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——— Full-bleed hero ——— */
.hero-bleed {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Animated golden-hour fallback (always under video) */
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 30%, rgba(45, 212, 191, 0.28), transparent 55%),
    radial-gradient(ellipse 65% 50% at 82% 70%, rgba(245, 158, 74, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(232, 194, 122, 0.18), transparent 60%),
    linear-gradient(160deg, #05070a 0%, #0b1218 40%, #1a100a 100%);
  animation: heroPulse 10s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  from { filter: saturate(1) brightness(1); transform: scale(1); }
  to { filter: saturate(1.15) brightness(1.08); transform: scale(1.04); }
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero-media video.is-ready { opacity: 1; }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 2rem) var(--pad) clamp(2.5rem, 7vh, 4.5rem);
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-logo {
  display: block;
  width: min(42vw, 380px);
  height: auto;
  margin: 0 0 1.1rem;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.55));
  opacity: 0.95;
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero-logo { width: min(70vw, 280px); margin-bottom: 0.85rem; }
}
.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-title .line-amber {
  background: linear-gradient(105deg, var(--amber) 10%, var(--gold) 45%, var(--teal) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  color: #042f2e;
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.28);
}
.btn-amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-hot));
  color: #2a1205;
  box-shadow: 0 12px 40px rgba(245, 158, 74, 0.28);
}
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  color: #fff;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); }

.hero-scroll {
  position: absolute;
  right: var(--pad);
  bottom: 1.5rem;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}
.section-tight { padding-top: clamp(2rem, 5vw, 3rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 760;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
}
.section-link:hover { color: var(--gold); }

.lede {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.note {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(245, 158, 74, 0.28);
  background: rgba(245, 158, 74, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

/* ——— Work grid (RSA editorial scale) ——— */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.work-card,
button.work-card-play {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s;
}
.work-card:hover,
button.work-card-play:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}

/* Featured: first card huge, rest large */
.work-grid-featured .work-card:nth-child(1),
.work-grid-featured button.work-card-play:nth-child(1) { grid-column: span 12; }
.work-grid-featured .work-card:nth-child(1) .work-thumb,
.work-grid-featured button.work-card-play:nth-child(1) .work-thumb { aspect-ratio: 21 / 9; }
.work-grid-featured .work-card:nth-child(n+2),
.work-grid-featured button.work-card-play:nth-child(n+2) { grid-column: span 6; }

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(145deg, #182028, #0b0e12 55%, #1a1610);
  overflow: hidden;
}
.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(45,212,191,0.22), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(245,158,74,0.18), transparent 45%);
  opacity: 0.9;
}
.work-card:nth-child(even) .work-thumb::before {
  background:
    radial-gradient(circle at 70% 25%, rgba(245,158,74,0.24), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(45,212,191,0.16), transparent 45%);
}

.work-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(232,194,122,0.35);
}

.work-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.12);
  transition: background 0.25s;
}
.work-play svg {
  width: 64px;
  height: 64px;
  padding: 18px 16px 18px 20px;
  border-radius: 50%;
  fill: #fff;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s;
}
button.work-card-play:hover .work-play { background: rgba(0,0,0,0.28); }
button.work-card-play:hover .work-play svg {
  transform: scale(1.07);
  background: rgba(45, 212, 191, 0.25);
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.35);
}
button.work-card-play:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.work-meta {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.work-meta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.work-meta p {
  margin: 0;
  color: var(--dim);
  font-size: 0.9rem;
}

.work-card-muted { opacity: 0.7; }

.work-grid-archive .work-card,
.work-grid-archive button.work-card-play { grid-column: span 4; }

/* ——— About ——— */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.person-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.person-card:hover {
  border-color: rgba(245,158,74,0.35);
  transform: translateY(-2px);
}
.person-photo {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1a222c, #0c0f14);
}
.person-photo span {
  width: calc(100% - 2rem);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--dim);
  font-size: 0.8rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.75rem;
}
.person-info { padding: 1rem 1.1rem 1.2rem; }
.person-info h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
}
.person-role {
  margin: 0 0 0.65rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
}
.person-info a {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.person-info a:hover { color: var(--amber); }

/* ——— Contact ——— */
.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.25rem;
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--elev);
  border: 1px solid var(--line);
}
.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-list .label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.15rem;
}
.contact-list a:hover { color: var(--teal); }
.contact-aside {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(45,212,191,0.1), rgba(245,158,74,0.08));
  border: 1px solid rgba(45,212,191,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.contact-aside p { margin: 0; color: var(--muted); }

/* ——— Rentals ——— */
.rental-category + .rental-category { margin-top: 2.75rem; }
.category-blurb { margin: 0.5rem 0 0; color: var(--muted); max-width: 40rem; }
.rental-items { display: grid; gap: 0.75rem; }
.rental-item {
  padding: 1.15rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.rental-item:hover {
  border-color: rgba(45,212,191,0.3);
  transform: translateY(-1px);
}
.rental-item-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.rental-item h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.15rem;
}
.rental-summary { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 48rem; }
.rental-price {
  margin: 0;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}
.rental-details {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--dim);
  font-size: 0.88rem;
}
.rental-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.8rem; }
.rental-tags span {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(45,212,191,0.12);
}
.rental-cta-band {
  margin-top: 2.5rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45,212,191,0.22);
  background: linear-gradient(120deg, rgba(45,212,191,0.1), rgba(245,158,74,0.08));
}
.rental-cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.45rem;
}
.rental-cta-band p { margin: 0; color: var(--muted); max-width: 36rem; }
.rental-cta-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.rental-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ——— Page hero (inner pages) ——— */
.page-hero {
  padding: calc(var(--nav-h) + clamp(2rem, 6vw, 3.5rem)) 0 1.25rem;
}
.page-hero .display { font-size: clamp(2.4rem, 6vw, 4.5rem); }

/* ——— Footer ——— */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.footer-brand img { height: 26px; opacity: 0.9; }
.footer-brand p { margin: 0; color: var(--dim); font-size: 0.85rem; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--dim);
}
.footer-meta a:hover { color: var(--teal); }
.easter-egg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  color: var(--dim);
  font-weight: 600;
  font-size: 0.78rem;
}
.easter-egg:hover {
  color: var(--amber);
  border-color: rgba(245,158,74,0.45);
  background: rgba(245,158,74,0.08);
}

/* ——— Lightbox ——— */
.film-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200; /* above site-header (1000) so the close control is never buried in the nav */
  display: grid;
  place-items: center;
  align-content: center;
  padding: 0.75rem 1.25rem 1.25rem;
  overflow: auto;
}
.film-lightbox[hidden] { display: none !important; }
.film-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.84);
  backdrop-filter: blur(10px);
}
.film-lightbox-dialog {
  position: relative;
  z-index: 1;
  /* Desktop: most of the viewport, 16:9; reserve room for close toolbar + caption + fallback. */
  width: min(92vw, 1680px, calc((100vh - 12rem) * 16 / 9));
  max-width: calc(100vw - 2.5rem);
}
.film-lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  min-height: 48px;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}
.film-lightbox-close {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: auto;
  min-width: 44px;
  height: auto;
  min-height: 44px;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(18,22,28,0.96);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 21;
  pointer-events: auto;
}
.film-lightbox-close-icon {
  font-size: 1.55rem;
  line-height: 1;
  display: block;
}
.film-lightbox-close-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.film-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.film-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— Toast ——— */
.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 350;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--elev);
  border: 1px solid rgba(245,158,74,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
  pointer-events: none;
  max-width: calc(100% - 2rem);
  text-align: center;
  font-size: 0.9rem;
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ——— Play / game ——— */
.game-page { min-height: 100svh; background: var(--black); }
.game-shell {
  padding-top: var(--nav-h);
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
}
.game-top {
  padding: 1rem var(--pad) 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.game-stage {
  position: relative;
  margin: 0 var(--pad) var(--pad);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #061018;
  min-height: min(70vh, 640px);
}
#game-canvas { width: 100%; height: 100%; display: block; touch-action: none; }
#game-hud {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}
.game-overlay[hidden] { display: none !important; }
.game-card {
  width: min(420px, 100%);
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(10,12,15,0.88);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.game-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}
.game-card .hint { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
#game-score-form { display: grid; gap: 0.55rem; }
#game-score-form[hidden] { display: none !important; }
#game-retry-s3[hidden] { display: none !important; }
#game-name {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
#game-name:focus {
  outline: 2px solid var(--teal);
  border-color: transparent;
}
.game-form-row { display: flex; gap: 0.5rem; }
.game-form-row .btn { flex: 1; }
#game-name-error {
  min-height: 1.2em;
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
}
#game-board[hidden] { display: none !important; }
#game-board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.lb-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-radius: 0.65rem;
  background: rgba(255,255,255,0.03);
}
.lb-row.is-highlight {
  background: rgba(245,158,74,0.16);
  border: 1px solid rgba(245,158,74,0.4);
  box-shadow: 0 0 0 1px rgba(245,158,74,0.15);
}
.lb-rank { color: var(--dim); font-weight: 700; font-size: 0.8rem; }
.lb-name { font-weight: 650; }
.lb-score { font-family: var(--display); font-weight: 800; color: var(--teal); }
.lb-empty { color: var(--muted); padding: 0.5rem; }

[data-work-list]:empty::before,
[data-rentals-root]:empty::before {
  content: "Loading…";
  color: var(--dim);
  display: block;
  padding: 1rem 0;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .work-card,
  button.work-card-play,
  .work-grid-featured .work-card:nth-child(n+2),
  .work-grid-featured button.work-card-play:nth-child(n+2),
  .work-grid-archive .work-card,
  .work-grid-archive button.work-card-play { grid-column: span 6; }
  .about-split,
  .contact-panel { grid-template-columns: 1fr; }
  .work-grid-featured .work-card:nth-child(1) .work-thumb,
  .work-grid-featured button.work-card-play:nth-child(1) .work-thumb { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(0,0,0,0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .work-card,
  button.work-card-play,
  .work-grid-featured .work-card,
  .work-grid-featured button.work-card-play,
  .work-grid-archive .work-card,
  .work-grid-archive button.work-card-play { grid-column: span 12; }
  .hero-scroll { display: none; }
  .rental-price { white-space: normal; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-fallback { animation: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ——— Neon 6 playful moments (pure #000, no box) ——— */
.neon-mark {
  display: block;
  margin: 0 auto;
  background: #000;
  line-height: 0;
}
.neon-mark img {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  margin: 0 auto;
  background: #000;
  /* kill any residual edge feel */
  mix-blend-mode: normal;
}
.neon-mark--sm img { width: min(140px, 42vw); }
.neon-mark--footer img { width: min(110px, 36vw); }

.neon-flicker {
  animation: neonFlicker 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.35))
          drop-shadow(0 0 22px rgba(245, 158, 74, 0.25));
}

@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.4))
            drop-shadow(0 0 24px rgba(245, 158, 74, 0.28));
  }
  20%, 24%, 55% {
    opacity: 0.72;
    filter: drop-shadow(0 0 4px rgba(45, 212, 191, 0.15));
  }
  22% {
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neon-flicker {
    animation: none;
    filter: drop-shadow(0 0 12px rgba(45, 212, 191, 0.3));
  }
}

.game-teaser {
  margin: clamp(2rem, 6vw, 4rem) auto 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: var(--max);
  width: min(100% - (var(--pad) * 2), var(--max));
  border-radius: calc(var(--radius) + 6px);
  background: #000;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem 1.75rem;
  align-items: center;
}
.game-teaser-copy h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.game-teaser-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28rem;
}
@media (max-width: 720px) {
  .game-teaser {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.game-card .neon-mark {
  margin-bottom: 0.85rem;
}

/* ——— Rooster Run pixel layer ——— */
.game-stage-pixel {
  display: grid;
  place-items: center;
  background: #000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
#game-canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #000;
}
.game-hud-pixel {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-shadow: 0 0 0 #000, 2px 2px 0 #000;
}
.game-card-pixel h2 {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#game-press-start {
  width: 100%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.game-boot {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
}
.game-boot[hidden] { display: none !important; }
.game-boot-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: bootDrop 0.7s var(--ease) both;
}
.game-boot.is-instant .game-boot-inner { animation: none; }
@keyframes bootDrop {
  from { transform: translateY(-28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.game-boot-logo {
  width: min(360px, 78vw);
  height: auto;
  margin: 0 auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 18px rgba(45, 212, 191, 0.35))
          drop-shadow(0 0 28px rgba(245, 158, 74, 0.25));
}
.game-boot-tag {
  margin: 1rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--amber);
}
.game-boot-skip {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.game-crt {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.03) 0,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
  animation: crtFlicker 2.8s infinite;
}
@keyframes crtFlicker {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
  52% { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .game-boot-inner { animation: none; }
  .game-crt { animation: none; }
}

.game-ready {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
  padding: 0.55rem 0.9rem;
  background: rgba(0, 0, 0, 0.72);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 2px #000, 0 0 18px rgba(45, 212, 191, 0.35);
}
.game-ready[hidden] { display: none !important; }
.game-ready-title {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-shadow: 2px 2px 0 #000;
  animation: readyBlink 0.9s steps(2, end) infinite;
}
.game-ready-hint {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 1px 1px 0 #000;
  white-space: normal;
}
@keyframes readyBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .game-ready-title { animation: none; }
}

#game-mute {
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}


/* Impossible-to-miss one-sentence controls */
.game-howto,
#game-overlay-hint,
#game-start-panel .hint,
.game-ready-hint {
  font-family: var(--display) !important;
  font-size: clamp(0.78rem, 2.1vw, 1rem) !important;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: none !important;
  color: var(--cream) !important;
  text-shadow: 1px 1px 0 #000, 0 0 12px rgba(45, 212, 191, 0.25);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
#game-start-panel .hint {
  margin-top: 0.85rem !important;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--teal);
  background: rgba(0,0,0,0.55);
  box-shadow: 0 0 0 2px #000;
}
.game-page .game-top .lede {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: var(--cream);
}
.game-card-pixel h2 {
  margin-bottom: 0.35rem;
}

/* ——— Wave 2 polish ——— */

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 760;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.archive-note {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Work thumb fallbacks (no broken images) */
.work-thumb.has-image::before { opacity: 0.35; }
.work-thumb-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(24,32,40,0.95), rgba(11,14,18,0.98)),
    radial-gradient(circle at 28% 28%, rgba(45,212,191,0.28), transparent 52%),
    radial-gradient(circle at 78% 72%, rgba(245,158,74,0.22), transparent 48%);
}
.work-thumb-fallback .fallback-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--amber), var(--gold) 45%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.45rem;
}
.work-thumb-fallback .fallback-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.72);
}
.work-platform {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Featured layout: hero + 2×2 for the five cases */
.work-grid-featured .work-card:nth-child(1),
.work-grid-featured button.work-card-play:nth-child(1) { grid-column: span 12; }
.work-grid-featured .work-card:nth-child(n+2),
.work-grid-featured button.work-card-play:nth-child(n+2) { grid-column: span 6; }
@media (min-width: 901px) {
  .work-grid-featured .work-card:nth-child(n+4),
  .work-grid-featured button.work-card-play:nth-child(n+4) { grid-column: span 4; }
}

/* Mugshot placeholders ready for GIFs */
.person-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(165deg, #1c2834 0%, #0c1016 55%, #1a140e 100%);
}
.person-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
  pointer-events: none;
}
.person-photo[data-mugshot] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mugshot-slot {
  position: relative;
  z-index: 1;
  width: calc(100% - 1.6rem);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  border-radius: 0.85rem;
  border: 1px solid rgba(232,194,122,0.28);
  background:
    radial-gradient(circle at 30% 20%, rgba(245,158,74,0.18), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(45,212,191,0.16), transparent 50%),
    rgba(0,0,0,0.25);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.mugshot-slot .mug-initials {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--amber), var(--gold), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.mugshot-slot .mug-hint {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.55);
}
.person-card--andreas { border-color: rgba(245,158,74,0.22); }
.person-card--gustav { border-color: rgba(45,212,191,0.22); }
.person-card--andreas:hover { border-color: rgba(245,158,74,0.5); }
.person-card--gustav:hover { border-color: rgba(45,212,191,0.5); }

/* Home teaser bands — short links to other pages */
.home-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  width: min(100% - (var(--pad) * 2), var(--max));
}
.teaser-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(1.35rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 11.5rem;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.teaser-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.teaser-card--about {
  background:
    linear-gradient(135deg, rgba(245,158,74,0.1), transparent 55%),
    linear-gradient(200deg, #14131a, #0a0c10);
}
.teaser-card--about:hover { border-color: rgba(245,158,74,0.4); }
.teaser-card--rentals {
  background:
    linear-gradient(135deg, rgba(167,139,250,0.12), transparent 55%),
    linear-gradient(200deg, #12151b, #0a0c10);
}
.teaser-card--rentals:hover { border-color: rgba(167,139,250,0.4); }
.teaser-card--archive {
  background:
    linear-gradient(135deg, rgba(45,212,191,0.12), transparent 55%),
    linear-gradient(200deg, #12151b, #0a0c10);
}
.teaser-card--archive:hover { border-color: rgba(45,212,191,0.4); }
.teaser-card--play {
  background:
    linear-gradient(145deg, rgba(245,158,74,0.14), transparent 50%),
    #000;
}
.teaser-card--play:hover { border-color: rgba(245,158,74,0.45); }
.teaser-card .kicker { margin-bottom: 0.15rem; }
.teaser-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.teaser-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28rem;
  flex: 1;
}
.teaser-card .btn { align-self: flex-start; margin-top: 0.25rem; }
@media (max-width: 720px) {
  .home-teaser-grid { grid-template-columns: 1fr; }
}

/* Rentals weight */
.rentals-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.rentals-studio-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid rgba(245,158,74,0.28);
  background:
    linear-gradient(145deg, rgba(245,158,74,0.12), rgba(45,212,191,0.06)),
    var(--panel);
}
.rentals-studio-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}
.rentals-studio-card p { margin: 0; color: var(--muted); }
.rentals-studio-card .studio-price {
  margin-top: 0.85rem;
  font-weight: 750;
  color: var(--amber);
  font-size: 1.05rem;
}
.rentals-side-note {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--muted);
}
.rentals-side-note strong { color: var(--text); }
.rentals-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
}
.rentals-toc a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.rentals-toc a:hover {
  color: var(--text);
  border-color: rgba(45,212,191,0.4);
  background: rgba(45,212,191,0.08);
}
.rental-category#cat-studio .rental-item {
  border-color: rgba(245,158,74,0.25);
  background:
    linear-gradient(120deg, rgba(245,158,74,0.07), transparent 40%),
    var(--panel);
}
@media (max-width: 900px) {
  .rentals-intro { grid-template-columns: 1fr; }
}

/* Button contrast + footer cleanup */
.btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.45);
}
.btn-primary:hover,
.btn-amber:hover { filter: brightness(1.06); }
.site-footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(18,21,27,0.65));
}
.footer-brand img {
  height: 28px;
  width: auto;
  max-width: 150px;
  opacity: 0.92;
  object-fit: contain;
}
.footer-meta a {
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-meta a:hover { color: var(--teal); }
.game-teaser {
  margin-top: 0;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.teaser-card--play .neon-mark {
  margin: 0 0 0.25rem;
  align-self: flex-start;
}
.teaser-card--play .neon-mark img {
  width: min(120px, 40vw);
  margin: 0;
}
@media (max-width: 720px) {
  .teaser-card--play .neon-mark { align-self: center; }
  .teaser-card--play .neon-mark img { margin: 0 auto; }
}


/* ——— Polish pass (wave 3) ——— */

:root {
  --focus: 0 0 0 2px var(--ink), 0 0 0 4px var(--teal);
  --max-copy: 40rem;
}

::selection {
  background: rgba(45, 212, 191, 0.35);
  color: #fff;
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.btn:focus-visible,
.nav-links a:focus-visible,
.nav-toggle:focus-visible,
.lang-btn:focus-visible,
.rentals-toc a:focus-visible,
.easter-egg:focus-visible,
.section-link:focus-visible,
.teaser-card:focus-visible,
.logo-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.btn:focus-visible {
  box-shadow: var(--focus);
}
#game-name:focus-visible {
  outline: 2px solid var(--teal);
  border-color: transparent;
}

/* Typography rhythm */
.kicker,
.section-kicker,
.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lede {
  max-width: var(--max-copy);
  line-height: 1.55;
  color: var(--muted);
}
.about-copy p {
  max-width: 36rem;
  line-height: 1.6;
}
.display {
  text-wrap: balance;
}

/* Nav polish */
.logo-link {
  border-radius: 8px;
  padding: 0.15rem 0.1rem;
}
.logo-link img {
  height: 30px;
  max-width: 160px;
}
.nav-links a {
  position: relative;
}
.nav-links a.is-active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-links a.nav-play.is-active {
  color: var(--amber);
  background: rgba(245, 158, 74, 0.16);
}

/* Buttons */
.btn {
  min-height: 2.85rem;
  padding: 0.8rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #042f2e;
}
.btn-primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 14px 44px rgba(45, 212, 191, 0.34);
}
.btn-amber:hover {
  filter: brightness(1.07);
  box-shadow: 0 14px 44px rgba(245, 158, 74, 0.34);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08);
}
.btn[disabled],
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Section spacing consistency */
.section {
  padding: clamp(3.25rem, 8vw, 6rem) 0;
}
.section-tight {
  padding-top: clamp(2rem, 4.5vw, 2.75rem);
  padding-bottom: clamp(3.25rem, 8vw, 6rem);
}
.section-head {
  margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
  gap: 0.85rem 1.25rem;
}
.page-hero {
  padding: calc(var(--nav-h) + clamp(1.75rem, 5vw, 3.25rem)) 0 1rem;
}
.page-hero .lede { margin-top: 0.85rem; }

/* Work cards */
.work-grid { gap: 1rem; }
.work-meta {
  padding: 1.05rem 1.15rem 1.2rem;
  gap: 0.3rem;
}
.work-meta h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.15;
}
.work-meta p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.work-play {
  opacity: 0.92;
}
button.work-card-play:hover .work-play { opacity: 1; }
.work-card-muted .work-meta h3 { color: rgba(244,241,234,0.78); }
.work-thumb.no-image::before { opacity: 0.55; }

/* Mugshot slots — intentional placeholder */
.mugshot-slot {
  border: 1px solid rgba(232,194,122,0.32);
  background:
    radial-gradient(circle at 32% 22%, rgba(245,158,74,0.2), transparent 55%),
    radial-gradient(circle at 72% 78%, rgba(45,212,191,0.18), transparent 52%),
    rgba(0,0,0,0.28);
}
.mugshot-slot .mug-hint {
  letter-spacing: 0.12em;
  color: rgba(244,241,234,0.5);
}
.person-info {
  padding: 1.05rem 1.15rem 1.25rem;
}
.person-info h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

/* Contact panel */
.contact-panel {
  gap: 1.35rem;
}
.contact-panel .display {
  font-size: clamp(1.8rem, 4vw, 2.55rem);
}
.contact-panel .lede {
  margin-top: 0.7rem;
}
.contact-aside {
  gap: 1.35rem;
}
.contact-aside .hero-actions {
  margin: 0;
}

/* Home teasers */
.home-teaser-grid {
  margin-top: 0.25rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}
.teaser-card {
  min-height: 12rem;
  gap: 0.7rem;
}
.teaser-card .btn {
  pointer-events: none; /* whole card is the link */
}

/* Rentals hierarchy */
.rentals-intro {
  margin-bottom: 1.75rem;
}
.rentals-toc {
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
}
.rentals-toc a:focus-visible {
  color: var(--text);
  border-color: rgba(45,212,191,0.55);
}
.rental-category + .rental-category {
  margin-top: 3rem;
  padding-top: 0.25rem;
}
.rental-category .section-head {
  margin-bottom: 1rem;
}
.rental-item {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem 1.3rem;
}
.rental-item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.5rem;
  align-items: start;
}
.rental-price {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--amber);
  font-weight: 700;
  min-width: 9.5rem;
}
.rental-price-stack {
  display: grid;
  gap: 0.15rem;
  justify-items: end;
}
.rental-price-stack .rp-main {
  font-size: 1.02rem;
  color: var(--amber);
  font-weight: 750;
}
.rental-price-stack .rp-alt {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.rental-summary {
  max-width: 42rem;
  line-height: 1.45;
}
.rental-cta-band {
  margin-top: 3rem;
  align-items: center;
}
.rental-cta-band h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.55rem);
}
.rental-hero-actions {
  margin-top: 1.35rem;
}
.note {
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
.category-blurb[data-rentals-contact] a {
  color: var(--teal);
  font-weight: 600;
}
.category-blurb[data-rentals-contact] a:hover {
  color: var(--gold);
}

/* Play page */
.game-page .game-top {
  padding: 1.15rem 0 0.65rem;
  align-items: flex-end;
}
.game-page .game-top-inner {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.game-page .game-top-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  max-width: 24rem;
}
.game-page .game-top-actions .lede {
  margin: 0;
  text-align: right;
  max-width: 22rem;
  color: var(--cream);
  font-size: clamp(0.85rem, 1.8vw, 0.98rem);
}
.game-stage {
  min-height: min(72vh, 660px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.game-card-pixel {
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: rgba(6, 10, 14, 0.92);
}
.game-card-pixel #game-overlay-hint {
  margin-bottom: 0.85rem;
}
#game-start-panel {
  display: grid;
  gap: 0.75rem;
}
#game-start-panel[hidden] { display: none !important; }
#game-start-panel .hint.game-howto {
  margin: 0 !important;
}
.game-howto-box {
  margin: 0;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--teal);
  background: rgba(0,0,0,0.55);
  box-shadow: 0 0 0 2px #000;
  text-align: center;
}
#game-score-form label.kicker {
  color: var(--amber);
}
#game-board {
  margin-top: 0.85rem;
}
#game-board::before {
  content: "High scores";
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.lb-row {
  border: 1px solid transparent;
}
.game-ready {
  max-width: calc(100% - 2rem);
}
.game-ready-hint {
  white-space: normal;
  max-width: 22rem;
}

/* Footer */
.site-footer {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.footer-inner {
  gap: 1.25rem 1.5rem;
}
.footer-meta {
  gap: 0.85rem 1.1rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 500;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: #042f2e;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Mobile basics */
@media (max-width: 900px) {
  .rental-item-top {
    grid-template-columns: 1fr;
  }
  .rental-price,
  .rental-price-stack {
    text-align: left;
    justify-items: start;
    min-width: 0;
  }
  .game-page .game-top-actions {
    align-items: flex-start;
    max-width: none;
  }
  .game-page .game-top-actions .lede {
    text-align: left;
  }
}
@media (max-width: 720px) {
  .nav-links a {
    padding: 0.85rem 0.9rem;
    font-size: 0.85rem;
  }
  .hero-actions { gap: 0.65rem; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .btn { width: auto; }
  .rental-cta-actions { width: 100%; }
  .rental-cta-actions .btn { flex: 1 1 auto; }
  .contact-aside .hero-actions .btn { width: 100%; }
  .game-stage {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    min-height: min(62vh, 520px);
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .rental-hero-actions .btn { width: 100%; }
}


/* Helpers from polish HTML */
.contact-title { font-size: clamp(1.8rem, 4vw, 2.55rem); }
.contact-aside-strong { color: var(--text); }
.contact-aside-actions { margin: 0; }
.page-foot-link { margin-top: 2rem; }
.game-title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.game-name-label { display: block; margin-bottom: 0.35rem; }
.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a.section-link:focus-visible {
  outline-offset: 4px;
}

.work-thumb-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-thumb.has-image .work-thumb-fallback { opacity: 0; }
.work-thumb.no-image .work-thumb-fallback { opacity: 1; }
.work-thumb .work-play,
.work-thumb .work-badge,
.work-thumb .work-platform { z-index: 2; }
#game-overlay-hint:empty { display: none !important; }

/* ——— Polish pass: denser archive, micro-interactions ——— */

/* Archive: denser but clean — 4 across on desktop */
@media (min-width: 1100px) {
  .work-grid-archive {
    gap: 0.65rem;
  }
  .work-grid-archive .work-card,
  .work-grid-archive button.work-card-play {
    grid-column: span 3;
  }
  .work-grid-archive .work-thumb {
    aspect-ratio: 16 / 10;
  }
  .work-grid-archive .work-meta {
    padding: 0.75rem 0.85rem 0.95rem;
    gap: 0.15rem;
  }
  .work-grid-archive .work-meta h3 {
    font-size: 1.05rem;
  }
  .work-grid-archive .work-meta p {
    font-size: 0.78rem;
  }
  .work-grid-archive .work-play svg {
    width: 48px;
    height: 48px;
    padding: 13px 11px 13px 15px;
  }
}

/* Card hover: gentle image zoom */
.work-thumb-img {
  transition: transform 0.55s var(--ease), opacity 0.3s;
  transform: scale(1.001);
}
.work-card:hover .work-thumb-img,
button.work-card-play:hover .work-thumb-img {
  transform: scale(1.045);
}
.work-thumb.has-image::before {
  opacity: 0.18;
  transition: opacity 0.3s;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45));
}
.work-card:hover .work-thumb.has-image::before,
button.work-card-play:hover .work-thumb.has-image::before {
  opacity: 0.35;
}

/* Instagram platform chip stays readable on photo thumbs */
.work-platform[data-kind="instagram"],
.work-thumb .work-platform {
  backdrop-filter: blur(8px);
}

/* Scroll cue */
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), transparent);
  animation: scrollCuePulse 1.8s var(--ease) infinite;
}
.hero-scroll.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
@keyframes scrollCuePulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Smoother lightbox */
.film-lightbox {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.film-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.film-lightbox[hidden] { display: none !important; }
.film-lightbox-dialog {
  transform: translateY(14px) scale(0.985);
  transition: transform 0.32s var(--ease);
}
.film-lightbox.is-open .film-lightbox-dialog {
  transform: none; /* not translateY(0): leftover transform clips caption ink */
}
.film-lightbox-backdrop {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(14px);
}
.film-lightbox-close {
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.film-lightbox-close:hover {
  background: rgba(45,212,191,0.18);
  border-color: rgba(45,212,191,0.45);
  transform: scale(1.05);
}

/* Work page intro */
.page-hero .lede {
  max-width: 40rem;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.page-foot-link {
  margin: 2rem 0 0;
}

/* Footer contact consistency */
.footer-brand p {
  line-height: 1.45;
}
.footer-brand .footer-loc {
  display: block;
  color: var(--dim);
  font-size: 0.8rem;
}
.footer-brand .footer-mail {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-brand .footer-mail:hover { color: var(--teal); }

/* Contact panel CTA align */
.contact-aside-strong {
  color: var(--text);
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.contact-list .label {
  min-width: 4.5rem;
}

/* Soften featured first-card meta spacing */
.work-grid-featured .work-card:nth-child(1) .work-meta h3,
.work-grid-featured button.work-card-play:nth-child(1) .work-meta h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

/* Screen-reader only (lightbox title, etc.) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Avoid mobile overflow on READY howto */
.game-ready {
  max-width: min(92vw, 28rem);
  padding-inline: 0.75rem;
}
.game-ready-hint {
  white-space: normal;
}


#game-overlay-hint[hidden] { display: none !important; }


/* ——— Sticky nav overlay + Featured clearance ——— */
#featured,
#about,
#contact,
.page-hero,
.section {
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}
.section.section-tight#featured {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
}

/* Neon 6 edge accent on hero (not replacing Vanlig v1 nav) */
.hero-neon-accent {
  position: absolute;
  left: clamp(0.85rem, 3vw, 1.85rem);
  bottom: clamp(1.15rem, 3.5vh, 2.35rem);
  z-index: 3;
  width: min(26vw, 200px);
  pointer-events: none;
  opacity: 0.9;
  filter:
    drop-shadow(0 8px 24px rgba(0,0,0,0.55))
    drop-shadow(0 0 18px rgba(45, 212, 191, 0.22))
    drop-shadow(0 0 28px rgba(245, 158, 74, 0.16));
}
.hero-neon-accent img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 700px) {
  .hero-neon-accent {
    width: min(44vw, 158px);
    left: 0.85rem;
    bottom: 1.15rem;
    opacity: 0.86;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-neon-accent { filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5)); }
}

/* ——— Inquiry / quote form ——— */
.contact-panel--inquiry {
  grid-template-columns: 1.35fr 0.85fr;
  align-items: start;
}
.contact-main .lede {
  max-width: 36rem;
}
.inquiry-form {
  margin-top: 1.35rem;
}
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.inquiry-field {
  display: grid;
  gap: 0.35rem;
}
.inquiry-field--full {
  grid-column: 1 / -1;
}
.inquiry-field .label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.inquiry-field .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
}
.inquiry-field input,
.inquiry-field textarea,
.inquiry-field select {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.inquiry-field textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.45;
}
.inquiry-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(50% - 0.15rem),
    calc(100% - 0.75rem) calc(50% - 0.15rem);
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
  cursor: pointer;
}
.inquiry-field select option {
  background: #12141a;
  color: #fff;
}
.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: rgba(255,255,255,0.32);
}
.inquiry-field input:hover,
.inquiry-field textarea:hover,
.inquiry-field select:hover {
  border-color: rgba(255,255,255,0.28);
}
.inquiry-field input:focus,
.inquiry-field textarea:focus,
.inquiry-field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: transparent;
  background: rgba(255,255,255,0.06);
}
.inquiry-field input:invalid:not(:placeholder-shown):not(:focus),
.inquiry-field textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(248,113,113,0.55);
}
.inquiry-note {
  margin: 0.95rem 0 0;
  color: var(--dim);
  font-size: 0.86rem;
  max-width: 34rem;
  line-height: 1.45;
}
.inquiry-note a:hover { color: var(--teal); }
.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
}
.inquiry-error {
  margin: 0;
  color: var(--danger, #f87171);
  font-size: 0.88rem;
}
.inquiry-error[hidden] { display: none !important; }
.contact-aside-kicker {
  margin: 0 0 0.35rem;
}
.contact-panel--inquiry .contact-aside {
  gap: 1.5rem;
}
.contact-panel--inquiry .contact-list {
  margin-top: 0.65rem;
}
.contact-aside-actions {
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .contact-panel--inquiry {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
  }
}

/* Inquiry type toggle */
.inquiry-type {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.inquiry-type > .label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.inquiry-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.inquiry-type-option {
  display: block;
  cursor: pointer;
  margin: 0;
}
.inquiry-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.inquiry-type-card {
  display: grid;
  gap: 0.2rem;
  min-height: 4.4rem;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.inquiry-type-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.inquiry-type-hint {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.inquiry-type-option:hover .inquiry-type-card {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.05);
}
.inquiry-type-option input:checked + .inquiry-type-card {
  border-color: var(--teal);
  background: rgba(45, 212, 191, 0.08);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.35);
}
.inquiry-type-option input:focus-visible + .inquiry-type-card {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
#inquiry-budget-field[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .inquiry-type-options {
    grid-template-columns: 1fr;
  }
}

/* ——— Hi-end refine (Somesuch / RSA grade) ——— */

:root {
  --radius: 0.95rem;
  --radius-lg: 1.25rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --nav-h: 4rem;
  --pad: clamp(1.35rem, 4.2vw, 3.75rem);
  --max: 1240px;
}

body {
  letter-spacing: 0.005em;
  line-height: 1.55;
}

/* Grain quieter — luxury, not noisy */
body::after {
  opacity: 0.038;
}

/* ——— Nav: film-studio minimal ——— */
.site-header {
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.12) 72%, transparent 100%);
  transition: background 0.45s var(--ease-out), backdrop-filter 0.45s, border-color 0.45s, height 0.35s;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}
.logo-link img {
  height: 28px;
  max-width: 152px;
  transition: opacity 0.25s;
}
.logo-link:hover img { opacity: 0.88; }

.nav-links {
  gap: 0.05rem;
}
.nav-links a {
  padding: 0.5rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(244, 241, 234, 0.68);
  border-radius: 0;
  background: transparent !important;
  transition: color 0.25s var(--ease-soft);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.28rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
  opacity: 0.85;
}
.nav-links a:hover {
  color: #fff;
  background: transparent !important;
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-links a.is-active {
  color: #fff;
  background: transparent !important;
}
.nav-links a.nav-play {
  color: rgba(245, 158, 74, 0.9);
  letter-spacing: 0.1em;
}
.nav-links a.nav-play:hover,
.nav-links a.nav-play.is-active {
  color: var(--amber);
  background: transparent !important;
}
.nav-toggle {
  border-radius: 10px;
  border-color: rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.25);
}
@media (max-width: 720px) {
  .nav-links a {
    border-radius: 0.65rem;
    padding: 0.9rem 1rem;
  }
  .nav-links a::after { display: none; }
  .nav-links a.is-active,
  .nav-links a:hover {
    background: rgba(255,255,255,0.05) !important;
  }
}

/* ——— Typography ——— */
.kicker,
.section-kicker,
.hero-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  font-weight: 650;
  opacity: 0.95;
}
.display {
  font-weight: 750;
  letter-spacing: -0.038em;
  line-height: 1.0;
}
.page-hero {
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 4.5rem)) 0 clamp(1.25rem, 3vw, 2rem);
}
.page-hero .display {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  max-width: 14ch;
}
.page-hero .lede {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 34rem;
  color: rgba(154, 161, 171, 0.95);
}
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section-tight {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.section-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  align-items: flex-end;
}
.section-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.15rem;
}
.section-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.section-link:hover::after {
  transform: scaleX(1);
  opacity: 0.9;
}

/* ——— Buttons: quieter luxury ——— */
.btn {
  min-height: 2.75rem;
  padding: 0.78rem 1.45rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.3s,
    border-color 0.3s,
    filter 0.3s;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, #34d9c4 0%, #14b8a6 100%);
  box-shadow: 0 10px 32px rgba(45, 212, 191, 0.22);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 40px rgba(45, 212, 191, 0.32);
}
.btn-amber {
  background: linear-gradient(135deg, #f5a45a 0%, #ff7a1a 100%);
  box-shadow: 0 10px 32px rgba(245, 158, 74, 0.22);
}
.btn-amber:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 40px rgba(245, 158, 74, 0.32);
}
.btn-ghost {
  border-color: rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.07);
}

/* ——— Hero ——— */
.hero-content {
  padding: calc(var(--nav-h) + 2.5rem) var(--pad) clamp(3rem, 8vh, 5rem);
}
.hero-logo {
  margin-bottom: 1.35rem;
  opacity: 0.97;
}
.hero-kicker {
  color: rgba(45, 212, 191, 0.92);
  margin-bottom: 1.15rem;
}
.hero-title {
  font-size: clamp(3.2rem, 11.5vw, 8rem);
  letter-spacing: -0.048em;
  line-height: 0.88;
}
.hero-actions {
  margin-top: clamp(1.75rem, 4.5vh, 2.75rem);
  gap: 0.7rem;
}
.hero-shade {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.12) 38%, rgba(0,0,0,0.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 48%);
}
.hero-neon-accent {
  opacity: 0.82;
  filter:
    drop-shadow(0 10px 28px rgba(0,0,0,0.6))
    drop-shadow(0 0 16px rgba(45, 212, 191, 0.18))
    drop-shadow(0 0 24px rgba(245, 158, 74, 0.12));
}
.hero-scroll {
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.42);
  font-size: 0.65rem;
}

/* ——— Work cards ——— */
.work-grid { gap: 0.9rem; }
.work-card,
button.work-card-play {
  border-radius: var(--radius-lg);
  border-color: rgba(255,255,255,0.07);
  background: #0c0e12;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.45s var(--ease-out);
}
.work-card:hover,
button.work-card-play:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 28px 56px rgba(0,0,0,0.5);
}
.work-meta {
  padding: 1.15rem 1.25rem 1.35rem;
  gap: 0.35rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.work-meta h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
}
.work-meta p {
  font-size: 0.84rem;
  color: rgba(154, 161, 171, 0.88);
  letter-spacing: 0.01em;
}
.work-badge {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.55);
}
.work-play svg {
  width: 58px;
  height: 58px;
  padding: 16px 14px 16px 18px;
  background: rgba(0,0,0,0.42);
  border-color: rgba(255,255,255,0.22);
  transition: transform 0.4s var(--ease-out), background 0.3s, border-color 0.3s, box-shadow 0.4s;
}
button.work-card-play:hover .work-play svg {
  transform: scale(1.06);
  background: rgba(45, 212, 191, 0.22);
  border-color: rgba(45, 212, 191, 0.48);
  box-shadow: 0 0 36px rgba(45, 212, 191, 0.28);
}
.work-thumb-img {
  transition: transform 0.85s var(--ease-out);
}
.work-card:hover .work-thumb-img,
button.work-card-play:hover .work-thumb-img {
  transform: scale(1.035);
}

/* Featured first card breathing room */
.work-grid-featured .work-card:nth-child(1) .work-meta,
.work-grid-featured button.work-card-play:nth-child(1) .work-meta {
  padding: 1.35rem 1.4rem 1.55rem;
}
.work-grid-featured .work-card:nth-child(1) .work-meta h3,
.work-grid-featured button.work-card-play:nth-child(1) .work-meta h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
}

/* ——— Teasers ——— */
.home-teaser-grid {
  gap: 1rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.teaser-card {
  border-radius: var(--radius-lg);
  border-color: rgba(255,255,255,0.07);
  padding: clamp(1.6rem, 3.5vw, 2.35rem);
  min-height: 13rem;
  gap: 0.75rem;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.45s var(--ease-out);
}
.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.teaser-card h2 {
  font-size: clamp(1.4rem, 2.7vw, 1.9rem);
  letter-spacing: -0.032em;
  font-weight: 720;
}
.teaser-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(154, 161, 171, 0.92);
}
.teaser-card .btn {
  margin-top: 0.5rem;
  min-height: 2.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
}

/* ——— About ——— */
.about-split {
  gap: clamp(2rem, 5vw, 3.75rem);
}
.about-copy p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(154, 161, 171, 0.95);
  margin-bottom: 1.15rem;
}
.duo-grid { gap: 1rem; }
.person-card {
  border-radius: var(--radius-lg);
  border-color: rgba(255,255,255,0.08);
  transition: border-color 0.35s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.person-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.person-info {
  padding: 1.15rem 1.25rem 1.4rem;
}
.person-info h3 {
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}
.person-role {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.person-info a {
  font-size: 0.86rem;
  transition: color 0.2s;
}

/* ——— Contact / inquiry form elegance ——— */
.contact-panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius-lg) + 4px);
  border-color: rgba(255,255,255,0.08);
  background:
    linear-gradient(165deg, rgba(18,21,27,0.95), rgba(10,12,16,0.98));
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.contact-panel--inquiry {
  gap: 1.75rem;
}
.contact-main .kicker { margin-bottom: 0.55rem; }
.contact-title {
  font-size: clamp(1.95rem, 4.2vw, 2.75rem) !important;
  letter-spacing: -0.035em;
}
.contact-main .lede {
  margin-top: 0.85rem;
  font-size: 1.02rem;
  line-height: 1.6;
}
.inquiry-form { margin-top: 1.65rem; }
.inquiry-type { margin-bottom: 1.35rem; }
.inquiry-type-options { gap: 0.75rem; }
.inquiry-type-card {
  min-height: 4.6rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.025);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.inquiry-type-option:hover .inquiry-type-card {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.22);
}
.inquiry-type-option input:checked + .inquiry-type-card {
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.07);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.25),
    0 12px 28px rgba(0,0,0,0.2);
}
.inquiry-type-title {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.inquiry-type-hint {
  font-size: 0.8rem;
  color: rgba(154, 161, 171, 0.9);
}
.inquiry-grid { gap: 1rem 1.15rem; }
.inquiry-field .label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.1rem;
}
.inquiry-field input,
.inquiry-field textarea,
.inquiry-field select {
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.inquiry-field textarea {
  min-height: 9rem;
  padding-top: 0.9rem;
}
.inquiry-field input:hover,
.inquiry-field textarea:hover,
.inquiry-field select:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.045);
}
.inquiry-field input:focus,
.inquiry-field textarea:focus,
.inquiry-field select:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.04);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}
.inquiry-note {
  margin-top: 1.15rem;
  font-size: 0.82rem;
  color: rgba(106, 114, 128, 0.95);
}
.inquiry-actions {
  margin-top: 1.35rem;
  padding-top: 0.25rem;
}
.inquiry-actions .btn {
  min-width: 10.5rem;
}
.contact-aside {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border-color: rgba(45,212,191,0.16);
  background:
    linear-gradient(165deg, rgba(45,212,191,0.08), rgba(245,158,74,0.05));
}
.contact-list {
  gap: 1rem;
}
.contact-list .label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.25rem;
}
.contact-list a,
.contact-list span:not(.label) {
  font-size: 0.92rem;
  line-height: 1.4;
}
.contact-aside-strong {
  font-size: 1.05rem;
}

/* ——— Rentals ——— */
.rentals-studio-card,
.rentals-side-note,
.rental-item,
.rental-cta-band {
  border-radius: var(--radius-lg);
}
.rental-item {
  border-color: rgba(255,255,255,0.07);
  padding: 1.3rem 1.4rem;
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.rental-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}
.rental-item h3 {
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}
.rental-price-stack .rp-main {
  letter-spacing: 0.01em;
}
.rentals-toc a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-color: rgba(255,255,255,0.08);
}
.rental-cta-band {
  margin-top: 3.5rem;
  padding: clamp(1.6rem, 3.5vw, 2.35rem);
  border-color: rgba(45,212,191,0.18);
}

/* ——— Footer ——— */
.site-footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: 2.75rem 0 3rem;
  border-top-color: rgba(255,255,255,0.06);
  background: linear-gradient(180deg, transparent, rgba(10,12,16,0.85));
}
.footer-meta a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(154, 161, 171, 0.75);
}
.footer-meta a:hover { color: var(--teal); }
.easter-egg {
  text-transform: none;
  letter-spacing: 0.02em;
  border-style: solid;
  border-color: rgba(255,255,255,0.1);
}

/* ——— Scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none; /* not translateY(0): a leftover transform clips glyph ink */
}
.reveal-stagger > .reveal:nth-child(1) { --reveal-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { --reveal-delay: 70ms; }
.reveal-stagger > .reveal:nth-child(3) { --reveal-delay: 140ms; }
.reveal-stagger > .reveal:nth-child(4) { --reveal-delay: 210ms; }
.reveal-stagger > .reveal:nth-child(5) { --reveal-delay: 280ms; }
.reveal-stagger > .reveal:nth-child(6) { --reveal-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav-links a::after,
  .section-link::after { transition: none; }
  .work-thumb-img,
  .work-card,
  button.work-card-play,
  .teaser-card,
  .person-card,
  .rental-item { transition-duration: 0.01ms !important; }
}

/* Soft hairline under page heroes */
.page-hero .wrap {
  position: relative;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.page-hero .wrap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(6rem, 22vw);
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0.55;
}

/* Archive denser but calmer */
@media (min-width: 1100px) {
  .work-grid-archive {
    gap: 0.75rem;
  }
  .work-grid-archive .work-meta {
    padding: 0.85rem 0.95rem 1.05rem;
  }
}

/* Lightbox quieter */
.film-lightbox-backdrop {
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(18px) saturate(0.9);
}
.film-lightbox-frame {
  border-radius: var(--radius-lg);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px rgba(0,0,0,0.65);
}

/* ============================================================
   Hi-end micro-polish pass — transitions, lightbox, rentals, play
   ============================================================ */

/* Page enter / leave — no FOUC: content visible, soft fade on leave */
html.js body.is-entered main,
html.js body.is-entered .game-shell {
  animation: pageEnter 0.55s var(--ease-out) both;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
html.js body.is-leaving {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js body.is-entered main,
  html.js body.is-entered .game-shell {
    animation: none !important;
  }
  html.js body.is-leaving {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Lightbox — caption bar + loading shimmer */
.film-lightbox-dialog {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.film-lightbox-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.15rem;
}
.film-lightbox-caption {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.film-lightbox-hint {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  flex-shrink: 0;
}
.film-lightbox-close {
  z-index: 21;
  background: rgba(10, 12, 16, 0.92);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.film-lightbox-frame.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.06) 45%, transparent 60%),
    #050607;
  background-size: 200% 100%, auto;
  animation: lbShimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lbShimmer {
  0% { background-position: 100% 0, 0 0; }
  100% { background-position: -100% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .film-lightbox-frame.is-loading::before { animation: none; }
  .film-lightbox-dialog { transition: none; }
}
@media (max-width: 640px) {
  .film-lightbox-hint { display: none; }
}

/* Rentals — elegant rate-sheet rows */
.rental-items {
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(14, 16, 20, 0.55);
}
.rental-item {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  padding: 1.15rem 1.35rem;
  box-shadow: none;
  transition: background 0.25s var(--ease-out);
}
.rental-item:last-child { border-bottom: 0; }
.rental-item:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  background: rgba(255,255,255,0.025);
}
.rental-item-top {
  align-items: flex-start;
}
.rental-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rental-summary {
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 42rem;
}
.rental-price,
.rental-price-stack {
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: 7.5rem;
}
.rental-price-stack .rp-main {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.rental-price-stack .rp-alt {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--dim);
  font-weight: 500;
}
.rental-details {
  margin-top: 0.65rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.08);
  color: var(--dim);
  font-size: 0.82rem;
}
.rental-tags { margin-top: 0.65rem; }
.rental-tags span {
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.rental-category#cat-studio .rental-item {
  background: transparent;
}
.rentals-toc {
  gap: 0.45rem;
  margin: 1.5rem 0 2rem;
}
.rentals-toc a {
  background: transparent;
  border-color: rgba(255,255,255,0.1);
  color: var(--muted);
}
.rentals-toc a:hover {
  color: var(--cream);
  border-color: rgba(232, 194, 122, 0.35);
  background: rgba(232, 194, 122, 0.06);
}
.rental-cta-band {
  border-color: rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(18,21,27,0.9), rgba(14,16,20,0.6));
}

/* Play page — quieter chrome */
.game-page .game-top {
  padding: 0.85rem 0 0.35rem;
}
.game-page .game-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  color: rgba(244, 241, 234, 0.92);
}
.game-page .game-top .kicker {
  opacity: 0.65;
  font-size: 0.68rem;
}
.game-page .game-top-actions .btn-quiet,
.game-page #game-mute.btn-quiet {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-color: rgba(255,255,255,0.1);
  background: transparent;
}
.game-page #game-mute.btn-quiet:hover {
  color: var(--cream);
  border-color: rgba(255,255,255,0.2);
}
.game-page .game-stage {
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.game-page .neon-mark.neon-soft {
  opacity: 0.55;
  filter: saturate(0.85) brightness(0.95);
}
.game-page .neon-mark.neon-soft img {
  max-width: 140px;
}
.game-page .game-card-pixel {
  border-color: rgba(255,255,255,0.1);
  background: rgba(6, 8, 12, 0.88);
  backdrop-filter: blur(10px);
}
.game-page .game-hud-pixel,
.game-page #game-hud {
  opacity: 0.7;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.game-page .site-footer {
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
  background: transparent;
  border-top-color: rgba(255,255,255,0.05);
}
.game-page .site-header.is-solid {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.05);
}


/* ——— Rooster Run HUD: score / lives / ammo ——— */
.game-hud-pixel,
#game-hud.game-hud-pixel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  top: 0.85rem;
  left: 0.85rem;
  right: auto;
  opacity: 0.92 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f1ea;
  pointer-events: none;
  z-index: 4;
}
.game-hud-pixel .hud-score {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-shadow: 0 0 0 #000, 2px 2px 0 #000;
}
.game-hud-pixel .hud-lives {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #fb7185;
  text-shadow: 0 0 0 #000, 1px 1px 0 #000;
}
.game-hud-pixel .hud-ammo {
  font-size: 0.78rem;
  color: var(--gold, #e8c27a);
  text-shadow: 0 0 0 #000, 1px 1px 0 #000;
}


/* ——— Rental media & studio gallery ——— */
.rental-item--has-media {
  grid-template-columns: minmax(7.5rem, 9.5rem) minmax(0, 1fr);
  align-items: start;
  gap: 1rem 1.15rem;
}
.rental-item-media-wrap {
  margin: 0;
  min-width: 0;
}
.rental-item-media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 4 / 3;
}
.rental-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rental-item-body { min-width: 0; }
.rental-item--studio {
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1.4rem;
}
.rental-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.55rem;
}
/* Studio intro: intentional 3-up (no empty 4th column) */
.rental-gallery--studio,
.rentals-studio-card .rental-gallery--studio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.rental-gallery-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 16 / 10;
}
.rental-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.rental-gallery-item:hover img {
  transform: scale(1.03);
}
.rentals-studio-gallery-wrap {
  margin-top: 1.1rem;
}
.rentals-studio-more {
  margin: 0.9rem 0 0;
}
.rentals-media-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(244, 241, 234, 0.62);
}
@media (max-width: 900px) {
  /* Balanced 2+1 when the intro card narrows */
  .rental-gallery--studio,
  .rentals-studio-card .rental-gallery--studio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rentals-studio-card .rental-gallery--studio .rental-gallery-item:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.325rem);
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .rental-item--has-media {
    grid-template-columns: 1fr;
  }
  /* Full-width thumbs on mobile — avoid orphaned 14rem tile */
  .rental-item-media-wrap,
  .rental-item-media {
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .rental-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rentals-studio-card .rental-gallery--studio .rental-gallery-item:nth-child(3):last-child {
    max-width: none;
  }
}


/* ——— Polish pass: work/archive category filters ——— */
.work-filter-bar {
  margin: 0 0 1.15rem;
}
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.work-filter {
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 241, 234, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.work-filter:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}
.work-filter.is-active,
.work-filter[aria-pressed="true"] {
  color: #042f2e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.22);
}
.work-filter:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.work-card.is-filtered-out,
.work-card[hidden] {
  display: none !important;
}
.work-filter-status {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  .work-filters {
    gap: 0.4rem;
  }
  .work-filter {
    min-height: 2.4rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.68rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-filter {
    transition: none;
  }
}

/* Inquiry: keep layout stable when budget field hides */
#inquiry-budget-field[hidden] {
  display: none !important;
}

/* Slight cinematic lift: featured first card edge */
.work-grid-featured .work-card:first-child .work-thumb,
.work-grid-featured button.work-card-play:first-child .work-thumb {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(232, 194, 122, 0.08);
}


/* ——— Designer pass: compact arcade playfield + nav logo + lightbox fallback ——— */

/* Nav logo: larger + readable on hero video without editing the PNG */
.site-header .logo-link {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.15rem;
  border-radius: 10px;
}
.site-header .logo-link img {
  height: clamp(34px, 3.2vw, 42px) !important;
  max-width: min(220px, 42vw) !important;
  width: auto;
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.55))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}
.site-header.is-scrolled .logo-link img,
.site-header.is-solid .logo-link img {
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
@media (max-width: 720px) {
  .site-header .logo-link img {
    height: 34px !important;
    max-width: 168px !important;
  }
}

/* Game: stage is a slim bezel; playfield hugs the 16:9 canvas */
.game-page .game-shell {
  min-height: auto;
  padding-bottom: 0.5rem;
  grid-template-rows: auto auto;
  justify-items: center;
}
.game-page .game-top {
  width: min(100% - (var(--pad) * 2), 980px);
  margin-inline: auto;
  padding-bottom: 0.65rem;
}
.game-page .game-stage,
.game-stage {
  width: min(100% - (var(--pad) * 2), 980px);
  margin: 0 auto 1rem;
  min-height: 0 !important;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45, 212, 191, 0.08), transparent 55%),
    #050608;
  padding: clamp(0.55rem, 1.4vw, 0.9rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(232, 194, 122, 0.06);
}
.game-playfield {
  position: relative;
  width: 640px; /* JS overrides to exact canvas size */
  height: 360px;
  max-width: 100%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.game-playfield #game-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  vertical-align: top;
}
.game-playfield #game-hud,
.game-playfield .game-hud-pixel {
  top: 0.55rem !important;
  left: 0.55rem !important;
  right: 0.55rem;
  gap: 0.45rem 0.75rem !important;
  font-size: 0.78rem !important;
  opacity: 0.96 !important;
  text-shadow: 0 0 0 #000, 2px 2px 0 #000, 0 4px 12px rgba(0, 0, 0, 0.55);
}
.game-playfield .hud-score {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem) !important;
}
.game-playfield .hud-lives {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem) !important;
}
.game-playfield .game-overlay {
  padding: clamp(0.65rem, 2vw, 1.1rem);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
}
.game-playfield .game-card {
  width: min(400px, 100%);
  max-height: calc(100% - 0.5rem);
  overflow: auto;
  padding: 1.1rem 1.15rem 1.25rem;
}
.game-playfield .game-howto-box,
.game-playfield #game-start-panel .hint {
  font-size: clamp(0.72rem, 1.7vw, 0.88rem) !important;
  line-height: 1.4 !important;
  max-width: none;
  text-align: left;
}
.game-playfield .game-boot-logo {
  width: min(240px, 70%);
}
.game-page .site-footer {
  margin-top: 0.5rem;
}
@media (max-width: 720px) {
  .game-page .game-stage,
  .game-stage {
    width: calc(100% - 1.5rem);
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    padding: 0.45rem;
  }
  .game-playfield .game-card h2 {
    font-size: 1.35rem;
  }
  .game-playfield .neon-mark.neon-soft img {
    max-width: 110px;
  }
}
@media (max-width: 420px) {
  .game-playfield .hud-ammo {
    flex-basis: 100%;
  }
}

/* Lightbox: always-available host fallback */
.film-lightbox-fallback {
  margin: 0.75rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 14, 18, 0.92);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.film-lightbox-fallback[hidden] { display: none !important; }
.film-lightbox-fallback-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 36rem;
}
.film-lightbox-hint a,
.film-lightbox-open-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.film-lightbox-hint a:hover,
.film-lightbox-open-link:hover {
  color: #fff;
}
.film-lightbox-frame.is-fallback iframe {
  opacity: 0.35;
}

/* Gear without photos: never invent empty media tiles */
.rental-item:not(.rental-item--has-media):not(.rental-item--studio) {
  grid-template-columns: 1fr;
}
.rental-item--studio {
  /* details-only row under intro gallery */
  padding-top: 1.1rem;
}


/* Rentals: deliberate labeled photo slots (user-approved placeholders until real photos) */
.rental-item-media.is-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(232, 194, 122, 0.38);
  background:
    linear-gradient(135deg, rgba(245, 158, 74, 0.07), rgba(45, 212, 191, 0.06)),
    #0c0e12;
}
.rental-item-media.is-placeholder::after {
  content: attr(data-label);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
  text-align: center;
  padding: 0 0.5rem;
}


/* Mobile fix: playfield is only ~180px tall at 1x scale, so the start card
   (neon + title + howto + button) overflowed and hid PRESS START. Compact it. */
@media (max-width: 720px) {
  .game-playfield .game-overlay { padding: 0.35rem; }
  .game-playfield .game-card {
    padding: 0.55rem 0.7rem 0.65rem;
    max-height: calc(100% - 0.3rem);
  }
  .game-playfield .game-card .neon-mark { display: none !important; }
  .game-playfield .game-card h2 { font-size: 1rem; margin-bottom: 0.25rem; }
  .game-playfield #game-start-panel { gap: 0.4rem; }
  .game-playfield .game-howto-box,
  .game-playfield #game-start-panel .hint {
    font-size: 0.66rem !important;
    line-height: 1.3 !important;
    padding: 0.3rem 0.45rem;
    margin: 0 !important;
  }
  .game-playfield #game-press-start { min-height: 2.4rem; padding: 0.45rem 0.8rem; }
  .game-playfield .game-ready { bottom: 8%; padding: 0.3rem 0.55rem; }
}

/* Illustrative example photos on Rentals (caption below thumb — not clipped) */
.rental-item-media-wrap.is-example {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.rental-media-caption {
  display: block;
  margin: 0;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(232, 194, 122, 0.28);
  color: rgba(244, 241, 234, 0.92);
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Mobile: game-over / board card sits above the HUD and stays compact */
@media (max-width: 720px) {
  .game-playfield .game-overlay { z-index: 6; }
  .game-playfield #game-score-form { gap: 0.3rem; }
  .game-playfield #game-name { min-height: 2.2rem; padding: 0.35rem 0.6rem; font-size: 0.95rem; }
  .game-playfield .game-form-row .btn { min-height: 2.2rem; padding: 0.35rem 0.6rem; font-size: 0.78rem; }
  .game-playfield #game-overlay-hint { font-size: 0.66rem !important; margin-bottom: 0.3rem !important; }
  .game-playfield #game-name-error { min-height: 0; font-size: 0.7rem; }
  .game-playfield .lb-row { padding: 0.2rem 0.4rem; font-size: 0.75rem; }
}

/* Hero logo: use the approved opaque Vanlig v1 Svart (black-background) file.
   The old cut-out PNG had the black metal letter faces keyed to ~50% alpha,
   so the video showed through the letters. Feather the black box edges so it
   melts into the dark hero shade; full opacity, no blend modes. */
.hero-logo {
  opacity: 1 !important;
  /* No mask: artwork reaches within ~13px of the file edge, a mask would fade
     the R's. Instead a soft black halo hides the rectangle edge. */
  -webkit-mask-image: none;
          mask-image: none;
  filter: none;
  border-radius: 14px;
  box-shadow: 0 0 36px 22px #000;
  background: #000;
}

/* Contact duo: side by side whenever two cards really fit (foldables, tablets,
   desktop column); one column only on narrow phones. Replaces the fixed
   <=720px single-column rule. Content-driven: 12.5rem min per card. */
.duo-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)) !important;
}
/* about-split stays 1.05fr 1fr above 900px, but the card column is then only
   ~(wrap - gap) / 2.05. Two auto-fit tracks need 12.5rem + 1rem + 12.5rem
   (416px at a 16px root). At a 901px viewport that column is ~382px, so the
   cards wrap into a single stack beside the copy (copy LEFT, people RIGHT).
   Keep copy above until a two-up team row actually fits; 64rem leaves slack
   for a ~15px scrollbar past the ~980px raw threshold. Andreas remains first. */
@media (max-width: 64rem) {
  .about-split {
    grid-template-columns: 1fr;
  }
}
.person-info a { overflow-wrap: anywhere; }

/* Rooster Run poster thumbnail (rendered from the game's own draw code) */
.teaser-card--play .teaser-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  image-rendering: pixelated;
  border-radius: 10px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  margin-bottom: 0.35rem;
  transition: transform 0.35s ease, border-color 0.25s ease;
}
.teaser-card--play:hover .teaser-poster { transform: scale(1.015); border-color: rgba(245, 158, 74, 0.55); }
@media (prefers-reduced-motion: reduce) { .teaser-card--play:hover .teaser-poster { transform: none; } }

/* Contact portraits: identical 4:3 frame for both cards */
.person-photo.has-photo { aspect-ratio: 4 / 3; background: #000; }
.person-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Nav: Rooster game set apart from core pages */
.nav-links li.nav-aside { margin-left: 0.9rem; padding-left: 0.9rem; border-left: 1px solid var(--line-strong, rgba(255,255,255,0.18)); }
.nav-links li.nav-aside a.nav-play { display: inline-flex; align-items: center; gap: 0.45rem; border: 1px solid rgba(245,158,74,0.4); border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.82em; }
.nav-pixel { width: 10px; height: 10px; flex: none; image-rendering: pixelated;
  background: linear-gradient(#f59e4a,#f59e4a) 2px 0/4px 2px no-repeat, linear-gradient(#fb7185,#fb7185) 6px 0/2px 4px no-repeat,
              linear-gradient(#f59e4a,#f59e4a) 0 2px/8px 6px no-repeat, linear-gradient(#2dd4bf,#2dd4bf) 1px 5px/5px 2px no-repeat, linear-gradient(#f0c14a,#f0c14a) 8px 3px/2px 2px no-repeat; }
@media (max-width: 900px) {
  .nav-links li.nav-aside { margin: 0.6rem 0 0; padding: 0.75rem 0 0; border-left: 0; border-top: 1px solid var(--line-strong, rgba(255,255,255,0.18)); }
}
/* Rentals request list */
.request-builder { margin: 2.5rem 0; padding: clamp(1.1rem,3vw,2rem); border: 1px solid var(--line-strong, rgba(255,255,255,0.16)); border-radius: 16px; background: rgba(10,14,20,0.7); }
.rq-head h2 { margin: 0.2rem 0 0.5rem; }
.rq-head p { max-width: 62ch; color: var(--dim); }
.rq-preview-note { border-left: 3px solid var(--amber, #f59e4a); padding: 0.55rem 0.8rem; background: rgba(245,158,74,0.08); border-radius: 6px; color: inherit !important; }
.rq-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-top: 1.25rem; }
.request-builder label { display: block; font-size: 0.85rem; margin: 0.6rem 0 0.3rem; color: var(--dim); }
.request-builder input, .request-builder select, .request-builder textarea { width: 100%; box-sizing: border-box; min-height: 2.75rem; padding: 0.55rem 0.7rem; border-radius: 10px; border: 1px solid var(--line-strong, rgba(255,255,255,0.2)); background: #0b0f15; color: inherit; font: inherit; color-scheme: dark; }
.rq-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.rq-dates label { margin-top: 0; }
.rq-dates input { margin-top: 0.3rem; }
.rq-date-msg { min-height: 1.3em; font-size: 0.85rem; margin: 0.4rem 0 0; color: var(--dim); }
.rq-date-msg.is-error { color: #fb7185; }
.rq-add-row { display: flex; gap: 0.5rem; }
.rq-add-row select { flex: 1; min-width: 0; }
.rq-summary h3 { margin: 0 0 0.6rem; }
.rq-lines { list-style: none; margin: 0; padding: 0; }
.rq-empty { color: var(--dim); padding: 0.6rem 0; }
.rq-line { display: grid; grid-template-columns: 1fr 4.2rem auto 2.5rem; gap: 0.5rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rq-name small { display: block; color: var(--dim); font-size: 0.78rem; }
.rq-qty input { min-height: 2.5rem; text-align: center; padding: 0.3rem; }
.rq-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rq-remove { min-width: 2.5rem; min-height: 2.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: inherit; font-size: 1.2rem; cursor: pointer; }
.rq-total { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0.9rem 0 0.4rem; font-size: 1.05rem; }
.rq-total strong { font-variant-numeric: tabular-nums; color: var(--amber, #f59e4a); }
.rq-fine { font-size: 0.8rem; color: var(--dim); }
#rq-review[disabled] { opacity: 0.45; cursor: not-allowed; }
.rq-output { margin-top: 1.25rem; }
.rq-output textarea { font-family: ui-monospace, monospace; font-size: 0.85rem; }
.rq-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.7rem; }
@media (max-width: 480px) {
  .rq-dates { grid-template-columns: 1fr; }
  .rq-line { grid-template-columns: 1fr 3.6rem 2.5rem; }
  .rq-price { grid-column: 1 / 2; grid-row: 2; font-size: 0.9rem; }
}
.request-builder, .rq-grid > *, .rq-output { min-width: 0; }
.rq-output textarea#rq-text { display: block; width: 100%; max-width: 100%; min-height: 15rem; resize: vertical; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
@media (max-width: 480px) { .rq-output textarea#rq-text { min-height: 18rem; font-size: 0.8rem; } }

/* Desktop menubar stays visible; compact hamburger starts at 900px (t345, end of file). */
@media (min-width: 901px) {
  .site-header .nav-toggle { display: none !important; }
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; }
.rental-add { margin-top: 0.75rem; min-height: 2.6rem; font-size: 0.78rem; }
.rq-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 1.25rem; }
.rq-entry-note { font-size: 0.85rem; color: var(--dim); }
#request { scroll-margin-top: calc(var(--nav-h) + 0.75rem); }
/* Rentals t206: quick category bar, one studio card, short booking steps */
.rentals-toc { position: sticky; top: var(--nav-h); z-index: 20; padding: 0.55rem 0; margin-bottom: 1rem; background: rgba(0,0,0,0.88); backdrop-filter: blur(10px); }
@media (max-width: 720px) { .rentals-toc { top: 0; } }
.rental-category { scroll-margin-top: calc(var(--nav-h) + 4rem); }
@media (max-width: 720px) { .rental-category { scroll-margin-top: 4.5rem; } }
.rental-item--studio .rentals-studio-gallery-wrap { margin: 0 0 1rem; }
.rq-steps { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0.4rem 0 0.6rem; padding-left: 1.1rem; font-weight: 600; }
.rq-steps li::marker { color: var(--amber, #f59e4a); }

/* ===== t208 corrections ===== */
/* Big type: never crop descenders (g, y, p) or tall caps */
.display, .hero-title, .section-title, .contact-title, .page-hero .display, .game-title, .rq-head h2, .rental-category .section-title {
  line-height: 1.08; padding-bottom: 0.08em; overflow: visible;
}
.hero-title { line-height: 0.98; padding-bottom: 0.1em; }
.line-amber { display: inline-block; padding-bottom: 0.08em; }

/* t345 compact mobile header (logo + roosters + menu) is at the end of this file. */

/* Studio & gear: compact top, studio first and large */
.rentals-page .page-hero, body:has([data-rentals-root]) .page-hero { padding-bottom: 0.5rem; }
body:has([data-rentals-root]) .page-hero .lede { margin-top: 0.4rem; }
#rentals-main.section-tight { padding-top: 0.5rem; }
[data-rentals-intro][hidden], [data-rentals-note][hidden] { display: none !important; }
.rental-category { margin-top: 0; padding-top: 1.25rem; }
.rental-category .section-head { margin-bottom: 0.75rem; }
#cat-studio { padding-top: 0.25rem; }
.rental-item--studio .rental-gallery--studio { gap: 0.5rem; }
.rental-item--studio .rental-gallery--studio img { max-height: none; }

/* Category bar: Studio white by default, then follows scrolling */
.rentals-toc { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.rentals-toc a.is-active { background: #f4f1ea; color: #000; border-color: #f4f1ea; }
.rentals-toc a { transition: background 0.2s ease, color 0.2s ease; }

/* Product: clickable title/image, quantity, details */
.rental-title-btn, .rental-media-btn { all: unset; cursor: pointer; display: inline; }
.rental-media-btn { display: block; width: 100%; height: 100%; }
.rental-media-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rental-title-btn:hover, .rental-title-btn:focus-visible { text-decoration: underline; text-underline-offset: 0.18em; }
.rental-title-btn:focus-visible, .rental-media-btn:focus-visible { outline: 2px solid var(--amber, #f59e4a); outline-offset: 3px; }
.rental-add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.75rem; }
.rental-add-row .rental-add { margin-top: 0; }
.rental-qty { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--dim); }
.rental-qty select { min-height: 2.6rem; padding: 0.3rem 0.5rem; border-radius: 10px; background: #0b0f15; color: inherit; border: 1px solid rgba(255,255,255,0.2); font: inherit; }
.rental-more { background: none; border: 0; color: var(--dim); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; min-height: 2.6rem; font: inherit; font-size: 0.82rem; }

/* Booking overview form */
.rq-fieldset { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.rq-fieldset legend { font-weight: 700; margin-bottom: 0.35rem; }
.rq-qty select { min-height: 2.5rem; width: 100%; text-align: center; }
.rq-send { width: 100%; justify-content: center; }
.rq-send[disabled] { opacity: 0.45; cursor: not-allowed; }
.rq-send-status { min-height: 1.2em; font-size: 0.9rem; }
.rq-send-status.is-error { color: #fb7185; }
.rq-send-status.is-ok { color: #4ade80; }
#request { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* Floating booking button */
.rq-fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 900;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--amber, #f59e4a); color: #000; font-weight: 700; text-decoration: none; box-shadow: 0 8px 28px rgba(0,0,0,0.55);
  transition: opacity 0.25s ease, transform 0.25s ease; }
.rq-fab[hidden] { display: none; }
.rq-fab.is-away { opacity: 0; transform: translateY(1rem); pointer-events: none; }
.rq-fab-icon { width: 1.1rem; height: 1.1rem; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.rq-fab-icon::before { content: ""; position: absolute; left: 0.15rem; right: 0.15rem; top: 0.25rem; height: 2px; background: currentColor; box-shadow: 0 0.25rem 0 currentColor; }
.rq-fab-count { min-width: 1.5rem; height: 1.5rem; border-radius: 999px; background: #000; color: #fff; display: inline-grid; place-items: center; font-size: 0.8rem; }
@media (prefers-reduced-motion: reduce) { .rq-fab { transition: none; } }

/* Detail modal */
.rq-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; }
.rq-modal[hidden] { display: none; }
.rq-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.78); }
.rq-modal-card { position: relative; width: min(100%, 46rem); max-height: calc(100dvh - 2rem); overflow: auto; background: #0b0f15; border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: clamp(1rem, 3vw, 1.75rem); }
.rq-modal-close { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.6); color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 2; }
.rq-modal-main { border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--dim); }
.rq-modal-main img { width: 100%; height: 100%; object-fit: contain; }
.rq-modal-thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.rq-modal-thumbs button { width: 4.5rem; height: 3.4rem; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #000; cursor: pointer; }
.rq-modal-thumbs button[aria-pressed="true"] { border-color: var(--amber, #f59e4a); }
.rq-modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rq-modal-card h2 { margin: 1rem 0 0.4rem; font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.12; padding-bottom: 0.06em; }
.rq-modal-price { color: var(--amber, #f59e4a); font-weight: 700; }
.rq-modal-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; margin-top: 1rem; }
.rq-modal-qty { display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--dim); }
.rq-modal-qty select { min-height: 2.75rem; padding: 0.3rem 0.6rem; border-radius: 10px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
body.rq-modal-open { overflow: hidden; }

/* About: headline → equal photos → description */
.about-split.about-stack { grid-template-columns: 1fr !important; }
.about-stack .about-copy { max-width: 44rem; }
#contact { scroll-margin-top: calc(var(--nav-h) + 0.75rem); }
#contact.section { padding-top: clamp(1.5rem, 4vw, 3rem); }

/* ===== t212: rentals scroll targets + studio image ===== */
/* --toc-h is measured from the real (wrapped) category bar by data-render.js,
   updated on resize/ResizeObserver. html already reserves var(--nav-h) via
   scroll-padding-top, so headings only need to clear the sticky bar itself. */
.rental-category { scroll-margin-top: calc(var(--toc-h, 4.5rem) + 0.75rem); }
@media (max-width: 720px) {
  .rental-category { scroll-margin-top: calc(var(--toc-h, 6rem) + 0.5rem); }
  /* Primary real studio photo large; the rest as a smaller row beneath */
  .rental-gallery--studio,
  .rentals-studio-card .rental-gallery--studio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rental-gallery--studio .rental-gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .rentals-studio-card .rental-gallery--studio .rental-gallery-item:nth-child(3):last-child { grid-column: auto; max-width: none; }
  .rental-item--studio { padding: 1rem 1rem 1.15rem; }
  .rentals-toc { margin-bottom: 0.5rem; }
  .rental-category { padding-top: 0.75rem; }
}


/* ===== t342/t343: always-visible language switch (SV / EN roosters) ===== */
/* Desktop: logo | (spacer) nav links | roosters at the far right */
.site-header .logo-link { order: 0; }
.site-header .nav-toggle { order: 1; }
.site-header .nav-links { order: 2; margin-left: auto; }
.site-header .lang-switch { order: 3; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  flex: none;
  margin-left: 0.35rem;
  position: relative;
  z-index: 2;
}
.lang-btn {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.18rem 0.28rem 0.2rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgba(244, 241, 234, 0.7);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}
.lang-btn img,
.lang-btn svg {
  width: 28px;
  height: 28px;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}
.lang-btn:not([aria-pressed="true"]) img,
.lang-btn:not(.is-active) img {
  opacity: 0.7;
}
.lang-btn[aria-pressed="true"],
.lang-btn.is-active {
  color: #fff;
  background: rgba(245, 158, 74, 0.18);
  border-color: rgba(245, 158, 74, 0.65);
  box-shadow: 0 0 0 1px rgba(245, 158, 74, 0.2);
}
.lang-btn[aria-pressed="true"] img,
.lang-btn.is-active img {
  opacity: 1;
  filter: none;
}
.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.lang-btn[aria-pressed="true"]:hover,
.lang-btn.is-active:hover {
  background: rgba(245, 158, 74, 0.26);
}
@media (max-width: 900px) {
  /* Keep the switch on the logo row, always visible — never inside a menu. */
  .site-header .nav-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-header .logo-link { order: 0; }
  .site-header .lang-switch {
    order: 1;
    margin-left: auto;
    margin-right: 0;
  }
  .site-header .nav-toggle { order: 2; }
  .site-header .nav-links {
    order: 3;
    flex-basis: 100%;
    width: calc(100% + 0.55rem);
    margin-left: -0.55rem;
  }
  .lang-btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.16rem 0.24rem 0.18rem;
  }
  .lang-btn img,
  .lang-btn svg { width: 28px; height: 28px; }
  .lang-btn span { font-size: 0.6rem; letter-spacing: 0.08em; }
}
@media (max-width: 400px) {
  .lang-btn { min-width: 2.75rem; min-height: 2.75rem; }
  .lang-btn img,
  .lang-btn svg { width: 28px; height: 28px; }
}

/* Swedish hero word "Berättelser" must not clip on a 400px phone. */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.05rem, 9.6vw, 3.1rem);
    max-width: 100%;
  }
}

.film-lightbox-credit {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== t345: compact mobile menu — one short row, no dead space =====
   Logo + rooster language toggle + hamburger. Links open in a panel.
   Header is a slim fixed bar so the hero film, buttons and page titles
   appear immediately. Language toggle stays visible and 44px. */
@media (max-width: 900px) {
  :root { --nav-h: 4rem; }
  .site-header .nav-toggle { display: flex !important; width: 44px; height: 44px; flex: none; }
  .site-header {
    position: fixed;
    top: 0;
    height: var(--nav-h);
    min-height: var(--nav-h);
    padding: 0;
    align-items: center;
    background: #000;
  }
  body:not(.game-page) .site-header:not(.is-solid):not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 70%, transparent 100%);
  }
  body.nav-open .site-header {
    background: #000;
  }
  .site-header .nav-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
    gap: 0.35rem;
  }
  .site-header .logo-link { order: 0; flex: none; }
  .site-header .logo-link img { height: 2rem; width: auto; }
  .site-header .lang-switch {
    order: 1;
    margin-left: auto;
    margin-right: 0;
  }
  .site-header .nav-toggle { order: 2; }
  .site-header .nav-links {
    order: 3;
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1001;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-basis: auto;
    gap: 0.15rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.55rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(0,0,0,0.97);
    border: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s var(--ease), opacity 0.2s, visibility 0.2s;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .site-header .nav-links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-header .nav-links a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.5rem 0.45rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .site-header .nav-links li.nav-aside {
    margin: 0.3rem 0 0;
    padding: 0.3rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong, rgba(255,255,255,0.18));
  }
  .site-header .nav-links li.nav-aside a.nav-play {
    min-height: 2.75rem;
    margin: 0;
    padding: 0.5rem 0.45rem;
    justify-content: flex-start;
  }
  .rentals-toc { top: var(--nav-h); }
  .rental-category { scroll-margin-top: calc(var(--nav-h) + var(--toc-h, 4.5rem) + 0.5rem); }
  body.nav-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links { transition: none; }
}


/* ===== t354 typography: never clip display ink (g, j, p, y, Å, Ä, Ö, right edges) =====
   Earlier 1.08 + 0.08em was not enough for Syne at large sizes (Studio & gear "g"). */
.display,
.hero-title,
.section-title,
.contact-title,
.page-hero .display,
.game-title,
.rq-head h2,
.rental-category .section-title,
.work-meta h3,
.teaser-card h2,
.rental-item h3,
.rq-modal-card h2,
.line-amber {
  line-height: 1.2;
  padding-top: 0.16em;
  padding-bottom: 0.22em;
  padding-inline: 0.04em 0.12em;
  overflow: visible;
}
.hero-title {
  line-height: 1.15;
  padding-top: 0.14em;
  padding-bottom: 0.22em;
}
.line-amber {
  display: inline-block;
  padding-bottom: 0.22em;
  padding-inline-end: 0.14em;
}
.page-hero .display {
  max-width: min(100%, 22ch);
  overflow: visible;
}
.page-hero,
.page-hero .wrap,
.section-head,
.hero-content,
.work-meta,
.rq-head {
  overflow: visible;
}

/* Studio card: one large main photo, clickable thumbs underneath */
.rental-studio-photos {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
}
.rental-studio-main {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,255,255,0.08);
}
.rental-studio-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.rental-studio-main:hover img { transform: scale(1.02); }
.rental-studio-main:focus-visible,
.rental-studio-thumb:focus-visible {
  outline: 2px solid var(--amber, #f59e4a);
  outline-offset: 3px;
}
.rental-studio-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.rental-studio-thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  min-height: 44px;
}
.rental-studio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rental-studio-thumb[aria-pressed="true"] {
  border-color: var(--amber, #f59e4a);
}
.rental-studio-thumb:hover {
  border-color: rgba(245, 158, 74, 0.55);
}
@media (max-width: 400px) {
  .rental-studio-thumbs { gap: 0.4rem; }
  .rental-studio-main { aspect-ratio: 16 / 10; }
}

/* Existing gear/studio details popup: photo prev/next */
.rq-modal-stage {
  position: relative;
}
.rq-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.rq-modal-prev { left: 0.45rem; }
.rq-modal-next { right: 0.45rem; }
.rq-modal-nav:hover,
.rq-modal-nav:focus-visible {
  border-color: var(--amber, #f59e4a);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .rental-studio-main img { transition: none; }
}

.game-page .game-title {
  line-height: 1.2;
  padding-top: 0.16em;
  padding-bottom: 0.22em;
  overflow: visible;
}

/* ===== compact phone + unfolded (max 1024px): kill header dead space =====
   The fixed header is already reserved by padding-top: var(--nav-h) and
   html { scroll-padding-top: var(--nav-h) }. Extra page-hero padding plus
   scroll-margin that also included nav-h left ~130–150px of empty black
   under the bar. Breathing room after the header is 20px (16–24px).
   Desktop (≥1025px) is unchanged. */
@media (max-width: 1024px) {
  /* Don't add nav-h again — html already has scroll-padding-top: var(--nav-h). */
  #featured,
  #about,
  #contact,
  #request,
  .page-hero,
  .section {
    scroll-margin-top: 0.5rem;
  }
  .rental-category {
    scroll-margin-top: calc(var(--toc-h, 4.5rem) + 0.5rem);
  }

  .page-hero {
    padding: calc(var(--nav-h) + 1.25rem) 0 0.65rem;
  }
  .page-hero .wrap {
    padding-bottom: 0.45rem;
  }
  .page-hero .wrap::after {
    width: 3rem;
    opacity: 0.4;
  }
  .page-hero .lede,
  body:has([data-rentals-root]) .page-hero .lede {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    line-height: 1.4;
  }

  /* Rentals: get the studio photo onto the first screen; keep descenders. */
  html[data-page="rentals"] .page-hero,
  body:has([data-rentals-root]) .page-hero {
    padding: calc(var(--nav-h) + 1.15rem) 0 0.3rem;
  }
  html[data-page="rentals"] .page-hero .display,
  body:has([data-rentals-root]) .page-hero .display {
    font-size: clamp(1.7rem, 6.2vw, 2.35rem);
    line-height: 1.2;
    padding-top: 0.08em;
    padding-bottom: 0.2em;
    overflow: visible;
  }
  html[data-page="rentals"] .page-hero .lede,
  body:has([data-rentals-root]) .page-hero .lede {
    margin-top: 0.2rem;
    font-size: 0.88rem;
    line-height: 1.35;
    max-width: 36rem;
  }
  html[data-page="rentals"] .page-hero .wrap {
    padding-bottom: 0.15rem;
  }
  html[data-page="rentals"] .page-hero .wrap::after {
    display: none;
  }
  #rentals-main.section-tight { padding-top: 0.2rem; }
  .rentals-toc { margin-bottom: 0.35rem; padding: 0.25rem 0; gap: 0.3rem; }
  .rental-category { padding-top: 0.35rem; }
  #cat-studio { padding-top: 0.1rem; }
  .rental-category .section-head { margin-bottom: 0.35rem; gap: 0.15rem; }
  .rental-category .section-title {
    line-height: 1.2;
    padding-bottom: 0.18em;
    overflow: visible;
    font-size: clamp(1.15rem, 4vw, 1.5rem);
  }
  .category-blurb { margin: 0.15rem 0 0; font-size: 0.88rem; }
  .rental-item--studio { padding: 0.65rem 0.7rem 0.85rem; }
  .rental-studio-photos { margin: 0 0 0.65rem; gap: 0.45rem; }
  .rentals-intro { margin-bottom: 0.5rem; }

  #contact.section { padding-top: 1.15rem; }
  .contact-panel,
  .contact-panel--inquiry {
    padding: 1.1rem 1.05rem;
  }
  .contact-main .lede { margin-top: 0.45rem; font-size: 0.95rem; line-height: 1.45; }
  .contact-title { font-size: clamp(1.55rem, 5vw, 2rem) !important; }
  .contact-main .kicker { margin-bottom: 0.3rem; }

  .game-page .game-top { padding-top: 1.15rem; padding-bottom: 0.4rem; }

  .display, .section-title, .page-hero .display, .contact-title {
    overflow: visible;
  }
  .site-header,
  .logo-link,
  .logo-link img {
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .contact-panel,
  .contact-panel--inquiry {
    padding: 0.95rem 0.9rem;
  }
}


/* ===== typography ink safety (g, j, p, q, y, Å, Ä, Ö) =====
   Syne descenders were still sliced at large sizes (rentals H1
   “Studio & utrustning”, H2 “Support, lights & other”) and on Work
   cards (“Ljung”) even when overflow was visible: pageEnter/reveal
   left transform: translateY(0) on main/hero, which made the
   compositor clip glyph ink to the line box, and .work-card
   overflow:hidden clipped titles against the rounded card.
   Keep the visual design; give display type a line-box that actually
   contains the ink, and only clip media, not text. */
.work-card,
button.work-card-play {
  overflow: visible;
}
.work-card .work-thumb,
button.work-card-play .work-thumb {
  overflow: hidden;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.work-meta {
  overflow: visible;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}
.teaser-card {
  overflow: visible;
}

.display,
.hero-title,
.section-title,
.contact-title,
.page-hero .display,
.game-title,
.rq-head h2,
.rental-category .section-title,
.work-meta h3,
.teaser-card h2,
.rental-item h3,
.rental-title-btn,
.rq-modal-card h2,
.line-amber,
.film-lightbox-caption,
.contact-aside-strong,
.work-thumb-fallback .fallback-mark,
.mugshot-slot .mug-initials {
  line-height: 1.3;
  padding-top: 0.2em;
  padding-bottom: 0.32em;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-box-trim: none;
  text-box: normal;
}

.hero-title {
  line-height: 1.22;
  padding-top: 0.18em;
  padding-bottom: 0.3em;
}

/* Large page titles: the final g in “utrustning” / “gear” needs extra room. */
.page-hero .display,
.contact-title,
.contact-panel .display {
  line-height: 1.28;
  padding-top: 0.2em;
  padding-bottom: 0.38em;
  overflow: visible;
}

.page-hero,
.page-hero .wrap,
.section-head,
.hero-content,
.work-meta,
.rq-head,
.rental-category,
.film-lightbox-meta,
.film-lightbox-dialog,
.contact-aside,
.site-footer,
.footer-inner {
  overflow: visible;
}

.rental-title-btn {
  display: inline-block;
  max-width: 100%;
  line-height: 1.3;
  padding-top: 0.2em;
  padding-bottom: 0.3em;
  overflow: visible;
}

.work-thumb-fallback .fallback-mark,
.mugshot-slot .mug-initials {
  line-height: 1.25;
  padding: 0.12em 0.08em 0.22em;
  overflow: visible;
}

.work-meta h3,
.teaser-card h2,
.section-title,
.display {
  max-width: 100%;
}

.film-lightbox-caption,
.film-lightbox-credit {
  overflow: visible;
  line-height: 1.3;
  padding-bottom: 0.2em;
}

.nav-links a {
  overflow: visible;
  line-height: 1.25;
}

.footer-brand p,
.footer-meta,
.footer-meta a {
  overflow-wrap: anywhere;
  overflow: visible;
}

.contact-aside-strong {
  line-height: 1.3;
  padding-bottom: 0.28em;
  overflow: visible;
}


/* ——— Neon 6 pop C nav/footer logo + work hero tighten after intro removal ——— */
.site-header .logo-link {
  background: transparent;
}
.site-header .logo-link img {
  height: clamp(40px, 4vw, 48px) !important;
  max-width: min(240px, 52vw) !important;
  width: auto;
  background: transparent;
  /* Keep RGB/alpha as authored — mix-blend would hollow the dark letter faces. */
}
@media (max-width: 720px) {
  .site-header .logo-link img {
    height: 38px !important;
    max-width: min(170px, 48vw) !important;
  }
}
.footer-brand img {
  height: 34px !important;
  max-width: 190px !important;
  width: auto;
  opacity: 1;
  background: transparent;
  object-fit: contain;
}

/* Work: kicker + title only — close the gap the lede and pills left */
html[data-page="work"] .page-hero {
  padding-bottom: 0.35rem;
}
html[data-page="work"] .page-hero .wrap {
  padding-bottom: clamp(0.7rem, 1.8vw, 1.1rem);
}
html[data-page="work"] #work-main.section-tight {
  padding-top: clamp(0.65rem, 1.8vw, 1.15rem);
}

/* About: kicker + title only after intro lede removal */
html[data-page="about"] .page-hero {
  padding-bottom: 0.35rem;
}
html[data-page="about"] .page-hero .wrap {
  padding-bottom: clamp(0.7rem, 1.8vw, 1.1rem);
}
html[data-page="about"] #about-main.section-tight {
  padding-top: clamp(0.65rem, 1.8vw, 1.15rem);
}


/* Home: teasers + hero CTAs removed — tighten hero and featured-to-footer spacing */
html[data-page="home"] .hero-content {
  padding-bottom: clamp(2.25rem, 6vh, 3.5rem);
}
html[data-page="home"] #featured.section-tight {
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}
html[data-page="home"] .site-footer {
  margin-top: 0;
}


/* P1: English-only, lightbox portrait */
.lang-switch { display: none !important; }


.film-lightbox-frame.is-portrait {
  aspect-ratio: 9 / 16;
  width: min(420px, 100%);
  max-height: min(78vh, 820px);
  margin-inline: auto;
}
.film-lightbox-dialog:has(.film-lightbox-frame.is-portrait) {
  width: min(420px, 100%);
}
.film-lightbox-placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(245,158,74,0.18), transparent 55%), #0a0c10;
}
.film-lightbox-fallback { margin-top: 0.85rem; text-align: center; }


/* P1b: studio-only page — one heading, less dead space */
html[data-page="rentals"] .page-hero {
  padding: calc(var(--nav-h) + clamp(1.05rem, 3vw, 1.75rem)) 0 0.35rem;
}
html[data-page="rentals"] .page-hero .wrap { padding-bottom: 0.7rem; }
html[data-page="rentals"] .page-hero .lede { margin-top: 0.4rem; max-width: 38rem; }
html[data-page="rentals"] .section-tight {
  padding-top: clamp(0.7rem, 1.8vw, 1.1rem);
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}
html[data-page="rentals"] .rentals-intro[hidden],
html[data-page="rentals"] .rentals-toc[hidden],
html[data-page="rentals"] [data-rentals-note][hidden],
html[data-page="rentals"] [data-rentals-contact][hidden] {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
}
html[data-page="rentals"] .rental-category--solo { margin: 0; }
html[data-page="rentals"] .rental-category--solo .section-head { display: none; }
html[data-page="rentals"] .request-builder { margin: 1.15rem 0 0; }
html[data-page="rentals"] .rental-cta-band { margin-top: 1.35rem; }
/* Leftover multi-item picker ("Add more") */
html[data-page="rentals"] label[for="rq-item"],
html[data-page="rentals"] #rq-item { display: none !important; }
/* Add-to-request is redundant once the studio is pre-selected */
html.rentals-solo .rental-add { display: none; }

/* P1b: slightly larger Neon 6 pop C header logo (~25%) */
.site-header .logo-link img {
  height: clamp(50px, 5vw, 60px) !important;
  max-width: min(300px, 64vw) !important;
}
@media (max-width: 720px) {
  .site-header .logo-link img {
    height: 48px !important;
    max-width: min(210px, 58vw) !important;
  }
}
/* Desktop bar a little taller so the larger mark has air; mobile stays 4rem */
@media (min-width: 901px) {
  :root { --nav-h: 4.5rem; }
  .site-header { height: var(--nav-h); }
}

/* P1b: solid black header on every page so the logo never sits over footage */
.site-header,
.site-header.is-scrolled,
.site-header.is-solid,
body.nav-open .site-header,
body.game-page .site-header,
body.game-page .site-header.is-solid,
body:not(.game-page) .site-header:not(.is-solid):not(.is-scrolled) {
  background: #000 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

/* P2a: film lightbox close control — always outside the player, never over the iframe.
   Vimeo like / watch-later / share sit in the iframe's top-right; the old absolutely
   positioned X could land on them or clip off-screen when the player was tall.
   z-index must beat .site-header (1000) or the toolbar sits under the nav. */
.film-lightbox { z-index: 1200; }
.film-lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  min-height: 48px;
  margin: 0;
  position: relative;
  z-index: 30;
  pointer-events: auto;
}
.film-lightbox-close {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.95rem 0.4rem 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  z-index: 31;
  cursor: pointer;
  color: var(--cream);
  background: rgba(10, 12, 16, 0.96);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  pointer-events: auto;
}
.film-lightbox-close:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.film-lightbox-frame,
.film-lightbox-frame iframe {
  pointer-events: auto;
  z-index: 0;
}
@media (max-width: 400px) {
  .film-lightbox {
    padding: 0.5rem 0.7rem 0.9rem;
    place-items: start center;
    align-content: start;
  }
  .film-lightbox-dialog {
    width: 100%;
    max-width: calc(100vw - 1.4rem);
  }
  .film-lightbox-toolbar {
    min-height: 48px;
    margin-bottom: 0.15rem;
  }
  .film-lightbox-close {
    min-width: 44px;
    min-height: 44px;
  }
}
