/* TERROA — styles
   One curve for everything: cubic-bezier(.32,.72,0,1).
   Section expand = .7s · screen change = .75s (a touch slower). */

@font-face{font-family:'Acorn';src:url('../assets/fonts/Acorn-Bold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}

:root{
  --bg:#050505; --ink:#D6D6D6; --ink-hi:#FFFFFF; --ink-mid:#BDBDBD; --ink-lo:#8A8A8A; --ink-num:#7A7A7A; --ink-foot:#6A6A6A;
  --rule:#1E1E1E; --rule-2:#262626; --edge:#3A3A3A;
  --ease:cubic-bezier(.32,.72,0,1);
  --pad:56px; --bar:88px;
  --row:96px; --lab:clamp(40px,3.9vw,56px); --cols:80px 1fr 44px; --indent:80px;
  --photo-x:50%; --photo-y:24%; --photo-zoom:1;
  --sat:env(safe-area-inset-top,0px); --sab:env(safe-area-inset-bottom,0px);
}
@media (max-width:760px){
  :root{ --pad:20px; --bar:calc(60px + var(--sat)); --row:68px; --lab:28px; --cols:36px 1fr 28px; --indent:36px; --photo-y:0%; }
}

*{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--bg)}
html{overscroll-behavior-y:none}
/* Pull-to-refresh only from the intro; the index uses a downward pull to return. */
html[data-screen="intro"],html[data-screen="intro"] body{overscroll-behavior-y:auto}
body{
  color:var(--ink);font-family:'Geist',ui-sans-serif,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow:hidden;overscroll-behavior:none;
}
.mono{font-family:'Geist Mono',ui-monospace,Menlo,monospace}
a{color:inherit}
button{font:inherit;color:inherit}
::selection{background:#FFFFFF;color:#050505}
button:focus-visible,a:focus-visible{outline:1px solid #FFFFFF;outline-offset:4px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ── Top bar ─────────────────────────────────────────── */
.bar{
  position:fixed;left:0;right:0;top:0;z-index:6;height:var(--bar);
  padding:0 var(--pad);display:flex;justify-content:space-between;align-items:center;
  background:rgba(5,5,5,.8);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.09);
}
.brand{border:0;background:transparent;padding:0;height:44px;font-family:'Acorn',serif;font-size:1.5rem;font-weight:700;letter-spacing:.32em;margin-right:-.32em;color:#FFFFFF;cursor:pointer}
.social{display:flex;gap:32px;font-size:14px;font-weight:500}
.top{text-decoration:none;color:#FFFFFF;display:inline-flex;align-items:center;gap:9px;height:44px;opacity:.92;transition:opacity .3s}
.top:hover{opacity:1}
.top svg{flex:none;transition:transform .45s var(--ease)}
.top:hover svg{transform:translateY(-1px)}
@media (max-width:760px){
  .bar{padding:var(--sat) 8px 0 20px}
  .brand{font-size:1.125rem}
  .social{gap:0}
  .top{width:44px;justify-content:center}
  .top span{display:none}
}

/* ── Screens ─────────────────────────────────────────── */
main{position:fixed;inset:0;overflow:hidden}
/* Screen position is written by main.js directly on the track, intro and hero
   (compositor-only transform/opacity). Each keeps its own GPU layer so a turn
   never repaints the photo. */
.screen-track{position:absolute;inset:0;will-change:transform}
.scr{position:absolute;inset:0;background:var(--bg)}
.intro{will-change:opacity}
/* Opaque one-pixel bleed covers fractional compositor rounding at the join. */
.idx{top:100%;bottom:auto;height:100%;box-shadow:0 -1px 0 var(--bg)}
.turning .sec{opacity:1;transform:none;transition:none}
/* On touch screens <main> scrolls natively
   between the two screens, so the drag runs at the display's refresh rate.
   The intro fade and photo parallax follow the scroll position. */
html.native main{overflow-y:auto;overscroll-behavior:none;scrollbar-width:none;scroll-timeline:--turn block}
html.native main::-webkit-scrollbar{display:none}
/* On the intro, a pull at the top gets the native rubber-band bounce. */
html.native[data-screen="intro"] main{overscroll-behavior-y:auto}
html.native .screen-track{bottom:auto;height:200%}
html.native .intro{bottom:auto;height:50%}
html.native .idx{top:50%;height:50%;overscroll-behavior-y:auto}
@supports (animation-timeline:scroll()){
  html.native .intro{animation:turn-intro linear both;animation-timeline:--turn}
  html.native .hero{animation:turn-hero linear both;animation-timeline:--turn}
}
@keyframes turn-intro{from{opacity:1}to{opacity:.4}}
@keyframes turn-hero{from{transform:translate3d(0,0,0) scale(var(--photo-zoom))}to{transform:translate3d(0,140px,0) scale(var(--photo-zoom))}}

/* ── Intro ───────────────────────────────────────────── */
.intro{overflow:hidden}
.hero{
  position:absolute;left:0;top:-80px;width:100%;height:calc(100% + 160px);
  object-fit:cover;object-position:var(--photo-x) var(--photo-y);transform-origin:var(--photo-x) var(--photo-y);
  transform:scale(var(--photo-zoom));will-change:transform;display:block;background:#0B0B0B;
}
.scrim{position:absolute;pointer-events:none}
.scrim-b{left:0;right:0;bottom:0;height:min(660px,75%);background:linear-gradient(to top,rgba(5,5,5,.97) 0%,rgba(5,5,5,.92) 34%,rgba(5,5,5,.6) 64%,rgba(5,5,5,0) 100%)}
.scrim-l{left:0;top:0;bottom:0;width:900px;max-width:70%;background:linear-gradient(to right,rgba(5,5,5,.55),rgba(5,5,5,0))}
.about{position:absolute;left:var(--pad);bottom:148px;width:min(680px,calc(100% - 2*var(--pad)));display:flex;flex-direction:column;gap:20px}
.meta{font-size:12px;letter-spacing:.14em;color:#D0D0D0}
.bio{margin:0;font-size:26px;line-height:1.45;font-weight:300;letter-spacing:-.01em;color:#F5F5F5;text-wrap:pretty}
.cue{position:absolute;left:var(--pad);bottom:44px;border:0;background:transparent;padding:0;color:#B5B5B5;display:flex;align-items:center;gap:16px;cursor:pointer;min-height:44px}
.cue-arrow{flex:none}
.cue-track{opacity:.45}
.cue-light{animation:cue-light 6s var(--ease) infinite}
@keyframes cue-light{0%{transform:translateY(0);opacity:0}10%{opacity:.85}65%{transform:translateY(36px);opacity:.85}75%,100%{transform:translateY(36px);opacity:0}}
/* The SVG sweep repaints on the main thread; idle it whenever the intro is not at rest. */
body:not([data-screen="intro"]) .cue-light,.dragging .cue-light{animation-play-state:paused}
.cue-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase}
@media (max-width:760px){
  .about{bottom:calc(104px + var(--sab));gap:14px}
  .meta{font-size:10px;letter-spacing:.1em}
  .bio{font-size:17px;line-height:1.5}
  .cue{bottom:calc(28px + var(--sab));right:var(--pad);gap:12px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}
  .cue-label{font-size:10px;letter-spacing:.08em}
}

/* ── Index ───────────────────────────────────────────── */
.idx{
  padding:calc(var(--bar) + 32px) var(--pad) 0;overflow-y:auto;display:flex;flex-direction:column;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior:none;
}
.idx::-webkit-scrollbar{display:none}
@media (max-width:760px){ .idx{padding-top:calc(var(--bar) + 16px)} }
.rows{display:flex;flex-direction:column;flex:none}
/* Rules live on moving parts (row tops, the .end rule) so they travel with the expand. */
.end{height:1px;background:var(--rule);flex:none;will-change:transform}
.sec{opacity:0;transform:translateY(40px);transition:opacity .5s var(--ease),transform .65s var(--ease)}
.sec + .sec .row{border-top:1px solid var(--rule);height:calc(var(--row) + 1px)}
body[data-screen="index"] .sec{opacity:1;transform:none;transition-delay:calc(180ms + var(--i) * 45ms)}

.row{width:100%;height:var(--row);border:0;background:transparent;display:grid;grid-template-columns:var(--cols);align-items:center;cursor:pointer;text-align:left;padding:0;transition:background-color .5s var(--ease);will-change:transform}
.row:hover{background-color:#0B0B0B}
.num{font-size:12px;color:var(--ink-num)}
.lab{font-size:var(--lab);font-weight:300;letter-spacing:-.035em;color:var(--ink-mid);transition:transform .6s var(--ease),color .4s}
.row:hover .lab,.sec.open .lab{color:#FFFFFF}
.row:hover .lab{transform:translateX(10px)}
.plus{justify-self:end;transition:transform .6s var(--ease)}
.sec.open .plus{transform:rotate(45deg)}
@media (max-width:760px){
  .num{font-size:11px}
  .lab{letter-spacing:-.03em}
  .row:hover{background-color:transparent}
  .row:hover .lab{transform:none}
}

.panel{height:0;overflow:hidden}
.sec.open .panel,.sec.closing .panel{height:auto}
/* Expand/collapse motion (0.7s, opacity 0.5s) is driven from main.js. */
.inner{overflow:hidden}
.body{padding:0 0 36px var(--indent);opacity:0}
.sec.open .body{opacity:1}
@media (max-width:760px){ .body{padding-bottom:16px} }

/* links + buttons */
.lnk{text-decoration:none;color:var(--ink-mid);transition:color .3s;border:0;background:transparent;padding:0;cursor:pointer}
.lnk:hover{color:#FFFFFF}
.arr{display:inline-block;transition:transform .45s var(--ease)}
.lnk:hover .arr,a:hover .arr{transform:translate(2px,-2px)}
.btn{border:1px solid var(--edge);background:transparent;color:var(--ink);cursor:pointer;text-decoration:none;display:flex;align-items:center;justify-content:space-between;
  transition:transform .3s var(--ease),background-color .3s,color .3s,border-color .3s}
.btn:hover{border-color:#6A6A6A}
.btn:active{transform:scale(.96)}
.btn.on{background:#FFFFFF;color:#050505;border-color:#FFFFFF}
.btn.solid{background:#FFFFFF;color:#050505;border-color:#FFFFFF;font-weight:500}
.tag{font-size:11px;letter-spacing:.06em}

/* cards (Music, Live Sets on desktop) */
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.card{border-top:1px solid var(--rule-2);padding-top:16px;display:flex;flex-direction:column;gap:10px}
.kind{font-size:11px;color:var(--ink-lo)}
.title{font-size:22px;color:#FFFFFF}
.acts{display:flex;align-items:center;gap:16px;min-height:36px}
.play{width:36px;height:36px;border-radius:50%;justify-content:center;padding:0;flex:none}
.prog{height:1px;background:var(--rule-2);position:relative;opacity:0;transition:opacity .4s}
.prog i{position:absolute;left:0;top:0;height:1px;width:0;background:#FFFFFF}
.card.playing .prog{opacity:1}
@media (max-width:1100px){ .cards{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:760px){
  .cards{display:flex;flex-direction:column;gap:0}
  .card{min-height:60px;border-top:1px solid var(--rule);padding:8px 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px}
  .card .kind{font-size:10px;grid-column:1}
  .card .title{font-size:16px;grid-column:1}
  .card .acts{grid-column:2;grid-row:1 / span 2;gap:4px}
  .card .acts .lnk{width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-size:13px}
  .card .acts .lnk .txt{display:none}
  .card .prog{grid-column:1 / -1}
  .play{width:44px;height:44px}
}

/* dates */
.date{display:grid;grid-template-columns:160px 1fr 240px 100px;align-items:center;min-height:56px;border-top:1px solid var(--rule-2);font-size:18px;color:var(--ink);text-decoration:none}
.date .d{font-size:13px}.date .c{color:var(--ink-lo)}.date .t{text-align:right}
.empty{border-top:1px solid var(--rule-2);min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.empty span{font-size:18px;color:var(--ink-mid)}
.empty .btn{height:40px;padding:0 16px;font-size:11px;letter-spacing:.1em}
@media (max-width:760px){
  .date{grid-template-columns:76px 1fr auto;font-size:15px;gap:8px}
  .date .c{display:none}
  .date .d{font-size:11px}
  .empty{flex-direction:column;align-items:flex-start;padding:12px 0;gap:12px}
  .empty span{font-size:15px}
}

/* press kit */
.press{display:grid;grid-template-columns:minmax(0,1fr) 0 240px;gap:40px;align-items:start}
.photos{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.photo-assets{min-width:0;max-width:100%}
.photo-credit{margin:12px 0 0;font-size:11px;color:var(--ink-lo)}
.ph{flex:none;display:block;position:relative;width:150px;height:190px;overflow:hidden;background:#151515}
.ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .9s var(--ease)}
.ph:hover img{transform:scale(1.03)}
.ph .dl{position:absolute;left:8px;bottom:8px;font-size:10px;letter-spacing:.1em;color:#FFFFFF;background:rgba(5,5,5,.75);padding:5px 8px;opacity:0;transform:translateY(6px);transition:opacity .4s var(--ease),transform .5s var(--ease)}
.ph:hover .dl,.ph:focus-visible .dl{opacity:1;transform:none}
.pbtns{display:flex;flex-direction:column;gap:10px}
.pbtns .btn{height:44px;padding:0 18px;font-size:13px;text-align:left}
.pbtns .btn.solid{height:52px;font-size:14px}
.pbtns .btn .mono{font-size:11px}
@media (max-width:760px){
  .press{display:flex;flex-direction:column;gap:12px}
  .ph{width:112px;height:148px}
  .ph .dl{opacity:1;transform:none;left:6px;bottom:6px;font-size:9px;padding:4px 6px}
  .pbtns{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .pbtns .btn{padding:0 12px}
  .pbtns .btn.solid{grid-column:1 / -1;height:44px;padding:0 14px}
  .pbtns .btn .mono{font-size:10px}
}

/* booking */
.book{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.mail{font-size:40px;font-weight:300;letter-spacing:-.02em;color:#FFFFFF;text-decoration:none}
.book .btn{height:40px;padding:0 16px;font-size:11px;letter-spacing:.1em}
.book .send{display:none}
@media (max-width:760px){
  .book{flex-direction:column;align-items:stretch;gap:12px}
  .mail{font-size:21px;word-break:break-all}
  .book .acts2{display:grid;grid-template-columns:1fr auto;gap:8px}
  .book .send{display:flex;justify-content:center;height:44px;font-size:13px;letter-spacing:0;font-family:'Geist',sans-serif}
  .book .btn{height:44px}
}
@media (min-width:761px){ .book .acts2{display:contents} }

/* footer */
.foot{margin-top:auto;flex:none;will-change:transform;padding:40px 0 calc(30px + var(--sab));display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:.12em}
.foot .lnk{height:40px;font-size:11px;letter-spacing:.12em}
.foot .copy{color:var(--ink-foot)}
@media (max-width:760px){ .foot{flex-direction:row-reverse;padding-top:32px;font-size:10px} .foot .lnk{font-size:10px} }

/* hidden audio host for the SoundCloud widget */
.sc-host{position:fixed;width:1px;height:1px;left:-10px;top:-10px;opacity:0;pointer-events:none;border:0}

@media (prefers-reduced-motion:reduce){
  .scr,.hero,.lab,.plus,.sec{transition:opacity .2s linear !important;transition-delay:0s !important}
  .scr,.hero{transition:none !important}
  .idx{top:0;opacity:0;pointer-events:none;box-shadow:none}
  body[data-screen="index"] .idx{pointer-events:auto}
  .hero{transform:scale(var(--photo-zoom))}
  .cue-light{animation:none;display:none}
}
