/* Owlyn Events landing page (owlynevents.com). Brand values live in tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--c-night);
  color: var(--c-text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
code { font-family: var(--f-mono); font-size: .9em; }

.wrap { width: 100%; max-width: calc(var(--content-width) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.12em; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-gold); color: var(--c-night); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: 6px; }

.setup-warning { background: #B3261E; color: #fff; text-align: center; padding: 10px var(--gutter); font: 600 14px/1.4 var(--f-body); }
.setup-warning code { background: rgba(0,0,0,.25); padding: 1px 6px; border-radius: 4px; }

/* ---------- Type ---------- */
.eyebrow { font: 600 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow--ink { color: var(--c-gold-deep); }
h1 { font-weight: 800; font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.03em; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.gold { color: var(--c-gold); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--c-muted); max-width: 640px; margin-top: 20px; }
.lead--ink { color: var(--c-ink-muted); }
.fine { font-size: 14px; color: var(--c-muted); margin-top: 18px; max-width: 560px; }
.fine--center { text-align: center; margin: 32px auto 0; max-width: 680px; }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-mint-bright); box-shadow: 0 0 0 0 rgba(36,192,150,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(36,192,150,0); } 100% { box-shadow: 0 0 0 0 rgba(36,192,150,0); } }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-row--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 17px/1 var(--f-display); text-decoration: none;
  padding: 15px 24px; border-radius: 14px; border: 0; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--c-gold); color: var(--c-night); box-shadow: 0 4px 0 0 var(--c-gold-deep); }
