/* css/styles.css */

@font-face {
  font-family: "Luckiest Guy";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/luckiest-guy-v25-latin-regular.woff2") format("woff2");
}

/* Make widths predictable everywhere (fixes mobile overflow + clipping) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

:root {
  --bg: #07070a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --hairline: rgba(255, 255, 255, 0.12);

  --accent: #ff1ccf;
  --accent-soft: rgba(255, 28, 207, 0.18);
  --accent-2: #b7c2ff;

  /* Smoky turquoise (email + accents) */
  --teal: #32f1e9f2;
  --teal-soft: rgba(25, 230, 210, 0.18);

  --radius: 18px;

  --max: 1120px;
  --header-h: 60px;
  --anchor-offset: 72px;

  --font-body: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: "Luckiest Guy", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  
  /* === Shared heading scale (site-wide) ============================== */

  /* Hero (fallback = viewport-based) */
  --hero-h1-size: clamp(34px, 4.2vw, 44px);
  --hero-h1-line: 1.05;
  --hero-h1-track: 0.02em;

  --hero-sub-size: clamp(16px, 1.55vw, 19px);
  --hero-sub-line: 1.5;

  /* Section headers (H2) */
  --h2-size: clamp(22px, 2.4vw, 30px);
  --h2-line: 1.15;
  --h2-track: 0.02em;

  /* Card / small headers (H3) */
  --h3-size: 18px;
  --h3-line: 1.2;
  --h3-track: -0.2px;

  /* Optional: “kicker” / eyebrow */
  --kicker-size: 12px;
  --kicker-track: 0.14em;

  /* Common shadows / effects (no visual change, just de-dupe) */
  --shadow-header: 0 10px 40px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 22px 70px rgba(0, 0, 0, 0.60);
  --shadow-hero: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-hero-hover: 0 26px 90px rgba(0, 0, 0, 0.60);
  --shadow-ring-accent: 0 0 0 6px rgba(255, 28, 207, 0.12);

  --transition-fast: 160ms ease;
  --transition-med: 220ms ease;
  --transition-slow: 240ms ease;

  --panel-grad: linear-gradient(180deg, var(--panel), rgba(255, 255, 255, 0.03));

  /* === Shared spacing scale ========================================= */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 28px;
  --space-6: 40px;
  --space-7: 54px;

  /* Section rhythm */
  --section-pad: var(--space-6);     /* default section spacing */
  --section-pad-tight: var(--space-5);
  --section-head-gap: var(--space-2);
  
  /* === Surfaces ====================================================== */
  --radius-card: calc(var(--radius) + 6px);
  --border-subtle: 1px solid var(--hairline);

  --shadow-surface: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-surface-hover:
    0 22px 70px rgba(0, 0, 0, 0.60),
    0 0 0 6px rgba(255, 28, 207, 0.10);
	

  /* === Buttons ======================================================= */
  --btn-pad-y: 12px;
  --btn-pad-x: 14px;
  --btn-radius: 16px;
  --btn-weight: 800;

  --divider-grad: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.10) 40%,
    transparent 80%
  );
  
  --caption-pad-x: 14px;
  --caption-pad-y: 10px;
  
  /* =========================================================
     Ambient glow positioning (SOURCE OF TRUTH)
     - Default positions match your current look.
     - Widescreen gets nudged toward centre via media query.
     ========================================================= */

  /* Base page background (static) */
  --bg-glow-1-x: 20%;
  --bg-glow-1-y: 10%;
  --bg-glow-1-a: 0.14;

  --bg-glow-2-x: 75%;
  --bg-glow-2-y: 15%;
  --bg-glow-2-a: 0.12;

  /* Ambient “breathing” layer (fixed ::before) */
  --amb-1-x: 35%;
  --amb-1-y: 20%;
  --amb-1-a: 0.10;

  --amb-2-x: 80%;
  --amb-2-y: 25%;
  --amb-2-a: 0.09;

  --amb-3-x: 55%;
  --amb-3-y: 85%;
  --amb-3-a: 0.035;

  --amb-blur: 12px;
  --amb-opacity: 0.55;

  /* Widescreen nudge toward centre (prevents “flying off”) */
  --widescreen-threshold: 1200px;
}

