/* ==========================================================================
   Sarrón Harfsterkamp — Portfolio draft v0.1
   Swiss modernism × industrial minimalism × grain / pixel / diffusion
   ========================================================================== */

@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }

:root {
  --paper: #F2F0EB;
  --paper-2: #E8E5DE;
  --ink: #202020;
  --ink-2: #2B2B2A;
  --grey: #A6A6A2;
  --signal: #E86A33;
  --line: rgba(32, 32, 32, .16);
  --line-d: rgba(242, 240, 235, .14);

  --pad: clamp(16px, 2.4vw, 40px);
  --gut: clamp(10px, 1.3vw, 22px);
  --bar: 46px;

  --f-disp: "Neue Haas Grotesk Display Pro", "Helvetica Neue", "Inter Tight", sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-pix: "Silkscreen", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #8c8c88 var(--paper); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #b9b7b1; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--signal); color: var(--paper); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-size: 11px; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.pix { font-family: var(--f-pix); font-weight: 400; }
.signal { color: var(--signal); }
.grey { color: var(--grey); }

/* ---------- layout primitives ---------- */
.g12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  padding-inline: var(--pad);
}
.g12 > * { grid-column: var(--c, 1 / -1); grid-row: var(--row, auto); }

.rule {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  margin-inline: var(--pad);
  padding-block: 10px;
  border-top: 1px solid var(--line);
}
.rule > :nth-child(1) { grid-column: 1 / 4; }
.rule > :nth-child(2) { grid-column: 4 / 9; }
.rule > :nth-child(3) { grid-column: 9 / -1; text-align: right; }
.dark .rule { border-color: var(--line-d); }

/* ---------- grain + grid overlays ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .16;
  mix-blend-mode: multiply;
  animation: grain .9s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-30px, 20px); }
  40% { transform: translate(25px, -35px); } 60% { transform: translate(-15px, 40px); }
  80% { transform: translate(35px, 10px); } 100% { transform: translate(0, 0); }
}

.gridlines {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.gridlines .g12 { height: 100%; }
.gridlines span { background: rgba(232, 106, 51, .07); border-inline: 1px solid rgba(232, 106, 51, .35); grid-column: auto; }
body.show-grid .gridlines { opacity: 1; }

/* ---------- cursor: one shape everywhere ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  opacity: 0; transition: opacity .2s; mix-blend-mode: difference; color: #fff;
}
.cursor.on { opacity: 1; }
.cursor__box {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border: 1px solid #fff;
  transition: transform .25s cubic-bezier(.2, .7, 0, 1), background .2s;
}
.cursor__box::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px 0 0 -1px; background: #fff; }
.cursor.hot .cursor__box { background: #fff; transform: scale(1.45); }
.cursor.down .cursor__box { transform: scale(.7); }
.cursor__t {
  position: absolute; left: 16px; top: 10px; white-space: nowrap; opacity: .75;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .06em;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- intro ---------- */
.intro { display: none; }
.is-intro { overflow: hidden; }
.is-intro .intro { display: block; position: fixed; inset: 0; z-index: 85; }
.intro__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(34% 40% at 50% 50%, rgba(232, 106, 51, .28), rgba(232, 106, 51, 0) 70%),
    var(--paper);
}
.intro__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__ui > * { position: absolute; }
.intro__ui .tl { left: var(--pad); top: 22px; }
.intro__ui .tr { right: var(--pad); top: 22px; text-align: right; }
.intro__ui .bl { left: var(--pad); bottom: 22px; }
.intro__ui .bl b { font-weight: 500; }
.intro__ui .br { right: var(--pad); bottom: 22px; color: var(--signal); }

.bar, .hero__word, .hero__intro, .lens, .hero__foot {
  transition: opacity 1.1s var(--d, 0s), transform 1.4s cubic-bezier(.2, .7, 0, 1) var(--d, 0s);
}
.bar { --d: .3s; } .hero__word { --d: 0s; } .hero__intro { --d: .1s; } .lens { --d: .2s; } .hero__foot { --d: .4s; }
.intro-hold .bar, .intro-hold .hero__word, .intro-hold .hero__intro, .intro-hold .lens, .intro-hold .hero__foot { opacity: 0; transform: translateY(14px); }
.intro-hold .bar { transform: translateY(-100%); }

