/* Tate fundraising - programme / playbill layout */

:root {
  --ink: #140814;
  --plum: #160a1e;
  --plum-2: #24112f;
  --purple: #6b2d8b;
  --purple-mid: #8a45ad;
  --gold: #e8b52e;
  --gold-deep: #c9961c;
  --orange: #f15a24;
  --orange-2: #ff7a3d;
  --cream: #f4ead8;
  --paper: #fbf6ee;
  --muted: #cbb8d8;
  --line: rgba(232, 181, 46, 0.38);
  --max: 1180px;
  --wide: 1360px;
  --header-h: 7.25rem;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--plum);
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange-2);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip:focus {
  left: 0.8rem;
  top: 0.8rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--gold), var(--orange) 55%, var(--purple));
  z-index: 80;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
}

.utility {
  background: #0c0612;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  align-items: center;
  min-height: 2.1rem;
}

.utility p {
  margin: 0;
  color: var(--muted);
}

.utility-tag {
  flex: 1;
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.08em;
  min-width: 0;
}

.utility-phone {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-bar {
  background: rgba(22, 10, 30, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 181, 46, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.1rem;
}

.nav-inner .btn-donate {
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Buttons - ticket stubs */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 1.15rem;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-donate {
  background: var(--orange);
  color: #fff;
}

.btn-donate:hover {
  background: var(--orange-2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(232, 181, 46, 0.12);
  color: var(--gold);
}

.btn-on-light {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-on-light:hover {
  background: rgba(20, 8, 20, 0.08);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.hero-actions,
.cta-row,
.footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) 1.15fr;
  min-height: calc(100vh - 7.2rem);
  background: var(--cream);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-bottom: 10px solid var(--gold);
}

.hero-copy {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.4rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-right: -3.5rem;
  background: var(--cream);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.25);
}

.hero-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-top: 0.15em;
}

.hero-lead {
  margin: 1.4rem 0 0;
  font-size: 1.2rem;
  max-width: 28ch;
}

.hero-note {
  margin: 0.8rem 0 1.6rem;
  color: #5a3a4a;
  font-size: 0.98rem;
}

.hero-visual {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
  transition: transform 0.8s ease;
}

.hero-visual:hover img {
  transform: scale(1.04);
}

.hero-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  margin: 0;
  padding: 0.4rem 0.7rem;
  background: rgba(12, 6, 18, 0.72);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* Sections shared */

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.sec-index {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* About */

.about {
  background: var(--paper);
  color: var(--ink);
}

.about .sec-index,
.donate .sec-index {
  color: var(--purple);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: center;
}

.about-copy {
  padding-right: 2rem;
}

.about p {
  max-width: 38rem;
}

.about-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.about-figure img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.about-figure:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.about-figure figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  max-width: calc(100% - 2.4rem);
}

.rule {
  width: 4rem;
  height: 3px;
  background: var(--orange);
  border: 0;
  margin: 0 0 1.4rem;
}

/* Dream */

.dream {
  background: var(--plum);
  border-top: 1px solid var(--line);
}

.dream h2 {
  max-width: 16ch;
}

.dream-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 3.2rem;
  margin-top: 1.8rem;
  align-items: start;
}

.dream-grid p {
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.dream-tail {
  max-width: 38rem;
}

.pull {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0.8rem 0 0.8rem;
  padding: 1.6rem 0 1.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 0;
  background: transparent;
}

.pull p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.55rem 1.6rem;
  width: 100%;
  max-width: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.6vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold);
}

.pull span {
  white-space: nowrap;
}

.story-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem 1.6rem;
  margin: 2.6rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.story-end span {
  white-space: nowrap;
}

/* Services */

.services {
  background: #100814;
}

.give-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

a.tile {
  color: inherit;
  text-decoration: none;
}

a.tile:hover {
  color: inherit;
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--plum-2);
  min-height: 16rem;
  display: grid;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
  transition: transform 0.55s ease;
}

.tile:hover img {
  transform: scale(1.06);
}

.tile-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(12, 6, 18, 0.92) 42%);
}