/* Widescreen: pull glow centres inward a touch */
@media (min-width: 1200px) {
  :root {
    --bg-glow-1-x: 28%;
    --bg-glow-2-x: 68%;

    --amb-1-x: 42%;
    --amb-2-x: 72%;
  }
}

@supports (width: 1cqw) {
  :root {
    /* Container-locked hero scale (preferred) */
    --hero-h1-size: clamp(34px, 4.8cqw, 44px);
    --hero-sub-size: clamp(16px, 1.9cqw, 19px);

    /* Container-locked section header scale */
    --h2-size: clamp(22px, 2.7cqw, 30px);
  }
}

html,
body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body::before,
body::after {
  left: 0;
  right: 0;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* Anchor offset for fixed header */
:target {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at var(--bg-glow-1-x) var(--bg-glow-1-y), rgba(255, 28, 207, var(--bg-glow-1-a)), transparent 50%),
    radial-gradient(900px 500px at var(--bg-glow-2-x) var(--bg-glow-2-y), rgba(183, 194, 255, var(--bg-glow-2-a)), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  padding-top: var(--header-h);

  opacity: 0;
  animation: pageIn 260ms ease forwards;
  position: relative;
}

@keyframes pageIn {
  to { opacity: 1; }
}

/* Ambient background “breathing” */
body::before {
  content: "";
  position: fixed;
  inset: -25vh -10vw;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at var(--amb-1-x) var(--amb-1-y), rgba(255, 28, 207, var(--amb-1-a)), transparent 60%),
    radial-gradient(780px 460px at var(--amb-2-x) var(--amb-2-y), rgba(183, 194, 255, var(--amb-2-a)), transparent 55%),
    radial-gradient(680px 420px at var(--amb-3-x) var(--amb-3-y), rgba(255, 255, 255, var(--amb-3-a)), transparent 55%);
  filter: blur(var(--amb-blur));
  opacity: var(--amb-opacity);
  transform: translate3d(0, 0, 0);
  animation: ambientGlow 14s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
    opacity: 0.50;
  }
  100% {
    transform: translate3d(1%, 1%, 0) scale(1.02);
    opacity: 0.62;
  }
}

/* Ultra-subtle film grain (HIGHER RES to reduce banding) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(255, 28, 207, 0.28);
}

strong {
  color: rgba(255, 255, 255, 0.96);
}

/* Focus ring (keyboard) */
:focus-visible {
  outline: 2px solid rgba(255, 28, 207, 0.85);
  outline-offset: 3px;
  border-radius: 12px;
}

a {
  color: var(--text);
  text-decoration: none;
  position: relative;
}

/* Animated underline for links (excluding buttons + brand + social pills) */
a:not(.btn):not(.pf-btn):not(.brand):not(.social-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med), background var(--transition-med);
}

a:not(.btn):not(.pf-btn):not(.brand):not(.social-link):hover::after {
  transform: scaleX(1);
  background: rgba(255, 28, 207, 0.9);
}

a:hover,
.btn:hover {
  cursor: pointer;
}

@media (pointer: fine) {
  body {
    cursor: default;
  }
}

/* Screen-reader-only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;

  padding: 10px 12px;
  border-radius: 12px;

  background: rgba(0, 0, 0, 0.82);
  color: var(--text);

  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 0 6px rgba(255, 28, 207, 0.14);

  outline: none;
  z-index: 1000;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  container-type: inline-size;
  box-sizing: border-box;

}

.container.narrow {
  max-width: 840px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.84);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 16px;
  position: relative;
}

/* Brand (deduped; final version) */
.brand {
  display: inline-flex;
  align-items: center; /* important for vertical centring */
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: var(--brand-max-w, 350px);
  max-height: 40px;
  height: auto;
}



.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--muted);
  transition: background var(--transition-med), color var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 28, 207, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--text);
  background: rgba(255, 28, 207, 0.14);
  border: 1px solid rgba(255, 28, 207, 0.22);
  box-shadow: 0 0 0 6px rgba(255, 28, 207, 0.08);
}

.nav a.is-active::after {
  transform: scaleX(0);
}

body.nav-collapsed.nav-open .nav a.is-active {
  background: rgba(255, 28, 207, 0.16);
  border: 1px solid rgba(255, 28, 207, 0.22);
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .nav:hover a.is-active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
  }

  .nav:hover a.is-active::after {
    transform: scaleX(0);
  }

  .nav a.is-active:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: none;
  }

  .nav a.is-active:hover::after {
    transform: scaleX(1);
  }
}

