/* ============== TOKENS ============== */
:root {
  --bg: #0a1026;
  --bg-2: #121a3a;
  --cream: #ece7df;
  --ink: #0a1026;
  --muted: #7a85a8;
  --line: rgba(236, 231, 223, 0.16);
  --accent: #4486a0;
  --blue-deep: #060a1c;

  /* User-supplied textures (web-optimized copies in project root). */
  --paper-light: url("tex-paper.jpg");  /* AU-FG scratch texture, inverted in CSS for cream pages */
  --grain-tex: url("tex-grain.jpg");    /* dust grain over the dark background */

  --f-display: "Anton", "Oswald", sans-serif;
  --f-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --f-ui: "Archivo", sans-serif;
  --f-mono: "Space Mono", monospace;

  --pad: clamp(18px, 4.5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg); color: var(--cream);
  font-family: var(--f-ui); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ============== GRAIN / CURSOR / PROGRESS ============== */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.18; mix-blend-mode: screen;
  background-image: var(--grain-tex);
  background-size: 600px auto; background-repeat: repeat;
}
.cursor { display: none; }
.cursor::before, .cursor::after {
  content: ""; position: absolute; left: 0; top: 0; border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: width .4s var(--ease), height .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
  will-change: transform;
}
/* watercolor wash */
.cursor::before {
  width: 40px; height: 40px;
  background: radial-gradient(circle at 38% 34%, rgba(150,205,225,0.95) 0%, rgba(68,134,160,0.6) 45%, rgba(28,66,86,0) 75%);
  filter: blur(2.5px);
  border-radius: 47% 53% 51% 49% / 55% 47% 53% 45%;
  opacity: 0.82;
  animation: blob 7s ease-in-out infinite;
}
/* deeper ink core that bleeds */
.cursor::after {
  width: 22px; height: 22px;
  background: radial-gradient(circle at 45% 40%, rgba(50,110,135,0.85) 0%, rgba(28,66,86,0) 72%);
  filter: blur(2px);
  border-radius: 52% 48% 46% 54% / 48% 56% 44% 52%;
  opacity: 0.68;
  animation: blob 9s ease-in-out -2s infinite reverse;
}
.cursor.is-hover::before { width: 82px; height: 82px; opacity: 0.9; }
.cursor.is-hover::after { width: 46px; height: 46px; opacity: 0.76; }
@keyframes blob {
  0%, 100% { border-radius: 47% 53% 51% 49% / 55% 47% 53% 45%; }
  33%      { border-radius: 58% 42% 47% 53% / 45% 58% 42% 55%; }
  66%      { border-radius: 44% 56% 59% 41% / 52% 44% 56% 48%; }
}
@media (hover: none) { body, button { cursor: auto; } .cursor { display: none; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; }
.progress span {
  display: block; height: 100%; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad); color: #e7e0d4;
}
.brand { font-family: var(--f-display); font-size: 22px; letter-spacing: 0.04em; line-height: 1; display: inline-flex; align-items: flex-start; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 4px; margin-top: 2px; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .6; } }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; }
@media (max-width: 760px) { .nav-meta { display: none; } .nav-links { gap: 14px; } }

