:root {
  --ink: #07061c;
  --paper: #f3eee2;
  --yellow: #ffbd0c;
  --blue: #cbe8f0;
  --red: #d94a38;
  --muted: #ada9b9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; }
main { min-height: 100vh; }

a:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.section-shell,
.site-nav,
.hero {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.site-nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: clamp(190px, 22vw, 310px);
  display: block;
  line-height: 0;
  text-decoration: none;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.home-link,
.nav-cta {
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-link { color: var(--yellow); }
.home-link:hover { text-decoration: underline; }

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 2px solid var(--yellow);
  border-radius: 999px;
}

.nav-cta:hover { background: var(--yellow); color: var(--ink); }

.hero {
  min-height: calc(100svh - 116px);
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(430px, 1.05fr);
  gap: 22px;
}

.hero-poster,
.map-card {
  position: relative;
  overflow: hidden;
}

.hero-poster {
  min-height: 0;
  aspect-ratio: 4 / 5;
  align-self: center;
  border-radius: 26px;
  background: var(--ink);
}

.hero-poster img { object-fit: contain; }

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 26px;
  padding: clamp(38px, 5vw, 74px);
  background: var(--yellow);
  color: var(--ink);
}

@media (min-width: 901px) {
  .hero-copy { margin-block: clamp(24px, 1.8vw, 52px); }
}

.eyebrow,
.section-kicker,
.card-label {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 22px; }

h1,
h2,
h3,
p { overflow-wrap: break-word; }

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(4rem, 7.6vw, 8rem);
  font-weight: 950;
  letter-spacing: -.085em;
  line-height: .79;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 690px;
  margin: 34px 0;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.45;
}

