/* What a Rush Productions.
   The palette is sampled from the logo rather than guessed: plum #502040,
   raspberry #A02060 and warm orange #F0A050 are the three inks actually in the
   artwork. Cream ground, because the logo was drawn to sit on paper and looks
   thin on white. */

:root {
  --plum: #502040;
  --plum-deep: #3a1730;
  --rasp: #a02060;
  --orange: #f0a050;
  --orange-soft: #f7c896;
  --paper: #fdf7f0;
  --paper-warm: #f8ecdf;
  --ink: #2c1626;
  --muted: #7b6070;
  --line: #e6d3c4;
  --radius: 14px;
  --tap: 48px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5rem; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--rasp); }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #4a3040; }
.eyebrow {
  margin: 0 0 .4rem; font-size: .78rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--rasp);
}
.head { margin-bottom: 1.4rem; }
.more { margin-top: 1.4rem; font-weight: 600; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--plum); color: #fff; padding: .7rem 1rem; border-radius: 8px; z-index: 20; }
:focus-visible { outline: 3px solid var(--rasp); outline-offset: 2px; }

/* ------------------------------------------------------------------ nav --- */

.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top__inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { flex: none; display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 148px; height: auto; display: block; }
/* The logo is a drawn 70s script; the wordmark stays deliberately quiet beside
   it -- geometric, letterspaced, one weight down. It completes the name
   ("What a Rush!" + Productions) without competing with the artwork. */
.brand__word {
  font-family: Jost, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-weight: 500; font-size: .82rem; line-height: 1.1;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--plum); white-space: nowrap;
  padding-top: .5rem;   /* optically seats it against the script's baseline */
}
.nav { margin-left: auto; display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .6rem .8rem; border-radius: 999px; min-height: var(--tap);
  display: inline-flex; align-items: center;
}
.nav a:hover { background: var(--paper-warm); }
.nav a[aria-current] { color: var(--rasp); }
.nav__cta { background: var(--plum); color: #fff !important; }
.nav__cta:hover { background: var(--plum-deep); }

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

.hero {
  background:
    radial-gradient(1100px 420px at 12% -10%, rgba(240,160,80,.42), transparent 60%),
    radial-gradient(900px 400px at 92% 0%, rgba(160,32,96,.22), transparent 60%),
    var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.hero__inner { padding: clamp(3rem, 9vw, 6rem) 0; max-width: 780px; }
.hero h1 { color: var(--plum); }
.hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }

.page-head { padding: clamp(2.2rem, 6vw, 3.4rem) 0 .5rem; }
.page-head h1 { color: var(--plum); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: .8rem 1.5rem; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-deep); }
.btn--ghost { border-color: var(--plum); color: var(--plum); }
.btn--ghost:hover { background: rgba(80,32,64,.07); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------- layout --- */

.section { padding: clamp(2.6rem, 7vw, 4.5rem) 0; }
.section--tint { background: var(--paper-warm); }
.section--cta { background: var(--plum); color: var(--paper); }
.section--cta h2 { color: #fff; }
.section--cta .lede { color: var(--orange-soft); }
.section--cta .btn--primary { background: var(--orange); color: var(--plum-deep); }
.section--cta .btn--primary:hover { background: #f6b877; }

.cards { display: grid; gap: 1.2rem; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; display: flex; flex-direction: column; gap: .35rem;
}
.card h2, .card h3 { color: var(--plum); }
.card__eyebrow {
  margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rasp);
}
.card__link { margin-top: auto; padding-top: .6rem; font-weight: 700; text-decoration: none; }
.card__link:hover { text-decoration: underline; }
.card__role { font-style: italic; color: var(--muted); }
.card__art {
  width: calc(100% + 2.6rem); margin: -1.3rem -1.3rem .8rem; display: block;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--paper-warm);
}

.panel { border-top: 3px solid var(--orange); padding: 1.6rem 0 2.2rem; scroll-margin-top: 5rem; }
.panel h2 { color: var(--plum); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.ticks li { padding-left: 1.7rem; position: relative; margin-bottom: .5rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: .7rem; height: .7rem; border-radius: 50%; background: var(--orange);
}

.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.credits li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--rasp);
  border-radius: 10px; padding: .8rem 1rem;
}
.credits__name { display: block; font-weight: 800; color: var(--plum); }
.credits__kind { font-size: .85rem; color: var(--muted); }

