:root {
  --ink: #132724;
  --ink-soft: #2e4541;
  --muted: #61726d;
  --paper: #f3f6f3;
  --paper-deep: #e7eee9;
  --white: #ffffff;
  --line: rgba(19, 39, 36, 0.14);
  --line-strong: rgba(19, 39, 36, 0.24);
  --coral: #dc5a39;
  --coral-dark: #b84227;
  --teal: #0a7c80;
  --teal-dark: #123c42;
  --sun: #e7ad35;
  --lime: #7b9a4b;
  --shadow: 0 28px 70px rgba(8, 35, 34, 0.14);
  --radius: 8px;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 18%, rgba(10, 124, 128, 0.07), transparent 26rem),
    radial-gradient(circle at 88% 42%, rgba(220, 90, 57, 0.06), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(231, 173, 53, 0.34);
}

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

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

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

button {
  font: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--sun), var(--coral), var(--teal));
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 25, 28, 0.9) 0%, rgba(5, 25, 28, 0.65) 42%, rgba(5, 25, 28, 0.18) 76%),
    linear-gradient(0deg, rgba(5, 25, 28, 0.76) 0%, transparent 45%),
    url("assets/hero-hamdeok.jpg") center 42% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 67%, rgba(255, 255, 255, 0.07) 67% 67.1%, transparent 67.1%),
    linear-gradient(115deg, transparent 0 73%, rgba(255, 255, 255, 0.05) 73% 73.1%, transparent 73.1%);
}

.topbar {
  position: relative;
  z-index: 3;
  width: min(var(--content), calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid currentColor;
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-copy {
  font-size: 0.88rem;
  font-weight: 700;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.topbar-links a {
  position: relative;
  padding: 8px 0;
}

.topbar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: var(--sun);
  transition: right 220ms ease;
}

.topbar-links a:hover::after,
.topbar-links a:focus-visible::after {
  right: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 210px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 16px;
  color: var(--sun);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.25rem, 6.8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  color: #f4d782;
}

.hero-summary {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.55vw, 1.17rem);
  line-height: 1.8;
}

.countdown-wrap {
  margin-top: 42px;
}

.countdown-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(220, 90, 57, 0.17);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 11px rgba(220, 90, 57, 0.03);
  }
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 24px;
  max-width: 760px;
}

.countdown-unit {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 104px;
}

.countdown-unit strong {
  min-width: 2ch;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.countdown-unit span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.countdown-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--sun);
  color: #17231d;
}

.button-primary:hover {
  background: #f1bd4c;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.hero-foot {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(var(--content), calc(100% - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 25, 28, 0.3);
  backdrop-filter: blur(14px);
}

.hero-foot > div {
  min-height: 88px;
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-foot > div:last-child {
  border-right: 0;
}

.hero-foot span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-foot strong {
  font-size: 0.92rem;
  line-height: 1.45;
}

.journey-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 247, 0.92);
  backdrop-filter: blur(18px);
}

.journey-nav-inner {
  width: min(var(--content), calc(100% - 48px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.journey-nav-inner::-webkit-scrollbar {
  display: none;
}

.journey-link,
.day-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.day-tab span {
  color: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.journey-link:hover,
.day-tab:hover,
.journey-link.active,
.day-tab.active {
  border-color: var(--line);
  background: var(--white);
  color: var(--teal-dark);
}

.day-tab.active {
  border-color: rgba(10, 124, 128, 0.28);
  background: rgba(10, 124, 128, 0.08);
  color: var(--teal);
}

.nav-divider {
  width: 1px;
  height: 20px;
  margin: 0 5px;
  background: var(--line);
}

.section {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.notes-section {
  padding: 108px 0 96px;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.notice-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-height: 196px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
}

.notice-item h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
}

.notice-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.78;
}

.notice-warning .notice-icon {
  background: var(--coral);
}

.essential-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-dark);
  background: var(--white);
  box-shadow: var(--shadow);
}

.essential-strip article {
  min-height: 176px;
  padding: 25px 24px;
  border-right: 1px solid var(--line);
}

.essential-strip article:last-child {
  border-right: 0;
}

.essential-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 17px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.essential-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.essential-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.72;
}

.essential-strip a {
  color: var(--teal);
  font-weight: 700;
}

