/* helenhelga.com — v2 "Stillness, alive" */
@property --amb { syntax: '<color>'; inherits: true; initial-value: #f3f0ea; }

:root {
  --paper: #f3f0ea;
  --paper-2: #e9e4db;
  --ink: #1b1a18;
  --ink-2: #5d584f;
  --ink-3: #6b655a;
  --line: rgba(27, 26, 24, .14);
  --rust: #8a4b2a;
  --glacier: #4d8f98;
  --night: #111315;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gut: clamp(1rem, 4vw, 3.5rem);
  --e: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--rust); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--rust); outline-offset: 4px; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper);
  text-decoration: none; font-size: .8rem; transition: top .3s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- ambient + grain ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 85% 15%, color-mix(in oklab, var(--amb) 26%, transparent), transparent 70%),
    radial-gradient(50vmax 45vmax at 10% 90%, color-mix(in oklab, var(--amb) 18%, transparent), transparent 70%);
  transition: --amb 1.6s var(--ease);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- labels / headings ---------- */
.label {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.6rem;
  font: 400 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
}
.label span { font-variant-numeric: tabular-nums; color: var(--rust); letter-spacing: .1em; }
.label span::after { content: ''; display: inline-block; width: 2.4rem; height: 1px; margin-left: .9rem; vertical-align: middle; background: currentColor; opacity: .5; }
.h2 {
  margin: 0; font: 300 clamp(2.6rem, 7vw, 6.4rem)/.95 var(--serif); letter-spacing: -.02em; text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--rust); }

/* ---------- header bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: max(1.1rem, env(safe-area-inset-top)) var(--gut) 1.1rem;
  color: #fff; mix-blend-mode: difference;
  transition: transform .7s var(--ease);
}
.bar.is-hidden { transform: translateY(-110%); }
.bar-mark {
  font: 400 1.35rem/1 var(--serif); letter-spacing: .02em; text-decoration: none;
  opacity: 0; transform: translateY(-.4rem); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.bar.show-mark .bar-mark { opacity: 1; transform: none; }
.bar-nav { display: flex; gap: clamp(1rem, 2.6vw, 2.4rem); }
.bar-nav a {
  position: relative; display: inline-block; text-decoration: none;
  font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: .5rem 0;
}
.bar-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.bar-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.bar-nav .lang { opacity: .7; }

/* ---------- hero ---------- */
.hero { position: relative; height: 230svh; }
.hero-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.pigment {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: calc(1 - var(--e) * 1.4); pointer-events: none;
}
.hero-frame {
  --x0: max(5vw, calc(50vw - 25svh));
  --y0: 16svh;
  position: absolute; inset: 0; overflow: hidden;
  background: var(--tint);
  clip-path: inset(calc(var(--y0) * (1 - var(--e))) calc(var(--x0) * (1 - var(--e))) round calc(3px * (1 - var(--e))));
  will-change: clip-path;
}
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover;
  scale: calc(1.18 - .18 * var(--e));
  will-change: scale;
}
.js .hero-frame { animation: frameIn 1.8s var(--ease) .15s both; }
@keyframes frameIn { from { opacity: 0; translate: 0 6vh; } }
.hero-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, .45), transparent 32%);
  opacity: calc(var(--e) * 1.2 - .2);
}
.hero-cap {
  position: absolute; left: var(--gut); bottom: 2rem; z-index: 2;
  color: #fff; font: 300 italic clamp(1.1rem, 1.6vw, 1.5rem)/1.2 var(--serif);
  opacity: calc(var(--e) * 5 - 4); translate: 0 calc((1 - var(--e)) * 1.5rem);
}
.hero-cap i { font-style: normal; }
.hero-name {
  position: absolute; inset: 0; margin: 0; pointer-events: none; z-index: 3;
  color: #fff; mix-blend-mode: difference;
  font: 300 clamp(4.6rem, 15.5vw, 17rem)/.8 var(--serif); letter-spacing: -.035em;
}
.hn { position: absolute; top: 50%; white-space: nowrap; display: flex; }
.hn-1 { left: var(--gut); translate: calc(var(--e) * -45vw) -62%; }
.hn-2 { right: var(--gut); translate: calc(var(--e) * 45vw) -12%; font-style: italic; }
.ch { display: inline-block; }
.js .ch { animation: chIn 1.6s var(--ease) both; animation-delay: calc(.35s + var(--i) * .07s); }
.js .hn-2 .ch { animation-delay: calc(.6s + var(--i) * .07s); }
@keyframes chIn { from { opacity: 0; transform: translateY(.35em) rotate(4deg); filter: blur(12px); } }

