:root {
  --bg: #e7d9da;
  --bg-soft: #f3e9ea;
  --ink: #12151f;
  --ink-muted: #3a3540;
  --accent: #bd102d;
  --accent-2: #883240;
  --surface: #ffffff;
  --surface-dark: #1b1620;
  --surface-mid: #2a1f24;
  --line: rgba(18, 21, 31, 0.14);
  --shadow: 0 18px 40px rgba(18, 21, 31, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 2000;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(231, 217, 218, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .material-icons {
  color: var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--ink);
}

.disclaimer-strip {
  background: var(--surface-mid);
  color: #f4eef0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.1rem;
}

main {
  overflow-x: hidden;
}

.hero {
  position: relative;
  color: #f7f1f2;
  min-height: clamp(420px, 62vh, 640px);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(18, 21, 31, 0.78), rgba(66, 12, 26, 0.55)),
    url("../image/picture.jpg");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(189, 16, 45, 0.25), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(136, 50, 64, 0.35), transparent 50%);
  z-index: -1;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem 1.1rem 2.8rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.hero-copy {
  grid-column: span 7;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.05rem;
  max-width: 46ch;
  color: #efe6e8;
}

.hero-cards {
  grid-column: span 5;
  display: grid;
  gap: 0.75rem;
}

.hero-card {
  background: rgba(18, 21, 31, 0.55);
  border: 1px solid rgba(231, 217, 218, 0.22);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  cursor: default;
}

.hero-card .material-icons {
  color: #fbe9ec;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 217, 218, 0.55);
  background: rgba(18, 21, 31, 0.72);
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #9e0d26;
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-dark {
  background: var(--surface-mid);
  color: #fff;
}

.btn-dark:hover {
  background: #120f16;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.section {
  padding: clamp(2.2rem, 5vw, 3.6rem) 1.1rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.section h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.section--muted {
  background: var(--bg-soft);
  color: var(--ink);
}

.section--contrast {
  background: var(--surface-mid);
  color: #f4eef0;
}

.section--contrast a {
  color: #ffd7de;
}

.section--contrast a:hover {
  color: #fff;
}

.section--contrast .section-kicker {
  color: #f1b6c2;
}

.section--accent {
  background: #883240;
  color: #fff7f8;
}

.section--accent a {
  color: #ffe3e8;
}

.section--accent .material-icons {
  color: #fff;
}

.section--lightboard {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.split__text {
  grid-column: span 7;
}

.split__media {
  grid-column: span 5;
}

.figure {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.figure figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: var(--surface);
}

.section--contrast .figure figcaption {
  background: #241c24;
  color: #e9dfe2;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.55);
}

.section--contrast .pill-list li {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.icon-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem;
}

.section--muted .icon-tile,
.section--lightboard .icon-tile {
  background: #fff;
  border-color: var(--line);
}

.icon-tile .material-icons {
  color: var(--accent);
}

.section--contrast .icon-tile .material-icons,
.section--accent .icon-tile .material-icons {
  color: #fff;
}

.timeline {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(189, 16, 45, 0.45);
}

.timeline li {
  padding: 0.75rem 0 0.75rem 1.1rem;
  position: relative;
}

.timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: -6px;
  top: 1rem;
}

.checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 0.55rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
}

.checklist .material-icons {
  color: var(--accent-2);
  font-size: 1.35rem;
}

.section--contrast .checklist .material-icons {
  color: #ffd0d8;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
  background: #fff;
}

.section--contrast .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f7f0f2;
}

.note-box {
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1rem;
  background: rgba(189, 16, 45, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1rem;
}

.section--contrast .note-box {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #ffb3c0;
}

.columns-2 {
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 720px) {
  .columns-2 {
    columns: 1;
  }

  .split__text,
  .split__media {
    grid-column: span 12;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }
}

table.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

table.schedule th,
table.schedule td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

table.schedule th {
  background: var(--surface-mid);
  color: #fff;
}

.section--contrast table.schedule th {
  background: rgba(0, 0, 0, 0.35);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: #fff;
  margin-bottom: 0.65rem;
}

.section--contrast .faq details {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f7f0f2;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.site-footer {
  background: #120f16;
  color: #ffffff;
  padding: 2rem 1.1rem;
}

.site-footer a {
  color: #ffffff;
}

.site-footer strong {
  color: #ffffff;
}

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.55;
}

.footer-legal a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.footer-meta {
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: #ffffff;
  opacity: 0.9;
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #0f0c12;
  color: #f4eef0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.35);
  padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-bar .btn {
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 8, 12, 0.65);
}

.cookie-dialog {
  width: min(640px, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
  max-height: min(90vh, 720px);
  overflow: auto;
}

.cookie-dialog h2 {
  margin-top: 0;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #c9c2c6;
  border-radius: 999px;
  transition: 0.2s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: var(--accent-2);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.switch input:disabled + .slider {
  opacity: 0.55;
  cursor: not-allowed;
}

.form {
  display: grid;
  gap: 0.85rem;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.9rem;
}

.map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: clamp(260px, 45vw, 420px);
  border: 0;
  display: block;
}

.legal-page h2 {
  margin-top: 2rem;
}

.legal-page code {
  font-size: 0.9em;
  background: rgba(18, 21, 31, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.success-panel {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.success-card {
  max-width: 640px;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.35rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: min(92vw, 280px);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding-inline: 0.75rem;
  }

  .section {
    padding-inline: 0.75rem;
  }

  .hero-inner {
    padding-inline: 0.75rem;
  }

  .btn {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
