/* For organisers: page-specific styles. Rooms, edges and tokens come from base.css. */

/* ---------- Hero art ---------- */

.org-hero .a-line { stroke: var(--art-stroke); stroke-width: 1.5; }
.org-hero .a-accent { stroke: var(--art-accent); }
.org-hero .page-hero-art svg { overflow: visible; }

.pilot h2,
.give-take h2,
.faq h2 { margin-bottom: 0.5em; }

/* ---------- Pilot: a staircase going down into the house ---------- */

.steps {
  --stair: clamp(2rem, 7vw, 6rem);
  counter-reset: step;
  margin-top: 2.5rem;
  max-width: 52rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  column-gap: 1rem;
  padding: 1.5rem 0;
  border-top: 2px solid var(--brass);
}
.steps li:last-child { border-bottom: 2px solid var(--brass); }
.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.75rem);
  line-height: 0.85;
  color: var(--velvet);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { max-width: 40rem; }

@media (min-width: 40rem) {
  .steps li { grid-template-columns: 6rem 1fr; column-gap: 1.5rem; }
}

/* From here each step sits one tread lower and further right, a little darker. */
@media (min-width: 52rem) {
  .steps { max-width: none; }
  .steps li {
    max-width: 44rem;
    padding: 1.75rem 2rem 2rem 1.5rem;
    border-bottom: 0;
    border-left: 1.5px solid rgb(28 35 64 / 0.28);
    background: rgb(28 35 64 / var(--tread, 0));
    box-shadow: 0 10px 10px -10px rgb(18 23 48 / 0.35);
  }
  .steps li:last-child { border-bottom: 0; }
  .steps li + li { margin-top: -2px; }
  .steps li:nth-child(1) { margin-left: 0; --tread: 0.015; }
  .steps li:nth-child(2) { margin-left: var(--stair); --tread: 0.04; }
  .steps li:nth-child(3) { margin-left: calc(var(--stair) * 2); --tread: 0.065; }
  .steps li:nth-child(4) { margin-left: calc(var(--stair) * 3); --tread: 0.09; }
}

/* ---------- Get / need on velvet ---------- */

.give-take { overflow: visible; }
.gt-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.gt-grid h3 { margin-bottom: 1rem; color: var(--haze); }
.gt-grid dl { border-top: 2px solid var(--brass-light); }
.gt-grid dt {
  padding-top: 1.1rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--haze);
}
.gt-grid dd {
  margin-top: 0.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgb(236 234 241 / 0.28);
  max-width: 34rem;
  color: #D9C3C7;
}
@media (min-width: 52rem) {
  .gt-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ---------- Questions in the dark house ---------- */

.faq {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding-top: calc(var(--band) + clamp(2rem, 6vw, 5rem));
  padding-bottom: calc(var(--band) + clamp(3rem, 8vw, 7rem));
}
.faq > .wrap { position: relative; z-index: 1; }
.faq .signage {
  position: absolute;
  top: auto;
  bottom: clamp(-1.5rem, -1vw, -0.5rem);
  right: -1.5rem;
  white-space: nowrap;
  pointer-events: none;
}
.faq-list { margin-top: 1.5rem; max-width: 46rem; border-top: 2px solid var(--brass-light); }
.faq details { border-bottom: 1px solid var(--brass-light); }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 600;
  font-size: 1.15em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 1rem;
  height: 2px;
  background: var(--brass-light);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--brass-light); }
.faq summary:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 2px; }
.faq details p {
  margin-bottom: 1.25rem;
  max-width: 40rem;
  color: #D5D8EA;
}

/* ---------- Partner ticket ---------- */

.ticket textarea { resize: vertical; }

/* The partner ticket is tall; a gentler tilt. */
@media (min-width: 40.01rem) {
  #early-access .ticket { transform: rotate(-0.4deg); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
