/* The Marratons — screen-printed gig poster on kraft stock, one fluoro pass */

@font-face {
  font-family: 'Anton';
  src: url('/assets/anton-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/archivo-var.woff2') format('woff2-variations'),
       url('/assets/archivo-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* paper */
  --paper:       oklch(0.930 0.030 82);
  --paper-deep:  oklch(0.877 0.043 76);
  --paper-dark:  oklch(0.820 0.050 72);

  /* ink */
  --ink:         oklch(0.205 0.014 62);
  --ink-soft:    oklch(0.430 0.020 62);
  --ink-faint:   oklch(0.600 0.022 68);

  /* one fluoro spot pass */
  --spot:        oklch(0.640 0.212 38);
  --spot-deep:   oklch(0.520 0.180 34);

  /* the emblem's gold */
  --gold:        oklch(0.680 0.098 76);

  --rule: 2px solid var(--ink);

  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --gap: clamp(2.5rem, 7vw, 7rem);

  --step-lede: clamp(1.0625rem, 0.95rem + 0.55vw, 1.375rem);
  --step-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-h2:   clamp(2.25rem, 1.2rem + 5vw, 5.5rem);
  --step-h3:   clamp(1.375rem, 1.1rem + 1.2vw, 2rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* aged stock: fibre grain + uneven bleaching, no external assets */
  background-image:
    radial-gradient(120% 80% at 12% 4%,  oklch(0.965 0.022 88 / 0.85), transparent 62%),
    radial-gradient(100% 70% at 92% 18%, oklch(0.845 0.052 66 / 0.55), transparent 58%),
    radial-gradient(140% 90% at 50% 108%, oklch(0.800 0.058 62 / 0.60), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)' opacity='0.34'/%3E%3C/svg%3E");
  background-blend-mode: normal, multiply, multiply, multiply;
  overflow-x: hidden;
}

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

::selection { background: var(--spot); color: var(--paper); }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--spot);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 50;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- masthead ---------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: clamp(0.85rem, 2vw, 1.4rem) var(--pad);
  border-bottom: var(--rule);
}

.masthead__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  font-size: 1.0625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.masthead__emblem {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: contrast(1.1);
}

.masthead__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem clamp(0.9rem, 2.4vw, 2.25rem);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 22.5rem) {
  .masthead__nav { font-size: 0.75rem; letter-spacing: 0.07em; }
}

.masthead__nav a {
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 240ms var(--ease), color 240ms var(--ease);
}
.masthead__nav a:hover { color: var(--spot); border-bottom-color: var(--spot); }

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

.hero {
  padding: clamp(2rem, 6vw, 5rem) 0 0;
}

.hero__type {
  padding: 0 var(--pad);
  position: relative;
}

/* emblem watermark behind the wordmark */
.hero__type::before {
  content: "";
  position: absolute;
  right: clamp(-4rem, -2vw, 1rem);
  top: -14%;
  width: clamp(15rem, 34vw, 34rem);
  aspect-ratio: 1;
  background: url('/assets/emblem.webp') center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

.hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.015em;
}

.hero__the {
  display: block;
  font-size: clamp(1.75rem, 6.4vw, 5.25rem);
  letter-spacing: 0.14em;
  margin-left: 0.35em;
  color: var(--ink-soft);
}

.hero__name {
  display: block;
  font-size: clamp(3rem, 20.2vw, 22rem);
  letter-spacing: -0.022em;
  margin-left: -0.035em;
}

.stamp {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.1rem);
  margin: clamp(1rem, 2.4vw, 1.75rem) 0 0;
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 2.1vw, 1.6rem);
  letter-spacing: 0.2em;
  color: var(--spot);
}

.stamp span {
  border: 2px solid currentColor;
  padding: 0.28em 0.7em 0.2em;
}
.stamp span:nth-child(1) { transform: rotate(-1.6deg); }
.stamp span:nth-child(2) { transform: rotate(0.9deg); }
.stamp span:nth-child(3) { transform: rotate(-0.7deg); }

.hero__lede {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.5rem, 5vw, 4rem);
  font-size: var(--step-lede);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* hero photograph, printed rather than placed */
.hero__shot {
  margin: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  position: relative;
  overflow: hidden;
  background: var(--paper-dark);
}

.hero__shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 42%;
  filter: grayscale(0.62) contrast(1.16) brightness(1.02) sepia(0.3);
  mix-blend-mode: multiply;
}

.hero__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(196deg, oklch(0.640 0.212 38 / 0.20), transparent 58%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ---------- shared section furniture ---------- */

.section-head {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--step-h2);
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin: 0 0 clamp(1.5rem, 3.5vw, 3rem);
}

.band, .played, .pictures {
  padding: var(--gap) var(--pad);
}

/* ---------- band ---------- */

.band__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 62rem) {
  .band__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
}

