/*
Theme Name: TicketOrLeave Holding
Theme URI: https://ticketorleave.com
Description: A coming-soon holding page for TicketOrLeave.
Version: 1.2.1
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/fraunces-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --stage: #140c18;
  --stage-deep: #0a0610;
  --spot: rgba(196, 92, 74, 0.28);
  --spot-gold: rgba(232, 195, 122, 0.16);
  --ticket: #2a1522;
  --ticket-lift: #3a1c2c;
  --gold: #e8c37a;
  --gold-soft: #d4b36a;
  --cream: #f6efe4;
  --cream-dim: #d8cdb8;
  --line: rgba(232, 195, 122, 0.42);
  --display: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--stage-deep);
  color: var(--cream);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 2rem;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 110%, #0a0610 0%, transparent 55%),
    radial-gradient(80% 55% at 50% -10%, var(--spot) 0%, transparent 60%),
    radial-gradient(45% 40% at 50% 42%, var(--spot-gold) 0%, transparent 70%),
    linear-gradient(180deg, #1a0e1c 0%, var(--stage) 42%, var(--stage-deep) 100%);
}

.stage__glow {
  position: absolute;
  inset: auto;
  width: 42rem;
  height: 42rem;
  max-width: 140vw;
  max-height: 140vw;
  top: 28%;
  left: 50%;
  translate: -50% -42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 195, 122, 0.2) 0%, rgba(176, 58, 68, 0.08) 38%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.stage__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 18%, transparent 78%, rgba(0, 0, 0, 0.35) 100%);
  box-shadow: inset 0 0 120px 24px rgba(0, 0, 0, 0.35);
}

.centre {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: min(100%, 48rem);
}

.ticket {
  --stub: 6.35rem;
  --notch: 0.7rem;
  position: relative;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, transparent 42%),
    linear-gradient(165deg, var(--ticket-lift) 0%, var(--ticket) 55%, #20101a 100%);
  color: var(--cream);
  border: 1px solid var(--line);
  box-shadow:
    0 2px 0 rgba(232, 195, 122, 0.12) inset,
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  min-height: 13rem;
  -webkit-mask-image:
    radial-gradient(circle var(--notch) at var(--stub) 0, #0000 calc(var(--notch) - 0.4px), #000 var(--notch)),
    radial-gradient(circle var(--notch) at var(--stub) 100%, #0000 calc(var(--notch) - 0.4px), #000 var(--notch));
  mask-image:
    radial-gradient(circle var(--notch) at var(--stub) 0, #0000 calc(var(--notch) - 0.4px), #000 var(--notch)),
    radial-gradient(circle var(--notch) at var(--stub) 100%, #0000 calc(var(--notch) - 0.4px), #000 var(--notch));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.ticket__notch {
  display: none;
}

.ticket__stub {
  flex: 0 0 6.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0.4rem 1rem;
  color: var(--gold);
}

.ticket__admit {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ticket__serial {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}

.ticket__holes {
  width: 0.85rem;
  height: 5.4rem;
  color: var(--gold);
  opacity: 0.78;
}

.ticket__perf {
  flex: 0 0 0;
  width: 0;
  margin: 1.15rem 0;
  border-left: 1px dashed rgba(232, 195, 122, 0.55);
}

.ticket__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 2.35rem 1.9rem 1.7rem;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.15rem, 6.4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-wrap: balance;
}

.wordmark__or {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  padding: 0 0.02em;
}

.tagline {
  margin: 0.85rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--cream-dim);
  text-wrap: pretty;
}

.origin {
  position: relative;
  z-index: 1;
  margin: 2.4rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Mobile: stack the stub above the wordmark, keep the ticket silhouette */
@media (max-width: 560px) {
  .stage {
    padding: 2rem 1rem 1.75rem;
  }

  .ticket {
    --stub: 50%;
    --notch: 0.7rem;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    -webkit-mask-image:
      radial-gradient(circle var(--notch) at 0 3.15rem, #0000 calc(var(--notch) - 0.4px), #000 var(--notch)),
      radial-gradient(circle var(--notch) at 100% 3.15rem, #0000 calc(var(--notch) - 0.4px), #000 var(--notch));
    mask-image:
      radial-gradient(circle var(--notch) at 0 3.15rem, #0000 calc(var(--notch) - 0.4px), #000 var(--notch)),
      radial-gradient(circle var(--notch) at 100% 3.15rem, #0000 calc(var(--notch) - 0.4px), #000 var(--notch));
  }

  .ticket__holes {
    display: none;
  }

  .centre {
    width: 100%;
  }

  .ticket__stub {
    flex: 0 0 auto;
    flex-direction: row;
    width: 100%;
    height: 3.15rem;
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .ticket__admit {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .ticket__serial {
    margin-left: auto;
  }

  .ticket__perf {
    width: auto;
    margin: 0 1.35rem;
    border-left: 0;
    border-top: 1px dashed rgba(232, 195, 122, 0.55);
  }

  .ticket__body {
    padding: 1.15rem 1.35rem 1.5rem;
    text-align: left;
  }

  .wordmark {
    font-size: clamp(2.2rem, 11vw, 2.85rem);
  }

  .tagline {
    max-width: none;
  }

  .origin {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage__glow {
    filter: none;
  }
}
