/* ============================================================
   ArrDee · UK Tour · October 2026
   Layout adapted from chelmsford.live/sugababes (halation + glass card)
   Composed JPG (with type baked in) on the left; signup glass-card on the right.
   ============================================================ */

/* --- Fonts ------------------------------------------------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/big-shoulders-display-black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-medium-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent:      #ebcd06;
  --accent-hot:  #ffd91a;
  --accent-glow: #c7ad06;
  --cream:       #f4ecdb;
  --dark:        #0a0907;
  --dark-2:      #15110b;
  --hair:        rgba(244, 236, 219, 0.12);
  --hair-strong: rgba(244, 236, 219, 0.22);
  --error:       #ff6b5b;
  --glass-bg:    rgba(10, 9, 7, 0.55);
  --glass-border: rgba(244, 236, 219, 0.22);

  --radius:      14px;
  --radius-sm:   8px;

  --font-display: "Big Shoulders Display", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --font-body:    "Hanken Grotesk", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══════════════════════════════════════
   HERO — poster-style, halation bg
   ══════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dark);
}

/* Halation: heavily blurred + darkened echo of the composed artwork
   fills the hero so the subject casts its own colour into surrounding space. */
.hero::before {
  content: '';
  position: absolute;
  inset: -5%;
  background-image: url('/assets/images/lead-900.jpg');
  background-image: image-set(
    url('/assets/images/lead-900.webp') type('image/webp'),
    url('/assets/images/lead-900.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(70px) brightness(0.35) saturate(1.25);
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
}

/* Grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Hero content: artwork left, card right ── */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vh, 48px) clamp(20px, 4vw, 48px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 460px);
    align-items: center;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2.5vh, 28px);
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

.artists-image {
  display: block;
  width: 100%;
  max-width: 560px;
}
.artists-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(235, 205, 6, 0.32),
    0 28px 72px -8px rgba(0, 0, 0, 0.85),
    0 0 140px -30px rgba(235, 205, 6, 0.22);
}

.hero-right {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  justify-self: center;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.45s forwards;
}
@media (min-width: 900px) {
  .hero-right { justify-self: end; }
}

/* ══════════════════════════════════════
   SIGNUP CARD — glass / blur (sugababes pattern)
   ══════════════════════════════════════ */
.signup-card {
  width: 100%;
  max-width: 460px;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vh, 36px) clamp(20px, 4vw, 32px);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.6),
    0 2px 0 rgba(244, 236, 219, 0.04) inset;
}

/* Amber hairline at top — signature flourish */
.signup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
  border-radius: 0 0 2px 2px;
}

.signup-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 6px;
}

.signup-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0 0 6px;
  color: var(--cream);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.signup-heading em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 0.74em;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--accent);
  margin-left: 0.2em;
}

.signup-sub {
  font-size: clamp(13px, 1.3vw, 14px);
  color: rgba(244, 236, 219, 0.72);
  text-align: center;
  margin: 0 0 clamp(16px, 2.5vh, 22px);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: balance;
}

.signup-foot {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(244, 236, 219, 0.42);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
}

/* --- Form fields ------------------------------------------- */
.form { display: grid; gap: 12px; position: relative; }
.form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px; opacity: 0;
}
.form__row { display: grid; gap: 4px; }
.form__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 236, 219, 0.68);
}
.form__input {
  width: 100%;
  font: inherit;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 12px 14px 11px;
  color: var(--cream);
  background: rgba(244, 236, 219, 0.04);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-sm);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.form__input::placeholder { color: rgba(244, 236, 219, 0.40); }
.form__input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(244, 236, 219, 0.06);
  box-shadow: 0 0 0 3px rgba(235, 205, 6, 0.15);
}
.form__input:user-invalid:not(:focus) {
  border-color: var(--error);
}

