/* ==========================================================
   Lu Campos portfolio · all colours, fonts and spacing live here
   ========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colours */
  --blush: #fff0f5;          /* page background */
  --blush-line: #fbe1ea;     /* background texture stripes */
  --petal: #fbd3e1;          /* light pink panels (background only) */
  --petal-deep: #f7bcd1;     /* bars, borders on light pink */
  --raspberry: #b8235e;      /* main pink: text, buttons, blocks */
  --raspberry-dark: #8f1747; /* button hover */
  --ink: #2a2226;            /* outlines and body text */
  --ink-soft: #5b4b52;       /* secondary text */
  --white: #ffffff;
  --dot-red: #f39a9a;        /* window dots (decoration) */
  --dot-yellow: #f6dc4a;
  --dot-green: #43c95a;
  --placeholder: #7a5b68;

  /* fonts */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale */
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.3rem);
  --step-3: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem);

  /* spacing */
  --gap: clamp(0.75rem, 0.6rem + 0.6vw, 1.25rem);
  --section-space: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --pad: 16px;
  --radius: 22px;
  --radius-sm: 14px;
  --outline: 3px solid var(--ink);

  /* widths */
  --w-page: 1380px;
  --w-text: 640px;
  --header-h: 60px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--blush);
  background-image: repeating-linear-gradient(90deg, var(--blush-line) 0 2px, transparent 2px 9px);
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: var(--raspberry); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; color: var(--raspberry); }
p { margin: 0; }
h2 { font-size: var(--step-3); }
h2 em { font-style: italic; font-weight: 400; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--raspberry); padding: 10px 14px; z-index: 50; }
.skip-link:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right));
}
section { scroll-margin-top: calc(var(--header-h) + 12px); }
main > section + section { margin-top: var(--section-space); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--blush) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--petal-deep);
  padding-top: env(safe-area-inset-top);
}
.site-header .wrap {
  display: flex; align-items: center; gap: var(--gap);
  min-height: var(--header-h);
}
.logo {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  color: var(--raspberry); text-decoration: none; white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav { margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: var(--step--1); font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
  border-radius: 999px;
}
.nav a:hover { color: var(--raspberry); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 700;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  border: var(--outline);
}
.btn-primary { background: var(--raspberry); color: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { background: var(--raspberry-dark); }
.btn-secondary { background: var(--white); color: var(--raspberry); }
.btn-secondary:hover { background: var(--petal); }

/* ---------- the "computer window" ---------- */
.window {
  background: var(--petal);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: clip;
}
.window-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border-bottom: var(--outline);
  padding: 10px clamp(12px, 2vw, 22px);
  min-height: 52px;
}
.dots { display: flex; gap: 7px; flex: none; }
.dots span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.dots span:nth-child(1) { background: var(--dot-red); }
.dots span:nth-child(2) { background: var(--dot-yellow); }
.dots span:nth-child(3) { background: var(--dot-green); }
.window-title {
  font-family: var(--font-display); font-size: var(--step-1); color: var(--raspberry);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.window-meta { margin-left: auto; font-size: var(--step--1); color: var(--ink-soft); white-space: nowrap; }
.window-body { padding: clamp(16px, 3vw, 32px); }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: var(--gap); }
.section-head h2 { font-size: var(--step-3); }
.section-head h2 em { font-style: italic; font-weight: 400; }
.section-head p { color: var(--ink-soft); max-width: var(--w-text); }

/* ---------- hero ---------- */
.hero { margin-top: clamp(1rem, 3vw, 2.5rem); }
.hero-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr;
}
.hero-intro { display: flex; flex-direction: column; gap: var(--gap); }
.bubble {
  align-self: flex-start;
  background: var(--raspberry); color: var(--white);
  font-family: var(--font-display); font-size: var(--step-1);
  padding: 10px 20px; border-radius: 26px 26px 26px 6px;
  border: var(--outline);
}
.hero h1 { font-size: var(--step-3); }
.hero h1 .script { display: block; font-style: italic; font-weight: 400; font-size: 0.55em; color: var(--ink); margin-top: 6px; }
.hero-lede { max-width: 34ch; }
.hero-email { font-weight: 700; overflow-wrap: anywhere; }
.hero-email a { color: var(--raspberry); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-video { width: min(100%, 330px); margin-inline: auto; }

.folders {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
.folder {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--raspberry);
  font-family: var(--font-display); font-size: var(--step-0);
  padding: 8px; border-radius: var(--radius-sm); min-height: 44px;
}
.folder:hover { background: color-mix(in srgb, var(--white) 45%, transparent); }
.folder svg { width: clamp(64px, 8vw, 88px); height: auto; }
.folder { white-space: nowrap; position: relative; }

/* ---------- video cards ---------- */
.player {
  position: relative; aspect-ratio: 9 / 16; width: 100%;
  border: var(--outline); border-radius: var(--radius-sm);
  overflow: clip; background: var(--ink);
}
.player video, .player img.poster { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.play-btn span {
  width: 60px; height: 60px; border-radius: 50%;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  border: var(--outline);
  display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.play-btn span::before {
  content: ""; margin-left: 5px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--raspberry);
}
.player.is-playing .play-btn { display: none; }
.sound-btn {
  position: absolute; right: 10px; bottom: 10px;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--white); color: var(--raspberry); border: var(--outline);
  font-weight: 700; font-size: var(--step--1); cursor: pointer;
}
.card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.card figcaption { display: flex; flex-direction: column; line-height: 1.25; }
.card figcaption strong { font-family: var(--font-display); font-size: var(--step-0); color: var(--raspberry); font-weight: 600; }
.card figcaption span { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- work ---------- */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px var(--gap);
  scrollbar-width: thin;
}
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step--1);
  background: var(--white); color: var(--raspberry); border: 2px solid var(--ink); cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--raspberry); color: var(--white); }
