/* adnaan faruq — "in the mood for 2046" (from the Claude Design canvas, Nov 2026) */
:root {
  --ink: #0a0807;
  --ink-deep: #050404;
  --paper: #ece4d8;
  --muted: #a89f92;
  --faint: #8a8276;
  --red: #e4575f;
  --amber: #e0a04a;
  --sans: 'Archivo Narrow', 'Arial Narrow', sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --serif: 'Cormorant Garamond', Georgia, serif;
  /* headings: Bowlby One for now. Adnaan Display (FontSource/) is parked in the backlog; to switch back, add its
     @font-face and put 'Adnaan Display' first here */
  --display: 'Bowlby One', Impact, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--paper); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; }
.page { position: relative; overflow: hidden; min-width: 320px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }
.serif-line { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; }
.section-head { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: clamp(32px, 4.2vw, 54px); line-height: 1; }
.big-head { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: clamp(40px, 6vw, 88px); line-height: 0.95; }
.text-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; padding: 12px 0; border-bottom: 1px solid rgba(236, 228, 216, 0.4); }

/* film grain */
@keyframes grainshift { 0% { transform: translate(0, 0) } 25% { transform: translate(-2%, 1%) } 50% { transform: translate(1%, -2%) } 75% { transform: translate(-1%, 2%) } 100% { transform: translate(0, 0) } }
.grain { position: fixed; inset: -10%; width: 120%; height: 120%; pointer-events: none; z-index: 60; mix-blend-mode: overlay; opacity: 0.22; animation: grainshift .9s steps(3) infinite; }

/* after midnight (00:00–05:00 local), everything goes a little redder */
.after-midnight-tint { display: none; position: fixed; inset: 0; pointer-events: none; z-index: 55; background: rgba(150, 20, 30, 0.14); mix-blend-mode: color; }
.after-midnight .after-midnight-tint { display: block; }

/* motion */
@keyframes drift { 0% { background-position: 0% 50%, 100% 40% } 50% { background-position: 30% 60%, 70% 30% } 100% { background-position: 0% 50%, 100% 40% } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9 } 50% { transform: scale(1.06); opacity: 1 } }
@keyframes flicker { 0%, 100% { opacity: 1 } 46% { opacity: 1 } 47% { opacity: .55 } 48% { opacity: 1 } 82% { opacity: .85 } 83% { opacity: 1 } }
@keyframes projector { 0% { opacity: 0; filter: brightness(2) blur(8px) } 12% { opacity: 1; filter: brightness(1.4) blur(2px) } 100% { opacity: 1; filter: brightness(1) blur(0) } }
.scene { animation: drift 30s ease-in-out infinite; }
.breathe { animation: breathe 14s ease-in-out infinite; }
.flicker { animation: flicker 7s infinite; }
.proj { animation: projector 1.6s ease-out both; }

/* hovers */
.still { transition: filter 1.2s ease, transform 2.4s ease; }
.still:hover { filter: saturate(1.25) hue-rotate(-8deg) brightness(1.08); transform: scale(1.015); }
.btn { display: inline-block; padding: 15px 26px; border: 1px solid rgba(236, 228, 216, 0.3); font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: lowercase; color: var(--paper); background: transparent; cursor: pointer; transition: background .6s ease, color .6s ease, border-color .6s ease; }
.btn.primary { border-color: rgba(236, 228, 216, 0.7); }
.btn:hover, .btn:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.glow { transition: box-shadow 1.2s ease; }
.glow:hover, .reel:hover .glow { box-shadow: 0 0 90px rgba(var(--glow), .33); }
.reel .art { transition: transform 2.4s ease, filter 1.2s ease; filter: saturate(.85); }
.reel:hover .art { transform: scale(1.03); filter: saturate(1.2); }
.frame { transition: filter 1.2s ease; filter: saturate(.8) brightness(.85); }
.frame:hover, .frame:focus-visible { filter: saturate(1.2) brightness(1.05); }
.ctrl { background: none; color: var(--paper); border: 1px solid rgba(236, 228, 216, 0.3); padding: 14px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; cursor: pointer; transition: color .5s ease, border-color .5s ease; }
.ctrl:hover, .ctrl:focus-visible { color: var(--red); border-color: var(--red); }
.ctrl.strong { border-color: rgba(236, 228, 216, 0.6); }
.field { background: transparent; border: 0; border-bottom: 1px solid rgba(236, 228, 216, 0.35); color: var(--paper); font-family: var(--mono); font-size: 16px; letter-spacing: 0.04em; padding: 12px 0; min-height: 44px; transition: border-color .6s ease; }
.field:focus { outline: none; border-bottom-color: var(--paper); }