/* Responsive nav (wrap-detect burger) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: rgba(255, 28, 207, 0.55);
  box-shadow: var(--shadow-ring-accent);
}

.nav-toggle:active {
  transform: translateY(1px);
}

.nav-toggle-lines {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
  background:
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)) center / 18px 2px no-repeat;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.nav-toggle-lines::before { top: 0; }
.nav-toggle-lines::after { bottom: 0; }

body.nav-collapsed .nav-toggle {
  display: inline-flex;
}

body.nav-collapsed .nav {
  display: none;
}

body.nav-collapsed.nav-open .nav {
  display: flex;
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
  left: 20px;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-hero);
  z-index: 60;
}

body.nav-collapsed.nav-open .nav a {
  padding: 12px 12px;
  border-radius: 12px;
}

body.nav-collapsed.nav-open .nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.nav-collapsed.nav-open .nav a::after {
  display: none;
}

.kicker,
.label,
.status-pill {
  font-family: var(--font-body);
}

.hero-copy {
  padding-top: 8px;
}

@media (min-width: 960px) {
  .hero-copy {
    padding-top: 18px;
  }
}
/* HERO: keep same side padding rhythm as all other sections */
.hero {
  padding: var(--section-pad-tight) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: center; /* keep this */
}

.hero-media img {
  border-radius: inherit;
}

.hero-media {
  width: 100%;
  justify-self: stretch;
  align-self: center;        /* 🔑 fixes disappearance */
  aspect-ratio: 16 / 9;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-hero);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(700px 260px at 20% 20%, rgb(255 28 207 / 6%), #00000000 60%),
    rgba(0, 0, 0, 0.55);
}

.hero-overlay {
  transform: scale(0.96);
}

@media (max-width: 720px) {
  .hero-overlay {
    transform: scale(1) translateY(-2px);
  }
}

@media (max-width: 720px) {
  .hero-media {
    aspect-ratio: 16 / 10; /* instead of full 16:9 */
  }
}

.hero-media img.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  border-radius: inherit;
}

.hero-card {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.55);
}

.hero-media:hover {
  border-color: rgba(255, 28, 207, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hero-hover);
}

@media (max-width: 980px) {
  .hero-media img,
  .hero-overlay {
    border-radius: var(--radius);
  }
}

.kicker {
  display: inline-block;
  font-size: var(--kicker-size);
  letter-spacing: var(--kicker-track);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-title {
  margin: 0 0 -6px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--hero-h1-size);
  line-height: var(--hero-h1-line);
  letter-spacing: var(--hero-h1-track);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  margin: 18px 0 18px 0;
  color: var(--text);
  font-size: var(--hero-sub-size);
  line-height: var(--hero-sub-line);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
}

@media (max-width: 720px) {
  .hero-title {
    line-height: 1.1;
  }

  .hero-title::after {
    content: "";
    display: block;
  }

  .hero-title span {
    display: block;
  }
}

/* Hero studio card lockup */
.hero-media.hero-card {
  position: relative;
  display: block;
  min-width: 0;
}

figure {
  margin: 0;
}

/* === Hero card: tighter mobile spacing === */
@media (max-width: 520px) {
  .hero {
    padding-top: 22px;
  }

  .hero-copy {
    padding-top: 6px;
  }

  .hero-media {
    min-height: 220px;
  }
}

/* Sections */
.hero + .section {
  padding-top: var(--section-pad-tight);

}

.section + .section {
  padding-top: var(--section-pad);
}

.section-head h1,
.section-head h2 {
  margin: 0 0 6px 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
}

.section-head::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 12px;
  background: var(--divider-grad);
}

/* section intro paragraph spacing */
.section-head p {
  margin: var(--section-head-gap) 0 0 0;
  color: var(--muted);
}

