/* Rooftop Founders Meetup: the dusk programme.
   Ground is the Lekki sky after sunset; the one accent is string-light amber;
   printed things (programme, tickets) are cream paper held up against the night. */

:root {
  /* Night ground */
  --night: #0f1333;
  --night-2: #161b44;
  --night-3: #222a5c;
  --line: #2f3772;
  --text: #f3ede1;
  --text-soft: #b8bcdf;

  /* The one accent: string-light amber */
  --amber: #f4b350;
  --amber-hi: #ffc874;
  --amber-ink: #241503;

  /* Printed paper (programme, tickets) */
  --paper: #f3ead8;
  --paper-2: #e7dac0;
  --ink: #1a1c38;
  --ink-soft: #4d4f6e;
  --rule: #cdbf9f;

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --t-display: clamp(3rem, 7.4vw, 6rem);
  --t-h2: clamp(2.25rem, 4.6vw, 3.75rem);
  --t-h3: clamp(1.5rem, 2.4vw, 2rem);
  --t-lead: clamp(1.125rem, 1.6vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-label: 0.8125rem;

  /* Space: 4px base */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 7rem;
  --section: clamp(4rem, 9vw, 7rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 1200px;

  /* Shape and depth */
  --radius: 8px;
  --radius-sm: 4px;
  --notch: 11px;
  --lift: 0 18px 40px -18px rgba(3, 5, 20, 0.75), 0 2px 6px rgba(3, 5, 20, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line) var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
::selection { background: var(--amber); color: var(--amber-ink); }
a { color: var(--amber); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: var(--radius-sm); }
.paper :focus-visible { outline-color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1; }
h1 em, h2 em { font-style: normal; color: var(--amber); }
p { margin: 0; }
.lead { font-size: var(--t-lead); color: var(--text-soft); max-width: 36rem; line-height: 1.55; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); max-width: 44rem; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--s-4); top: var(--s-4); z-index: 50; background: var(--amber); color: var(--amber-ink); padding: var(--s-2) var(--s-4); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--amber { background: var(--amber); color: var(--amber-ink); }
.btn--amber:hover { background: var(--amber-hi); color: var(--amber-ink); }
.btn--amber:active { transform: translateY(1px); }
.btn--line { border-color: var(--line); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--amber); color: var(--amber); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2b2e57; color: var(--paper); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-head { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--night); }
.site-head--over { position: absolute; inset: 0 0 auto 0; background: transparent; border-bottom-color: rgba(243, 237, 225, 0.14); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text); text-decoration: none; }
.brand svg { width: 26px; height: 34px; flex: none; }
.brand span { font: 800 1.375rem/0.9 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.brand small { display: block; font: 500 0.75rem/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); }
.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--t-small); padding: var(--s-2) 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { color: var(--amber); }
.nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.nav .btn { min-height: 42px; padding: 0 var(--s-4); border-bottom: 0; color: var(--amber-ink); }
.nav .btn:hover { color: var(--amber-ink); }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: transparent; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--text); cursor: pointer;
  }
  .menu-btn svg { width: 20px; height: 20px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-5);
    background: var(--night-2); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--line); }
  .nav .btn { margin-top: var(--s-4); min-height: 48px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 19, 51, 0.75) 0, rgba(15, 19, 51, 0) 160px),
    linear-gradient(90deg, rgba(15, 19, 51, 0.94) 0%, rgba(15, 19, 51, 0.72) 38%, rgba(15, 19, 51, 0.05) 68%),
    linear-gradient(0deg, rgba(15, 19, 51, 1) 0%, rgba(15, 19, 51, 0) 34%);
}
.hero__inner { padding-top: 140px; padding-bottom: var(--s-8); display: grid; gap: var(--s-7); }
.hero__copy { display: grid; gap: var(--s-5); max-width: 40rem; }
.hero__copy p { color: var(--text); opacity: 0.92; }
.hero__copy .lead { color: #dcdcf0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

@media (max-width: 760px) {
  .hero { min-height: 0; align-items: stretch; }
  .hero__photo { position: relative; inset: auto; height: 300px; }
  .hero__photo img { object-position: 82% 40%; }
  .hero::before { background: linear-gradient(0deg, var(--night) 0%, rgba(15, 19, 51, 0) 22%); height: 300px; }
  .hero__inner { padding-top: var(--s-5); padding-bottom: var(--s-7); }
  .site-head--over { position: relative; background: var(--night); border-bottom-color: var(--line); }
}

/* ---------- Ticket (perforated paper) ---------- */
.ticket {
  --stub: 13rem;
  position: relative; display: grid; grid-template-columns: 1fr var(--stub);
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--lift);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__main { padding: var(--s-5) var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.ticket__stub {
  padding: var(--s-5); display: grid; gap: var(--s-3); align-content: space-between;
  border-left: 2px dashed var(--rule);
}
.ticket__kicker { font: 600 var(--t-label)/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.ticket__title { font: 800 clamp(1.75rem, 3vw, 2.5rem)/0.95 var(--font-display); text-transform: uppercase; color: var(--ink); }
.ticket dl { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-3) var(--s-6); margin: var(--s-2) 0 0; justify-content: start; }
.ticket dt { font-size: var(--t-label); color: var(--ink-soft); }
.ticket dd { margin: 0; font-weight: 600; font-size: var(--t-small); }
.ticket__price { font: 800 2.25rem/1 var(--font-display); }
.ticket__price small { display: block; font: 500 var(--t-label)/1.3 var(--font-body); color: var(--ink-soft); }
.ticket .btn { width: 100%; }

@media (max-width: 760px) {
  .ticket { grid-template-columns: 1fr; --stub: 0px; --stub-h: 96px;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub-h)), #0000 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub-h)), #0000 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub-h)), #0000 98%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub-h)), #0000 98%, #000) right / 51% 100% no-repeat;
  }
  .ticket__main { padding: var(--s-5); }
  .ticket__stub { border-left: 0; border-top: 2px dashed var(--rule); grid-template-columns: 1fr auto; align-items: center; height: var(--stub-h); padding-block: 0 var(--s-1); align-content: center; }
  .ticket .ticket__stub .btn { width: auto; }
  .ticket dl { grid-template-columns: repeat(2, auto); gap: var(--s-3) var(--s-5); }
}