/* header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 40; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 40px var(--gutter) 0; }
.site-header .logo { display: block; padding: 4px 0; }
.site-header .logo img { display: block; height: 40px; width: auto; }
.site-header .logo .wordmark { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; text-transform: lowercase; }
.site-nav { display: flex; gap: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; text-transform: lowercase; }
.site-nav a { padding: 12px 0; }
.site-nav a[aria-current="page"] { color: var(--amber); }

/* hero: full-screen animated backdrop with the title-card overlay */
.hero { position: relative; overflow: hidden; background: var(--ink-deep); height: 100vh; height: 100svh; min-height: 560px; }
/* animated colour blobs (site.js): a small canvas stretched and softened to fill the hero */
.hero .blobs { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform: scale(1.12); filter: blur(20px) saturate(1.4) contrast(1.05); }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 4, 4, 0.55), rgba(5, 4, 4, 0) 28%, rgba(5, 4, 4, 0) 45%, rgba(5, 4, 4, 0.88)); }
/* timecode dead centre of the hero, camera readout centred beneath it */
.hero-overlay { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; padding: 0 var(--gutter); text-align: center; pointer-events: none; }
.tc { margin: 0; display: flex; justify-content: center; align-items: baseline; gap: 0; font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; line-height: 0.82; font-size: clamp(58px, 15.5vw, 236px); font-variant-numeric: tabular-nums; color: var(--paper); text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45); }
.tc { position: relative; }
/* each digit sits in a fixed-width slot (site.js), so the timecode never changes width as it counts */
#heroTc .d { display: inline-block; width: 0.47em; text-align: center; }
#heroTc .c { display: inline-block; width: 0.25em; text-align: center; }
/* reel changeover (site.js): cue mark top-right, and the timecode softens while it rewinds */
.cue { position: absolute; top: 14%; right: 9%; z-index: 6; width: clamp(18px, 2.4vw, 36px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 248, 230, 0.9) 38%, rgba(255, 248, 230, 0) 72%); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.cue.on { animation: cue 0.6s ease-out; }
@keyframes cue { 0% { opacity: 0 } 25% { opacity: 0.9 } 100% { opacity: 0 } }
.tc #heroTc { transition: filter .4s ease, opacity .4s ease; }
.tc.rewinding #heroTc { filter: blur(0.6px); opacity: 0.85; }
/* the tc / t− label hangs off the left so the digits themselves sit dead centre */
.tc small { position: absolute; right: 100%; bottom: 0.2em; margin-right: 0.6em; font-family: var(--mono); font-size: 0.13em; letter-spacing: 0.24em; font-weight: 400; color: #b5ab9c; white-space: nowrap; }
/* camera readout sits bottom-left, level with the buttons bottom-right */
.readout { position: absolute; left: var(--gutter); bottom: clamp(32px, 6vh, 64px); min-height: 44px; max-width: calc(100% - 2 * var(--gutter) - 380px); justify-content: flex-start; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--paper); font-variant-numeric: tabular-nums; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.readout .rec { display: flex; align-items: center; gap: 10px; }
.readout .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.readout .k { color: #b5ab9c; margin-right: 6px; }
.hero-controls { position: absolute; right: var(--gutter); bottom: clamp(32px, 6vh, 64px); z-index: 6; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.pill, .sound { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(236, 228, 216, 0.35); border-radius: 999px; background: rgba(5, 4, 4, 0.45); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .5s ease, color .5s ease; }
.sound:hover, .sound:focus-visible, .pill:hover, .pill:focus-visible { border-color: var(--paper); }
.pill[aria-pressed="true"] { color: var(--amber); border-color: rgba(224, 160, 74, 0.6); }
.sound svg { width: 16px; height: 16px; fill: currentColor; }
/* both states share one grid cell, so the buttons never change size */
.pill .stack, .sound .stack { display: inline-grid; }
.pill .stack > *, .sound .stack > * { grid-area: 1 / 1; }
.pill .on, .sound .on { visibility: hidden; }
.sound.playing .on, .pill[aria-pressed="true"] .on { visibility: visible; }
.sound.playing .off, .pill[aria-pressed="true"] .off { visibility: hidden; }
.sound.playing { color: var(--red); border-color: rgba(228, 87, 95, 0.6); }

/* featured release */
.featured { position: relative; overflow: hidden; padding: 160px var(--gutter) 180px; }
.featured .bg-img { position: absolute; top: -80px; left: -80px; width: calc(100% + 160px); height: calc(100% + 160px); max-width: none; object-fit: cover; filter: blur(36px) saturate(1.2) brightness(0.4); }
.featured .bg-light { position: absolute; inset: -80px; filter: blur(40px); }
.featured .inner { position: relative; max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.featured .cover { flex: 1 1 380px; max-width: 520px; aspect-ratio: 1 / 1; position: relative; display: block; overflow: hidden; background: #2a0508; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
.cover img, .art-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured .text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 22px; }
.featured .tagline { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; text-transform: lowercase; color: var(--paper); }
.featured h1, .featured h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(76px, 11vw, 160px); line-height: 0.88; letter-spacing: 0; }
.featured .long { font-size: clamp(48px, 6.2vw, 96px); line-height: 0.92; }
.featured.flip .inner { flex-direction: row-reverse; }
/* on the Music page the features stack; a hairline between them */
.featured + .featured { border-top: 1px solid rgba(236, 228, 216, 0.06); }
.featured .btns { margin-top: 18px; }

/* release cards */
.section { position: relative; padding: 140px var(--gutter); }
.section-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-top .titles { display: flex; flex-direction: column; gap: 14px; }
.release-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 72px 56px; }
.release-grid.compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 560px)); }
.reel { display: flex; flex-direction: column; gap: 20px; }
.art-box { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.reel .meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.reel h2, .reel h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: 36px; line-height: 1; }
/* hovering anywhere on a release (artwork, title or a button) lights the title in its accent, in step with the artwork zoom */
.reel h2 a, .reel h3 a { color: var(--paper); transition: color 1.2s ease; }
.reel:hover h2 a, .reel:hover h3 a, .reel:focus-within h2 a, .reel:focus-within h3 a { color: rgb(var(--glow)); }
.reel:focus-within .art { transform: scale(1.03); filter: saturate(1.2); }
.reel .kind { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }
.reel .btn { padding: 14px 22px; letter-spacing: 0.22em; }

