/* ============================================================
   tnylab — a monochrome editorial frame for colour photography.
   Black, charcoal and warm off-white carry the interface; a
   glowing white marks the accent words and small indicators. Photographs start in black and
   white and turn to colour as they are looked at.
   ============================================================ */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  src: url('/assets/fonts/instrument-serif-italic-ext.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Surfaces: black to charcoal */
  --bg: #0b0b0b;
  --bg-deep: #060606;
  --bg-black: #020202;
  --charcoal: #121212;
  --surface: #171717;
  --surface-2: #1e1e1e;

  /* Text: warm off-white down to stone grey */
  --text: #f1efea;
  --text-soft: #cdcac3;
  --text-muted: #8f8c86;
  --text-dim: #5f5d59;

  /* The one accent: white with a soft glow */
  --accent: #ffffff;
  --glow: rgba(255, 255, 255, 0.55);
  --glow-soft: rgba(255, 255, 255, 0.18);

  /* Lines */
  --line: rgba(241, 239, 234, 0.08);
  --line-strong: rgba(241, 239, 234, 0.16);

  /* Type */
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --fs-h2: clamp(2.5rem, 5.6vw, 5rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.8rem);
  --fs-lead: clamp(1rem, 1.15vw, 1.12rem);
  --fs-micro: 0.72rem;

  /* Space & layout */
  --gutter: clamp(22px, 5vw, 64px);
  --container: 1320px;
  --section-y: clamp(104px, 13vw, 184px);
  --head-gap: clamp(48px, 6vw, 88px);

  /* Shape */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --slope: 0.47;                  /* the brand's single diagonal: ≈25° */

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --color-time: 1.6s;             /* black and white → colour */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
/* With Lenis, lenis-stopped already holds the page; hiding body overflow as well would
   turn the body into its own scroller and drop the sticky rows out of place */
html:not(.lenis) body.is-locked { overflow: hidden; }

/* Fine film grain: static, painted once */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.065;
  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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-xs); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

.shell {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.section { position: relative; padding-block: var(--section-y); }

/* Images fade in once decoded, so nothing pops */
[data-plate] { opacity: 0; transition: opacity 0.45s var(--ease-out), filter var(--color-time) var(--ease-out), scale 1.2s var(--ease-out); }
[data-plate].is-loaded { opacity: 1; }

/* ---------- Photographs: black and white → colour ---------- */
.photo img { filter: grayscale(1) contrast(1.06) brightness(0.94); }
.photo.is-color img { filter: none; }
@media (hover: hover) and (pointer: fine) {
  .photo:hover img { filter: none; }
}
/* Project cards stay quieter: black and white, with only a trace of colour
   once a card is in its place, so they blend into the page. Hover (the photo
   or the card's title) shows the full colour. */
.card__media.is-color img { filter: grayscale(0.8) contrast(1.04) brightness(0.95); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media img, .card:focus-visible .card__media img { filter: none; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* The tail: a short bar whose end is cut at the 25° angle */
.tail {
  --h: 4px;
  display: inline-block;
  flex: none;
  width: 14px;
  height: var(--h);
  background: var(--accent);
  box-shadow: 0 0 10px var(--glow);
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
/* The accent voice: an italic serif word in white, softly lit.
   The glow sits on the word, outside the reveal masks, so it is never clipped. */
.thin {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
  filter: drop-shadow(0 0 14px var(--glow-soft)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.25));
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Word masks for heading reveals */
.w {
  display: inline-block;
  overflow: clip;
  vertical-align: top;
  /* room above for accented capitals (Ö, É, Ő) and below for descenders */
  padding-block: 0.22em 0.14em;
  margin-block: -0.22em -0.14em;
}
/* room for the italic's overhang so it is never clipped */
.thin .w { padding-right: 0.08em; margin-right: -0.08em; }
.w__in { display: inline-block; }

/* Section heads: title left, one short line beside it on wide screens */
.head {
  display: grid;
  gap: 18px;
  margin-bottom: var(--head-gap);
}
.head__aside { max-width: 24rem; }
@media (min-width: 900px) {
  .head { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--h);
  font-size: 0.94rem;
  font-weight: 560;
  letter-spacing: -0.005em;
  white-space: nowrap;
  color: var(--bg);
  isolation: isolate;
  transition: transform 0.4s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--sm { --h: 40px; font-size: 0.88rem; }
.btn--lg { --h: 56px; font-size: 1rem; }
.btn__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--text);
  border-radius: var(--radius-xs);
  transition: box-shadow 0.5s var(--ease-out);
}
.btn:hover .btn__bg, .btn:focus-visible .btn__bg { box-shadow: 0 0 28px var(--glow-soft); }
/* light sweep across on hover */
.btn__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(11, 11, 11, 0.1) 48%, transparent 64%);
  background-size: 260% 100%;
  background-position: 130% 0;
  transition: background-position 0.9s var(--ease-out);
}
.btn:hover .btn__bg::before, .btn:focus-visible .btn__bg::before { background-position: -30% 0; }
.btn__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 20px;
}
.btn--sm .btn__inner { gap: 8px; padding: 0 16px; }
.btn--lg .btn__inner { gap: 12px; padding: 0 26px; }
.btn__icon { position: relative; display: inline-block; width: 14px; height: 14px; overflow: hidden; }
.btn__icon svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.5s var(--ease-out);
}
.btn__b { transform: translate(-150%, 150%); }
.btn:hover .btn__a, .btn:focus-visible .btn__a { transform: translate(150%, -150%); }
.btn:hover .btn__b, .btn:focus-visible .btn__b { transform: none; }
/* arrows pointing down/up travel vertically instead */
.hero__ctas .btn__b { transform: translateY(-150%); }
.hero__ctas .btn:hover .btn__a { transform: translateY(150%); }
[data-totop] .btn__b { transform: translateY(150%); }
[data-totop]:hover .btn__a { transform: translateY(-150%); }
[data-totop]:hover .btn__b, .hero__ctas .btn:hover .btn__b { transform: none; }