/* --- Tour list (multi-city) -------------------------------- */
.tour-list {
  border: 0;
  padding: 0;
  margin: 0 0 4px;
  display: grid;
  gap: 6px;
}
.tour-row {
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(244, 236, 219, 0.04);
  border: 1px solid var(--hair);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: background-color 180ms ease, border-color 180ms ease;
  user-select: none;
}
.tour-row:hover {
  background: rgba(244, 236, 219, 0.07);
  border-color: var(--hair-strong);
}
.tour-row input[type="checkbox"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.tour-row__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: rgba(244, 236, 219, 0.5);
  line-height: 1;
  transition: color 180ms ease;
}
.tour-row__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tour-row__city {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.tour-row__date {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(244, 236, 219, 0.62);
  margin-top: 2px;
}
.tour-row__date em {
  font-style: italic;
  color: var(--cream);
  margin-right: 0.15em;
}
.tour-row__check {
  width: 18px; height: 18px;
  border: 1px solid var(--hair-strong);
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.tour-row__check::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scale(0);
  transform-origin: center;
  transition: transform 200ms cubic-bezier(.2,.8,.3,1);
  border-radius: 2px;
}
.tour-row:has(input:checked) {
  border-color: var(--accent);
  background: rgba(235, 205, 6, 0.08);
}
.tour-row:has(input:checked) .tour-row__num { color: var(--accent); }
.tour-row:has(input:checked) .tour-row__check { border-color: var(--accent); }
.tour-row:has(input:checked) .tour-row__check::after { transform: scale(0.62); }
.tour-row input[type="checkbox"]:focus-visible ~ .tour-row__check {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- Consent check ----------------------------------------- */
.form__row--check { gap: 0; }
.form__check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 236, 219, 0.7);
  font-family: var(--font-body);
  cursor: pointer;
}
.form__check input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  border: 1px solid var(--hair-strong);
  border-radius: 3px;
  background: rgba(244, 236, 219, 0.04);
  display: grid; place-content: center;
  transition: background 160ms, border-color 160ms;
  cursor: pointer;
  flex: none;
}
.form__check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form__check input[type="checkbox"]:checked::after {
  content: "";
  width: 8px; height: 5px;
  border-left: 2px solid var(--dark);
  border-bottom: 2px solid var(--dark);
  transform: rotate(-45deg) translate(1px, -1px);
}
.form__check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form__check a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.form__check a:hover { color: var(--accent); }

.form__error {
  margin: 4px 0 0;
  color: var(--error);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.78rem;
}

/* --- Submit button (ticket-btn style) ---------------------- */
.ticket-btn {
  width: 100%;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: 0.10em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--dark);
  background: linear-gradient(135deg, var(--accent-hot) 0%, var(--accent) 45%, var(--accent-glow) 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  isolation: isolate;
  margin-top: 4px;
}
.ticket-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  background-size: 300% 100%;
  animation: btnSheen 4s ease-in-out infinite;
  z-index: -1;
}
@keyframes btnSheen {
  0%, 100% { background-position: 200% 0; }
  50%      { background-position: -100% 0; }
}
.ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(235, 205, 6, 0.35);
}
.ticket-btn:active { transform: translateY(0) scale(0.98); }
.ticket-btn[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}
.ticket-btn-text { flex: 1; text-align: left; }
.ticket-btn-arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  transition: transform 0.25s ease;
}
.ticket-btn:hover .ticket-btn-arrow { transform: translateX(5px); }

/* --- Success state ----------------------------------------- */
.signup-card[data-form-state="success"] > .signup-eyebrow,
.signup-card[data-form-state="success"] > .signup-heading:not(.card__success *),
.signup-card[data-form-state="success"] > .signup-sub:not(.card__success *),
.signup-card[data-form-state="success"] > #signup-form,
.signup-card[data-form-state="success"] > .signup-foot { display: none; }
.signup-card[data-form-state="success"] .card__success {
  display: block !important;
  animation: fadeUp 600ms cubic-bezier(.2,.7,.2,1) both;
}

