/* Tomer Zoref. The site behaves like a camera: viewfinder, focus, playback, shutter. */

@font-face {
  font-family: "Noto Sans Hebrew";
  src: url(../fonts/noto-sans-hebrew-hebrew.woff2) format("woff2-variations"), url(../fonts/noto-sans-hebrew-hebrew.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Noto Sans Hebrew";
  src: url(../fonts/noto-sans-hebrew-latin.woff2) format("woff2-variations"), url(../fonts/noto-sans-hebrew-latin.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62.5% 100%; 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: "Geist Mono";
  src: url(../fonts/geist-mono-latin.woff2) format("woff2-variations"), url(../fonts/geist-mono-latin.woff2) format("woff2");
  font-weight: 100 900; font-display: swap;
}

/* Layout: one dark camera world. Viewfinder first, then the roll, the reels, the photographer, the shutter. */
:root {
  color-scheme: dark;
  --ink: #09090a;
  --panel: #131315;
  --fg: #f2f1ec;
  --fg-2: #a4a39c;
  --fg-3: #8d8c86;
  --line: rgb(242 241 236 / 0.13);
  --hud: rgb(242 241 236 / 0.78);
  --accent: #f46a25;   /* camera orange: the one accent */
  --focus: #63e08f;    /* focus confirmed (state) */
  --rec: #ff4136;      /* recording (state) */
  --display: "Noto Sans Hebrew", "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --body: "Noto Sans Hebrew", "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --bar-h: 64px;
  --gap: clamp(6px, 0.9vw, 14px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --snap: cubic-bezier(0.2, 0.9, 0.1, 1);
  /* z: bar 50, dial 45, af 70, flash 80, iris 90; dialogs use the top layer */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--bar-h); background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-inline-start: 12px; top: 12px; z-index: 95; padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--ink); transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.mono { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* ---------- Power-on iris, flash, focus cursor ---------- */
.iris { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; pointer-events: none; background: var(--ink); }
.iris.is-running { background: transparent; }
@media (prefers-reduced-motion: reduce) { .iris { display: none; } }
.no-js .iris { display: none; }
.flash { position: fixed; inset: 0; z-index: 80; background: #fff; opacity: 0; pointer-events: none; }
.flash.is-on { animation: flash 0.55s ease-out; }
@keyframes flash { 0% { opacity: 0.92; } 100% { opacity: 0; } }

.af { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; transition: opacity 0.25s; }
.af.is-on { opacity: 1; }
.af i { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border: 1.5px solid rgb(255 255 255 / 0.9); will-change: transform; transition: border-color 0.2s; }
.af i:nth-child(1) { border-right: 0; border-bottom: 0; }
.af i:nth-child(2) { border-left: 0; border-bottom: 0; }
.af i:nth-child(3) { border-right: 0; border-top: 0; }
.af i:nth-child(4) { border-left: 0; border-top: 0; }
.af.is-locked i { border-color: var(--focus); }

/* ---------- Top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); transition: background-color 0.4s var(--ease), border-color 0.4s; border-bottom: 1px solid transparent; }
.bar.is-solid { background: rgb(9 9 10 / 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.no-js .bar { position: absolute; }
.bar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-size: 23px; line-height: 1; white-space: nowrap; }
.bar__end { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a { font-size: 15px; font-weight: 500; opacity: 0.86; transition: opacity 0.2s; }
.nav a:hover { opacity: 1; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.icon-btn:hover { border-color: rgb(242 241 236 / 0.4); }
.icon-btn .icon { width: 18px; height: 18px; }
.sound[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.sound .on, .sound[aria-pressed="true"] .off { display: none; }
.sound[aria-pressed="true"] .on { display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; height: 44px; padding-inline: 22px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.15s; }
.btn:active { transform: scale(0.97); }
.btn--sm { height: 38px; padding-inline: 18px; font-size: 14px; }
.btn--paper { background: var(--fg); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--ghost { border-color: rgb(242 241 236 / 0.45); }
.btn--ghost:hover { background: rgb(242 241 236 / 0.1); border-color: var(--fg); }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .nav { position: fixed; inset: calc(var(--bar-h) + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: var(--ink); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open.bar { background: var(--ink); border-bottom-color: var(--line); }
  .nav a { padding: 14px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav .btn { margin-top: 20px; height: 50px; border: 0; background: var(--fg); color: var(--ink); font-size: 16px; }
  .menu-toggle { display: grid; }
  .menu-toggle span { position: relative; width: 14px; height: 8px; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
  .menu-toggle span::before { top: 0; }
  .menu-toggle span::after { top: 6.5px; }
  .menu-open .menu-toggle span::before { top: 3.25px; transform: rotate(45deg); }
  .menu-open .menu-toggle span::after { top: 3.25px; transform: rotate(-45deg); }
  .no-js .menu-toggle { display: none; }
  .no-js .nav { position: static; flex-direction: row; padding: 0; background: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .no-js .nav a:not(.btn) { display: none; }
  .no-js .nav .btn { margin: 0; height: 38px; }
}

/* ---------- Viewfinder (pinned burst) ---------- */
.vf { position: relative; height: calc(100svh + (var(--frames) - 1) * 17svh); background: var(--ink); }
@supports not (height: 100svh) { .vf { height: calc(100vh + (var(--frames) - 1) * 17vh); } }
.vf__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; }
@supports not (height: 100svh) { .vf__stage { height: 100vh; } }
.vf__frame { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.vf__frame.is-on { visibility: visible; }
.vf__frame img { width: 100%; height: 100%; object-fit: cover; }
.vf__stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgb(9 9 10 / 0.8) 0%, rgb(9 9 10 / 0.3) 36%, rgb(9 9 10 / 0) 60%),
              linear-gradient(to bottom, rgb(9 9 10 / 0.55) 0%, rgb(9 9 10 / 0) 22%),
              radial-gradient(120% 90% at 50% 50%, rgb(9 9 10 / 0) 60%, rgb(9 9 10 / 0.45) 100%);
}
.vf__blink { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; }
.vf__blink.is-on { animation: blink 0.2s steps(1, end) 1, blink-fade 0.2s 0.05s ease-out 1; }
@keyframes blink { 0% { opacity: 0.88; } }
@keyframes blink-fade { from { opacity: 0.88; } to { opacity: 0; } }

.hud { position: absolute; z-index: 2; inset: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 10px) max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); pointer-events: none; color: var(--hud); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; direction: ltr; }
.hud__corner { position: absolute; width: 26px; height: 26px; border: 1.5px solid currentColor; }
.hud__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud__grid { position: absolute; inset: 0; opacity: 0.16;
  background:
    linear-gradient(to right, transparent calc(33.333% - 0.5px), currentColor calc(33.333% - 0.5px), currentColor calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px), transparent calc(66.666% - 0.5px), currentColor calc(66.666% - 0.5px), currentColor calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px)),
    linear-gradient(to bottom, transparent calc(33.333% - 0.5px), currentColor calc(33.333% - 0.5px), currentColor calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px), transparent calc(66.666% - 0.5px), currentColor calc(66.666% - 0.5px), currentColor calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px));
}
.hud__af { position: absolute; left: 50%; top: 46%; width: 72px; height: 54px; margin: -27px 0 0 -36px; }
.hud__af i { position: absolute; width: 12px; height: 12px; border: 1.5px solid currentColor; transition: border-color 0.15s; }
.hud__af i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud__af i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud__af i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud__af i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud__af.is-hunting { animation: hunt 0.42s var(--snap); }
.hud__af.is-locked i { border-color: var(--focus); }
@keyframes hunt { 0% { transform: scale(1.35); opacity: 0.4; } 60% { transform: scale(0.94); opacity: 1; } 100% { transform: scale(1); } }

