@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
  --color-primary: #1a365d;
  --color-secondary: #c53030;
  --color-accent: #38a169;
  --color-bg: #f7fafc;
  --color-surface: #ffffff;
  --color-text: #2d3748;
  --color-muted: #4a5568;
  --color-border: #dfe7ef;
  --shadow-soft: 0 12px 28px rgba(26, 54, 93, 0.08);
  --radius: 14px;
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top right, #edf4ff 0%, var(--color-bg) 48%, #f5f8fb 100%);
  color: var(--color-text);
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-secondary);
}

.container {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 1.2rem;
}

.site-header {
  backdrop-filter: blur(8px);
  background: rgba(247, 250, 252, 0.93);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 4.2rem;
  gap: 1rem;
}

.brand,
.nav-list a,
h1,
h2,
h3,
.eyebrow,
.subtitle {
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.brand {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
}

.nav-list a.active,
.nav-list a:hover {
  background: #e4edf7;
  color: var(--color-primary);
}

.site-main {
  min-height: 70vh;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-inner {
  max-width: 860px;
}

.hero-split {
  align-items: center;
  display: flex;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  max-width: 540px;
}

.hero-visual {
  flex: 0 0 380px;
}

.hero-image {
  border-radius: var(--radius);
  height: auto;
  width: 100%;
}

.eyebrow {
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1 {
  color: var(--color-primary);
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.1;
  margin: 0;
}

.lead {
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  margin: 1.1rem 0;
  max-width: 44ch;
}

.hero-meta {
  color: var(--color-muted);
  font-size: 1.03rem;
  margin: 0;
}

.section-block {
  padding-bottom: 4rem;
}

h2 {
  color: var(--color-primary);
  font-size: 1.55rem;
  margin-top: 0;
}

h3 {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: inherit;
  display: block;
  padding: 1.15rem 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.card:hover,
.card:hover {
  box-shadow: 0 14px 30px rgba(26, 54, 93, 0.12);
  transform: translateY(-2px);
}

.card p {
  color: var(--color-muted);
  margin: 0;
}

.page-shell {
  padding: 3rem 1.2rem 4rem;
}

.page-header {
  margin-bottom: 1.2rem;
}

.subtitle {
  color: var(--color-muted);
  font-size: 1rem;
  margin: 0.2rem 0 0;
}

.prose {
  max-width: 76ch;
}

.prose h2 {
  margin-top: 2.1rem;
}

.prose h3 {
  margin-top: 1.3rem;
}

.prose ul {
  padding-left: 1.1rem;
}

.headshot {
  border-radius: 50%;
  float: right;
  height: auto;
  margin: 0 0 1.5rem 2rem;
  width: 180px;
}

.page-image {
  border-radius: var(--radius);
  height: 280px;
  margin: 0 0 1.5rem;
  object-fit: cover;
  width: 100%;
}

.card img {
  border-radius: 8px;
  height: auto;
  margin-bottom: 0.75rem;
  width: 100%;
}

@media (max-width: 760px) {
  .headshot {
    display: block;
    float: none;
    margin: 0 auto 1.5rem;
  }
}

.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
  padding: 1.1rem 0;
}

.footer-inner {
  align-items: center;
  color: var(--color-muted);
  display: flex;
  font-size: 0.95rem;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0.2rem 0;
}

/* Travel map */

.travel-progress {
  align-items: center;
  display: flex;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.travel-count {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.progress-bar {
  background: var(--color-border);
  border-radius: 999px;
  flex: 1;
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  background: var(--color-secondary);
  border-radius: 999px;
  height: 100%;
  transition: width 0.4s ease;
}

.travel-map {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  height: 500px;
  width: 100%;
}

.map-tooltip {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Travel photo carousel */

.travel-carousel-wrap {
  margin-bottom: 2.5rem;
  max-width: 600px;
  position: relative;
}

.travel-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.travel-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
  scroll-snap-align: start;
}

.carousel-slide img {
  border-radius: var(--radius);
  display: block;
  max-height: 400px;
  object-fit: contain;
  width: 100%;
}

.carousel-caption {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  border-radius: 0 0 var(--radius) var(--radius);
  bottom: 0;
  color: #fff;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  left: 0;
  padding: 2rem 0.85rem 0.65rem;
  position: absolute;
  right: 0;
}

.carousel-btn {
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  height: 2.4rem;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  z-index: 2;
}

.carousel-btn:hover {
  background: #e4edf7;
}

.carousel-btn--prev {
  left: 0.5rem;
}

.carousel-btn--next {
  right: 0.5rem;
}

/* Responsive */

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-list {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .hero-split {
    flex-direction: column;
  }

  .hero-visual {
    flex: none;
    width: 100%;
  }

  .travel-map {
    height: 350px;
  }

  .carousel-slide {
    flex: 0 0 90%;
  }

  .carousel-slide img {
    max-height: 280px;
  }

  .carousel-btn {
    display: none;
  }
}
