:root {
  --ink: #001847;
  --muted: #597079;
  --mint: #2970ff;
  --mint-dark: #175cd3;
  --paper: #ffffff;
  --line: #dce4df;
  --white: #fff;
  --radius: 14px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button,
.action {
  border: 0;
  background: var(--ink);
  color: white;
  padding: 13px 21px;
  border-radius: 50px;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 46px;
  transition:
    background 0.18s,
    transform 0.18s;
}
button:hover,
.action:hover {
  background: #164858;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
button.secondary {
  background: #e2ece7;
  color: var(--ink);
}
button.danger {
  background: #a33440;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mint-dark);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: var(--mint);
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  max-width: 1320px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 40px;
  gap: 28px;
}
.brand {
  display: flex;
  flex-shrink: 0;
}
.brand img {
  width: 190px;
  height: 46px;
}
.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav {
  margin-left: auto;
}
.main-nav button,
.text-button {
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  padding: 10px 12px;
}
.main-nav button:hover,
.text-button:hover {
  background: #e5eee8;
}
.main-nav button[aria-current="page"] {
  box-shadow: inset 0 -2px var(--mint-dark);
}
.small-button {
  font-size: 13px;
  padding: 10px 18px;
}
.pilot-notice {
  max-width: 1240px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  padding: 0 24px;
}
.pilot-notice a {
  margin-left: 10px;
  text-underline-offset: 4px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--mint-dark);
  flex-shrink: 0;
}
main {
  max-width: 1320px;
  padding: 0 40px 64px;
  margin: auto;
  min-height: 65vh;
}
body:not([data-view="events"]) main {
  padding-top: 36px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.04;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(23px, 2.4vw, 30px);
  letter-spacing: -0.5px;
  line-height: 1.15;
  font-weight: 650;
  margin-bottom: 18px;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
p {
  max-width: 72ch;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--mint-dark);
  margin-bottom: 15px;
}
.eyebrow.light {
  color: var(--mint);
}
.catalog-section {
  padding-top: 68px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.mode-label {
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid #b8ccc2;
  border-radius: 30px;
  padding: 7px 12px;
  color: var(--mint-dark);
  font-weight: 650;
}
.search-bar {
  display: grid;
  grid-template-columns: 1.7fr 1fr auto;
  gap: 20px;
  align-items: end;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  max-width: none;
  margin: 0 0 24px;
}
.search-bar label {
  margin: 0;
  gap: 4px;
}
.search-bar label > span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.search-bar input,
.search-bar select {
  border: 0;
  border-radius: 0;
  padding: 4px 0;
  background: transparent;
  min-height: 30px;
  font-size: 14px;
}
.search-bar button {
  border-radius: 12px;
  padding: 13px 24px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
}
.card h2 {
  font-size: 25px;
}
.event-card {
  overflow: hidden;
  padding: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin: 0;
  height: 100%;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px #0018470c;
}
.event-cover {
  position: relative;
  aspect-ratio: 1.4;
  overflow: hidden;
  background: #dce9e3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-cover > .cover-symbol {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.5;
}
.cover-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  border-radius: 30px;
  padding: 5px 10px;
}
.cover-category {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #001847d9;
  color: white;
  font-size: 10px;
  border-radius: 30px;
  padding: 5px 10px;
}
.event-info {
  padding: 22px;
}
.event-info h3 {
  min-height: 52px;
  margin: 10px 0 12px;
  font-size: 22px;
  letter-spacing: -0.7px;
}
.event-info .event-date {
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--mint-dark);
  font-weight: 650;
  margin: 0;
}
.event-info .event-location {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 20px;
}
.event-info .event-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.event-bottom .price {
  font-weight: 650;
  font-size: 16px;
}
.event-bottom button {
  font-size: 11px;
  padding: 8px 14px;
  min-height: 40px;
}
.event-organizer {
  background: #e6f0e9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 32px;
}
.event-organizer .plus {
  font-size: 44px;
  font-weight: 200;
  line-height: 1;
  color: var(--mint-dark);
  margin-bottom: 30px;
}
.event-organizer h3 {
  font-size: 30px;
  letter-spacing: -1px;
}
.event-organizer p {
  color: var(--muted);
  font-size: 13px;
}
.event-organizer button {
  align-self: start;
  margin-top: 14px;
}
.organizer-banner {
  margin-top: 72px;
  padding: 48px;
  background: var(--mint);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.organizer-banner p {
  font-size: 13px;
  margin-bottom: 0;
  max-width: 510px;
}
.organizer-banner .eyebrow {
  font-size: 9px;
  margin-bottom: 16px;
}
.organizer-banner .action {
  font-size: 12px;
  flex-shrink: 0;
}
.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  padding: 58px 0 6px;
}
.how-it-works > div {
  border-top: 1px solid #c3d2c9;
  padding-top: 22px;
}
.how-it-works span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--mint-dark);
  font-weight: 650;
}
.how-it-works h3 {
  margin: 12px 0;
}
.how-it-works p {
  font-size: 12px;
  color: var(--muted);
}
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px max(40px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.site-footer > div > img {
  width: 190px;
  height: auto;
}
.site-footer p {
  font-size: 13px;
  color: #bfd0d0;
  margin: 15px 0 8px;
}
.site-footer small {
  font-size: 11px;
  color: #a3bfc2;
}
.site-footer strong {
  display: block;
  font-size: 12px;
  margin: 6px 0 18px;
}
.site-footer button,
.site-footer a {
  display: block;
  background: transparent;
  text-align: left;
  padding: 4px 0;
  min-height: 32px;
  color: #bfd0d0;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #33515a;
  padding-top: 24px !important;
  font-size: 10px !important;
  max-width: none;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.tag {
  font-size: 11px;
  background: #e4f7ec;
  color: #075c45;
  padding: 5px 10px;
  border-radius: 20px;
}
.notice {
  background: #eef4df;
  border: 1px solid #d4dfbf;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  margin: 20px 0;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.row label {
  flex: 1;
  min-width: 180px;
}
label {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 550;
}
input,
select,
textarea {
  background: white;
  border: 1px solid #bdcdc6;
  padding: 12px 14px;
  border-radius: 10px;
  width: 100%;
  color: var(--ink);
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--mint-dark);
}
textarea {
  min-height: 110px;
}
form {
  max-width: 740px;
}
form button[type="submit"] {
  margin-top: 10px;
}
.qr {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}
.code {
  font: 12px/1.6 monospace;
  overflow-wrap: anywhere;
}
#message:not(:empty) {
  background: #e0f0e7;
  padding: 16px 20px;
  border-left: 3px solid var(--mint-dark);
  border-radius: 8px;
  margin: 20px 0;
  white-space: pre-wrap;
}
.ticket {
  border: 2px dashed #b1cfc3;
  border-radius: 16px;
  padding: 24px;
  background: white;
  margin: 16px 0;
}
.ticket.used {
  opacity: 0.65;
}
.metric {
  font-size: 36px;
  font-weight: 700;
}
details {
  margin: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
.empty-state {
  background: white;
  border: 1px dashed #adcbc0;
  border-radius: 20px;
  padding: 36px;
  grid-column: 1/-1;
}
.empty-state p {
  color: var(--muted);
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin: 30px 0;
  align-items: start;
}
.detail-cover {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 25px;
}
.detail-summary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 24px;
}
.detail-summary .price {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
}
.detail-summary p {
  font-size: 13px;
  color: var(--muted);
}
.demo-note {
  font-size: 12px;
  color: var(--mint-dark);
  margin-bottom: 20px;
}
.preview-title {
  font-size: clamp(32px, 4vw, 56px);
}
.organizer-intro {
  max-width: 760px;
}
.organizer-features {
  margin-top: 35px;
}
.back-link {
  margin: 0 0 24px;
}
.loading {
  color: var(--muted);
}
@media (max-width: 1050px) {
  .site-header {
    padding: 20px 24px;
    gap: 12px;
  }
  .brand img {
    width: 165px;
  }
  .main-nav {
    gap: 0;
  }
  .main-nav button {
    font-size: 12px;
  }
  .header-actions {
    gap: 4px;
  }
  main {
    padding: 0 24px 50px;
  }
  .organizer-banner {
    padding: 32px;
    display: block;
  }
  .organizer-banner button {
    margin-top: 25px;
  }
}
@media (max-width: 720px) {
  .site-header {
    padding: 18px 20px;
    flex-wrap: wrap;
  }
  .brand img {
    width: 158px;
    height: 39px;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .text-button {
    display: none;
  }
  .small-button {
    font-size: 11px;
    min-height: 40px;
  }
  .main-nav {
    order: 3;
    margin: 0;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .main-nav button {
    padding: 6px 0;
    min-height: 36px;
  }
  .pilot-notice {
    align-items: flex-start;
    font-size: 10px;
    line-height: 1.5;
    text-align: left;
    justify-content: flex-start;
    padding: 0 20px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .status-dot {
    margin-top: 5px;
  }
  .pilot-notice a {
    margin-left: 13px;
  }
  .catalog-section {
    padding-top: 45px;
  }
  .section-heading {
    align-items: start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .mode-label {
    font-size: 9px;
  }
  .search-bar {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 16px;
  }
  .search-bar label:not(:first-child) {
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .search-bar button {
    margin-top: 0;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .event-cover {
    aspect-ratio: 1.45;
  }
  .event-organizer {
    min-height: 260px;
  }
  .event-info h3 {
    min-height: 0;
  }
  .organizer-banner {
    margin-top: 45px;
    padding: 28px;
  }
  .organizer-banner h2 {
    font-size: 30px;
  }
  .how-it-works {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 35px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 35px 24px;
    gap: 28px;
  }
  .site-footer > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer > div > img {
    width: 170px;
  }
  .site-footer strong {
    font-size: 11px;
  }
  .site-footer button,
  .site-footer a {
    font-size: 11px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-summary {
    position: static;
  }
  .card {
    padding: 22px;
  }
  .event-card {
    padding: 0;
  }
  main {
    padding: 0 20px 40px;
  }
  h1 {
    letter-spacing: -1.3px;
  }
  .row {
    align-items: stretch;
  }
  .row > * {
    flex-grow: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Discovery typography: compact headings, generous images and quiet metadata. */
body {
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.site-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand img {
  width: 190px;
  object-fit: contain;
}
.discovery-intro {
  padding: 28px 0 8px;
}
.city-label {
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.discovery-intro h1 {
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.discovery-intro > p:last-child {
  color: var(--muted);
  font-size: 16px;
}
.catalog-section {
  padding-top: 14px;
}
.search-bar {
  border-radius: 40px;
  padding: 12px 16px 12px 26px;
  gap: 24px;
  box-shadow: 0 3px 14px #00184708;
}
.search-bar button {
  border-radius: 28px;
  margin-top: 0 !important;
  background: var(--mint);
  color: var(--ink);
}
.search-bar label > span {
  font-size: 11px;
  letter-spacing: 0;
}
.search-bar label:nth-child(2) {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.discovery-benefits {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 24px;
  margin: 24px 0 36px;
}
.discovery-benefits span:first-child {
  color: var(--mint-dark);
}
.section-heading {
  margin-bottom: 12px;
}
.section-heading .eyebrow {
  display: none;
}
.section-heading h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
}
.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.event-card {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}
.event-cover {
  aspect-ratio: 0.92;
  border-radius: 14px;
}
.event-cover > img {
  transition: transform 0.25s;
}
.event-card:hover .event-cover > img {
  transform: scale(1.025);
}
.event-info {
  padding: 17px 0 0;
}
.event-info h3 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin: 7px 0;
  min-height: 0;
}
.event-info .event-date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}
.event-info .event-location {
  font-size: 13px;
  margin: 7px 0 12px;
}
.event-info .event-bottom {
  border-top: 0;
  padding-top: 0;
}
.event-bottom .price {
  font-size: 17px;
  font-weight: 650;
}
.event-bottom button {
  background: #edf6f2;
  color: var(--ink);
  font-size: 12px;
}
.cover-tag {
  border-radius: 5px;
  background: var(--mint);
  top: 14px;
  left: 14px;
}
.organizer-banner {
  margin-top: 56px;
  padding: 34px;
  background: #edf6f2;
  border-radius: 16px;
}
.organizer-banner h2 {
  font-size: 28px;
}
.preview-title {
  font-size: clamp(28px, 4vw, 40px);
}
@media (max-width: 1050px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .discovery-intro {
    padding-top: 18px;
  }
  .discovery-intro h1 {
    font-size: 29px;
    letter-spacing: -0.6px;
  }
  .discovery-intro > p:last-child {
    font-size: 14px;
  }
  .search-bar {
    border-radius: 20px;
    padding: 16px;
    gap: 12px;
  }
  .search-bar label:nth-child(2) {
    border-left: 0;
    padding-left: 0;
  }
  .discovery-benefits {
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 28px;
    font-size: 11px;
  }
  .discovery-benefits span:last-child {
    display: none;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .event-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .event-cover {
    aspect-ratio: 1.12;
  }
  .event-info h3 {
    font-size: 19px;
  }
  .organizer-banner h2 {
    font-size: 25px;
  }
}

/* Vertical ticket brand: preserve the full silhouette at every size. */
.site-header .brand img {
  width: 60px;
  height: 123px;
  object-fit: contain;
}
.site-header {
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-footer > div > img {
  width: 90px;
  height: auto;
}
@media (max-width: 720px) {
  .site-header .brand img {
    width: 49px;
    height: 100px;
  }
}

.issued-ticket {
  max-width: 400px;
  padding: 0 28px 38px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(#001847, #001847) center bottom / 100%
    calc(100% - 270px) no-repeat;
  color: #f3f5ef;
  text-align: center;
  overflow: hidden;
}
.issued-brand {
  display: block;
  width: calc(100% + 56px);
  margin-left: -28px;
  aspect-ratio: 400 / 480;
  object-fit: cover;
  object-position: top;
}
.issued-ticket h2 {
  font-size: 23px;
  line-height: 1.35;
}
.issued-ticket h3 {
  color: #2970ff;
  font-size: 16px;
}
.issued-ticket p {
  font-size: 13px;
}
.issued-ticket .qr {
  width: 220px;
  margin: 22px auto 14px;
  border-radius: 8px;
}
.issued-ticket .code {
  font-size: 10px;
  color: #bdd2d0;
}
.issued-ticket a {
  background: #2970ff;
  color: #001847;
}
@media print {
  body * {
    visibility: hidden;
  }
  .issued-ticket,
  .issued-ticket * {
    visibility: visible;
  }
  .issued-ticket {
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .issued-ticket a {
    display: none;
  }
  .site-header,
  .site-footer,
  .pilot-notice,
  .print-tickets {
    display: none;
  }
}

.first-event {
  background: #edf6f2;
  padding: 26px;
  border-radius: 18px;
  margin: 20px 0;
}
.first-event h2 {
  margin-bottom: 12px;
}
.first-event h2 span {
  display: block;
  color: #175cd3;
  font-size: 18px;
  margin-top: 6px;
}
.first-event p:last-child {
  margin-bottom: 0;
}
.scanner-video {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  display: block;
  margin-top: 20px;
}
@media print {
  .issued-ticket {
    background: #001847;
  }
}

.issued-ticket {
  background: transparent;
  padding: 0 0 20px;
  color: var(--ink);
}
.ticket-art {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}
.issued-ticket .action {
  margin-bottom: 14px;
}
@media print {
  #content > :not(.issued-ticket),
  #message {
    display: none;
  }
  .issued-ticket > :not(.ticket-art) {
    display: none;
  }
  main,
  #content {
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .issued-ticket {
    width: 90mm;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    background: none;
    break-after: page;
  }
  .issued-ticket:last-of-type {
    break-after: auto;
  }
  .ticket-art {
    width: 100%;
    max-height: 270mm;
    object-fit: contain;
    margin: 0;
  }
}

/* Eventora, adapted to SharkPass: shared typography and discovery components. */
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope/Manrope_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope/Manrope_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope/Manrope_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope/Manrope_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #f4f7fa;
  --muted: #a4afb9;
  --paper: #0b141b;
  --line: #2a3542;
  --mint-dark: #2970ff;
  --surface: #14212b;
  --brand: #001847;
  color-scheme: dark;
}
body {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  background: var(--paper);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
button,
.action {
  background: var(--mint);
  color: var(--brand);
  font-weight: 600;
}
button:hover,
.action:hover {
  background: #a1efda;
}
button.secondary,
.event-bottom button {
  background: #203642;
  color: var(--mint);
}
button.danger {
  background: #a33440;
  color: white;
}
.main-nav button,
.text-button {
  color: var(--ink);
  background: transparent;
}
.main-nav button:hover,
.text-button:hover {
  background: var(--surface);
}
.site-header {
  max-width: 1200px;
  padding: 18px 28px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.site-header .brand img {
  width: 44px;
  height: 90px;
  object-fit: contain;
}
.pilot-notice {
  padding: 14px 20px 0;
  margin-bottom: 0;
  max-width: 1120px;
}
main {
  max-width: 1180px;
  padding: 0 28px 64px;
}
h1 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}
.discovery-intro {
  padding: 26px 0 18px;
}
.discovery-intro h1 {
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 5px;
}
.discovery-intro > p:last-child {
  font-size: 14px;
  margin-bottom: 0;
}
.city-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-bottom: 8px;
  color: var(--muted);
}
.search-bar {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 28px;
  padding: 5px 6px 5px 16px;
  gap: 14px;
  max-width: none;
  margin: 0 0 22px;
}
.search-bar label {
  margin: 0;
}
.search-bar .search-query {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.search-query img {
  flex: none;
}
.search-bar input,
.search-bar select {
  background: transparent;
  border: 0;
  padding: 8px 0;
  min-height: 36px;
  font-size: 13px;
}
.search-bar input {
  min-width: 0;
}
.search-bar label:nth-child(2) {
  padding-left: 14px;
  max-width: 230px;
}
.search-bar button {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 13px;
  background: var(--mint);
  color: var(--brand);
}
.first-event {
  background: linear-gradient(120deg, #142d3a, #10212b);
  border: 1px solid #2d4a55;
  padding: 22px 24px;
  border-radius: 16px;
  margin: 0 0 28px;
}
.first-event .eyebrow {
  color: var(--mint);
  font-size: 10px;
  margin-bottom: 8px;
}
.first-event h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.first-event h2 span {
  display: inline;
  font-size: inherit;
  color: var(--mint);
}
.first-event p {
  font-size: 13px;
  margin-bottom: 6px;
}
.discovery-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.catalog-section {
  padding-top: 0;
  min-width: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: 18px;
  color: #ced2e6;
  margin: 0;
}
.mode-label {
  font-size: 10px;
  color: var(--muted);
}
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 10px;
}
.category-tab {
  flex: none;
  min-height: 34px;
  padding: 5px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}
.category-tab[aria-pressed="true"] {
  background: var(--mint);
  color: var(--brand);
  border-color: var(--mint);
}
#result-count {
  font-size: 11px;
  margin-bottom: 12px;
}
.event-grid {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 12px;
  align-items: stretch;
}
.card,
.empty-state,
.detail-summary,
.ticket,
.notice {
  background: var(--surface);
  border-color: var(--line);
}
.event-card {
  flex: 0 0 231px;
  padding: 8px;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
}
.event-cover {
  width: 215px;
  height: 160px;
  aspect-ratio: auto;
  border-radius: 10px;
  background: var(--brand);
}
.event-cover > .cover-symbol {
  width: 48px;
  height: 100px;
  opacity: 0.7;
}
.cover-tag {
  left: 8px;
  top: 8px;
  font-size: 9px;
  padding: 4px 7px;
  background: #0b141be0;
  color: white;
}
.cover-category {
  right: 8px;
  bottom: 8px;
  background: #0b141be0;
  font-size: 9px;
  padding: 4px 7px;
}
.event-info {
  padding: 10px 0 2px;
}
.event-info h3 {
  font-size: 16px;
  line-height: 23px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 5px 0;
}
.event-info .event-date {
  font-size: 10px;
  color: var(--mint);
  line-height: 17px;
}
.event-info .event-location {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 18px;
  margin: 6px 0 10px;
}
.event-location img {
  flex: none;
}
.event-info .event-bottom {
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0;
}
.event-bottom .price {
  font-size: 12px;
}
.event-bottom button {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 8px;
}
.upcoming-list {
  display: grid;
  gap: 14px;
}
.compact-event {
  display: grid;
  grid-template-columns: 36px 100px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  padding: 0;
  flex-basis: auto;
  background: #101b24;
}
.event-stamp {
  background: var(--mint);
  color: var(--brand);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}
.event-stamp span {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
}
.event-stamp small {
  background: var(--brand);
  color: var(--mint);
  padding: 9px 0 22px;
  font-size: 12px;
}
.compact-event .event-cover {
  width: 100px;
  height: 100%;
  min-height: 130px;
  border-radius: 14px 0 0 14px;
}
.compact-event .event-info {
  padding: 10px 10px 10px 0;
}
.compact-event .event-info h3 {
  margin-top: 0;
  font-size: 17px;
}
.compact-event .event-date,
.compact-event .cover-category {
  display: none;
}
.compact-event .cover-tag {
  font-size: 7px;
  left: 4px;
  top: 4px;
}
.compact-event .event-location {
  margin-bottom: 6px;
  font-size: 11px;
}
.organizer-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  margin-top: 36px;
}
.organizer-banner h2 {
  font-size: 24px;
}
.organizer-banner p {
  color: var(--muted);
}
.organizer-banner .eyebrow {
  color: var(--mint);
}
.how-it-works {
  gap: 26px;
  padding-top: 34px;
}
.how-it-works > div {
  border-color: var(--line);
}
.site-footer {
  background: #09212d;
  color: #f4f7fa;
}
input,
select,
textarea {
  background: #101b24;
  color: var(--ink);
  border-color: var(--line);
}
#message:not(:empty) {
  background: #17312d;
}
.empty-state {
  flex: 1 0 100%;
  padding: 24px;
}
.tag {
  background: #183c34;
  color: var(--mint);
}
.detail-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 28px;
}
.detail-cover {
  height: 340px;
  aspect-ratio: auto;
  border-radius: 16px;
}
.detail-layout h2 {
  font-size: 18px;
  margin-bottom: 12px;
}
.detail-summary {
  border-radius: 16px;
  padding: 24px;
}
.detail-summary .price {
  font-size: 24px;
}
body[data-view="detail"] .page-heading h1 {
  font-size: 24px;
}
@media (max-width: 850px) {
  .discovery-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .main-nav {
    display: none;
  }
  .organizer-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  main {
    padding: 0 20px 40px;
  }
  .site-header {
    padding: 14px 20px;
    gap: 12px;
  }
  .site-header .brand img {
    width: 36px;
    height: 74px;
  }
  .header-actions {
    margin-left: auto;
    gap: 4px;
  }
  .header-actions button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .pilot-notice {
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 10px;
    gap: 6px;
    padding-top: 10px;
  }
  .discovery-intro h1 {
    font-size: 20px;
    letter-spacing: -0.3px;
  }
  .discovery-intro {
    padding-top: 20px;
  }
  .search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px 8px 6px 12px;
    gap: 4px;
    border-radius: 24px;
  }
  .search-bar label:nth-child(2) {
    display: none;
  }
  .search-bar button {
    padding: 6px 12px;
  }
  .search-bar input {
    font-size: 12px;
  }
  .first-event {
    padding: 18px;
    margin-bottom: 24px;
  }
  .first-event h2 {
    font-size: 18px;
  }
  .first-event h2 span {
    display: block;
    margin-top: 0;
  }
  .first-event p {
    font-size: 11px;
    line-height: 1.65;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .event-grid {
    gap: 16px;
  }
  .compact-event {
    grid-template-columns: 36px 88px minmax(0, 1fr);
  }
  .compact-event .event-cover {
    width: 88px;
  }
  .compact-event .event-info h3 {
    font-size: 15px;
    line-height: 21px;
  }
  .detail-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .detail-layout > section,
  .detail-summary {
    width: 100%;
    min-width: 0;
  }
  .detail-summary {
    position: static;
  }
  .detail-cover {
    margin: 0 0 16px;
    height: 340px;
  }
  .organizer-banner {
    padding: 22px;
  }
  .how-it-works {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.detail-hero {
  position: relative;
  margin-bottom: 16px;
}
.detail-hero .detail-cover {
  display: block;
  margin-bottom: 0;
}
.detail-hero .back-link {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #0b141be8;
  color: white;
  font-size: 11px;
  padding: 8px 12px;
}
.detail-hero-label {
  position: absolute;
  top: 20px;
  right: 16px;
  background: #0b141bd9;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 600;
  font-size: 12px;
}
.detail-layout > section > h1 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .detail-hero .back-link {
    top: 12px;
    left: 12px;
    font-size: 10px;
  }
  .detail-hero-label {
    top: 16px;
    right: 12px;
    font-size: 10px;
  }
}
.mobile-nav {
  display: none;
}
@media (max-width: 600px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0b141bf5;
    border-top: 1px solid var(--line);
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
    backdrop-filter: blur(14px);
  }
  .mobile-nav button {
    background: transparent;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    border-radius: 8px;
    padding: 4px;
    min-height: 50px;
    font-size: 11px;
  }
  .mobile-nav button[aria-current="page"] {
    color: var(--mint);
    background: #15292d;
  }
  .mobile-nav img {
    object-fit: contain;
  }
}
@media print {
  .mobile-nav {
    display: none;
  }
}
.detail-hero .back-link {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 8px;
  border-radius: 50%;
}
