:root {
  --gold: #f4c85f;
  --gold-bright: #ffe184;
  --cream: #fff4dc;
  --muted: rgba(255, 244, 220, 0.82);
  --aubergine: #211329;
  --purple: #30203c;
  --plum: #40284a;
  --line: rgba(244, 200, 95, 0.42);
  --panel: rgba(33, 20, 42, 0.46);
}

* { box-sizing: border-box; }

html { background: var(--aubergine); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: Avenir, "Avenir Next", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(184, 82, 49, 0.42), transparent 26rem),
    radial-gradient(circle at 30% 42%, rgba(230, 126, 65, 0.24), transparent 30rem),
    radial-gradient(circle at 72% 50%, rgba(128, 73, 127, 0.28), transparent 34rem),
    linear-gradient(135deg, #24152d 0%, #322344 48%, #563048 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: repeating-radial-gradient(circle at 25% 20%, rgba(255,255,255,.22) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.page-shell {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
  padding: 24px 0 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 1.03fr) minmax(370px, .97fr);
  gap: clamp(18px, 3.2vw, 44px);
  align-items: center;
}

.art-wrap {
  position: relative;
  min-height: 535px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.shell-glow {
  position: absolute;
  inset: 7% 0 3% 0;
  background: radial-gradient(circle at 46% 54%, rgba(223, 126, 69, .32), transparent 54%);
  filter: blur(34px);
}

.shell-art {
  position: relative;
  z-index: 1;
  width: min(610px, 105%);
  margin-left: -3%;
  opacity: .92;
  filter:
    brightness(.86)
    saturate(1.08)
    contrast(1.05)
    drop-shadow(0 0 48px rgba(255, 184, 105, .20));
  /* Feather the left edge into the background while preserving the existing soft right-edge blend. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 3%, rgba(0,0,0,.62) 8%, #000 16%, #000 70%, rgba(0,0,0,.88) 80%, rgba(0,0,0,.42) 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 3%, rgba(0,0,0,.62) 8%, #000 16%, #000 70%, rgba(0,0,0,.88) 80%, rgba(0,0,0,.42) 91%, transparent 100%);
}

.hero-copy { text-align: center; padding: 0; }

h1 {
  margin: 0;
  font-family: Zapfino, "Apple Chancery", "Snell Roundhand", "Brush Script MT", cursive;
  font-size: clamp(2.25rem, 4.7vw, 4.35rem);
  line-height: .95;
  font-weight: 400;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(244, 200, 95, .16);
  white-space: nowrap;
}


.subtitle {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: clamp(.98rem, 1.9vw, 1.48rem);
  letter-spacing: .18em;
}

.top-programme {
  max-width: 500px;
  margin: 0 auto 12px;
  color: var(--cream);
  line-height: 1.25;
}

.top-programme p { margin: 0 0 4px; }
.top-programme .programme-line { font-family: Avenir, "Avenir Next", Inter, system-ui, sans-serif; color: var(--cream); font-size: .98rem; line-height: 1.3; font-weight: 400; }
.top-programme h2 { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-weight: 400; font-size: 1.08rem; margin: 5px 0 2px; }
.top-programme .mini-flourish { margin: 6px 0 2px; }

.notice {
  margin: 0 auto 12px;
  max-width: 520px;
  font-size: clamp(.98rem, 1.5vw, 1.18rem);
  line-height: 1.38;
  color: var(--cream);
}

.notice strong { color: var(--gold-bright); }

.flourish, .mini-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
  opacity: .85;
  margin: 10px auto 10px;
}

.flourish span, .mini-flourish span {
  height: 1px;
  width: 38%;
  max-width: 150px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(56px, 1fr));
  gap: 6px;
  max-width: 360px;
  margin: 0 auto 7px;
}

.time-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(33, 20, 42, .36);
  padding: 6px 5px 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 20px rgba(0,0,0,.13);
}

.time-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.75vw, 2.25rem);
  line-height: .9;
  font-weight: 400;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.time-card span {
  display: block;
  margin-top: 5px;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: .55rem;
  font-weight: 700;
}

.until {
  color: var(--gold);
  margin: 0 0 13px;
  font-size: .88rem;
}

.signup {
  max-width: 410px;
  margin: 0 auto;
}

.signup h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 4px;
  font-family: Zapfino, "Apple Chancery", "Snell Roundhand", cursive;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--gold);
}

.signup h2 span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--line));
}
.signup h2 span:last-child { background: linear-gradient(90deg, var(--line), transparent); }

.signup p { margin: 0 0 7px; color: var(--cream); line-height: 1.25; font-size: .96rem; }

.email-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 0 14px;
  height: 42px;
  background: rgba(33, 20, 42, .40);
}

.email-field span { color: var(--gold); font-size: 1.8rem; padding-bottom: 3px; }

input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--cream);
  font: inherit;
}

input::placeholder { color: rgba(255, 241, 211, .62); }

button {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  border: 0;
  border-radius: 24px;
  color: #221423;
  background: linear-gradient(180deg, #ffda77, #e5a443);
  font: inherit;
  font-size: .98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

button:disabled { opacity: .65; cursor: wait; }

.maps-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  color: #202124;
  font: 500 15px/1.2 Arial, sans-serif;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.maps-button:hover {
  background: #f8f9fa;
}

.maps-button img {
  width: 22px;
  height: 22px;
}

.form-status { min-height: 1.1em; color: var(--gold-bright); font-weight: 700; }
.privacy { font-size: .78rem; color: var(--muted) !important; margin-top: 10px !important; }

.event-band {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 200, 95, .24);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
}

.event-card {
  min-height: 112px;
  padding: 2px 24px;
  border-right: 1px solid var(--line);
}
.event-card:last-child { border-right: 0; }

/* Dates card: two icon+content rows stacked */
.dates-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dates-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.dates-row + .dates-row { margin-top: 11px; }
.dates-row-sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

.icon { color: var(--gold); font-size: 1.65rem; line-height: 1; flex-shrink: 0; padding-top: 1px; width: 2rem; text-align: center; }

.dates p { margin: 0 0 5px; color: var(--gold); font-size: .96rem; }
.date-list { text-align: left; }
.date-list p { display: flex; justify-content: flex-start; align-items: baseline; gap: 1.1rem; margin: 0 0 5px; }
.date-list p:last-child { margin-bottom: 0; }
.dates strong { text-transform: none; letter-spacing: .02em; font-weight: 800; min-width: 12.4rem; }
.dates span { font-size: 1.04rem; color: var(--gold-bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tickets hr { border: 0; border-top: 1px solid var(--line); margin: 11px 0; }
.venue { color: var(--cream) !important; line-height: 1.45; margin: 0; }
.venue strong { color: var(--gold); font-size: 1.06rem; }
.maps-link { color: var(--gold-bright); font-size: .82rem; text-decoration: underline; text-underline-offset: 2px; opacity: .82; transition: opacity .15s; }
.maps-link:hover { opacity: 1; }

.programme { text-align: center; }
.programme p { margin: 0 0 8px; color: var(--cream); }
.programme .script { font-family: Zapfino, "Apple Chancery", cursive; color: var(--gold); font-size: 1.1rem; line-height: 1.5; }
.programme h2 { color: var(--gold); letter-spacing: .18em; text-transform: uppercase; font-weight: 400; margin: 10px 0 6px; }
.mini-flourish { margin: 8px 0 3px; }
.mini-flourish em { color: var(--gold); }

.tickets-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-list p { margin: 0 0 5px; font-size: .96rem; }
.price-list p:last-child { margin-bottom: 0; }
.tickets strong { color: var(--gold); }
.phone { color: var(--cream); line-height: 1.45; margin: 0; }
.phone strong { font-size: 1.05rem; font-weight: 700; color: var(--gold-bright); }
.phone-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 225, 132, 0.45); text-underline-offset: 3px; }
.phone-link:hover { text-decoration-color: var(--gold-bright); }

footer { display: none; }


@media (max-width: 560px) {
  .page-shell { width: min(100% - 22px, 1180px); padding-top: 12px; }
  h1 {
    font-size: clamp(1.35rem, 7vw, 2.15rem);
    line-height: 1.38;
    white-space: normal;
  }
  .subtitle { font-size: .88rem; letter-spacing: .12em; }
  .top-programme { font-size: .82rem; line-height: 1.18; margin-bottom: 8px; }
  .notice { font-size: .9rem; line-height: 1.28; }
  .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: 360px; }
  .time-card { padding: 6px 3px 5px; }
  .time-card strong { font-size: 1.15rem; }
  .time-card span { font-size: .42rem; letter-spacing: .04em; }
  .signup h2 { font-size: 1rem; }
  .date-list p { gap: .7rem; }
  .dates strong { min-width: 10.7rem; }
}

/* Requested refinements */
.flourish { display: none !important; }
.time-card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.time-card strong, .time-card span { width: 100%; text-align: center; }
.countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 360px; }


