/* Layout concept: quiet white page, one typeface, generous space.
   The only "decoration" is the two photo masks carried over from the old site. */
:root {
  /* Dark only, by choice */
  --paper: #0d0d0e;
  --ink: #f3f3f4;
  --muted: #9d9da3;
  --faint: #5f5f65;
  --line: #242427;
  --wash: #17171a;
  --accent: #b9472f; /* the red of the shirt in the home photo */
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 14px;
  color-scheme: dark;
}
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .article a, .text-link { text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; }
p a:hover, .article a:hover, .text-link:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kicker { font-size: 13px; color: var(--muted); letter-spacing: 0.01em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }

/* arrow icon */
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.12em; margin-left: 0.3em; }

/* masks from the original site */
.mask-squircle { clip-path: url(#m-squircle); }
.mask-octagon { clip-path: url(#m-octagon); }

/* ---------- header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.mark { font-weight: 600; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; }
.head-right { display: flex; align-items: center; gap: 6px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; padding: 6px 11px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted); transition: all .15s; }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a, .nav summary { font-size: 14.5px; padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover, .nav summary:hover { color: var(--ink); }
.nav a[aria-current="page"], .nav .is-current > summary { color: var(--ink); background: var(--wash); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav details .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: grid; box-shadow: 0 16px 40px rgb(0 0 0 / 0.07); }
.nav details .sub a { border-radius: 8px; padding: 9px 12px; }
.nav details .sub a:hover { background: var(--wash); }
.menu-btn { display: none; font: inherit; font-size: 14px; background: var(--wash); border: 0; border-radius: 999px; padding: 8px 16px; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(var(--gut), env(safe-area-inset-right, 0px)) 24px max(var(--gut), env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a, .nav summary { padding: 13px 0; font-size: 18px; border-radius: 0; color: var(--ink); }
  .nav a[aria-current="page"] { background: none; font-weight: 600; }
  .nav details .sub { position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; }
}

/* ---------- page heading ---------- */
.page-head { padding-block: clamp(56px, 9vw, 120px) clamp(36px, 5vw, 64px); display: grid; gap: 16px; }
/* round orange dot after names and titles */
.dotted::after { content: ""; display: inline-block; width: 0.13em; height: 0.13em; min-width: 5px; min-height: 5px; margin-left: 0.07em; border-radius: 50%; background: var(--accent); vertical-align: baseline; }
.page-head h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.page-head .lede { max-width: 56ch; color: var(--muted); font-size: 18px; }
main { padding-bottom: clamp(80px, 10vw, 140px); }
section + section { margin-top: clamp(72px, 9vw, 120px); }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-title h2 { font-size: clamp(22px, 2.6vw, 30px); }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 8vw, 110px) clamp(40px, 5vw, 64px); }
.divider { border: 0; height: 1px; margin: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .55) 18%, rgb(255 255 255 / .55) 82%, transparent); }
section.split { margin-top: 0; }
.hero h1 { margin-left: -0.035em; /* optical alignment with the line below */ font-size: clamp(52px, 9vw, 128px); font-weight: 650; letter-spacing: -0.055em; line-height: 0.92; }
.hero .role { font-size: clamp(17px, 1.8vw, 20px); margin-top: 24px; color: var(--muted); }
.hero-img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
/* 20% black over the two home photos */
.hero-img, .split-img { filter: brightness(0.8); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 5vw, 64px) clamp(56px, 8vw, 110px); }
.split-img { aspect-ratio: 5 / 6; object-fit: cover; width: 100%; }
.fields { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fields li { font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.fields li:nth-child(even) { color: var(--faint); }
@media (max-width: 760px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .split-img { order: 2; }
}
.selected { margin-top: 0; padding-bottom: clamp(56px, 8vw, 100px); }
.sel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .sel-grid { grid-template-columns: minmax(0, 1fr); } }
.sel { display: grid; gap: 16px; align-content: start; }
.sel .thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--wash); }
.sel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sel:hover img { transform: scale(1.03); }
.sel h3 { font-size: 22px; margin-top: 6px; }
.sel .line { color: var(--muted); font-size: 15px; margin-top: 6px; }
.sel:hover h3 { color: var(--accent); }
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .index { grid-template-columns: minmax(0, 1fr); } }
.index a { background: var(--wash); border-radius: var(--r); padding: 22px 24px 20px; display: grid; gap: 28px; transition: background .2s; }
.index a:hover { background: var(--line); }
.index .name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 12px; }
.index .name::after { content: ""; width: 20px; height: 20px; flex: none; margin-top: 4px; background: var(--faint); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12h14M13 6l6 6-6 6%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M5 12h14M13 6l6 6-6 6%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s, background .2s; }
.index a:hover .name::after { transform: translateX(3px); background: var(--accent); }
.index .meta { font-size: 14px; color: var(--muted); }