/* ---------- home: full-screen sections, normal manual scrolling ---------- */
html.home { scroll-padding-top: 0; }
.home .screen { min-height: 100vh; min-height: 100svh; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; height: var(--bar); z-index: 80;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
  align-items: center; padding-inline: var(--pad);
  background: rgba(242, 240, 235, .78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.bar__logo { grid-column: 1 / 4; display: flex; align-items: center; gap: 10px; width: fit-content; }
.bar__logo svg { width: 28px; height: 28px; flex: none; transition: transform .8s cubic-bezier(.2, .7, 0, 1); }
.bar__logo:hover svg { transform: rotate(137.5deg); }
.bar__logo .mono { white-space: nowrap; }
.logo .k { fill: var(--ink); } .logo .a { fill: var(--signal); }
.dark .logo .k { fill: var(--paper); }
.bar__nav { grid-column: 4 / 11; display: flex; gap: clamp(10px, 1.2vw, 20px); justify-content: center; }
.bar__nav a { position: relative; }
.bar__nav a { white-space: nowrap; }
.bar__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--signal);
  transition: right .35s cubic-bezier(.2, .7, 0, 1);
}
.bar__nav a:hover::after, .bar__nav a.is-active::after { right: 0; }
.bar__page { grid-column: 11 / -1; text-align: right; }
.bar__prog {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--signal);
  transform-origin: 0 50%; transform: scaleX(var(--prog, 0));
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 520px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto auto;
  column-gap: var(--gut); padding: calc(var(--bar) + 14px) var(--pad) 0;
  background:
    radial-gradient(38% 46% at 80% 34%, rgba(232, 106, 51, .55), rgba(232, 106, 51, 0) 70%),
    radial-gradient(30% 40% at 66% 60%, rgba(255, 214, 170, .55), rgba(255, 214, 170, 0) 70%),
    radial-gradient(50% 60% at 4% 100%, rgba(166, 166, 162, .55), rgba(166, 166, 162, 0) 70%),
    var(--paper);
}
.hero__glow {
  position: absolute; width: 46vw; height: 46vw; right: -6vw; top: -8vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 106, 51, .45), transparent 65%);
  filter: blur(60px); animation: breathe 9s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes breathe { from { transform: scale(.9) translate(0, 0); opacity: .7; } to { transform: scale(1.08) translate(-3vw, 2vw); opacity: 1; } }

.hero__word {
  grid-column: 1 / 10; grid-row: 1; position: relative; z-index: 3;
  display: flex; align-items: flex-start; gap: .1em;
  font-family: var(--f-disp); font-weight: 600; font-size: clamp(56px, min(12.5vw, 20svh), 210px);
  line-height: .86; letter-spacing: -.055em; margin-left: -.04em;
}
.hero__word sup, .end__word sup {
  font-family: var(--f-mono); font-size: 11px; font-weight: 400; line-height: 1.5;
  letter-spacing: .04em; margin-top: .9em; vertical-align: baseline; white-space: nowrap;
}
.hero__intro {
  grid-column: 1 / 8; grid-row: 2; position: relative; z-index: 3; margin-top: 14px;
  font-family: var(--f-disp); font-weight: 500; font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.1; letter-spacing: -.015em;
}
.hero__intro em { font-style: normal; color: var(--signal); }

.lens {
  grid-column: 10 / -1; grid-row: 1 / 4; position: relative; z-index: 6;
  min-height: 0; display: flex; flex-direction: column; padding-bottom: 16px;
  --x: 50%; --y: 40%;
}
.lens__stack { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #111; }
.lens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens__blur { filter: blur(16px) saturate(.4) brightness(1.15); transform: scale(1.12); }
.lens__sharp { clip-path: circle(var(--r) at var(--x) var(--y)); transition: --r .6s cubic-bezier(.2, .7, 0, 1); }
.lens.on { --r: 120px; }
.touch .lens.on { --r: 90px; }
.lens .t-touch { display: none; }
.touch .lens .t-touch { display: inline; }
.touch .lens .t-mouse { display: none; }
.lens figcaption { display: flex; justify-content: space-between; margin-top: 8px; }
.lens__ring {
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  translate: -50% -50%; border: 1px solid rgba(242, 240, 235, .6); border-radius: 50%; pointer-events: none;
  transition: --r .6s cubic-bezier(.2, .7, 0, 1);
}

#pixelname {
  grid-column: 1 / -1; grid-row: 4; position: relative; z-index: 4;
  width: 100%; height: min(30svh, 25vw); margin-bottom: 14px; pointer-events: none;
}
.hero__foot {
  grid-column: 1 / -1; grid-row: 5; position: relative; z-index: 5; padding-block: 14px;
  border-top: 1px solid var(--line); padding-inline: 0; align-items: end;
}
.hero__foot > :nth-child(1) { --c: 1 / 5; }
.hero__foot > :nth-child(2) { --c: 5 / 9; }
.hero__foot > :nth-child(3) { --c: 9 / -1; text-align: right; }
.hero__foot .g12 { padding: 0; }
.steps span { display: inline-block; transition: color .3s; }
.steps span.on { color: var(--signal); }

