/* TicketMoth.com for-sale page */

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

:root {
  --night: #1f171e;
  --plum: #2b2029;
  --plum-2: #3a2b37;
  --plum-line: #54404f;
  --cream: #faf4e7;
  --paper: #fffaf0;
  --sand: #f1e7d2;
  --line: #e0d3bb;
  --ink: #33252c;
  --ink-soft: #5b4a53;
  --on-dark: #fff5dd;
  --on-dark-soft: #dccdc4;
  --amber: #f0b257;
  --amber-hi: #ffd08a;
  --amber-ink: #7d4a06;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-ligatures: no-common-ligatures;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: var(--amber);
  color: var(--plum);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.skip:focus { top: 12px; }

/* ---------- header ---------- */

.site-head {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  color: var(--on-dark);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.bar-nav { display: flex; align-items: center; gap: 14px; }

.pill {
  display: inline-block;
  border: 1.5px solid var(--amber);
  color: var(--amber-hi);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.bar-link {
  display: none;
  font-weight: 600;
  text-underline-offset: 4px;
}

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

.hero-band {
  color: var(--on-dark);
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(240, 178, 87, 0.13), transparent 70%),
    linear-gradient(var(--night), var(--plum));
  overflow: hidden;
  padding-top: 72px;
}

.hero {
  display: grid;
  gap: 8px;
  padding-block: 20px 56px;
}

.stage { order: -1; }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: 14px;
}

.hero-band .eyebrow,
.dark .eyebrow { color: var(--amber); }

h1 { font-size: clamp(2rem, 11.2vw, 5.4rem); }

.h1-soft {
  display: block;
  color: var(--amber-hi);
  font-style: normal;
  font-weight: 400;
}

.tagline {
  font-family: var(--display);
  font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  line-height: 1.25;
  margin-top: 22px;
  color: var(--on-dark);
}

.lede {
  margin-top: 14px;
  max-width: 34rem;
  color: var(--on-dark-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1.06rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

.btn-primary { background: var(--amber); color: var(--plum); }
.btn-primary:hover { background: var(--amber-hi); }

.btn-ghost { border-color: currentColor; color: inherit; }

.btn-dark { background: var(--plum); color: var(--on-dark); }
.btn-dark:hover { background: var(--plum-2); }

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 30px 0 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--on-dark-soft);
}

.facts li {
  border: 1px solid var(--plum-line);
  border-radius: 999px;
  padding: 4px 14px;
}

/* the moth on its ticket */

.stage {
  --moth: clamp(190px, 52vw, 256px);
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: 4px;
  margin-bottom: 30px;
}

.glow {
  position: absolute;
  left: 50%;
  top: calc(var(--moth) * 0.45);
  width: calc(var(--moth) * 2.5);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 206, 132, 0.46), rgba(240, 178, 87, 0.17) 44%, rgba(240, 178, 87, 0) 76%);
  pointer-events: none;
}

.stage-moth {
  position: relative;
  z-index: 2;
  display: block;
  width: var(--moth);
  height: var(--moth);
}

.stage-moth img { width: 100%; height: 100%; }

/* ---------- tickets ---------- */

.ticket {
  --stub: 96px;
  --r: 11px;
  --n1: calc(100% - var(--stub)) 0;
  --n2: calc(100% - var(--stub)) 100%;
  position: relative;
  display: flex;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  -webkit-mask-image:
    radial-gradient(circle var(--r) at var(--n1), transparent calc(var(--r) - 0.5px), #000 var(--r)),
    radial-gradient(circle var(--r) at var(--n2), transparent calc(var(--r) - 0.5px), #000 var(--r));
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle var(--r) at var(--n1), transparent calc(var(--r) - 0.5px), #000 var(--r)),
    radial-gradient(circle var(--r) at var(--n2), transparent calc(var(--r) - 0.5px), #000 var(--r));
  mask-composite: intersect;
}

.ticket-shadow { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3)); }

.ticket-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
}

.ticket-stub {
  flex: none;
  width: var(--stub);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 8px;
  background: var(--plum-2);
  color: var(--on-dark);
  border-left: 2px dashed var(--amber);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticket-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-ink);
}

.ticket-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ticket-note { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.35; }

.hero-ticket-pos {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  margin-top: calc(var(--moth) * -0.15);
}

/* ---------- bands ---------- */

.band { padding-block: 64px; }

.cream { background: var(--cream); }
.paper { background: var(--sand); }
.dark { background: var(--plum); color: var(--on-dark); }

