/* ===== CITY FOODSTERS — LUXURY TRAVEL BRAND ===== */

/* --- Custom Properties --- */
:root {
  --obsidian: #1C1915;
  --raw-umber: #3D3429;
  --aged-leather: #8B7355;
  --sandstone: #C4A97D;
  --raw-linen: #E8DFD0;
  --parchment: #F5F1EA;
  --burnt-sienna: #B85C38;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Switzer', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 72px;
  --section-padding: clamp(56px, 6vw, 96px);
  --content-max: 1280px;
  --content-narrow: 960px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--obsidian);
  background-color: var(--parchment);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

/* --- Utility / Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

.container--narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

/* --- Section Titles --- */
.section-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--aged-leather);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--obsidian);
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-title--light {
  color: var(--parchment);
}

.gold-rule {
  width: 60px;
  height: 1px;
  background: var(--sandstone);
  margin: 24px 0;
}

.gold-rule--center {
  margin: 24px auto;
}

/* =============================================
   1. NAVIGATION HEADER
   ============================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 64px);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: box-shadow 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(196, 169, 125, 0.2);
  background: rgba(245, 241, 234, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.site-logo svg {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}

.site-header.is-scrolled .main-nav a {
  color: var(--raw-umber);
}

.main-nav a:hover {
  color: var(--white);
}

.site-header.is-scrolled .main-nav a:hover {
  color: var(--obsidian);
}

/* Logo color transitions */
.site-logo svg text {
  fill: var(--parchment);
  transition: fill 0.4s ease;
}

.site-logo svg line {
  stroke: var(--sandstone);
}

.site-header.is-scrolled .site-logo svg text {
  fill: var(--obsidian);
}

/* Mobile menu toggle bar colors */
.site-header:not(.is-scrolled) .menu-toggle span {
  background: var(--white);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sandstone);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--obsidian);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* =============================================
   2. HERO SECTION
   ============================================= */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: calc(var(--header-height) * -1);
  padding-top: var(--header-height);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(28, 25, 21, 0.55) 0%,
      rgba(28, 25, 21, 0.2) 12%,
      rgba(28, 25, 21, 0.05) 25%
    ),
    linear-gradient(
      to top,
      rgba(28, 25, 21, 0.8) 0%,
      rgba(28, 25, 21, 0.45) 35%,
      rgba(28, 25, 21, 0.15) 60%,
      transparent 100%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(32px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vh, 120px);
  max-width: 800px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--sandstone);
}

.hero__subtext {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* =============================================
   3. STATS BANNER
   ============================================= */

.stats-banner {
  background: var(--obsidian);
  padding: 48px 0;
}

.stats-banner__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

.stat-item {
  text-align: center;
  padding: 12px clamp(16px, 3vw, 48px);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--sandstone);
  opacity: 0.4;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--parchment);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number sup {
  font-size: 0.5em;
  vertical-align: super;
  line-height: 0;
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sandstone);
}

/* =============================================
   4. DENALI IMAGE SECTION
   ============================================= */

.denali-break {
  position: relative;
  height: clamp(400px, 50vh, 650px);
  overflow: hidden;
}

.denali-break__image {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
}

.denali-break__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.denali-break__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(28, 25, 21, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.denali-break__quote {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(24px, 6vw, 80px);
  max-width: 900px;
}

.denali-break__quote blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 44px);
  font-style: italic;
  line-height: 1.25;
  color: var(--white);
}

.denali-break__quote .gold-rule {
  margin: 24px auto;
  background: var(--sandstone);
}

.denali-break__quote cite {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sandstone);
  font-style: normal;
}

/* =============================================
   5. WORLD MAP
   ============================================= */

.world-map-section {
  padding: var(--section-padding) 0;
  background: var(--parchment);
  text-align: center;
}

.world-map-section .section-label,
.world-map-section .section-title {
  text-align: center;
}

.map-wrapper {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 clamp(16px, 3vw, 48px);
}

.map-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.map-container {
  position: relative;
  width: 100%;
}