/* ---------- about ---------- */
.about {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--bar) + 20px) 32px;
}
.about__orb {
  position: absolute; width: 32vw; height: 32vw; left: 18vw; top: 30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 106, 51, .35), transparent 62%); filter: blur(50px);
  animation: drift 16s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes drift { from { transform: translate(-6vw, -4vw); } to { transform: translate(8vw, 6vw); } }
.about .g12 { position: relative; row-gap: min(40px, 4svh); margin-top: min(36px, 3.5svh); align-items: start; }
.about__label { --c: 1 / 3; }
.about__label .pix { font-size: clamp(54px, min(7vw, 11svh), 120px); line-height: .8; display: block; margin-bottom: 14px; }

.portrait { --c: 3 / 6; }
.portrait__slot {
  position: relative; aspect-ratio: 4 / 5; height: min(48svh, 440px); width: auto; max-width: 100%;
  border: 1px dashed var(--grey);
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)),
    linear-gradient(to top left, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(32, 32, 32, .05) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(32, 32, 32, .05) 23px 24px),
    rgba(232, 229, 222, .6);
  display: grid; place-items: center; text-align: center;
}
.portrait__slot.has-photo { border: 0; background: none; overflow: hidden; }
.portrait__slot.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.portrait__slot .mono { background: var(--paper); padding: 6px 10px; border: 1px solid var(--line); }
.portrait__slot i { position: absolute; width: 10px; height: 10px; border-color: var(--signal); border-style: solid; }
.portrait__slot i:nth-of-type(1) { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.portrait__slot i:nth-of-type(2) { right: -1px; top: -1px; border-width: 1px 1px 0 0; }
.portrait__slot i:nth-of-type(3) { left: -1px; bottom: -1px; border-width: 0 0 1px 1px; }
.portrait__slot i:nth-of-type(4) { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.portrait figcaption { margin-top: 8px; display: flex; justify-content: space-between; color: var(--grey); max-width: calc(min(48svh, 440px) * .8); }

.statement { --c: 7 / -1; }
.statement h2 {
  font-family: var(--f-disp); font-weight: 500; font-size: clamp(24px, min(2.6vw, 4.6svh), 44px);
  line-height: 1.06; letter-spacing: -.025em; margin-bottom: min(30px, 3svh);
}
.statement h2 em { font-style: normal; color: var(--signal); }
.statement p { max-width: 60ch; margin-bottom: 1em; color: #3b3b3a; }
.statement mark { background: none; color: var(--ink); box-shadow: inset 0 -.42em 0 rgba(232, 106, 51, .22); }

.method { --c: 3 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); }
.method li { list-style: none; border-top: 1px solid var(--ink); padding-top: 12px; }
.method .pix { font-size: 28px; display: block; margin-bottom: 6px; }
.method b { font-family: var(--f-disp); font-weight: 500; font-size: 22px; letter-spacing: -.01em; display: block; margin-bottom: 6px; }
.method p { font-size: 13.5px; color: #4a4a48; max-width: 34ch; }
.materials { --c: 3 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.materials span { border: 1px solid var(--ink); padding: 4px 10px; border-radius: 99px; }
.materials span:first-child { border: 0; padding-left: 0; color: var(--grey); }

/* ---------- contents + showcase ---------- */
.index {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--bar) + 20px) 28px;
}
.show {
  display: flex; gap: var(--gut); margin: 14px var(--pad) 0;
  height: clamp(260px, 55svh, 640px);
}
.show__p {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--ink);
  display: flex; flex-direction: column;
  transition: flex-grow .9s cubic-bezier(.2, .7, 0, 1);
}
@media (hover: hover) {
  .show:hover .show__p { flex-grow: .8; }
  .show .show__p:hover { flex-grow: 2.2; }
}
.show.has-active .show__p { flex-grow: .8; }
.show .show__p.active { flex-grow: 2.2; }
.show__tap { position: absolute; top: 10px; left: 12px; z-index: 2; opacity: 0; transition: opacity .3s; background: var(--signal); color: var(--ink); padding: 3px 8px; }
.show__p.active .show__tap { opacity: 1; }
.show__media { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--ink); color: var(--paper); }
.show__p img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1.6s ease, filter 1.6s ease, transform 2.4s cubic-bezier(.2, .7, 0, 1);
}
.show__p img + img { opacity: 0; filter: blur(14px); transform: scale(1.06); }
.show__p.alt img:first-child { opacity: 0; filter: blur(14px); transform: scale(1.06); }
.show__p.alt img + img { opacity: 1; filter: none; transform: none; }
.show__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 20, .78), transparent 48%); pointer-events: none; }
.show__cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 10px;
}
.show__cap .pix { font-size: 26px; line-height: .8; color: var(--signal); }
.show__cap b { font-family: var(--f-disp); font-weight: 500; font-size: clamp(17px, 1.5vw, 26px); letter-spacing: -.02em; line-height: 1; white-space: normal; }
.show__cap .mono { opacity: .8; }
.show__dots { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 4px; }
.show__dots i { width: 6px; height: 6px; border: 1px solid var(--paper); }
.show__dots i:first-child, .show__p.alt .show__dots i + i { background: var(--paper); }
.show__p.alt .show__dots i:first-child { background: none; }
.show__meta {
  display: grid; gap: 2px; align-content: start; min-height: 76px;
  padding-top: 10px; border-top: 1px solid var(--ink);
  font-family: var(--f-mono); font-size: 10px; line-height: 1.35; letter-spacing: .035em; text-transform: uppercase;
}
.show__meta span:first-child { color: var(--ink); }
.show__meta span:nth-child(2), .show__meta span:last-child { color: var(--grey); }
.show__meta span:last-child { margin-top: 2px; }