.page-head h1 {
  margin: 6px 0 6px 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.page-head p {
  margin: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal="1"] { --reveal-delay: 0ms; }
.reveal[data-reveal="2"] { --reveal-delay: 70ms; }
.reveal[data-reveal="3"] { --reveal-delay: 140ms; }
.reveal[data-reveal="4"] { --reveal-delay: 210ms; }
.reveal[data-reveal="5"] { --reveal-delay: 280ms; }
.reveal[data-reveal="6"] { --reveal-delay: 350ms; }


/* Cards */
.card {
  margin-top: 0;
  padding: 18px;
  transition: transform var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
  will-change: transform, box-shadow;
  position: relative;
  background: var(--panel-grad);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-surface);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: rgba(255, 28, 207, 0.35);
    transform: translateY(-2px);
    box-shadow: var(--shadow-surface-hover);
  }
}

/* h3 spacing so cards feel balanced */
.card h3 {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  letter-spacing: var(--h3-track);
}

.grid-3 {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

/* Remove the default top margin on cards when they’re inside grids */
.grid-3 > .card,
.grid-3 > article.card,
.grid-3 > aside.card {
  margin-top: 0;
}

.card-flex {
  display: flex;
  flex-direction: column;
}

.divider {
  height: 1px;
  background: var(--divider-grad);
  margin: var(--space-3) 0;
}

.small {
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.no-margin-top {
	margin-top: 0px;
}

picture {
  display: block;
}

.label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.value {
  margin-top: 6px;
  font-size: 16px;
}

.sep {
  margin: 0 8px;
  color: var(--muted);
}

/* Prose */
.prose h2 {
  margin-top: 20px;
  letter-spacing: -0.2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-weight: var(--btn-weight);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-med), box-shadow var(--transition-med), background var(--transition-med);
}

.btn:hover {
  border-color: rgba(255, 28, 207, 0.55);
  box-shadow: var(--shadow-ring-accent);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: linear-gradient(180deg, rgba(255, 28, 207, 0.95), rgba(255, 28, 207, 0.80));
  border-color: rgba(255, 28, 207, 0.55);
  color: #0a0a0e;
}

.btn.primary:hover {
  box-shadow: 0 0 0 6px rgba(255, 28, 207, 0.18);
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* Home: Puffyfish layout */
.puffy-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 17px;
}

.puffy-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  align-items: stretch;
  justify-content: center;
}

@media (max-width: 960px) {
  .puffy-meta {
    grid-template-columns: 1fr;
  }
}

.puffy-tagline {
  margin: 6px 0 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.puffy-about {
  position: relative;
  overflow: hidden;
}

/* Puffyfish small contained watermark (NOT huge) */
.puffy-about::after {
  content: "";
  position: absolute;
  right: 30px;
  top: -5px;
  width: 120px;
  height: 120px;
  background: url("/assets/images/puffer_neutral.webp") center / contain no-repeat;
  opacity: 0.85;
  filter: saturate(0.95) contrast(0.95);
  pointer-events: none;
  transform: rotate(-6deg);
}

.puffy-intro {
  position: relative;
  z-index: 1;
}

@media (max-width: 520px) {
  .puffy-about .puffy-intro {
    padding-right: 100px;
  }

  .puffy-about::after {
    right: 16px;
    top: 8px;
    width: 90px;
    height: 90px;
    opacity: 0.85;
  }
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Puffyfish divider – fade out toward the fish */
.puffy-about .divider {
  height: 1px;
  border: 0;
  margin: 16px 0 18px;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0.18) 40%,
      rgb(255 255 255 / 0%) 70%,
      transparent 100%);
}

/* Status */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.05);
}

.status-pill.inprogress {
  border-color: rgba(255, 28, 207, 0.45);
  box-shadow: 0 0 0 6px rgba(255, 28, 207, 0.10);
}

.status-pill.planned {
  border-color: rgba(183, 194, 255, 0.35);
}

/* Status layout (deduped; final) */
.status-card .status-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.14);
}

.status-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
}

.status-row .status-pill {
  min-width: 108px;
  justify-content: center;
}

.status-row .muted {
  justify-self: start;
  text-align: left;
  font-size: 14px;
}

.status-card .divider {
  margin: 18px 0 14px;
}

.status-card .small.muted {
  line-height: 1.45;
}

/* Social links (deduped; final) */
.social-card {
  display: flex;
  flex-direction: column;
}