/* Ghost: hairline frame */
.btn--ghost { color: var(--text); }
.btn--ghost .btn__bg {
  background: rgba(241, 239, 234, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  transition: background-color 0.35s, border-color 0.35s, box-shadow 0.5s var(--ease-out);
}
.btn--ghost .btn__bg::before { display: none; }
.btn--ghost .btn__inner { padding: 0 20px; }
.btn--sm.btn--ghost .btn__inner { padding: 0 15px; }
.btn--ghost:hover .btn__bg { background: rgba(241, 239, 234, 0.07); border-color: rgba(241, 239, 234, 0.34); }

/* Inline link with a sliding red underline */
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.3s ease;
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 0.5s var(--ease-out);
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 23px;
  bottom: 8px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.link-arrow:hover { color: var(--text); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Small hairline button (close, etc.) */
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: rgba(11, 11, 11, 0.75);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.3s, border-color 0.3s;
}
.chip-btn svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.chip-btn:hover { color: var(--text); border-color: rgba(241, 239, 234, 0.4); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  /* the bar reaches past the page edge by its own inner padding, so the
     logo lines up with the content on every screen */
  padding: 10px calc(var(--gutter) - 14px) 0;
  transition: transform 0.6s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-130%); }
.nav__bar {
  position: relative;
  max-width: calc(var(--container) + 28px);
  height: 60px;
  margin-inline: auto;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  gap: 24px;
}
/* The surface fades in once the page scrolls: no layout change */
.nav__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.9);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
html[data-perf='high'] .nav__bar::before {
  background: rgba(11, 11, 11, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav.is-scrolled .nav__bar::before { opacity: 1; }

.nav__brand { display: inline-flex; align-items: center; min-height: 44px; }
.nav__name { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.035em; }
.nav__links {
  display: none;
  position: absolute;
  left: 50%;
  gap: 2px;
  transform: translateX(-50%);
}
.nav__link {
  position: relative;
  display: inline-flex;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s;
}
/* the current section: a small red point under the word */
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px var(--glow);
  transform: scale(0);
  transition: transform 0.4s var(--ease-out);
}
.nav__link.is-active::after { transform: none; }
.nav__link:hover, .nav__link.is-active { color: var(--text); }

/* Text roll on hover */
.roll { display: inline-block; overflow: hidden; line-height: 1.3; vertical-align: top; }
.roll__in { position: relative; display: inline-block; transition: transform 0.5s var(--ease-out); }
.roll__in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--text); }
.nav__link:hover .roll__in, .nav__link:focus-visible .roll__in { transform: translateY(-100%); }

.nav__cta { display: none; }

/* Language: EN · HU, the page's own language lit (html[lang] is set before
   the page is sent, so the right one is lit from the first frame) */
.lang {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.14em;
}
.lang__opt {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 44px;
  padding: 0 4px;
  color: var(--text-dim);
  transition: color 0.25s;
}
.lang__opt + .lang__opt::before {
  content: '';
  position: absolute;
  left: -0.5px;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: var(--line-strong);
}
.lang__opt:hover { color: var(--text); }
html[lang='en'] .lang__opt[data-lang-link='en'], html[lang='hu'] .lang__opt[data-lang-link='hu'] {
  color: var(--text);
  text-shadow: 0 0 10px var(--glow-soft);
}

/* Hamburger: two lines, no box; the touch target stays 48px */
.nav__toggle {
  position: relative;
  margin-left: 4px;
  width: 48px;
  height: 48px;
  margin-right: 4px;
  display: grid;
  place-content: center;
  gap: 7px;
}
.nav__toggle:focus-visible { outline-offset: -4px; }
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
}
.nav__toggle span:last-child { width: 16px; justify-self: end; }
.nav__toggle[aria-expanded='true'] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:last-child { width: 24px; transform: translateY(-4.25px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--gutter) max(40px, env(safe-area-inset-bottom));
  background: var(--bg-deep);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.menu.is-open { opacity: 1; }
.menu__nav { display: grid; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.1rem, 10vw, 3.4rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.045em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.25s;
}
.menu__link span {
  min-width: 1.6em;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-shadow: 0 0 10px var(--glow);
}
.menu__link b { font-weight: inherit; }
.menu__link:active { color: var(--text-muted); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
/* each visible link follows the one before it (--i is its place, set by site.js) */
.menu.is-open .menu__link { transition-delay: calc(var(--i, 0) * 0.04s); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: clip;
  isolation: isolate;
  background: var(--bg-deep);
}
.hero__film { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-deep); }
.hero__plate, .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.8);
}
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.75) 0%, rgba(6, 6, 6, 0.2) 34%, rgba(6, 6, 6, 0.25) 62%, rgba(11, 11, 11, 0.94) 92%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.55), rgba(6, 6, 6, 0) 65%);
}