.tab svg { width: 20px; height: 20px; }
.panel h3 { font-size: var(--step-2); margin-bottom: var(--gap); }
.js .panel h3 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-js-only { }
.js .panel[hidden] { display: none; }
.panel + .panel { margin-top: var(--section-space); }
.js .panel + .panel { margin-top: 0; }
.cards {
  display: grid; gap: var(--gap);
  grid-auto-flow: column; grid-auto-columns: 62%;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding-bottom: 12px;
  list-style: none; margin: 0; padding-left: 0;
}
.cards > li { scroll-snap-align: start; }
.scroll-hint { font-size: var(--step--1); color: var(--ink-soft); margin-top: 6px; }
.quality-note { margin-top: var(--gap); font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- stats ---------- */
.stats-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.stat-tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);
  background: var(--raspberry); color: var(--white);
  border: var(--outline); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: var(--font-body); font-weight: 800; font-size: var(--step-2); line-height: 1; }
.stat span { font-size: var(--step--1); }
.bars { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.bar {
  position: relative; min-height: 44px; border-radius: 999px; overflow: clip;
  background: var(--white); border: 2px solid var(--ink);
  display: flex; align-items: center;
}
.bar i { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--petal-deep); }
.bar span { position: relative; padding: 0 16px; font-weight: 700; color: var(--ink); }
.stats-note { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- about ---------- */
.about-grid { display: grid; gap: calc(var(--gap) * 1.5); grid-template-columns: 1fr; align-items: start; }
.about-photo { aspect-ratio: 4 / 5; width: min(100%, 420px); border: var(--outline); border-radius: var(--radius); overflow: clip; box-shadow: 6px 6px 0 var(--ink); background: var(--petal); }
.about-text { display: flex; flex-direction: column; gap: var(--gap); max-width: var(--w-text); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.facts li { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-size: var(--step--1); font-weight: 600; }

/* ---------- services ---------- */
.services-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.service { background: var(--white); border: var(--outline); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.service h3 { font-size: var(--step-1); }

/* ---------- contact ---------- */
.contact .window-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--gap); }
.contact h2 { font-size: var(--step-3); }
.contact-email { font-family: var(--font-display); font-size: var(--step-2); overflow-wrap: anywhere; }
.site-footer { margin-top: var(--section-space); padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); border-top: 2px solid var(--petal-deep); font-size: var(--step--1); color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- placeholders (removed before launch) ---------- */
.ph {
  position: relative;
  outline: 2px dashed var(--placeholder); outline-offset: 4px;
}
.ph::after {
  content: "PLACEHOLDER"; position: absolute; top: -12px; left: 10px;
  background: var(--placeholder); color: var(--white);
  font: 700 10px/1 var(--font-body); letter-spacing: .08em; padding: 4px 6px; border-radius: 4px;
}
.ph-box { display: grid; place-items: center; height: 100%; padding: 20px; text-align: center; color: var(--placeholder); font-weight: 700; }

/* ---------- laptop ---------- */
@media (min-width: 720px) {
  .cards { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
  .tabs { flex-wrap: wrap; overflow: visible; }
  .stat-tiles { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (min-width: 960px) {
  .cards {
    grid-auto-flow: row; grid-auto-columns: auto;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible; scroll-snap-type: none;
  }
  .scroll-hint { display: none; }
  
}

/* ==========================================================
   v2: personality pass
   ========================================================== */
.hero { margin-top: clamp(1.25rem, 3vw, 2.5rem); }
.hero-bar { flex-wrap: wrap; row-gap: 2px; padding-block: 12px; }
.hero-name { font-size: var(--step-3); line-height: 1; }
.hero-meta { flex-basis: 100%; font-family: var(--font-display); font-size: var(--step-0); color: var(--raspberry); }
.hero-meta span { margin: 0 6px; color: var(--ink-soft); }
.hero-grid { gap: calc(var(--gap) * 1.5); }
.hero-left, .hero-right { display: flex; flex-direction: column; gap: var(--gap); }

.photo {
  position: relative; background: var(--petal-deep);
  border: var(--outline); border-radius: var(--radius-sm); overflow: clip;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; width: min(78%, 280px); align-self: center; margin-bottom: 18px; }
.photo-a { aspect-ratio: 4 / 5; rotate: -3deg; box-shadow: 5px 5px 0 var(--ink); }
.photo-stack .bubble { position: absolute; right: -16%; bottom: -14px; margin: 0; white-space: nowrap; box-shadow: 3px 3px 0 var(--ink); }
.spark { position: absolute; width: 30px; color: var(--raspberry); top: -12px; right: -10%; }
.photo-b { aspect-ratio: 4 / 3; border-radius: var(--radius); rotate: 2deg; box-shadow: 5px 5px 0 var(--ink); }
.folder svg.cursor { position: absolute; width: 17px; height: auto; right: 14%; bottom: 34%; pointer-events: none;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,.25)); transform-origin: 3px 2px; }
.folder.has-cursor::after { content: ""; position: absolute; right: calc(14% + 8px); bottom: calc(34% + 14px); width: 22px; height: 22px;
  border: 2px solid var(--white); border-radius: 50%; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .folder svg.cursor { animation: cursor-click 3.4s ease-in-out infinite; }
  .folder.has-cursor > svg:first-child { animation: folder-press 3.4s ease-in-out infinite; transform-origin: 50% 80%; }
  .folder.has-cursor::after { animation: click-ring 3.4s ease-out infinite; }
}
@keyframes cursor-click {
  0%, 100% { translate: 26px 22px; scale: 1; }
  35% { translate: 0 0; scale: 1; }
  42% { scale: .78; } 48% { scale: 1; }
  55% { scale: .78; } 61% { scale: 1; }
  80% { translate: 0 0; }
}
@keyframes folder-press { 0%, 40%, 63%, 100% { scale: 1; } 44%, 57% { scale: .94; } }
@keyframes click-ring { 0%, 41% { opacity: 0; scale: .3; } 45% { opacity: .9; scale: .5; } 62% { opacity: 0; scale: 1.6; } 100% { opacity: 0; } }
.folders li { min-width: 0; }

/* brands */
.brands { text-align: center; }
.brands h2 { margin-bottom: calc(var(--gap) * 1.25); }
.logos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  list-style: none; margin: 0; padding: clamp(18px, 3vw, 32px);
  background: var(--white); border: var(--outline); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink);
}
.logos li { display: grid; place-items: center; }
.logos img { width: 100%; max-width: 104px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); }