/* Interactive Leaflet map: marker, cluster and popup styling lives in /assets/cf-map.css */
#leaflet-map { width: 100%; height: 560px; }

.map-hint {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--aged-leather);
  margin-top: 12px;
  letter-spacing: 0.04em;
}


.map-caption {
  margin-top: 32px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--aged-leather);
}

.map-caption strong {
  font-weight: 500;
  color: var(--obsidian);
}

/* --- Remaining Countries List --- */
.remaining-list {
  margin-top: 40px;
  text-align: center;
}

.remaining-list__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--obsidian);
  margin-bottom: 32px;
}

.remaining-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.remaining-item {
  text-align: center;
  padding: 16px 12px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid rgba(196, 169, 125, 0.15);
  transition: border-color 0.3s;
}

.remaining-item:hover {
  border-color: var(--sandstone);
}

.remaining-item--pole {
  border-color: rgba(184, 92, 56, 0.3);
  background: rgba(184, 92, 56, 0.04);
}

.remaining-item__region {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aged-leather);
  margin-bottom: 6px;
}

.remaining-item__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  color: var(--obsidian);
  line-height: 1.2;
}

/* =============================================
   6. FEATURED DESTINATIONS GRID
   ============================================= */

.destinations-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-top: 36px;
}

.dest-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(28, 25, 21, 0.12);
}

.dest-card__image {
  width: 100%;
  height: 100%;
  min-height: 240px;
}

.dest-card:nth-child(1) {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}

.dest-card:nth-child(1) .dest-card__image {
  min-height: 500px;
}

.dest-card:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
}

.dest-card:nth-child(3) {
  grid-column: 8 / 13;
  grid-row: 2 / 3;
}

.dest-card:nth-child(4) {
  grid-column: 1 / 5;
  grid-row: 3 / 4;
}

.dest-card:nth-child(5) {
  grid-column: 5 / 9;
  grid-row: 3 / 4;
}

.dest-card:nth-child(6) {
  grid-column: 9 / 13;
  grid-row: 3 / 4;
}

