/* Abdullah Al Abrar: cold stone gallery ground (matches the film backdrop),
   off-black ink, one brass accent in two lightnesses (light and dark grounds). */
:root {
  --stone: #c9ccd2;
  --stone-2: #d5d8dd;
  --stone-3: #b5b9c0;
  --ink: #121316;
  --ink-2: #2b2d33;
  --ink-soft: #545862;           /* tinted from the ink, not flat grey */
  --night: #0e0f12;
  --night-2: #17181c;
  --paper: #f1efea;
  --paper-soft: #a8a6a1;
  --brass: #8a5a22;              /* on stone: 5.1:1 */
  --brass-l: #d9a765;            /* on night: 9:1 */
  --line-d: rgba(18, 19, 22, .16);
  --line-l: rgba(241, 239, 234, .16);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(18px, 3.4vw, 52px);
  --section: clamp(88px, 14vh, 170px);
  --e2: 0 18px 40px -12px rgba(8, 9, 12, .45), 0 4px 10px rgba(8, 9, 12, .25);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink-soft) var(--stone); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped, html.lb-open { overflow: hidden; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.loading { overflow: hidden; }
::selection { background: var(--ink); color: var(--brass-l); }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
i { font-style: italic; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 4px; }
.work :focus-visible, .cv :focus-visible, .lightbox :focus-visible { outline-color: var(--brass-l); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 20px; color: var(--ink-soft); }
.kicker.light { color: var(--paper-soft); }
/* display: tracking tightens as size grows; emphasis is the same family, italic, in the accent */
.display { font-size: clamp(44px, 7vw, 112px); line-height: .95; letter-spacing: -.045em; font-weight: 750; margin: 0; color: var(--paper); font-variation-settings: "wdth" 96; }
.display.dark { color: var(--ink); }
.display i, .beat-title i { font-weight: 300; letter-spacing: -.03em; color: var(--brass-l); }
.display.dark i { color: var(--brass); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-line { border: 1px solid var(--line-d); color: var(--ink); }
.btn-line.light { border-color: var(--line-l); color: var(--paper); }
.btn-brass { background: var(--brass-l); color: #1f160b; }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: #26282e; }
  .btn-line:hover { border-color: var(--ink); }
  .btn-line.light:hover { border-color: var(--paper); }
  .btn-brass:hover { background: #e6b97a; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------------- loader ---------------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--stone); will-change: transform;
  display: grid; place-items: center; align-content: center; gap: 14px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-count { font-size: clamp(64px, 12vw, 150px); font-weight: 800; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 110; }
.loader-count sup { font-size: .3em; color: var(--ink-soft); margin-left: 4px; }
.loader-name { font-style: italic; font-weight: 300; font-size: 20px; color: var(--ink-soft); }
.loader-bar { width: min(260px, 60vw); height: 1px; background: var(--line-d); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: max(env(safe-area-inset-top), 18px) var(--gutter) 18px;
  mix-blend-mode: difference; color: #fff;
  transition: transform .45s var(--ease);
}
.nav.hide { transform: translateY(-110%); }
.nav.hide:focus-within { transform: none; }   /* keyboard users always see where focus is */
.nav-mark { display: block; padding: 4px 0; line-height: 0; }
.nav-logo { display: block; height: 40px; width: auto; transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav-mark:hover .nav-logo { transform: rotate(-8deg); } }
.nav nav { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.nav nav a, .nav-cv { text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-cv { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 10px 16px; }
@media (hover: hover) and (pointer: fine) { .nav nav a:hover { text-decoration: underline; } .nav-cv:hover { background: #fff; color: #000; } }

/* ---------------- hero ---------------- */
.hero { position: relative; height: 660vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--stone); transform-origin: 50% 35%; }
.backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.grain {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: url("../assets/img/grain.png") 0 0 / 180px 180px;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{background-position:0 0} 17%{background-position:-61px 37px} 33%{background-position:43px -89px} 50%{background-position:-97px -23px} 67%{background-position:71px 59px} 83%{background-position:-29px 113px} 100%{background-position:0 0} }
.dim { position: absolute; inset: 0; z-index: 7; background: var(--night); opacity: 0; pointer-events: none; }
.scrim { display: none; }

/* the name lives between the backdrop and him */
.name {
  position: absolute; z-index: 1; left: 0; right: 0; top: 13vh;
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
  font-weight: 850; text-transform: uppercase; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(60px, 14.6vw, 300px); color: #9ca1aa; font-variation-settings: "wdth" 106;
}
.name-row { display: block; white-space: nowrap; overflow: hidden; padding: .02em .04em .03em; }
.name-row > span { display: block; }

.beat { position: absolute; z-index: 5; opacity: 0; }
.beat-0 {
  right: var(--gutter); bottom: 7vh; opacity: 1; max-width: 440px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right;
}
.hero-role { margin: 0; font-size: clamp(26px, 2.7vw, 42px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
.hero-role i { font-weight: 300; color: var(--brass); }
.hero-meta { margin: 0; color: var(--ink-soft); font-size: 15px; }

.beat-1, .beat-2, .beat-3 { top: 0; bottom: 0; left: var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.beat-1, .beat-2 { max-width: 48vw; }
/* beat 1 plays while he is still left of centre, so it reads from the right */
.beat-1 { left: auto; right: calc(var(--gutter) + 40px); align-items: flex-end; text-align: right; }
.beat-title { margin: 0; font-size: clamp(44px, 6.4vw, 108px); line-height: .96; letter-spacing: -.05em; font-weight: 750; font-variation-settings: "wdth" 96; }
.beat-2 .beat-title i { display: inline-block; margin-top: .1em; font-size: .86em; color: var(--brass); }
.beat-3 { max-width: min(560px, 46vw); }
.beat-lede { margin: 0; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; }
.beat-lede i { font-weight: 300; color: var(--brass); }
.creds { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--line-d); font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ink-2); }
.creds span { font-weight: 400; color: var(--ink-soft); }

.progress { position: absolute; z-index: 6; right: calc(var(--gutter) * .5); top: 50%; width: 2px; height: 22vh; transform: translateY(-50%); background: var(--line-d); }
.progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: top; }

/* ---------------- work (rises over the hero like a curtain) ---------------- */
.work {
  background: var(--night); color: var(--paper);
  padding: var(--section) 0 clamp(80px, 12vh, 140px);
  position: relative; z-index: 3; margin-top: -100vh; margin-top: -100svh; border-radius: 32px 32px 0 0;
  box-shadow: 0 -40px 90px -20px rgba(10, 11, 13, .35);
  line-height: 1.65; letter-spacing: .005em;
}
.section-head { padding: 0 var(--gutter); margin-bottom: clamp(50px, 8vh, 90px); }
.reel { padding: 0 var(--gutter); }
.reel-frame { position: relative; width: 100%; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 60px 26px 22px; background: linear-gradient(transparent, rgba(8,9,11,.72)); font-size: 15px; }
.reel-meta p { margin: 0; }
.reel-meta span { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-l); margin-right: 12px; }
.reel-play { padding: 11px 18px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; transition: transform .16s var(--ease), background-color .16s var(--ease); }
.reel-play:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .reel-play:hover { background: #fff; } }

.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(56px, 9vh, 110px) clamp(16px, 2vw, 28px); padding: clamp(80px, 12vh, 140px) var(--gutter) 0; }
.project { display: block; text-align: left; color: var(--paper); }
.project-img { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: var(--night-2); }
.project-img img { width: 100%; height: 118%; object-fit: cover; }
.project-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 16px; padding-top: 16px; border-top: 1px solid var(--line-l); margin-top: 16px; }
.project h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 650; letter-spacing: -.035em; }
.project p { grid-column: 2; margin: 0; font-size: 13px; color: var(--paper-soft); }
.project-no { grid-row: span 2; align-self: start; font-size: clamp(34px, 3.2vw, 50px); line-height: .8; font-weight: 200; font-style: italic; color: var(--brass-l); font-variant-numeric: tabular-nums; }
.project .open { display: inline-block; margin-left: 10px; font-size: .7em; color: var(--brass-l); transition: transform .18s var(--ease); }
@media (hover: hover) and (pointer: fine) { .project:hover .open { transform: translate(3px, -3px); } }

/* project index: the rest of the work as a list, with a trailing preview on desktop */
.index { padding: clamp(110px, 17vh, 190px) var(--gutter) 0; }
.index-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 22px; }
.index-head h3 { margin: 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 650; letter-spacing: -.04em; }
.index-all { font-size: 14px; font-weight: 600; color: var(--brass-l); white-space: nowrap; }
.index-list { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.index-list li { border-bottom: 1px solid var(--line-l); }
.index-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(20px, 2.8vh, 30px) 0; text-align: left; color: var(--paper); transition: color .25s var(--ease), padding .45s var(--ease); }
.index-row strong { font-size: clamp(26px, 3.4vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; font-variation-settings: "wdth" 100; transition: font-variation-settings .5s var(--ease); }
.index-row span { font-size: 14px; color: var(--paper-soft); }
.index-row i { font-style: normal; color: var(--brass-l); transition: transform .2s var(--ease); }
.index-thumb { display: none; }
.index-peek { position: fixed; left: 0; top: 0; z-index: 1; width: min(400px, 28vw); aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; pointer-events: none; visibility: hidden; opacity: 0; background: var(--night-2); box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .7); }
.index-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .4s var(--ease), transform .8s var(--ease); }
.index-peek img.on { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .index-list:hover .index-row { color: rgba(241, 239, 234, .32); }
  .index-list .index-row:hover { color: var(--paper); padding-left: 18px; text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
  .index-row:hover strong { font-variation-settings: "wdth" 114; }
  .index-row:hover i { transform: translate(3px, -3px); }
}

/* ---------------- about ---------------- */
.about { background: var(--stone); padding: var(--section) 0 0; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 110px); padding: 0 var(--gutter); align-items: start; }
.portrait { margin: 0; position: sticky; top: 12vh; border-radius: 14px; overflow: hidden; aspect-ratio: 1000 / 1340; background: var(--stone-3); box-shadow: var(--e2); }
.portrait img { width: 100%; height: 112%; object-fit: cover; }
.about-lede { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -.02em; margin: 34px 0 64px; max-width: 34ch; color: var(--ink-2); }
.list-title { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.timeline { list-style: none; margin: 0 0 56px; padding: 0; }
.timeline li { display: grid; grid-template-columns: 1fr auto; gap: 2px 24px; padding: 18px 0; border-top: 1px solid var(--line-d); }
.timeline li:last-child { border-bottom: 1px solid var(--line-d); }
.timeline strong { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.timeline span { color: var(--ink-soft); font-size: 15px; }
.timeline time { grid-row: span 2; align-self: center; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.marquee { margin-top: clamp(60px, 10vh, 120px); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; gap: 60px; width: max-content; will-change: transform; }
.marquee-track span { font-size: clamp(34px, 5vw, 72px); font-weight: 750; letter-spacing: -.045em; white-space: nowrap; color: var(--ink-2); font-variation-settings: "wdth" 104; }
.marquee-track span:nth-child(even) { font-style: italic; font-weight: 300; color: var(--brass); }

/* ---------------- cv ---------------- */
.cv { background: var(--night); color: var(--paper); padding: clamp(80px, 12vh, 130px) var(--gutter); overflow: hidden; line-height: 1.65; }
.cv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.cv-lede { color: var(--paper-soft); font-size: 19px; max-width: 36ch; margin: 28px 0 0; }
.cv-paper { perspective: 1400px; display: grid; place-items: center; }
.cv-float img { width: auto; height: min(56vh, 460px); max-width: 100%; border-radius: 4px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 10px 22px rgba(0,0,0,.35); transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg); transition: transform .6s var(--ease); }

/* ---------------- contact ---------------- */
.contact { background: var(--stone); padding: var(--section) var(--gutter) 30px; }
.mail { display: inline-block; margin: 52px 0 70px; font-size: clamp(26px, 4.4vw, 68px); font-weight: 650; letter-spacing: -.045em; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 6px; transition: color .18s var(--ease), background-size .4s var(--ease); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .mail:hover { color: var(--brass); background-size: 30% 2px; } }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line-d); padding-top: 26px; }
.contact-grid span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.contact-grid a, .contact-grid p { font-size: 17px; margin: 0; text-decoration: none; padding: 6px 0; display: inline-block; }
@media (hover: hover) and (pointer: fine) { .contact-grid a:hover { color: var(--brass); } }
.foot { display: flex; justify-content: space-between; margin-top: clamp(80px, 14vh, 150px); font-size: 13px; color: var(--ink-soft); }
.foot a { text-decoration: none; padding: 6px 0; }

/* ---------------- lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(9, 10, 12, .97); color: var(--paper); overflow-y: auto; padding: 84px var(--gutter) 60px; overscroll-behavior: contain; }
.lightbox:not([hidden]) { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lb-close { position: fixed; top: 20px; right: var(--gutter); padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-l); font-size: 14px; font-weight: 600; z-index: 2; background: rgba(9,10,12,.7); }
@media (hover: hover) and (pointer: fine) { .lb-close:hover { background: var(--paper); color: var(--ink); } }
.lb-media { max-width: 1400px; margin: 0 auto; display: grid; gap: 16px; }
.lb-media img, .lb-media video { width: 100%; height: auto; border-radius: 10px; background: #000; }
.lb-meta { max-width: 1400px; margin: 0 auto 34px; }
.lb-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.lb-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-badge { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 11px; border-radius: 999px; background: rgba(9, 10, 12, .72); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .02em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.play-badge::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--brass-l); }
.lb-link { display: inline-block; margin: 6px 22px 0 0; font-size: 14px; font-weight: 600; color: var(--brass-l); }
.lb-link[hidden] { display: none; }
.lb-meta h3 { font-size: clamp(30px, 4vw, 54px); letter-spacing: -.045em; margin: 0 0 10px; }
#lbBlurb { color: var(--paper-soft); max-width: 60ch; }

/* ---------------- motion helpers ---------------- */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-in { display: block; }

/* ---------------- phone: art-directed, not shrunk ---------------- */
@media (max-width: 820px) {
  .nav-logo { height: 32px; }
  body { font-size: 16px; }
  .nav nav { gap: 16px; }
  .nav nav a { font-size: 13px; }
  .nav-cv { padding: 8px 14px; font-size: 13px; }
  .nav-cv .long { display: none; }
  /* the name sits above his head, fully readable */
  .name { top: 11vh; top: 11svh; font-size: 15.8vw; color: #8e939c; }
  .beat-0, .beat-1, .beat-2, .beat-3 {
    top: auto; bottom: 0; left: var(--gutter); right: var(--gutter); max-width: none;
    align-items: flex-start; text-align: left; justify-content: flex-end;
    padding-bottom: max(env(safe-area-inset-bottom), 5vh);
  }
  .beat-0 { gap: 6px; }
  .hero-role { font-size: 30px; }
  .beat-title { font-size: clamp(38px, 11vw, 58px); }
  .beat-lede { font-size: 20px; }
  .creds { font-size: 13px; margin-top: 18px; }
  .cta-row { margin-top: 22px; }
  .btn { padding: 15px 20px; }
  /* a band scrim, sibling of the copy, only across the lower band where it sits */
  .scrim { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 3; pointer-events: none; background: linear-gradient(rgba(201,204,210,0), rgba(201,204,210,.86) 45%, rgba(201,204,210,.95)); }
  .progress { display: none; }
  .work { border-radius: 22px 22px 0 0; }
  .reel-frame { border-radius: 12px; }
  .reel-meta { flex-direction: column; align-items: flex-start; padding: 40px 16px 16px; }
  .projects { row-gap: 56px; }
  .projects .project { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .index-head { flex-wrap: wrap; }
  .index-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 3px 16px; padding: 16px 0; }
  .index-thumb { display: block; grid-row: 1 / span 2; width: 72px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--night-2); }
  .index-row strong { grid-column: 2; font-size: 22px; }
  .index-row span { grid-column: 2; font-size: 13px; }
  .index-row i { grid-column: 3; grid-row: 1 / span 2; }
  .index-peek { display: none; }
  .about-grid, .cv-grid { grid-template-columns: 1fr; }
  .portrait { position: relative; top: 0; max-width: 440px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cv-grid { gap: 56px; }
  .cv-float img { height: auto; width: min(260px, 70vw); transform: rotateY(-8deg) rotateX(4deg) rotateZ(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .nav { transition: none; }
}