.band__lead p {
  margin: 0 0 1.2em;
  max-width: 62ch;
  font-size: var(--step-lede);
  line-height: 1.62;
}
.band__lead p:last-child { margin-bottom: 0; }

.facts {
  margin: 0;
  border-top: var(--rule);
}

.facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid oklch(0.205 0.014 62 / 0.22);
}

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
}

.facts dd {
  margin: 0;
  text-align: right;
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

/* ---------- played: tour-bill grammar ---------- */

.played { background: oklch(0.877 0.043 76 / 0.5); border-block: var(--rule); }

.bill {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule);
}

.bill__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem 1.5rem;
  padding: clamp(0.9rem, 2vw, 1.5rem) 0;
  border-bottom: 1px solid oklch(0.205 0.014 62 / 0.28);
  align-items: baseline;
}

/* every row shares identical tracks so the columns line up down the bill */
@media (min-width: 48rem) {
  .bill__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) 6.5rem;
    align-items: baseline;
  }
}

.bill__event {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: var(--step-h3);
  line-height: 1.06;
  letter-spacing: 0.005em;
}

.bill__place {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.bill__tag:not(:empty) {
  justify-self: start;
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--paper);
  background: var(--spot);
  padding: 0.35em 0.75em 0.28em;
  transform: rotate(-1.4deg);
}

@media (min-width: 48rem) {
  .bill__tag:not(:empty) { justify-self: end; }
}

.played__next {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.9rem, 1.7vw, 1.15rem);
  color: var(--ink-soft);
}

/* ---------- pictures: prints taped to the wall ---------- */

.wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3.4vw, 3rem);
}

@media (min-width: 60rem) {
  /* row one: two landscapes. row two: three portraits. no ragged holes. */
  .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wall__shot { grid-column: span 2; }
  .wall__shot--wide { grid-column: span 3; }
}

.wall__shot {
  position: relative;
  margin: 0;
  padding: 0.6rem 0.6rem 0.6rem;
  background: oklch(0.965 0.020 88);
  box-shadow: 0 1px 0 oklch(0.205 0.014 62 / 0.35),
              0 14px 26px -18px oklch(0.205 0.014 62 / 0.7);
}

.wall__shot::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: clamp(3rem, 22%, 5.5rem);
  height: 1.5rem;
  transform: translateX(-50%) rotate(-2.4deg);
  background: oklch(0.900 0.040 84 / 0.72);
  box-shadow: inset 0 0 0 1px oklch(0.205 0.014 62 / 0.10);
}

.wall__shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* portraits are phone shots: bias the crop upward so faces survive it */
  object-position: 50% 26%;
  filter: grayscale(0.42) contrast(1.1) sepia(0.2) saturate(0.92);
}

.wall__shot--wide img {
  aspect-ratio: 4 / 3;
  object-position: 50% 50%;
}

.wall__shot:nth-child(1) { transform: rotate(-1.1deg); }
.wall__shot:nth-child(2) { transform: rotate(0.8deg); }
.wall__shot:nth-child(3) { transform: rotate(-0.5deg); }
.wall__shot:nth-child(4) { transform: rotate(1.2deg); }
.wall__shot:nth-child(5) { transform: rotate(-0.9deg); }

/* ---------- booking: the fluoro pass ---------- */

.booking {
  background: var(--spot);
  color: var(--paper);
  border-top: var(--rule);
  padding: clamp(3rem, 8vw, 7rem) var(--pad);
}

.booking__inner { max-width: 58ch; }

.booking__head {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--step-h2);
  line-height: 0.9;
  margin: 0 0 clamp(1rem, 2.5vw, 1.75rem);
}

.booking__copy {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-size: var(--step-lede);
  line-height: 1.55;
}

.booking__contact {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3.2vw, 2.25rem);
  letter-spacing: 0.03em;
  margin: 0;
  word-break: break-word;
}

.booking__contact a {
  color: inherit;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.booking__contact--pending {
  display: inline-block;
  border: 3px dashed oklch(0.930 0.030 82 / 0.72);
  padding: 0.4em 0.7em 0.32em;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.1em;
}

.booking__note {
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: oklch(0.930 0.030 82 / 0.82);
}

/* ---------- foot ---------- */

.foot {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
}

.foot__emblem {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.foot__name {
  font-family: 'Anton', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.foot__meta {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- one orchestrated load ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__the,
  .hero__name,
  .stamp,
  .hero__lede,
  .hero__shot {
    animation: rise 900ms var(--ease) backwards;
  }
  .hero__the   { animation-delay:  60ms; }
  .hero__name  { animation-delay: 130ms; }
  .stamp       { animation-delay: 300ms; }
  .hero__lede  { animation-delay: 380ms; }
  .hero__shot  { animation-delay: 460ms; }
}

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 1.4rem, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media print {
  body { background: none; color: #000; }
  .masthead__nav, .skip { display: none; }
}