.dest-card__image {
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-card:hover .dest-card__image {
  transform: scale(1.03);
}

/* Color gradients for placeholder destinations */
.dest-card--japan .dest-card__image {
  background: linear-gradient(135deg, #8B7355 0%, #3D3429 50%, #B85C38 100%);
}
.dest-card--maldives .dest-card__image {
  background: linear-gradient(135deg, #5a8a7a 0%, #3d6b6b 50%, #C4A97D 100%);
}
.dest-card--antarctica .dest-card__image {
  background: linear-gradient(135deg, #a8b4bf 0%, #6b7d8c 50%, #d5dde3 100%);
}
.dest-card--peru .dest-card__image {
  background: linear-gradient(135deg, #B85C38 0%, #8B7355 50%, #C4A97D 100%);
}
.dest-card--iceland .dest-card__image {
  background: linear-gradient(135deg, #4a5f6c 0%, #2d3e4a 50%, #7a8f9c 100%);
}
.dest-card--myanmar .dest-card__image {
  background: linear-gradient(135deg, #C4A97D 0%, #8B7355 50%, #3D3429 100%);
}

.dest-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(28, 25, 21, 0.75) 0%, transparent 100%);
  color: var(--white);
}

.dest-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  margin-bottom: 4px;
}

.dest-card__teaser {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

/* =============================================
   7. SEVEN SUMMITS TEASER
   ============================================= */

.summits-section {
  padding: var(--section-padding) 0;
  background: var(--obsidian);
  position: relative;
  overflow: hidden;
}

.summits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(196, 169, 125, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(196, 169, 125, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.summits-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Everest featured solo */
.summit-featured {
  max-width: 1100px;
  margin: 40px auto 0;
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(196, 169, 125, 0.12);
}

.summit-item--hero .summit-elevation {
  font-size: clamp(48px, 6vw, 80px);
}

.summit-item--hero .summit-name {
  font-size: 16px;
  letter-spacing: 0.18em;
}

.summit-item--hero .summit-range {
  font-size: 13px;
}

/* Remaining 6: 3-column grid */
.summits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  max-width: 800px;
  margin: 40px auto 0;
}

.summits-grid--3x2 {
  grid-template-columns: repeat(3, 1fr);
}

.summit-item {
  text-align: center;
}

a.summit-item {
  transition: transform .2s ease;
}

a.summit-item:hover {
  transform: translateY(-4px);
}

a.summit-item:hover .summit-name {
  color: var(--sandstone);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.summit-elevation {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--sandstone);
  line-height: 1;
  margin-bottom: 8px;
}

.summit-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--raw-linen);
  margin-bottom: 4px;
}

.summit-range {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  color: var(--aged-leather);
}

.summits-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sandstone);
  border: 1px solid rgba(196, 169, 125, 0.3);
  padding: 16px 36px;
  transition: all 0.3s ease;
}

.summits-cta:hover {
  background: rgba(196, 169, 125, 0.1);
  border-color: var(--sandstone);
}

.summits-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.summits-cta:hover svg {
  transform: translateX(4px);
}

/* =============================================
   8. LATEST ARTICLES
   ============================================= */

.articles-section {
  padding: var(--section-padding) 0;
  background: var(--parchment);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.articles-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

.article-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(28, 25, 21, 0.08);
}

.article-card__image {
  /* Scales with the card instead of a fixed 220px band, so wide cards on big
     screens do not slice the subject; per-card focal points are set inline. */
  aspect-ratio: 16 / 9;
  min-height: 200px;
  max-height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.article-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 21, 0.05);
  transition: background 0.3s;
}

.article-card:hover .article-card__image::after {
  background: rgba(28, 25, 21, 0);
}

/* Placeholder image backgrounds */
.article-card--everest .article-card__image {
  background: linear-gradient(135deg, #8B9DAF 0%, #5C6E7E 50%, #E8DFD0 100%);
}
.article-card--japan .article-card__image {
  background: linear-gradient(135deg, #B85C38 0%, #8B7355 50%, #C4A97D 100%);
}
.article-card--iceland .article-card__image {
  background: linear-gradient(135deg, #3a5568 0%, #6b8a9e 50%, #a8c0d0 100%);
}
.article-card--foliage .article-card__image {
  background: linear-gradient(135deg, #B85C38 0%, #C4A97D 40%, #8B7355 100%);
}

.article-card__body {
  padding: 28px 24px;
}

.article-card__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burnt-sienna);
  margin-bottom: 12px;
  display: inline-block;
}

.article-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--obsidian);
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-card__excerpt {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--aged-leather);
  margin-bottom: 16px;
}

.article-card__date {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--sandstone);
  letter-spacing: 0.05em;
}

/* =============================================
   9. OUR QUEST TEASER
   ============================================= */

.quest-section {
  padding: var(--section-padding) 0;
  background: var(--raw-umber);
  position: relative;
}

.quest-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.quest-text .section-label {
  color: var(--sandstone);
}

.quest-text .section-title {
  color: var(--parchment);
}

.quest-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--raw-linen);
  margin-bottom: 24px;
}

.quest-progress {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.progress-ring {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.progress-ring__bg {
  fill: none;
  stroke: rgba(196, 169, 125, 0.15);
  stroke-width: 3;
}

.progress-ring__fill {
  fill: none;
  stroke: var(--sandstone);
  stroke-width: 3;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-ring__fill--complete {
  stroke: var(--burnt-sienna);
}

.progress-info__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--parchment);
  line-height: 1;
  margin-bottom: 4px;
}

.progress-info__label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sandstone);
}

.quest-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sandstone);
  border-bottom: 1px solid rgba(196, 169, 125, 0.3);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.quest-cta:hover {
  border-color: var(--sandstone);
  color: var(--parchment);
}

/* =============================================
   10. INSTAGRAM
   ============================================= */

.flickr-section {
  padding: clamp(48px, 5vw, 80px) 0;
  background: var(--obsidian);
  overflow: hidden;
}

