/* NEOS motion direction: musical rhythm, native scrolling, real photography. */
:root { --ease-neos: cubic-bezier(.16, 1, .3, 1); --read-progress: 0; }
.reading-progress { position:fixed; inset:0 0 auto; height:3px; z-index:220; background:var(--accent); transform:scaleX(var(--read-progress)); transform-origin:left; pointer-events:none; }
.preview-strip { flex-wrap:wrap; gap:10px; }
.preview-strip > span { margin-right:auto; }
.motion-toggle { display:inline-flex; align-items:center; gap:10px; padding:5px 0 5px 12px; min-height:40px; border:0; background:none; color:var(--ink); font-size:14px; letter-spacing:0; line-height:1.3; white-space:nowrap; }
.motion-toggle::before { content:''; width:9px; height:11px; border-inline:3px solid currentColor; }
.motion-toggle[aria-pressed=true]::before { border:0; border-left:8px solid currentColor; border-top:5px solid transparent; border-bottom:5px solid transparent; width:0; height:0; }
.motion-toggle:hover { color:var(--accent); }
.reveal { animation:none; }
.motion-ready .motion-enter.is-visible { animation:neos-enter .85s var(--ease-neos) both; animation-delay:var(--enter-delay,0ms); }
.motion-ready .motion-enter[data-enter=photo].is-visible { animation-name:neos-photo-enter; animation-duration:1.05s; }
.motion-ready .motion-enter[data-enter=line].is-visible { animation-name:neos-line-enter; }
.motion-enter:focus-within { animation:none!important; opacity:1!important; transform:none!important; clip-path:none!important; }
@keyframes neos-enter { from { opacity:.36; transform:translate3d(0,26px,0); } to { opacity:1; transform:translateZ(0); } }
@keyframes neos-photo-enter { from { opacity:.65; clip-path:inset(0 0 7% 0); transform:translate3d(0,25px,0); } to { opacity:1; clip-path:inset(0); transform:translateZ(0); } }
@keyframes neos-line-enter { from { opacity:.5; transform:translate3d(-20px,0,0); } to { opacity:1; transform:translateZ(0); } }

