@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --bg: #0d0709;
  --ink: #fff4ee;
  --muted: #ceafb0;
  --red: #ff514d;
  --line: #f88d8538;
  --mono: 'IBM Plex Mono', monospace;
  --gutter: clamp(18px, 5vw, 88px);
  color: var(--ink);
  background: var(--bg);
  font-family: Geist, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html:has(body[data-still]) { scroll-behavior: auto; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
h1:focus, h2:focus { outline: none; }

.set { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.set { isolation: isolate; }
.grid, .art { position: absolute; inset: 0; }
.grid {
  inset: -35px;
  background: url('/assets/media/grid.jpg') repeat;
  background-size: 480px 371px;
  opacity: .58;
}
.art {
  inset: 0 auto auto 0;
  width: max(100vw, 181.82dvh);
  aspect-ratio: 1200 / 660;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: .52;
  transition: opacity .5s;
}
.art-base, .hand {
  position: absolute;
  inset: 0;
  background: url('/assets/media/hands.jpg') center / 100% 100% no-repeat;
}
.art-base {
  mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0) 100% 30% / 10% 32% no-repeat, linear-gradient(#000 0 0) 30% 100% / 9% 29% no-repeat;
  mask-composite: exclude;
}
.hand-a {
  clip-path: inset(20.4% 0 47.6% 90%);
  animation: hand-a 4.6s ease-in-out infinite alternate;
  transform-origin: 95% 43%;
}
.hand-b {
  clip-path: inset(71% 63.7% 0 27.3%);
  animation: hand-b 4.2s ease-in-out infinite alternate;
  transform-origin: 33% 92%;
}
@keyframes hand-a { to { transform: translate(-2%, 1.1%) rotate(-8deg); } }
@keyframes hand-b { to { transform: translate(1.7%, -2%) rotate(8deg); } }
.set::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0d0709f1, #0d0709a1 43%, #0d07092b 78%, #0d070953), linear-gradient(0deg, #0d0709d9, transparent 34%, transparent 78%, #0d0709b0);
}
body[data-scene="contact"] .art { opacity: .75; }
body[data-scene="works"] .art { opacity: .22; }

.topbar, .footer {
  padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.topbar {
  position: sticky; top: 0; z-index: 5; min-height: 72px;
  border-bottom: 1px solid var(--line); background: #12090af7;
}
.logo { font-weight: 900; letter-spacing: -.055em; font-size: 28px; line-height: 1; }
.logo i { color: var(--red); font-style: normal; padding-left: .1em; }
.site-nav { display: flex; gap: clamp(14px, 3vw, 44px); margin-inline: auto; }
.site-nav a, .header-contact {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 12px var(--mono); color: var(--muted); white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current], .header-contact:hover { color: #fff; }
.site-nav a[aria-current] { box-shadow: inset 0 -2px var(--red); }
.header-contact { color: #ff9087; gap: 5px; }
.motion {
  width: 39px; height: 39px; flex: none; display: grid; place-items: center; background: #17090d; color: var(--red);
  border: 1px solid var(--line); font: 18px var(--mono);
}
.footer {
  position: relative; min-height: 44px; border-top: 1px solid var(--line); background: #12090a;
  font: 10px var(--mono); letter-spacing: .1em; color: var(--muted);
}
.footer a:hover, .text-link:hover { color: var(--red); }
.stage { min-width: 0; isolation: isolate; }
.scene {
  width: 100%; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(22px, 5vw, 92px); padding: clamp(55px, 9vw, 155px) var(--gutter);
  position: relative; isolation: isolate; overflow: clip;
}
.hero {
  min-height: calc(100svh - 72px);
  background: linear-gradient(90deg, #15080d 11%, #1e0810b0 58%, #3a091340);
}
.hero::before, .about::before, .process::before, .contact::before, .showreel::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
}
.hero::before {
  inset: 0 0 0 22%;
  background: linear-gradient(90deg, #15080d, #15080d20 60%), url('/assets/media/silk.jpg') 62% center / cover;
  opacity: .8;
}
.showreel::before {
  inset: -18% -14%; background: url('/assets/media/flare.jpg') center / contain no-repeat;
  opacity: .56; mix-blend-mode: screen; mask-image: radial-gradient(ellipse, #000 8%, transparent 62%);
  animation: light-drift 9s ease-in-out infinite alternate;
}
@keyframes light-drift { to { transform: rotate(12deg) scale(1.12); opacity: .78; } }
.works {
  color-scheme: light;
  --ink: #1c1517;
  --muted: #59494c;
  --red: #b32337;
  --line: #43233338;
  color: var(--ink); background: #f0e8df;
  background-image: linear-gradient(90deg, #71556410 1px, transparent 1px), linear-gradient(#7155640d 1px, transparent 1px);
  background-size: 52px 52px;
}
.works h2 { text-shadow: none; }
.works .scene-copy { padding-bottom: 18px; }
.works .project-list .outline { background: transparent; color: var(--ink); border-color: #43233355; }
.works .project-list .outline:hover { background: #e1d5ce; }
.works .project-list .outline[aria-pressed="true"] { background: #aa2034; color: white; border-color: #aa2034; }
.works .project-card {
  height: auto; aspect-ratio: 1.24; color: #fff4ee;
  border: 5px solid #1e151b; border-radius: 6px;
  box-shadow: 0 14px 30px #30171c29;
}
.works .project-info p { color: #f2dedd; }
.works .project-actions .outline { color: #fff4ee; border-color: #fff4ee5e; }
.works .project-actions .outline:hover { color: #231316; background: #fff4ee; }
.about { background: #100a0de6; }
.about::before {
  inset: 0 40% 0 0;
  background: linear-gradient(90deg, #170a1080, #100a0d), url('/assets/media/wireframe.jpg') 10% 28% / min(52vw, 660px) auto no-repeat;
  opacity: .62;
}
.process { background: #180b10; }
.process::before {
  inset: 0 37% 0 0;
  background: linear-gradient(90deg, #180b1010, #180b10d9), url('/assets/media/statue.jpg') center 45% / cover;
  opacity: .55;
}
.contact { background: #2a0c16e8; }
.contact::before {
  inset: 0; background: linear-gradient(90deg, #200911, #20091155 47%, #200911db), url('/assets/media/illustration.jpg') 65% 44% / cover;
  opacity: .43;
}
.contact form { position: relative; z-index: 1; }
.chrome-orb {
  --chrome-light: #ffd3cb;
  position: absolute; top: 5%; right: 10%; z-index: -1; pointer-events: none;
  display: grid; place-items: center; width: clamp(64px, 11vw, 160px); aspect-ratio: 1;
  opacity: .45; perspective: 420px;
}
.chrome-orb span {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--chrome-light); border: 1px solid #ec857c73; border-radius: 50%;
  background: radial-gradient(ellipse at 68% 20%, #ffb3a757, transparent 55%), #2f0c1460;
  font: clamp(30px, 6vw, 88px) / 1 var(--mono);
  text-shadow: 0 2px #ae464f, 0 4px #5b2541;
  transform: rotateX(20deg) rotateY(-24deg) rotateZ(-15deg);
  animation: chrome-rotate 11s linear infinite;
}
.chrome-orb span::before {
  content: ''; position: absolute; inset: 9% -10%; border: 1px solid #ff877786;
  border-radius: 50%; transform: rotate(-24deg) scaleY(.42);
}
.hero .chrome-orb { right: 4%; top: 4%; width: clamp(52px, 7vw, 105px); }
.works .chrome-orb { left: 32%; top: 9%; --chrome-light: #f4c3ff; }
.about .chrome-orb { left: 29%; top: 9%; --chrome-light: #ffc498; }
.process .chrome-orb { left: 29%; top: 11%; --chrome-light: #e2b6ff; }
.contact .chrome-orb { left: 31%; top: 10%; --chrome-light: #ffd5e0; }
@keyframes chrome-rotate {
  from { transform: rotateX(20deg) rotateY(-24deg) rotateZ(-15deg); }
  to { transform: rotateX(20deg) rotateY(336deg) rotateZ(345deg); }
}
@media (max-width: 700px) {
  .scene:not(.hero) .chrome-orb { left: auto; right: 7%; top: 4%; }
}
.scene-copy { position: relative; z-index: 1; }
.eyebrow, .text-link { color: var(--red); font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { margin: 0 0 18px; }
h1, h2 {
  margin: 0;
  font-size: clamp(43px, 7vw, 136px); line-height: .93; letter-spacing: -.085em; font-weight: 900;
  overflow-wrap: anywhere;
}
h2 { font-size: clamp(39px, 6vw, 110px); }
h1 em, h2 em, h2 span { color: var(--red); font-style: normal; }
h1, h2 { text-shadow: 0 .045em .08em #140509, 0 .16em .34em #060203c9; }
@supports (background-clip: text) {
  h1 em, h2 em {
    background: url('/assets/media/grid.jpg') center / 185px auto, linear-gradient(#ffd1bc, #fa5d51 55%, #b72a42);
    background-blend-mode: screen;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    -webkit-text-stroke: 1px #ff9b8155;

  }
}
.lede { max-width: 34rem; color: var(--muted); font-size: clamp(14px, 1.5vw, 21px); line-height: 1.55; margin: 20px 0; }
.button, .outline {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 10px 14px; background: #1a0a0deb; border: 1px solid var(--line);
  color: var(--ink); font: 600 12px var(--mono); transition: background .2s, color .2s, border-color .2s;
}
.button { background: var(--red); color: #160608; border-color: var(--red); }
.button:hover, .outline:hover, .motion:hover { background: var(--ink); color: #160608; border-color: var(--ink); }
.text-link { display: inline-block; margin-top: 20px; }

/* The objects share one stage and follow the same path half a cycle apart. */
.showreel { position: relative; isolation: isolate; height: clamp(240px, 43vh, 500px); perspective: 900px; }
.orbit-track {
  position: absolute; inset: 24% 2%; border: 1px solid #fd796745; border-radius: 50%;
  transform: rotate(-16deg); box-shadow: 0 0 24px #ff2c1c1f, inset 0 0 32px #ff2c1c16;
}
.orbit-track::after {
  content: ''; position: absolute; inset: -10%; border: 1px solid #f9645429; border-radius: inherit;
}
.reel {
  position: absolute; display: grid; width: 66%; height: 78%; left: 17%; top: 11%; margin: 0;
  animation: orbit 14s linear infinite;
}
.reel > * { grid-area: 1 / 1; align-self: center; width: 100%; height: 100%; object-fit: contain; }
.reel:not(.has-alpha) { mix-blend-mode: screen; }
.reel.has-alpha video { visibility: hidden; }
.reel canvas { pointer-events: none; }
.reel-a { transform: translate(-29%, 7%) rotate(-9deg) rotateY(-12deg); }
.reel-b { transform: translate(29%, -7%) rotate(9deg) rotateY(12deg) scale(.86); animation-delay: -7s; }
@keyframes orbit {
  0%, 100% { transform: translate(-29%, 7%) rotate(-9deg) rotateY(-12deg); z-index: 2; animation-timing-function: ease-in-out; }
  25% { transform: translate(0, 16%) rotate(-2deg) rotateY(0) scale(1.10); z-index: 2; animation-timing-function: ease-in-out; }
  50% { transform: translate(29%, -7%) rotate(9deg) rotateY(12deg) scale(.86); z-index: 1; animation-timing-function: ease-in-out; }
  75% { transform: translate(0, -16%) rotate(2deg) rotateY(0) scale(.82); z-index: 1; animation-timing-function: ease-in-out; }
}
.symbols { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.symbol-orbit { position: absolute; perspective: 350px; animation: symbol-drift 6.8s ease-in-out infinite alternate; }
.symbol-orbit.python { top: 8%; left: 6%; --symbol-color: #8bc9ff; }
.symbol-orbit.javascript { top: 10%; right: 5%; --symbol-color: #fbce72; animation-delay: -3s; }
.symbol-orbit.terminal { bottom: 1%; right: 17%; --symbol-color: #ff8b7a; animation-delay: -1.4s; }
.symbol {
  display: grid; place-items: center; width: clamp(31px, 5vw, 65px); aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--symbol-color) 62%, transparent);
  border-radius: 22%; background: #180b13db; color: var(--symbol-color);
  box-shadow: inset 0 0 16px #ffffff12, 0 0 22px color-mix(in srgb, var(--symbol-color) 30%, transparent);
  text-shadow: 0 0 12px currentColor;
  font: 600 clamp(14px, 2.4vw, 30px) var(--mono);
  transform: rotateX(13deg) rotateY(-23deg) rotateZ(-11deg);
  animation: symbol-spin 9s ease-in-out infinite;
}
.symbol svg { width: 68%; height: 68%; }
.javascript .symbol { animation-delay: -2.5s; }
.terminal .symbol { animation-delay: -6s; }
@keyframes symbol-drift { to { transform: translate(12px, -17px); } }
@keyframes symbol-spin {
  0%, 100% { transform: rotateX(13deg) rotateY(-23deg) rotateZ(-11deg); }
  48%, 52% { transform: rotateX(-16deg) rotateY(157deg) rotateZ(14deg); }
  99% { transform: rotateX(13deg) rotateY(337deg) rotateZ(-11deg); }
}

.project-list { display: flex; flex-wrap: wrap; gap: 6px; }
.project-list button[aria-pressed="true"] { background: var(--red); color: #160608; border-color: var(--red); }
.project-card {
  isolation: isolate; min-height: 0; position: relative; display: flex; align-items: end;
  height: min(53vh, 560px); border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(140deg, #471418, #13070b 72%);
}
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.project-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #10060bef 8%, #13070b00 85%); }
.project-info { padding: clamp(16px, 3vw, 32px); }
.project-info h3 { font-size: clamp(23px, 4vw, 60px); letter-spacing: -.06em; margin: 0; line-height: 1; }
.project-info p { color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-copy {
  max-width: 38rem;
  border-left: 2px solid var(--red);
  padding-left: clamp(14px, 2.5vw, 36px);
}
.profile-copy h2 { font-size: clamp(50px, 8.2vw, 132px); line-height: .98; }
.profile-role { margin: clamp(10px, 2vh, 21px) 0 0; font-size: clamp(17px, 2.1vw, 28px); font-weight: 700; line-height: 1.2; }
.profile-copy .lede { margin: 9px 0 0; max-width: 37ch; }
.profile-services { min-width: 0; }
.profile-services > h3 {
  margin: 0;
  padding-bottom: 10px;
  color: #ff9188;
  font: 600 11px var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.service-list { margin: 0; padding: 0; list-style: none; background: #190c11c9; }
.service-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start;
  gap: clamp(10px, 2vw, 23px); padding: clamp(11px, 2vh, 23px) clamp(9px, 1.4vw, 18px);
  border-top: 1px solid var(--line);
  transition: background-color .2s;
}
.service-card:last-child { border-bottom: 1px solid var(--line); }
.service-mark {
  display: grid; place-items: center; width: clamp(28px, 4vw, 45px); aspect-ratio: 1;
  color: #ff9188; border: 1px solid #ff776450;
  font: 600 clamp(12px, 1.5vw, 18px) var(--mono);
}
.service-card h4 { margin: 0; font-size: clamp(16px, 2vw, 24px); letter-spacing: -.02em; }
.service-card p { margin: 3px 0 0; color: var(--muted); max-width: 45ch; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.4; }
@media (hover: hover) {
  .service-card:hover { background-color: #3c1822a6; }
}

.detail-list {
  padding: 0; margin: 0; list-style: none; counter-reset: steps;
  background: #190c10e6; border: 1px solid var(--line);
}
.detail-list li { padding: clamp(10px, 2.5vh, 27px) clamp(14px, 3vw, 30px); }
.detail-list li + li { border-top: 1px solid var(--line); }
ol.detail-list li::before { counter-increment: steps; content: '0' counter(steps); font: 12px var(--mono); color: var(--red); margin-right: .9em; }
.detail-list strong { font-size: clamp(14px, 2vw, 23px); }
.detail-list p { color: var(--muted); margin: 4px 0 0; line-height: 1.35; font-size: clamp(12px, 1.3vw, 16px); }
form { display: grid; gap: 8px; }
form input, form textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; background: #190b0ded; border: 1px solid var(--line); color: var(--ink); font-size: 16px;
}
form textarea { resize: vertical; height: clamp(68px, 13vh, 140px); }
form .button { justify-self: start; }
#form-note { margin: 0; font-size: 13px; color: var(--muted); }

.reticle { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.cursor-on .reticle {
    position: fixed; z-index: 6; left: 0; top: 0; pointer-events: none;
    width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%;
    translate: var(--cursor-x, -50px) var(--cursor-y, -50px); transform: translate(-50%, -50%);
    border: 1px solid var(--red); box-shadow: 0 0 14px #ff403a66; transition: scale .18s, background .18s;
  }
  .reticle::before { content: '+'; color: var(--red); font: 16px var(--mono); }
  body.cursor-on[data-hot] .reticle { scale: 1.38; background: #ff514d38; }
  body.cursor-on .stage, body.cursor-on .topbar, body.cursor-on .footer,
  body.cursor-on :is(.stage,.topbar,.footer) :is(a,button) { cursor: none; }
  body.cursor-on :is(input,textarea) { cursor: text; }
}
dialog {
  border: 1px solid var(--line); padding: 0; width: min(96vw, 1440px); height: 92dvh; max-height: none; max-width: none;
  background: #190b0d; color: var(--ink);
}
dialog::backdrop { background: #090306da; }
dialog[open] { display: flex; flex-direction: column; }
.modal-head { padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px; }
.modal-head div { display: flex; gap: 5px; }
dialog iframe { flex: 1; border: 0; width: 100%; background: #fff; }
body[data-still] :is(.hand,.reel,.symbol,.symbol-orbit,.chrome-orb span) { animation-play-state: paused; }

@media (max-width: 700px) {
  .logo { font-size: 23px; }
  .motion { width: 32px; height: 34px; }
  .footer { min-height: 31px; font-size: 9px; }
  .scene { grid-template-columns: 1fr; align-content: safe center; align-items: start; gap: 14px; padding-block: 14px; }
  h1 { font-size: clamp(40px, 11vw, 76px); }
  h2 { font-size: clamp(35px, 10vw, 60px); }
  .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .lede { margin: 10px 0; }
  .showreel { width: min(100%, 440px); height: clamp(140px, 32dvh, 315px); justify-self: center; }
  .reel { width: 59%; left: 20.5%; }
  .project-card { height: clamp(155px, 39dvh, 410px); }
  .project-list .outline { min-height: 34px; font-size: 10px; padding: 5px 8px; }
  .set::after { background: linear-gradient(110deg, #0d0709da, #0d070942), linear-gradient(0deg, #0d0709af, transparent); }
}
@media (max-height: 540px) and (min-width: 701px) {
  .footer { min-height: 30px; }
  .scene { padding-block: 12px; }
  h1, h2 { font-size: clamp(36px, 6vw, 70px); }
  .showreel { height: 210px; }
  .reel { width: 54%; left: 23%; }
}
@media (prefers-reduced-motion: reduce) {
  body:not([data-motion-override]) :is(.hand,.reel,.symbol,.symbol-orbit,.chrome-orb span) { animation: none; }
}
@media (max-width: 700px) {
  .art { left: auto; right: 0; transform: translateY(-50%); }
}

body[data-still] .showreel::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not([data-motion-override]) .showreel::before { animation: none; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 96px; }
  .topbar {
    display: grid; min-height: 96px; grid-template-columns: 1fr auto auto;
    gap: 0 12px; padding-top: 5px; align-content: center;
  }
  .site-nav {
    grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0;
    justify-content: flex-start; gap: clamp(16px, 6vw, 35px);
  }
  .site-nav a { min-height: 41px; }
  .topbar .motion { grid-column: 3; grid-row: 1; }
  .scene {
    grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start;
    gap: 22px; padding-block: clamp(44px, 11vw, 72px);
  }
  .hero { min-height: 0; gap: 12px; padding-block: 48px 24px; }
  .hero::before { inset: 0; background-position: 65% center; opacity: .63; }
  .showreel { height: clamp(210px, 36svh, 340px); }
  .works .scene-copy { padding: 0; }
  .works .project-card { min-height: 250px; }
  .about::before, .process::before { inset: 0; }
  .profile-copy h2 { font-size: clamp(50px, 13vw, 100px); }
  .contact::before { background-position: 55% 50%; }
}

/* One centered entry point, with the artwork following the pointer behind it. */
.hero {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: clamp(4px, 2vh, 26px);
  padding-block: clamp(32px, 5vh, 80px) clamp(18px, 3vh, 42px);
}
.hero::before {
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, #17070dcc 10%, #17070d64 58%, #14080af0 100%), url('/assets/media/silk.jpg') center / cover;
  opacity: 1;
}
.hero .scene-copy { text-align: center; }
.hero h1 { font-size: clamp(48px, 8.4vw, 142px); line-height: .96; }
.hero .lede { margin-inline: auto; }
.hero-actions { justify-content: center; }
.enter-link {
  min-height: 56px; padding-inline: 22px 12px; gap: 15px;
  box-shadow: 0 12px 32px #58081b66;
}
.enter-link span, .section-next span {
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid currentColor; border-radius: 50%;
  transition: transform .2s;
}
.enter-link:hover span, .section-next:hover span { transform: translateY(3px); }
.hero .showreel {
  width: min(70vw, 700px);
  height: clamp(190px, 35svh, 410px);
  transform: translate3d(var(--art-x, 0px), var(--art-y, 0px), 0);
  transition: transform .22s ease-out;
  pointer-events: none;
}
.section-next {
  grid-column: 1 / -1; justify-self: center; display: inline-flex;
  min-height: 46px; align-items: center; gap: 12px; padding: 8px 13px 8px 16px;
  border: 1px solid currentColor; color: #ff9188;
  font: 600 12px var(--mono); transition: background-color .2s, color .2s;
}
.works .section-next { color: #98263a; }
.section-next:hover { background: var(--red); color: #14090d; }
.works .section-next:hover { color: white; }
#page-transition {
  position: fixed; inset: 0; z-index: 10;
  width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated;
}
@media (max-width: 700px) {
  .hero { min-height: calc(100svh - 96px); }
  .hero h1 { font-size: clamp(43px, 10.4vw, 74px); }
  .hero h1 em { display: block; }
  .hero .showreel { width: min(100%, 480px); height: clamp(190px, 32svh, 300px); }
}

.hero .reel-a {
  width: 76%; left: 12%;
  transform: translateY(3%) rotate(-6deg);
  animation: star-float 7s ease-in-out infinite alternate;
}
@keyframes star-float {
  to { transform: translateY(-7%) rotate(8deg) scale(1.05); }
}
.profile-reel {
  position: relative; isolation: isolate; width: min(100%, 265px); height: clamp(120px, 16vw, 210px);
  margin-top: 16px; pointer-events: none;
}
.profile-reel .orbit-track { inset: 22% 8%; opacity: .64; }
.profile-reel .reel-b {
  width: 100%; height: 100%; inset: 0;
  transform: rotate(-14deg);
  animation: can-float 6s ease-in-out infinite alternate;
}
@keyframes can-float {
  to { transform: translate(5%, -7%) rotate(6deg); }
}
.scene .scene-symbol {
  top: clamp(10px, 2.6vw, 34px); right: var(--gutter); left: auto; bottom: auto;
  z-index: 1; pointer-events: none;
}
.reviews { background: #251017; border-block: 1px solid var(--line); }
.reviews-body {
  position: relative; padding: clamp(18px, 4vw, 42px); border: 1px solid var(--line); background: #140c12eb;
}
.reviews-status { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.reviews-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 18px; }
.review-card { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.review-card blockquote { margin: 0 0 12px; font-size: clamp(16px, 2vw, 22px); line-height: 1.5; white-space: pre-line; }
.review-author, .review-project { margin: 4px 0; }
.review-project { color: var(--muted); }
.review-source { display: inline-block; margin-top: 10px; text-decoration: underline; color: #ff9188; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .scene .scene-symbol { right: var(--gutter); }
  .profile-reel { margin-inline: auto; height: 136px; }
}
@media (max-width: 360px) {
  .site-nav { justify-content: space-between; gap: 7px; }
  .site-nav a { font-size: 11px; }
}