/* ---------- project page ---------- */
.p-hero {
  display: grid; grid-template-rows: auto 1fr; padding-top: var(--bar);
  height: 100vh; height: 100svh; min-height: 520px;
}
.p-hero .rule { margin-top: 12px; border-top: 0; padding-top: 0; }
.p-hero .p-head { padding-bottom: 20px; }
.p-hero__img { position: relative; min-height: 0; overflow: hidden; cursor: zoom-in; }
.p-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.p-hero__img.fig figcaption { position: absolute; left: var(--pad); bottom: 14px; margin: 0; color: var(--paper); mix-blend-mode: difference; }
.p-hero__duo { display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.p-hero__duo .p-hero__img { height: 100%; }

.next { position: relative; overflow: hidden; padding-block: 90px 30px; }
.next::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 106, 51, .3), transparent 62%); filter: blur(60px); pointer-events: none;
}
.next__link {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
  align-items: end; padding: 24px var(--pad) 40px;
}
.next__link .pix { grid-column: 1 / 3; font-size: clamp(60px, 8vw, 140px); line-height: .75; color: var(--signal); }
.next__link b {
  grid-column: 3 / 10; font-family: var(--f-disp); font-weight: 500; font-size: clamp(44px, 7.5vw, 130px);
  line-height: .86; letter-spacing: -.05em; transition: transform .6s cubic-bezier(.2, .7, 0, 1);
}
.next__link .thumb { grid-column: 10 / -1; aspect-ratio: 4 / 3; overflow: hidden; }
.next__link .thumb img { width: 100%; height: 100%; object-fit: cover; filter: blur(8px) grayscale(.6); transform: scale(1.06); transition: filter .8s, transform 1s; }
.next__link:hover b { transform: translateX(16px); }
.next__link:hover .thumb img { filter: none; transform: none; }
.next .foot { margin-top: 36px; }
.prev { display: inline-flex; align-items: center; gap: 12px; margin: 0 var(--pad); color: #c9c7c1; transition: color .25s; }
.prev__a {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%;
  font-size: 13px; line-height: 1; transition: transform .4s cubic-bezier(.2, .7, 0, 1), background .25s, color .25s;
}
.prev:hover { color: var(--signal); }
.prev:hover .prev__a { transform: translateX(-5px); }

/* ---------- other work page ---------- */
.ow-head { padding: calc(var(--bar) + 14px) 0 0; }
.ow-head .p-head { padding-bottom: 34px; }
.ow-head .rule { border-top: 0; padding-top: 0; }
.ow-lead { --c: 4 / 10; font-family: var(--f-disp); font-weight: 500; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -.015em; }
.ow-lead em { font-style: normal; color: var(--signal); }
.ow-field { position: relative; margin: 26px var(--pad) 110px; }
.ow-field > .fig { position: absolute; margin: 0; }
.ow-field .fig .frame { background: var(--paper-2); }
.ow-field .fig img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.ow-field .fig figcaption { margin-top: 6px; }
.ow-field .fig figcaption .cap-t { display: none; }
.ow-field.stack { columns: 2; column-gap: var(--gut); }
.ow-field.stack > .fig { position: relative; left: auto !important; top: auto !important; width: auto !important; break-inside: avoid; margin-bottom: 20px; }

/* ---------- project ---------- */
.project { position: relative; }
.p-head { row-gap: 20px; align-items: end; padding-bottom: 28px; }
.p-num { --c: 1 / 4; font-family: var(--f-pix); font-size: clamp(64px, min(10vw, 17svh), 180px); line-height: .72; letter-spacing: -.02em; }
.p-title { --c: 4 / 10; }
.p-title h1, .p-title h2 {
  font-family: var(--f-disp); font-weight: 500; font-size: clamp(44px, min(8.4vw, 14svh), 150px);
  line-height: .86; letter-spacing: -.05em;
}
.p-title p { margin-top: 14px; }
.spec { --c: 10 / -1; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.spec div { display: grid; grid-template-columns: 9ch 1fr; gap: 10px; border-top: 1px solid var(--line); padding-block: 5px; }
.spec dt { color: var(--grey); }
.dark .spec div { border-color: var(--line-d); }

.p-text { row-gap: 22px; padding-block: 70px 90px; align-items: end; }
.p-lead {
  --c: 3 / 9; font-family: var(--f-disp); font-weight: 500; font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.12; letter-spacing: -.02em;
}
.p-lead em { font-style: normal; color: var(--signal); }
.p-toggle { --c: 10 / -1; }
.p-more { --c: 3 / -1; }
.p-more__in {
  display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 24px;
  padding-top: 26px; border-top: 1px solid var(--line); margin-top: 6px;
}
.p-more__in .spec { grid-column: 1 / 4; }
.p-more__in .p-note { grid-column: 5 / 8; }
.p-more__in .pairs { grid-column: 8 / -1; grid-template-columns: 1fr; gap: 6px; }
.p-note .mono { display: block; margin-bottom: 10px; color: var(--grey); }
.p-note p { color: #3b3b3a; }
.pairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); list-style: none; }
.pairs li { border-top: 1px solid var(--ink); padding-top: 8px; display: flex; justify-content: space-between; }
.pairs li i { font-style: normal; color: var(--signal); }

/* read-more */
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2, .7, 0, 1); }
.more.open { grid-template-rows: 1fr; }
.more > div { overflow: hidden; min-height: 0; }
.more-btn {
  display: inline-flex; align-items: center; gap: 10px; padding-block: 6px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  transition: color .25s;
}
.more-btn .pm {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%;
  font-size: 13px; line-height: 1; transition: transform .45s cubic-bezier(.2, .7, 0, 1), background .3s, border-color .3s, color .3s;
}
.more-btn:hover { color: var(--signal); }
.more-btn[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--signal); border-color: var(--signal); color: var(--paper); }
.statement .more-btn { margin-bottom: 4px; }
.statement .more > div > p:first-child { margin-top: 14px; }

