/* Inter, served from this site (SIL Open Font License) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b0b0a;
  --bg-2: #141413;
  --fg: #f2f2ee;
  --muted: #8d8d87;
  --line: #2a2a27;
  --accent: #c2412b;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(26px, 3vw, 40px); }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; }

.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: 0.02em; margin: 8px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Placeholder — dashed, obviously "to fill" */
.ph {
  display: inline-block;
  border: 1px dashed #55554f;
  border-radius: 3px;
  padding: 0 6px;
  color: #6f6f69;
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1.6;
  font-style: italic;
}
p.ph { display: block; padding: 10px 14px; }
.ph-fill {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 0; background: repeating-linear-gradient(135deg, #121211 0 10px, #161615 10px 20px);
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-header.solid { background: rgba(11, 11, 10, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.logo { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 30px); }
.nav a { font-size: 14px; font-weight: 500; color: rgba(242, 242, 238, 0.72); transition: color 0.2s; }
.nav a:hover { color: var(--fg); }
.menu-btn { display: none; font-size: 14px; font-weight: 500; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; z-index: -2; transform: scale(1.04); animation: settle 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,10,.72) 0%, rgba(11,11,10,.25) 45%, rgba(11,11,10,0) 70%),
    linear-gradient(180deg, rgba(11,11,10,.35) 0%, rgba(11,11,10,0) 25%, rgba(11,11,10,0) 60%, var(--bg) 100%);
}
.hero-inner {
  width: 100%; padding: 120px var(--gutter) 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start;
}
.hero h1 { display: flex; flex-direction: column; }
.hero .name { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.035em; }
.hero .role { font-size: clamp(26px, 3.4vw, 46px); font-weight: 300; letter-spacing: -0.025em; padding-left: 0.6em; margin-top: 4px; }
.hero-intro { max-width: 40ch; margin: 32px 0 0 1.2em; font-size: 14px; color: rgba(242,242,238,.78); }
.hero-index { justify-self: end; text-align: right; font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; line-height: 1.4; max-width: 15ch; margin: 18px 0 0; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-index a { transition: color .2s; }
.hero-index a:hover { color: var(--accent); }
.hero-down { position: absolute; right: var(--gutter); bottom: 32px; font-size: 22px; color: rgba(242,242,238,.6); transition: color .2s, transform .2s; }
.hero-down:hover { color: var(--fg); transform: translateY(3px); }

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Rails */
.rail-controls { display: flex; gap: 6px; }
.arrow { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-size: 16px; transition: border-color .2s, opacity .2s; }
.arrow:hover:not(:disabled) { border-color: var(--fg); }
.arrow:disabled { opacity: .3; cursor: default; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 320px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; scroll-snap-align: start; min-width: 0; }
.cover { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); margin-bottom: 14px; }
.cover.wide { aspect-ratio: 16 / 10; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.card:hover .cover img { transform: scale(1.035); }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.card-title { font-weight: 600; font-size: 16px; line-height: 1.3; }
.meta { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Dates */
.tabs { display: flex; gap: 18px; }
.tabs button { font-size: 14px; color: var(--muted); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--fg); border-color: var(--fg); }
.dates { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.dates li > * {
  display: grid; grid-template-columns: 90px minmax(0, 2fr) minmax(0, 1.4fr) 24px; gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .3s, color .2s;
}
.dates li a:hover { padding-left: 10px; }
.d-date { font-variant-numeric: tabular-nums; font-weight: 600; }
.d-venue { font-weight: 500; }
.d-city { color: var(--muted); }
.live { color: var(--accent); }
.d-arrow { text-align: right; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.about-text h2 { margin: 4px 0 28px; }
.about-text { max-width: 560px; }
.about-text p:not(.eyebrow):not(.ph) { color: rgba(242,242,238,.86); font-size: 17px; line-height: 1.65; }
.about-text .eyebrow { margin: 0; }

/* Press */
.press-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.press-grid a { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.press-grid img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.press-grid a:hover img { transform: scale(1.04); filter: saturate(1.05); }
.text-link { font-size: 14px; border-bottom: 1px solid var(--line); }

/* Links & booking */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.split h2 { margin-top: 4px; }
.split .eyebrow { margin: 0; }
.link-list, .contacts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li > * { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; transition: padding .3s; }
.link-list a:hover { padding-left: 10px; }
.link-list .arr { color: var(--muted); font-size: 16px; transition: color .2s, transform .2s; }
.link-list a:hover .arr { color: var(--accent); transform: translate(2px, -2px); }
.contacts li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.c-region { font-weight: 600; }
.c-agency { color: var(--muted); text-align: right; }
.c-mail { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-size: clamp(17px, 1.6vw, 20px); overflow-wrap: anywhere; }
.c-mail a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.c-mail a:hover { border-color: var(--accent); }
.copy { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; }
.copy:hover { color: var(--fg); border-color: var(--fg); }

/* Footer */
.site-footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(96px, 12vw, 180px); padding: 28px var(--gutter);
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--fg); }

/* Release dialog */
.release-dialog {
  width: min(920px, calc(100vw - 32px)); max-height: calc(100svh - 48px);
  padding: 0; border: 1px solid var(--line); background: var(--bg-2); color: var(--fg);
}
.release-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.release-dialog[open] { animation: pop .35s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.dialog-close { position: absolute; top: 10px; right: 14px; font-size: 26px; line-height: 1; color: var(--muted); z-index: 1; }
.dialog-close:hover { color: var(--fg); }
.dialog-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.d-cover { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 1; object-fit: cover; }
.d-info { padding: 32px; display: flex; flex-direction: column; }
.d-info h3 { font-size: 28px; margin: 2px 0 6px; }
.tracks { margin: 22px 0; padding: 0 0 0 1.4em; color: rgba(242,242,238,.86); font-size: 15px; line-height: 1.9; }
.tracks li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.d-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.btn { font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 99px; background: var(--fg); color: var(--bg); }
.btn.ghost { background: none; color: var(--fg); border: 1px solid var(--line); }
.btn:hover { opacity: .85; }
.embed { width: 100%; height: 152px; border: 0; border-radius: 12px; margin-top: auto; }

/* Responsive */
@media (max-width: 860px) {
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px;
    padding: 0 var(--gutter); background: var(--bg);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav a { font-size: 34px; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }
  .logo { position: relative; z-index: 2; }

  .hero { align-items: flex-end; }
  .hero-img { object-position: 60% 20%; }
  .hero-shade { background: linear-gradient(180deg, rgba(11,11,10,.25) 0%, rgba(11,11,10,0) 30%, rgba(11,11,10,.75) 70%, var(--bg) 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 72px; }
  .hero-intro { margin-left: 0; }
  .hero .role { padding-left: 0; }
  .hero-index { display: none; }

  .about, .split { grid-template-columns: 1fr; gap: 28px; }
  .about-img { aspect-ratio: 4 / 3; }
  .press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dialog-body { grid-template-columns: 1fr; }
  .d-cover { max-height: 42svh; }
  .d-info { padding: 22px; }
}
@media (max-width: 560px) {
  .rail { grid-auto-columns: 72%; gap: 14px; }
  .rail-controls { display: none; }
  .dates li > * { grid-template-columns: 64px minmax(0, 1fr) 16px; gap: 4px 12px; }
  .d-city { grid-column: 2; grid-row: 2; font-size: 14px; }
  .d-arrow { grid-column: 3; grid-row: 1; }
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: flex-end; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Paragraphs: both edges line up */
.hero-intro, .about-text p:not(.ph):not(.eyebrow), .rel .blurb {
  text-align: justify; text-wrap: pretty; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
}

/* Logo: the PNG is a stencil, so it takes whatever text colour it sits in */
.amalle-logo { display: block; aspect-ratio: 1093 / 453; background: currentColor; -webkit-mask: url("assets/img/amalle-logo.png") center / contain no-repeat; mask: url("assets/img/amalle-logo.png") center / contain no-repeat; }
.logo.amalle-logo { width: 72px; }

/* Players load only when pressed */
.load-player { align-self: flex-start; margin-top: auto; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600; transition: border-color .2s; }
.load-player:hover { border-color: currentColor; }

.out { display: inline-block; width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1; vertical-align: 0; }