/* Phones: the headline sits high, the copy and actions low, the film between */
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-top: calc(76px + 7vh);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.hero__title {
  font-size: clamp(3rem, 15vw, 4.4rem);
  font-weight: 560;
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.hero__line { display: block; }
.hero__line.thin { letter-spacing: -0.02em; line-height: 1.02; }
/* optical alignment: the big upright capitals carry a little side space and
   the italic line leans left at its foot, so both are nudged onto one edge
   with the logo and the copy below */
.hero__title { margin-left: -0.075em; }
.hero__line.thin, .statement__line.thin { padding-left: 0.05em; }
.statement__text { margin-left: -0.09em; }
.hero__aside { display: grid; gap: 22px; max-width: 26rem; }
.hero__lead {
  max-width: 21rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-soft);
}
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }

@media (min-width: 600px) {
  .hero__title { font-size: clamp(4.2rem, 11vw, 6rem); }
}
/* Wider screens: the headline holds the lower left, the copy answers on the right */
@media (min-width: 900px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    align-items: end;
    justify-content: stretch;
    gap: 48px;
    padding-top: 140px;
    padding-bottom: clamp(56px, 9vh, 96px);
  }
  .hero__title { font-size: min(8.6vw, 13.5vh, 8.6rem); }
  .hero__aside { justify-self: end; padding-bottom: 0.6em; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero__title { font-size: 2.6rem; }
  .hero__inner { padding-top: 84px; }
  .hero__lead { display: none; }
}

/* ---------- Statement ---------- */
.statement__grid { display: grid; gap: clamp(36px, 5vw, 64px); }
.statement__text {
  max-width: 15em;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.statement__line { display: block; }
.statement__line.thin { letter-spacing: -0.015em; }
/* words light up as the section scrolls through */
.sw { display: inline; }
html.js:not([data-perf='static']) .sw { opacity: 0.14; }
.statement__note { max-width: 30rem; padding-left: 18px; border-left: 1px solid var(--accent); }
@media (min-width: 900px) {
  .statement__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .statement__text { grid-column: 1 / span 10; }
  /* the note starts on the headline's left edge, under it */
  .statement__note { grid-column: 1 / span 5; }
}

/* ---------- Selected work: a row that the vertical scroll moves sideways ---------- */
.work { position: relative; overflow: clip; }
.work .head { margin-bottom: clamp(28px, 4vh, 56px); }
/* Unpinned (still motion, very short screens): a native swipe row */
.work__row {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.work__row::-webkit-scrollbar { display: none; }
.work__track {
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
  width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.work__track .card {
  flex: none;
  /* wide enough to read, short enough that title and meta stay on screen */
  width: min(80vw, 520px, calc((100svh - 360px) * 4 / 3));
  min-width: min(68vw, 300px);
  scroll-snap-align: center;
}
/* tall phones: portrait frames fill the held screen */
@media (max-width: 599px) and (min-height: 760px) {
  .work__track .card { width: min(80vw, calc((100svh - 400px) * 4 / 5)); }
  .work__track .card__media { aspect-ratio: 4 / 5; }
}
@media (min-width: 900px) {
  .work__track .card { width: min(38vw, 620px, calc((100svh - 400px) * 4 / 3)); }
}
.work__foot {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 4vh, 44px);
}
.work__bar { position: relative; flex: 1; height: 1px; background: var(--line-strong); }
.work__count { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.14em; color: var(--text-muted); }
.work__count b { font-weight: 500; color: var(--text); }
/* Pinned: a sticky stage holds the screen while the row runs sideways
   (the section's height is set by script: the screen plus the row's overflow) */
.hstage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.work.is-pinned { padding-block: 0; }
.work.is-pinned > .hstage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 84px 28px;
}
.work.is-pinned .work__row { overflow: visible; scroll-snap-type: none; }

/* All work: every project on one even grid */
.work { background: linear-gradient(180deg, var(--bg), var(--charcoal) 40%, var(--charcoal) 80%, var(--bg)); }
.work__grid { display: grid; gap: clamp(48px, 7vw, 72px) clamp(20px, 2.4vw, 32px); }

.card { display: grid; gap: 18px; align-content: start; text-align: left; }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.card__img {
  position: absolute;
  inset: 0 -6%;
  width: 112%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) { .card:hover .card__img { scale: 1.04; } }
.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.card__open {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--bg);
  background: var(--text);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.card__open svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.card:hover .card__open, .card:focus-visible .card__open { opacity: 1; transform: none; }
.card__meta { display: grid; gap: 8px; }
.card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card__index { color: var(--accent); margin-right: 4px; text-shadow: 0 0 10px var(--glow); }
.card__row .sep { color: var(--text-dim); }
.card__year { margin-left: auto; color: var(--text-dim); }
.card__name { font-size: var(--fs-h3); font-weight: 560; line-height: 1.1; letter-spacing: -0.03em; transition: color 0.3s; }
.card__desc { display: none; }

/* One frame shape for every card; an odd count opens with one wide feature */
@media (min-width: 600px) {
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .work__grid .card--feature { grid-column: 1 / -1; }
  .work__grid .card--feature .card__media { aspect-ratio: 21 / 9; }
}
@media (min-width: 900px) {
  .card__desc {
    display: -webkit-box;
    max-width: 30rem;
    color: var(--text-muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card:hover .card__name { color: var(--text-soft); }
}

/* ---------- Gallery: a row that the vertical scroll moves sideways ---------- */
.gallery { position: relative; padding-block: var(--section-y) calc(var(--section-y) * 0.7); overflow: clip; background: linear-gradient(180deg, var(--bg), var(--bg-black) 12%, var(--bg-black) 88%, var(--bg)); }
.gallery__track { display: grid; gap: 40px; }
.gallery__intro {
  display: grid;
  gap: 18px;
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.gallery__intro .lead { max-width: 20rem; }
.gallery__count { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.14em; color: var(--text-dim); }
.gallery__count b { color: var(--text); font-weight: 500; }

/* Phones: swipe */
.gallery__frames {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter);
  scrollbar-width: none;
}
.gallery__frames::-webkit-scrollbar { display: none; }
.frame {
  position: relative;
  flex: none;
  display: block;
  /* the height is set, the width follows the photo's own shape */
  width: auto;
  height: min(56vw, 52svh);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  scroll-snap-align: start;
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.gallery__bar {
  position: relative;
  width: min(100% - var(--gutter) * 2, var(--container));
  height: 1px;
  margin: 28px auto 0;
  background: var(--line-strong);
}
.gallery__bar i, .work__bar i { position: absolute; inset: 0; background: var(--accent); box-shadow: 0 0 10px var(--glow); transform: scaleX(0); transform-origin: left; }

/* Tablet and desktop: pinned, the track runs sideways while you scroll */
.gallery.is-pinned { padding: 0; }
.gallery.is-pinned .gallery__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  width: max-content;
  height: 100%;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  will-change: transform;
}
.gallery.is-pinned .gallery__intro { flex: none; width: min(30vw, 400px); margin: 0 clamp(16px, 4vw, 72px) 0 0; }
.gallery.is-pinned .gallery__frames { overflow: visible; padding: 0; gap: clamp(16px, 2vw, 28px); scroll-snap-type: none; }
.gallery.is-pinned .frame { width: auto; height: min(62vh, 620px); }
.gallery.is-pinned .gallery__bar { position: absolute; left: max(var(--gutter), calc((100vw - var(--container)) / 2)); bottom: 44px; width: 180px; margin: 0; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--bg), var(--bg-deep) 50%, var(--bg)); }
.about__grid { display: grid; gap: 56px; }
.about__text { margin-top: 24px; max-width: 30rem; color: var(--text-soft); }
.about__skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; max-width: 32rem; }
.about__skills li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.about__stage { position: relative; }
.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: min(100%, 540px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.about__portrait img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}
@media (max-width: 899px) {
  .about__copy { order: -1; }
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 40px; }
  .about__stage { grid-column: 1 / span 6; }
  .about__copy { grid-column: 8 / span 5; }
}