.flickr-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--raw-linen);
  text-align: center;
  max-width: 640px;
  margin: 24px auto 0;
  opacity: 0.85;
}

.flickr-subtitle strong {
  color: var(--sandstone);
  font-weight: 400;
}

.flickr-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sandstone);
  border: 1px solid rgba(196, 169, 125, 0.3);
  padding: 14px 36px;
  transition: all 0.3s;
}

.flickr-cta:hover {
  background: var(--sandstone);
  color: var(--obsidian);
  border-color: var(--sandstone);
}

/* Instagram Grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  max-width: 100%;
  margin-top: 48px;
}

.ig-grid__item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.ig-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ig-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 21, 0);
  transition: background 0.3s;
}

.ig-grid__item:hover img {
  transform: scale(1.06);
}

.ig-grid__item:hover::after {
  background: rgba(28, 25, 21, 0.12);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--raw-umber);
  color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, background .2s;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--burnt-sienna); }

/* Lightbox */
.ig-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(28, 25, 21, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ig-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ig-lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  width: 90vw;
  max-height: 85vh;
}

.ig-lightbox__img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
  transition: opacity .25s ease;
}

.ig-lightbox__info {
  text-align: center;
  margin-top: 20px;
  padding: 0 16px;
}

.ig-lightbox__caption {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--raw-linen);
  max-width: 520px;
  margin: 0 auto;
}

.ig-lightbox__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sandstone);
  transition: color 0.3s;
}

.ig-lightbox__link:hover {
  color: var(--parchment);
}

.ig-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--parchment);
  font-size: 36px;
  cursor: pointer;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  line-height: 1;
}

.ig-lightbox__close:hover {
  color: var(--sandstone);
}

.ig-lightbox__prev,
.ig-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--parchment);
  font-size: 48px;
  cursor: pointer;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  opacity: 0.7;
}

.ig-lightbox__prev:hover,
.ig-lightbox__next:hover {
  opacity: 1;
  color: var(--sandstone);
}

.ig-lightbox__prev { left: 16px; }
.ig-lightbox__next { right: 16px; }

.ig-lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--aged-leather);
}

/* =============================================
   11. EMAIL SIGNUP
   ============================================= */

.signup-section {
  padding: var(--section-padding) 0;
  background: var(--raw-linen);
  text-align: center;
}

.signup-section .section-title {
  margin-bottom: 16px;
}

.signup-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--aged-leather);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.signup-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--obsidian);
  background: var(--white);
  border: 1px solid var(--raw-linen);
  border-right: none;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}

.signup-form input[type="email"]::placeholder {
  color: var(--aged-leather);
  opacity: 0.7;
}

.signup-form input[type="email"]:focus {
  border-color: var(--sandstone);
}

.signup-form button {
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment);
  background: var(--obsidian);
  border: 1px solid var(--obsidian);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.signup-form button:hover {
  background: var(--raw-umber);
  border-color: var(--raw-umber);
}

.signup-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.signup-confirm {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--aged-leather);
  text-align: center;
  margin-top: 1rem;
}

/* =============================================
   12. FOOTER
   ============================================= */

.site-footer {
  padding: 40px 0 40px;
  background: var(--obsidian);
  color: var(--raw-linen);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  margin-bottom: 32px;
}

.footer-logo svg {
  height: 60px;
  width: auto;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aged-leather);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--sandstone);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(196, 169, 125, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--aged-leather);
}

.footer-social a:hover {
  border-color: var(--sandstone);
  color: var(--sandstone);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(196, 169, 125, 0.15);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copyright {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--aged-leather);
}