/* production quality */
.quality-grid { display: grid; gap: calc(var(--gap) * 1.5); grid-template-columns: 1fr; }
.quality-intro { display: flex; flex-direction: column; gap: var(--gap); }
.photo-c { aspect-ratio: 4 / 5; width: min(100%, 360px); border-radius: var(--radius); rotate: -2deg; box-shadow: 5px 5px 0 var(--ink); }
.gear-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.gear { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: 3px 3px 0 var(--ink); }
.gear img { width: 100%; height: clamp(90px, 11vw, 130px); object-fit: contain; margin-bottom: 8px; }
.gear-note { margin-top: var(--gap); font-size: var(--step--1); color: var(--ink-soft); }
.gear h3 { font-size: var(--step-1); }
.gear p { font-size: var(--step--1); color: var(--ink-soft); }

/* stats with photo */
.stats-layout { display: grid; gap: calc(var(--gap) * 1.5); grid-template-columns: 1fr; align-items: start; }
.stats-layout > div:last-child { display: flex; flex-direction: column; gap: var(--gap); }
.ig-card { position: relative; width: min(100%, 320px); margin-inline: auto; }
.photo-d { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.ig-sticker {
  position: absolute; left: -8px; bottom: 18px; display: flex; flex-direction: column;
  background: var(--white); color: var(--ink); text-decoration: none; border: var(--outline);
  border-radius: 18px; padding: 10px 16px; box-shadow: 3px 3px 0 var(--ink); min-height: 44px;
}
.ig-sticker b { color: var(--raspberry); }
.ig-sticker span { font-size: var(--step--1); }

/* about photo: reuse .photo */
.about-photo { aspect-ratio: 4 / 5; width: min(100%, 420px); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); }