/* captions: number visible, description on hover */
.cap-t { display: inline-block; }
.has-cursor .fig figcaption .cap-t { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .5s cubic-bezier(.2, .7, 0, 1); }
.has-cursor .fig:hover figcaption .cap-t { opacity: 1; transform: none; }

.stage { margin-top: 30px; }
.stage .pix { font-size: 18px; color: var(--signal); margin-right: 10px; }
.stage + .g12 { row-gap: 34px; margin-top: 16px; margin-bottom: 70px; align-items: start; }

/* figures */
.fig { position: relative; }
.fig .frame { position: relative; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.fig img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar, auto);
  filter: blur(18px) saturate(.5) contrast(.9); transform: scale(1.08); opacity: .55;
  transition: filter 1.4s cubic-bezier(.2, .7, 0, 1), transform 1.6s cubic-bezier(.2, .7, 0, 1), opacity 1s;
}
.fig.in img { filter: none; transform: none; opacity: 1; }
.fig .frame:hover img { transform: scale(1.015); }
.fig figcaption {
  display: flex; gap: 10px; margin-top: 8px; font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--grey);
}
.fig figcaption b { color: var(--ink); font-weight: 500; }
.dark .fig figcaption b { color: var(--paper); }
.fig.sm figcaption { font-size: 9.5px; }