.social-card .muted {
  max-width: 52ch;
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.social-card .social-links {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: none;

  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(0, 0, 0, 0.18);
  color: var(--text);

  line-height: 1.1;
  font-size: 15px;
  text-decoration: none !important;

  justify-content: flex-start;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-fast), border-color var(--transition-med), box-shadow var(--transition-med), background var(--transition-med);
}

.social-link:hover {
  background: rgba(0, 0, 0, 0.10);
  border-color: rgba(255, 28, 207, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 6px rgba(255, 28, 207, 0.10);
  text-decoration: none !important;
}

.social-link:active {
  transform: translateY(1px);
}

.social-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

/* Value card gradients (unchanged values; just cleaned formatting) */
.value-card.value-a {
  background:
    radial-gradient(560px 260px at 20% 18%, rgb(0 235 215 / 19%), transparent 62%),
    radial-gradient(420px 240px at 85% 60%, rgb(47 140 186 / 28%), transparent 60%),
    var(--panel-grad);
}

.value-card.value-b {
  background:
    radial-gradient(560px 260px at 18% 22%, rgb(80 255 140 / 28%), transparent 62%),
    radial-gradient(420px 240px at 85% 70%, rgb(46 201 150 / 31%), transparent 60%),
    var(--panel-grad);
}

.value-card.value-c {
  background:
    radial-gradient(560px 260px at 22% 18%, rgb(80 160 255 / 35%), transparent 62%),
    radial-gradient(420px 240px at 85% 60%, rgb(38 57 163 / 28%), transparent 60%),
    var(--panel-grad);
}

.value-card.value-d {
  background:
    radial-gradient(560px 260px at 100% 18%, rgb(0 235 215 / 21%), transparent 62%),
    radial-gradient(420px 240px at 85% 60%, rgb(47 140 186 / 28%), transparent 60%),
    var(--panel-grad);
}

.value-card.value-e {
    background: radial-gradient(460px 260px at 24% 46%, #5099ff6b, transparent 62%), radial-gradient(503px 440px at 77% 61%, rgb(97 86 134 / 0%), transparent 60%), var(--panel-grad);
}

.value-card.value-f {
    background: radial-gradient(460px 260px at 24% 46%, #5099ff6b, transparent 62%), radial-gradient(503px 440px at 77% 61%, rgb(97 86 134 / 0%), transparent 60%), var(--panel-grad);
}

/* Mobile override */
@media (max-width: 900px) {
  .value-card.value-f {
    background: radial-gradient(460px 260px at 50% 86%, #5099ff6b, transparent 62%), radial-gradient(503px 440px at 77% 61%, rgb(97 86 134 / 0%), transparent 60%), var(--panel-grad);
  }
}

@media (max-width: 768px) {
.page-about .about-media--vsm img {
    max-height: 160px;
    object-fit: contain;
    padding-right: 120px;
    opacity: 0.9;
    padding-left: 90px;
  }
}

/* Contact */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Contact: turquoise email */
.contact-row a[href^="mailto:"] {
  color: #93efeaed;
}

.contact-row a[href^="mailto:"]:hover {
  text-decoration: none;
  box-shadow: 0 0 0 6px var(--teal-soft);
  border-radius: 10px;
}

/* Callout */
.callout {
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 28, 207, 0.25);
  background:
    radial-gradient(800px 260px at 10% 10%, rgba(255, 28, 207, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.04);
  padding: 16px;
  transition: transform var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
}

.callout:hover {
  border-color: rgba(255, 28, 207, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.callout-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.callout-sub {
  color: var(--muted);
  font-size: 15px;
  margin-top: 2px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.footer-right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Contact section breathing room */
#contact.section {
  padding-bottom: 60px;
}

#contact .section-head {
  margin-bottom: 16px;
}

.grid-3,
.puffy-grid,
.puffy-meta {
  overflow: visible;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }
}

/*/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  /* Disable smooth scrolling everywhere */
  html,
  html:focus-within,
  body {
    scroll-behavior: auto !important;
  }

  /* Kill animations/transitions globally (covers most things) */
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  /* Page fade-in and ambient background */
  body {
    opacity: 1 !important;
    animation: none !important;
  }

  body::before {
    animation: none !important;
    transform: none !important;
  }

  /* Film grain: remove (can “shimmer”) */
  body::after {
    display: none !important;
  }

  /* Reveal: just show content immediately */
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  /* Kill animated underlines */
  a:not(.btn):not(.pf-btn):not(.brand):not(.social-link)::after,
  .nav a::after {
    transition: none !important;
  }

  /* Remove hover-lift and “bouncy” active states */
  .btn,
  .card,
  .hero-media,
  .callout,
  .social-link {
    transition: none !important;
  }

  .btn:active,
  .nav-toggle:active,
  .social-link:active {
    transform: none !important;
  }

  @media (hover: hover) and (pointer: fine) {
    .card:hover,
    .hero-media:hover,
    .callout:hover,
    .social-link:hover {
      transform: none !important;
      box-shadow: var(--shadow-surface) !important;
    }

    .btn:hover {
      box-shadow: none !important;
    }
  }

  /* Lightbox: remove pop/zoom transitions and hover scaling */
  .lightbox__img,
  .lightbox__img.is-pop,
  .lightbox__nav,
  .lightbox__nav:hover {
    transition: none !important;
    transform: none !important;
  }

  /* Keep nav buttons visible without fade/hover motion */
  .lightbox__nav {
    opacity: 0.92 !important;
    pointer-events: auto !important;
  }
}


.contact-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#contact .contact-link {
  font-size: 16px;
}


/* Tiktok optical correction */
.tiktok-icon {
  transform: translateY(-2px);
}


#contact .contact-icon {
  width: 20px;
  height: 20px;
}

/* Instagram optical correction */
.instagram-icon {
  transform: translateY(3px);
}

/* Tiktok optical correction */
.tiktok-icon-contact {
  transform: translateY(1px);
}

#contact .contact-link {
  color: rgba(255, 255, 255, 0.92);
}