/* ---------- The evening at a glance: a string of lights ---------- */
.glance { position: relative; margin-top: var(--s-6); }
.glance__wire { position: absolute; left: 0; right: 0; top: 0; height: 110px; width: 100%; color: var(--line); }
.glance ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: var(--s-3); position: relative; }
.glance li { padding-top: calc(var(--drop, 0px) + 6px); display: grid; gap: var(--s-2); align-content: start; }
.bulb { width: 26px; height: 40px; margin-bottom: var(--s-2); }
.bulb .glass { fill: var(--amber); }
.bulb .cap { fill: #6c6f96; }
.glance time { font: 800 1.75rem/1 var(--font-display); color: var(--text); }
.glance strong { font-weight: 600; font-size: var(--t-small); line-height: 1.35; }
.glance span { font-size: var(--t-label); color: var(--text-soft); line-height: 1.4; }

@media (prefers-reduced-motion: no-preference) {
  .glance .bulb .glass { animation: switch-on 0.9s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 140ms + 250ms); }
}
@keyframes switch-on { from { fill: #3a3f6e; } 60% { fill: var(--amber-hi); } to { fill: var(--amber); } }

@media (max-width: 900px) {
  .glance__wire { display: none; }
  .glance ol { grid-template-columns: 1fr; gap: 0; border-left: 1.5px solid var(--line); margin-left: 12px; }
  .glance li { padding: 0 0 var(--s-5) var(--s-5); grid-template-columns: auto 1fr; column-gap: var(--s-4); position: relative; }
  .glance li .bulb { position: absolute; left: -13px; top: -4px; width: 24px; height: 36px; }
  .glance time { grid-column: 1; font-size: 1.5rem; min-width: 4.2rem; }
  .glance strong, .glance span { grid-column: 2; }
}

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-8); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split__copy { display: grid; gap: var(--s-5); align-content: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }

.for-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.for-list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.for-list svg { width: 22px; height: 22px; margin-top: 3px; color: var(--amber); }
.for-list li.no svg { color: var(--text-soft); }
.for-list b { display: block; font-weight: 600; }
.for-list p { color: var(--text-soft); font-size: var(--t-small); }

.portrait { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-5); align-items: end; }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.quote { display: grid; gap: var(--s-3); padding-bottom: var(--s-2); }
.quote blockquote { margin: 0; font: 700 clamp(1.5rem, 2.4vw, 1.875rem)/1.05 var(--font-display); text-transform: uppercase; }
.quote figcaption { font-size: var(--t-small); color: var(--text-soft); }
@media (max-width: 560px) { .portrait { grid-template-columns: 1fr; } .portrait img { aspect-ratio: 4 / 3.4; } }