.compact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.75rem;
}

.itinerary-section {
  border-top: 1px solid var(--line);
}

.itinerary-heading {
  padding: 100px 0 72px;
}

.day-section {
  position: relative;
  padding: 88px 0 104px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.day-section:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(18, 60, 66, 0.035), transparent 36%),
    var(--paper-deep);
}

.day-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: max(24px, calc((100vw - var(--content)) / 2));
  width: 90px;
  height: 4px;
  background: var(--day-color, var(--teal));
}

.day-wrap {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.day-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  gap: 64px;
  align-items: center;
}

.day-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--day-color, var(--teal));
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.day-number::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--day-color, var(--teal));
}

.day-hero h2 {
  max-width: 570px;
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.day-route {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 750;
}

.day-summary {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.day-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.day-meta .icon {
  color: var(--day-color, var(--teal));
}

.day-cover {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.day-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 22, 24, 0.7), transparent 46%);
}

.day-cover img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.day-cover:hover img {
  transform: scale(1.025);
}

.day-cover figcaption {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 750;
}

.day-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 70px;
  margin-top: 76px;
  align-items: start;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 16px;
  left: 119px;
  width: 1px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 103px 33px minmax(0, 1fr);
  gap: 0;
  padding: 0 0 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-time {
  padding-top: 2px;
  color: var(--ink-soft);
  text-align: right;
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.timeline-time small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin: 5px auto 0;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--day-color, var(--teal));
  box-shadow: 0 0 0 1px var(--day-color, var(--teal));
}

.day-section:nth-child(even) .timeline-marker {
  border-color: var(--paper-deep);
}

.timeline-content {
  min-width: 0;
  padding: 0 0 30px 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child .timeline-content {
  padding-bottom: 0;
  border-bottom: 0;
}

.stop-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  color: var(--day-color, var(--teal));
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.stop-desc {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.78;
}

.stop-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
}

.stop-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
}

.stop-detail a:hover {
  color: var(--teal);
}

.drive-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--day-color, var(--teal));
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.day-section:nth-child(even) .drive-note {
  background: rgba(255, 255, 255, 0.48);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 750;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.map-link:hover,
.map-link:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.stop-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.stop-photos.one {
  grid-template-columns: minmax(0, 260px);
}

.stop-photos.two {
  grid-template-columns: repeat(2, minmax(0, 220px));
}

.stop-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper-deep);
}

.stop-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.stop-photo:hover img {
  transform: scale(1.035);
}

.stop-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 17px 10px 8px;
  background: linear-gradient(0deg, rgba(5, 23, 23, 0.75), transparent);
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 700;
}

.day-aside {
  position: sticky;
  top: 88px;
}

.aside-block {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.aside-block + .aside-block {
  border-top: 0;
}

.aside-block:first-child {
  border-top: 4px solid var(--day-color, var(--teal));
}

.aside-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--day-color, var(--teal));
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.aside-block h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.aside-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.aside-route {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-route li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.aside-route li::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--day-color, var(--teal));
}

.aside-tip {
  border-left: 4px solid var(--coral);
  background: #fff8f5;
}

.aside-tip .aside-label {
  color: var(--coral);
}

.day-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 62px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--teal-dark);
}