/* ---------- Services ---------- */
.services__grid { display: grid; gap: var(--head-gap); }
.services__head { display: grid; gap: 18px; align-content: start; }
.services__head .lead { max-width: 22rem; }
.services__list { border-top: 1px solid var(--line); }
.svc {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
/* a soft light under the row: follows the pointer, and lights the row
   nearest the middle of the screen as you scroll */
.svc::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  z-index: -1;
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.075), transparent 60%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.svc:hover::before, .svc.is-lit::before, .svc.is-open::before { opacity: 1; }
/* the rule under each row draws in, then a light runs along it */
.svc::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent) no-repeat -40% 0 / 40% 100%, var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.svc.is-in::after { transform: none; animation: svc-sweep 1.8s var(--ease-in-out) 0.4s both; }
.svc.is-lit::after { animation: svc-sweep 1.4s var(--ease-in-out) both; }
@media (prefers-reduced-motion: reduce) { .svc::after { transition: none; animation: none !important; } }
@keyframes svc-sweep { from { background-position: -40% 0, 0 0; } to { background-position: 140% 0, 0 0; } }
.svc__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  text-align: left;
}
.svc__num {
  flex: none;
  width: 2em;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--text-dim);
  transition: color 0.3s;
}
.svc__name {
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-soft);
  transition: color 0.35s, transform 0.6s var(--ease-out), text-shadow 0.5s;
}
.svc__head:hover .svc__name, .svc.is-open .svc__name, .svc.is-lit .svc__name { color: var(--text); text-shadow: 0 0 22px var(--glow-soft); }
.svc__head:hover .svc__num, .svc.is-open .svc__num, .svc.is-lit .svc__num { color: var(--accent); text-shadow: 0 0 10px var(--glow); }
.svc.is-lit .svc__name { transform: translateX(6px); }
@media (hover: hover) { .svc__head:hover .svc__name { transform: translateX(10px); } }
.svc__plus {
  position: relative;
  flex: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.svc__plus::before, .svc__plus::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--text);
  transition: transform 0.5s var(--ease-out);
}
.svc__plus::after { transform: rotate(90deg); }
.svc__head:hover .svc__plus, .svc.is-lit .svc__plus { border-color: rgba(241, 239, 234, 0.5); box-shadow: 0 0 18px var(--glow-soft); }
.svc__head:hover .svc__plus { transform: rotate(90deg); }
.svc.is-open .svc__plus { background: var(--text); border-color: var(--text); box-shadow: 0 0 24px var(--glow-soft); }
.svc.is-open .svc__plus::before, .svc.is-open .svc__plus::after { background: var(--bg); }
.svc.is-open .svc__plus::after { transform: rotate(0deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; }
.svc__body p { opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.svc.is-open .svc__body p { opacity: 1; transform: none; transition-delay: 0.12s; }
.svc__body p {
  max-width: 36rem;
  padding: 0 52px clamp(22px, 3vw, 30px) calc(2 * var(--fs-micro) + 18px);
  color: var(--text-muted);
}
@media (min-width: 900px) {
  .services__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .services__head { grid-column: 1 / span 4; position: sticky; top: 120px; }
  .services__list { grid-column: 6 / span 7; }
}

/* ---------- Marquee: moves with the scroll ---------- */
.marquee { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 48px) 0; border-block: 1px solid var(--line); background: var(--bg-black); }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__word {
  padding-right: clamp(24px, 3vw, 48px);
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.marquee__word { font-family: var(--font); }
/* six faces of the name */
.marquee__word.mq1 { font-weight: 800; letter-spacing: -0.06em; }
.marquee__word.mq2 { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--text-muted); }
.marquee__word.mq3 { font-weight: 700; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7); }
.marquee__word.mq4 { font-family: var(--font-mono); font-weight: 300; font-size: clamp(1.6rem, 4.2vw, 3.9rem); letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-soft); }
.marquee__word.mq5 { font-weight: 150; letter-spacing: -0.03em; }
.marquee__word.mq6 { font-family: var(--font-serif); font-style: italic; color: #fff; text-shadow: 0 0 22px rgba(255, 255, 255, 0.35); }
.marquee__track { backface-visibility: hidden; }
.marquee__dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-right: clamp(24px, 3vw, 48px);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--glow-soft);
}