.footer-attribution a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  color: var(--aged-leather);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-attribution a:hover {
  opacity: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .summits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--obsidian);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 9999;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav.is-open a,
  .site-header.is-scrolled .main-nav.is-open a {
    color: #FFFFFF !important;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s;
  }

  .main-nav.is-open a:hover,
  .site-header.is-scrolled .main-nav.is-open a:hover {
    color: var(--sandstone) !important;
  }

  .main-nav a {
    font-size: 16px;
    letter-spacing: 0.2em;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 10000;
  }

  /* Turn hamburger into X when nav is open */
  .main-nav.is-open ~ .menu-toggle span,
  .menu-toggle[aria-expanded="true"] span {
    background: var(--parchment);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__content {
    padding: 0 24px;
    padding-bottom: 80px;
  }

  .stats-banner__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-item {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(196, 169, 125, 0.12);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(196, 169, 125, 0.12);
  }

  .stat-item:nth-child(n+3) {
    border-bottom: none;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .articles-grid--2col {
    grid-template-columns: 1fr;
  }

  .summits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .summit-item--hero .summit-elevation {
    font-size: clamp(40px, 5vw, 60px);
  }

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

  .remaining-item--pole {
    grid-column: 1 / -1;
  }

  .ig-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form input[type="email"] {
    border-right: 1px solid var(--raw-linen);
  }

  .footer-nav {
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .summits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ig-lightbox__prev,
  .ig-lightbox__next {
    font-size: 32px;
    width: 40px;
    height: 40px;
  }

  .ig-lightbox__prev { left: 4px; }
  .ig-lightbox__next { right: 4px; }
}

/* =============================================
   SITE-WIDE FIXES & ADDITIONS (April 2026)
   ============================================= */

/* Summit Coming Soon labels */
.summit-item--coming-soon {
  opacity: 0.5;
}

.coming-soon-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-style: italic;
  color: var(--sandstone);
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.summit-coming-soon {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--sandstone);
  margin-top: 4px;
}

/* New destination & story card gradients */
.article-card__image--japan-dest {
  background: linear-gradient(135deg, #2d1b0e 0%, #8B7355 40%, #C4A97D 100%);
}
.article-card__image--maldives {
  background: linear-gradient(135deg, #006994 0%, #00a693 50%, #E8DFD0 100%);
}
.article-card__image--antarctica {
  background: linear-gradient(135deg, #c9d8e8 0%, #7ea8c4 50%, #1a3d5c 100%);
}
.article-card__image--peru {
  background: linear-gradient(135deg, #3d5a23 0%, #8B7355 50%, #C4A97D 100%);
}
.article-card__image--reykjavik {
  background: linear-gradient(135deg, #1a3a5c 0%, #3a6b8a 50%, #a8c8d8 100%);
}
.article-card--everest .article-card__image,
.article-card__image--everest {
  background: linear-gradient(135deg, #8B9DAF 0%, #5C6E7E 50%, #E8DFD0 100%);
}

/* Section more links */
.section-more-link {
  margin-top: 40px;
  text-align: center;
}

.section-more-link a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sandstone);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 169, 125, 0.4);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.section-more-link a:hover {
  color: var(--burnt-sienna);
  border-color: var(--burnt-sienna);
}

/* Denali break "Learn More About Us" button */
.denali-about-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  border: 1px solid rgba(245, 241, 234, 0.4);
  transition: all 0.3s;
}

.denali-about-btn:hover {
  background: rgba(245, 241, 234, 0.15);
  border-color: var(--parchment);
  color: #fff;
}

/* Restaurants section */
.restaurants-section {
  padding: clamp(60px, 6vw, 100px) 0;
}

/* Card grid 2x2 layout */
.card-grid--2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 36px;
}

/* Section CTA link */
.section-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burnt-sienna);
  border-bottom: 1px solid var(--burnt-sienna);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.section-cta:hover {
  color: var(--obsidian);
  border-color: var(--obsidian);
}

/* Denali "Learn More About Us" link */
.denali-about-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sandstone);
  transition: color 0.3s;
}
.denali-about-link:hover {
  color: var(--parchment);
}

@media (max-width: 768px) {
  .card-grid--2x2 {
    grid-template-columns: 1fr;
  }
}

/* 44px tap target for the mobile menu button */
@media (max-width: 768px) { .menu-toggle { padding: 14px 10px; min-height: 44px; box-sizing: border-box; } }
