@import url("/static/css/tokens.css");

.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 13px; box-shadow: 0 8px 22px rgba(33,31,29,.14); }
.brand small { display: block; color: var(--muted); font-weight: 500; letter-spacing: .06em; }
.nav-links { display: flex; gap: 7px; align-items: center; }
.nav-links a { padding: 9px 13px; border-radius: 999px; color: var(--muted); text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.nav-links a:hover { background: rgba(255,255,255,.55); color: var(--ink); transform: translateY(-1px); }
.nav-links .nav-cta { background: var(--ink); color: #fffaf4; padding-inline: 17px; }

.hero { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(28px, 5vw, 76px); align-items: center; min-height: 650px; padding: 44px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 12% 35% auto -10%; height: 260px; background: rgba(255,255,255,.31); filter: blur(34px); border-radius: 50%; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { max-width: 520px; margin: 18px 0 18px; font-family: var(--serif); font-size: clamp(3.2rem, 8vw, 6.6rem); font-weight: 700; letter-spacing: -.085em; line-height: .98; }
.hero h1 em { display: block; color: var(--red); font-style: normal; }
.hero-lede { max-width: 450px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; cursor: pointer; font-weight: 750; transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease); }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 22px rgba(33,31,29,.12); }
.button-primary { background: var(--red); color: #fff; }
.button-secondary { background: rgba(255,255,255,.44); border-color: var(--line); }
.button-quiet { background: transparent; border-color: var(--line); }
.hero-art { position: relative; min-height: 520px; }
.hero-art::before { content: ""; position: absolute; inset: 10% 2% 2% 7%; border-radius: 46% 54% 44% 56% / 38% 46% 54% 62%; background: linear-gradient(135deg, rgba(43,114,201,.27), rgba(158,61,66,.2)); transform: rotate(4deg); }
.hero-art img { position: relative; width: 100%; height: 520px; object-fit: cover; border-radius: 28px 28px 90px 28px; box-shadow: var(--shadow-soft); transform: rotate(2.2deg); transition: transform .8s var(--ease); }
.hero-art:hover img { transform: rotate(0) scale(1.015); }
.hero-badge { position: absolute; right: -17px; bottom: 26px; z-index: 2; width: 145px; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,250,244,.8); backdrop-filter: blur(14px); box-shadow: var(--shadow-card); color: var(--red-deep); font-family: var(--serif); font-size: 1.08rem; text-align: center; line-height: 1.3; transform: rotate(-8deg); }

.section { padding: 72px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-kicker { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.section h2 { margin: 7px 0 0; font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.07em; line-height: 1.08; }
.muted { color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { min-height: 152px; padding: 21px; border: 1px solid rgba(33,31,29,.08); border-radius: var(--radius-lg); background: var(--paper-white); box-shadow: var(--shadow-card); }
.info-card:nth-child(2) { transform: translateY(16px); }
.info-card:nth-child(3) { background: rgba(43,114,201,.09); }
.info-card:nth-child(4) { background: rgba(89,125,92,.1); }
.info-card .label { color: var(--muted); font-size: .75rem; letter-spacing: .12em; }
.info-card strong { display: block; margin-top: 9px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }

.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.glass-card { padding: clamp(24px, 4vw, 42px); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-xl); background: rgba(255,252,246,.65); backdrop-filter: blur(18px); box-shadow: var(--shadow-card); }
.story-copy { min-height: 340px; }
.story-copy p { max-width: 650px; color: var(--muted); font-size: 1.04rem; white-space: pre-line; }
.notice-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--red-deep); color: #fff8ed; }
.notice-card .section-kicker { color: #f3bd78; }
.notice-card p { color: rgba(255,248,237,.78); }
.group-list { display: grid; gap: 10px; margin-top: 22px; }
.group-list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; color: #fff8ed; text-decoration: none; }
.group-list a span:last-child { opacity: .72; font-size: .78rem; }

.form-shell { max-width: 750px; margin: 42px auto 80px; }
.page-intro { padding: 34px 0 16px; }
.page-intro h1 { margin: 9px 0; font-family: var(--serif); font-size: clamp(2.5rem, 7vw, 4.6rem); letter-spacing: -.08em; line-height: 1; }
.form-card { padding: clamp(22px, 5vw, 48px); border: 1px solid rgba(255,255,255,.78); border-radius: var(--radius-xl); background: rgba(255,252,246,.78); box-shadow: var(--shadow-soft); }
.form-field { display: grid; gap: 8px; margin-bottom: 21px; }
.form-field label { font-weight: 750; }
.form-field label span { color: var(--red); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(33,31,29,.17); border-radius: 13px; background: rgba(255,255,255,.68); color: var(--ink); transition: border .2s, box-shadow .2s; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(43,114,201,.12); }
.form-hint { color: var(--muted); font-size: .88rem; }
.form-error, .toast-error { color: #8b2635; }
.form-success { padding: 13px 15px; border-radius: 13px; background: rgba(89,125,92,.13); color: #315e37; }
.loading { color: var(--muted); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

.ticket-card { text-align: center; }
.ticket-qr { width: min(280px, 72vw); aspect-ratio: 1; margin: 28px auto 18px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 18px 36px rgba(33,31,29,.12); }
.ticket-qr img { display: block; width: 100%; height: 100%; }
.ticket-name { font-family: var(--serif); font-size: 2rem; color: var(--red-deep); }
.ticket-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0; text-align: left; }
.ticket-meta div { padding: 12px; border-radius: 13px; background: rgba(43,114,201,.08); }
.ticket-meta small { display: block; color: var(--muted); }

.empty-state { padding: 60px 24px; border: 1px dashed rgba(33,31,29,.2); border-radius: var(--radius-lg); text-align: center; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 38px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .site-shell { width: min(100% - 28px, 680px); }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 28px; }
  .hero-art { min-height: 360px; }
  .hero-art img { height: 360px; }
  .hero-badge { right: 4px; bottom: 8px; width: 112px; font-size: .9rem; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .info-card:nth-child(2) { transform: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 3.45rem; }
  .info-grid { gap: 9px; }
  .info-card { min-height: 130px; padding: 16px; }
  .info-card strong { font-size: 1.12rem; }
  .section { padding: 52px 0; }
  .section-heading { display: block; }
  .site-footer { display: block; }
  .site-footer > * { margin-top: 10px; }
}