.btn--gold:hover { background: var(--c-gold-hi); }
.btn--ghost { background: rgba(30,24,56,.5); color: var(--c-text); box-shadow: inset 0 0 0 1.5px var(--c-line); }
.btn--ghost:hover { color: var(--c-gold); box-shadow: inset 0 0 0 1.5px var(--c-gold); }
.btn--sm { font-size: 15px; padding: 11px 16px; border-radius: 12px; }
.btn--block { width: 100%; margin-top: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font: 700 16px/1.2 var(--f-display); color: var(--c-gold-deep); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18,14,36,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 0 var(--c-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 46px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font: 700 21px/1.05 var(--f-display); }
.brand__text small { font: 500 9.5px/1.4 var(--f-mono); letter-spacing: .16em; opacity: .6; }
.nav { display: flex; gap: 4px; }
.nav a { font: 600 15px/1 var(--f-display); color: var(--c-muted); text-decoration: none; padding: 10px 14px; border-radius: 10px; }
.nav a:hover { color: var(--c-text); background: var(--c-night-2); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 480px) {
  .site-header .btn { font-size: 14px; padding: 10px 12px; }
  .brand__text small { display: none; }
}

/* ---------- Sections ---------- */
.is-night { background: var(--c-night); color: var(--c-text); }
.is-paper { background: var(--c-paper); color: var(--c-ink); }
.section { padding: 112px 0; }
.section--tight { padding-top: 0; }
.section--line { border-top: 1px solid var(--c-line); }
@media (max-width: 767px) { .section { padding: 72px 0; } .section--tight { padding-top: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 112px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(243,182,63,.16), transparent 62%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding: 64px 0 80px; } }

.hero__visual { position: relative; min-height: 420px; display: grid; place-items: center; }
@media (max-width: 960px) { .hero__visual { min-height: 360px; } }

/* Ticket (brand device) */
.ticket { display: flex; background: var(--c-gold); color: var(--c-night); border-radius: 18px; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.ticket__main { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ticket__label { font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.ticket__title { font: 800 34px/1 var(--f-display); letter-spacing: -.03em; margin-top: 6px; }
.ticket__meta { font: 500 15px/1.3 var(--f-body); }
.ticket__type { margin-top: 14px; align-self: flex-start; font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--c-night); border-radius: 999px; padding: 7px 10px; }
.ticket__stub { padding: 22px; border-left: 2px dashed rgba(18,14,36,.45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; position: relative; }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-night); }
.ticket__stub::before { top: -11px; }
.ticket__stub::after { bottom: -11px; }
.ticket__code { font: 600 10px/1 var(--f-mono); letter-spacing: .08em; }
.qr { width: 104px; height: 104px; background: #fff; padding: 6px; border-radius: 8px; shape-rendering: crispEdges; }
.qr rect { fill: var(--c-night); }

.ticket--hero { transform: rotate(-6deg) translate(-56px, -64px); width: min(420px, 88%); }
.phone {
  position: absolute; right: -2%; bottom: -24px; width: 160px; aspect-ratio: 9 / 18;
  background: #0B0918; border-radius: 30px; padding: 10px; transform: rotate(5deg);
  box-shadow: 0 0 0 1.5px var(--c-line), 0 30px 60px -18px rgba(0,0,0,.8);
}
.phone__screen { height: 100%; border-radius: 22px; background: var(--c-night-2); padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone__label { font: 600 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.phone__view { position: relative; width: 100%; aspect-ratio: 1; border-radius: 14px; background: #000; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 2px var(--c-gold); }
.qr--small { width: 78px; height: 78px; padding: 4px; border-radius: 6px; }
.scanline { position: absolute; left: 8%; right: 8%; height: 2px; background: var(--c-mint-bright); box-shadow: 0 0 12px var(--c-mint-bright); top: 12%; animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { to { top: 86%; } }
.phone__result { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--c-mint); color: #fff; font: 700 14px/1 var(--f-display); padding: 12px 8px; border-radius: 12px; }
@media (max-width: 480px) {
  .ticket__title { font-size: 28px; }
  .ticket__main { padding: 20px 18px; }
  .ticket__stub { padding: 16px 14px; }
  .qr { width: 84px; height: 84px; }
  .phone { width: 118px; right: 0; bottom: -10px; }
  .ticket--hero { transform: rotate(-6deg) translate(-12px, -70px); width: 94%; }
}
@media (prefers-reduced-motion: reduce) { .scanline, .live-dot { animation: none; } .btn:hover { transform: none; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1.5px var(--c-paper-line); display: flex; flex-direction: column; overflow: hidden; }
.step__no { font: 800 15px/1 var(--f-mono); letter-spacing: .1em; color: var(--c-night); background: var(--c-gold); padding: 14px 22px; border-bottom: 2px dashed rgba(18,14,36,.35); }
.step__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.step__body p { margin-top: 10px; color: var(--c-ink-muted); font-size: 16px; }
.step__body p a { color: var(--c-ink); font-weight: 600; }
.step__body .link-arrow { margin-top: auto; padding-top: 16px; }

/* ---------- Passes ---------- */
.passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 1000px) { .passes { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.pass { position: relative; background: var(--c-night-2); border-radius: var(--radius); padding: 0 24px 24px; box-shadow: inset 0 0 0 1.5px var(--c-line); display: flex; flex-direction: column; }
.pass:target { box-shadow: inset 0 0 0 2px var(--c-gold); }
.pass__head { margin: 0 -24px 20px; padding: 20px 24px 18px; border-bottom: 2px dashed var(--c-line); background: var(--c-night-3); border-radius: var(--radius) var(--radius) 0 0; position: relative; }
.pass__head::before, .pass__head::after { content: ""; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-night); }
.pass__head::before { left: -11px; }
.pass__head::after { right: -11px; }
.pass__kind { font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold); }
.pass__head h3 { margin-top: 8px; font-size: 24px; }
.pass__rows { margin: 0; display: grid; gap: 12px; }
.pass__rows div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; }
.pass__rows dt { font: 600 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.pass__rows dd { margin: 0; font-size: 15px; min-width: 0; }
.copy {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font: 500 15px/1.3 var(--f-mono); color: var(--c-text); text-align: left;
  background: var(--c-night); border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--c-line); overflow-wrap: anywhere;
}
.copy .i { color: var(--c-muted); }
.copy:hover { box-shadow: inset 0 0 0 1px var(--c-gold); }
.copy:hover .i { color: var(--c-gold); }
.copy.is-copied { box-shadow: inset 0 0 0 1.5px var(--c-mint-bright); }
.copy.is-placeholder { color: #FF8A80; }
.pass__note { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--c-muted); }
.pass .btn--block + .pass__note { padding-top: 12px; }
.copy-status { text-align: center; min-height: 1.4em; margin-top: 10px; font: 600 14px/1.4 var(--f-mono); color: var(--c-mint-bright); }

/* ---------- Features ---------- */
.features { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px; border-radius: var(--radius); background: var(--c-night-2); box-shadow: inset 0 0 0 1.5px var(--c-line); }
.feature h3::before { content: ""; display: block; width: 34px; height: 24px; margin-bottom: 18px; background: var(--c-gold); -webkit-mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 6px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; border-radius: 4px; }
.feature p { margin-top: 10px; color: var(--c-muted); font-size: 16px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; gap: 36px; } }
.price-ticket { background: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1.5px var(--c-paper-line), 0 24px 48px -28px rgba(27,22,51,.35); overflow: hidden; }
.price-ticket__main { background: var(--c-night); color: var(--c-text); padding: 30px 32px; border-bottom: 2px dashed var(--c-gold); }
.price-ticket__label { font: 600 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold); }
.price { display: block; margin-top: 12px; font: 800 clamp(48px, 7vw, 72px)/1 var(--f-display); letter-spacing: -.03em; color: var(--c-gold); }
.price span { color: var(--c-text); font-size: .6em; }
.ticks { list-style: none; margin: 0; padding: 26px 32px 30px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; color: var(--c-ink); }
.ticks .i { width: 22px; height: 22px; color: var(--c-mint); margin-top: 2px; }
@media (max-width: 480px) { .price-ticket__main, .ticks { padding-left: 20px; padding-right: 20px; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--c-paper-line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font: 700 18px/1.3 var(--f-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 600 26px/1 var(--f-display); color: var(--c-gold-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 22px; color: var(--c-ink-muted); }
.faq details a { color: var(--c-ink); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 20% -10% -50%; background: radial-gradient(ellipse at center, rgba(243,182,63,.14), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 72px; height: 54px; margin-bottom: 26px; }
.cta .lead { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-legal { margin-top: 18px; font-size: 14px; color: var(--c-muted); max-width: 520px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a { color: var(--c-muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--c-gold); }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-muted); }