.tile-shot {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.tile h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tile-go {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.give-grid .tile img {
  min-height: 22rem;
}

/* What we would do */

.would-do {
  background: var(--plum);
}

.gallery {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 14rem;
  gap: 0.85rem;
}

.shot {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.shot:hover img {
  transform: scale(1.05);
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(10, 4, 16, 0.92));
  font-size: 0.82rem;
  font-weight: 500;
}

.shot-a { grid-column: 1; grid-row: 1 / span 2; }
.shot-b { grid-column: 2; grid-row: 1; }
.shot-c { grid-column: 3; grid-row: 1 / span 2; }
.shot-d { grid-column: 2; grid-row: 2 / span 2; }
.shot-e { grid-column: 1; grid-row: 3; }
.shot-f { grid-column: 3; grid-row: 3; }
.shot-g { grid-column: 1 / span 2; grid-row: 4; }
.shot-h { grid-column: 3; grid-row: 4; }

/* Donate */

.donate {
  background: var(--paper);
  color: var(--ink);
}

.donate-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
}

.donate-copy {
  padding-right: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.donate-copy p {
  max-width: 34rem;
}

.donate .cta-row {
  margin-top: 1.4rem;
}

.donate-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.donate-figure img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.donate-figure:hover img {
  transform: scale(1.03);
}

.donate-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(10, 4, 16, 0.88));
  color: var(--cream);
  font-size: 0.82rem;
}

/* Footer */

.site-footer {
  background: #0c0612;
  border-top: 1px solid var(--line);
  padding-bottom: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 2rem;
  padding: 2.4rem 0 1.6rem;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.footer-name {
  font-family: var(--display);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 0.6rem 0 0.15rem;
  letter-spacing: 0.06em;
}

.footer-kicker {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: center;
}

.footer-nav a {
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--gold);
}

.footer-phone {
  color: var(--gold);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  display: block;
  margin: 0.4rem 0 0;
}

.footer-btns {
  margin-top: 1rem;
}

.footer-base {
  border-top: 1px solid rgba(232, 181, 46, 0.14);
  padding: 0.9rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-base p {
  margin: 0;
}

/* Dock */

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #0c0612;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.4rem;
  border-top: 1px solid var(--line);
}

.dock .btn {
  flex: 1;
}

/* Privacy */

.legal {
  background: var(--paper);
  color: var(--ink);
  padding: 4.5rem 0 5rem;
}

.legal-wrap {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

.legal h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.legal .updated {
  color: #6a5560;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.6rem;
  color: var(--purple);
}

.legal p,
.legal li {
  color: #3a2a32;
}

.legal a {
  color: var(--purple);
}

.legal a:hover {
  color: var(--orange);
}

.legal ul {
  padding-left: 1.2rem;
}

@media (max-width: 1100px) {
  .utility-tag {
    letter-spacing: 0.04em;
    font-size: 0.7rem;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    margin-right: 0;
    order: 2;
  }

  .hero-visual {
    order: 1;
    min-height: 18rem;
    max-height: 42vh;
  }

  .about-grid,
  .give-grid,
  .dream-grid,
  .donate-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .donate-copy {
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .about-figure figcaption {
    left: 0.8rem;
    max-width: calc(100% - 1.6rem);
  }

  .story-end {
    justify-content: flex-start;
  }

  .pull {
    grid-column: 1 / -1;
  }

  .pull p {
    justify-content: space-between;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 12rem;
  }

  .shot-a, .shot-b, .shot-c, .shot-d,
  .shot-e, .shot-f, .shot-g, .shot-h {
    grid-column: auto;
    grid-row: auto;
  }

  .shot-a, .shot-c, .shot-g {
    grid-column: 1 / -1;
    min-height: 16rem;
  }
}

@media (max-width: 900px) {
  .rail {
    display: none;
  }

  .utility-place,
  .utility-tag {
    display: none;
  }

  .dock {
    display: flex;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .give-grid .tile img,
  .about-figure img,
  .donate-figure img {
    min-height: 16rem;
    height: 16rem;
  }
}

@media (max-width: 720px) {
  .pull p {
    justify-content: flex-start;
    gap: 0.35rem 1.1rem;
  }

  .pull span {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .give-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .tile img,
  .shot img,
  .hero-visual img,
  .about-figure img,
  .donate-figure img {
    transition: none;
  }
}
