/* POCCO fan site (unofficial) — deep black & crimson, EDM DJ-live. Typography, light and hairlines only: no illustrations. */
:root {
  color-scheme: dark;
  --bg: #050507;
  --panel: #0c0c10;
  --red: #d4122e;
  --red-hi: #ff3350;
  --red-deep: #6e0a1a;
  --fg: #f3f3f5;
  --mute: #9b9ba8;
  --line: rgba(255, 255, 255, 0.1);
  --line-red: rgba(212, 18, 46, 0.5);
  --display: "Syncopate", "Zen Kaku Gothic New", system-ui, sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --notice-h: 32px;
  --header-h: 54px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--notice-h) + var(--header-h) + 20px); }
body {
  font-family: var(--body); font-size: 16px; line-height: 1.85; color: var(--fg); -webkit-font-smoothing: antialiased;
  background: radial-gradient(1000px 520px at 50% -6%, rgba(212, 18, 46, 0.22), transparent 66%), var(--bg);
  background-repeat: no-repeat; overflow-x: hidden;
}
body::after { /* fine grain for depth */
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, iframe, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

/* Unofficial notice: always visible */
.notice {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--notice-h);
  display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter);
  background: linear-gradient(90deg, #7d0a1c, var(--red) 50%, #7d0a1c); color: #fff;
  font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-align: center; white-space: nowrap; overflow: hidden;
}

/* Header */
.site-header {
  position: fixed; z-index: 20; top: var(--notice-h); left: 0; right: 0; height: var(--header-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; }
.logo small { margin-left: 10px; font-size: 8px; font-weight: 400; letter-spacing: 0.3em; color: var(--red-hi); }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--display); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav a { position: relative; padding: 6px 0; color: var(--mute); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red-hi); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.nav a[lang] { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; color: #fff; }
.nav a[lang]::after { display: none; }
.nav a[lang]:hover { border-color: var(--red-hi); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; margin-right: -10px; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fg); transition: transform .25s; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero: laser rig over haze */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(94vh, 760px); min-height: min(94dvh, 760px); padding: calc(var(--notice-h) + var(--header-h) + 64px) var(--gutter) 0;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse 80% 55% at 50% 100%, rgba(212, 18, 46, 0.5), transparent 70%); }
.lasers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.beam { position: absolute; bottom: -4%; left: var(--x); width: min(70vw, 520px); height: 130%; margin-left: calc(min(70vw, 520px) / -2); transform-origin: 50% 100%; mix-blend-mode: screen; transform: rotate(var(--a)); animation: sweep var(--t) ease-in-out infinite alternate; animation-delay: var(--dl); }
.beam::before, .beam::after { content: ""; position: absolute; inset: 0; }
.beam::before { background: linear-gradient(to top, var(--c), transparent 80%); opacity: 0.3; filter: blur(9px); clip-path: polygon(46% 100%, 54% 100%, 60% 0, 40% 0); }
.beam::after { opacity: 0.7; background: linear-gradient(to top, var(--c), transparent 92%); clip-path: polygon(49.6% 100%, 50.4% 100%, 52.2% 0, 47.8% 0); }
/* text-side scrim so copy stays legible over the beams */
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 7, 0.78), rgba(5, 5, 7, 0.3) 55%, transparent); pointer-events: none; }
@keyframes sweep { to { transform: rotate(calc(var(--a) * -1)); } }

.badge { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 14px; border: 1px solid var(--line-red); border-radius: 6px; background: rgba(212, 18, 46, 0.12); font-family: var(--display); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: #ff8a9a; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(44px, 14vw, 190px); line-height: 1; letter-spacing: 0.02em; margin: 18px 0 14px -0.02em; color: #fff;
  text-shadow: 0 0 28px rgba(255, 51, 80, 0.55), 0 0 90px rgba(212, 18, 46, 0.5);
}
.genre { font-family: var(--display); font-size: clamp(10px, 1.6vw, 14px); letter-spacing: 0.42em; text-transform: uppercase; color: var(--red-hi); }
.tagline { margin-top: 14px; color: #c9c9d2; font-size: 15px; text-shadow: 0 1px 12px var(--bg), 0 0 4px var(--bg); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 34px; }
.btn { display: inline-flex; align-items: center; padding: 15px 26px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; font-family: var(--display); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; transition: border-color .2s, box-shadow .2s, background .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); border-color: var(--red-hi); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 28px rgba(212, 18, 46, 0.45); }
.btn-red:hover { background: var(--red-hi); box-shadow: 0 0 40px rgba(255, 51, 80, 0.6); }

