@font-face {
  font-family: "Roboto";
  font-display: swap;
  src: url("./fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  font-display: swap;
  src: url("./fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: "Playfair Display";
  font-display: swap;
  src: url("./fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
}

@font-face {
  font-family: "Playfair Display";
  font-display: swap;
  src: url("./fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
}

@font-face {
  font-family: "JetBrains Mono";
  font-display: swap;
  src: url("./fonts/JetBrains_Mono/JetBrainsMono-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "JetBrains Mono";
  font-display: swap;
  src: url("./fonts/JetBrains_Mono/JetBrainsMono-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
}

:root {
  --bg-main: #161515;
  --bg-card: #222020;
  --text-main: #f0efef;
  --text-muted: #8e8989;
  --accent: #cbd5e1;
  --border: rgba(142, 137, 137, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-main);
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Roboto", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
.hero h1,
.manifesto h2,
.section-heading h2,
.country-header h2,
.gear-card h3,
.spot-image h3 {
  font-family: "Playfair Display", Georgia, serif;
}

p,
button,
span,
strong,
nav,
.journal-note,
.gear-card p,
.spot-body p,
.spot-tip p {
  font-family: "Roboto", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.icon,
.menu-icon,
.close-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(10px, 1.8dvh, 14px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  animation: pulse 1500ms ease-in-out infinite;
}

.eyebrow-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
}

.eyebrow-with-icon svg {
  flex: 0 0 auto;
  margin-top: 0;
}

.eyebrow-with-icon span {
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

.icon-sparkles {
  width: 16px;
  height: 16px;
  color: var(--accent);
  animation: pulse 1500ms ease-in-out infinite;
}


.desktop-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 40;
  display: flex;
  width: auto;
  max-width: 88dvw;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(34, 32, 32, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.desktop-nav__inner {
  display: flex;
  gap: clamp(10px, 1.4vw, 24px);
  max-width: 100%;
  padding: 8px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav__inner::-webkit-scrollbar {
  display: none;
}

.desktop-nav button,
.mobile-menu button,
.footer-nav button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(9px, 0.7vw, 11px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 6px;
  transition: color 300ms ease;
}

.desktop-nav button:hover,
.desktop-nav button.is-active,
.mobile-menu button:hover,
.mobile-menu button.is-active,
.footer-nav button:hover,
.footer-nav button.is-active {
  color: var(--accent);
}

.mobile-menu-button {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 60;
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(34, 32, 32, 0.9);
  cursor: pointer;
  place-items: center;
  padding: 0;
  line-height: 0;
}

.mobile-menu-button svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 23px;
  color: var(--text-main);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease, color 220ms ease;
}

.mobile-menu-button .menu-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0);
}

.mobile-menu-button .close-icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82) rotate(-45deg);
}

.mobile-menu-button--open .menu-icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82) rotate(45deg);
}

.mobile-menu-button--open .close-icon {
  opacity: 1;
  color: var(--accent);
  transform: translate(-50%, -50%) scale(1) rotate(0);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(22, 21, 21, 0.98);
  backdrop-filter: blur(18px);
  transition: opacity 300ms ease, visibility 300ms ease;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__inner {
  width: min(360px, calc(100vw - 48px));
}

.mobile-menu__nav {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.mobile-menu button {
  padding: 2px 0;
  text-align: left;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 99px 24px;
}

.hero--intro {
  min-height: 100dvh;
}

.hero__bg,
.country-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero__bg--tent {
  background-image: url("images/hero/1.webp");
}

.hero__bg--tent {
  transition: transform 12000ms ease;
}

.hero--intro:hover .hero__bg--tent {
  transform: scale(1.05);
}

.hero--manifesto {
  background: var(--bg-main);
}

.hero__overlay,
.country-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25), var(--bg-main));
}

.hero__overlay--deep {
  background: linear-gradient(to top, var(--bg-main), rgba(0, 0, 0, 0.76), var(--bg-main));
}

.hero__content,
.manifesto {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  text-align: center;
}

.hero h1 {
  margin: clamp(23px, calc(3vh + 3px), 35px) 0;
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(88px, 11dvh, 168px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__text,
.manifesto p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  color: var(--text-muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(16px, 2dvh, 20px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
}

.hero__text {
  width: min(535px, 100%);
  margin: 0 auto;
  font-size: clamp(17px, 2.15dvh, 22px);
  line-height: 1.65;
  color: rgba(240, 239, 239, 0.92);
}

.divider {
  position: relative;
  top: 8px;
  width: 96px;
  height: 1px;
  margin: 19px auto 27px;
  background: rgba(203, 213, 225, 0.64);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: bounce-original 1000ms infinite;
}

.scroll-cue .icon-chevron {
  width: 20px;
  height: 20px;
}

.scroll-cue:hover {
  color: var(--accent);
}

.manifesto h2,
.section-heading h2,
.country-header h2 {
  margin: 18px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.05;
}

.manifesto {
  width: min(1024px, 100%);
}

.manifesto h2 {
  width: min(896px, 100%);
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  font-weight: 400;
  transition: color 300ms ease;
}

.manifesto h2:hover {
  color: var(--accent);
}

.manifesto p:not(.eyebrow) {
  width: min(768px, 100%);
  margin-left: auto;
  margin-right: auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 2.1vw, 24px);
  font-style: italic;
  line-height: 1.65;
}

.outline-button {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid rgba(240, 239, 239, 0.32);
  border-radius: 3px;
  background: rgba(34, 32, 32, 0.45);
  color: var(--text-main);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.outline-button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-main);
}

.outline-button .icon-chevron {
  width: 16px;
  height: 16px;
  animation: bounce-original 1000ms infinite;
}

.gear-section,
.site-footer {
  padding: 96px 24px;
  background: var(--bg-main);
}

.section-inner,
.country-inner,
.footer-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.gear-section .section-inner {
  width: min(1024px, 100%);
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 500;
}

.section-heading p:not(.eyebrow) {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(14px, 1.7vw, 16px);
  font-style: italic;
  line-height: 1.65;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.gear-card,
.spot-card {
  border: 1px solid rgba(142, 137, 137, 0.1);
  border-radius: 2px;
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.gear-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.gear-card img {
  width: 100%;
  height: 192px;
  border-radius: 4px;
  object-fit: cover;
}

.gear-card h3 {
  margin: 18px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.gear-card span {
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 0 12px;
  background: var(--accent);
}

.gear-card p {
  margin: 0;
}

.gear-card p,
.spot-body p {
  color: var(--text-muted);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.country-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 112px 24px;
  overflow: hidden;
}

.country-bg {
  background-attachment: fixed;
}

.country-overlay {
  background: linear-gradient(to bottom, rgba(22, 21, 21, 0.95), rgba(22, 21, 21, 0.85), rgba(22, 21, 21, 0.98));
}

.country-inner {
  position: relative;
  z-index: 1;
}

.country-header {
  width: min(760px, 100%);
  margin-bottom: 64px;
}

.country-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--country-accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.country-kicker i {
  width: 48px;
  height: 1.5px;
  background: var(--country-accent);
}

.country-header h2 {
  color: var(--text-main);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: 0;
  transition: color 220ms ease;
}

.country-header h2:hover {
  color: var(--country-accent);
}

.journal-note {
  margin: 0;
  padding: 20px 24px;
  border-left: 3px solid var(--country-accent);
  border-radius: 2px;
  background: rgba(34, 32, 32, 0.75);
  color: rgba(240, 239, 239, 0.9);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.spot-card--wide {
  grid-column: span 2;
}

.spot-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.spot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-main), rgba(0, 0, 0, 0.2), transparent);
  opacity: 0.9;
}

.spot-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 2px;
  background: var(--country-accent);
  color: var(--bg-main);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.spot-image h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
}

.spot-image h3 b {
  color: var(--country-accent);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.icon-map-pin {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--country-accent);
}

.spot-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
}

.spot-tip {
  margin-top: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(22, 21, 21, 0.9);
}

.spot-tip strong {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--country-accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spot-tip strong b {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.icon-lightbulb {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--country-accent);
}

.spot-tip p {
  margin: 0;
  color: var(--text-main);
  font-style: italic;
}

.site-footer {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
}

.footer-quote {
  color: var(--text-muted);
  font-family: "Roboto", Arial, sans-serif;
  font-style: italic;
  line-height: 1.7;
}

.footer-note p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer h3 {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.footer-note {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(22, 21, 21, 0.38);
}

.footer-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-note span .icon {
  width: 14px;
  height: 14px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--bg-main);
  cursor: pointer;
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
}

.scroll-top .icon {
  width: 22px;
  height: 22px;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce-original {
  0%,
  100% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: translateY(25%);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.55;
  }
}

@media (min-width: 640px) {
  .hero__text {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: clamp(118px, 10.5vw, 136px);
  }

  .hero__text {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: clamp(136px, 9.5vw, 152px);
  }

  .hero__text {
    font-size: 20px;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 168px;
  }
}

@media (max-height: 680px) {
  .hero h1 {
    font-size: clamp(76px, 16vh, 150px);
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 1024px) {
  .country-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 767.98px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
  }

  .gear-grid,
  .spot-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .spot-card--wide {
    grid-column: auto;
  }

  .hero,
  .gear-section,
  .country-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(62px, 18vw, 92px);
    letter-spacing: 0.02em;
  }

  .hero__text,
  .manifesto p:not(.eyebrow) {
    font-size: 16px;
  }

  .outline-button {
    white-space: nowrap;
    font-size: 10px;
    gap: 6px;
    padding: 10px 14px;
    min-width: min-content;
  }

  .country-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