/* ---------- Past editions ledger ---------- */
.band-photo { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--s-7); }
.band-photo img { width: 100%; height: clamp(240px, 38vw, 460px); object-fit: cover; object-position: 50% 45%; }
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.ledger caption { text-align: left; }
.ledger th { text-align: left; font: 600 var(--t-label)/1.3 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); padding: 0 var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.ledger td { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger td:first-child { font: 800 1.75rem/1 var(--font-display); color: var(--amber); width: 4.5rem; }
.ledger td.theme { font-weight: 600; }
.ledger td.theme span { display: block; font-weight: 400; color: var(--text-soft); font-size: var(--t-small); }
.ledger td.r, .ledger th.r { text-align: right; padding-right: 0; }
@media (max-width: 700px) {
  .ledger thead { display: none; }
  .ledger tr { display: grid; grid-template-columns: 3.5rem 1fr auto; column-gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
  .ledger td { border: 0; padding: 0; }
  .ledger td:first-child { grid-row: span 2; width: auto; }
  .ledger td.date { grid-column: 2; font-size: var(--t-small); color: var(--text-soft); }
  .ledger td.theme { grid-column: 2; grid-row: 2; }
  .ledger td.r { grid-column: 3; grid-row: 1 / span 2; font-size: var(--t-small); color: var(--text-soft); }
}

/* ---------- Closing call band ---------- */
.call { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: var(--s-8); }
.call .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); }
.call h2 { max-width: 14ch; }

/* ---------- Footer ---------- */
.site-foot { padding-block: var(--s-8) var(--s-6); color: var(--text-soft); font-size: var(--t-small); }
.site-foot .lights { width: 100%; height: 46px; margin-bottom: var(--s-7); color: var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6); }
.foot-grid h2 { font-size: 1.25rem; color: var(--text); margin-bottom: var(--s-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.foot-grid a { color: var(--text-soft); text-decoration: none; }
.foot-grid a:hover { color: var(--amber); }
.fine { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-label); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding-block: var(--s-8) var(--s-7); }
.page-head .wrap { display: grid; gap: var(--s-4); }

/* ---------- Programme (schedule page) ---------- */
.programme-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-8); align-items: start; }
.programme-wrap .split__copy { position: sticky; top: var(--s-6); }
@media (max-width: 960px) { .programme-wrap { grid-template-columns: 1fr; gap: var(--s-7); } .programme-wrap .split__copy { position: static; } }