/* ---------- theater ---------- */
.year { font-size: 14px; color: var(--muted); padding: 40px 0 6px; }
.year:first-child { padding-top: 0; }
.show { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr) 38px; gap: 24px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.show img { width: 76px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--wash); }
.show h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.show .venue { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.show .roles { font-size: 14.5px; color: var(--muted); }
.show .go { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 16px; justify-self: end; transition: all .2s; }
.show .go .ic { margin: 0; }
.show:hover .go { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 720px) {
  .show { grid-template-columns: 64px minmax(0, 1fr) 34px; gap: 4px 16px; grid-template-areas: "img t go" "img r go"; }
  .show img { grid-area: img; width: 64px; }
  .show > div:first-of-type { grid-area: t; }
  .show .roles { grid-area: r; font-size: 13.5px; }
  .show .go { grid-area: go; width: 34px; height: 34px; align-self: center; }
}

/* ---------- media ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; width: 100%; max-width: 100%; border-radius: var(--r); }
.yt button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .95; }
.yt button:hover img { transform: scale(1.025); opacity: 1; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgb(255 255 255 / .9); backdrop-filter: blur(6px); transition: transform .2s; }
.yt .play::before { content: ""; position: absolute; left: 22px; top: 18px; border-left: 14px solid #111; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.yt button:hover .play { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sc { border-radius: var(--r); overflow: hidden; }
.sc iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- studio ---------- */
.banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.filters button { font: inherit; font-size: 14px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; cursor: pointer; transition: all .15s; }
.filters button:hover { color: var(--ink); border-color: var(--faint); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters .n { opacity: .55; margin-left: 5px; font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; gap: 14px; align-content: start; min-width: 0; }
.card h3 { font-size: 16.5px; font-weight: 550; letter-spacing: -0.01em; line-height: 1.35; }
.card .meta { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.featured { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; margin-bottom: 72px; }
.featured h3 { font-size: clamp(26px, 3vw, 36px); }
.featured .note { color: var(--muted); margin-top: 14px; }
.featured .meta { font-size: 14px; color: var(--muted); margin-top: 18px; }
@media (max-width: 800px) { .featured { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- music ---------- */
.track { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 40px 0; border-top: 1px solid var(--line); align-items: center; }
.track:first-child { border-top: 0; padding-top: 0; }
.track h2 { font-size: clamp(22px, 2.4vw, 28px); }
.track .roles { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.track .note { margin-top: 16px; color: var(--muted); max-width: 50ch; }
@media (max-width: 800px) { .track { grid-template-columns: minmax(0, 1fr); gap: 16px; } .track .text { order: -1; } }

/* ---------- music tech ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .proj-grid { grid-template-columns: minmax(0, 1fr); } }
.proj { display: grid; gap: 14px; align-content: start; }
.proj .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wash); border-radius: var(--r); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj:hover img { transform: scale(1.03); }
.proj h3 { font-size: 18px; }
.proj p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 720px; font-size: 17px; }
.article .cover img { border-radius: var(--r); }
.article h2 { font-size: 22px; margin-top: 28px; }
.article ul { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.article figure { margin: 0; display: grid; gap: 10px; }
.article figure img { border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.article figcaption { font-size: 14px; color: var(--muted); }
.article .mono { font-family: var(--mono); font-size: 13.5px; background: var(--wash); padding: 16px 18px; border-radius: 10px; overflow-x: auto; white-space: pre; }
.ext { font-size: 16px; }
.ext .ic, .links .ic { color: var(--faint); }
.ext:hover .ic, .links a:hover .ic { color: var(--accent); }
.btn .ic { margin-left: 2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; justify-self: start; border: 0; cursor: pointer; font-family: inherit; text-decoration: none; transition: opacity .15s; }
.btn:hover { opacity: .82; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager a { display: grid; gap: 2px; }
.pager a:last-child { text-align: right; }
.pager span { font-size: 13.5px; color: var(--muted); }
.pager strong { font-size: 18px; font-weight: 600; }

/* ---------- academic ---------- */
.acad { display: grid; gap: 12px; align-content: start; }
.acad .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--wash); border-radius: var(--r); display: block; }
.acad img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acad .thumb:hover img { transform: scale(1.03); }
.acad h3 { font-size: 17px; line-height: 1.3; }
.links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px; }
.links a { color: var(--muted); }
.links a:hover { color: var(--ink); }

/* ---------- cv ---------- */
.cv { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 7vw, 110px); }
@media (max-width: 900px) { .cv { grid-template-columns: minmax(0, 1fr); } }
.objective { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -0.015em; max-width: 36ch; margin-bottom: 64px; }
.cv h2.h { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.entry { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.entry .when { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.entry h3 { font-size: 18px; }
.entry .org { font-size: 14.5px; color: var(--muted); margin: 4px 0 10px; }
.entry p { font-size: 15.5px; }
@media (max-width: 600px) { .entry { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.side { display: grid; gap: 44px; align-content: start; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.side li span { color: var(--muted); text-align: right; }
.side dl { margin: 0; display: grid; gap: 12px; font-size: 15px; }
.side dt { font-size: 13px; color: var(--muted); }
.side dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact .photo { aspect-ratio: 750 / 1123; object-fit: cover; object-position: center top; width: 100%; max-width: 460px; justify-self: center; }
.big-mail { font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.form { display: grid; gap: 14px; margin-top: 44px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--wash); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s, background .15s; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.form .hint { font-size: 13.5px; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; }
.form-status.ok { color: #7fd99b; }
.form-status.err { color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: wait; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.socials svg { width: 19px; height: 19px; display: block; }

/* ---------- footer ---------- */
.site-foot { padding-block: 40px 56px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; font-size: 14.5px; }
.foot-row .copy { color: var(--faint); }


/* ================= motion & depth ================= */
/* smooth page changes (browsers that support it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.site-head { view-transition-name: header; }

/* header tightens once you scroll */
.head-row { transition: min-height .3s ease; }
.site-head { transition: box-shadow .3s ease, background .3s ease; }
.site-head.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-head.scrolled .head-row { min-height: 60px; }

/* name rises in line by line on load */
.intro .ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.intro .ln > span { display: inline-block; animation: rise 1s cubic-bezier(.2,.75,.15,1) both; }
.intro .ln:nth-child(2) > span { animation-delay: .12s; }
.hero .role { animation: fade-up .9s .45s cubic-bezier(.2,.75,.15,1) both; }
.hero-img { animation: settle 1.4s .1s cubic-bezier(.2,.75,.15,1) both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } }

/* soft reveal while scrolling (only for things below the first screen) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.75,.15,1), transform .9s cubic-bezier(.2,.75,.15,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* depth: photos drift slower than the page */
.hero-img, .split-img { will-change: translate; }

/* sound-wave divider */
.wave-wrap { position: relative; height: 56px; margin: 0; }
.wave-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .5) 18%, rgb(255 255 255 / .5) 82%, transparent); }
.wave-wrap.live::before { display: none; }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* gentle 3D tilt (mouse only) */
.tilt { transition: transform .5s cubic-bezier(.2,.75,.15,1); transform-style: preserve-3d; }
.tilt.tilting { transition: transform .12s linear; }

/* theater rows: poster lifts on hover */
.show img { transition: transform .4s cubic-bezier(.2,.75,.15,1); }
.show:hover img { transform: scale(1.08) rotate(-2deg); }

/* animated underline in the menu */
@media (min-width: 961px) {
  .nav > a { position: relative; }
  .nav > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
  .nav > a:hover::after { transform: scaleX(1); }
}


/* ================= futuristic layer ================= */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.cursor-ring { position: fixed; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 1.5px solid rgb(255 255 255 / .55); border-radius: 50%; pointer-events: none; z-index: 100; opacity: 0; transition: width .25s ease, height .25s ease, margin .25s ease, opacity .25s ease, border-color .25s ease, background .25s ease; }
.cursor-ring.on { opacity: 1; }
.cursor-ring.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--accent); background: rgb(185 71 47 / .08); }

/* mouse light on cards */
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .09), transparent 65%); z-index: 2; }
.glow:hover::after { opacity: 1; }
/* hero: a technical dot grid that appears only around the mouse */
.hero.glow::after { inset: -40px calc(-1 * var(--gut)); border-radius: 0; z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / .22) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask: radial-gradient(220px circle at calc(var(--mx, 50%) + var(--gut)) calc(var(--my, 50%) + 40px), #000, transparent 75%);
  mask: radial-gradient(220px circle at calc(var(--mx, 50%) + var(--gut)) calc(var(--my, 50%) + 40px), #000, transparent 75%); }


/* frosted fade at the bottom of the screen, like the top bar */
body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: calc(72px + env(safe-area-inset-bottom, 0px)); z-index: 15; pointer-events: none;
  background: linear-gradient(to top, color-mix(in srgb, var(--paper) 85%, transparent), transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  -webkit-mask: linear-gradient(to top, #000 30%, transparent); mask: linear-gradient(to top, #000 30%, transparent); }

/* name in capitals */
.hero h1 { text-transform: uppercase; letter-spacing: -0.035em; }
.mark { text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } @view-transition { navigation: none; } .cursor-ring { display: none; } }
