/* ================================================================
   Open Space Events — styles
   Palette taken from the logo: signal red + deep navy on warm paper
   ================================================================ */

:root {
  --red: #E8202A;
  --red-deep: #C7141E;
  --navy: #0B3158;
  --navy-ink: #071F38;
  --tg: #FA6800; /* TeranGO orange, used only for "powered by" accents */
  --paper: #F5F2EC;
  --paper-2: #ECE7DE;
  --ink: #0E1B2B;
  --muted: #5D6877;
  --line: rgba(11, 49, 88, .14);

  --display: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* ---------- shared ---------- */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 28px;
  font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__mark { width: 22px; height: auto; }

.h2 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 96px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--navy);
}
.h2 em { color: var(--red); }

.section__head { margin-bottom: clamp(48px, 7vw, 96px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-size: 15px; font-weight: 500;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.btn i { font-size: 16px; transition: transform .4s var(--ease); }
.btn:hover i { transform: translate(3px, -1px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--navy); }
.btn--lg { padding: 18px 30px; font-size: 16px; }

.link {
  position: relative; font-weight: 500; color: var(--navy);
  padding-bottom: 2px;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: currentColor; transform-origin: right; transition: transform .5s var(--ease);
}
.link:hover::after { transform: scaleX(0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(245, 242, 236, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo img { height: 52px; width: auto; transition: opacity .3s; }
.nav.is-menu { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.is-menu .nav__logo img { opacity: 0; }
.nav__links { display: flex; gap: 36px; font-size: 15px; font-weight: 500; color: var(--navy); }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--red); transform: translateX(-50%) scale(0);
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: translateX(-50%) scale(1); }
.nav__meta { display: flex; align-items: center; gap: 20px; }
.nav__clock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 60; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span { background: #fff; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 var(--gutter);
  clip-path: circle(0 at calc(100% - 40px) 40px);
  transition: clip-path .8s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu a { color: #fff; font-size: clamp(40px, 11vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.menu a:hover { color: var(--red); }

/* ---------- hero ---------- */
.hero { padding: 0; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 5vw, 96px);
  min-height: min(100svh, 980px);
  padding: clamp(112px, 12vh, 140px) var(--gutter) clamp(40px, 6vh, 72px);
}
.hero__copy .eyebrow { margin-bottom: clamp(20px, 3vh, 32px); }
.hero__title {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 124px);
  font-weight: 800; line-height: .92; letter-spacing: -.05em;
  color: var(--navy);
}
.hero__title em { color: var(--red); font-size: 1.06em; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-loaded .line > span { transform: none; }
.is-loaded .line:nth-child(2) > span { transition-delay: .1s; }
.is-loaded .line:nth-child(3) > span { transition-delay: .2s; }

.hero__aside { margin-top: clamp(24px, 4vh, 40px); max-width: 520px; opacity: 0; transform: translateY(20px); transition: all 1s .5s var(--ease); }
.is-loaded .hero__aside { opacity: 1; transform: none; }
.hero__aside p { margin: 0 0 28px; color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); }
.hero__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--ghost:hover i { transform: none; }

/* hero visual: two photos + floating cards */
.hero__visual {
  position: relative; height: clamp(440px, 72vh, 720px);
  opacity: 0; transform: translateY(30px); transition: opacity 1.2s .2s var(--ease), transform 1.2s .2s var(--ease);
}
.is-loaded .hero__visual { opacity: 1; transform: none; }
.hero__photo { position: absolute; border-radius: 28px; overflow: hidden; background: var(--paper-2); }
.hero__brand {
  background: radial-gradient(120% 80% at 70% 25%, #12406F 0%, var(--navy-ink) 65%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px);
}
.hero__brand-mark { position: absolute; top: 14%; right: -12%; width: 92%; filter: drop-shadow(0 40px 60px rgba(232, 32, 42, .3)); }
.hero__brand-line { position: relative; color: #fff; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 40px); line-height: 1.05; }
.hero__brand-line em { color: var(--red); }
.hero__tile {
  background: var(--red); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 28px);
}
.hero__tile i { font-size: clamp(34px, 3.2vw, 52px); }
.hero__tile span { font-size: clamp(15px, 1.2vw, 19px); font-weight: 600; line-height: 1.25; }
.hero__photo--main { top: 0; right: 0; width: 74%; height: 100%; }
.hero__photo--side { left: 0; bottom: 10%; width: 40%; aspect-ratio: 4 / 5; border: 8px solid var(--paper); border-radius: 32px; }

.float-ticket, .float-next {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(7, 31, 56, .4);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px); } }
.float-ticket { top: 8%; left: 6%; padding: 12px 18px 12px 12px; }
.float-ticket__qr { width: 64px; height: 64px; padding: 4px; border-radius: 10px; border: 1px solid var(--line); }
.float-ticket__qr img, .float-ticket__qr canvas { width: 100% !important; height: 100% !important; display: block; }
.float-ticket small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.float-ticket strong { display: block; font-size: 15px; color: var(--navy); margin: 2px 0 6px; }
.float-ticket__ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #15803D; }
.float-next { right: 5%; bottom: 6%; padding: 12px 18px 12px 12px; max-width: 340px; animation-delay: -3s; transition: box-shadow .3s; }
.float-next:hover { box-shadow: 0 30px 60px -20px rgba(232, 32, 42, .45); }
.float-next__date {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px;
  background: var(--red); color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
}
.float-next__date b { font-size: 22px; letter-spacing: -.02em; }
.float-next__info small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.float-next__info strong { display: block; font-size: 15px; line-height: 1.25; color: var(--navy); font-weight: 600; }
.float-next > i { font-size: 20px; color: var(--navy); }

/* the image "opens" as you scroll: inset shrinks from gutter to 0 */
.hero__media {
  --open: 0;
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 7vw, 96px);
  height: clamp(420px, 82vh, 860px);
  clip-path: inset(0 calc(var(--gutter) * (1 - var(--open))) 0 calc(var(--gutter) * (1 - var(--open))) round calc(var(--radius) * (1 - var(--open))));
}
.hero__media { background: var(--navy); height: auto; min-height: clamp(420px, 70vh, 720px); display: flex; align-items: center; }
.hero__mission { padding: clamp(80px, 10vw, 140px) calc(var(--gutter) * 2); max-width: 1300px; }
.hero__mission .eyebrow { color: rgba(255, 255, 255, .6); }
.hero__mission-text { margin: 0; color: #fff; font-size: clamp(32px, 4.6vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; }
.hero__mission-text em { color: var(--red); }
.hero__caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px calc(var(--gutter) * 2);
  color: rgba(255, 255, 255, .85); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; color: var(--navy); white-space: nowrap; }
.marquee span:nth-child(4n+3) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); }
.marquee img { width: 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.statement {
  margin: 0 0 clamp(64px, 8vw, 110px);
  font-size: clamp(26px, 3.4vw, 48px); line-height: 1.18; letter-spacing: -.02em; font-weight: 500;
  color: var(--navy);
}
.statement em { color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.stat:not(:first-child) { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -.04em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- services ---------- */
.services { position: relative; background: #fff; border-radius: 40px 40px 0 0; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.svc__card { display: flex; flex-direction: column; }
.svc__img {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; margin-bottom: 22px;
  display: grid; place-items: center;
}
.svc__img i { font-size: clamp(48px, 5vw, 76px); transition: transform .8s var(--ease); }
.svc__card:hover .svc__img i { transform: scale(1.12) rotate(-4deg); }
.svc__img--red { background: var(--red); color: #fff; }
.svc__img--navy { background: var(--navy); color: #fff; }
.svc__img--navy i { color: var(--red); }
.svc__img--ink { background: var(--navy-ink); color: #fff; }
.svc__img--ink i { color: var(--red); }
.svc__img--light { background: var(--paper); color: var(--red); box-shadow: inset 0 0 0 1px var(--line); }
.svc__card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 40px); }
.svc__card--wide .svc__img { flex: 0 0 clamp(200px, 30%, 380px); margin-bottom: 0; }
.svc__num {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.svc__title { margin: 0 0 8px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.svc__desc { margin: 0; color: var(--muted); font-size: 15px; }
.svc__card:nth-child(3n+2) { transition-delay: .08s; }
.svc__card:nth-child(3n+3) { transition-delay: .16s; }

/* ---------- process ---------- */
.process { background: var(--navy); color: #fff; }
.process .h2 { color: #fff; }
.section__head--light .eyebrow { color: rgba(255, 255, 255, .6); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font-size: 14px;
}
.step h3 { margin: 0 0 12px; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.step p { margin: 0; color: rgba(255, 255, 255, .65); font-size: 15px; }
.step:nth-child(2) { transition-delay: .1s; }
.step:nth-child(3) { transition-delay: .2s; }
.step:nth-child(4) { transition-delay: .3s; }
.steps__bar { margin-top: 64px; height: 2px; background: rgba(255, 255, 255, .12); }
.steps__bar span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s linear; }

/* ---------- hero powered-by pill ---------- */
.hero__powered {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); transition: border-color .3s, background .3s;
}
.hero__powered:hover { border-color: var(--tg); background: #fff; }
.hero__powered i { font-size: 16px; color: var(--navy); }
.hero__powered img { height: 13px; width: auto; }

/* ---------- upcoming events ---------- */
.events__note { max-width: 340px; margin: 0; color: var(--muted); font-size: 15px; }
.ev { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ev__item {
  display: grid; grid-template-columns: 96px 1fr auto auto; align-items: center; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.ev__date {
  display: grid; place-items: center; width: 96px; aspect-ratio: 1; border-radius: 20px;
  background: #fff; color: var(--navy); line-height: 1; transition: background .3s, color .3s;
}
.ev__date span { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.ev__date small { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-top: -18px; }
.ev__item:hover .ev__date { background: var(--red); color: #fff; }
.ev__item:hover .ev__date small { color: #fff; }
.ev__tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ev__info h3 { margin: 4px 0 6px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.ev__info p { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.ev__price { text-align: right; font-size: 22px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.ev__price small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }

/* ---------- ticketing ---------- */
.tix {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center;
  background: var(--navy-ink); color: #fff;
  border-radius: 40px; margin: 0 clamp(8px, 1.5vw, 20px);
  position: relative; overflow: hidden;
}
.tix::before {
  content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -20vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 32, 42, .22), transparent 65%); pointer-events: none;
}
.tix > * { position: relative; }
.tix .eyebrow { color: rgba(255, 255, 255, .6); }
.tix .h2 { color: #fff; }
.tix__lead { margin: 28px 0 40px; max-width: 460px; color: rgba(255, 255, 255, .7); font-size: 17px; }

.flow { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: f; }
.flow li {
  display: flex; flex-direction: column; gap: 14px; padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(255, 255, 255, .03);
}
.flow i { font-size: 26px; color: var(--red); }
.flow strong { display: block; font-weight: 600; font-size: 16px; }
.flow span { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 2px; }

.tix__feats { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.tix__feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.tix__feats i { font-size: 18px; color: var(--tg); flex: none; margin-top: 1px; }

.powered {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14); transition: border-color .3s, background .3s;
}
.powered:hover { border-color: var(--tg); background: rgba(250, 104, 0, .08); }
.powered span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.powered img { height: 24px; width: auto; }

/* demo column */
.tix__demo { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.picker {
  width: 100%; max-width: 400px; padding: 18px; border-radius: 22px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  display: grid; gap: 14px;
}
.picker__event { font-size: 14px; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 8px; }
.picker__event::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; flex: none; }
.picker__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier {
  padding: 12px 8px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14);
  background: transparent; color: #fff; font-size: 14px; font-weight: 600; text-align: center;
  transition: background .3s, border-color .3s, color .3s;
}
.tier span { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .6); }
.tier:hover { border-color: rgba(255, 255, 255, .4); }
.tier.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.tier.is-active span { color: var(--muted); }
.btn--block { width: 100%; justify-content: center; padding: 16px; }

/* the e-ticket */
.ticket {
  --notch: 14px;
  width: 100%; max-width: 400px; background: #fff; color: var(--ink); border-radius: 26px; overflow: hidden;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .6);
  transition: transform .7s var(--ease);
}
.ticket.is-issuing { animation: issue .9s var(--ease); }
@keyframes issue { 0% { transform: translateY(24px) rotate(-2deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.ticket__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--navy); }
.ticket__head img { height: 34px; width: auto; }
.ticket__tier { padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ticket__body { padding: 22px 22px 18px; }
.ticket__body h3 { margin: 0 0 16px; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.ticket dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.ticket dl .wide { grid-column: 1 / -1; }
.ticket dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticket dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.ticket__tear {
  position: relative; height: calc(var(--notch) * 2);
  background: radial-gradient(circle at 0 50%, var(--navy-ink) var(--notch), transparent calc(var(--notch) + .5px)),
              radial-gradient(circle at 100% 50%, var(--navy-ink) var(--notch), transparent calc(var(--notch) + .5px));
}
.ticket__tear::after { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; border-top: 2px dashed var(--line); }
.ticket__qr { display: flex; align-items: center; gap: 20px; padding: 14px 22px 20px; }
.qr { position: relative; flex: none; width: 132px; height: 132px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
#qrCode, #qrCode img, #qrCode canvas { width: 100% !important; height: 100% !important; display: block; }
.qr__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0;
  background: var(--red); box-shadow: 0 0 16px 4px rgba(232, 32, 42, .5);
}
.ticket.is-scanning .qr__scan { opacity: 1; animation: scan 1.1s ease-in-out 2; }
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 94%; } }
.ticket__id small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticket__id > span:not(.ticket__status) { display: block; margin: 2px 0 12px; font-family: ui-monospace, Consolas, monospace; font-size: 14px; font-weight: 600; color: var(--navy); }
.ticket__status {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: rgba(34, 197, 94, .12); color: #15803D;
}
.ticket__status i { font-size: 16px; }
.ticket.is-used .ticket__status { background: rgba(11, 49, 88, .08); color: var(--navy); }
.ticket.is-used #qrCode { opacity: .25; transition: opacity .4s; }
.ticket__foot {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px;
  border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.ticket__foot img { height: 14px; width: auto; }

.scan-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .3); background: transparent; color: rgba(255, 255, 255, .85); font-size: 14px;
  transition: border-color .3s, color .3s;
}
.scan-btn:hover { border-color: var(--tg); color: #fff; }
.scan-btn i { font-size: 18px; }
.scan-btn:disabled { opacity: .5; cursor: default; }

/* ---------- past events ---------- */
.circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--navy);
  display: grid; place-items: center; font-size: 20px;
  transition: background .3s, color .3s, border-color .3s;
}
.circle:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 560px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--navy); font-size: 14px; transition: background .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.past__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.past__card.is-hidden { display: none; }
.past__img {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; color: #fff;
}
.past__img i { font-size: clamp(56px, 6vw, 88px); transition: transform .8s var(--ease); }
.past__card:hover .past__img i { transform: scale(1.1); }
.past__img--red { background: var(--red); }
.past__img--navy { background: var(--navy); }
.past__img--ink { background: var(--navy-ink); }
.past__img--navy i, .past__img--ink i { color: var(--red); }
.past__no { position: absolute; left: 18px; top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .1em; opacity: .7; }
.past__meta { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.past__meta span:first-child { color: var(--red); font-weight: 600; }
.past__card h3 { margin: 6px 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.past__card p { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); margin: 0 4px; }


/* ---------- quote ---------- */
.quote { text-align: center; background: var(--paper-2); }
.quote__mark { width: 72px; margin: 0 auto 40px; }
.quote__stage { display: grid; max-width: 1000px; margin: 0 auto; }
.quote__item {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.quote__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; color: var(--navy); }
.quote figcaption { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quote__dots { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.quote__dots button { width: 28px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: var(--line); transition: background .3s, width .4s var(--ease); }
.quote__dots button.is-active { width: 48px; background: var(--red); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__lead { margin: 28px 0 40px; color: var(--muted); font-size: 17px; max-width: 420px; }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 500; }
.contact__list i { font-size: 20px; color: var(--red); }
.contact__list a:hover { color: var(--red); }

.form { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 22px; box-shadow: 0 40px 80px -50px rgba(7, 31, 56, .35); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--navy); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; color: var(--navy); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.chips label:hover span { border-color: var(--navy); }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  border: 0; border-bottom: 1.5px solid var(--line); background: transparent;
  padding: 8px 0 10px; outline: none; resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field.is-error input { border-color: var(--red); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { margin: 0; font-size: 14px; color: var(--navy); min-height: 1.4em; }

/* ---------- footer ---------- */
.footer { background: var(--navy-ink); color: #fff; padding: clamp(80px, 10vw, 140px) var(--gutter) 32px; border-radius: 40px 40px 0 0; }
.footer__big { display: flex; flex-direction: column; font-size: clamp(56px, 12vw, 200px); font-weight: 800; letter-spacing: -.055em; line-height: .88; }
.footer__big em { color: var(--red); }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-top: clamp(64px, 9vw, 120px); padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer__logo { width: 180px; height: auto; }
.footer h4 { margin: 0 0 16px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer__grid a, .footer__grid p { display: block; margin: 0 0 8px; color: rgba(255, 255, 255, .85); }
.footer__grid a:hover { color: var(--red); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer__base a:hover { color: #fff; }
.footer__powered { display: inline-flex; align-items: center; gap: 8px; }
.footer__powered img { height: 14px; width: auto; opacity: .85; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__clock { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .svc, .past__grid { grid-template-columns: 1fr 1fr; }
  .filters { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .nav__meta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav__logo img { height: 42px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { height: clamp(380px, 110vw, 560px); }
  .about { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 16px !important; }
  .contact { grid-template-columns: 1fr; }
  .tix { grid-template-columns: 1fr; border-radius: 28px; }
  .ev__item { grid-template-columns: 72px 1fr; gap: 16px 20px; }
  .ev__date { width: 72px; border-radius: 16px; }
  .ev__date span { font-size: 30px; }
  .ev__date small { margin-top: -12px; }
  .ev__price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .ev__buy { grid-column: 2; justify-self: start; }
  .footer__base { flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > img { grid-column: 1 / -1; }
  .services, .footer { border-radius: 24px 24px 0 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .flow, .tix__feats { grid-template-columns: 1fr; }
  .hero__ctas .btn--lg { flex: 1; justify-content: center; padding: 16px 14px; font-size: 15px; }
  .hero__photo--main { width: 80%; }
  .hero__photo--side { width: 46%; border-width: 6px; }
  .float-ticket { left: 0; top: 4%; padding: 10px 14px 10px 10px; }
  .float-ticket__qr { width: 52px; height: 52px; }
  .float-next { right: 0; left: 12%; bottom: 0; max-width: none; }
  .flow li { flex-direction: row; align-items: center; }
  .ticket__qr { flex-direction: column; align-items: flex-start; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .svc, .past__grid { grid-template-columns: 1fr; }
  .svc__card--wide { flex-direction: column; align-items: stretch; }
  .svc__card--wide .svc__img { flex: none; margin-bottom: 22px; }
  .hero__caption span:last-child { display: none; }
  .hero__caption { padding: 22px calc(var(--gutter) * 2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .line > span, .hero__aside, .hero__visual { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
