/* ==========================================================================
   yoonji.me — one stylesheet for every page
   white paper, helvetica condensed, pops of color from the doodle stars
   ========================================================================== */

/* Helvetica Neue Condensed lives inside the system Helvetica Neue family on macOS/iOS.
   These aliases pull the condensed faces out by name; Archivo Narrow is the fallback elsewhere. */
@font-face {
  font-family: "YJ Condensed";
  src: local("HelveticaNeue-CondensedBold"), local("Helvetica Neue Condensed Bold"), local("Helvetica Condensed Bold"), local("HelveticaCondensed-Bold");
  font-weight: 400 700;
}
@font-face {
  font-family: "YJ Condensed";
  src: local("HelveticaNeue-CondensedBlack"), local("Helvetica Neue Condensed Black"), local("Helvetica Condensed Black"), local("HelveticaCondensed-Black");
  font-weight: 800 900;
}

:root {
  --ink: #111111;
  --ink-soft: #6b6b6b;
  --paper: #ffffff;
  --paper-2: #f4f4f1;

  /* palette = the hand-drawn stars */
  --pink: #ff3bcb;
  --lime: #c8f031;
  --orange: #ff8a1f;
  --cyan: #33d1f2;
  --red: #ff2d2d;
  --green: #2fb344;
  --lilac: #b49cff;
  --blue: #2f7bef;
  --yellow: #ffe14d;

  --font-cond: "YJ Condensed", "Helvetica Neue Condensed", "Archivo Narrow", "Arial Narrow", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-hand: "Gaegu", "Comic Sans MS", cursive;

  --gutter: clamp(16px, 3vw, 40px);
  --nav-h: 64px;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }

.cond { font-family: var(--font-cond); font-weight: 700; letter-spacing: -.01em; }
.hand { font-family: var(--font-hand); font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo { width: 62px; height: auto; transition: transform .5s var(--ease-pop); }
.nav-brand:hover .nav-logo { transform: rotate(-8deg) scale(1.12); }
.nav-clock { font-family: var(--font-cond); font-size: 12px; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.nav-clock span { display: block; color: var(--ink-soft); }

.nav-links { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  --c: var(--pink);
  display: inline-block;
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none;
  padding: 7px 13px 6px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: transform .35s var(--ease-pop), background .2s, color .2s, box-shadow .35s var(--ease-pop);
}
.nav-links li:nth-child(1) a { --c: var(--pink); }
.nav-links li:nth-child(2) a { --c: var(--orange); }
.nav-links li:nth-child(3) a { --c: var(--cyan); }
.nav-links li:nth-child(4) a { --c: var(--lime); }
.nav-links li:nth-child(5) a { --c: var(--lilac); }
.nav-links li:nth-child(6) a { --c: var(--green); }
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: var(--c);
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-links li:nth-child(even) a:hover { transform: translateY(-2px) rotate(3deg); }

.nav-toggle {
  display: none;
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase;
  padding: 7px 14px 6px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--lime);
}

/* full-screen mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 50px) 32px);
  transition: clip-path .7s var(--ease-out);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 50px) 32px); visibility: visible; }
.menu a {
  font-family: var(--font-cond); font-weight: 900; text-transform: uppercase; text-decoration: none;
  font-size: clamp(56px, 17vw, 120px); line-height: .9; letter-spacing: -.02em;
  transform: translateY(30px); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s, color .2s;
}
.menu.is-open a { transform: none; opacity: 1; }
.menu.is-open a:nth-child(2) { transition-delay: .05s; }
.menu.is-open a:nth-child(3) { transition-delay: .1s; }
.menu.is-open a:nth-child(4) { transition-delay: .15s; }
.menu.is-open a:nth-child(5) { transition-delay: .2s; }
.menu.is-open a:nth-child(6) { transition-delay: .25s; }
.menu.is-open a:nth-child(7) { transition-delay: .3s; }
.menu a:nth-child(1):hover, .menu a:nth-child(1):active { color: var(--pink); }
.menu a:nth-child(2):hover, .menu a:nth-child(2):active { color: var(--orange); }
.menu a:nth-child(3):hover, .menu a:nth-child(3):active { color: var(--cyan); }
.menu a:nth-child(4):hover, .menu a:nth-child(4):active { color: var(--green); }
.menu a:nth-child(5):hover, .menu a:nth-child(5):active { color: var(--lilac); }
.menu a:nth-child(6):hover, .menu a:nth-child(6):active { color: var(--red); }
.menu a:nth-child(7):hover, .menu a:nth-child(7):active { color: var(--blue); }
.menu-close {
  position: absolute; top: 14px; right: var(--gutter);
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase;
  padding: 7px 14px 6px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--pink);
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-logo { width: 52px; }
}

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.eyebrow {
  font-family: var(--font-cond); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--pink)); }
.mega {
  font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  line-height: .84; letter-spacing: -.025em; margin: 0;
}
.pill {
  --c: var(--lime);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: .02em;
  text-decoration: none;
  padding: 10px 18px 9px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--c);
  transition: transform .35s var(--ease-pop), box-shadow .35s var(--ease-pop);
}
.pill:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 4px 4px 0 var(--ink); }
.pill .arrow { transition: transform .35s var(--ease-pop); }
.pill:hover .arrow { transform: translateX(4px); }

.burst { display: block; width: 100%; height: auto; overflow: visible; }
.spin { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* scroll reveals (js adds .is-in) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-pop { opacity: 0; transform: scale(.6) rotate(-8deg); transition: opacity .5s, transform .7s var(--ease-pop); transition-delay: var(--d, 0s); }
.reveal-pop.is-in { opacity: 1; transform: none; }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.is-in .reveal-line > span, .reveal-line.is-in > span { transform: none; }

/* hard-shadow photo frame */
.shot { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.lift { --c: var(--pink); transition: transform .45s var(--ease-pop), box-shadow .45s var(--ease-pop); }
.lift:hover { transform: translate(-6px, -6px) rotate(var(--r, -1.5deg)); box-shadow: 10px 10px 0 var(--c); z-index: 5; }
.lift:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  --bg: var(--pink);
  position: relative; z-index: 3;
  background: var(--bg); color: var(--ink);
  border-block: 1.5px solid var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: 12px 0 10px;
}
.marquee--tilt { transform: rotate(-2deg) scale(1.04); margin-block: -10px; }
.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee span {
  font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(24px, 4vw, 52px); line-height: 1; letter-spacing: -.01em;
  padding-right: .5em; display: inline-flex; align-items: center; gap: .5em;
}
.marquee span::after { content: "✶"; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   HOME — hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 1.6vw;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-index {
  position: absolute; top: calc(var(--nav-h) + 20px); left: var(--gutter);
  max-width: 230px; z-index: 4;
  font-size: 12px; line-height: 1.35;
}
.hero-index b { font-family: var(--font-cond); font-size: 13px; text-transform: uppercase; display: block; margin-bottom: 4px; }
.hero-index a { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 2px; }

.hero-stage {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  width: min(44vw, 580px, 62svh);
  transform: translateX(-50%);
}
.hero-burst {
  position: absolute; z-index: 0; color: var(--lime);
  width: 125%; left: -12.5%; top: -6%;
}
.hero-portrait { position: relative; z-index: 1; width: 100%; height: auto; animation: rise 1.4s var(--ease-out) .2s both; }
@keyframes rise { from { transform: translateY(18%); opacity: 0; } }

.hero-tag {
  position: absolute; z-index: 3;
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase;
  font-size: clamp(13px, 1.25vw, 17px); letter-spacing: .02em;
  display: flex; align-items: center; gap: 6px;
  animation: popIn .8s var(--ease-pop) both; animation-delay: var(--d, .8s);
  white-space: nowrap;
}
.hero-tag i { font-style: normal; color: var(--c, var(--pink)); font-size: 1.3em; display: inline-block; animation: twinkle 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.hero-tag--right { flex-direction: row-reverse; }
@keyframes popIn { from { transform: scale(0) rotate(-20deg); opacity: 0; } }
@keyframes twinkle { 50% { transform: scale(1.35) rotate(25deg); } }

.hero-hand {
  position: absolute; z-index: 3;
  font-family: var(--font-hand); font-weight: 700; color: var(--pink);
  font-size: clamp(22px, 2.6vw, 38px); line-height: .95;
  animation: popIn .9s var(--ease-pop) both;
}
.hero-hand--l { left: 3vw; top: 33%; transform: rotate(-8deg); animation-delay: 1.3s; }
.hero-hand--r { right: 3vw; top: 30%; transform: rotate(6deg); text-align: right; animation-delay: 1.45s; color: var(--blue); }

.hero-name {
  position: relative; z-index: 1;
  font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  color: var(--pink);
  font-size: 19vw; line-height: .78; letter-spacing: -.03em;
  width: max-content; margin: 0 auto -.04em; white-space: nowrap;
  user-select: none;
  z-index: 3; mix-blend-mode: multiply;
}
.hero-name .ch { display: inline-block; animation: chIn 1s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms + .1s); }
@keyframes chIn { from { transform: translateY(100%) skewY(8deg); opacity: 0; } }
.hero-name .ch:hover { color: var(--ink); transition: color .1s; }

/* draggable doodle stars */
.stickers { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.sticker {
  position: absolute; pointer-events: auto;
  left: var(--x); top: var(--y);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 92px; text-decoration: none;
  cursor: grab; touch-action: none;
  animation: popIn .8s var(--ease-pop) both; animation-delay: var(--d, 1s);
}
.sticker:active { cursor: grabbing; }
.sticker-img { width: 92px; height: 66px; overflow: hidden; transition: transform .4s var(--ease-pop); }
.sticker-img img { width: 92px; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.sticker-label {
  font-family: var(--font-cond); font-weight: 700; font-size: 12px; text-transform: lowercase;
  background: var(--paper); padding: 1px 6px; border-radius: 4px;
}
.sticker:hover .sticker-img { transform: rotate(18deg) scale(1.15); }
.sticker:hover .sticker-label { background: var(--ink); color: var(--paper); }
.sticker.is-dragging .sticker-img { transform: scale(1.25) rotate(-10deg); }

.hero-scroll {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 20px); z-index: 4;
  font-family: var(--font-cond); font-weight: 700; font-size: 12px; text-transform: uppercase; text-align: right;
}

@media (max-width: 820px) {
  .hero { min-height: 92svh; padding-bottom: 7vw; }
  .hero-stage { width: 78vw; bottom: 14vw; }
  .hero-index { max-width: 170px; }
  .hero-scroll { display: none; }
  .hero-hand { display: none; }
  .hero-tag { font-size: 12px; background: var(--paper); padding: 3px 8px 2px; border-radius: 999px; border: 1.5px solid var(--ink); }
  .sticker { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .sticker--desk { display: none; }
  .sticker, .sticker-img, .sticker-img img { width: 66px; }
  .sticker-img { height: 48px; }
}

/* --------------------------------------------------------------------------
   HOME — about (photobooth strip + scribble)
   -------------------------------------------------------------------------- */
.about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.about-copy { max-width: 440px; font-family: var(--font-cond); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.22; }
.about-copy p { margin: 0 0 1em; }
.about-copy .eyebrow { margin-bottom: 24px; }
.about-copy em { font-style: normal; background: linear-gradient(transparent 55%, var(--lime) 55%); }
.about-art { position: relative; display: flex; justify-content: center; min-height: 640px; }
.strip {
  position: relative; z-index: 1;
  width: min(220px, 46vw);
  background: #111; padding: 14px 22px;
  display: grid; gap: 10px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
}
/* sprocket holes */
.strip::before, .strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 10px;
  background: radial-gradient(circle at 50% 50%, #fff 2.6px, transparent 3px) 0 0 / 10px 13px repeat-y;
  background: repeating-linear-gradient(#111 0 4px, #fff 4px 10px, #111 10px 13px);
  -webkit-mask: linear-gradient(90deg, transparent 2px, #000 2px, #000 8px, transparent 8px);
          mask: linear-gradient(90deg, transparent 2px, #000 2px, #000 8px, transparent 8px);
}
.strip::before { left: 5px; }
.strip::after { right: 5px; }
.strip .shot { aspect-ratio: 4 / 4.6; }
.strip img { filter: grayscale(1) contrast(1.1); transition: filter .4s; }
.strip .shot:hover img { filter: none; }
.scribble {
  position: absolute; z-index: 2; pointer-events: none;
  font-family: var(--font-hand); font-weight: 700; color: var(--green);
  font-size: clamp(110px, 15vw, 230px); line-height: .7;
}
.scribble--1 { top: 2%; left: 4%; transform: rotate(-10deg); }
.scribble--2 { bottom: 4%; right: -2%; transform: rotate(-12deg); }
.scribble .reveal-line > span { transition-duration: 1.2s; }

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-art { min-height: 520px; order: -1; }
  .scribble { font-size: 31vw; }
}

/* --------------------------------------------------------------------------
   HOME — index of things (hover image follows cursor)
   -------------------------------------------------------------------------- */
.index-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.index-head .mega { font-size: clamp(64px, 13vw, 200px); }
.index-head p { max-width: 300px; margin: 0; font-size: 13px; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.index-row { border-bottom: 1.5px solid var(--ink); }
.index-row a {
  --c: var(--pink);
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 60px 1fr auto 40px; align-items: center; gap: 16px;
  padding: 16px 8px 12px; text-decoration: none; overflow: hidden;
}
.index-row a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--c); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.index-row a:hover::before { transform: scaleY(1); }
.index-num { font-family: var(--font-cond); font-weight: 700; font-size: 14px; }
.index-title {
  font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 7.5vw, 112px); line-height: .85; letter-spacing: -.02em;
  transition: transform .5s var(--ease-out);
}
.index-row a:hover .index-title { transform: translateX(14px); }
.index-meta { font-size: 13px; text-align: right; max-width: 280px; }
.index-arrow { font-family: var(--font-cond); font-size: 28px; transition: transform .4s var(--ease-pop); text-align: right; }
.index-row a:hover .index-arrow { transform: rotate(-45deg); }
.cursor-peek {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 220px; aspect-ratio: 3 / 4; overflow: hidden;
  border: 1.5px solid var(--ink);
  opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg);
  transition: opacity .25s, transform .4s var(--ease-pop);
}
.cursor-peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.cursor-peek img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .index-row a { grid-template-columns: 34px 1fr 28px; }
  .index-meta { display: none; }
  .cursor-peek { display: none; }
}

/* --------------------------------------------------------------------------
   Resume block (home + resume page) — inspired by the big-heading CV
   -------------------------------------------------------------------------- */
.cv { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cv-photo { position: sticky; top: calc(var(--nav-h) + 30px); }
.cv-photo .shot { aspect-ratio: 929 / 1200; border: 1.5px solid var(--ink); }
.cv-photo .hand { position: absolute; top: -34px; left: -10px; color: var(--pink); font-size: 34px; transform: rotate(-9deg); z-index: 2; }
.cv-photo .doodle-star { position: absolute; right: -26px; bottom: 40px; width: 78px; z-index: 2; animation: twinkle 3s ease-in-out infinite; }
.cv-group { margin-bottom: clamp(36px, 5vw, 64px); }
.cv-group h3 {
  font-family: var(--font-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(54px, 8vw, 118px); line-height: .82; letter-spacing: -.03em;
  margin: 0 0 14px;
}
.cv-group h3 .reveal-line > span { padding-bottom: .04em; }
.cv-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid #e5e5e5;
  transition: padding .35s var(--ease-out), background .3s;
}
.cv-row:hover { padding-left: 10px; background: linear-gradient(90deg, var(--hl, var(--lime)), transparent 80%); }
.cv-co { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.cv-role { font-size: 13px; color: #444; grid-column: 1; }
.cv-date { font-family: var(--font-cond); font-weight: 700; font-size: 14px; text-transform: uppercase; grid-row: 1; grid-column: 2; white-space: nowrap; }
.cv-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-skills span {
  font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 15px;
  padding: 6px 12px 5px; border: 1.5px solid var(--ink); border-radius: 999px;
  transition: transform .35s var(--ease-pop), background .2s;
}
.cv-skills span:nth-child(7n+1):hover { background: var(--pink); }
.cv-skills span:nth-child(7n+2):hover { background: var(--orange); }
.cv-skills span:nth-child(7n+3):hover { background: var(--cyan); }
.cv-skills span:nth-child(7n+4):hover { background: var(--lime); }
.cv-skills span:nth-child(7n+5):hover { background: var(--lilac); }
.cv-skills span:nth-child(7n+6):hover { background: var(--yellow); }
.cv-skills span:nth-child(7n+7):hover { background: var(--green); }
.cv-skills span:hover { transform: rotate(-6deg) scale(1.08); }

@media (max-width: 820px) {
  .cv { grid-template-columns: 1fr; }
  .cv-photo { position: relative; top: 0; max-width: 300px; margin: 30px auto 20px; }
}

/* --------------------------------------------------------------------------
   HOME — gallery collage
   -------------------------------------------------------------------------- */
.collage { position: relative; height: clamp(820px, 92vw, 1320px); }
.collage-title {
  position: absolute; z-index: 3; left: 50%; top: 42%; transform: translate(-50%, -50%);
  text-align: center; pointer-events: none;
}
.collage-title .mega { font-size: clamp(80px, 17vw, 260px); color: var(--ink); }
.collage-title .mega .reveal-line > span { padding-top: .04em; }
.collage-title .pills { display: flex; gap: 10px; justify-content: center; margin-top: 18px; pointer-events: auto; }
.collage .shot { position: absolute; border: 1.5px solid var(--ink); }
.collage .shot:nth-of-type(1) { left: 2%;  top: 2%;  width: 22%; aspect-ratio: 2/3; --c: var(--orange); }
.collage .shot:nth-of-type(2) { left: 30%; top: 8%;  width: 15%; aspect-ratio: 3/4; --c: var(--cyan); --r: 2deg; }
.collage .shot:nth-of-type(3) { left: 55%; top: 0;   width: 26%; aspect-ratio: 4/5; --c: var(--pink); }
.collage .shot:nth-of-type(4) { left: 86%; top: 12%; width: 13%; aspect-ratio: 2/3; --c: var(--lime); --r: 2deg; }
.collage .shot:nth-of-type(5) { left: 8%;  top: 40%; width: 18%; aspect-ratio: 3/4; --c: var(--lilac); }
.collage .shot:nth-of-type(6) { left: 72%; top: 44%; width: 22%; aspect-ratio: 3/2; --c: var(--red); --r: 2deg; }
.collage .shot:nth-of-type(7) { left: 0;   top: 70%; width: 28%; aspect-ratio: 3/2; --c: var(--green); }
.collage .shot:nth-of-type(8) { left: 36%; top: 66%; width: 16%; aspect-ratio: 2/3; --c: var(--blue); --r: 2deg; }
.collage .shot:nth-of-type(9) { left: 62%; top: 74%; width: 20%; aspect-ratio: 4/5; --c: var(--yellow); }
.collage .shot:nth-of-type(10){ left: 88%; top: 76%; width: 11%; aspect-ratio: 2/3; --c: var(--pink); --r: 2deg; }

@media (max-width: 820px) {
  .collage { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .collage .shot { position: relative !important; inset: auto !important; width: auto !important; aspect-ratio: 3/4 !important; transform: none !important; }
  .collage-title { position: relative; grid-column: 1 / -1; left: auto; top: auto; transform: none; order: -1; margin-bottom: 12px; }
  .collage .shot:nth-of-type(n+7) { display: none; }
}

/* --------------------------------------------------------------------------
   Contact block (home + contact page) — "hello? is this thing on????"
   -------------------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; text-align: center; padding-block: clamp(100px, 14vw, 200px); }
.contact-burst {
  position: absolute; z-index: 0; color: var(--yellow);
  width: min(1100px, 130vw); left: 50%; top: 50%; translate: -50% -50%;
}
.contact-inner { position: relative; z-index: 1; }
.contact h2 {
  font-family: var(--font-cond); font-weight: 900; color: var(--red);
  font-size: clamp(56px, 10vw, 156px); line-height: .86; letter-spacing: -.025em; margin: 0 0 18px;
}
.contact h2 .wobble { display: inline-block; animation: wobble 2.2s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(6deg) translateY(-6px); } }
.contact-sub { font-family: var(--font-hand); font-size: clamp(24px, 3vw, 36px); margin: 0 0 36px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-links .pill { font-size: clamp(16px, 1.6vw, 22px); padding: 14px 22px 12px; }
.contact-links .pill:nth-child(1) { --c: var(--pink); }
.contact-links .pill:nth-child(2) { --c: var(--orange); }
.contact-links .pill:nth-child(3) { --c: var(--cyan); }
.contact-links .pill:nth-child(4) { --c: var(--lime); }
.contact-links .pill:nth-child(5) { --c: var(--lilac); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap;
  padding: 28px var(--gutter) 86px;
  border-top: 1.5px solid var(--ink);
  font-family: var(--font-cond); font-weight: 700; font-size: 13px; text-transform: uppercase;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--pink); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Music (cassette)
   -------------------------------------------------------------------------- */
.tape {
  position: fixed; right: var(--gutter); bottom: 20px; z-index: 45;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px;
  font-family: var(--font-cond); font-weight: 700; font-size: 12px; text-transform: uppercase; text-align: left;
  transition: transform .35s var(--ease-pop), box-shadow .35s var(--ease-pop), background .2s;
}
.tape:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.tape-cass { width: 44px; height: 32px; display: grid; place-items: center; background: var(--lilac); border-radius: 999px; overflow: hidden; }
.tape-cass img { width: 18px; transform: rotate(90deg); }
.tape-label span { display: block; color: var(--ink-soft); font-size: 11px; }
.tape-bars { display: none; gap: 2px; align-items: end; height: 14px; }
.tape-bars i { width: 3px; background: var(--pink); animation: eq .8s ease-in-out infinite; }
.tape-bars i:nth-child(2) { animation-delay: -.3s; background: var(--orange); }
.tape-bars i:nth-child(3) { animation-delay: -.55s; background: var(--cyan); }
.tape.is-playing { background: var(--lime); }
.tape.is-playing .tape-bars { display: flex; }
.tape.is-playing .tape-cass img { animation: wiggle .5s ease-in-out infinite; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@keyframes wiggle { 50% { transform: rotate(90deg) translateX(2px); } }
@media (max-width: 820px) { .tape-label { display: none; } .tape { padding-right: 10px; } }

/* click confetti stars */
.pop-star { position: fixed; z-index: 100; pointer-events: none; font-size: 22px; line-height: 1; will-change: transform, opacity; }

/* --------------------------------------------------------------------------
   Subpage header
   -------------------------------------------------------------------------- */
.page-head { padding: calc(var(--nav-h) + clamp(40px, 8vw, 110px)) var(--gutter) clamp(24px, 4vw, 48px); position: relative; }
.page-head .mega { font-size: clamp(72px, 16vw, 250px); }
.page-head .mega .accent { color: var(--accent, var(--pink)); }
.page-head-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; flex-wrap: wrap; font-size: 13px; }
.page-head-meta p { margin: 0; max-width: 360px; }

/* coming soon */
.soon { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; position: relative; overflow: hidden; }
.soon .burst { position: absolute; width: min(720px, 120vw); left: 50%; top: 50%; translate: -50% -50%; color: var(--accent, var(--lime)); z-index: 0; }
.soon-inner { position: relative; z-index: 1; }
.soon .mega { font-size: clamp(64px, 14vw, 210px); }
.soon .hand { font-size: clamp(24px, 3vw, 38px); display: block; margin: 12px 0 28px; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.about-page-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); padding: 0 var(--gutter) clamp(80px, 10vw, 140px); align-items: start; }
.polaroid { position: relative; max-width: 420px; }
.polaroid .shot { border: 1.5px solid var(--ink); aspect-ratio: 929 / 1200; }
.polaroid .tag-svg { position: absolute; top: -40px; left: -36px; width: 140px; z-index: 2; transform: rotate(-4deg); }
.polaroid .star-svg { position: absolute; right: -28px; bottom: 50px; width: 80px; z-index: 2; animation: twinkle 3s ease-in-out infinite; }
.about-long { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; max-width: 620px; }
.about-long h2 { font-family: var(--font-cond); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 5vw, 72px); line-height: .9; margin: 0 0 24px; color: var(--pink); }
.about-long p { margin: 0 0 1.1em; }
.about-long .big { font-family: var(--font-cond); font-weight: 700; font-size: 1.25em; line-height: 1.25; }
.about-long mark { background: var(--lime); padding: 0 .15em; }
@media (max-width: 820px) { .about-page-grid { grid-template-columns: 1fr; } .polaroid { margin: 40px auto 20px; max-width: 320px; } }

/* --------------------------------------------------------------------------
   Gallery hub
   -------------------------------------------------------------------------- */
.hub { padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.hub a {
  --c: var(--pink);
  position: relative; isolation: isolate;
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  border-top: 1.5px solid var(--ink); padding: 18px 0 8px; text-decoration: none; overflow: hidden;
}
.hub a:last-child { border-bottom: 1.5px solid var(--ink); }
.hub a::before { content: ""; position: absolute; inset: 0; background: var(--c); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.hub a:hover::before { transform: scaleX(1); }
.hub .mega { font-size: clamp(64px, 15vw, 230px); transition: transform .6s var(--ease-out); }
.hub a:hover .mega { transform: translateX(20px) skewX(-6deg); }
.hub-meta { font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 14px; padding-bottom: 14px; text-align: right; }

/* --------------------------------------------------------------------------
   Modeling page — comp card + masonry + lightbox
   -------------------------------------------------------------------------- */
.comp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); padding: calc(var(--nav-h) + clamp(30px, 6vw, 80px)) var(--gutter) clamp(40px, 6vw, 80px); align-items: end; }
.comp .shot { aspect-ratio: 2 / 3; border: 1.5px solid var(--ink); max-width: 460px; }
.comp-name { font-size: clamp(72px, 13vw, 210px); }
.comp-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0; margin: 28px 0; border-top: 1.5px solid var(--ink); }
.comp-stats div { padding: 10px 0 8px; border-bottom: 1px solid #ddd; }
.comp-stats dt { font-size: 11px; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.comp-stats dd { font-family: var(--font-cond); font-weight: 900; font-size: 26px; text-transform: uppercase; margin: 0; line-height: 1; }
.comp-contact { display: flex; gap: 10px; flex-wrap: wrap; }
.masonry { columns: 3 300px; column-gap: 14px; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.masonry button { display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; cursor: zoom-in; border: 1.5px solid var(--ink); overflow: hidden; }
.masonry button:nth-child(5n+1) { --c: var(--pink); }
.masonry button:nth-child(5n+2) { --c: var(--orange); --r: 1.5deg; }
.masonry button:nth-child(5n+3) { --c: var(--cyan); }
.masonry button:nth-child(5n+4) { --c: var(--lime); --r: 1.5deg; }
.masonry button:nth-child(5n+5) { --c: var(--lilac); }
.masonry img { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
@media (max-width: 820px) { .comp { grid-template-columns: 1fr; } .comp .shot { max-width: none; } .masonry { columns: 2 140px; column-gap: 10px; } .masonry button { margin-bottom: 10px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(255,255,255,.96);
  display: grid; place-items: center; padding: 70px 70px 40px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; border: 1.5px solid var(--ink); box-shadow: 12px 12px 0 var(--pink); transform: scale(.94); transition: transform .5s var(--ease-pop); }
.lightbox.is-open img { transform: none; }
.lightbox-btn {
  position: absolute; font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; font-size: 14px;
  padding: 8px 14px 7px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper);
  transition: background .2s, transform .3s var(--ease-pop);
}
.lightbox-btn:hover { background: var(--lime); transform: scale(1.08); }
.lightbox-close { top: 14px; right: var(--gutter); }
.lightbox-prev { left: var(--gutter); top: 50%; translate: 0 -50%; }
.lightbox-next { right: var(--gutter); top: 50%; translate: 0 -50%; }
.lightbox-count { position: absolute; top: 20px; left: var(--gutter); font-family: var(--font-cond); font-weight: 700; font-size: 14px; }
@media (max-width: 820px) { .lightbox { padding: 60px 12px 70px; } .lightbox img { box-shadow: 6px 6px 0 var(--pink); } .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; translate: none; } }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-pop { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
}

/* hero tag placement — each tag sets --x/--y (desktop) and --mx/--my (phone) relative to the portrait */
.hero-tag { top: var(--y); left: var(--x); }
.hero-tag--right { left: auto; right: var(--x); }
@media (max-width: 820px) {
  .hero-tag { top: var(--my, var(--y)); left: var(--mx, var(--x)); }
  .hero-tag--right { left: auto; right: var(--mx, var(--x)); }
}