.event-facts {
  margin: 0 0 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.event-facts div {
  padding-top: 12px;
  border-top: 3px solid var(--ink);
}

.event-facts dt {
  margin-bottom: 7px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 900;
}

.primary-button,
.form-button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  align-self: flex-start;
  padding: 17px 24px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-button:hover { background: var(--red); }

.intro-section {
  padding: 90px 0 54px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(50px, 9vw, 150px);
  border-top: 1px solid #393746;
}

.section-kicker { margin: 0 0 24px; color: var(--yellow); }

.chapter-heading h2,
.route-copy > h2,
.plans-heading h2,
.registration h2 {
  margin: 0;
  font-size: clamp(3.3rem, 6.3vw, 6.7rem);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .84;
  text-transform: uppercase;
}

.intro-copy {
  max-width: 710px;
  align-self: end;
  padding-bottom: 8px;
}

.lead {
  margin: 0 0 28px;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.35;
}

.text-link {
  display: inline-block;
  color: var(--yellow);
  font-weight: 900;
  text-underline-offset: 4px;
}

.schedule {
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.schedule-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
}

.schedule-card:nth-child(2) { background: var(--blue); }
.schedule-card:nth-child(3) { background: var(--yellow); }
.card-label { margin: 0; }

.schedule-card h3,
.category-grid h3 {
  margin: auto 0 16px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .9;
  text-transform: uppercase;
}

.schedule-card > p:last-child,
.category-grid article > p:last-child {
  margin: 0;
  font-size: .98rem;
  line-height: 1.45;
}

.route-visual {
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.route-copy {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 58px);
  border-radius: 24px;
  background: var(--red);
}

.route-copy .section-kicker { color: var(--ink); }

.category-grid {
  margin-top: clamp(44px, 4.5vw, 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.category-grid article {
  min-height: 226px;
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 3px solid var(--ink);
}

.category-grid .card-label { font-size: .6rem; }
.category-grid h3 { margin: clamp(28px, 3vw, 46px) 0 10px; }

.map-card {
  min-height: 650px;
  border-radius: 24px;
  background: #aa601e;
}

.map-card img { object-fit: contain; }

@media (min-width: 1051px) {
  .route-visual {
    grid-template-columns: minmax(420px, .72fr) minmax(0, 1.28fr);
  }

  .route-copy {
    min-height: 0;
    padding: clamp(28px, 3vw, 44px);
  }

  .route-copy > h2 {
    font-size: clamp(3.15rem, 3.8vw, 4.5rem);
  }

  .category-grid {
    margin-top: 28px;
  }

  .category-grid article {
    min-height: 160px;
  }

  .category-grid h3 {
    margin: 22px 0 10px;
  }

  .map-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

.details-section {
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(46px, 8vw, 130px);
}

.chapter-heading.compact h2 { font-size: clamp(3.1rem, 5vw, 5rem); }

.detail-list article {
  min-height: 126px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #494755;
}

.detail-list article > span {
  color: var(--yellow);
  font-size: .74rem;
  font-weight: 900;
}

.detail-list h3 { margin: 0 0 8px; font-size: 1.25rem; text-transform: uppercase; }
.detail-list p { max-width: 620px; margin: 0; color: #c9c5ce; line-height: 1.5; }

.included {
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 8vw, 140px);
}

.included .chapter-heading > p:last-child {
  max-width: 390px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.2rem;
}

.included-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  min-height: 62px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #494755;
  font-size: 1.03rem;
}

.included-list li:first-child { border-top: 1px solid #494755; }
.included-list span { color: var(--yellow); font-size: .7rem; font-weight: 900; }

.plans-section {
  padding: 100px 0;
  background: var(--paper);
  color: var(--ink);
}

.plans-section .section-kicker { color: var(--red); }
.plans-heading { margin-bottom: 56px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: white;
}

.plan-card.featured { background: var(--yellow); }
.plan-marker { margin: 0; font-size: .72rem; font-weight: 900; }

.plan-card h3 {
  max-width: 330px;
  margin: 34px 0 10px;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .88;
  text-transform: uppercase;
}

.featured-plan-title {
  width: min(100%, 270px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-plan-title img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-plan-title span { display: block; }

@media (min-width: 901px) {
  .plan-card:not(.featured) h3 { white-space: nowrap; }
}

.price { margin: 0; font-size: 2.15rem; font-weight: 950; }

.plan-copy {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-size: .88rem;
  line-height: 1.42;
}

.registration {
  margin: 56px 0 0;
  display: flex;
  justify-content: center;
}

.form-button.registration-link {
  justify-content: center;
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.form-button.registration-link:hover,
.form-button.registration-link:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
}

.closing-button {
  width: min(780px, 100%);
  min-height: 132px;
  flex-direction: column;
  gap: 7px;
  padding: 28px 32px;
  border-radius: 18px;
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  letter-spacing: -.035em;
  line-height: .95;
  text-align: center;
}

.plans-section .registration { margin-bottom: 0; }

.closing {
  width: min(780px, calc(100% - 40px));
  margin-bottom: 80px;
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--red);
  text-align: center;
}

.closing p {
  margin: 0 auto;
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .95;
  text-transform: uppercase;
}

.footer {
  min-height: 270px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid #3c3a48;
}

.footer-brand { width: clamp(240px, 28vw, 400px); }
.footer > div { display: flex; flex-direction: column; gap: 8px; }
.footer > div p { margin: 0 0 5px; color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.footer > div a { width: fit-content; color: white; text-underline-offset: 4px; }
.instagram-link { display: inline-flex; align-items: center; gap: 9px; }
.instagram-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 5px;
}
.footer-home {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-tomoto-logo {
  width: 112px;
  height: auto;
}
.mobile-cta { display: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(300px, .9fr) minmax(400px, 1.1fr); }
  .hero-copy { padding: 42px; }
  .category-grid { grid-template-columns: 1fr; }
  .route-copy, .map-card { min-height: 720px; }
  .category-grid article { min-height: 155px; }
}

@media (max-width: 900px) {
  .section-shell,
  .site-nav,
  .hero { width: min(100% - 24px, 700px); }

  .site-nav { min-height: 74px; }
  .nav-cta { display: none; }

  .hero {
    min-height: auto;
    margin-bottom: 84px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-poster { min-height: 0; }
  .hero-copy { padding: 42px 30px 34px; }
  h1 { font-size: clamp(3.8rem, 16vw, 6.8rem); }

  .intro-section,
  .details-section,
  .included,
  .route-visual { grid-template-columns: 1fr; }

  .intro-section,
  .details-section,
  .included { gap: 44px; }
  .intro-section { padding-top: 70px; }
  .schedule { grid-template-columns: 1fr; }
  .schedule-card { min-height: 230px; }

  .route-copy { min-height: 620px; }
  .map-card { min-height: min(75vw, 520px); order: -1; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 305px; }
  .footer { grid-template-columns: 1fr 1fr; padding: 64px 0 110px; }
  .footer-home { grid-column: 1 / -1; }

  .mobile-cta {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 10;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 7px 30px rgb(0 0 0 / .35);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .045em;
    text-decoration: none;
    text-transform: uppercase;
  }
}

@media (max-width: 520px) {
  .section-shell,
  .site-nav,
  .hero { width: calc(100% - 16px); }

  .home-link { font-size: .68rem; }
  .brand { width: 190px; }
  .footer-brand { width: 260px; }
  .hero-poster,
  .hero-copy,
  .route-copy,
  .map-card,
  .closing { border-radius: 18px; }

  .hero-copy { padding: 34px 22px 26px; }
  .hero-intro { margin: 28px 0; }
  .event-facts { grid-template-columns: 1fr; }
  .event-facts div { display: flex; justify-content: space-between; gap: 18px; }
  .primary-button { width: 100%; }

  .chapter-heading h2,
  .route-copy > h2,
  .plans-heading h2 { font-size: clamp(3.1rem, 14vw, 4.5rem); }

  .schedule,
  .route-visual,
  .details-section,
  .included,
  .plans-section,
  .registration,
  .closing { margin-bottom: 84px; }

  .schedule-card { min-height: 205px; padding: 24px; }
  .route-copy { min-height: 670px; padding: 30px 22px; }
  .category-grid { gap: 24px; }
  .category-grid article { min-height: 175px; }
  .detail-list article { grid-template-columns: 38px 1fr; }
  .included-list li { grid-template-columns: 36px 1fr; padding: 12px 0; }
  .plans-section { padding: 76px 0; }
  .plan-card { min-height: 305px; padding: 22px; }
  .form-button { width: 100%; justify-content: center; text-align: center; }
  .closing { width: calc(100% - 16px); padding: 22px 18px; }
  .footer { grid-template-columns: 1fr; gap: 38px; }
  .footer-home { grid-column: auto; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