.fig.contain .frame { background: var(--paper-2); }
.fig.contain img { object-fit: contain; }
.bleed { position: relative; }
.bleed .frame { cursor: zoom-in; }
.bleed img { width: 100%; height: min(92vh, 62vw); object-fit: cover; object-position: var(--pos, 50% 50%); }
.bleed figcaption { position: absolute; left: var(--pad); bottom: 14px; color: var(--paper); mix-blend-mode: difference; }

/* annotations */
.annot { position: absolute; left: var(--ax); top: var(--ay); z-index: 2; pointer-events: none; }
.annot::before {
  content: ""; position: absolute; width: 13px; height: 13px; left: -6px; top: -6px;
  border: 1px solid var(--signal); border-radius: 50%;
  background: radial-gradient(circle, var(--signal) 0 2px, transparent 2.5px);
}
.annot span {
  position: absolute; left: 30px; top: -8px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); padding: 2px 6px;
}
.annot span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 22px; height: 1px; background: var(--signal); }
.annot.l span { left: auto; right: 30px; }
.annot.l span::before { right: auto; left: 100%; }

/* ---------- dark bands ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark .grey, .dark .spec dt { color: #8c8c88; }

/* ---------- console (P01) ---------- */
.console { position: relative; padding-block: 70px; overflow: hidden; }
.console::before {
  content: ""; position: absolute; width: 50vw; height: 50vw; right: -10vw; top: -10vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 106, 51, .22), transparent 62%); filter: blur(40px);
}
.console .g12 { position: relative; row-gap: 30px; align-items: end; }
.console__intro { --c: 1 / 4; align-self: start; }
.console__intro h3 { font-family: var(--f-disp); font-weight: 500; font-size: clamp(28px, 2.8vw, 46px); line-height: 1; letter-spacing: -.03em; margin: 8px 0 16px; }
.console__intro p { color: #c9c7c1; max-width: 40ch; font-size: 14px; }
.console__intro .more-btn { margin-top: 18px; }
.console__intro .more p { padding-top: 10px; color: #8c8c88; }
.console__ctl { display: flex; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid #5a5a57; border-radius: 99px; transition: background .25s, border-color .25s, color .25s;
}
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--ink); }