/* ============== HERO — OPEN ZINE SPREAD ============== */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 86px clamp(14px, 2.5vw, 40px) 4vh; overflow: hidden; }
/* ambient blurred painting backdrop */
.hero-amb { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-amb img { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; filter: blur(10px) saturate(1.15) brightness(0.78); transform: scale(1.08); will-change: transform; }
.hero-veil { position: absolute; inset: 0; background:
  radial-gradient(120% 85% at 50% 38%, rgba(10,16,38,0.10) 0%, rgba(10,16,38,0.60) 60%, rgba(6,10,28,0.92) 100%); }

/* the book */
.zine {
  position: relative; z-index: 1;
  width: min(97vw, 1560px); aspect-ratio: 2.3 / 1;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--cream);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.4) inset,
    0 60px 130px -35px rgba(3,6,20,0.85),
    0 18px 50px -18px rgba(3,6,20,0.65);
  animation: bookIn 1.2s var(--ease) both, bookFloat 9s ease-in-out 1.6s infinite;
}
@keyframes bookFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* stacked page-thickness underneath */
.zine::before, .zine::after { content: ""; position: absolute; z-index: -1; background: #ded8cc; }
.zine::before { inset: 7px -7px -11px -7px; filter: brightness(0.94); box-shadow: 0 24px 50px -25px rgba(3,6,20,0.6); }
.zine::after { inset: 13px -13px -20px -13px; filter: brightness(0.86); }
@keyframes bookIn { from { opacity: 0; transform: translateY(46px) scale(0.97); } to { opacity: 1; transform: none; } }

.page { position: relative; overflow: hidden; }
.page-left {
  padding: clamp(22px, 3.4vw, 52px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(95deg, #f1ece3 0%, #e7e0d4 100%);
  box-shadow: inset -44px 0 60px -44px rgba(10,16,38,0.5);
  color: var(--ink);
}
.page-left > * { position: relative; z-index: 2; }
/* user paper texture — inverted (source is dark-on-black) so it reads as tooth on cream */
.page-left::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--paper-light);
  background-size: cover; background-position: center;
  filter: invert(1);
  mix-blend-mode: multiply;
  opacity: 0.55;
}
/* center spine fold */
.page-left::after {
  content: ""; position: absolute; top: 0; right: 0; width: 2px; height: 100%; z-index: 3;
  background: linear-gradient(90deg, rgba(10,16,38,0) 0%, rgba(10,16,38,0.28) 100%);
}

.pg-corner { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.cap-mono { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); display: block; margin-top: 10px; }
.cap { margin: auto 0; }
.cap-pre { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 2vw, 26px); color: #5a5547; display: block; margin-bottom: 6px; }
.cap-name { font-weight: 400; line-height: 0.82; }
.cap-sur { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(34px, 6vw, 92px); letter-spacing: 0.005em; }
.cap-given { display: block; font-family: var(--f-serif); font-style: italic; font-size: clamp(46px, 8.4vw, 128px); line-height: 0.8; color: var(--accent); margin-top: -0.04em; }
.cap-role { font-family: var(--f-mono); font-size: clamp(12px, 1.2vw, 15px); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 20px; }
.cap-role span { color: var(--accent); margin: 0 6px; }
.pg-foot { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }

/* right page — clickable showreel */
.page-right { padding: 0; background: #11183a; box-shadow: inset 44px 0 60px -44px rgba(10,16,38,0.55); cursor: pointer; }
.page-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1) contrast(1.04) brightness(0.92); transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.page-right:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.07) brightness(1); }
.reel-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,30,0.35) 0%, rgba(8,12,30,0) 30%, rgba(8,12,30,0.55) 100%); transition: opacity .5s var(--ease); }
.reel-tag { position: absolute; top: clamp(16px,2.4vw,28px); left: clamp(16px,2.4vw,28px); font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cream); }
.reel-dur { position: absolute; top: clamp(16px,2.4vw,28px); right: clamp(16px,2.4vw,28px); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--cream); }
.reel-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: clamp(64px,7vw,92px); height: clamp(64px,7vw,92px); border-radius: 50%; background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.5); color: var(--cream); display: grid; place-items: center; transition: background .4s var(--ease), transform .4s var(--ease), color .4s; }
.page-right:hover .reel-play { background: var(--accent); border-color: var(--accent); color: #fff; transform: translate(-50%,-50%) scale(1.1); }
.pg-corner--light { position: absolute; bottom: clamp(14px,2vw,24px); right: clamp(16px,2.4vw,28px); color: rgba(236,231,223,0.7); }

@media (max-width: 760px) {
  .zine { aspect-ratio: auto; grid-template-columns: 1fr; width: 100%; }
  .page-left { box-shadow: inset 0 -44px 60px -44px rgba(10,16,38,0.5); }
  .page-left::after { display: none; }
  .page-right { aspect-ratio: 16/10; box-shadow: inset 0 44px 60px -44px rgba(10,16,38,0.55); }
}

.scroll-cue { position: absolute; bottom: 24px; right: var(--pad); z-index: 1; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(236,231,223,0.65); }
.scroll-cue i { display: block; width: 1px; height: 40px; background: rgba(236,231,223,0.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ============== MARQUEE ============== */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; white-space: nowrap; background: var(--bg); position: relative; z-index: 2; }
.marquee-track { display: inline-flex; align-items: center; gap: 28px; animation: scroll 30s linear infinite; }
.marquee-track span { font-family: var(--f-ui); font-weight: 400; font-size: clamp(18px, 2.4vw, 34px); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.marquee-track .m-dot { color: var(--accent); font-size: 10px; opacity: 0.7; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============== STATEMENT ============== */
.statement { padding: clamp(90px, 16vh, 200px) var(--pad); max-width: 1200px; }
.statement p { font-family: var(--f-serif); font-size: clamp(30px, 6vw, 80px); line-height: 1.08; letter-spacing: -0.01em; }
.statement .rl { display: block; }
.statement em { font-style: italic; color: var(--accent); }
.s-index { font-family: var(--f-mono); font-size: 14px; color: var(--muted); display: block; margin-bottom: 24px; }
/* line reveal */
.reveal-lines .rl, .reveal-lines .s-index { overflow: hidden; }
.reveal-lines .rl > * , .reveal-lines .rl { }
.reveal-lines .rl { transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.reveal-lines.in .rl { transform: none; opacity: 1; }
.reveal-lines.in .rl:nth-child(2) { transition-delay: .05s; }
.reveal-lines.in .rl:nth-child(3) { transition-delay: .15s; }
.reveal-lines.in .rl:nth-child(4) { transition-delay: .25s; }
.reveal-lines.in .rl:nth-child(5) { transition-delay: .35s; }

/* ============== SECTION HEAD ============== */
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 24px var(--pad) 0; margin-bottom: 48px; border-top: 1px solid var(--line); }
.section-head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 5vw, 72px); text-transform: uppercase; line-height: 1; }
.section-meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============== FILMS ============== */
.films { padding-bottom: 40px; }
.film { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(40px, 7vh, 90px) var(--pad); }
.film--alt { grid-template-columns: 0.85fr 1.15fr; }
.film--alt .film-media { order: 2; }
.film--alt .film-info { order: 1; }
.film-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.film-media img, .film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.03); will-change: filter; }
.film-media img { object-fit: contain; } /* photo covers shown in full, never cropped */
.film-media video { pointer-events: none; }
.film-media .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(12,11,10,0.4); backdrop-filter: blur(4px); color: var(--cream); display: grid; place-items: center; transition: background .4s var(--ease), transform .4s var(--ease); }
.play svg, .reel-play svg { width: 34%; height: 34%; fill: currentColor; display: block; margin-left: 6%; }
.film-media:hover .play { background: var(--accent); color: var(--ink); transform: translate(-50%,-50%) scale(1.08); }
.film-num { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.film-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6vw, 96px); line-height: 0.9; text-transform: uppercase; margin: 10px 0 18px; }
.film-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.film-tags li { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; color: var(--muted); }
.film-desc { max-width: 42ch; color: #cfc9bf; }

/* background video strip behind a project block */
.film--bg { position: relative; }
.film--bg > .film-media, .film--bg > .film-info { position: relative; z-index: 1; }
.film-band {
  position: absolute; z-index: 0; pointer-events: none;
  left: 50%; transform: translateX(-50%);
  width: 100vw; top: 11%; height: 78%; overflow: hidden;
}
.film-band img, .film-band video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5; filter: grayscale(0.2) contrast(1.04) brightness(0.9);
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent),
    linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  -webkit-mask-composite: source-in; -webkit-mask-size: 100% 100%;
  mask-image:
    linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent),
    linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  mask-composite: intersect; mask-size: 100% 100%;
}
@media (max-width: 820px) {
  .film, .film--alt { grid-template-columns: 1fr; gap: 22px; }
  .film--alt .film-media { order: 0; } .film--alt .film-info { order: 0; }
  .film-band { height: 92%; top: 4%; }
}