.paper { background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: var(--lift); }
.paper a { color: var(--ink); }
.programme { padding: var(--s-6) var(--s-6) var(--s-5); }
.programme__top { display: flex; justify-content: space-between; align-items: end; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 2px solid var(--ink); }
.programme__top h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
.programme__top p { font-size: var(--t-small); color: var(--ink-soft); text-align: right; }
.run { list-style: none; margin: 0; padding: 0; }
.run li { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px dashed var(--rule); }
.run li:last-child { border-bottom: 0; }
.run time { font: 800 1.75rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.run time small { display: block; font: 500 var(--t-label)/1.4 var(--font-body); color: var(--ink-soft); margin-top: 2px; }
.run h3 { font: 700 1.125rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.run p { font-size: var(--t-small); color: var(--ink-soft); margin-top: var(--s-1); max-width: 52ch; }
.run .who { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.run .who svg { width: 16px; height: 16px; }
.run li.talk time { color: var(--ink); }
.run li.talk { position: relative; }
.run li.talk::after {
  content: "Talk"; position: absolute; right: 0; top: var(--s-4);
  font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid var(--ink); padding: 4px 8px; border-radius: var(--radius-sm);
}
.run li.talk[data-kind]::after { content: attr(data-kind); }
.run li.talk h3 { padding-right: 5.5rem; }
@media (max-width: 560px) {
  .programme { padding: var(--s-5) var(--s-4) var(--s-4); }
  .programme__top { flex-direction: column; align-items: start; }
  .programme__top p { text-align: left; }
  .run li { grid-template-columns: 4.2rem 1fr; gap: var(--s-3); }
  .run time { font-size: 1.5rem; }
  .run li.talk::after { position: static; grid-column: 2; justify-self: start; order: -1; }
  .run li.talk h3 { padding-right: 0; }
}

.speakers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-7); border-top: 1px solid var(--line); margin: 0; }
.speakers > div { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-1); }
.speakers dt { font: 800 1.75rem/1 var(--font-display); text-transform: uppercase; }
.speakers dd { margin: 0; color: var(--text-soft); font-size: var(--t-small); }
.speakers dd.role { color: var(--amber); font-weight: 600; }
@media (max-width: 700px) { .speakers { grid-template-columns: 1fr; } }

.stage-band { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; min-height: 420px; display: grid; align-items: center; }
.stage-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; z-index: -2; }
.stage-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(15, 19, 51, 0.88) 0%, rgba(15, 19, 51, 0.6) 42%, rgba(15, 19, 51, 0) 70%); }
.stage-band__copy { justify-self: end; width: min(100%, 30rem); padding: var(--s-7) var(--s-6); display: grid; gap: var(--s-4); }
@media (max-width: 760px) {
  .stage-band { min-height: 0; display: block; }
  .stage-band img { position: relative; height: 240px; object-position: 10% 50%; }
  .stage-band::before { display: none; }
  .stage-band__copy { padding: var(--s-5) 0 0; width: 100%; }
}