.vf__title { position: absolute; inset-inline: 0; bottom: 0; z-index: 4; padding-bottom: clamp(70px, 10vh, 104px); pointer-events: none; }
.vf__title > * { pointer-events: auto; }
.vf__name { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-size: clamp(76px, 11vw, 176px); line-height: 0.84; letter-spacing: -0.01em; }
.vf__lead { margin: clamp(12px, 1.4vw, 18px) 0 0; max-width: 40ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: rgb(242 241 236 / 0.86); }
.vf__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.6vw, 30px); }
.vf__steps { position: absolute; inset-inline: 0; top: 50svh; pointer-events: none; }
.vf__steps i { display: block; height: 17svh; }
@media (prefers-reduced-motion: no-preference) {
  .js .vf__name, .js .vf__lead, .js .vf__ctas { animation: rise 1s var(--ease) both; animation-delay: 1.15s; }
  .js .vf__lead { animation-delay: 1.27s; }
  .js .vf__ctas { animation-delay: 1.37s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .hud { font-size: 11px; inset-inline: 12px; }
  .hud__corner { width: 20px; height: 20px; }
  .vf__title { padding-bottom: 58px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-title { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-size: clamp(56px, 8vw, 124px); line-height: 0.88; letter-spacing: -0.005em; text-wrap: balance; }
.section-lead { margin: 16px 0 0; max-width: 48ch; color: var(--fg-2); }
.section-tag { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--fg-3); direction: ltr; unicode-bidi: isolate; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-pull] { transition: filter 1.1s var(--ease), opacity 1.1s var(--ease); }
  .js [data-pull]:not(.in) { filter: blur(9px); opacity: 0.55; }
}

/* ---------- The roll (gallery) ---------- */
.roll { padding-bottom: 150px; }
.gallery { columns: 3 300px; column-gap: var(--gap); transition: opacity 0.22s ease; }
.gallery > .tile { break-inside: avoid; margin-bottom: var(--gap); }
.gallery.is-masonry { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap); columns: auto; align-items: start; }
.gallery.is-switching { opacity: 0; }
.gallery__col { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--c, var(--panel)); }
.tile__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile__btn:focus-visible { outline-offset: -3px; }
.tile img { width: 100%; height: auto; transition: opacity 0.6s ease, transform 1.4s var(--ease); }
.js .tile img:not(.is-loaded) { opacity: 0; }
.tile.dev img { animation: develop 1.5s var(--ease) both; }
@keyframes develop { from { filter: brightness(1.9) contrast(0.6) saturate(0); } to { filter: none; } }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) { .tile.dev img { animation: none; } }