h2 { font-size: clamp(2rem, 6.2vw, 3.1rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.015em; line-height: 1.2; }

.section-lede {
  margin-top: 16px;
  max-width: 44rem;
  color: var(--ink-soft);
}

.cols-3,
.cols-2,
.stats,
.demos {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.point { border-top: 3px solid var(--ink); padding-top: 18px; }

.point-num {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber-ink);
  margin-bottom: 6px;
}

.point p,
.card p { margin-top: 10px; color: var(--ink-soft); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

/* ---------- demos ---------- */

.demo { margin: 0; display: grid; gap: 16px; align-content: start; }

.demo figcaption,
.poses figcaption { font-size: 1rem; color: var(--ink-soft); }

.demo figcaption strong { color: var(--ink); }

.phone {
  width: min(100%, 320px);
  margin-inline: auto;
  background: #17111a;
  border-radius: 40px;
  padding: 11px;
  box-shadow: 0 22px 44px rgba(51, 37, 44, 0.22);
}

.phone-screen {
  background: var(--cream);
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding-bottom: 20px;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--plum);
  color: var(--on-dark);
  padding: 12px 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.app-event { display: grid; padding-inline: 18px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.4; }

.app-event strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.app-rows { list-style: none; margin: 0; padding: 0 18px; display: grid; gap: 8px; }

.app-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.row-name { display: grid; font-weight: 700; font-size: 0.98rem; line-height: 1.25; }
.row-name small { font-weight: 400; font-size: 0.86rem; color: var(--ink-soft); }

.qty { display: inline-flex; align-items: center; gap: 8px; font-style: normal; }

.qty i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.qty b { min-width: 14px; text-align: center; }

.app-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 18px 0;
  font-weight: 700;
}

.app-total strong { font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.02em; }

.app-promise { padding-inline: 18px; font-size: 0.9rem; color: var(--amber-ink); font-weight: 600; margin-top: -8px; }

.app-buy {
  margin-inline: 18px;
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--plum);
  font-weight: 800;
  font-size: 1.08rem;
}

.loader-card,
.confirm-card {
  border-radius: 28px;
  min-height: 340px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 28px 22px;
}

.loader-card {
  background:
    radial-gradient(closest-side at 50% 42%, rgba(240, 178, 87, 0.28), rgba(240, 178, 87, 0) 100%),
    var(--plum);
  color: var(--on-dark);
  gap: 10px;
  box-shadow: 0 22px 44px rgba(51, 37, 44, 0.22);
}

.loader-card img { width: 160px; height: 160px; }
.loader-card p { font-size: 1.1rem; }

.confirm-card {
  background: var(--plum);
  color: var(--on-dark);
  gap: 18px;
  box-shadow: 0 22px 44px rgba(51, 37, 44, 0.22);
}

.confirm-hi { font-family: var(--display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }

.confirm-ticket { --stub: 78px; width: 100%; max-width: 330px; text-align: left; }
.confirm-ticket .ticket-title { font-size: 1.2rem; }

.confirm-note { font-size: 0.98rem; color: var(--on-dark-soft); max-width: 17rem; }

/* ---------- stats ---------- */

.stat {
  border-top: 1px solid var(--plum-line);
  padding-top: 18px;
  display: grid;
  gap: 8px;
  align-content: start;
  color: var(--on-dark-soft);
}

.stat-big {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 7vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber-hi);
}

.stat a { font-size: 0.92rem; color: var(--on-dark); text-underline-offset: 3px; }

/* ---------- included ---------- */

.split { display: grid; gap: 36px; align-items: center; }

.included { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }

.included li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}

.included li strong { color: var(--ink); }

.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 5px var(--paper), 0 0 0 1.5px var(--amber-ink);
}

.fineprint { margin-top: 24px; font-size: 0.95rem; color: var(--ink-soft); }

.poses { margin: 0; display: grid; gap: 12px; }

.poses img {
  background:
    radial-gradient(closest-side, rgba(240, 178, 87, 0.22), rgba(240, 178, 87, 0) 100%),
    var(--plum);
  border-radius: 24px;
  padding: 18px;
}

/* ---------- buy ---------- */

.night-band {
  background:
    radial-gradient(55% 80% at 50% 0%, rgba(240, 178, 87, 0.16), transparent 70%),
    var(--night);
}