/* A photographic opening that changes scenes, with direct artist controls. */
.hero { position:relative; isolation:isolate; padding-block:56px 70px; }
.hero::before { content:''; position:absolute; width:48%; height:65%; left:10%; top:8%; background:radial-gradient(ellipse,rgba(255,92,53,.08),transparent 70%); z-index:-1; pointer-events:none; }
.hero-copy .eyebrow { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.hero h1 { line-height:.99; }
.hero h1 > span { position:relative; }
.hero h1 > .accent::after { content:''; position:absolute; left:0; bottom:-7px; width:46px; height:3px; background:var(--accent); transform-origin:left; }
.hero-description { position:relative; }
.hero-stage { min-width:0; width:100%; position:relative; align-self:center; }
.hero-slides { aspect-ratio:3/2; position:relative; overflow:hidden; background:#1a1a1e; }
.hero-slide { position:absolute; inset:0; margin:0; overflow:hidden; opacity:0; visibility:hidden; transition:opacity .95s ease,visibility .95s; }
.hero-slide.is-active { opacity:1; visibility:visible; z-index:1; }
.hero-slide img { width:100%; height:100%; object-fit:cover; object-position:50% 40%; }
.hero-slide--afuego img { object-position:48% 45%; }
.motion-ready .hero-slide.is-active img { animation:neos-scene-drift 8s ease-out both; }
@keyframes neos-scene-drift { from { transform:scale(1.045); } to { transform:scale(1); } }
.hero-stage::before { content:''; position:absolute; top:-13px; left:-13px; width:64px; height:64px; border-top:2px solid var(--accent); border-left:2px solid var(--accent); z-index:3; pointer-events:none; }
.stage-heading { position:absolute; top:18px; left:18px; z-index:3; padding:6px 10px; color:#fff; background:#0d0d0f; font-size:11px; letter-spacing:.12em; line-height:1.6; }
.scene-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; border-bottom:1px solid var(--line); padding:15px 0 0; }
.scene-caption { margin:0; color:var(--muted); font-size:11px; letter-spacing:.1em; line-height:1.5; }
.scene-controls { display:flex; gap:16px; flex-wrap:wrap; }
.scene-control { min-height:44px; border:0; border-bottom:2px solid transparent; padding:8px 0 12px; font-size:14px; font-weight:700; color:var(--muted); background:none; transition:color .25s,border-color .25s; }
.scene-control[aria-pressed=true] { color:var(--ink); border-color:var(--accent); }
.scene-control:hover { color:var(--accent); }
.pulse-bars { display:inline-flex; gap:3px; align-items:center; height:24px; padding-right:8px; flex-shrink:0; }
.pulse-bars i { display:block; width:3px; height:18px; background:var(--accent); border-radius:2px; transform-origin:center; }
.pulse-bars i:nth-child(2),.pulse-bars i:nth-child(6) { height:12px; }
.pulse-bars i:nth-child(3),.pulse-bars i:nth-child(5) { height:23px; }
.pulse-bars i:nth-child(4) { height:15px; }
.motion-ready .pulse-bars i { animation:neos-pulse 1.6s ease-in-out infinite alternate; }
.pulse-bars i:nth-child(2n) { animation-delay:-.6s; }
.pulse-bars i:nth-child(3n) { animation-delay:-1.1s; }
@keyframes neos-pulse { 0% { transform:scaleY(.4); } 55% { transform:scaleY(1); } 100% { transform:scaleY(.65); } }

/* Seamless typography band; duplicates are decorative and hidden from AT. */
.ticker { padding-block:24px; border-color:#51403b; background:var(--accent); color:var(--bg); }
.ticker-track { display:flex; width:max-content; }
.ticker-group { display:flex; flex:0 0 auto; align-items:center; gap:40px; padding-right:40px; white-space:nowrap; font-size:clamp(28px,3.4vw,54px); font-weight:800; letter-spacing:-.045em; line-height:1.15; }
.ticker-group .dot { font-size:.8em; }
.motion-ready .ticker-track { animation:neos-ticker 38s linear infinite; }
@keyframes neos-ticker { to { transform:translateX(-50%); } }
.ticker:hover .ticker-track,.ticker.is-offscreen .ticker-track { animation-play-state:paused; }

/* Section rhythm and photo depth. Image transforms never move text or links. */
.intro-grid { position:relative; }
.intro-grid::before { content:''; position:absolute; top:45px; left:var(--space); width:52px; height:2px; background:var(--accent); }
.editorial-row { position:relative; }
.editorial-row .row-copy h3 { transition:color .3s; }
.editorial-row:hover .row-copy h3 { color:var(--accent); }
.depth-media { overflow:hidden; }
.depth-media > img { transform:translate3d(0,var(--depth-y,0px),0) scale(1.065); transition:filter .3s; }
.photo-frame--landscape.depth-media > img { transform:translate3d(0,calc(var(--depth-y,0px) * .25),0) scale(1.04); }
.photo-frame--joe.depth-media > img { transform:translate3d(0,calc(var(--depth-y,0px) * .4),0) scale(1.035); }
.photo-frame--afuego.depth-media > img { transform:translate3d(0,calc(var(--depth-y,0px) * .5),0) scale(1.045); }
.feature-band { position:relative; overflow:hidden; }
.feature-band::before { content:''; position:absolute; inset:0 auto auto 0; width:100%; height:6px; background:var(--accent); transform-origin:left; }
.live-gallery figure { position:relative; overflow:hidden; }
.live-gallery figure:nth-child(even) { margin-top:54px; }
.live-gallery figure img { transition:transform .8s var(--ease-neos); }
.live-gallery figure:hover img { transform:scale(1.035); }
.live-gallery figcaption { position:relative; background:var(--bg); }
.performance-wide.depth-media > img { transform:translate3d(0,calc(var(--depth-y,0px) * .3),0) scale(1.04); }
.service-item { transition:background .3s; }
.service-item:hover { background:#ffffff04; }
.closing { position:relative; isolation:isolate; overflow:hidden; }
.closing::before { content:'NEOS'; position:absolute; right:-.025em; bottom:-.22em; color:transparent; -webkit-text-stroke:1px #0d0d0f33; font-size:clamp(170px,29vw,450px); font-weight:900; letter-spacing:-.08em; line-height:1; pointer-events:none; z-index:-1; }
.closing-grid { position:relative; }
.button { position:relative; transition:background .25s,color .25s,border-color .25s,transform .35s var(--ease-neos); }
.button:hover { transform:translateY(-3px); }
.text-link { position:relative; }
.text-link::after { content:''; position:absolute; inset:auto 0 -1px; height:2px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease-neos); }
.text-link:hover::after,.text-link:focus-visible::after { transform:scaleX(1); }
.site-nav.is-open > a { animation:neos-enter .5s var(--ease-neos) both; }
.site-nav.is-open > a:nth-child(2) { animation-delay:45ms; }
.site-nav.is-open > a:nth-child(3) { animation-delay:90ms; }
.site-nav.is-open > a:nth-child(4) { animation-delay:135ms; }
.hero-stage.is-offscreen .hero-slide img { animation-play-state:paused; }

/* User control always wins; the system preference is also respected by JS. */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state:paused!important; }
.motion-paused .motion-enter { animation:none!important; opacity:1!important; transform:none!important; clip-path:none!important; }
.motion-paused .depth-media > img { transform:none!important; }
.motion-paused .hero-slide,.motion-paused .button,.motion-paused .scene-control,.motion-paused .live-gallery img { transition:none!important; }
.motion-paused .hero-slide img,.motion-paused .live-gallery figure:hover img { animation:none!important; transform:none!important; }
.motion-paused .site-nav > a { animation:none!important; }
.motion-suspended *, .motion-suspended *::before, .motion-suspended *::after { animation-play-state:paused!important; }
.pulse-bars.is-offscreen i { animation-play-state:paused!important; }
html:has(.motion-paused) { scroll-behavior:auto; }
.menu-open .ticker-track,.menu-open .pulse-bars i,.menu-open .hero-slide img { animation-play-state:paused!important; }

@media(min-width:961px) {
  .hero { grid-template-columns:45fr 55fr; gap:4vw; min-height:calc(100svh - 174px); }
  .hero-stage { margin-top:15px; }
  .editorial-row:nth-of-type(even) .row-art { order:-1; }
  .editorial-row .row-copy { padding-block:20px; }
  .row-copy h3 { font-size:clamp(42px,4.5vw,72px); }
  .material-block > div:first-child { position:sticky; top:170px; }
}
@media(max-width:960px) {
  .hero-stage::before { left:-8px; top:-8px; width:40px; height:40px; }
  .depth-media > img,.photo-frame--landscape.depth-media > img,.photo-frame--joe.depth-media > img,.photo-frame--afuego.depth-media > img,.performance-wide.depth-media > img { transform:none; }
  .hero { gap:28px; }
  .scene-controls { gap:14px; }
}
@media(max-width:680px) {
  .preview-strip { padding-block:5px; gap:4px 12px; }
  .preview-strip > span { font-size:10px; max-width:190px; }
  .motion-toggle { padding-left:0; font-size:12px; }
  .hero { padding-top:36px; gap:32px; }
  .hero-copy .eyebrow { gap:6px; font-size:11px; letter-spacing:.12em; }
  .pulse-bars { gap:2px; padding-right:5px; }
  .pulse-bars i { width:2px; }
  .hero-slides { aspect-ratio:4/3; }
  .hero-slide img { object-position:55% 40%; }
  .hero-slide--jota img { object-position:50% 40%; }
  .hero-slide--afuego img { object-position:45% 45%; }
  .scene-footer { gap:5px; padding-top:12px; }
  .scene-caption { width:100%; font-size:10px; }
  .scene-controls { gap:24px; }
  .scene-control { font-size:14px; min-height:44px; }
  .stage-heading { font-size:10px; top:12px; left:12px; }
  .ticker { padding-block:19px; }
  .ticker-group { gap:26px; padding-right:26px; font-size:30px; }
  .intro-grid::before { top:28px; }
  .live-gallery figure:nth-child(even) { margin-top:30px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto!important; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
  .motion-enter { opacity:1!important; transform:none!important; clip-path:none!important; }
  .depth-media > img,.hero-slide img,.live-gallery figure:hover img { transform:none!important; }
  .ticker-track { transform:none!important; width:100%; }
  .ticker-group { flex-wrap:wrap; white-space:normal; padding:0 22px; gap:14px 24px; font-size:24px; }
  .ticker-group[aria-hidden=true] { display:none; }
}
@media print {
  .motion-toggle,.reading-progress,.ticker-group[aria-hidden=true] { display:none!important; }
  .motion-enter { animation:none!important; opacity:1!important; transform:none!important; }
}