.empty {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 1.4rem; color: var(--muted);
}

/* ---------------------------------------------------------------- form --- */

.contact-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.req { color: var(--rasp); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: var(--tap); padding: .65rem .8rem; font: inherit;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.field-error { color: #a1231d; font-size: .88rem; margin: .3rem 0 0; }
.form-alert {
  background: #fdece9; border: 1px solid #f0c4bd; color: #8e1f19;
  border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem;
}
.form-foot { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
/* A person never sees the honeypot. Kept out of the flow rather than
   display:none, which some bots check for. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: grid; gap: 1rem; }
.mini-steps { margin: 0; padding-left: 1.2rem; }
.mini-steps li { margin-bottom: .45rem; }

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

.foot { background: var(--plum); color: var(--paper-warm); margin-top: 3rem; padding: 2.2rem 0 1.4rem; }
.foot__inner { display: flex; gap: 1.5rem; justify-content: space-between; flex-wrap: wrap; }
.foot__name { font-weight: 800; color: #fff; margin: 0; }
.foot__meta { color: var(--orange-soft); margin: 0; }
.foot__links { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
.foot a { color: var(--orange-soft); }
.foot__fine {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.16); margin-top: 1.6rem; padding-top: 1rem;
  font-size: .86rem; color: rgba(253,247,240,.72);
}
.foot__fine p { margin: 0; }

/* ------------------------------------------------------------- posters --- */
/* Posters are portrait and carry small print, so they are shown whole on a
   tinted ground rather than cropped to fit the card. */
.card__art { object-fit: contain; aspect-ratio: 3 / 4; cursor: zoom-in; }
.card__art:focus-visible { outline: 3px solid var(--rasp); outline-offset: -3px; }

.lineup { list-style: none; padding: 0; margin: .4rem 0 .6rem; font-size: .92rem; }
.lineup li { display: flex; gap: .5rem; align-items: baseline; }
.lineup__name { font-weight: 700; color: var(--plum); }
.lineup__billing {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rasp); background: rgba(160,32,96,.1); border-radius: 999px; padding: .1rem .5rem;
}

.has-lightbox { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem); background: rgba(44,22,38,.94); cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: default;
}
.lightbox__close {
  position: absolute; top: max(.75rem, env(safe-area-inset-top)); right: .75rem;
  width: 48px; height: 48px; display: grid; place-items: center;
  font-size: 2rem; line-height: 1; color: #fff; background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; cursor: pointer;
}

/* Wysteria's bio -- narrower measure than the section default so the three
   paragraphs read as prose rather than as banner copy. */
.bio{max-width:60ch;margin-inline:auto;text-align:left}

/* ------------------------------------------------------------- responsive --- */
/* The layout was already fluid (min() wraps, auto-fit grids, clamp() type), so
   this is a targeted pass rather than a rewrite: overflow safety, then a header
   that stacks cleanly once the logo lockup and four nav items stop fitting. */

/* Media never overflows its column. .card__art is the deliberate exception --
   it bleeds wider than the card by design, so it opts out. */
img, svg, video { max-width: 100%; height: auto; }
.card__art { max-width: none; }

/* Long unbroken strings (an email, a pasted URL) must not push the page wide. */
body { overflow-wrap: break-word; }

/* Landscape notch on iPhones. */
@supports (padding: max(0px)) {
  .wrap { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

@media (max-width: 640px) {
  .top__inner { gap: .75rem; padding: .6rem 0; }
  .brand img { width: 118px; }
  .brand__word { font-size: .68rem; letter-spacing: .2em; padding-top: .35rem; }
  .nav { gap: .1rem; }
  .nav a { padding: .55rem .62rem; font-size: .9rem; }
}

/* Below this the lockup plus four items cannot share a line without crowding,
   so the header becomes two centred rows instead of a ragged wrap. */
@media (max-width: 470px) {
  .top__inner { justify-content: center; }
  .brand { width: 100%; justify-content: center; }
  .nav { width: 100%; margin-left: 0; justify-content: center; }
  .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .foot__inner, .foot__fine { flex-direction: column; gap: .8rem; }
}