#contact .contact-link:hover {
  color: #fff;
}

#contact .contact-link {
  gap: 10px;
}

.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 28, 207, 0.14);
  border: 1px solid rgba(255, 28, 207, 0.22);
  box-shadow: 0 0 0 6px rgba(255, 28, 207, 0.08);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(0);
}

/* =========================================================
   Linux performance overrides (targets Kubuntu/etc only)
   ========================================================= */
   
html[data-os="linux"] body {
  /* Prevent odd compositor issues with smooth scrolling + fixed layers */
  scroll-behavior: auto;
}

html[data-os="linux"] {
  scroll-behavior: auto;
}

/* Kill the expensive film grain blend layer on Linux */
html[data-os="linux"] body::after {
  display: none !important;
}

/* Keep the ambient glow vibe but remove the expensive blur+animation path */
html[data-os="linux"] body::before {
  animation: none !important;
  filter: none !important;          /* BIG WIN */
  opacity: 0.35 !important;         /* keep it subtle */
  inset: -20vh -8vw !important;
  transform: none !important;
}

/* Remove backdrop-filter (another BIG WIN on Linux) */
html[data-os="linux"] .site-header,
html[data-os="linux"] body.nav-collapsed.nav-open .nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(0, 0, 0, 0.92) !important;
}

/* Reduce layer thrash: will-change can hurt more than help on some setups */
html[data-os="linux"] .reveal,
html[data-os="linux"] .card {
  will-change: auto !important;
}

/* Optional: slightly lighten the heaviest hover shadows */
@media (hover: hover) and (pointer: fine) {
  html[data-os="linux"] .card:hover {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55) !important;
  }

  html[data-os="linux"] .hero-media:hover {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58) !important;
  }
}

/* Allow about-style split cards outside /about/ (e.g. Home page) */
.about-card-split {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}

.about-card-split--flip .about-card-copy { order: 2; }
.about-card-split--flip .about-card-media { order: 1; }

.about-card-copy { min-width: 0; }

.about-card-media {
  margin: 0;
  min-width: 0;
  border-radius: 18px;
}

.about-card-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  max-height: 300px;
}

.about-media--sm img { max-height: 240px; }

.about-media--contain img {
  object-fit: contain;
  max-height: 240px;
}

@media (max-width: 900px) {
  .about-card-split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-card-split--flip .about-card-copy,
  .about-card-split--flip .about-card-media {
    order: initial;
  }

  .about-card-media img { max-height: 320px; }

  .about-media--sm img,
  .about-media--contain img {
    max-height: 192px;
  }
}