/* page header (music, gallery) */
.page-head { position: relative; padding: 260px var(--gutter) 140px; overflow: hidden; }
.page-head.gallery { padding: 240px var(--gutter) 110px; }
.page-head .light { position: absolute; inset: 0; }
.page-head .wrap { position: relative; display: flex; flex-direction: column; gap: 18px; }

/* stills */
.stills { position: relative; padding: 120px var(--gutter) 160px; background: linear-gradient(180deg, var(--ink), #06100f); }
.stills .wrap { display: flex; flex-direction: column; gap: 48px; }
.still-link { display: flex; flex-direction: column; gap: 12px; }
.still-box { display: block; position: relative; overflow: hidden; background: #000; }
.still-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-wide { aspect-ratio: 2.39 / 1; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.stills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }

/* gallery */
.film { padding: 0 var(--gutter) 180px; }
/* bento grids. Tiles are locked to the three crop shapes in ContentModel/Bento.cs, so each photo shows exactly
   the crop chosen for it in Umbraco. Gallery: blocks of six on 6 columns, every tile 16:10 (big tiles span 4x2).
   Home: big 6:5, wide 2.39:1, two small 6:5. Phones: two columns, every third tile full-width 2.39:1, the rest 6:5. */
.bento { display: grid; gap: 14px; grid-auto-flow: dense; align-items: stretch; }
.bento .tile { position: relative; margin: 0; overflow: hidden; background: #000; min-height: 0; aspect-ratio: 16 / 10; align-self: stretch; justify-self: stretch; }
.bento .tile picture { display: contents; }
.bento .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento .tile .frame { position: absolute; inset: 0; width: auto; aspect-ratio: auto; }
.bento-gallery { grid-template-columns: repeat(6, 1fr); }
.bento-gallery .tile:nth-child(6n+1) { grid-column: span 4; grid-row: span 2; }
.bento-gallery .tile:nth-child(6n+2), .bento-gallery .tile:nth-child(6n+3) { grid-column: span 2; }
.bento-gallery .tile:nth-child(6n+4), .bento-gallery .tile:nth-child(6n+5) { grid-column: 1 / span 2; }
.bento-gallery .tile:nth-child(6n) { grid-column: 3 / span 4; grid-row: span 2; }
.bento-home { grid-template-columns: repeat(4, 1fr); }
.bento-home .tile { aspect-ratio: 6 / 5; }
.bento-home .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-home .tile:nth-child(2) { grid-column: span 2; aspect-ratio: 2.39 / 1; }
@media (max-width: 700px) {
  .bento-gallery, .bento-home { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bento .tile:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 6 / 5; }
  .bento .tile:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 2.39 / 1; }
}

.film-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 64px 40px; }
.film figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.film .frame { all: unset; cursor: pointer; display: block; position: relative; width: 100%; aspect-ratio: 2.39 / 1; background: #000; outline-offset: 4px; filter: saturate(.8) brightness(.85); transition: filter 1.2s ease; }
.film .frame:hover, .film .frame:focus-visible { filter: saturate(1.2) brightness(1.05); }
.film .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film .frame:focus-visible { outline: 1px solid var(--paper); }
.frame-no { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; color: var(--paper); background: rgba(0, 0, 0, 0.55); padding: 4px 8px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox .screen { width: min(1200px, 100%); height: min(72vh, 760px); position: relative; }
.lightbox .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 60px rgba(224, 160, 74, 0.18)); }
.lightbox .controls { display: flex; gap: 16px; }

/* release page */
.release-hero { position: relative; overflow: hidden; padding: 200px var(--gutter) 180px; }
.release-hero .light { position: absolute; inset: -120px; filter: blur(60px); }
.release-hero .inner { position: relative; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center; }
.release-hero .cover { width: min(560px, 100%); aspect-ratio: 1 / 1; position: relative; background: #2a0508; box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7); }
.release-hero .titles { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.release-hero h1 { margin: 0; font-weight: 500; font-size: clamp(88px, 12vw, 168px); line-height: 0.85; }
.release-hero .btns { justify-content: center; gap: 12px; }
.release-hero .btn { padding: 15px 28px; }

/* stream & follow */
.listen { position: relative; padding: 140px var(--gutter); background: var(--ink); border-top: 1px solid rgba(236, 228, 216, 0.06); }
.listen .wrap { display: flex; flex-direction: column; gap: 48px; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.plat { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid rgba(236, 228, 216, 0.18); transition: border-color .6s ease, background .6s ease; }
.plat svg { flex: none; width: 26px; height: 26px; fill: currentColor; }
.plat .pt { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.plat .pt b { font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.plat .pt span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--muted); }
.plat .go { font-family: var(--mono); color: var(--muted); transition: transform .6s ease, color .6s ease; }
.plat:hover, .plat:focus-visible { color: var(--paper); border-color: rgba(236, 228, 216, 0.6); background: rgba(236, 228, 216, 0.03); }
.plat:hover .go, .plat:focus-visible .go { transform: translateX(6px); color: var(--red); }


/* release landing page: the original site's simple streaming-landing layout, in the new look */
.landing { position: relative; min-height: 100vh; overflow: hidden; display: flex; justify-content: center; padding: 140px var(--gutter) 120px; }
.landing-bg { position: absolute; inset: 0; z-index: 0; }
.landing-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.3); filter: blur(60px) saturate(1.3) brightness(0.55); }
.landing-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 7, 0.35), rgba(10, 8, 7, 0.75)); }
.landing-card { position: relative; z-index: 1; width: min(420px, 100%); display: flex; flex-direction: column; background: rgba(10, 8, 7, 0.72); border: 1px solid rgba(236, 228, 216, 0.12); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 90px rgba(var(--glow), 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.landing-art { position: relative; aspect-ratio: 1 / 1; background: #000; }
.landing-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landing-head { padding: 22px 24px; text-align: center; border-bottom: 1px solid rgba(236, 228, 216, 0.1); }
.landing-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: 0; line-height: 1.1; color: var(--paper); text-wrap: balance; }
.landing-head p { margin: 8px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; color: var(--muted); }
.landing-links { list-style: none; margin: 0; padding: 0; }
.landing-links li + li { border-top: 1px solid rgba(236, 228, 216, 0.08); }
.landing-link { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 24px; color: var(--paper); transition: background .4s ease; }
.landing-link .logo { display: inline-flex; width: 26px; height: 26px; }
.landing-link .logo svg { width: 100%; height: 100%; fill: currentColor; }
.landing-link .name { flex: 1; font-size: 19px; font-weight: 500; letter-spacing: -0.005em; }
.landing-link .play { padding: 9px 18px; border: 1px solid rgba(236, 228, 216, 0.45); font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; transition: background .4s ease, color .4s ease, border-color .4s ease; }
.landing-link:hover, .landing-link:focus-visible { color: var(--paper); background: rgba(236, 228, 216, 0.05); }
.landing-link:hover .play, .landing-link:focus-visible .play { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* footer: icon links */
.elsewhere a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--muted); transition: color .4s ease, background .4s ease; }
.elsewhere a svg { width: 20px; height: 20px; fill: currentColor; }
.elsewhere a:hover, .elsewhere a:focus-visible { color: var(--paper); background: rgba(236, 228, 216, 0.06); }

/* note */
.note { position: relative; padding: 140px var(--gutter); background: #070605; border-top: 1px solid rgba(236, 228, 216, 0.06); }
.note .inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.note form { width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.note label { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--muted); }
.note .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note .error { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--red); }

/* error page (404) */
.error-page { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 160px var(--gutter) 120px; }
.error-page .light { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 70% 40%, rgba(228, 87, 95, 0.32), transparent 70%), radial-gradient(ellipse 40% 50% at 15% 85%, rgba(224, 160, 74, 0.18), transparent 70%); }
.error-page .wrap { position: relative; display: flex; flex-direction: column; gap: 28px; }
.error-code { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(120px, 24vw, 340px); line-height: 0.8; letter-spacing: 0; }
.error-line { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.4vw, 42px); color: var(--paper); }

/* footer */
.site-footer { padding: 120px var(--gutter) 64px; background: var(--ink-deep); border-top: 1px solid rgba(236, 228, 216, 0.08); }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.site-footer .serif-line { font-size: clamp(28px, 3.4vw, 44px); }
.elsewhere { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.copyright { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; color: var(--faint); }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  /* no room beside the buttons on a phone: the readout goes back under the timecode */
  .readout { position: static; max-width: none; min-height: 0; justify-content: center; text-align: center; }
  .hero-controls { left: var(--gutter); right: var(--gutter); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .scene, .breathe, .flicker, .proj { animation: none; }
  .still, .reel .art, .frame { transition: none; }
}