.gallery-item:first-child:nth-last-child(2) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 14px 12px;
  background: linear-gradient(0deg, rgba(4, 22, 24, 0.76), transparent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 180px;
  padding: 34px max(24px, calc((100vw - var(--content)) / 2));
  background: var(--teal-dark);
  color: var(--white);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.site-footer > a {
  color: var(--sun);
  font-size: 0.82rem;
  font-weight: 750;
}

.noscript {
  position: fixed;
  z-index: 1000;
  inset: auto 20px 20px;
  padding: 16px;
  border-radius: 6px;
  background: var(--coral);
  color: var(--white);
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1080px) {
  .hero {
    min-height: 720px;
  }

  .hero-inner {
    padding-top: 72px;
  }

  .hero-foot {
    grid-template-columns: 1fr 1fr;
  }

  .hero-foot > div:last-child {
    display: none;
  }

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

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

  .essential-strip article:nth-child(2) {
    border-right: 0;
  }

  .essential-strip article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .day-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .day-cover,
  .day-cover img {
    min-height: 520px;
  }

  .day-body {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
  }

  .timeline::before {
    left: 99px;
  }

  .timeline-item {
    grid-template-columns: 83px 33px minmax(0, 1fr);
  }

  .day-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    width: min(100% - 32px, var(--content));
  }

  .topbar-links {
    display: none;
  }

  .hero {
    min-height: 780px;
    background:
      linear-gradient(90deg, rgba(5, 25, 28, 0.88), rgba(5, 25, 28, 0.45)),
      linear-gradient(0deg, rgba(5, 25, 28, 0.8), transparent 54%),
      url("assets/hero-hamdeok.jpg") 58% center / cover no-repeat;
  }

  .hero-inner {
    width: min(100% - 32px, var(--content));
    padding: 58px 0 170px;
  }

  .hero-summary {
    max-width: 560px;
  }

  .countdown {
    gap: 13px;
  }

  .countdown-unit {
    min-width: 76px;
    gap: 4px;
  }

  .countdown-unit strong {
    font-size: 2.35rem;
  }

  .countdown-unit span {
    font-size: 0.72rem;
  }

  .hero-foot {
    width: min(100% - 32px, var(--content));
    grid-template-columns: 1fr;
  }

  .hero-foot > div {
    min-height: 65px;
    padding: 11px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-foot > div:nth-child(2) {
    display: none;
  }

  .journey-nav-inner {
    width: 100%;
    min-width: 0;
    padding: 0 16px;
  }

  .section,
  .day-wrap {
    width: min(100% - 32px, var(--content));
  }

  .notes-section {
    padding: 78px 0 72px;
  }

  .notice-grid,
  .essential-strip {
    grid-template-columns: 1fr;
  }

  .notice-item {
    min-height: 0;
    padding: 24px 20px;
  }

  .essential-strip article,
  .essential-strip article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .essential-strip article:last-child {
    border-bottom: 0;
  }

  .itinerary-heading {
    padding: 74px 0 52px;
  }

  .day-section {
    padding: 72px 0 82px;
  }

  .day-cover,
  .day-cover img {
    min-height: 390px;
  }

  .day-body {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .day-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .aside-block + .aside-block {
    border-top: 1px solid var(--line);
  }

  .day-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 580px) {
  html {
    scroll-padding-top: 74px;
  }

  .hero {
    min-height: 800px;
    background-position: 63% center;
  }

  .topbar {
    height: 70px;
  }

  .brand-copy {
    display: none;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-summary {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .countdown-wrap {
    margin-top: 32px;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .countdown-unit {
    min-width: 0;
    display: block;
  }

  .countdown-unit strong {
    display: block;
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .countdown-unit span {
    display: block;
    margin-top: 5px;
    font-size: 0.66rem;
  }

  .countdown-note {
    font-size: 0.68rem;
  }

  .button {
    width: 100%;
  }

  .hero-foot > div:first-child strong {
    font-size: 0.75rem;
  }

  .journey-nav-inner {
    min-height: 60px;
  }

  .section-heading h2,
  .day-hero h2 {
    font-size: 2.1rem;
  }

  .day-hero {
    gap: 30px;
  }

  .day-cover,
  .day-cover img {
    min-height: 300px;
  }

  .day-cover figcaption {
    left: 16px;
    bottom: 14px;
  }

  .day-body {
    gap: 44px;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 28px;
    padding-bottom: 30px;
  }

  .timeline-time {
    margin-bottom: 8px;
    text-align: left;
  }

  .timeline-time small {
    display: inline;
    margin-left: 6px;
  }

  .timeline-marker {
    position: absolute;
    top: 4px;
    left: 0;
    margin: 0;
  }

  .timeline-content {
    padding: 0 0 26px;
  }

  .stop-photos,
  .stop-photos.two {
    grid-template-columns: 1fr 1fr;
  }

  .stop-photos.one {
    grid-template-columns: 1fr;
  }

  .day-aside {
    grid-template-columns: 1fr;
  }

  .day-gallery {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .gallery-item img {
    min-height: 250px;
  }

  .gallery-item:first-child:nth-last-child(2) {
    grid-column: auto;
  }
}

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

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

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