/* ---------- Mode dial ---------- */
.dial { position: fixed; z-index: 45; left: 50%; bottom: 0; width: 340px; height: 118px; margin-left: -170px; padding-bottom: env(safe-area-inset-bottom, 0px); overflow: hidden; transform: translateY(110%); transition: transform 0.6s var(--ease); touch-action: none; user-select: none; -webkit-user-select: none; }
.dial.is-on { transform: none; }
.dial__notch { pointer-events: none; position: absolute; top: 2px; left: 50%; margin-left: -6px; width: 0; height: 0; border-inline: 6px solid transparent; border-top: 8px solid var(--accent); z-index: 2; }
.dial__wheel { position: absolute; left: 0; top: 14px; width: 340px; height: 340px; border-radius: 50%; transform: rotate(var(--rot, 0deg)); transition: transform 0.55s var(--snap);
  background:
    radial-gradient(circle at 50% 50%, #1b1b1e 0 58%, transparent 58.2%),
    repeating-conic-gradient(from 0deg, #2c2c30 0deg 1.4deg, #151517 1.4deg 3deg),
    #151517;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 -10px 40px rgb(0 0 0 / 0.6);
}
.dial.is-dragging .dial__wheel { transition: none; }
.dial__face { position: absolute; inset: 19%; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #26262a, #121214 70%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08); }
.dial__opt { position: absolute; left: 50%; top: 50%; width: 92px; height: 34px; margin: -17px 0 0 -46px; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(var(--a)) translateY(-118px); font-size: 13.5px; font-weight: 600; color: var(--fg-3); transition: color 0.3s; }
.dial__opt[aria-checked="true"] { color: var(--fg); }
.dial__opt:focus-visible { outline-offset: -2px; border-radius: 6px; }
.dial__count { pointer-events: none; position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 12px; color: var(--fg-3); }
@media (max-width: 760px) {
  .dial { width: 300px; margin-left: -150px; height: 106px; }
  .dial__wheel { width: 300px; height: 300px; }
  .dial__opt { transform: rotate(var(--a)) translateY(-104px); font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .dial__wheel { transition: none; } }

/* ---------- Reels (video) ---------- */
.vcard.vfeature { margin: 0 0 clamp(40px, 5vw, 72px); }
.reels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); margin-bottom: clamp(36px, 5vw, 64px); }
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); }
.vcard { margin: 0; min-width: 0; }
.vtile { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.vtile--v { aspect-ratio: 9 / 16; }
.vtile img, .vtile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vtile img { transition: transform 1.4s var(--ease); }
.vtile video { opacity: 0; transition: opacity 0.5s ease; }
.vtile.is-playing video { opacity: 1; }
.vtile__hud { position: absolute; inset: 10px; z-index: 1; pointer-events: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg); direction: ltr; opacity: 0; transition: opacity 0.3s; }
.vtile.is-playing .vtile__hud { opacity: 1; }
.vtile__hud .hud__corner { width: 16px; height: 16px; border-width: 1.5px; }
.vtile__rec { position: absolute; top: 6px; left: 8px; display: flex; align-items: center; gap: 6px; }
.vtile__rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); animation: rec 1s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.2; } }
.vtile__play { position: absolute; z-index: 2; bottom: 14px; inset-inline-start: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgb(242 241 236 / 0.92); color: var(--ink); transition: transform 0.35s var(--ease), opacity 0.3s; }
.vtile__play .icon { width: 18px; height: 18px; transform: translateX(1.5px); }
.vtile.is-playing .vtile__play { opacity: 0; transform: scale(0.8); }
@media (hover: hover) and (pointer: fine) { .vtile:hover img { transform: scale(1.03); } }
.vfeature .vtile__play { width: 64px; height: 64px; bottom: 22px; inset-inline-start: 22px; }
.vfeature .vtile__play .icon { width: 24px; height: 24px; }
.vfeature .vtile__hud { inset: 18px; font-size: 12.5px; }
.vcard figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
.vcard__title { font-size: 16px; font-weight: 650; line-height: 1.3; }
.vcard__meta { font-size: 13.5px; color: var(--fg-2); }
.vfeature figcaption { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; }
.vfeature .vcard__title { font-size: clamp(20px, 2vw, 28px); font-weight: 700; font-stretch: 75%; }
.latin { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 1023px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 38%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .reels::-webkit-scrollbar { display: none; }
  .reels .vcard { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .reels { grid-auto-columns: 62%; }
  .vgrid { grid-template-columns: minmax(0, 1fr); }
  .vfeature figcaption { flex-direction: column; gap: 2px; }
}

/* ---------- Photographer (about) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.about__photo { position: relative; margin: 0; background: var(--panel); }
.about__photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.about__photo .hud { inset: 14px; }
.eyeaf { position: absolute; left: 65.5%; top: 28.5%; width: 17.5%; height: 15%; border: 1.5px solid var(--focus); }
@media (prefers-reduced-motion: no-preference) {
  .js .about__photo:not(.in) .eyeaf { transform: scale(1.6); opacity: 0; }
  .js .eyeaf { transition: transform 0.6s var(--snap) 0.3s, opacity 0.3s 0.3s; }
}
.about__body p { margin: 0 0 1.1em; max-width: 52ch; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.75; color: var(--fg-2); }
.about__body p.about__intro { color: var(--fg); }
.about__body .section-title { margin-bottom: clamp(22px, 3vw, 34px); }
.info { margin: clamp(26px, 4vw, 44px) 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); display: grid; gap: 10px; }
.info__row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; align-items: baseline; font-size: 15px; }
.info__row dt { color: var(--fg-3); }
.info__row dd { margin: 0; color: var(--fg); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } .about__photo { max-width: 520px; } }

/* ---------- Shutter (contact) ---------- */
.contact { padding-block: clamp(96px, 12vw, 170px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.contact__title { font-size: clamp(46px, 6.2vw, 96px); max-width: 15ch; }
.subject { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 3.5vw, 40px); }
.chip { height: 40px; padding-inline: 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg-2); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.15s; }
.chip:hover { color: var(--fg); border-color: rgb(242 241 236 / 0.4); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.msg { margin: 18px 0 0; max-width: 46ch; padding: 14px 16px; border-radius: 4px 14px 14px 14px; background: var(--panel); border: 1px solid var(--line); font-size: 15px; color: var(--fg-2); }
.msg b { display: block; margin-bottom: 4px; font-weight: 500; font-size: 12.5px; color: var(--fg-3); }
.msg span { color: var(--fg); }
.shutter-wrap { display: grid; justify-items: center; gap: 18px; }
.shutter { position: relative; display: grid; place-items: center; width: clamp(170px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #3a3a3f 0deg 2deg, #1d1d20 2deg 4deg);
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(255 255 255 / 0.1);
  transition: transform 0.2s var(--ease); }
.shutter__ring { position: absolute; inset: 9%; border-radius: 50%; background: linear-gradient(160deg, #d9d8d2, #8d8c86 45%, #5a5955 70%, #b9b8b2); box-shadow: inset 0 2px 3px rgb(255 255 255 / 0.5), inset 0 -3px 6px rgb(0 0 0 / 0.35); }
.shutter__btn { position: absolute; inset: 20%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, #ff8a4c, var(--accent) 45%, #b9420f 100%); box-shadow: 0 6px 0 #7a2a08, 0 10px 18px rgb(0 0 0 / 0.5), inset 0 2px 2px rgb(255 255 255 / 0.35); color: #fff; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.shutter__btn .icon { width: 34%; height: 34%; }
.shutter:hover .shutter__btn { transform: translateY(2px); box-shadow: 0 4px 0 #7a2a08, 0 8px 14px rgb(0 0 0 / 0.5), inset 0 2px 2px rgb(255 255 255 / 0.35); }
.shutter:active .shutter__btn, .shutter.is-pressed .shutter__btn { transform: translateY(6px); box-shadow: 0 0 0 #7a2a08, 0 4px 8px rgb(0 0 0 / 0.5), inset 0 2px 2px rgb(255 255 255 / 0.25); }
.shutter-label { font-weight: 650; font-size: 16px; }
.shutter-label small { display: block; text-align: center; font-weight: 400; font-size: 13px; color: var(--fg-3); }
.reach { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); }
.reach a { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--fg-2); transition: color 0.2s; }
.reach a:hover { color: var(--fg); }
.reach .icon { width: 20px; height: 20px; color: var(--fg-3); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .shutter-wrap { justify-items: start; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 26px; font-size: 14px; color: var(--fg-2); }
.site-footer a:hover { color: var(--fg); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer__nav a { padding-block: 3px; }
.site-footer__nav a[aria-current] { color: var(--fg); }
.site-footer__legal { margin: 0; text-wrap: pretty; }

/* ---------- Inner pages: accessibility statement and 404 ---------- */
.bar--page { position: relative; background: var(--ink); border-bottom-color: var(--line); }
.page { padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; list-style: none; font-size: 14px; color: var(--fg-2); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--fg-3); }
.crumbs a { text-decoration: underline; text-decoration-color: rgb(242 241 236 / 0.35); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg); }
.page-title { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-size: clamp(52px, 7.5vw, 104px); line-height: 0.9; text-wrap: balance; }
.prose { max-width: 68ch; margin-top: clamp(24px, 3vw, 40px); color: var(--fg-2); }
.prose .lead { font-size: 19px; color: var(--fg); }
.prose h2 { margin: 2em 0 0.5em; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--fg); }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-inline-start: 1.2em; }
.prose li + li { margin-top: 0.45em; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: rgb(242 241 236 / 0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .updated { margin-top: 2.4em; font-size: 14px; color: var(--fg-3); }

.err { position: relative; display: grid; place-items: center; min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h)); padding: 72px var(--pad); text-align: center; overflow: hidden; }
.err__frame { position: absolute; inset: 20px; pointer-events: none; }
.err__frame::before, .err__frame::after { content: ""; position: absolute; }
.err__frame::before { inset: 0 33.333%; border-inline: 1px solid var(--line); }
.err__frame::after { inset: 33.333% 0; border-block: 1px solid var(--line); }
.err__frame i, .err__af i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--hud); }
.err__af i { width: 14px; height: 14px; border-color: var(--rec); }
.err__frame i:nth-child(1), .err__af i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.err__frame i:nth-child(2), .err__af i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.err__frame i:nth-child(3), .err__af i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.err__frame i:nth-child(4), .err__af i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.err__body { position: relative; }
.err__af { position: relative; width: 76px; height: 56px; margin: 0 auto 26px; }
.err__code { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--rec); direction: ltr; unicode-bidi: isolate; }
.err__title { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 62.5%; font-size: clamp(54px, 9vw, 124px); line-height: 0.9; text-wrap: balance; }
.err__text { max-width: 40ch; margin: 18px auto 0; color: var(--fg-2); }
.err__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .err__af { animation: hunt 1.8s var(--ease) infinite; }
}
@keyframes hunt { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.22); } 70% { transform: scale(0.9); } }

