/* 김포평화제목체 © 김포시, 공공누리 제1유형 */
@font-face {
  font-family: "GimpoPeaceTitle";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/GimpoTitle00.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #4a281e;
  --ink-soft: #744838;
  --pink: #ef7181;
  --pink-dark: #d94f64;
  --pink-light: #ffd2d2;
  --cream: #fff9ef;
  --cream-deep: #f8ead5;
  --yellow: #ffd670;
  --green: #2d8b74;
  --sky: #58b8ee;
  --white: #fffefd;
  --shadow: 0 24px 70px rgba(95, 52, 38, 0.14);
  --radius-lg: 36px;
  --radius-md: 24px;
  --section-space: clamp(5.5rem, 10vw, 9rem);
  --shell: min(1180px, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans KR", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}

body.menu-open,
body:has(.poster-dialog[open]) {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 100;
  display: flex;
  width: min(1180px, calc(100% - 2rem));
  min-height: 70px;
  padding: 0.65rem 0.8rem 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  background: rgba(255, 252, 246, 0.83);
  box-shadow: 0 12px 35px rgba(73, 65, 54, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    min-height 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  min-height: 62px;
  background: rgba(255, 252, 246, 0.94);
  box-shadow: 0 10px 36px rgba(73, 45, 37, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 48% 52% 45% 55%;
  background: #f4b66f;
  box-shadow: inset -5px -5px 0 rgba(191, 104, 54, 0.12);
  transform: rotate(-5deg);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(125, 67, 38, 0.24);
  content: "";
}

.brand-mark::before {
  top: 8px;
  right: 7px;
}

.brand-mark::after {
  bottom: 8px;
  left: 6px;
}

.brand-face {
  position: relative;
  z-index: 1;
  font-family: sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  transform: rotate(5deg);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand-copy small {
  margin-top: 0.2rem;
  color: var(--pink-dark);
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.header-countdown {
  display: inline-flex;
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(239, 113, 129, 0.2);
  border-radius: 13px;
  background: rgba(255, 236, 220, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.header-countdown::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(239, 113, 129, 0.13);
  content: "";
}

.header-countdown-label {
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
}

.header-countdown strong {
  color: var(--pink-dark);
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.header-visitor-count {
  display: inline-flex;
  padding-left: 0.5rem;
  align-items: center;
  gap: 0.18rem;
  border-left: 1px solid rgba(239, 113, 129, 0.2);
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.header-visitor-count strong {
  color: var(--green);
  font-size: 0.76rem;
}

[data-visitor-display][hidden] {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.8rem);
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: #654033;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0 1.15rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.site-nav .nav-cta {
  padding: 0 1.15rem;
  color: white;
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background-color: #73c7f1;
  background-image: url("assets/hero-meadow.webp");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 252, 243, 0.9) 0%, rgba(255, 252, 243, 0.55) 39%, rgba(255, 255, 255, 0.02) 68%),
    linear-gradient(0deg, rgba(255, 247, 234, 0.38), transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--shell);
  margin: auto;
  padding: 9.5rem 0 7rem;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-character {
  position: absolute;
  right: max(-2rem, calc((100vw - 1180px) / 2 - 7.5rem));
  bottom: -5rem;
  z-index: 1;
  height: min(86svh, 900px);
  pointer-events: none;
  filter: drop-shadow(0 28px 26px rgba(53, 54, 43, 0.2));
  transform-origin: bottom center;
}

.hero-character img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.hero-kicker {
  display: flex;
  margin: 0 0 1.2rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-kicker span {
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-family: "GimpoPeaceTitle", sans-serif;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 span {
  color: var(--pink);
  font-size: clamp(5rem, 10.4vw, 9.2rem);
  -webkit-text-stroke: clamp(2px, 0.28vw, 4px) #fff8ed;
  filter: drop-shadow(0 6px 0 rgba(189, 68, 83, 0.25));
}

.hero h1 strong {
  margin-top: 0.18em;
  color: var(--ink);
  font-size: clamp(3.25rem, 7.7vw, 7.2rem);
  font-weight: 400;
  -webkit-text-stroke: clamp(2px, 0.26vw, 4px) #fff8ed;
  filter: drop-shadow(0 6px 0 rgba(255, 255, 255, 0.52));
}

.hero-description {
  margin: 2rem 0 0;
  color: #5b382c;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
}

.hero-actions,
.closing-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 1.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--pink);
  box-shadow: 0 10px 28px rgba(214, 80, 98, 0.28);
  color: white;
}

.button-primary:hover {
  background: var(--pink-dark);
  box-shadow: 0 15px 32px rgba(214, 80, 98, 0.34);
}

.button-ghost {
  border-color: rgba(74, 40, 30, 0.16);
  background: rgba(255, 252, 246, 0.72);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  background: white;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-invite {
  border-color: rgba(217, 79, 100, 0.2);
  background: rgba(255, 238, 218, 0.92);
  box-shadow: 0 10px 26px rgba(158, 91, 57, 0.13);
  color: var(--pink-dark);
  backdrop-filter: blur(10px);
}

.button-invite:hover {
  background: #fff7e9;
  box-shadow: 0 14px 30px rgba(158, 91, 57, 0.2);
}

.button-discord {
  background: #5865f2;
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.26);
  color: white;
}

.button-discord:hover {
  background: #4752c4;
  box-shadow: 0 15px 32px rgba(88, 101, 242, 0.34);
}

.hero-facts {
  display: flex;
  width: fit-content;
  margin: 2rem 0 0;
  padding: 0.85rem 1.1rem;
  gap: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.7);
  box-shadow: 0 10px 32px rgba(60, 89, 73, 0.08);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  min-width: 105px;
}

.hero-facts div + div {
  padding-left: 1.2rem;
  border-left: 1px solid rgba(74, 40, 30, 0.14);
}

.hero-facts dt {
  color: var(--pink-dark);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-facts dd {
  margin: 0.12rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.welcome-bubble {
  position: relative;
  z-index: 3;
  align-self: start;
  max-width: 290px;
  margin: 2.5rem 0 0 auto;
  padding: 1.6rem 1.5rem;
  border: 4px solid rgba(255, 255, 255, 0.96);
  border-radius: 50% 50% 47% 53% / 53% 48% 52% 47%;
  background: rgba(255, 236, 220, 0.92);
  box-shadow: 0 18px 40px rgba(88, 78, 53, 0.15);
  color: var(--ink);
  text-align: center;
  transform: rotate(3deg);
}

.welcome-bubble::after {
  position: absolute;
  bottom: -20px;
  left: 28%;
  width: 34px;
  height: 32px;
  border-right: 4px solid white;
  border-bottom: 4px solid white;
  background: #ffecdc;
  content: "";
  clip-path: polygon(0 0, 100% 0, 10% 100%);
  transform: rotate(8deg);
}

.welcome-bubble p {
  margin: 0;
  font-family: "GimpoPeaceTitle", sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.4;
}

.bubble-flower,
.bubble-heart {
  position: absolute;
  color: var(--pink);
}

.bubble-flower {
  top: -18px;
  right: 22px;
  font-size: 1.8rem;
}

.bubble-heart {
  right: 14px;
  bottom: 22px;
  font-size: 1rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  color: rgba(74, 40, 30, 0.7);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(74, 40, 30, 0.2);
}

.scroll-cue i::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--ink);
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(230%); }
}

.petal-field i {
  position: absolute;
  z-index: 0;
  width: 14px;
  height: 8px;
  border-radius: 100% 0 100% 0;
  background: rgba(255, 158, 169, 0.86);
  animation: petal-drift 11s linear infinite;
}

.petal-field i:nth-child(1) { top: 15%; left: 8%; animation-delay: -2s; }
.petal-field i:nth-child(2) { top: 25%; left: 42%; animation-delay: -7s; animation-duration: 14s; }
.petal-field i:nth-child(3) { top: 12%; left: 77%; animation-delay: -4s; }
.petal-field i:nth-child(4) { top: 53%; left: 91%; animation-delay: -9s; animation-duration: 15s; }
.petal-field i:nth-child(5) { top: 68%; left: 54%; animation-delay: -5s; }
.petal-field i:nth-child(6) { top: 38%; left: 22%; animation-delay: -10s; animation-duration: 13s; }

@keyframes petal-drift {
  0% { transform: translate(0, -35px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(110px, 80vh) rotate(540deg); opacity: 0; }
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

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

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--pink-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.intro {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 215, 118, 0.18), transparent 25%),
    var(--cream);
}

.intro::before,
.intro::after {
  position: absolute;
  color: rgba(239, 113, 129, 0.13);
  font-family: serif;
  font-size: 15rem;
  line-height: 1;
  content: "✿";
}

.intro::before {
  top: -5rem;
  right: -3rem;
}

.intro::after {
  bottom: -8rem;
  left: -4rem;
  font-size: 12rem;
}

.intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.section-heading h2,
.center-heading h2,
.route-heading h2,
.timeline-heading h2,
.poster-copy h2,
.closing-content h2 {
  margin: 0;
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading h2 em {
  color: var(--pink);
  font-style: normal;
}

.intro-card {
  position: relative;
  padding: clamp(2rem, 5vw, 3.6rem);
  overflow: hidden;
  border: 1px solid rgba(111, 70, 54, 0.11);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: rgba(239, 113, 129, 0.16);
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 5rem;
  line-height: 1;
}

.intro-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  font-weight: 600;
}

.intro-card p + p {
  margin-top: 1.25rem;
  color: var(--pink-dark);
  font-weight: 800;
}

.tiny-lalas {
  display: flex;
  margin-top: 2.3rem;
  align-items: end;
  justify-content: center;
  gap: clamp(0.6rem, 2.2vw, 1.4rem);
}

.tiny-lalas span {
  position: relative;
  display: block;
  width: 32px;
  height: 38px;
  border-radius: 50% 50% 38% 38%;
  background: var(--ink);
  color: transparent;
}

.tiny-lalas span::before,
.tiny-lalas span::after {
  position: absolute;
  bottom: -8px;
  width: 9px;
  height: 14px;
  border-radius: 99px;
  background: var(--ink);
  content: "";
}

.tiny-lalas span::before { left: 5px; transform: rotate(10deg); }
.tiny-lalas span::after { right: 5px; transform: rotate(-10deg); }
.tiny-lalas span:nth-child(even) { height: 30px; background: var(--pink); }
.tiny-lalas span:nth-child(even)::before,
.tiny-lalas span:nth-child(even)::after { background: var(--pink); }

.event-section {
  background: #fffdf8;
}

.center-heading {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.center-heading p:last-child {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.info-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 1.65rem;
  flex-direction: column;
  border: 1px solid rgba(111, 70, 54, 0.11);
  border-radius: var(--radius-md);
  background: var(--cream);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.info-card-date {
  background: var(--pink);
  color: white;
}

.info-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 16px;
  background: rgba(239, 113, 129, 0.13);
  color: var(--pink-dark);
}

.info-card-date .info-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.info-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.info-label {
  margin: 1.8rem 0 0.45rem;
  color: var(--pink-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.info-card-date .info-label {
  color: white;
}

.info-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.info-card h3 strong {
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 1.25em;
  font-weight: 400;
}

.info-card > p:last-of-type {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.info-card-date > p:last-of-type {
  color: rgba(255, 255, 255, 0.88);
}

.text-button {
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--pink-dark);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.route-section {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 249, 239, 0.95), rgba(255, 249, 239, 0.95)),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(112, 77, 53, 0.06) 36px),
    repeating-linear-gradient(90deg, transparent 0 35px, rgba(112, 77, 53, 0.05) 36px);
}

.route-section::after {
  position: absolute;
  right: -6rem;
  bottom: -9rem;
  width: 27rem;
  height: 27rem;
  border: 1px solid rgba(45, 139, 116, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(45, 139, 116, 0.035), 0 0 0 7rem rgba(45, 139, 116, 0.025);
  content: "";
}

.route-heading {
  display: grid;
  margin-bottom: 3rem;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 3rem;
}

.route-heading > p {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--pink);
  color: var(--ink-soft);
}

.route-board {
  position: relative;
  z-index: 1;
  min-height: 320px;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(111, 70, 54, 0.15);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 214, 112, 0.18), transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(45, 139, 116, 0.09), transparent 30%),
    #f7e9c7;
  box-shadow: inset 0 0 50px rgba(127, 92, 49, 0.1), var(--shadow);
}

.route-board::before {
  position: absolute;
  inset: 11px;
  border: 1px dashed rgba(112, 77, 53, 0.25);
  border-radius: calc(var(--radius-lg) - 8px);
  content: "";
}

.route-line {
  position: absolute;
  top: 42px;
  left: 4%;
  width: 92%;
  height: 220px;
  overflow: visible;
}

.route-line path {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-width: 10;
  filter: drop-shadow(0 2px 0 var(--pink-dark));
}

.route-stops {
  position: relative;
  display: grid;
  min-height: 240px;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 0.7rem;
  list-style: none;
}

.route-stops li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  text-align: center;
}

.route-stops li:nth-child(1) { transform: translateY(53px); }
.route-stops li:nth-child(2) { transform: translateY(-47px); }
.route-stops li:nth-child(3) { transform: translateY(42px); }
.route-stops li:nth-child(4) { transform: translateY(-37px); }
.route-stops li:nth-child(5) { transform: translateY(31px); }

.stop-dot {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 5px solid white;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 4px 0 var(--pink-dark), 0 8px 20px rgba(111, 70, 54, 0.2);
  color: white;
  font-size: 0.69rem;
  font-weight: 900;
}

.stop-end {
  width: 58px;
  height: 46px;
  border-radius: 14px;
  background: var(--green);
  box-shadow: 0 4px 0 #1c6957, 0 8px 20px rgba(45, 139, 116, 0.22);
}

.route-stops strong,
.route-stops small {
  display: block;
}

.route-stops strong {
  font-size: 0.95rem;
}

.route-stops small {
  margin-top: 0.08rem;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 600;
}

.route-note {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  margin: 1.5rem auto 0;
  padding: 0.85rem 1.1rem;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  background: white;
  box-shadow: 0 8px 24px rgba(74, 40, 30, 0.09);
}

.route-note svg {
  width: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--pink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.route-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.route-note strong {
  color: var(--ink);
}

.timeline-section {
  background: #fffdf8;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
}

.timeline-heading {
  position: sticky;
  top: 120px;
}

.timeline-heading > p:not(.eyebrow) {
  max-width: 340px;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
}

.timeline-stamp {
  display: grid;
  width: 108px;
  height: 108px;
  margin-top: 2.5rem;
  place-items: center;
  border: 2px dashed var(--pink);
  border-radius: 50%;
  color: var(--pink);
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
  transform: rotate(-9deg);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 8px;
  width: 2px;
  background: linear-gradient(var(--pink), var(--yellow), var(--green));
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  padding: 1.5rem 0 2.7rem 3rem;
  grid-template-columns: 145px 1fr;
  gap: 1.7rem;
}

.timeline li::before {
  position: absolute;
  top: 1.95rem;
  left: 0;
  width: 18px;
  height: 18px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 2px var(--pink);
  content: "";
}

.timeline time {
  padding-top: 0.2rem;
  color: var(--pink-dark);
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 1.15rem;
}

.timeline li > div {
  padding-bottom: 2.3rem;
  border-bottom: 1px solid rgba(111, 70, 54, 0.13);
}

.timeline li:last-child > div {
  border-bottom: 0;
}

.timeline li span {
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.timeline h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.25rem;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.timeline-main > div {
  padding: 1.5rem;
  border: 0 !important;
  border-radius: 20px;
  background: #fff0ec;
  box-shadow: 0 10px 30px rgba(239, 113, 129, 0.1);
}

.poster-section {
  overflow: hidden;
  background: #f5e7d1;
}

.poster-section::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(118, 73, 51, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 65%);
}

.poster-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.poster-frame {
  position: relative;
  padding: 0.75rem;
  border-radius: 28px;
  background: white;
  box-shadow: 0 28px 70px rgba(74, 40, 30, 0.25);
  transform: rotate(-2deg);
}

.poster-frame::before {
  position: absolute;
  top: -18px;
  left: 50%;
  z-index: 2;
  width: 120px;
  height: 38px;
  background: rgba(255, 226, 160, 0.78);
  content: "";
  transform: translateX(-50%) rotate(2deg);
}

.poster-frame button {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: transparent;
  cursor: zoom-in;
}

.poster-frame img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.poster-frame button:hover img {
  transform: scale(1.025);
}

.poster-frame button span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(74, 40, 30, 0.88);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.poster-copy {
  max-width: 550px;
}

.poster-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin: 1.4rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.poster-copy .button {
  margin-top: 2rem;
}

.closing-section {
  position: relative;
  display: grid;
  min-height: 610px;
  padding: var(--section-space) 0;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(84, 181, 235, 0.45), transparent 55%),
    linear-gradient(#77cafa, #c9edff);
}

.closing-section::after {
  position: absolute;
  right: -5%;
  bottom: -17%;
  left: -5%;
  height: 48%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 20% 40%, #ffd3dc 0 2px, transparent 3px),
    radial-gradient(circle at 70% 30%, #fff7a8 0 2px, transparent 3px),
    linear-gradient(#7fc06a, #3e8c58);
  box-shadow: inset 0 18px 30px rgba(255, 255, 255, 0.25);
}

.closing-content {
  position: relative;
  z-index: 2;
  align-self: center;
  text-align: center;
}

.closing-content h2 {
  color: white;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  text-shadow: 0 5px 0 rgba(41, 114, 156, 0.18);
}

.closing-content > p:not(.eyebrow) {
  margin: 1.25rem 0 0;
  color: #265571;
  font-weight: 700;
}

.visitor-counter {
  display: inline-flex;
  min-height: 48px;
  margin-top: 1.5rem;
  padding: 0.7rem 1.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(41, 114, 156, 0.12);
  color: #265571;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.visitor-counter strong {
  color: var(--pink-dark);
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 1.15em;
  font-weight: 400;
}

.visitor-potato {
  font-size: 1.2rem;
  transform: rotate(-8deg);
}

.closing-content .eyebrow {
  color: #2f698b;
}

.closing-actions {
  justify-content: center;
}

.closing-flower {
  display: block;
  margin-bottom: 0.8rem;
  color: white;
  font-size: 2.4rem;
}

.closing-cloud {
  position: absolute;
  width: 270px;
  height: 72px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  filter: blur(1px);
}

.closing-cloud::before,
.closing-cloud::after {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.closing-cloud::before { left: 40px; width: 110px; height: 110px; }
.closing-cloud::after { right: 38px; width: 85px; height: 85px; }
.cloud-one { top: 18%; left: -70px; }
.cloud-two { top: 11%; right: -80px; transform: scale(0.75); }

.site-footer {
  display: flex;
  min-height: 150px;
  padding: 2.5rem max(1.25rem, calc((100% - 1180px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--ink);
  color: white;
}

.site-footer strong {
  font-family: "GimpoPeaceTitle", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: #d3bdb4;
  font-size: 0.7rem;
}

.footer-meta {
  display: grid;
  justify-items: end;
}

.footer-meta a {
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
}

.footer-meta a:hover {
  color: var(--pink-light);
}

.poster-dialog {
  width: min(940px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 22px;
  background: #181410;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.poster-dialog::backdrop {
  background: rgba(36, 24, 20, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  min-height: 60px;
  padding: 0.7rem 0.8rem 0.7rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  background: rgba(24, 20, 16, 0.92);
  color: white;
  backdrop-filter: blur(12px);
}

.dialog-toolbar h2 {
  margin: 0;
  font-size: 0.95rem;
}

.dialog-toolbar button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.poster-dialog img {
  width: 100%;
  height: auto;
}

.invitation-dialog {
  width: min(760px, calc(100% - 2rem));
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 300;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    display: grid;
    padding: 1rem;
    gap: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 20px;
    background: rgba(255, 252, 246, 0.97);
    box-shadow: 0 18px 45px rgba(73, 45, 37, 0.17);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: #fff0ea;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 0.3rem;
  }

  .site-nav .nav-cta {
    padding: 0.8rem 0.9rem;
  }

  .header-countdown {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr 220px;
  }

  .hero-character {
    right: -10rem;
    bottom: -3rem;
    height: min(74svh, 760px);
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-card {
    min-height: 290px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 1.5rem, 620px);
    --radius-lg: 28px;
    --radius-md: 20px;
  }

  .site-header {
    top: 0.6rem;
    width: calc(100% - 1.2rem);
    min-height: 62px;
    gap: 0.45rem;
  }

  .header-countdown {
    display: grid;
    min-height: 36px;
    padding: 0.35rem 0.55rem;
    grid-template-columns: 7px auto;
    column-gap: 0.35rem;
    row-gap: 0.12rem;
  }

  .header-countdown::before {
    grid-row: 1;
    grid-column: 1;
  }

  .header-countdown-label {
    display: none;
  }

  .header-countdown > strong {
    grid-row: 1;
    grid-column: 2;
    font-size: 0.74rem;
  }

  .header-visitor-count {
    padding-left: 0;
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
    border-left: 0;
    font-size: 0.55rem;
    line-height: 1;
  }

  .header-visitor-count strong {
    font-size: 0.65rem;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 860px;
    background-position: 61% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(255, 251, 241, 0.94) 5%, rgba(255, 251, 241, 0.7) 56%, rgba(255, 255, 255, 0.12) 82%),
      linear-gradient(90deg, rgba(255, 252, 243, 0.65), rgba(255, 255, 255, 0.04));
  }

  .hero-inner {
    padding: 8rem 0 5rem;
    grid-template-columns: 1fr;
    align-content: end;
  }

  .hero-copy {
    align-self: end;
  }

  .hero-character {
    top: 5rem;
    right: -4.8rem;
    bottom: auto;
    width: 18rem;
    height: auto;
    opacity: 0.96;
    filter: drop-shadow(0 14px 16px rgba(53, 54, 43, 0.16));
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 57%, transparent 96%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 57%, transparent 96%);
  }

  .hero-character img {
    width: 100%;
    height: auto;
  }

  .hero-kicker {
    font-size: 0.68rem;
  }

  .hero h1 span {
    font-size: clamp(4.2rem, 22vw, 7rem);
  }

  .hero h1 strong {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .welcome-bubble {
    position: absolute;
    top: 1.25rem;
    right: auto;
    left: 0.25rem;
    max-width: 175px;
    margin: 0;
    padding: 0.8rem 0.9rem;
    border-width: 3px;
    transform: rotate(-2deg);
  }

  .welcome-bubble p {
    font-size: 0.86rem;
  }

  .welcome-bubble::after {
    right: 20%;
    bottom: -15px;
    left: auto;
    width: 27px;
    height: 24px;
    border-width: 3px;
  }

  .bubble-flower {
    top: -14px;
    font-size: 1.35rem;
  }

  .hero-facts {
    width: 100%;
    padding: 0.8rem;
    gap: 0.55rem;
    justify-content: space-between;
  }

  .hero-facts div {
    min-width: 0;
    flex: 1;
  }

  .hero-facts div + div {
    padding-left: 0.55rem;
  }

  .hero-facts dt {
    font-size: 0.5rem;
  }

  .hero-facts dd {
    font-size: 0.66rem;
  }

  .scroll-cue {
    display: none;
  }

  .intro-grid,
  .route-heading,
  .timeline-layout,
  .poster-layout {
    grid-template-columns: 1fr;
  }

  .route-heading {
    gap: 1.5rem;
  }

  .route-heading > p {
    padding-left: 1rem;
  }

  .route-board {
    min-height: auto;
    padding: 2.3rem 1.4rem;
  }

  .route-line {
    display: none;
  }

  .route-stops {
    position: relative;
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .route-stops::before {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 22px;
    width: 5px;
    border-radius: 99px;
    background: white;
    box-shadow: 0 0 0 1px var(--pink);
    content: "";
  }

  .route-stops li,
  .route-stops li:nth-child(n) {
    z-index: 1;
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    justify-items: start;
    gap: 1rem;
    text-align: left;
    transform: none;
  }

  .route-stops small {
    font-size: 0.68rem;
  }

  .route-note {
    width: 100%;
    border-radius: 18px;
  }

  .timeline-heading {
    position: static;
  }

  .timeline-stamp {
    display: none;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-main > div {
    margin-left: -0.5rem;
  }

  .poster-layout {
    gap: 3.5rem;
  }

  .poster-frame {
    width: min(460px, 92%);
    margin: 0 auto;
  }

  .poster-copy {
    text-align: center;
  }

  .poster-copy > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .closing-section {
    min-height: 560px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .closing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .closing-actions .button {
    width: 100%;
  }

  .hero-facts dd {
    font-size: 0.6rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 255px;
  }

  .center-heading h2,
  .section-heading h2,
  .route-heading h2,
  .timeline-heading h2,
  .poster-copy h2 {
    font-size: 2.65rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