/* Equalizer: mirrored hairline bars */
.eq { display: flex; align-items: center; justify-content: space-between; height: 84px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.eq span { flex: none; width: 3px; height: 100%; border-radius: 2px; transform-origin: center; background: linear-gradient(to bottom, rgba(255, 51, 80, 0), var(--red-hi) 30%, var(--red) 50%, var(--red-hi) 70%, rgba(255, 51, 80, 0)); animation: eq calc(0.8s + var(--d) * 0.13s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.09s); }
@keyframes eq { from { transform: scaleY(0.06); } to { transform: scaleY(1); } }
.eq-sm { height: 30px; max-width: 420px; margin: 0 auto 22px; padding: 0; }

/* Ticker */
.ticker { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: 13px 0; background: rgba(255, 255, 255, 0.02); }
.ticker-track { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; animation: marquee 40s linear infinite; font-family: var(--display); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mute); }
.ticker-track em { font-style: normal; color: #fff; }
.ticker-track i { width: 6px; height: 6px; background: var(--red-hi); transform: rotate(45deg); box-shadow: 0 0 10px var(--red-hi); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1120px; margin: 0 auto; padding: clamp(60px, 9vw, 112px) var(--gutter) 0; }
.sec-title { margin-bottom: clamp(26px, 4vw, 44px); }
.sec-title i { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-style: normal; font-family: var(--display); font-size: 11px; letter-spacing: 0.3em; color: var(--red-hi); }
.sec-title i::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--red), transparent); }
.sec-title b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 5.6vw, 54px); line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.sec-title small { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--mute); }

