:root {
  --forest: #243128;
  --forest-deep: #18221c;
  --cream: #f4ebdd;
  --cream-soft: #fff8ea;
  --walnut: #8a4f2a;
  --walnut-dark: #5c351f;
  --olive: #a8ad72;
  --sage: #c9c5a1;
  --terracotta: #c9824a;
  --gold: #d8a94a;
  --line: rgba(244, 235, 221, 0.18);
  --line-strong: rgba(244, 235, 221, 0.32);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--forest);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.home-page {
  position: relative;
}

body.home-page .site-header,
body.home-page main,
body.home-page .site-footer {
  position: relative;
  z-index: 1;
}

.snowfall,
.snowfall::before,
.snowfall::after {
  position: fixed;
  inset: -20vh 0 0;
  content: "";
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255, 248, 234, 0.92) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 248, 234, 0.72) 0 1px, transparent 1.8px);
  background-position: 0 0, 42px 56px;
  background-size: 120px 120px, 170px 170px;
  animation: snowfall 18s linear infinite;
}

.snowfall::before {
  opacity: 0.54;
  background-size: 90px 90px, 140px 140px;
  animation-duration: 26s;
  animation-direction: reverse;
}

.snowfall::after {
  opacity: 0.36;
  background-size: 180px 180px, 240px 240px;
  animation-duration: 34s;
}