@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
  }
  .art-wrap {
    height: auto;
    overflow: visible;
    border-radius: 0;
    justify-content: center;
    line-height: 0;
  }
  .shell-art {
    display: block;
    width: min(480px, 90%);
    max-width: 100%;
    height: auto;
    margin: -14% auto;
  }
  .hero-copy { text-align: center; }
  .top-programme, .notice, .signup, .countdown { margin-left: auto; margin-right: auto; }
}

@media (max-width: 560px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
  }
  .art-wrap {
    height: auto;
    overflow: visible;
    border-radius: 0;
    justify-content: center;
    line-height: 0;
  }
  .shell-art {
    display: block;
    width: min(320px, 88%);
    max-width: 100%;
    height: auto;
    margin: -18% auto;
  }
}


@media (max-width: 960px) {
  .shell-art {
    content: url("assets/shell-mobile.png");
    filter: brightness(1.08) saturate(1.1) contrast(1.02);
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 24%, #000 56%, transparent 100%);
    mask-image:
      linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 24%, #000 56%, transparent 100%);
    -webkit-mask-composite: intersect;
    mask-composite: intersect;
  }

  /* Event band: stack cards, each centered with left-aligned content inside */
  .event-band {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .event-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .event-card:last-child { border-bottom: 0; }
  .dates-inner, .tickets-inner { padding: 0 0 14px 0; }

  /* Dates card: the .dates-inner fills naturally */
  .dates-inner { width: 100%; max-width: 340px; }

  /* Tickets card: same width as dates card for consistent alignment */
  .tickets-inner { width: 100%; max-width: 340px; }

  .date-list { text-align: left; }
  .venue { text-align: left; }
}

@media (max-width: 560px) {
  .hero-copy { text-align: center !important; }
  .notice, .top-programme, .signup { text-align: center; }
  .shell-art {
    content: url("assets/shell-mobile.png");
    filter: brightness(1.1) saturate(1.1) contrast(1.02);
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 26%, #000 54%, transparent 100%);
    mask-image:
      linear-gradient(to right,  transparent 0%, #000 14%, #000 86%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 26%, #000 54%, transparent 100%);
    -webkit-mask-composite: intersect;
    mask-composite: intersect;
  }
  .dates-inner, .tickets-inner { max-width: 100%; }
}