.vor { position: relative; }
.vor--ctrl { --c: 4 / 8; }
.vor--out { --c: 8 / -1; }
.vor svg { width: 100%; height: auto; display: block; overflow: visible; }
.vor figcaption { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line-d); color: #8c8c88; }
.vor figcaption b { color: var(--paper); font-weight: 500; }
.ctrl-cell { fill: #2a2a29; stroke: #4a4a47; stroke-width: .35; transition: fill .3s; }
.ctrl-cell:hover { fill: #3a3a38; }
.ctrl-cell:focus { outline: none; stroke: var(--paper); }
.ctrl-cell[aria-pressed="true"] { fill: var(--signal); stroke: var(--signal); }
.ctrl-num { font-family: var(--f-mono); font-size: 3px; fill: #8c8c88; pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.ctrl-num.on { fill: var(--ink); }
.mir { stroke: #5a5a57; stroke-width: .3; stroke-linejoin: round; }
.mir.lit { filter: drop-shadow(0 0 2.5px rgba(255, 214, 170, .8)); }
.mir-frame { fill: none; stroke: #3a3a38; stroke-width: .5; }

/* ---------- scale switch (P02) ---------- */
.scale { padding-block: 10px 80px; row-gap: 14px; }
.scale__tabs { --c: 1 / 4; display: grid; gap: 6px; align-self: start; }
.scale__tabs button {
  display: flex; justify-content: space-between; text-align: left; padding: 10px 12px; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; transition: background .3s, color .3s;
}
.scale__tabs button .pix { font-size: 14px; text-transform: none; }
.scale__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.scale__tabs button[aria-selected="true"] .pix { color: var(--signal); }
.scale__tabs p { margin-top: 12px; font-size: 13.5px; color: #4a4a48; }
.scale__view { --c: 4 / -1; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #8f8b82; }
.scale__view img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: blur(24px); transform: scale(1.06); transition: opacity .9s, filter 1.1s, transform 1.4s;
}
.scale__view img.on { opacity: 1; filter: none; transform: none; }
.scale__view .mono { position: absolute; left: 12px; bottom: 10px; color: var(--paper); z-index: 2; }

.samples { row-gap: 18px !important; }
.fig.fill { display: flex; flex-direction: column; align-self: stretch; }
.fig.fill .frame { flex: 1; min-height: 240px; }
.fig.fill img { position: absolute; inset: 0; aspect-ratio: auto; }

.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo .frame { cursor: zoom-in; }
.duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.duo figcaption { position: absolute; left: var(--pad); bottom: 14px; color: var(--paper); mix-blend-mode: difference; }

/* evolution row */
.evo { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gut); position: relative; }
.evo::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 1px; background: var(--ink); }
.evo .fig::before { content: ""; position: absolute; left: 0; top: -18px; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--ink); }
.evo .fig:last-child::before { background: var(--signal); border-color: var(--signal); }

/* ---------- surreal plate (P03) ---------- */
.plate {
  position: relative; min-height: 110vh; overflow: hidden;
  background:
    radial-gradient(40% 50% at 50% 45%, rgba(232, 106, 51, .42), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(166, 166, 162, .35), transparent 70%),
    linear-gradient(180deg, #151515, #262523 60%, #3a3834);
  display: grid; place-items: center;
}
.plate__horizon { position: absolute; left: 0; right: 0; top: 74%; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 240, 235, .35), transparent); }
.plate__obj {
  position: relative; width: min(30vw, 420px); z-index: 2;
  mix-blend-mode: lighten;
  -webkit-box-reflect: below 0 linear-gradient(transparent 55%, rgba(255, 255, 255, .22));
  animation: float 7s ease-in-out infinite alternate;
}
.plate__obj img { width: 100%; filter: contrast(1.15) brightness(1.05); -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(60% 70% at 50% 50%, #000 55%, transparent 100%); }
@keyframes float { from { transform: translateY(-1.5vh); } to { transform: translateY(1.5vh); } }
.plate__ghost {
  position: absolute; z-index: 1; width: min(30vw, 420px); opacity: .35; filter: blur(30px) saturate(1.4);
  mix-blend-mode: screen; transform: scale(1.6);
}
.plate__ghost img { width: 100%; }
.plate__word {
  position: absolute; z-index: 3; font-family: var(--f-disp); font-weight: 500; color: var(--paper);
  font-size: clamp(60px, 15vw, 280px); letter-spacing: -.06em; line-height: .8; mix-blend-mode: difference;
}
.plate__word.a { left: var(--pad); top: 18%; }
.plate__word.b { right: var(--pad); bottom: 14%; }
.plate .mono { position: absolute; z-index: 3; color: #b3b1ab; }
.plate .mono.tl { left: var(--pad); top: 28px; }
.plate .mono.tr { right: var(--pad); top: 28px; text-align: right; }
.plate .mono.bl { left: var(--pad); bottom: 24px; }

.seq { padding-block: 10px 70px; }
.seq__track {
  display: flex; gap: var(--gut); overflow-x: auto; padding: 26px var(--pad) 18px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent; position: relative;
}
.seq__track .fig { flex: 0 0 clamp(220px, 22vw, 360px); scroll-snap-align: start; }
.seq__track .fig::before { content: attr(data-step); position: absolute; top: -20px; left: 0; font-family: var(--f-pix); font-size: 12px; color: var(--signal); }
.seq__hint { display: flex; justify-content: space-between; padding-inline: var(--pad); }

/* ---------- contact ---------- */
.contact {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: calc(var(--bar) + 30px) 24px;
}
.contact::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; left: -20vw; bottom: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 106, 51, .35), transparent 62%); filter: blur(60px);
}
.contact .g12 { position: relative; row-gap: min(36px, 4svh); }
.end__word {
  --c: 1 / -1; display: flex; align-items: flex-start; gap: .1em; margin-left: -.04em;
  font-family: var(--f-disp); font-weight: 600; font-size: clamp(64px, min(16vw, 30svh), 280px);
  line-height: .84; letter-spacing: -.055em; color: var(--paper);
}
.end__word sup { color: var(--signal); }
.end__date { --c: 1 / -1; display: flex; justify-content: flex-end; border-top: 1px solid var(--line-d); padding-top: 10px; color: #8c8c88; }
.end__col { display: grid; align-content: start; gap: 2px; font-size: 14px; color: #d8d6d0; }
.end__col .mono { color: #8c8c88; margin-bottom: 8px; }
.end__col a { width: fit-content; transition: color .25s; }
.end__col a:hover { color: var(--signal); }
.end__a { --c: 1 / 4; } .end__b { --c: 4 / 7; } .end__c { --c: 7 / 10; } .end__d { --c: 10 / -1; }
.foot { margin-top: min(80px, 9svh); }
.foot .rule { color: #8c8c88; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 60px var(--pad) 70px;
  background: rgba(20, 20, 20, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lb.on { opacity: 1; pointer-events: auto; cursor: zoom-out; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lb p { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; color: var(--paper); display: flex; justify-content: space-between; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .bar__nav { display: none; }
  .bar__logo { grid-column: 1 / 3; }
  .bar__logo .mono { display: none; }
  .bar__page { grid-column: 7 / -1; white-space: nowrap; }
  .rule > :nth-child(1) { grid-column: 1 / 8; }
  .rule > :nth-child(2) { display: none; }
  .rule > :nth-child(3) { grid-column: 8 / -1; }
  .hero { grid-template-rows: auto auto minmax(0, 1fr) auto auto; padding-top: calc(var(--bar) + 10px); }
  .hero__word { grid-column: 1 / -1; font-size: min(19vw, 11svh); }
  .hero__intro { grid-column: 1 / -1; margin-top: 8px; }
  .lens { grid-column: 1 / -1; grid-row: 3; margin-top: 16px; padding-bottom: 10px; }
  #pixelname { height: 25vw; margin-bottom: 8px; }
  .hero__foot > :nth-child(1) { --c: 1 / 9; }
  .hero__foot > :nth-child(2) { display: none; }
  .hero__foot > :nth-child(3) { --c: 9 / -1; }
  .about__label { --c: 7 / -1; --row: 1; }
  .portrait { --c: 1 / 7; --row: 1; }
  .portrait__slot { height: min(26svh, 240px); }
  .portrait figcaption { display: none; }
  .statement h2 { font-size: clamp(20px, 5.6vw, 28px); margin-bottom: 12px; }
  .statement p { font-size: 14px; }
  .statement, .method { --c: 1 / -1; }
  .method p { display: none; }
  .method .pix { font-size: 20px; }
  .method b { font-size: 17px; }
  .show { height: clamp(320px, 64svh, 620px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: 0; padding-inline: var(--pad); }
  .show::-webkit-scrollbar { display: none; }
  .show__p, .show:hover .show__p, .show .show__p:hover { flex: 0 0 76vw; scroll-snap-align: center; }
  .show__meta { min-height: 72px; }
  .p-num { --c: 1 / -1; font-size: 64px; }
  .p-title, .spec, .p-lead, .p-toggle, .p-more, .ow-lead { --c: 1 / -1; }
  .p-hero .spec { display: none; }
  .p-more__in { grid-template-columns: 1fr; }
  .p-more__in > * { grid-column: 1 / -1 !important; }
  .g12 > .fig { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .samples > .fig { grid-column: span 6 !important; }
  .console__intro, .vor--ctrl, .vor--out { --c: 1 / -1; }
  .scale__tabs, .scale__view { --c: 1 / -1; }
  .evo { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .plate__obj, .plate__ghost { width: 60vw; }
  .end__col { --c: span 6; }
  .next__link .pix { grid-column: 1 / 4; }
  .next__link b { grid-column: 4 / -1; }
  .next__link .thumb { display: none; }
}

@media (max-width: 900px) and (max-height: 720px) {
  .method { display: none; }
  .portrait__slot { height: 22svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fig img { filter: none; transform: none; opacity: 1; }
}