@keyframes snowfall {
  from {
    transform: translate3d(0, -8vh, 0);
  }

  to {
    transform: translate3d(36px, 108vh, 0);
  }
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 84px;
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: cover;
  background: var(--cream-soft);
  border: 2px solid rgba(244, 235, 221, 0.72);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.nav-links {
  gap: 22px;
  color: rgba(244, 235, 221, 0.78);
  font-size: 15px;
}

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

main {
  overflow: hidden;
}

.hero,
.split-section,
.latest,
.visual-story,
.page-hero,
.map-section,
.trip-summary,
.trip-highlights,
.city-grid,
.notes-layout,
.feature-story,
.photo-grid,
.feature-grid,
.story-list {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 36px 0 80px;
}

.eyebrow,
.card-label,
.story-list span {
  color: var(--olive);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.intro,
.page-hero p,
.split-section p,
.feature-card p,
.story-list p,
.site-footer {
  color: rgba(244, 235, 221, 0.76);
  line-height: 1.7;
}

.intro {
  max-width: 620px;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: var(--forest-deep);
  background: var(--cream);
}

.button.secondary {
  color: var(--cream);
  background: rgba(244, 235, 221, 0.08);
}

.hero-panel {
  display: grid;
  min-height: 430px;
  place-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(201, 130, 74, 0.34), transparent 32%),
    linear-gradient(145deg, rgba(244, 235, 221, 0.14), rgba(168, 173, 114, 0.09));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-panel {
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.photo-panel::after {
  position: absolute;
  inset: 14px;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(24, 34, 28, 0.28));
  border-radius: 6px;
  pointer-events: none;
}

.photo-panel img {
  display: block;
  width: 100%;
  height: min(58vh, 560px);
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 40px;
  padding: 82px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid,
.story-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 76px 0;
}

.feature-card,
.story-list article {
  min-height: 245px;
  padding: 28px;
  background: rgba(244, 235, 221, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 160ms ease, background 160ms ease;
}

.feature-card:hover {
  background: rgba(244, 235, 221, 0.13);
  transform: translateY(-3px);
}

.travel-card {
  background:
    linear-gradient(rgba(24, 34, 28, 0.38), rgba(24, 34, 28, 0.88)),
    url("assets/images/world-map.png") center / cover;
}

.food-card {
  background:
    linear-gradient(rgba(24, 34, 28, 0.34), rgba(24, 34, 28, 0.88)),
    url("assets/images/food-card-bg.png") center / cover;
}

.latest {
  padding-bottom: 88px;
}

.visual-story {
  padding: 0 0 82px;
}

.visual-story h2 {
  max-width: 820px;
}

.visual-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.visual-story-grid a,
.food-preview-image {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 235, 221, 0.08);
}

.visual-story-grid img,
.food-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.visual-story-grid a {
  min-height: 360px;
}

.visual-story-grid a:first-child {
  min-height: 460px;
  grid-row: span 2;
}

.visual-story-grid a:hover img,
.food-preview-image:hover img {
  transform: scale(1.04);
}

.visual-story-grid span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 9px 12px;
  color: var(--cream);
  background: rgba(24, 34, 28, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.section-heading {
  margin-bottom: 26px;
}

.story-list article {
  min-height: 210px;
}

.site-footer {
  min-height: 96px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.page-hero {
  padding: 88px 0 46px;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p {
  max-width: 680px;
  font-size: 18px;
}

.map-section {
  position: relative;
  margin-bottom: 42px;
  padding: 22px;
  background: rgba(244, 235, 221, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-section img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--terracotta);
  border: 3px solid var(--cream-soft);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 10px 22px rgba(92, 53, 31, 0.32);
  transform: rotate(-45deg);
  transition: transform 160ms ease;
}

.map-pin:hover {
  transform: rotate(-45deg) scale(1.18);
}

.pin-japan {
  left: 79%;
  top: 37%;
}

.place-list,
.food-list {
  padding-bottom: 88px;
}

.trip-hero {
  padding-bottom: 34px;
}

.trip-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 18px;
}

.trip-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  padding-bottom: 18px;
}

.trip-summary article,
.trip-highlights article,
.city-grid article,
.notes-layout article {
  padding: 28px;
  background: rgba(244, 235, 221, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trip-summary span,
.trip-highlights span,
.city-grid span {
  color: var(--olive);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trip-summary h2 {
  margin-top: 12px;
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
}

.trip-highlights h3 {
  margin-top: 12px;
}

.trip-heading {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 26px;
}

.trip-jump-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 54px;
  padding: 14px 0;
  background: rgba(36, 49, 40, 0.92);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.trip-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: rgba(244, 235, 221, 0.82);
  background: rgba(244, 235, 221, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.trip-jump-nav a:hover {
  color: var(--cream);
  border-color: var(--line-strong);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  padding-bottom: 54px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--cream);
  font-weight: 800;
  border-bottom: 1px solid var(--terracotta);
}

.notes-layout {
  display: grid;
  gap: 18px;
  padding-bottom: 88px;
}

.notes-layout article {
  min-height: 230px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.photo-grid img,
.feature-story img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.source-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.source-note a {
  color: var(--cream);
  border-bottom: 1px solid var(--terracotta);
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: stretch;
  padding-bottom: 42px;
}

.feature-story-copy {
  padding: 32px;
  background: rgba(244, 235, 221, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.food-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 88px;
}

.food-preview-card {
  display: flex;
  flex-direction: column;
}

.food-preview-image {
  aspect-ratio: 4 / 3;
  margin: -8px -8px 22px;
}

.food-preview-image img {
  min-height: 0;
}

.feature-photo-grid img:first-child {
  grid-column: span 2;
  min-height: 420px;
}

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

.compact-gallery img {
  min-height: 260px;
}

.single-photo-grid {
  grid-template-columns: minmax(0, 1fr);
}

.single-photo-grid img {
  max-height: 720px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .hero,
  .split-section,
  .latest,
  .visual-story,
  .page-hero,
  .map-section,
  .trip-summary,
  .trip-highlights,
  .trip-jump-nav,
  .city-grid,
  .notes-layout,
  .feature-story,
  .photo-grid,
  .feature-grid,
  .story-list {
    width: min(100% - 28px, 1120px);
  }

  .hero,
  .split-section,
  .trip-summary,
  .trip-highlights,
  .city-grid,
  .feature-story,
  .food-gallery,
  .visual-story-grid,
  .compact-gallery,
  .feature-grid,
  .story-list {
    grid-template-columns: 1fr;
  }

  .feature-photo-grid img:first-child {
    grid-column: auto;
  }

  .visual-story-grid a,
  .visual-story-grid a:first-child {
    min-height: 300px;
    grid-row: auto;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 76px);
  }

  .hero-panel {
    min-height: 310px;
  }

  .photo-panel img {
    height: 420px;
    min-height: 0;
  }

  .split-section {
    padding: 58px 0;
  }

  .trip-jump-nav {
    position: static;
    margin-bottom: 34px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

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

  .feature-card,
  .story-list article {
    min-height: 190px;
  }

  .food-preview-image {
    margin: -10px -10px 20px;
  }

  .map-section {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snowfall,
  .snowfall::before,
  .snowfall::after {
    animation: none;
  }
}