/* =========================================================
   Legal / Prose Pages (Privacy / About)
   Applies when: <body class="page-legal">
   IMPORTANT: keep this at the VERY END of styles.css
   ========================================================= */

/* --- Calm the background (less “spotlight”) ---------------- */

body.page-legal {
  background:
    radial-gradient(1200px 700px at 24% 10%, rgba(255, 28, 207, 0.10), transparent 55%),
    radial-gradient(900px 500px at 74% 16%, rgba(183, 194, 255, 0.08), transparent 50%),
    var(--bg);
}

/* Stop breathing + reduce intensity */
body.page-legal::before {
  animation: none !important;
  opacity: 0.30 !important;
  filter: blur(10px) !important;
}

/* --- Page rhythm (matches your “looked right” version) ------ */

body.page-legal .section {
  padding: var(--section-pad) 0;
}

body.page-legal .page-head {
  margin-bottom: 16px;
}

body.page-legal .page-head h1 {
  margin: 0 0 6px 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
}

body.page-legal .page-head p {
  margin: var(--section-head-gap) 0 0 0;
  color: var(--muted);
}

body.page-legal .page-head::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 12px;
  background: var(--divider-grad);
}

body.page-legal .prose {
  max-width: 72ch;
}

/* Section headings: calm, legal, still on-brand */
body.page-legal .prose h2 {
  margin-top: 22px;
  margin-bottom: 10px;

  font-family: var(--font-body);
  font-weight: 800;

  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--muted);
}

body.page-legal .prose .divider {
  margin: 18px 0;
}

/* --- NO hover lift/glow on legal pages ---------------------- */
/* This kills the global .card:hover behaviour on this page. */

@media (hover: hover) and (pointer: fine) {
  body.page-legal .card:hover {
    transform: none !important;
    border-color: var(--hairline) !important;
    box-shadow: var(--shadow-surface) !important;
  }
}

/* Also avoid the “this is interactive” feel */
body.page-legal .card {
  transition: none !important;
}

/* --- Mail links (force teal + stop underline fighting) ------ */

body.page-legal .prose a[href^="mailto:"] {
  color: #93efeaed !important;
}

/* Your global animated underline can override “feel” on hover.
   Disable it for mail links so it stays clean + intentional. */
body.page-legal .prose a[href^="mailto:"]::after {
  display: none !important;
}

body.page-legal .prose a[href^="mailto:"]:hover {
  box-shadow: 0 0 0 6px var(--teal-soft) !important;
  border-radius: 10px;
}

body.page-legal .card.prose {
  backdrop-filter: saturate(95%);
}

/* =========================================================
   Mobile: prevent "sticky hover" on legal doc card
   (touch devices can apply :hover after taps)
   ========================================================= */

@media (hover: none), (pointer: coarse) {
  body.page-legal .card.prose,
  body.page-legal .card.prose:hover,
  body.page-legal .card.prose:active,
  body.page-legal .card.prose:focus,
  body.page-legal .card.prose:focus-within {
    transform: none !important;
    border-color: var(--hairline) !important;
    box-shadow: var(--shadow-surface) !important;
  }

  /* Optional: also remove transitions so it never "animates" into a hover look */
  body.page-legal .card.prose {
    transition: none !important;
  }

  /* Optional: iOS tap highlight cleanup (purely cosmetic) */
  body.page-legal .card.prose,
  body.page-legal .card.prose * {
    -webkit-tap-highlight-color: transparent;
  }
}


/* =========================================================
   Legal pages: NEVER allow the prose card to "hover"
   (works even when :hover becomes sticky on mobile)
   ========================================================= */

body.page-legal .card.prose,
body.page-legal .card.prose:hover,
body.page-legal .card.prose:active,
body.page-legal .card.prose:focus,
body.page-legal .card.prose:focus-within {
  transform: none !important;
  border-color: var(--hairline) !important;
  box-shadow: var(--shadow-surface) !important;
}

/* Remove the "interactive" feel */
body.page-legal .card.prose {
  transition: none !important;
  will-change: auto !important;
}

/* iOS tap highlight cosmetic */
body.page-legal .card.prose,
body.page-legal .card.prose * {
  -webkit-tap-highlight-color: transparent;
}

/* css/about.css */

/* ============================
   About page layout + polish
   ============================ */