.buy-ticket {
  --stub-h: 84px;
  --n1: 0 calc(100% - var(--stub-h));
  --n2: 100% calc(100% - var(--stub-h));
  flex-direction: column;
  border-radius: 22px;
}

.buy-ticket .ticket-main { padding: 30px 24px 28px; gap: 14px; }
.buy-ticket .ticket-main > p { color: var(--ink-soft); }
.buy-ticket .ticket-main > p.eyebrow { margin-bottom: 0; color: var(--amber-ink); }
.buy-ticket .actions { margin-top: 8px; }
.buy-ticket .actions:empty { display: none; }

.buy-ticket .ticket-stub {
  width: auto;
  height: var(--stub-h);
  border-left: 0;
  border-top: 2px dashed var(--amber);
  flex-direction: row;
  gap: 12px;
  padding: 0 20px;
  font-size: 0.82rem;
}

.buy-ticket .ticket-stub img { width: 60px; height: 60px; }

.stub-strong { color: var(--amber-hi); }

.prices { display: grid; gap: 24px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 24px; }

.price-opt { display: grid; gap: 8px; align-content: start; }

.price-opt + .price-opt { border-top: 1px solid var(--line); padding-top: 24px; }

.price-big {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 9vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-big span {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.price-how { font-weight: 700; color: var(--ink); line-height: 1.35; }

.buy-ticket .ticket-main > p.price-big { color: var(--ink); margin-top: 6px; }

.buy-ticket .ticket-main > p.price-same { font-weight: 700; color: var(--ink); margin-top: -6px; }

.price-note { font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }

.price-opt .actions { margin-top: 6px; }

.buy-note,
.buy-contact { font-size: 0.98rem; }

/* ---------- faq ---------- */

details {
  border-bottom: 1px solid var(--line);
}

details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-family: var(--body);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

details[open] summary::after { content: "\2212"; }

details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 40rem; }

/* ---------- footer ---------- */

.foot {
  background: var(--night);
  color: var(--on-dark-soft);
  padding-block: 44px;
  font-size: 0.95rem;
}

.foot .wrap { display: grid; gap: 12px; }

.foot-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}

.foot p:not(.foot-logo) { max-width: 46rem; }
.foot-small { font-size: 0.85rem; }

/* ---------- wider screens ---------- */

@media (min-width: 620px) {
  .wrap { padding-inline: 32px; }
  .bar-link { display: inline; }
  .cols-2, .stats { grid-template-columns: 1fr 1fr; }
  .band { padding-block: 84px; }

  .buy-ticket {
    --stub: 200px;
    --n1: calc(100% - var(--stub)) 0;
    --n2: calc(100% - var(--stub)) 100%;
    flex-direction: row;
  }
  .buy-ticket .ticket-main { padding: 44px 44px 42px; }
  .buy-ticket .ticket-stub {
    width: var(--stub);
    height: auto;
    flex-direction: column;
    border-top: 0;
    border-left: 2px dashed var(--amber);
    padding: 24px 12px;
    gap: 4px;
  }
  .buy-ticket .ticket-stub img { width: 88px; height: 88px; margin-bottom: 8px; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 40px;
    padding-block: 56px 96px;
  }
  h1 { font-size: clamp(3rem, 6.1vw, 4.9rem); }
  .stage { order: 0; --moth: 256px; margin-bottom: 0; }
  .hero-ticket-pos { width: min(100%, 370px); }
  .hero-ticket .ticket-main { padding: 20px 24px; }
  .hero-ticket .ticket-title { font-size: 1.75rem; }
  .prices { grid-template-columns: 1fr 1fr; gap: 36px; }
  .price-opt + .price-opt { border-top: 0; padding-top: 0; border-left: 1px solid var(--line); padding-left: 36px; }
  .cols-3, .demos { grid-template-columns: repeat(3, 1fr); }
  .demos { gap: 28px; }
  .demos { grid-template-rows: auto auto; row-gap: 0; }
  .demo { grid-row: span 2; grid-template-rows: subgrid; row-gap: 16px; }
  .loader-card, .confirm-card { height: 100%; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .band { padding-block: 104px; }
}

/* ---------- not found page ---------- */

.lost {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: 32px 20px;
  color: var(--on-dark);
  background:
    radial-gradient(closest-side at 50% 38%, rgba(240, 178, 87, 0.26), rgba(240, 178, 87, 0) 100%),
    var(--plum);
}

.lost h1 { font-size: clamp(2rem, 8vw, 3.4rem); }
.lost p { color: var(--on-dark-soft); max-width: 26rem; }