.hero-meta {
  position: absolute; top: 5.4rem; z-index: 2;
  font: 400 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
  opacity: calc(1 - var(--e) * 3);
}
.hero-meta--tl { left: var(--gut); }
.hero-meta--tr { right: var(--gut); }
.hero-line {
  position: absolute; left: var(--gut); bottom: 2.2rem; z-index: 2; margin: 0; max-width: 21rem;
  font: 300 italic clamp(1.05rem, 1.4vw, 1.3rem)/1.35 var(--serif); color: var(--ink-2);
  opacity: calc(1 - var(--e) * 3);
}
.hero-scroll {
  position: absolute; right: var(--gut); bottom: 2.2rem; z-index: 2;
  display: flex; align-items: center; gap: .8rem;
  font: 400 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2);
  opacity: calc(1 - var(--e) * 3);
}
.hero-scroll i { position: relative; width: 1px; height: 3.2rem; background: var(--line); overflow: hidden; }
.hero-scroll i::after {
  content: ''; position: absolute; inset: 0; background: var(--ink);
  animation: drip 2.4s var(--ease-in-out) infinite;
}
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.js .hero-meta, .js .hero-line, .js .hero-scroll { animation: fadeUp 1.4s var(--ease) 1.1s both; }
@keyframes fadeUp { from { opacity: 0; translate: 0 1rem; } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(6rem, 18vh, 12rem) var(--gut) clamp(5rem, 14vh, 10rem); max-width: 78rem; margin: 0 auto; }
.manifesto-text {
  margin: 0; font: 300 clamp(1.9rem, 4.4vw, 4rem)/1.18 var(--serif); letter-spacing: -.01em; text-wrap: pretty;
}
.manifesto-text .w { transition: color .5s var(--ease), opacity .5s var(--ease); }
.js .manifesto-text .w { opacity: .5; } /* 3.24:1 unlit, WCAG AA large text */
.js .manifesto-text .w.lit { opacity: 1; }

/* ---------- works ---------- */
.works { padding: 0 var(--gut) clamp(5rem, 12vh, 9rem); }
.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 3rem;
  max-width: 100rem; margin: 0 auto clamp(3rem, 9vh, 6rem);
  padding-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.section-head .label { grid-column: 1 / -1; }