.share-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.share-btn {
  width: 100%;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
  display: block;
}
.share-btn:hover {
  background: var(--accent);
  color: var(--dark);
}

/* --- intl-tel-input dark theme (v19) ----------------------- */
.iti { width: 100%; display: block; }
.iti input.form__input { padding-left: calc(52px + 0.6rem); }
.iti__selected-flag {
  background: transparent !important;
  border-right: 1px solid var(--hair);
  padding: 0 8px 0 10px;
}
.iti__selected-flag:hover {
  background: rgba(244, 236, 219, 0.05) !important;
}
.iti__selected-dial-code {
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  padding-left: 6px;
}
.iti__arrow { border-top-color: rgba(244, 236, 219, 0.55); }
.iti__arrow--up { border-bottom-color: rgba(244, 236, 219, 0.55); }
.iti__dropdown-content,
.iti__country-list {
  background: var(--dark-2);
  color: var(--cream);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  font-family: var(--font-body);
}
.iti__country {
  padding: 8px 12px;
  color: var(--cream);
  font-weight: 500;
  font-size: 0.88rem;
}
.iti__country:hover,
.iti__country.iti__highlight {
  background: rgba(235, 205, 6, 0.18);
  color: var(--cream);
}
.iti__country-name { color: var(--cream); }
.iti__dial-code { color: rgba(244, 236, 219, 0.55); margin-left: 6px; }
.iti__divider { border-bottom: 1px solid var(--hair); margin: 4px 0; }
.iti__search-input {
  background: rgba(244, 236, 219, 0.05);
  color: var(--cream);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin: 4px;
  width: calc(100% - 8px);
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.iti__search-input::placeholder { color: rgba(244, 236, 219, 0.4); }

/* --- Footer ------------------------------------------------ */
.footer-links {
  text-align: center;
  padding: 24px;
  background: var(--dark);
  position: relative;
  z-index: 2;
}
.footer-links a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 236, 219, 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(235, 205, 6, 0.25);
  padding-bottom: 2px;
}
.footer-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.built-by {
  text-align: center;
  padding: 0 24px 32px;
  background: var(--dark);
  position: relative;
  z-index: 2;
}
.built-by a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(244, 236, 219, 0.45);
  text-decoration: none;
  background: rgba(244, 236, 219, 0.04);
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0.75;
  transition: opacity 0.25s;
}
.built-by a:hover { opacity: 1; }
.built-by img { height: 14px; width: auto; opacity: 0.85; }

/* --- Privacy page ------------------------------------------ */
.page--privacy { background: var(--dark); color: var(--cream); }
.privacy__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 48px);
  border-bottom: 1px solid var(--hair);
}
.privacy__back {
  color: rgba(244, 236, 219, 0.6);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.privacy__back:hover { color: var(--accent); }
.privacy__brand img { width: 140px; height: auto; }
.privacy__content {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 56px) clamp(20px, 5vw, 48px);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--cream);
}
.privacy__content h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 0.4rem;
}
.privacy__content h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin: 2rem 0 0.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hair);
}
.privacy__content h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--cream);
  margin: 1.1rem 0 0.4rem;
}
.privacy__content p { margin: 0.55rem 0; }
.privacy__lastmod { color: rgba(244, 236, 219, 0.6); margin: 0 0 1.5rem; }
.privacy__content ul { margin: 0.5rem 0 0.5rem 1.4rem; padding: 0; list-style: disc; }
.privacy__content li { margin: 0.18rem 0; }
.privacy__content a { color: var(--accent); }

/* --- Keyframes + reduced motion ---------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-left, .hero-right, .card__success {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .ticket-btn::after { animation: none; }
  .tour-row, .tour-row__check::after, .form__input { transition: none; }
}

/* --- Mobile polish ----------------------------------------- */
@media (max-width: 540px) {
  .signup-card { padding: 20px 16px; }
  .hero-content { gap: 20px; padding: 20px 16px; }
  .artists-image { max-width: 100%; }
}
