/* darraign.com — single-page band site. No JavaScript; the CSP is script-src 'none'.
   Bump the ?v= on every URL that loads this file (and the font URL below) when it changes:
   /assets/ is cached for 7 days, at the origin and at Cloudflare. */

@font-face {
  font-family: "Anton";
  src: url("fonts/anton-latin-400-normal.woff2?v=20261016a") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --bg-3: #19191c;
  --line: #2a2a2f;
  --text: #f2efe9;
  --muted: #a39f98;
  --accent: #ff4d1f;
  --accent-hi: #ff6a40;
  --on-accent: #0a0a0b;

  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --measure: 1180px;
  --bar-h: 64px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: .5rem 1rem;
  font-weight: 700;
}
.skip:focus { left: 8px; }

/* ---------- header bar ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar-h);
  background: rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mark {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.bar nav { display: flex; gap: clamp(.9rem, 2.6vw, 2rem); }
.bar nav a {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: .5rem 0;
  transition: color .15s ease;
}
.bar nav a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--bar-h));
  min-height: calc(100svh - var(--bar-h));
  display: flex;
  align-items: flex-end;
  padding: clamp(4rem, 12vh, 8rem) 0 clamp(3.5rem, 10vh, 7rem);
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(255, 77, 31, .55) 0%, rgba(255, 77, 31, .14) 38%, transparent 66%),
    radial-gradient(60% 50% at 88% -5%, rgba(255, 106, 64, .14) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0b 0%, #0e0d0d 60%, #160c08 100%);
}
/* film grain */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* thin horizon line where the glow peaks */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 64, .7), transparent);
}

/* Optional band photo behind the wordmark. Sits under the grain (z -1) and fades out
   toward the bottom so the ember glow and the type stay readable. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .6;
  -webkit-mask-image: linear-gradient(180deg, #000 25%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 25%, transparent 92%);
}

.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 1.1rem;
}
.wordmark {
  font-family: var(--display);
  /* 23vw keeps the 9 Anton letters (~3.7em wide) inside the gutters down to 320px */
  font-size: clamp(4.4rem, 23vw, 14.5rem);
  line-height: .86;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin-left: -.04em;
  text-shadow: 0 0 60px rgba(255, 77, 31, .22);
}
.lede {
  max-width: 34ch;
  margin-top: 1.4rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #d8d3cb;
}
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

/* ---------- buttons ---------- */

.btn {
  --cut: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.7rem;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-hi); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(242, 239, 233, .55);
  clip-path: none;
}
.btn-ghost:hover { background: rgba(242, 239, 233, .08); }
.btn-sm { min-height: 42px; padding: .65rem 1.2rem; font-size: .74rem; }

/* ---------- sections ---------- */

.section {
  padding: clamp(4.5rem, 11vw, 8.5rem) 0;
  scroll-margin-top: var(--bar-h);
  border-top: 1px solid rgba(255, 255, 255, .04);
}
.section-alt { background: var(--bg-2); }

.eyebrow {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: .9;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}
.sub {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: clamp(3.5rem, 8vw, 5.5rem) 0 1.6rem;
}

/* ---------- photo placeholders ---------- */
/* Each .ph stands in for an <img>. Delete the class rules once every one is replaced. */

.ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px),
    var(--bg-3);
  border: 1px solid var(--line);
  color: var(--muted);
}
.ph > span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ph-wide { aspect-ratio: 3 / 2; }
.ph-square { aspect-ratio: 1 / 1; }

/* ---------- about ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.prose p + p { margin-top: 1.1rem; }
.prose { color: #cfcac2; max-width: 60ch; }
.prose .big {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  color: var(--text);
}

.name-note {
  margin: 2.4rem 0 0;
  padding: 1.2rem 0 0 1.3rem;
  border-left: 3px solid var(--accent);
}
.name-note blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
}
.name-note figcaption {
  margin-top: .7rem;
  font-size: .9rem;
  color: var(--muted);
}
.name-note b { color: var(--text); }

.members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.m-name {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.m-role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- music ---------- */

.release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.ph-cover {
  background:
    radial-gradient(80% 80% at 50% 100%, rgba(255, 77, 31, .32), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px),
    #0d0d0f;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.ph-cover .cover-mark {
  font-family: var(--display);
  font-size: clamp(7rem, 20vw, 13rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(242, 239, 233, .12);
}
.ph-cover > span:last-child { position: absolute; bottom: 1.1rem; }
.release-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.release-meta {
  margin-top: .8rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.release-blurb { margin-top: 1.3rem; color: #cfcac2; max-width: 46ch; }

/* Outbound link chips (streaming + social). An <a> with no href is HTML's placeholder link:
   it renders dimmed with a "Soon" tag and becomes a live link the moment it gets an href. */
.links {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.links a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .55rem 1.05rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.links a[href]:hover { border-color: var(--accent); background: rgba(255, 77, 31, .08); }
.links a:not([href]) { color: var(--muted); cursor: default; }
.links a:not([href])::after {
  content: "Soon";
  font-size: .62rem;
  letter-spacing: .14em;
  padding: .15rem .4rem;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ---------- shows ---------- */

.empty {
  padding: clamp(2rem, 5vw, 3.2rem);
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, .015);
  max-width: 760px;
}
.empty-h {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.empty p:not(.empty-h) { color: #cfcac2; }
.empty .btn { margin-top: 1.5rem; }

.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.shows li {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.s-date {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.s-date b { display: block; font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--text); }
.s-venue { font-weight: 700; font-size: 1.1rem; }
.s-city { color: var(--muted); font-size: .95rem; }

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
.label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .8rem;
}
.contact .links { margin-top: 0; }
.email {
  font-family: var(--display);
  font-size: clamp(1.7rem, 5.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 3px no-repeat;
  padding-bottom: .15em;
  transition: color .15s ease;
}
.email:hover { color: var(--accent-hi); }

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 2rem 0 2.4rem;
  font-size: .85rem;
  color: var(--muted);
}
.foot-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .split, .release, .contact { grid-template-columns: 1fr; }
  .members { grid-template-columns: repeat(2, 1fr); }
  .release .ph-cover { max-width: 440px; }
}
@media (max-width: 520px) {
  :root { --bar-h: 58px; }
  .mark { font-size: 1.35rem; }
  .bar nav { gap: 1rem; }
  .bar nav a { font-size: .72rem; letter-spacing: .12em; }
  .bar nav a[data-opt] { display: none; }
  .shows li { grid-template-columns: 4.5rem 1fr; }
  .shows li .btn { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