/* ---------- Playback (lightbox) and monitor (video player) ---------- */
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #050506; color: var(--fg); }
.viewer::backdrop { background: rgb(5 5 6 / 0.7); }
.viewer[open] { animation: viewer-in 0.3s var(--ease); }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
.viewer__stage { position: absolute; inset: 64px clamp(16px, 6vw, 96px) 96px; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.viewer__stage img, .viewer__stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer__stage video { width: 100%; height: 100%; }
.viewer__blink { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 3; }
.viewer__blink.is-on { animation: blink-fade 0.22s ease-out; }
.pb-hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em; direction: ltr; color: var(--hud); transition: opacity 0.25s; }
.pb-hud__top { position: absolute; top: 22px; right: 20px; display: flex; align-items: center; gap: 14px; }
.pb-hud__play { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.pb-hud__play::before { content: ""; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid var(--accent); }
.pb-caption { position: absolute; bottom: 18px; right: 20px; margin: 0; max-width: min(46ch, 40vw); font-size: 14.5px; color: var(--fg); text-align: right; direction: rtl; pointer-events: none; transition: opacity 0.25s; }
.viewer__btn { position: absolute; z-index: 4; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; border: 1px solid rgb(242 241 236 / 0.16); background: rgb(242 241 236 / 0.07); color: var(--fg); transition: background-color 0.2s, transform 0.15s; }
.viewer__btn:hover { background: rgb(242 241 236 / 0.16); }
.viewer__btn:active { transform: scale(0.95); }
.viewer__close { top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-end: 14px; }
.viewer__prev, .viewer__next { top: calc(50% - 23px); }
.viewer__prev { inset-inline-start: 14px; }
.viewer__next { inset-inline-end: 14px; }
.monitor-hud { position: absolute; inset: 64px clamp(16px, 6vw, 96px) 96px; pointer-events: none; color: var(--hud); }
.monitor-cap { position: absolute; inset-inline: clamp(16px, 6vw, 96px); bottom: 30px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--fg-2); }
.monitor-cap span:first-child { color: var(--fg); font-size: 15px; }
@media (max-width: 760px) {
  .viewer__stage { inset: 120px 0 160px; }
  .viewer__prev, .viewer__next { top: auto; bottom: 16px; }
  .pb-hud__top { top: 22px; right: 16px; }
  .pb-caption { bottom: 142px; right: 16px; max-width: calc(100% - 32px); }
  .monitor-hud { inset: 60px 0 110px; }
}
html.is-locked { overflow: hidden; }