/* Venue */
.venue { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.map { border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); overflow: hidden; }
.map svg { width: 100%; height: auto; }
.map figcaption { padding: var(--s-3) var(--s-4); font-size: var(--t-label); color: var(--text-soft); border-top: 1px solid var(--line); }
.address { font-style: normal; font-size: var(--t-lead); line-height: 1.45; }
.ways { margin: 0; display: grid; border-top: 1px solid var(--line); }
.ways > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.ways dt { font-weight: 600; }
.ways dd { margin: 0; color: var(--text-soft); font-size: var(--t-small); }
@media (max-width: 900px) { .venue { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 480px) { .ways > div { grid-template-columns: 1fr; gap: var(--s-1); } }

/* ---------- Tickets page ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: var(--s-7); align-items: start; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } }
.types { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-4); min-width: 0; }
.types legend { font: 800 var(--t-h3)/1 var(--font-display); text-transform: uppercase; margin-bottom: var(--s-4); padding: 0; }
.type { position: relative; display: block; cursor: pointer; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type .ticket { --stub: 11rem; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.type .ticket { background: var(--paper-2); }
.type:hover .ticket { transform: translateY(-2px); }
.type input:checked + .ticket { background: var(--paper); box-shadow: var(--lift), inset 0 0 0 3px var(--amber); }
.type input:focus-visible + .ticket { outline: 2px solid var(--amber); outline-offset: 4px; }
.type input:disabled + .ticket { opacity: 0.55; cursor: not-allowed; transform: none; }
.type .desc { font-size: var(--t-small); color: var(--ink-soft); }
.includes { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: var(--s-1); font-size: var(--t-small); }
.includes > span { display: grid; grid-template-columns: 18px 1fr; gap: var(--s-2); }
.includes svg { width: 16px; height: 16px; margin-top: 4px; }
.pick { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-label); font-weight: 600; color: var(--ink-soft); }
.pick i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-soft); display: grid; place-items: center; }
.type input:checked + .ticket .pick { color: var(--ink); }
.type input:checked + .ticket .pick i { border-color: var(--ink); }
.type input:checked + .ticket .pick i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.stamp { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; border: 1.5px solid var(--ink-soft); color: var(--ink-soft); padding: 4px 8px; border-radius: var(--radius-sm); justify-self: start; }

.order { position: sticky; top: var(--s-5); padding: var(--s-6); display: grid; gap: var(--s-5); }
.order h2 { font-size: var(--t-h3); color: var(--ink); }
@media (max-width: 960px) { .order { position: static; } }
@media (max-width: 560px) { .order { padding: var(--s-5) var(--s-4); } }

.qty { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.qty label { font-weight: 600; }
.stepper { display: inline-grid; grid-template-columns: 44px 3.5rem 44px; height: 46px; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.stepper button { background: transparent; border: 0; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--paper-2); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; background: transparent; }
.stepper svg { width: 16px; height: 16px; }
.stepper input { width: 100%; border: 0; border-inline: 1.5px solid var(--ink); text-align: center; font: 700 1.125rem/1 var(--font-body); color: var(--ink); background: transparent; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hint { font-size: var(--t-label); color: var(--ink-soft); }

.sum { margin: 0; display: grid; gap: var(--s-2); padding-block: var(--s-4); border-block: 1px dashed var(--rule); font-variant-numeric: tabular-nums; }
.sum > div { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--t-small); }
.sum dt { color: var(--ink-soft); }
.sum dd { margin: 0; font-weight: 600; }
.sum .total { font-size: 1rem; padding-top: var(--s-2); }
.sum .total dt { color: var(--ink); font-weight: 600; }
.sum .total dd { font: 800 2rem/1 var(--font-display); }

.field { display: grid; gap: var(--s-1); }
.field label { font-weight: 600; font-size: var(--t-small); }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input {
  min-height: 48px; padding: 0 var(--s-3); border: 1.5px solid var(--ink-soft); border-radius: var(--radius);
  background: #fbf6ec; color: var(--ink); font: 400 1rem/1.2 var(--font-body);
}
.field input::placeholder { color: #6b6c86; }
.field input:hover { border-color: var(--ink); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 179, 80, 0.7); }
.field input[aria-invalid="true"] { border-color: #a3341c; }
.field .err { font-size: var(--t-label); color: #a3341c; font-weight: 600; min-height: 0; }
.field .err:empty { display: none; }
.fields { display: grid; gap: var(--s-4); }
.note { font-size: var(--t-label); color: var(--ink-soft); }

/* Confirmation: the issued ticket */
.issued { display: grid; gap: var(--s-5); }
.issued[hidden] { display: none; }
.issued .ticket { --stub: 10rem; }
.issued .ticket__stub { justify-items: start; }
.serial { font: 800 1.5rem/1 var(--font-display); letter-spacing: 0.02em; }
.barcode { width: 100%; height: 46px; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .issued:not([hidden]) .ticket { animation: issue 0.7s var(--ease) both; }
}
@keyframes issue { from { clip-path: inset(0 0 100% 0); transform: translateY(-12px); } to { clip-path: inset(0 0 0 0); transform: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s-8); align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: var(--s-6); } }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; font-weight: 600; font-size: 1.125rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 20px; height: 20px; color: var(--amber); transition: transform 0.25s var(--ease); margin-top: 4px; }
.qa details[open] summary svg { transform: rotate(45deg); }
.qa summary:hover { color: var(--amber); }
.qa .answer { padding: 0 0 var(--s-5); color: var(--text-soft); max-width: 62ch; display: grid; gap: var(--s-3); }
.faq-aside { display: grid; gap: var(--s-5); position: sticky; top: var(--s-6); }
.faq-aside img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 900px) { .faq-aside { position: static; } .faq-aside img { aspect-ratio: 16 / 10; } }

.type .ticket__title, .type .desc { display: block; }
.issued:focus { outline: none; }
.issued .ticket { background: var(--paper-2); box-shadow: 0 10px 24px -14px rgba(26, 28, 56, 0.6); }