/* clip-path curtain reveal */
.reveal-media { clip-path: inset(100% 0 0 0); transition: clip-path 1.15s var(--ease); }
.reveal-media.in { clip-path: inset(0 0 0 0); }

/* ============== PHOTOGRAPHY — pinned horizontal gallery ============== */
.gallery { position: relative; height: 420vh; }
.gallery-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.gallery-track { display: flex; align-items: center; gap: clamp(20px, 4vw, 60px); padding: 0 var(--pad); will-change: transform; }
.g-panel { position: relative; flex: 0 0 auto; width: min(42vw, 560px); }
.g-panel--tall { width: min(34vw, 460px); }
.g-panel--wide { width: min(60vw, 820px); }
.g-frame { overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); }
.g-panel--tall .g-frame { aspect-ratio: 3/4; }
.g-panel--wide .g-frame { aspect-ratio: 16/9; }
.g-frame img, .g-frame video { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; filter: grayscale(0.12) contrast(1.03); will-change: transform; }
.g-frame video { pointer-events: none; }
/* AI gallery: consistent height, width follows each clip's aspect (no cropping) */
#ai .g-panel:not(.g-intro) { width: auto; }
#ai .g-frame { height: min(60vh, 520px); width: auto; }
#ai .g-frame video { position: absolute; inset: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.g-panel figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.g-intro { width: min(70vw, 640px); }
.g-intro h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 9vw, 150px); line-height: 0.86; text-transform: uppercase; margin: 14px 0 24px; }
.ai-title { display: flex; flex-direction: column; }
.ai-title .ai-big { font-size: clamp(90px, 19vw, 280px); line-height: 0.8; letter-spacing: 0.01em; }
.ai-title .ai-small { font-size: clamp(16px, 2vw, 30px); letter-spacing: 0.14em; color: var(--muted); margin-top: 6px; padding-left: 4px; }
.g-intro p { font-family: var(--f-serif); font-size: clamp(20px, 2.6vw, 34px); color: #cfc9bf; }
.g-hint { color: var(--accent); }
.g-nav { display: none; }
@media (max-width: 820px) {
  /* AI gallery becomes a swipeable carousel with arrows */
  .gallery { height: auto; }
  .gallery-sticky { position: relative; height: auto; display: block; padding: 32px 0; }
  .gallery-track {
    flex-direction: row; flex-wrap: nowrap; transform: none !important;
    gap: 14px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 0 var(--pad); scrollbar-width: none;
  }
  .gallery-track::-webkit-scrollbar { display: none; }
  .g-panel--tall, .g-panel--wide { width: auto; }
  /* each slide ~ full screen width; video shown whole (height by aspect) */
  #ai .g-panel { flex: 0 0 86%; width: 86%; scroll-snap-align: center; }
  #ai .g-intro { flex: 0 0 86%; width: 86%; }
  #ai .g-frame { width: 100%; height: auto; }
  /* arrows */
  .g-nav {
    display: grid; place-items: center; position: absolute; top: 42%;
    transform: translateY(-50%); z-index: 6; width: 46px; height: 46px;
    border-radius: 50%; background: rgba(10,16,38,0.55); backdrop-filter: blur(6px);
    border: 1px solid rgba(231,224,212,0.5); color: #e7e0d4;
    font-size: 28px; line-height: 1; padding-bottom: 4px; cursor: pointer;
  }
  .g-prev { left: 10px; }
  .g-next { right: 10px; }
  /* play buttons — half size on mobile */
  .film-media .play { width: 38px; height: 38px; font-size: 11px; }
  .reel-play { width: 44px; height: 44px; font-size: 12px; }
}

/* ============== ABOUT ============== */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; padding: 0; border-top: 1px solid var(--line); align-items: stretch; }
.about-intro { padding: clamp(56px, 10vh, 130px) clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.about-photo { margin: 0; position: relative; overflow: hidden; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about-intro .about-bio { margin-top: 26px; max-width: 46ch; }
.about-note { margin-top: 4px; color: var(--accent); font-style: italic; }
/* scattered italic skills (editorial, magazine-style cascade) */
.about-skills { font-family: var(--f-serif); font-style: italic; color: #d8d2c8; margin-top: 40px; line-height: 1.02; }
.about-skills .sk { display: block; font-size: clamp(26px, 3.4vw, 52px); }
.about-skills .sk:nth-child(1) { padding-left: 0.2em; }
.about-skills .sk:nth-child(2) { padding-left: 2.4em; color: var(--accent); }
.about-skills .sk:nth-child(3) { padding-left: 5em; }
@media (max-width: 820px) {
  .about { min-height: auto; grid-template-columns: 1fr; }
  .about-photo { order: -1; height: 60vh; }
  .about-intro { padding: 40px var(--pad) 48px; }
  .about-skills .sk { padding-left: 0 !important; }
}
.about-name { display: flex; flex-direction: column; line-height: 0.9; margin: 14px 0 16px; }
.about-name .an-given { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: clamp(34px, 5.2vw, 82px); line-height: 0.98; }
.about-name .an-sur { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(28px, 4.3vw, 66px); }
.about-role { font-family: var(--f-mono); font-size: clamp(12px, 1.3vw, 16px); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.about-bio { display: flex; flex-direction: column; gap: 18px; max-width: 56ch; color: #d4cec4; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.62; }
.about-lede { font-family: var(--f-serif); font-size: clamp(24px, 3.4vw, 44px); line-height: 1.18; margin: 16px 0 28px; }
.about-lede em { color: var(--accent); }
.about-body { max-width: 46ch; color: #cfc9bf; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.credits { align-self: end; }
.credit-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; }
.credit-row:last-child { border-bottom: 1px solid var(--line); }
.credit-row dt { text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ============== CONTACT ============== */
.contact { padding: clamp(70px, 12vh, 140px) var(--pad) 32px; border-top: 1px solid var(--line); overflow: hidden; }
.contact-head { text-align: center; margin-bottom: clamp(30px, 6vh, 60px); }
.contact-head .kicker { font-size: clamp(14px, 1.5vw, 21px); letter-spacing: 0.16em; color: var(--cream); margin-bottom: 0; }
.contact-mail { display: inline-block; margin-top: 16px; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 7vw, 96px); text-transform: lowercase; line-height: 1; transition: color .35s var(--ease); }
.contact-mail:hover { color: var(--accent); }
/* three contacts — thin font, one horizontal line */
.contact-big { list-style: none; display: flex; flex-flow: row wrap; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 64px); margin: clamp(18px, 4vh, 44px) 0 clamp(40px, 8vh, 70px); }
.contact-big a { display: inline-flex; align-items: center; gap: 11px; min-height: clamp(19px, 1.8vw, 26px); font-family: var(--f-ui); font-weight: 400; font-size: clamp(15px, 1.9vw, 28px); letter-spacing: 0.01em; line-height: 1; transition: color .35s var(--ease); }
.contact-big a:hover { color: var(--accent); }
.contact-big .ico { width: clamp(19px, 1.8vw, 26px); height: clamp(19px, 1.8vw, 26px); flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-big .ico .dot { fill: currentColor; stroke: none; }
.contact-big .ico--tg { fill: currentColor; stroke: none; }
.big-name { text-align: center; user-select: none; }
.big-name span { display: inline-block; font-family: var(--f-display); font-weight: 400; font-size: clamp(60px, 27vw, 440px); line-height: 0.8; letter-spacing: 0.01em; color: transparent; -webkit-text-stroke: 1px var(--line); will-change: transform; }
.contact-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.socials { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; text-transform: none; color: var(--cream); transition: color .3s; }
.socials a:hover, .to-top:hover { color: var(--accent); }
.socials .ico { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.socials .ico .dot { fill: currentColor; stroke: none; }
.socials .ico--tg { fill: #fff; stroke: none; }

/* ============== MODAL ============== */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: var(--pad); background: rgba(4,7,20,0.93); opacity: 0; transition: opacity .4s var(--ease); }
.modal.open { display: grid; opacity: 1; }
.modal-frame { width: min(92vw, 1100px); aspect-ratio: 16/9; background: #000; transform: scale(0.96); transition: transform .5s var(--ease); }
.modal.open .modal-frame { transform: scale(1); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; top: 22px; right: 24px; font-family: var(--f-mono); font-size: 18px; color: var(--cream); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, color .3s; }
.modal-close:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ============== REVEAL ============== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============== HERO LOAD — staggered caption ============== */
.cap-mono, .cap-pre, .cap-sur, .cap-given, .cap-role { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.cap-mono { animation-delay: .5s; }
.cap-pre { animation-delay: .62s; }
.cap-sur { animation-delay: .72s; }
.cap-given { animation-delay: .84s; }
.cap-role { animation-delay: .96s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-lines .rl { opacity: 1 !important; transform: none !important; transition: none; }
  .reveal-media { clip-path: none !important; }
  .marquee-track, .dot, .scroll-cue i::after { animation: none; }
  .zine { animation: none !important; opacity: 1; transform: none; }
  .cursor::before, .cursor::after { animation: none; }
  .cap-mono, .cap-pre, .cap-sur, .cap-given, .cap-role { opacity: 1; transform: none; animation: none; }
  [data-parallax] { transform: none !important; }
  .gallery { height: auto; } .gallery-sticky { position: static; height: auto; }
  .gallery-track { flex-direction: column; transform: none !important; }
  .g-panel, .g-panel--tall, .g-panel--wide, .g-intro { width: 100%; }
}