/* contact with photo */
.contact-grid { display: grid; gap: calc(var(--gap) * 1.5); grid-template-columns: 1fr; align-items: center; }
.contact-text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--gap); }
.photo-e { aspect-ratio: 1; width: min(70%, 280px); margin-inline: auto; border-radius: 50%; }

@media (min-width: 720px) {
  .gear-list { grid-template-columns: repeat(3, 1fr); }
  .stats-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .contact-grid { grid-template-columns: auto 1fr; }
}
@media (min-width: 960px) {
  .hero-window { min-height: calc(100svh - var(--header-h) - 64px); display: flex; flex-direction: column; }
  .hero-window .window-body { flex: 1; }
  .hero-bar { flex-wrap: nowrap; }
  .hero-meta { flex-basis: auto; margin-left: auto; white-space: nowrap; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  .hero-window .window-body { padding-block: 20px; }
  .hero-video { width: clamp(200px, calc((100svh - 330px) * 0.5625), 320px); }
  .photo-stack { width: clamp(150px, calc((100svh - 480px) * 0.8), 240px); }
  .hero-left { gap: 14px; }
  .photo-b { width: clamp(180px, calc((100svh - 500px) * 1.33), 300px); align-self: center; }
  .quality-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .logos { grid-template-columns: repeat(8, 1fr); gap: var(--gap); }
}

/* event snaps */
.events { margin-top: calc(var(--gap) * 2); }
.events h3 { font-size: var(--step-2); margin-bottom: var(--gap); }
.spark-inline { color: var(--raspberry); font-size: .7em; }
.snaps {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 6px 4px 16px;
}
.snaps li { scroll-snap-align: start; }
.snap { margin: 0; background: var(--white); padding: 8px 8px 10px; border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); border: 2px solid var(--ink); }
.snap-img { aspect-ratio: 3 / 4; border: 0; border-radius: 3px; }
.snap figcaption { font-family: var(--font-display); font-size: var(--step--1); color: var(--raspberry); text-align: center; margin-top: 6px; line-height: 1.2; }
.events-lede { color: var(--ink-soft); margin: -6px 0 var(--gap); }
.snaps li:nth-child(odd) .snap { rotate: -1.5deg; }
.snaps li:nth-child(even) .snap { rotate: 1.5deg; }
@media (min-width: 720px) { .snaps { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }
@media (min-width: 960px) { .snaps { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }

/* ==========================================================
   v3: cut-out photos + photo styles
   ========================================================== */
.cutout { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.cutout::before {
  content: ""; position: absolute; inset: 16% 4% 0; z-index: 0;
  background: var(--raspberry); border: var(--outline);
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
}
.cutout img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.hero-cut { height: 340px; aspect-ratio: 3 / 4; margin-inline: auto; }
.photo-stack { width: auto; }
.photo-stack .bubble { right: -10%; bottom: 8%; z-index: 2; }
.photo-stack .spark { z-index: 2; right: 0; top: 4%; }
.about-cut { aspect-ratio: 4 / 5; width: min(100%, 400px); margin-inline: auto; }
.about-cut::before { background: var(--petal-deep); }
.contact-cut { aspect-ratio: 1; width: min(80%, 300px); margin-inline: auto; }
.contact-cut::before { inset: 22% 6% 0; }

.styles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.style-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.style-img { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); box-shadow: 4px 4px 0 var(--ink); }
.style-card figcaption { display: flex; flex-direction: column; line-height: 1.25; }
.style-card strong { font-family: var(--font-display); font-weight: 600; color: var(--raspberry); font-size: var(--step-0); }
.style-card span { font-size: var(--step--1); color: var(--ink-soft); }

@media (min-width: 720px) { .styles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  .styles { grid-template-columns: repeat(6, 1fr); }
  .hero-cut { height: clamp(220px, calc(100svh - 450px), 360px); }
}
.photo > img { position: absolute; inset: 0; }
.contact .contact-grid { display: grid; grid-template-columns: 1fr; align-items: center; text-align: left; }
@media (min-width: 720px) {
  .contact .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .contact-cut { width: min(100%, 320px); }
}
.contact-photo { aspect-ratio: 4 / 5; width: min(80%, 300px); margin-inline: auto; border-radius: var(--radius); rotate: -2deg; box-shadow: 6px 6px 0 var(--ink); }
.contact-email { font-size: clamp(1.05rem, 0.7rem + 1.6vw, 2.1rem); }
.proof { border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); }
.proof summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 16px; font-weight: 700; color: var(--raspberry); }
.proof-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 12px 12px; }
.proof-shots img { width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 719px) { .proof-shots { grid-template-columns: 1fr; } }
@media (min-width: 720px) { .stat-tiles { grid-template-columns: repeat(3, 1fr); } .proof-shots { grid-template-columns: repeat(4, 1fr); align-items: start; } }