/* Cards */
.about-card {
  margin-top: 18px;
  padding: 18px;
  transition: transform var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
  will-change: transform, box-shadow;
  position: relative;
  background: var(--panel-grad);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-surface);
}


/* Text | Image layout inside cards */
.page-about .about-card-split {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}

.page-about .about-card-split--flip .about-card-copy {
  order: 2;
}

.page-about .about-card-split--flip .about-card-media {
  order: 1;
}

/* Keep copy readable and prevent overflow issues */
.page-about .about-card-copy {
  min-width: 0;
}

/* Media column */
.page-about .about-card-media {
  margin: 0;
  min-width: 0;
  border-radius: 18px;
}

/* Base image styling (smaller by default; looks “designed” not “dumped”) */
.page-about .about-card-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;

  /* default: not massive */
  max-height: 300px;
}

/* Size roles */
.page-about .about-media--sm img {
  max-height: 240px;
}

.page-about .about-media--md img {
  max-height: 395px;
}

.page-about .about-media--vsm img {
    max-height: 100px;
    object-fit: contain;
    padding-right: 106px;
    opacity: 0.9;
}


/* For transparent sprites / GIFs / icons: don't crop, don't dominate */
.page-about .about-media--contain img {
  object-fit: contain;
  max-height: 240px;
} 

/* Captions: keep them tight and consistent */
.page-about .about-card-media figcaption {
  margin-top: 10px;
}

.muted {
  color: rgb(255 255 255 / 80%);
}

/* Mobile: stack cleanly */
@media (max-width: 900px) {
  .page-about .about-card-split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-about .about-card-split--flip .about-card-copy,
  .page-about .about-card-split--flip .about-card-media {
    order: initial;
  }

  .page-about .about-card-media img {
    max-height: 320px;
  }

  .page-about .about-media--sm img,
  .page-about .about-media--contain img {
    max-height: 192px;
  }

}


/* About page: turquoise email link */
.page-about a[href^="mailto:"] {
  color: #93efeaed;
}
.page-about a[href^="mailto:"]:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-h1 {
  margin: 0 0 -6px 0;
  font-size: clamp(52px, 3.2vw, 52px);
  line-height: var(--hero-h1-line);
  letter-spacing: var(--hero-h1-track);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  font-family: var(--font-display);
  font-weight: 400;
}

.about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 33px 0 16px;
}

.about-section-head h1, .about-section-head h2 {
    margin: 11px 0 6px 0;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
    font-size: var(--h2-size);
    line-height: var(--h2-line);
}

/* Lightbox gallery */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.lightbox__dialog {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: visible;
}

.lightbox__content {
  position: relative;
  overflow: visible;
  cursor: default;
}

.lightbox__img {
  position: relative;
  z-index: 1;

  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;

  border-radius: 18px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.65);
  cursor: zoom-out;

  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease-out;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 28, 207, 0.75);
  outline-offset: 2px;
}

/* Prev/Next (inside the image) */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);

  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;

  display: grid;
  place-items: center;

  font-size: 22px;
  line-height: 1;
  font-weight: 300;

  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);

  transition:
    background 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;

  z-index: 2;
  user-select: none;

  /* Hidden until hover (desktop) */
  opacity: 0;
  pointer-events: none;
}

.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* Fade in on hover/focus — trigger from multiple reliable parents */
.lightbox__dialog:hover .lightbox__nav,
.lightbox__dialog:focus-within .lightbox__nav,
.lightbox__content:hover .lightbox__nav,
.lightbox__content:focus-within .lightbox__nav {
  opacity: 0.92;
  pointer-events: auto;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-50%) scale(1.06);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 2px rgba(255, 28, 207, 0.18);
}

.lightbox__nav:active {
  transform: translateY(-50%) scale(0.97);
}

/* Touch devices: no hover, so keep arrows visible */
@media (hover: none) {
  .lightbox__nav {
    opacity: 0.92;
    pointer-events: auto;
  }
}

/* Prevent background scroll when open */
body.lightbox-open {
  overflow: hidden;
}

/* Make clickable images feel clickable */
img[data-lightbox] {
  cursor: zoom-in;
}


.lightbox__img.is-pop {
  transform: scale(0.98);
  opacity: 0;
}

.lightbox__img {
  transform: scale(1);
  opacity: 1;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease-out;
}