.note { margin: 0; max-width: 20rem; font-size: .88rem; color: var(--ink-2); }
.grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2.5rem); row-gap: clamp(4rem, 10vw, 9rem);
  max-width: 100rem; margin: 0 auto; align-items: start;
}
.work { grid-column: var(--c) / span var(--s); margin: 0; }
.work.drop { margin-top: clamp(3rem, 12vw, 12rem); }
.work-link { display: block; cursor: none; text-decoration: none; }
@media (pointer: coarse) { .work-link { cursor: pointer; } }
.work-frame {
  position: relative; display: block; overflow: hidden; aspect-ratio: var(--ar);
  background: color-mix(in oklab, var(--tint) 70%, var(--paper));
}
.work-frame img {
  width: 100%; height: 100%; object-fit: cover;
  translate: 0 var(--py, 0px);
  scale: 1.02;
  transition: scale 1.2s var(--ease), filter 1.2s var(--ease);
}
.work-link:hover .work-frame img { scale: 1.07; }
.js .work .work-frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.js .work .work-frame img { scale: 1.3; filter: saturate(.6) brightness(1.05); }
.js .work.in .work-frame { clip-path: inset(0 0 0 0); }
.js .work.in .work-frame img { scale: 1.02; filter: none; }
.js .work.in .work-link:hover .work-frame img { scale: 1.07; }
figcaption {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .1rem;
  padding-top: 1rem;
}
.work-no { grid-row: span 2; font: 400 .7rem/1.9 var(--sans); letter-spacing: .12em; color: var(--rust); font-variant-numeric: tabular-nums; }
.work-title { font: 400 1.35rem/1.2 var(--serif); }
.work-title i { font-style: italic; }
.work-meta { font-size: .78rem; color: var(--ink-3); letter-spacing: .02em; }
.js .work figcaption > * { opacity: 0; translate: 0 .8rem; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.js .work.in figcaption > * { opacity: 1; translate: 0 0; }
.js .work.in .work-title { transition-delay: .35s; }
.js .work.in .work-no { transition-delay: .3s; }
.js .work.in .work-meta { transition-delay: .45s; }

/* text reveal for headings */
.js .reveal-text { clip-path: inset(0 0 100% 0); translate: 0 .3em; transition: clip-path 1.4s var(--ease), translate 1.4s var(--ease); }
.js .reveal-text.in { clip-path: inset(-10% -5% -20% -5%); translate: 0 0; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: clamp(2rem, 6vh, 4rem) 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span {
  padding: 0 .35em; font: 300 clamp(3.4rem, 10vw, 9rem)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap;
}
.marquee-track span:nth-child(4n+3) { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-track .dot { font-size: clamp(1.2rem, 2.6vw, 2.2rem); color: var(--rust); align-self: center; }

/* ---------- about ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 7vw, 8rem);
  align-items: center; max-width: 100rem; margin: 0 auto;
  padding: clamp(6rem, 16vh, 11rem) var(--gut);
}
.about-photo-in { overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.about-photo img { width: 100%; height: 118%; object-fit: cover; translate: 0 var(--py, -6%); }
.js .about-photo-in { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease); }
.js .about-photo.in .about-photo-in { clip-path: inset(0); }
.about-text .h2 { margin-bottom: 2.2rem; }
.about-body p { margin: 0 0 1.2rem; max-width: 36rem; color: var(--ink-2); font-size: 1.02rem; }
.about-body p:first-child { font: 300 clamp(1.3rem, 1.8vw, 1.6rem)/1.45 var(--serif); color: var(--ink); }
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 2.6rem 0 0; max-width: 36rem;
}
.facts div { padding: 1rem 0; border-top: 1px solid var(--line); }
.facts dt { font: 400 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem; }
.facts dd { margin: 0; font: 400 1.2rem/1.3 var(--serif); }

/* ---------- contact (night) ---------- */
.contact {
  position: relative; overflow: hidden; color: var(--paper); background: var(--night);
  padding: clamp(6rem, 16vh, 11rem) var(--gut) 0;
  border-radius: clamp(1.2rem, 3vw, 2.6rem) clamp(1.2rem, 3vw, 2.6rem) 0 0;
}
.contact-bg { position: absolute; inset: -10% 0 0; z-index: 0; opacity: .2; pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; translate: 0 var(--py, 0); }
.contact-in {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 8rem); max-width: 100rem; margin: 0 auto; align-items: start;
}
.contact .label { color: rgba(243, 240, 234, .6); }
.contact .label span { color: #d59a6e; }
.contact .h2 em { color: #d59a6e; }
.contact-text { margin: 2rem 0 0; max-width: 26rem; color: rgba(243, 240, 234, .7); }
.sent { margin-top: 1.4rem; padding: .9rem 1.2rem; border: 1px solid rgba(213, 154, 110, .5); color: #f0c8a6; display: inline-block; }
.sent[hidden] { display: none; }
.form { display: grid; gap: 1.6rem; padding-top: .6rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 1.5rem 0 .7rem; border: 0; border-bottom: 1px solid rgba(243, 240, 234, .22);
  background: transparent; color: var(--paper); font: 300 1.15rem/1.4 var(--sans); border-radius: 0; resize: vertical;
  outline: none; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 7.5rem; }
.field span {
  position: absolute; left: 0; top: 1.5rem; pointer-events: none;
  font: 300 1.15rem/1.4 var(--sans); color: rgba(243, 240, 234, .5);
  transform-origin: left top; transition: transform .5s var(--ease), color .5s var(--ease);
}
.field::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #d59a6e;
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field textarea + span { top: 1.5rem; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
  transform: translateY(-1.35rem) scale(.68); color: #d59a6e;
}
.field input:-webkit-autofill { -webkit-text-fill-color: var(--paper); transition: background-color 9999s; }
.send {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; justify-self: start;
  display: inline-flex; align-items: center; gap: 1rem; margin-top: .6rem;
  padding: 1.15rem 1.9rem; border: 1px solid rgba(243, 240, 234, .35); border-radius: 999px;
  background: transparent; color: var(--paper); cursor: pointer;
  font: 400 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.send::before {
  content: ''; position: absolute; left: var(--mx); top: var(--my); width: 0; height: 0; border-radius: 50%;
  background: var(--paper); translate: -50% -50%; transition: width .7s var(--ease), height .7s var(--ease);
}
.send:hover::before, .send:focus-visible::before { width: 34rem; height: 34rem; }
.send:hover, .send:focus-visible { color: var(--night); border-color: var(--paper); }
.send span, .send svg { position: relative; }
.send svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.4; transition: translate .5s var(--ease); }
.send:hover svg { translate: .3rem 0; }
.foot {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem;
  max-width: 100rem; margin: clamp(6rem, 14vh, 10rem) auto 0; padding: 2rem 0 max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(243, 240, 234, .14);
  font-size: .78rem; color: rgba(243, 240, 234, .55); letter-spacing: .04em;
}
.foot p { margin: 0; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; }
.social span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.social a, .totop { color: var(--paper); text-decoration: none; display: inline-block; padding: .3rem 0; border-bottom: 1px solid rgba(243, 240, 234, .3); transition: border-color .4s; }
.social a:hover, .totop:hover { border-color: #d59a6e; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  font: 400 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  scale: 0; opacity: 0; transition: scale .5s var(--ease), opacity .3s;
}
.cursor.on { scale: 1; opacity: 1; }
@media (pointer: coarse), (hover: none) { .cursor { display: none; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 70; }
.lb[hidden] { display: none; }
.lb-bg {
  position: absolute; inset: 0; background: color-mix(in oklab, var(--lbt, #333) 22%, #0d0e0f);
  opacity: 0; transition: opacity .6s var(--ease), background-color 1s var(--ease);
}
.lb.open .lb-bg { opacity: .97; }
.lb-stage { position: absolute; inset: 0; margin: 0; touch-action: none; }
.lb-img {
  position: absolute; left: 0; top: 0; transform-origin: 0 0; user-select: none; -webkit-user-drag: none;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .45); background: var(--lbt, #333);
}
.lb-ui { position: absolute; inset: 0; pointer-events: none; color: var(--paper); opacity: 0; transition: opacity .5s var(--ease) .15s; }
.lb.open .lb-ui { opacity: 1; }
.lb-ui > * { pointer-events: auto; }
.lb-count { position: absolute; left: var(--gut); top: max(1.4rem, env(safe-area-inset-top)); margin: 0; font: 400 .72rem/1 var(--sans); letter-spacing: .2em; font-variant-numeric: tabular-nums; opacity: .7; }
.lb-cap {
  position: absolute; left: var(--gut); right: var(--gut); bottom: max(1.6rem, env(safe-area-inset-bottom)); margin: 0; text-align: center;
  font: 300 clamp(1.1rem, 1.8vw, 1.5rem)/1.3 var(--serif);
}
.lb-cap small { display: block; margin-top: .35rem; font: 300 .76rem/1.4 var(--sans); letter-spacing: .04em; opacity: .65; }
.lb-btn {
  position: absolute; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid rgba(243, 240, 234, .25);
  background: rgba(13, 14, 15, .25); color: var(--paper); cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s var(--ease), border-color .4s var(--ease), scale .4s var(--ease);
}
.lb-btn:hover { background: rgba(243, 240, 234, .14); border-color: rgba(243, 240, 234, .6); scale: 1.06; }
.lb-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
.lb-close { right: var(--gut); top: max(.9rem, env(safe-area-inset-top)); }
.lb-prev, .lb-next { top: 50%; margin-top: -1.6rem; }
.lb-prev { left: var(--gut); }
.lb-next { right: var(--gut); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .bar { padding-top: max(.9rem, env(safe-area-inset-top)); }
  .bar-nav { gap: 1.05rem; }
  .bar-nav a { font-size: .66rem; letter-spacing: .16em; }
  .bar-mark { display: none; }
  .hero { height: 200svh; }
  .hero-frame { --x0: 7vw; --y0: 20svh; }
  .hero-name { font-size: clamp(4.2rem, 25vw, 8rem); }
  .hn-1 { top: 20svh; translate: calc(var(--e) * -70vw) -58%; }
  .hn-2 { top: 80svh; translate: calc(var(--e) * 70vw) -46%; }
  .hero-meta { top: 4.6rem; font-size: .6rem; }
  .hero-meta--tr { display: none; }
  .hero-line { bottom: 1.6rem; max-width: 13rem; font-size: 1rem; }
  .hero-scroll { bottom: 1.6rem; }
  .hero-scroll span { display: none; }
  .hero-cap { bottom: 1.6rem; }
  .section-head { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; row-gap: 3.6rem; }
  .work, .work.drop { grid-column: 1; margin-top: 0; }
  .work:nth-child(3n+2) { width: 80%; justify-self: end; }
  .work:nth-child(3n) { width: 86%; }
  .work-title { font-size: 1.25rem; }
  .about { grid-template-columns: 1fr; }
  .about-photo { width: 88%; }
  .contact-in { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; }
  .lb-prev, .lb-next { top: auto; bottom: max(1.2rem, env(safe-area-inset-bottom)); margin-top: 0; width: 2.8rem; height: 2.8rem; }
  .lb-cap { bottom: calc(max(1.2rem, env(safe-area-inset-bottom)) + 3.8rem); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-frame { --x0: max(8vw, calc(50vw - 24svh)); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100svh; }
  .grain { animation: none; }
  .js .ch, .js .hero-frame, .js .hero-meta, .js .hero-line, .js .hero-scroll { animation: none; }
  .hero-scroll i::after { animation: none; }
  .js .work .work-frame, .js .about-photo-in, .js .reveal-text { clip-path: none; translate: none; transition: none; }
  .js .work .work-frame img { scale: 1; filter: none; }
  .js .work figcaption > * { opacity: 1; translate: none; }
  .js .manifesto-text .w { opacity: 1; }
  .ambient { transition: none; }
}

/* consent banner + privacy notice (2026-09-25) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); padding: 18px 20px; font: 400 .9rem/1.5 var(--sans); box-shadow: 0 10px 40px rgba(27,26,24,.18); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; }
.consent a { color: var(--ink); text-decoration: underline; }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent-btns button { min-height: 48px; min-width: 112px; padding: 0 20px; font: 500 .85rem/1 var(--sans); letter-spacing: .04em; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.consent-btns #consent-yes { background: var(--ink); color: var(--paper); }
.privacy { margin-top: 1rem; font: 400 .8rem/1.6 var(--sans); max-width: 62ch; }
.privacy summary { cursor: pointer; min-height: 48px; display: inline-flex; align-items: center; text-decoration: underline; }
.privacy-reset { min-height: 48px; padding: 0 16px; margin-top: .5rem; font: 500 .8rem/1 var(--sans); border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
