:root {
  --ink: #1f3145;
  --muted: #5c6d82;
  --navy: #193a55;
  --blue: #26567f;
  --sky: #49b0e4;
  --mist: #f3f6fb;
  --paper: #fffdf8;
  --line: rgba(31, 49, 69, 0.12);
  --gold: #fdf0c8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Consolas, monospace;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--navy) 0 6px, transparent 6px),
    var(--mist);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; }

a { color: var(--blue); }

::selection { background: var(--gold); color: #5d4900; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 246, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}

.mark span {
  width: 16px;
  height: 12px;
  border-top: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  position: relative;
}

.mark span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 5px;
  top: 3px;
  border-top: 2px solid #fff;
}

.brand-name {
  display: block;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-product {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-button {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.nav-links a:hover { color: var(--blue); }

.nav-links .button { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
}

.button:hover { background: var(--navy); }

.button.ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(25, 58, 85, 0.25);
}

.button.ghost:hover { background: #fff; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 7vw, 84px) 0 32px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.12; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 5.4vw, 68px);
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

.lead {
  margin: 0 0 24px;
  max-width: 38rem;
  font-size: 19px;
  color: var(--muted);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
}

.register {
  background: var(--navy);
  color: #e7eef6;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 24px 50px rgba(25, 58, 85, 0.22);
}

.register-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 8px 12px;
}

.pill {
  background: #1f6b52;
  color: #e7fff5;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ticket {
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px 8px 12px 12px;
  padding: 18px 18px 14px;
  transform: rotate(-0.6deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.ticket-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(31, 49, 69, 0.25);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 5px 0;
}

.line span:last-child { font-variant-numeric: tabular-nums; }

.total {
  margin-top: 10px;
  background: #3a4552;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.section { padding: clamp(48px, 8vw, 88px) 0; scroll-margin-top: 84px; }

.section.tight { padding-top: 0; }

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 46px);
}

.section-lead {
  margin: 0 0 28px;
  max-width: 40rem;
  color: var(--muted);
}

.day {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.day article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  min-height: 160px;
}

.day strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}

.day h3 { margin: 0 0 8px; font-size: 24px; }

.day p { margin: 0; color: var(--muted); font-size: 15px; }

.spec {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.spec li {
  display: grid;
  grid-template-columns: 64px 180px 1fr;
  gap: 12px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.spec li:first-child { border-top: 0; }

.spec .num {
  font-family: var(--mono);
  color: var(--sky);
  font-size: 13px;
}

.spec h3 { margin: 0; font-size: 22px; }

.spec p { margin: 0; color: var(--muted); }

.band {
  background: var(--navy);
  color: #e7eef6;
}

.band h2 { color: #fff; }

.band .section-lead { color: #c5d3e2; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.steps article {
  border-top: 2px solid var(--sky);
  padding-top: 14px;
}

.steps h3 { margin: 0 0 8px; font-size: 26px; color: #fff; }

.steps p { margin: 0; color: #c5d3e2; }

.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.who ul { margin: 0; padding-left: 18px; }

.who li { margin: 8px 0; }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 36px);
}

.contact-card p { color: var(--muted); }

.mail {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
  text-decoration: none;
  word-break: break-word;
}

.mail:hover { color: var(--blue); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--muted); }

.prose { max-width: 42rem; padding-bottom: 48px; }

.prose h1 { font-size: clamp(36px, 5vw, 52px); margin-top: 28px; }

.prose h2 { font-size: 28px; margin-top: 28px; }

@media (max-width: 860px) {
  .nav-button { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 8vw 20px;
    background: #f3f6fb;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .nav-links { display: flex; }

  .hero,
  .day,
  .steps,
  .who,
  .spec li { grid-template-columns: 1fr; }

  .spec li { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticket { transform: none; }
}