/* Link cards */
.group + .group { margin-top: 30px; }
.group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--display); font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--red-hi); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.card {
  position: relative; display: grid; grid-template-columns: 44px 1fr 18px; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 14px;
  background: linear-gradient(180deg, #111116, #09090c); border: 1px solid var(--line); box-shadow: inset 2px 0 0 var(--red);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); border-color: var(--red); box-shadow: inset 2px 0 0 var(--red-hi), 0 12px 44px rgba(212, 18, 46, 0.35); }
.card > .card-ico { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; color: #fff; background: rgba(255, 255, 255, 0.03); transition: background .2s, border-color .2s; }
.card:hover > .card-ico { background: var(--red); border-color: var(--red); }
.card-ico svg { width: 20px; height: 20px; fill: currentColor; }
.card-ico svg.line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card b { display: block; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5; }
.card > div > span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.5; }
.card-arrow { width: 14px; height: 14px; color: var(--mute); transition: transform .2s, color .2s; }
.card:hover .card-arrow { transform: translate(3px, -3px); color: var(--red-hi); }

/* Media */
.stage-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.frame-label { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--display); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute); }
.frame-label::before { content: ""; width: 6px; height: 6px; background: var(--red-hi); transform: rotate(45deg); box-shadow: 0 0 10px var(--red-hi); }
.frame { border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-red), 0 24px 90px rgba(212, 18, 46, 0.28); }
.embed-frame { border: 0; width: 100%; background: #000; }
.embed-video { aspect-ratio: 16 / 9; }
.embed-audio { height: 352px; }
.note { margin-top: 16px; font-size: 13px; color: var(--mute); }

/* About */
.about-card { padding: clamp(22px, 4vw, 40px); border-radius: 16px; background: linear-gradient(180deg, #0f0f14, #08080b); border: 1px solid var(--line); }
.lead { max-width: 64ch; color: #e6e6ec; }
.lead + .lead { margin-top: 12px; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 26px; }
.chip { padding: 12px 16px; border-left: 2px solid var(--red); background: rgba(255, 255, 255, 0.03); border-radius: 0 10px 10px 0; }
.chip dt { font-family: var(--display); font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-hi); margin-bottom: 2px; }
.chip dd { font-weight: 700; font-size: 14px; line-height: 1.6; }
.chip a { text-decoration: underline; text-decoration-color: var(--red-hi); text-underline-offset: 4px; }
.about-card .note { margin-top: 22px; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa dt { display: flex; gap: 16px; align-items: baseline; font-weight: 700; }
.qa dt::before { content: "Q"; flex: none; font-family: var(--display); font-size: 11px; color: var(--red-hi); }
.qa dd { margin: 6px 0 0 27px; color: var(--mute); font-size: 15px; }

/* About this site */
.disclaimer { max-width: 860px; padding: 26px; border-radius: 14px; border: 1px dashed var(--line-red); background: rgba(212, 18, 46, 0.06); }
.disclaimer h3 { margin-bottom: 10px; font-size: 16px; color: #ff8a9a; }
.disclaimer p { font-size: 14px; color: #dcdce2; }
.disclaimer p + p { margin-top: 10px; }

.site-footer { margin-top: clamp(64px, 10vw, 112px); padding: 44px var(--gutter) 38px; text-align: center; font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); background: linear-gradient(to top, rgba(212, 18, 46, 0.14), transparent); }
.site-footer p + p { margin-top: 6px; }

@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .notice { font-size: 11px; letter-spacing: 0.02em; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8, 8, 11, 0.98); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 18px var(--gutter); border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a[lang] { margin: 12px var(--gutter) 14px; padding: 14px; text-align: center; }
  .hero::after { background: linear-gradient(to top, rgba(5, 5, 7, 0.82), rgba(5, 5, 7, 0.5) 55%, transparent 88%); }
  .eq { height: 64px; }
  .eq span:nth-child(n+41) { display: none; }
  .card { grid-template-columns: 44px 1fr 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam, .badge i, .eq span, .ticker-track, .frame::after, .hero > * { animation: none !important; }
  .eq span { transform: scaleY(0.55); }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ================= Modern web platform layer (progressive enhancement) ================= */
html { scrollbar-color: var(--red) var(--bg); accent-color: var(--red); }
body { text-wrap: pretty; }
:lang(ja) { word-break: auto-phrase; line-break: strict; }          /* phrase-aware Japanese line breaks (Chromium); ignored elsewhere */
h1, h2, h3, .tagline, .sec-title b { text-wrap: balance; }

/* Cross-document view transition (JA/EN switch) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Skip link */
.skip { position: absolute; z-index: 60; left: 16px; top: calc(var(--notice-h) + 8px); padding: 10px 16px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* Hero canvas (WebGL) and entrance */
.gl { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.gl-on .gl { opacity: 1; }
.gl-on .lasers, .gl-on .hero::before { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.hero > .badge, .hero > h1, .hero > .genre, .hero > .tagline, .hero > .hero-cta { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--k, 0) * 90ms + 120ms); }
.hero > .badge { --k: 0; } .hero > h1 { --k: 1; } .hero > .genre { --k: 2; } .hero > .tagline { --k: 3; } .hero > .hero-cta { --k: 4; }

/* Card spotlight */
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 51, 80, 0.22), transparent 70%); }
.card:hover::before { opacity: 1; }
@supports (color: color-mix(in oklab, red, blue)) {
  .card:hover { background: color-mix(in oklab, var(--red) 9%, #0b0b0f); }
  .btn:not(.btn-red):hover { background: color-mix(in oklab, var(--red) 14%, transparent); }
}

/* Animated border light on media frames (@property) */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.frame { position: relative; }
.frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 70%, var(--red-hi) 88%, #fff 94%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: ang 7s linear infinite;
}
@keyframes ang { to { --ang: 360deg; } }

/* Click-to-load embed facade */
.facade { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; width: 100%; padding: 24px; border: 0; cursor: pointer; color: var(--fg); font: inherit; text-align: center;
  background: radial-gradient(70% 90% at 50% 110%, rgba(212, 18, 46, 0.5), transparent 70%), linear-gradient(180deg, #0d0d12, #050507); }
.facade.embed-video { aspect-ratio: 16 / 9; }
.facade.embed-audio { height: 352px; }
.facade-play { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line-red); background: rgba(212, 18, 46, 0.2); box-shadow: 0 0 44px rgba(212, 18, 46, 0.55); transition: transform .25s, background .25s; }
.facade:hover .facade-play, .facade:focus-visible .facade-play { transform: scale(1.08); background: var(--red); }
.facade-play svg { width: 24px; height: 24px; margin-left: 3px; fill: #fff; }
.facade b { font-family: var(--display); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.facade small { max-width: 34ch; font-size: 12px; line-height: 1.7; color: var(--mute); }
.frame > .embed-frame, .frame > .facade { display: block; }
.frame > .facade { display: grid; }

/* Container query: media layout follows its own width, not the viewport */
.media-wrap { container-type: inline-size; }
@container (max-width: 760px) { .stage-grid { grid-template-columns: minmax(0, 1fr); } }

/* Scroll-driven animations (no JS) */
.progress { position: fixed; z-index: 21; left: 0; right: 0; top: calc(var(--notice-h) + var(--header-h) - 1px); height: 2px; background: linear-gradient(90deg, var(--red), var(--red-hi)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--red-hi); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: prog linear both; animation-timeline: scroll(root); }
  @keyframes prog { to { transform: scaleX(1); } }
  .site-header { animation: hdr linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  @keyframes hdr { from { background: rgba(5, 5, 7, 0.2); border-bottom-color: transparent; } to { background: rgba(5, 5, 7, 0.88); } }
  .gl { animation: glpar linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes glpar { to { transform: translateY(14%) scale(1.06); } }
}
@supports (animation-timeline: view()) {
  @media (scripting: enabled) {
    .reveal { opacity: 1; transform: none; transition: none; animation: reveal-in linear both; animation-timeline: view(); animation-range: entry 0px entry 300px; }
  }
}
@keyframes reveal-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .site-header, .progress, .gl { animation: none !important; } .progress { display: none; } }

/* 404 */
.nf { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; }
.nf h1 { font-family: var(--display); font-size: clamp(56px, 18vw, 140px); line-height: 1; text-shadow: 0 0 40px rgba(255, 51, 80, 0.55); }
.nf a { color: var(--red-hi); text-decoration: underline; text-underline-offset: 4px; }


/* ================= Visual gallery ================= */
.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; }
.shot { grid-column: span 4; min-height: 0; }
.shot:nth-child(1), .shot:nth-child(6) { grid-column: span 8; }
.shot-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #0a0a0d; color: #fff; }
.shot-btn picture, .shot-btn img { display: block; width: 100%; height: 100%; }
.shot-btn img { object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.shot-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(110, 10, 26, 0.75), transparent 55%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.shot-btn:hover img, .shot-btn:focus-visible img { transform: scale(1.06); filter: saturate(1.12) contrast(1.05); }
.shot-btn:hover::after, .shot-btn:focus-visible::after { opacity: 1; }
.shot-btn:hover { border-color: var(--red); }
.shot:nth-child(1) img, .shot:nth-child(6) img { object-position: 50% 14%; }   /* keep faces in the wide crops */
.shot img { object-position: 50% 30%; }
.shot-no { position: absolute; z-index: 1; left: 14px; bottom: 10px; font-family: var(--display); font-size: 10px; letter-spacing: 0.3em; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.shot-btn:hover .shot-no, .shot-btn:focus-visible .shot-no { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .shots { grid-auto-rows: auto; }
  .shot { grid-column: span 6; aspect-ratio: 16 / 9; }
  .shot:nth-child(1), .shot:nth-child(6) { grid-column: span 12; aspect-ratio: 21 / 9; }
}
@media (max-width: 520px) { .shot, .shot:nth-child(1), .shot:nth-child(6) { grid-column: span 12; aspect-ratio: 16 / 9; } }
@supports (animation-timeline: view()) {
  .shot { animation: shot-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}
@keyframes shot-in { from { opacity: 0; transform: translateY(24px) scale(0.97); clip-path: inset(0 0 40% 0 round 14px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 14px); } }

/* Lightbox (<dialog>) */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(12px, 3vw, 32px); border: 0; background: transparent; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(3, 3, 5, 0.94); backdrop-filter: blur(10px); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 12px; opacity: 1; transition: opacity .3s; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; max-height: 100%; width: 100%; }
.lightbox img { max-width: min(100%, 1500px); max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-red), 0 30px 120px rgba(212, 18, 46, 0.35); }
.lb-bar { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 10px; letter-spacing: 0.3em; color: var(--mute); }
.lb-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.04); color: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.lb-btn:hover { border-color: var(--red-hi); background: var(--red); }
.lb-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
::view-transition-group(shot) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .shot { animation: none !important; } .shot-btn img { transition: none; } }


/* Hero interaction hint */
.hint { position: absolute; right: var(--gutter); bottom: 112px; margin: 0; font-family: var(--display); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute); text-align: right; pointer-events: none; animation: hint-fade 1s 2.4s both; }
.hint::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--red-hi); transform: rotate(45deg); box-shadow: 0 0 10px var(--red-hi); }
.h-coarse { display: none; }
@media (hover: none) { .h-fine { display: none; } .h-coarse { display: inline; } }
@keyframes hint-fade { from { opacity: 0; } }
@media (max-width: 720px) { .hint { bottom: 82px; } }
@media (prefers-reduced-motion: reduce) { .hint { display: none; } }

.disclaimer a { color: #fff; text-decoration: underline; text-decoration-color: var(--red-hi); text-underline-offset: 4px; }
.disclaimer a:hover { color: var(--red-hi); }


/* ================= Scroll-linked effects (CSS scroll-driven animations) ================= */
@supports (animation-timeline: view()) {
  /* section heads: the hairline draws itself, the title wipes in */
  .sec-title i::after { transform-origin: left; animation: line-grow linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
  .sec-title b { animation: title-wipe linear both; animation-timeline: view(); animation-range: entry 5% entry 55%; }
  /* gallery: depth parallax inside each frame (individual transform properties, so hover scale still composes) */
  .shot-btn img { scale: 1.1; animation: shot-par linear both; animation-timeline: view(); }
  /* cards glide in from alternating sides */
  .group .card { animation: card-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .group .card:nth-child(even) { --dx: 18px; }
  .group .card:nth-child(odd) { --dx: -18px; }
}
@keyframes line-grow { from { transform: scaleX(0); } }
@keyframes title-wipe { from { clip-path: inset(0 100% 0 0); opacity: 0.2; letter-spacing: 0.14em; } to { clip-path: inset(0 -2% 0 0); opacity: 1; } }
@keyframes shot-par { from { translate: 0 -3.5%; } to { translate: 0 3.5%; } }
@keyframes card-in { from { opacity: 0; translate: var(--dx, 0) 14px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sec-title i::after, .sec-title b, .shot-btn img, .group .card { animation: none !important; } .shot-btn img { scale: 1; } }

/* nav: current section */
.nav a.is-current { color: #fff; }
.nav a.is-current::after { transform: scaleX(1); }
@supports selector(:target-current) {
  .nav { scroll-target-group: auto; }
  .nav a:target-current { color: #fff; }
  .nav a:target-current::after { transform: scaleX(1); }
}

/* ================= Analytics consent ================= */
.consent { position: fixed; z-index: 50; left: var(--gutter); right: var(--gutter); bottom: 16px; max-width: 560px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-red); background: rgba(10, 10, 13, 0.96); backdrop-filter: blur(12px); box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 18, 46, 0.25); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; font-size: 13px; line-height: 1.75; color: #dcdce2; }
.consent a { color: #fff; text-decoration: underline; text-decoration-color: var(--red-hi); text-underline-offset: 3px; }
.consent div { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 12px 20px; cursor: pointer; background: transparent; color: #fff; }
.consent .btn-red { background: var(--red); }
.linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: #fff; }