/* services v2 */
.service { box-shadow: 4px 4px 0 var(--ink); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; background: var(--petal); border: 2px solid var(--ink); border-radius: 50%; }
.service p { color: var(--ink-soft); font-size: var(--step--1); }
.ticks { list-style: none; margin: auto 0 0; padding: 10px 0 0; border-top: 2px dashed var(--petal-deep); display: flex; flex-direction: column; gap: 4px; font-size: var(--step--1); font-weight: 600; }
.ticks li::before { content: "✓"; color: var(--raspberry); font-weight: 800; margin-right: 8px; }
.rates { margin-top: calc(var(--gap) * 1.5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--gap);
  background: var(--raspberry); color: var(--white); border: var(--outline); border-radius: var(--radius); padding: clamp(16px, 3vw, 24px) clamp(18px, 3vw, 28px); box-shadow: 5px 5px 0 var(--ink); }
.rates p { max-width: 60ch; }
.rates .btn-primary { background: var(--white); color: var(--raspberry); }
.rates .btn-primary:hover { background: var(--petal); }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .styles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .styles { grid-template-columns: repeat(7, 1fr); } }
/* photo styles: bigger photos */
@media (min-width: 720px) { .styles { grid-template-columns: repeat(3, 1fr); gap: calc(var(--gap) * 1.25); } }
@media (min-width: 960px) { .styles { grid-template-columns: repeat(4, 1fr); } }
.style-card strong { font-size: var(--step-1); }