/* ---------- Contact ---------- */
.contact { overflow: clip; background: linear-gradient(180deg, var(--bg), var(--charcoal) 45%, var(--bg-black)); }
.contact__grid { display: grid; justify-items: center; gap: clamp(56px, 8vw, 110px); }
.contact__head { display: grid; justify-items: center; gap: clamp(36px, 4.4vw, 64px); text-align: center; }
/* one heavy line over one hairline-thin line, centred and lit from above */
.contact__title {
  font-size: clamp(2.7rem, 9.2vw, 8.6rem);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.contact__line { display: block; }
.contact__title .thin {
  font-family: var(--font);
  font-style: normal;
  font-weight: 200;
  letter-spacing: -0.045em;
  filter: none;
}
.contact__title .thin .w__in {
  background-image: linear-gradient(180deg, #ffffff 5%, #8f8d88 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact__direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 62px;
  padding: 0 8px 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.copy__mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; }
.copy__btn {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 10px;
  border-radius: var(--radius-xs);
  background: rgba(241, 239, 234, 0.06);
  transition: background-color 0.3s;
}
.copy__btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.copy__btn:hover { background: rgba(241, 239, 234, 0.12); }
.copy__done {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 5px 9px;
  border-radius: var(--radius-xs);
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
  pointer-events: none;
}
.copy__btn.is-done .copy__done { opacity: 1; transform: translate(-50%, 0); }

.contact__card {
  position: relative;
  width: min(100%, 1120px);
  padding: clamp(24px, 4.4vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(23, 23, 23, 0.6);
  text-align: left;
}
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 10px; }
.field label, .field__label { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%;
  padding: 17px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(6, 6, 6, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(241, 239, 234, 0.5); background: rgba(6, 6, 6, 0.85); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent); }
.field__error { min-height: 1em; font-size: 0.82rem; color: #ff8a78; }
.field__error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { color: var(--text); border-color: rgba(241, 239, 234, 0.34); }
.chip:has(input:checked) { color: var(--bg); background: var(--text); border-color: var(--text); }
.chip:has(input:focus-visible) { outline: 1px solid var(--accent); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.form__note { font-size: 0.86rem; color: var(--text-dim); }
.form__privacy {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.form__privacy:hover { color: var(--text); }
.form__sent { display: grid; gap: 18px; justify-items: start; padding: 12px 0; }
.form__sent:focus { outline: none; }
.form__sent-big { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 560; line-height: 1.15; letter-spacing: -0.03em; }
.form__sent-note { color: var(--text-muted); }
.form__sent-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 599px) {
  .contact__card { margin-inline: calc(var(--gutter) * -0.45); }
  .form__foot .btn { width: 100%; }
  .form__foot .btn__inner { width: 100%; justify-content: center; }
  .chip { height: 40px; padding: 0 13px; font-size: 0.68rem; letter-spacing: 0.1em; }
}
@media (min-width: 900px) {
  .form__row { gap: 32px; }
}

/* ---------- Footer: faded wordmark, then one quiet bar ---------- */
.footer { position: relative; overflow: clip; background: var(--bg-black); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer::before { opacity: 0.55; }
.footer__mark {
  display: flex;
  justify-content: center;
  padding-top: clamp(48px, 7vw, 96px);
  overflow: hidden;
  pointer-events: none;
}
.footer__mark span {
  display: block;
  /* the tight tracking pulls the box in past the "b": room on the right so the
     painted letters (and their fade) are not cut, with the word still centred */
  padding: 0 0.12em 0 0.06em;
  font-size: clamp(4.4rem, 17vw, 15rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.06em;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(241, 239, 234, 0.16), rgba(241, 239, 234, 0.015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__bar {
  display: grid;
  gap: 20px;
  padding-block: 28px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer__name { font-weight: 560; letter-spacing: -0.02em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 0.94rem; }
.footer__links a, .footer__links button { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); transition: color 0.25s; }
.footer__links button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.footer__links a:hover, .footer__links button:hover { color: var(--text); }
.footer__end { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__c { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.12em; color: var(--text-dim); }
@media (min-width: 900px) {
  .footer__bar { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer__links { justify-content: center; }
  .footer__end { justify-content: flex-end; }
}

/* ---------- Project view ---------- */
/* ---------- All work ---------- */
.gallery__all { justify-self: start; margin-top: 4px; }
/* Full gallery: a masonry of every photo at its own shape */
.shots { columns: 3 300px; column-gap: clamp(10px, 1.4vw, 18px); }
.shot {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: clamp(10px, 1.4vw, 18px);
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  break-inside: avoid;
  aspect-ratio: 3 / 2;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
@media (hover: hover) { .shot:hover img { scale: 1.03; } }

.index {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--bg-deep);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}
.index.is-open { opacity: 1; }
.index__bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.92), rgba(11, 11, 11, 0));
  pointer-events: none;
}
.index__bar > * { pointer-events: auto; }
.index__count { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.16em; color: var(--text-muted); }
.index__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.index__inner { padding: 96px 0 clamp(64px, 8vw, 120px); }
.index__title { margin-bottom: clamp(36px, 5vw, 64px); }

.legal { max-width: 740px; }
.legal__meta { display: grid; gap: 0; margin: 0 0 8px; }
.legal__meta div {
  display: grid;
  grid-template-columns: minmax(148px, 240px) 1fr;
  gap: 6px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.legal__meta dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.legal__meta dd { margin: 0; color: var(--text-soft); }
.legal h3 {
  margin: 2.4em 0 0.55em;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}
.legal h4 { margin: 1.5em 0 0.35em; font-size: 1rem; font-weight: 560; color: var(--text-soft); }
.legal p, .legal li { font-size: 0.98rem; line-height: 1.7; color: var(--text-muted); }
.legal p { margin: 0.75em 0; }
.legal ul { margin: 0.35em 0 1em; padding-left: 1.15em; }
.legal li { margin: 0.28em 0; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text-soft); font-weight: 560; }
.legal__updated {
  margin-top: 2.6em;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .legal__meta div { grid-template-columns: 1fr; gap: 4px; }
}

.project {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg-deep);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}
.project.is-open { opacity: 1; }
.project__bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.92), rgba(11, 11, 11, 0));
  pointer-events: none;
}
.project__bar > * { pointer-events: auto; }
.project__index { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.16em; color: var(--text-muted); }
.project__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.project__inner { padding: 84px 0 clamp(64px, 8vw, 120px); }
/* the cover keeps the photo's own shape (--ar, set by site.js): as wide as the
   page allows, as tall as 78% of the screen allows */
.project__hero {
  --ar: 1.7778;
  position: relative;
  display: block;
  width: min(100%, calc(78vh * var(--ar)));
  width: min(100%, calc(78svh * var(--ar)));
  aspect-ratio: var(--ar);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  transform-origin: center;
}
.project__hero img { width: 100%; height: 100%; object-fit: cover; }
.project__head {
  display: grid;
  gap: 36px;
  margin-top: clamp(36px, 6vw, 72px);
}
.project__head .eyebrow { margin-bottom: 18px; }
.project__desc { margin-top: 22px; max-width: 38rem; }
.project__spec { border-top: 1px solid var(--line); align-self: start; }
.project__spec .r { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.project__spec dt { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); padding-top: 3px; }
.project__spec dd { color: var(--text-soft); overflow-wrap: anywhere; }
@media (min-width: 1000px) { .project__head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (max-width: 599px) {
  .project__spec .r { grid-template-columns: 6.5rem 1fr; }
}
.project__film {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
}
.project__film iframe, .project__film video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project__grid { columns: 2 260px; column-gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(40px, 6vw, 72px); }
.project__photo {
  display: block;
  width: 100%;
  margin-bottom: clamp(10px, 1.4vw, 18px);
  overflow: hidden;
  border-radius: var(--radius-sm);
  break-inside: avoid;
  background: var(--surface);
}
.project__photo img { width: 100%; height: auto; transition: scale 1.1s var(--ease-out), opacity 0.8s var(--ease-out); }
.project__photo:hover img { scale: 1.03; }
.project__next {
  display: grid;
  gap: 16px;
  justify-items: start;
  width: 100%;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  text-align: left;
}
.project__next-title { font-size: clamp(2rem, 5.4vw, 5rem); font-weight: 560; line-height: 1.02; letter-spacing: -0.045em; transition: color 0.4s; }
.project__next:hover .project__next-title { color: var(--accent); }
.project__next-arrow svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1; transition: transform 0.6s var(--ease-out); }
.project__next:hover .project__next-arrow svg { transform: translateX(12px); }

/* ---------- Image viewer ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6, 6, 6, 0.97);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.viewer.is-open { opacity: 1; }
.viewer__stage { position: absolute; inset: 72px clamp(12px, 6vw, 96px); display: flex; align-items: center; justify-content: center; }
.viewer__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xs);
  opacity: 0;
  transform: translateX(var(--from, 0px));
  transition: opacity 0.4s var(--ease-out), transform 0.55s var(--ease-out);
}
.viewer__img.is-in { opacity: 1; transform: none; }
.viewer__img.is-out { opacity: 0; transform: translateX(var(--to, 0px)); transition-duration: 0.18s; }
.viewer__btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(11, 11, 11, 0.7);
  transition: border-color 0.3s;
}
.viewer__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.viewer__btn:hover { border-color: rgba(241, 239, 234, 0.45); }
.viewer__btn--prev { left: clamp(8px, 2vw, 28px); }
.viewer__btn--next { right: clamp(8px, 2vw, 28px); }
.viewer__close { position: absolute; top: 14px; right: var(--gutter); }
.viewer__count { position: absolute; top: 28px; left: var(--gutter); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.16em; color: var(--text-muted); }
@media (max-width: 599px) {
  .viewer__stage { inset: 72px 0 96px; }
  .viewer__btn { top: auto; bottom: max(24px, env(safe-area-inset-bottom)); margin-top: 0; }
  .viewer__btn--prev { left: calc(50% - 60px); }
  .viewer__btn--next { right: calc(50% - 60px); }
}

/* ---------- Liquid glass and light ----------
   A soft spotlight falls into every section, headlines are lit from
   above, and panels read as frosted glass with a bright top edge. */
:root {
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  --glass-line: rgba(255, 255, 255, 0.11);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-drop: 0 30px 80px -40px rgba(0, 0, 0, 0.85);
}
.section, .gallery, .footer { isolation: isolate; }
.section::before, .gallery::before, .footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: min(900px, 100vh);
  background:
    radial-gradient(ellipse 46% 62% at 50% 0%, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025) 48%, transparent 76%);
  pointer-events: none;
}
.work.is-pinned::before { height: 100%; }

/* headlines: white at the top fading to silver, like the light above them */
.h2 .w__in, .hero__title .w__in, .contact__title .w__in, .project__next-title, .card__name {
  background-image: linear-gradient(180deg, #ffffff 25%, #b4b2ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title .w__in { background-image: linear-gradient(180deg, #ffffff 40%, #d2d0cb 100%); }
/* room for ascenders and descenders inside the painted box */
.h2 .w__in, .hero__title .w__in, .contact__title .w__in { padding-block: 0.22em 0.16em; margin-block: -0.22em -0.16em; }
.thin .w__in, .thin.w__in { background: none; -webkit-text-fill-color: currentColor; }

/* frosted panels */
.contact__card, .copy, .chip, .chip-btn, .btn--ghost .btn__bg, .about__skills li, .project__spec, .index__bar .chip-btn {
  background: var(--glass);
  border-color: var(--glass-line);
  box-shadow: var(--glass-edge), var(--glass-drop);
}
.chip, .chip-btn, .about__skills li, .copy { box-shadow: var(--glass-edge); }
.project__spec { padding: 6px 18px; border: 1px solid var(--glass-line); border-radius: var(--radius); }
.project__spec .r:last-child { border-bottom: 0; }
.contact__card { overflow: hidden; }
/* a light pooled at the top of the form card */
.contact__card::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto;
  height: 80%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.contact__card > * { position: relative; }
.field input, .field textarea {
  background: rgba(0, 0, 0, 0.35);
  border-color: var(--glass-line);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}
.field input:focus, .field textarea:focus { border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05), 0 0 24px rgba(255, 255, 255, 0.06); }
.chip:has(input:checked) { box-shadow: 0 0 22px var(--glow-soft); }
/* the solid button carries a little light of its own */
.btn:not(.btn--ghost) .btn__bg { box-shadow: 0 0 22px rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.12); }
.btn:not(.btn--ghost):hover .btn__bg { box-shadow: 0 0 36px var(--glow-soft); }
/* photo frames: a glass rim, brighter along the top edge */
.card__media::after, .frame::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
@media (hover: hover) {
  .card__media { transition: box-shadow 0.6s var(--ease-out); }
  .card:hover .card__media { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 70px -30px rgba(255, 255, 255, 0.16); }
}
/* the nav bar, once the page scrolls: glass with the same bright edge */
.nav__bar::before { background: linear-gradient(180deg, rgba(10, 10, 10, 0.96), rgba(3, 3, 3, 0.96)); border-color: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px -24px rgba(0, 0, 0, 0.95); }
html[data-perf='high'] .nav__bar::before { background: linear-gradient(180deg, rgba(12, 12, 12, 0.78), rgba(2, 2, 2, 0.78)); }
/* real frosting only where the device can afford it */
html[data-perf='high'] .contact__card, html[data-perf='high'] .copy, html[data-perf='high'] .chip-btn {
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

/* ---------- Line work: still, abstract structure behind the sections ----------
   Painted once, never animated; each section gets its own drawing and every
   one fades out toward its edges so it never competes with the photographs. */
.section::after, .gallery::after, .footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
}
/* statement: a fine grid, lit in the middle */
.statement::after {
  background:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask: radial-gradient(ellipse 60% 70% at 30% 45%, #000, transparent 75%);
  mask: radial-gradient(ellipse 60% 70% at 30% 45%, #000, transparent 75%);
}
/* work: long horizontal rules and one diagonal at the brand's 25° */
.work::after {
  opacity: 0.07;
  background:
    linear-gradient(155deg, transparent calc(50% - 0.5px), #fff calc(50% - 0.5px), #fff calc(50% + 0.5px), transparent calc(50% + 0.5px)) no-repeat,
    linear-gradient(#fff, #fff) 0 22% / 100% 1px no-repeat,
    linear-gradient(#fff, #fff) 0 78% / 100% 1px no-repeat;
  -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
/* gallery: a measuring rule along the top, like a film edge */
.gallery::after {
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='14' fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M0 .5h80M.5 0v14M20.5 0v5M40.5 0v8M60.5 0v5'/%3E%3C/svg%3E") 0 calc(var(--section-y) * 0.45) / 80px 14px repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
/* about: concentric rings, like a lens, behind the portrait */
.about::after {
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23fff' stroke-width='1'%3E%3Ccircle cx='300' cy='300' r='120'/%3E%3Ccircle cx='300' cy='300' r='200'/%3E%3Ccircle cx='300' cy='300' r='290' stroke-dasharray='2 8'/%3E%3Cpath d='M0 300h600M300 0v600' stroke-dasharray='1 6'/%3E%3C/svg%3E") no-repeat;
  background-size: min(900px, 130vw) auto;
  background-position: calc(100% + min(260px, 40vw)) 50%;
}
@media (min-width: 900px) { .about::after { background-position: calc(-1 * min(240px, 20vw)) 50%; } }
/* services: the column guides of the layout grid */
.services::after {
  opacity: 0.05;
  background: linear-gradient(90deg, #fff 1px, transparent 1px) 0 0 / calc(100% / 12) 100%;
  -webkit-mask: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  mask: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
@media (max-width: 899px) { .services::after { background-size: 25% 100%; } }
/* contact: registration marks on a loose grid */
.contact::after {
  opacity: 0.16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M48 43v10M43 48h10'/%3E%3C/svg%3E") 0 0 / 96px 96px;
  -webkit-mask: radial-gradient(ellipse 55% 60% at 70% 40%, #000, transparent 75%);
  mask: radial-gradient(ellipse 55% 60% at 70% 40%, #000, transparent 75%);
}
/* footer: a perspective floor under the wordmark */
.footer::after {
  opacity: 0.08;
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, #fff 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 79px, #fff 79px 80px);
  transform: perspective(500px) rotateX(58deg);
  transform-origin: 50% 100%;
  inset: 0 -30%;
  -webkit-mask: linear-gradient(180deg, transparent 20%, #000);
  mask: linear-gradient(180deg, transparent 20%, #000);
}

/* ---------- Static tier (reduced motion): everything simply visible ---------- */
html[data-perf='static'] *, html[data-perf='static'] *::before, html[data-perf='static'] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

.load-error {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transform: translateX(-50%);
  font-size: 0.9rem;
}
/* sticky rows: the spotlight rides with the stage, not the tall section */
.work.is-pinned::before { display: none; }
.work.is-pinned > .hstage { isolation: isolate; }
.work.is-pinned > .hstage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 46% 62% at 50% 0%, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025) 48%, transparent 76%);
  pointer-events: none;
}

/* ---------- Client gallery access: a quiet glass band above the footer ---------- */
.access { position: relative; padding-block: 0 clamp(64px, 9vw, 128px); }
.access__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: clamp(26px, 4.4vw, 56px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: var(--glass);
  box-shadow: var(--glass-edge), var(--glass-drop);
  overflow: hidden;
}
/* light pooled in one corner, and a hairline that catches it */
.access__panel::before {
  content: '';
  position: absolute;
  inset: -60% -20% auto auto;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 255, 255, 0.07), transparent 70%);
  pointer-events: none;
}
.access__panel > * { position: relative; }
.access__head { display: grid; gap: 18px; justify-items: start; }
.access__title {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.access__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 30rem; }
.access__text { max-width: 28rem; }
.access__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.access__label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.access__field { position: relative; display: flex; min-width: 0; }
.access__code {
  flex: 1;
  min-width: 0;
  height: 64px;
  padding: 0 72px 0 18px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-family: var(--font-mono);
  /* typed code and placeholder share one size, so the caret matches the text */
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  caret-color: var(--accent);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.access__code::placeholder { color: var(--text-dim); font-family: var(--font); font-size: 1.1rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.access__code:focus { outline: none; border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05), 0 0 28px rgba(255, 255, 255, 0.07); }
.access__go {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 48px;
  border-radius: var(--radius-xs);
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 22px var(--glow-soft);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.access__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
.access__go:hover svg { transform: translateX(2px); }
.access__go[disabled] { cursor: progress; opacity: 0.7; }
.access__form.is-busy .access__go svg { animation: access-nudge 0.9s var(--ease-in-out) infinite; }
@keyframes access-nudge { 50% { transform: translateX(4px); } }
.access__msg { font-size: 0.9rem; line-height: 1.45; color: #ff9d8e; }
.access__msg:empty { display: none; }
.access__form.is-error .access__code { border-color: rgba(255, 138, 120, 0.7); animation: access-shake 0.42s var(--ease-out); }
@keyframes access-shake { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
@media (min-width: 900px) {
  .access__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); align-items: center; gap: 64px; }
}
html[data-perf='high'] .access__panel { -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
