:root {
  color-scheme: dark;
  --ink: #111216;
  --panel: #1b1d22;
  --panel-alt: #23252b;
  --line: #38393e;
  --text: #f5f1e9;
  --muted: #aaaeb7;
  --accent: #efb95c;
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.55 "Space Grotesk", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.kicker { margin: 0; color: var(--accent); font-size: .73rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.number { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.rule { border-top: 1px solid var(--line); }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 100; padding: .65rem 1rem; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: .75rem; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(17 18 22 / .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 76px; }
.brand { font-size: 1.22rem; font-weight: 700; letter-spacing: -.06em; white-space: nowrap; }
.brand .cursor { color: var(--accent); margin-left: .12em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); font-size: .87rem; }
.site-nav a:not(.header-cta) { color: var(--muted); transition: color .2s; }
.site-nav a:not(.header-cta):hover, .site-nav a[aria-current] { color: var(--text); }
.header-cta { display: inline-flex; align-items: center; gap: 1.5rem; border: 1px solid var(--accent); padding: .65rem .9rem; color: var(--accent); font-size: .82rem; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--accent); color: var(--ink); }
.mobile-cta { display: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: 54px; padding: .8rem 1.15rem; background: var(--accent); color: var(--ink); font-weight: 700; border: 1px solid var(--accent); border-radius: 0; transition: background .2s, transform .2s; }
.button:hover { background: #ffd17c; transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-outline { background: transparent; color: var(--text); border-color: var(--line); }
.button-outline:hover { background: var(--panel-alt); }
.arrow { font-size: 1.3rem; line-height: 1; font-weight: 400; }
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, rgb(17 18 22 / .9) 0%, rgb(17 18 22 / .46) 54%, rgb(17 18 22 / .16) 100%), linear-gradient(0deg, #111216 2%, transparent 56%), url('/assets/frontier.jpg') center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent calc(50% - .5px), rgb(255 255 255 / .035) 50%, transparent calc(50% + .5px)); }
.hero .wrap { position: relative; padding-top: clamp(4.5rem, 9vw, 8.5rem); padding-bottom: clamp(4.5rem, 8vw, 7rem); }
.hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.hero-meta span:last-child { color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-title { margin: .75rem 0 0; font-size: clamp(5.3rem, 17vw, 15rem); line-height: .78; letter-spacing: -.105em; font-weight: 700; max-width: 11ch; text-shadow: 0 2px 30px rgb(17 18 22 / .45); }
.hero-title span { display: block; }
.hero-title .second-line { padding-left: clamp(1.5rem, 6vw, 6rem); }
.hero-title .dot { display: inline; color: var(--accent); }
.hero-title .word-accent { color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: end; margin-top: clamp(3rem, 6vw, 6rem); }
.hero-intro { margin: 0 0 2rem; max-width: 35rem; font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.35; letter-spacing: -.035em; }
.hero-intro strong { color: var(--accent); font-weight: 500; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.event-note { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; border-top: 1px solid var(--accent); padding-top: 1.1rem; }
.event-note p { margin: 0; }
.event-note strong { display: block; margin-bottom: .55rem; font-size: 1.25rem; line-height: 1.2; }
.event-note small { color: var(--muted); font-size: .89rem; line-height: 1.5; }
.section { padding: clamp(5rem, 10vw, 10rem) 0; }
.section-top { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.section-top p:last-child { margin: 0; color: var(--muted); font-size: .8rem; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(3rem, 8vw, 9rem); padding-top: clamp(2rem, 5vw, 5rem); }
.display-heading { margin: 0; font-size: clamp(3rem, 6.6vw, 6.5rem); line-height: .98; letter-spacing: -.075em; font-weight: 600; }
.display-heading em { color: var(--accent); font-style: normal; }
.prose { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.68; }
.prose p { margin: 0 0 1.4rem; }
.prose p:last-child { margin-bottom: 0; }
.principles { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 4.5rem minmax(0, .8fr) minmax(0, 1fr); gap: 2rem; align-items: baseline; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.principle h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.055em; font-weight: 600; }
.principle p { margin: 0; max-width: 33rem; color: var(--muted); }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .section-top { border-color: #414249; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; margin-top: clamp(2rem, 5vw, 5rem); }
.portrait-frame { position: relative; max-width: 470px; }
.portrait-frame::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--accent); z-index: 0; }
.portrait-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(100%); }
.about-grid .display-heading { font-size: clamp(2.5rem, 5vw, 5rem); }
.about-grid .speaker-label { margin-bottom: 1.1rem; }
.about-grid .prose { margin-top: 2rem; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1rem; border-bottom: 1px solid var(--accent); padding-bottom: .35rem; color: var(--accent); font-weight: 700; }
.night-statement { display: grid; grid-template-columns: 1fr .55fr; gap: clamp(3rem, 8vw, 8rem); padding-top: clamp(2rem, 5vw, 5rem); align-items: end; }
.night-statement .display-heading { max-width: 13ch; }
.night-statement .prose { padding-bottom: .5rem; }
.speak-panel { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: clamp(2.5rem, 5vw, 5rem) 0; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--line); }
.speak-panel h2 { margin: 1rem 0 1.1rem; font-size: clamp(2.7rem, 5.5vw, 5rem); line-height: 1.03; letter-spacing: -.07em; font-weight: 600; }
.speak-panel p:last-child { margin: 0; max-width: 36rem; color: var(--muted); }
.signup-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; padding-top: clamp(2rem, 5vw, 5rem); }
.signup-grid .display-heading { max-width: 13ch; }
.signup-grid .prose { margin-top: 2rem; }
.signup-form { padding: 2rem; background: var(--panel); border: 1px solid var(--line); }
.signup-form label { display: block; margin-bottom: .8rem; font-size: .77rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.signup-form input[type="email"] { width: 100%; min-height: 58px; padding: .9rem 1rem; border: 1px solid #55565b; border-radius: 0; outline: 0; background: var(--ink); color: var(--text); }
.signup-form input[type="email"]:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.signup-form input::placeholder { color: #888992; }
.signup-form .button { width: 100%; margin-top: 1rem; }
.signup-status { margin: 1rem 0 0; min-height: 2.8em; color: var(--muted); font-size: .85rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem 0; }
.footer-main p { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 1rem 2rem; color: var(--muted); font-size: .85rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
/* Ticket page */
.ticket-hero .wrap { padding-bottom: clamp(4rem, 7vw, 7rem); }
.ticket-hero .hero-title { max-width: 12ch; font-size: clamp(4.3rem, 10vw, 9.5rem); line-height: .9; }
.ticket-hero .hero-bottom { margin-top: clamp(2.5rem, 5vw, 5rem); }
.ticket-hero .hero-intro { max-width: 45rem; }
.note-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.note-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.note-list span { color: var(--accent); font-size: .8rem; }
.faq-list { margin-top: clamp(2rem, 5vw, 5rem); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.4rem 0; list-style: none; cursor: pointer; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: -.2rem 0 1.5rem; max-width: 48rem; color: var(--muted); line-height: 1.7; }
.faq a { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 900px) {
  .site-nav { gap: 1rem; }
  .hero-bottom, .section-grid, .night-statement, .signup-grid { gap: 3rem; }
}
@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .site-header .wrap { min-height: 66px; gap: 1rem; }
  .brand { font-size: 1.08rem; }
  .site-nav { display: none; }
  .mobile-cta { display: inline-flex; font-size: .78rem; padding: .5rem .65rem; }
  .hero { background-position: 62% center; background-image: linear-gradient(90deg, rgb(17 18 22 / .91) 0%, rgb(17 18 22 / .66) 100%), linear-gradient(0deg, #111216 0%, transparent 65%), url('/assets/frontier.jpg'); }
  .hero::before { display: none; }
  .hero .wrap { padding-top: 4rem; }
  .hero-meta span:last-child { display: none; }
  .hero-title { font-size: clamp(5rem, 23vw, 9rem); }
  .hero-title .second-line { padding-left: 1.1rem; }
  .hero-bottom, .section-grid, .night-statement, .about-grid, .signup-grid, .speak-panel { grid-template-columns: 1fr; gap: 2.5rem; }
  .principle { grid-template-columns: 2.5rem 1fr; gap: .5rem 1rem; }
  .principle p { grid-column: 2; }
  .portrait-frame { margin-right: 1rem; }
  .footer-main { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .ticket-hero .hero-title { font-size: clamp(4rem, 16vw, 7rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