/* full screen videos keep their shape */
.player video:fullscreen { object-fit: contain; background: #000; }
.player video:-webkit-full-screen { object-fit: contain; background: #000; }

/* zoomable images + lightbox */
.zoomable { cursor: zoom-in; }
.zoom-btn { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.zoom-btn:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; }
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh;
  background: color-mix(in srgb, var(--ink) 92%, transparent); color: var(--white);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 16px 24px; max-height: 100dvh; }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { font-family: var(--font-display); font-size: var(--step-1); text-align: center; }
.lb-close, .lb-nav {
  position: fixed; min-width: 48px; min-height: 48px; border-radius: 999px; border: 2px solid var(--white);
  background: color-mix(in srgb, var(--ink) 60%, transparent); color: var(--white); font-size: 1.4rem; cursor: pointer;
}
.lb-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--petal-deep); outline-offset: 2px; }
.photo > .zoom-btn { position: absolute; inset: 0; }
.proof-shots .zoom-btn { height: auto; }
.proof-shots .zoom-btn img { display: block; }

/* ==========================================================
   v4: intro with headline, stats and logo marquee
   ========================================================== */
.hero-headline { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.hero-headline em { color: var(--raspberry); font-style: italic; font-weight: 500; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero-stats li { display: flex; align-items: baseline; gap: 6px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; box-shadow: 2px 2px 0 var(--ink); }
.hero-stats b { font-weight: 800; color: var(--raspberry); font-size: var(--step-1); line-height: 1; }
.hero-stats span { font-size: var(--step--1); font-weight: 600; }
.hero-right { align-items: center; }
.hero-right .photo-stack { width: auto; margin-bottom: 8px; }
.hero-right .folders { grid-template-columns: repeat(4, 1fr); gap: 4px; width: 100%; }
.hero-right .folder { font-size: var(--step--1); padding: 4px; }
.hero-right .folder svg:first-child { width: clamp(44px, 4.6vw, 64px); }

.marquee { margin-top: calc(var(--gap) * 1.25); overflow: clip; border-block: 2px solid var(--ink); background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; list-style: none; margin: 0; padding: 10px 0; }
.marquee-track img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 60s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { translate: -50% 0; } }

@media (min-width: 960px) {
  .hero-cut { height: clamp(200px, calc(100svh - 470px), 340px); }
  .hero-window { min-height: auto; }
}
.hero-right .photo-stack .bubble { font-size: var(--step-0); padding: 6px 14px; right: -18%; bottom: -6px; }
.proof-shots { align-items: start; }
@media (min-width: 720px) { .proof-shots { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .proof-shots { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 719px) { .proof-shots { grid-template-columns: repeat(2, 1fr); } }

/* hero video controls (below the video, never on top of it) */
.hero-controls { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.hc-btn { min-height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--raspberry); font-weight: 700; font-size: var(--step--1); cursor: pointer; white-space: nowrap; }
.hc-btn:hover { background: var(--petal); }
.hc-seek { flex: 1; min-width: 0; accent-color: var(--raspberry); height: 40px; cursor: pointer; }
.hero-video .sound-btn { position: static; }

/* ==========================================================
   v5: phone layout, shorter page (brand opens it on a phone)
   ========================================================== */
@media (max-width: 719px) {
  main > section + section { margin-top: 2.75rem; }
  .window-body { padding: 16px; }
  /* intro: who + numbers + video on the first screens */
  .hero-grid { gap: 14px; }
  .hero-headline { font-size: 2rem; }
  .hero-lede { font-size: var(--step--1); }
  .hero-stats { flex-wrap: nowrap; gap: 6px; }
  .hero-stats li { flex-direction: column; align-items: center; gap: 0; padding: 6px 4px; flex: 1; border-radius: 14px; }
  .hero-stats b { font-size: 1.05rem; }
  .hero-stats span { font-size: .7rem; white-space: nowrap; }
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn { flex: 1; padding: 0 10px; font-size: var(--step--1); min-height: 44px; }
  .hero-video { width: 78%; }
  .hero-right { display: none; }
  .marquee-track img { width: 52px; height: 52px; }
  /* brands: compact grid */
  .logos { grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 12px; }
  .brands h2 { font-size: 2rem; }
  /* swipe rows instead of long stacks */
  .styles, .gear-list, .services-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 4px 4px 14px; margin-inline: -4px;
  }
  .styles { grid-auto-columns: 62%; }
  .gear-list { grid-auto-columns: 58%; }
  .services-grid { grid-auto-columns: 82%; }
  .styles > li, .gear-list > li, .services-grid > li { scroll-snap-align: start; }
  .swipe-hint { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: 2px; }
  /* trim big photos on phones */
  .photo-c { width: 60%; margin-inline: auto; }
  .ig-card { display: none; }
  .about-cut { width: 70%; }
  .section-head h2, h2 { font-size: 2.1rem; }
}
@media (min-width: 720px) { .swipe-hint { display: none; } }
@media (max-width: 719px) {
  .hero-actions .btn { padding: 0 8px; font-size: .82rem; box-shadow: 3px 3px 0 var(--ink); }
  .logos { display: flex; flex-wrap: wrap; justify-content: center; }
  .logos li { width: calc((100% - 30px) / 6); }
}
.quality-grid > *, .stats-layout > *, .hero-grid > * { min-width: 0; }
@media (max-width: 719px) {
  .hero-actions { gap: 8px; }
  .hero-actions .btn { min-width: 0; }
}
@media (max-width: 719px) { .hero-video { justify-self: center; margin-inline: auto; } }

/* make "swipe sideways" obvious on phones */
@media (max-width: 719px) {
  .swipe-hint, .scroll-hint {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
    background: var(--raspberry); color: var(--white); font-weight: 700; font-size: .85rem;
    padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  }
  .swipe-hint::after, .scroll-hint::after { content: "→"; display: inline-block; }
  .swipe-hint, .scroll-hint { font-size: 0; }
  .swipe-hint::before, .scroll-hint::before { content: "Swipe to see more"; font-size: .85rem; }
  .swipe-hint::after, .scroll-hint::after { font-size: 1rem; }
}
@media (max-width: 719px) and (prefers-reduced-motion: no-preference) {
  .swipe-hint::after, .scroll-hint::after { animation: nudge 1.2s ease-in-out infinite; }
}
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 6px 0; } }

/* v6: loading spinner while a video buffers */
.player.is-loading::after{content:"";position:absolute;left:50%;top:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;border:4px solid rgba(255,255,255,.45);border-top-color:#fff;animation:spin .8s linear infinite;pointer-events:none;z-index:3}
@keyframes spin{to{transform:rotate(360deg)}}
