/* GCF Tickets: the public box office. Navy #001924 and gold #F6B831 from the GCF brand. */
:root {
	--navy: #001924; --navy-2: #0B2B3A; --slate: #3E6680; --gold: #F6B831; --gold-2: #E3A41C;
	--ink: #0E1E28; --ink-2: #33444F; --muted: #6B7A85; --line: #E1E6EA; --bg: #F5F6F3; --card: #fff;
	--ok: #1E7A4C; --bad: #B3261E; --radius: 16px;
	--ev: var(--navy); --ev-accent: var(--gold);
	--sans: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--display: Montserrat, Inter, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.gt { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.gt-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.gt-skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.gt-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header and footer */
.gt-top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.gt-top__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.gt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.gt-brand img { height: 44px; width: auto; display: block; }
.gt-brand span { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2); }
.gt-nav { display: flex; gap: 22px; font-size: 14.5px; }
.gt-nav a { text-decoration: none; color: rgba(255,255,255,.82); }
.gt-nav a:hover { color: #fff; }
.gt-foot { background: var(--navy); color: rgba(255,255,255,.72); font-size: 13.5px; margin-top: 72px; padding: 32px 0 26px; }
.gt-foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gt-foot b { color: #fff; }
.gt-foot__links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.gt-foot__links a { color: rgba(255,255,255,.82); }
.gt-foot__pay { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.5); }

/* Hero */
.gt-hero { background: radial-gradient(120% 140% at 85% 0%, #0E3A50 0%, var(--navy) 55%); color: #fff; padding: 64px 0 72px; }
.gt-hero--slim { padding: 44px 0 48px; }
.gt-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; max-width: 820px; }
.gt-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.gt-lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.82); max-width: 680px; margin: 14px 0 0; }

/* Event list */
.gt-list { margin-top: -36px; }
.gt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.gt-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 1px 2px rgba(0,25,36,.06), 0 10px 30px rgba(0,25,36,.07); transition: transform .2s ease, box-shadow .2s ease; }
.gt-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,25,36,.06), 0 18px 40px rgba(0,25,36,.12); }
.gt-card__img { position: relative; aspect-ratio: 16 / 9; background: var(--ev); overflow: hidden; }
.gt-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gt-card:hover .gt-card__img img { transform: scale(1.04); }
.gt-card__ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--ev) 0%, var(--slate) 140%); }
.gt-card__ph::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; border: 3px solid var(--ev-accent); opacity: .55; }
.gt-date { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--navy); border-radius: 12px; padding: 6px 12px; text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.gt-date b { display: block; font-family: var(--display); font-size: 24px; letter-spacing: 0; }
.gt-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.gt-card h2 { font-size: 20px; font-weight: 700; color: var(--navy); }
.gt-card__when { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; }
.gt-card__where { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.gt-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.gt-price { font-weight: 700; color: var(--navy); }
.gt-price small { font-weight: 500; color: var(--muted); }
.gt-card__go { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.gt-card:hover .gt-card__go span { margin-left: 4px; }
.gt-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #EEF1F4; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.gt-empty { background: var(--card); border-radius: var(--radius); padding: 48px 28px; text-align: center; margin-top: 40px; }
.gt-empty h1, .gt-empty h2 { font-size: 26px; margin-bottom: 10px; }

/* Event page */
.gt-ev-hero { position: relative; background: var(--ev); color: #fff; padding: 40px 0 56px; overflow: hidden; }
.gt-ev-hero.has-img { padding: 140px 0 56px; }
.gt-ev-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gt-ev-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,25,36,.15) 0%, rgba(0,25,36,.55) 45%, rgba(0,25,36,.94) 100%); }
.gt-ev-hero__in { position: relative; z-index: 1; }
.gt-ev-hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 700; max-width: 860px; margin-top: 18px; }
.gt-back { color: rgba(255,255,255,.82); text-decoration: none; font-size: 14.5px; }
.gt-back:hover { color: #fff; }
.gt-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px 26px; flex-wrap: wrap; font-weight: 500; }
.gt-facts li { display: flex; align-items: center; gap: 8px; }
.gt-ic { width: 18px; height: 18px; display: inline-block; background: var(--ev-accent); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.gt-ic--cal { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.gt-ic--pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.gt-ev { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; margin-top: -28px; position: relative; z-index: 2; }
.gt-about { background: var(--card); border-radius: var(--radius); padding: 32px 34px; box-shadow: 0 1px 2px rgba(0,25,36,.05); }
.gt-prose { font-size: 16.5px; color: var(--ink-2); }
.gt-prose h2, .gt-prose h3 { color: var(--navy); margin: 1.4em 0 .5em; }
.gt-prose h2 { font-size: 22px; } .gt-prose h3 { font-size: 18px; }
.gt-prose p { margin: 0 0 1em; }
.gt-prose img { border-radius: 12px; height: auto; }
.gt-prose a { color: var(--navy); }
.gt-about__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.gt-panel { position: sticky; top: 88px; }
.gt-box { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(0,25,36,.06), 0 14px 36px rgba(0,25,36,.1); }
.gt-box__h { font-size: 20px; color: var(--navy); margin-bottom: 14px; }
.gt-loading { color: var(--muted); padding: 16px 0; }
.gt-grp { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 4px; }
.gt-type { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.gt-type.is-off { opacity: .62; }
.gt-type.is-unlocked { background: #FFF8E6; margin: 0 -12px; padding: 14px 12px; border-radius: 10px; }
.gt-type__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gt-type__name { font-weight: 600; color: var(--navy); }
.gt-type__desc { font-size: 13.5px; color: var(--muted); }
.gt-type__price { font-size: 15px; }
.gt-type__price small { color: var(--muted); }
.gt-tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--navy); vertical-align: 1px; }
.gt-tag--muted { background: #EEF1F4; color: var(--ink-2); }
.gt-tag--warn { background: #FDECEA; color: var(--bad); }
.gt-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.gt-step button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--navy); cursor: pointer; border-radius: 50%; }
.gt-step button:hover:not(:disabled) { background: #F1F3F5; }
.gt-step button:disabled { color: #C3CBD1; cursor: default; }
.gt-step output { min-width: 26px; text-align: center; font-weight: 700; }
.gt-code { margin: 16px 0 0; }
.gt-code summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.gt-code__f { display: flex; gap: 8px; margin-top: 10px; }
.gt-code__msg { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; min-height: 1em; }
.gt-sum { margin-top: 18px; }
.gt-sum.is-empty { margin-top: 18px; }
.gt-lines { margin: 0 0 16px; font-size: 14.5px; }
.gt-lines div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; color: var(--ink-2); }
.gt-lines dt, .gt-lines dd { margin: 0; }
.gt-lines__total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px !important; font-weight: 700; font-size: 17px; color: var(--navy) !important; }
.gt-note { background: #FFF8E6; border-radius: 10px; padding: 10px 14px; font-size: 14.5px; margin: 0 0 12px; color: var(--ink-2); }
.gt-wl { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.gt-wl h3 { font-size: 17px; color: var(--navy); }
.gt-ok { color: var(--ok); font-weight: 600; }
.gt-muted { color: var(--muted); }
.gt-secure { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* Buttons and forms */
.gt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 700 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.gt-btn:active { transform: translateY(1px); }
.gt-btn--gold { background: var(--gold); color: var(--navy); }
.gt-btn--gold:hover:not(:disabled) { background: var(--gold-2); }
.gt-btn--ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.gt-btn--ghost:hover { border-color: #C7D0D6; }
.gt-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.gt-btn--block { width: 100%; }
.gt-btn:disabled { opacity: .55; cursor: default; }
.gt-link { background: none; border: 0; padding: 0; color: var(--navy); font: 600 14.5px var(--sans); cursor: pointer; margin-bottom: 12px; }
.gt-form { display: flex; flex-direction: column; gap: 14px; }
.gt-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gt-f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); border: 0; padding: 0; margin: 0; min-width: 0; }
.gt-f i, .gt-choices legend i { font-style: normal; font-weight: 400; color: var(--muted); }
.gt-help { font-weight: 400; color: var(--muted); margin-top: -2px; }
.gt-in { width: 100%; min-height: 46px; border: 1px solid #CDD5DB; border-radius: 10px; padding: 10px 12px; font: 400 16px var(--sans); color: var(--ink); background: #fff; }
.gt-in:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(246,184,49,.45); }
textarea.gt-in { min-height: 84px; resize: vertical; }
.was-checked .gt-in:invalid { border-color: var(--bad); }
.gt-choices legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.gt-ch { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--ink); cursor: pointer; padding: 4px 0; }
.gt-ch input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.gt-consent { font-size: 14px; color: var(--ink-2); }
.gt-att { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; margin: 4px 0 0; display: flex; flex-direction: column; gap: 12px; }
.gt-att legend { font-weight: 700; color: var(--navy); padding: 0 6px; font-size: 14.5px; }
.gt-att__who { display: flex; flex-direction: column; gap: 12px; }
.gt-err { color: var(--bad); font-size: 14.5px; font-weight: 600; margin: 0 0 10px; min-height: 0; }
.gt-err:empty { display: none; }

/* Order and ticket pages */
.gt-order { margin-top: -28px; position: relative; }
.gt-done { display: flex; gap: 16px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 1px 2px rgba(0,25,36,.05); }
.gt-done h2 { font-size: 22px; color: var(--navy); }
.gt-done p { margin: 4px 0 0; color: var(--ink-2); }
.gt-done__tick { width: 48px; height: 48px; border-radius: 50%; background: #E3F4EA; flex: none; position: relative; }
.gt-done__tick::after { content: ""; position: absolute; left: 17px; top: 12px; width: 12px; height: 20px; border: solid var(--ok); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.gt-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin: 22px 0 16px; }
.gt-ticket { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border-radius: var(--radius); padding: 20px 22px; border-left: 6px solid var(--ev-accent); box-shadow: 0 1px 2px rgba(0,25,36,.05); break-inside: avoid; }
.gt-ticket h3 { font-size: 19px; color: var(--navy); margin: 4px 0; }
.gt-ticket p { margin: 0; color: var(--ink-2); font-size: 14px; }
.gt-ticket code { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.gt-ticket .gt-eyebrow { color: var(--muted); margin: 0; font-size: 11.5px; }
.gt-ticket__qr { width: 132px; flex: none; }
.gt-ticket__qr svg { display: block; width: 100%; height: auto; }
.gt-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.gt-receipt h2 { font-family: var(--display); }
.gt-receipt table { width: 100%; }
.gt-wait { text-align: center; padding: 40px 24px; }
.gt-wait h2 { color: var(--navy); margin: 16px 0 8px; }
.gt-spin { display: inline-block; width: 42px; height: 42px; border-radius: 50%; border: 4px solid #E6EAED; border-top-color: var(--gold); animation: gtspin 1s linear infinite; }
@keyframes gtspin { to { transform: rotate(360deg); } }
.gt-scan { text-align: center; max-width: 520px; margin: 40px auto 0; padding: 36px 24px; }
.gt-scan h1 { font-size: 28px; margin: 16px 0 10px; }
.gt-scan.is-ok h1 { color: var(--ok); } .gt-scan.is-bad h1 { color: var(--bad); }
.gt-scan__mark { display: inline-block; width: 64px; height: 64px; border-radius: 50%; background: #E3F4EA; position: relative; }
.gt-scan.is-bad .gt-scan__mark { background: #FDECEA; }
.gt-scan.is-ok .gt-scan__mark::after { content: ""; position: absolute; left: 23px; top: 15px; width: 16px; height: 28px; border: solid var(--ok); border-width: 0 4px 4px 0; transform: rotate(45deg); }

@media (max-width: 960px) {
	.gt-ev { grid-template-columns: 1fr; gap: 20px; }
	.gt-panel { position: static; order: -1; }
	.gt-ev__main { order: 2; }
	.gt-about { padding: 24px 20px; }
}
@media (max-width: 600px) {
	.gt-wrap { padding: 0 16px; }
	.gt-top__in { height: 60px; }
	.gt-brand img { height: 38px; }
	.gt-nav a:last-child { display: none; }
	.gt-hero { padding: 40px 0 56px; }
	.gt-ev-hero.has-img { padding-top: 100px; }
	.gt-cards { grid-template-columns: 1fr; gap: 18px; }
	.gt-2 { grid-template-columns: 1fr; }
	.gt-box { padding: 20px 16px; }
	.gt-ticket { flex-direction: column; align-items: flex-start; }
	.gt-ticket__qr { width: 180px; align-self: center; }
	.gt-tickets { grid-template-columns: 1fr; }
	.gt-foot__in { flex-direction: column; }
}
@media print {
	.gt-top, .gt-foot, .gt-row, .gt-done, .gt-hero, .gt-receipt { display: none; }
	body.gt { background: #fff; }
	.gt-ticket { box-shadow: none; border: 1px solid #ccc; border-left-width: 6px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
