/* ==========================================================================
   Lorraine Simpson Travels — Design System
   Concept: a well-worn atlas and flight log — ink navy, aged parchment,
   brass instrumentation, and a hand-traced route line that recurs as the
   signature motif (literally the shape of the routes she hosts).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,0..100,0..1&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #1C2B39;
  --ink-soft: #2A3D51;
  --parchment: #EFE6D8;
  --parchment-light: #FBF7EF;
  --cream: #FBF8F2;
  --brass: #B8863E;
  --brass-light: #D4A85F;
  --teal: #2F5D62;
  --teal-light: #4A7F84;
  --charcoal: #2A2622;
  --line: rgba(28, 43, 57, 0.14);

  --display: 'Fraunces', serif;
  --body: 'Public Sans', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 500; font-variation-settings: 'SOFT' 0, 'WONK' 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--brass); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
  margin-bottom: 0.9em;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo span { color: var(--brass); }

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

nav.main-nav a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover { color: var(--brass); }
nav.main-nav a.current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--brass);
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--parchment-light);
    flex-direction: column;
    padding: 32px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  nav.main-nav.open { transform: translateX(0); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--ink);
    cursor: pointer;
  }
}

/* ---------- Route-line motif (signature element) ---------- */
.route-divider {
  width: 100%;
  height: 34px;
  margin: 0 auto;
}
.route-divider svg { width: 100%; height: 100%; display: block; }
.route-divider path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
  stroke-dasharray: 1 9;
  stroke-linecap: round;
}
.route-divider circle { fill: var(--teal); }

/* ---------- Hero ---------- */
.page-collage-banner {
  width: 100%;
  height: clamp(240px, 26vw, 380px);
  overflow: hidden;
}
.page-collage-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.media-collage-banner img {
  object-position: center top;
}
@media (max-width: 600px) {
  .page-collage-banner { height: 210px; }
}

.hero {
  background: var(--ink);
  color: var(--parchment-light);
  padding: 120px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(184,134,62,0.14), transparent 45%),
                     radial-gradient(circle at 85% 75%, rgba(47,93,98,0.28), transparent 50%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { color: var(--cream); max-width: 15ch; }
.hero .lede {
  font-size: 1.2rem;
  color: rgba(251,248,242,0.78);
  max-width: 46ch;
  margin-top: 20px;
}
.hero .wrap.two-col {
  align-items: center;
  gap: 60px;
}
.hero-photo-wrap {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(251,248,242,0.15);
  aspect-ratio: 4/5;
}
.hero-photo-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
@media (max-width: 800px) {
  .hero .wrap.two-col { grid-template-columns: 1fr; }
  .hero-photo-wrap { margin-top: 30px; max-width: 420px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-light); color: var(--ink); }
.btn-outline { border-color: rgba(251,248,242,0.4); color: var(--cream); }
.btn-outline:hover { border-color: var(--brass); color: var(--brass-light); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-soft); color: var(--cream); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.trip-card {
  background: var(--parchment-light);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.trip-card .trip-photo {
  height: 190px;
  background: linear-gradient(135deg, var(--teal), var(--ink));
  position: relative;
}
.trip-card .trip-body { padding: 26px 26px 28px; }
.trip-card .trip-date {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  text-transform: uppercase;
}
.trip-card h3 { margin-top: 8px; }
.trip-card .route {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 12px 0;
  line-height: 1.7;
}
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(184,134,62,0.16);
  color: var(--brass);
  margin-bottom: 10px;
}
.badge.soon { background: rgba(47,93,98,0.14); color: var(--teal); }

/* ---------- Sections ---------- */
.section-parchment { background: var(--parchment); }
.section-ink { background: var(--ink); color: var(--parchment-light); }
.section-ink h2 { color: var(--cream); }
.section-ink p { color: rgba(251,248,242,0.78); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}

.stat-row {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.stat { }
.stat .num {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--brass);
  display: block;
}
.stat .label {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.pull-photo {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--teal-light), var(--ink));
}

/* ---------- Timeline (itinerary) ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background-image: linear-gradient(var(--brass) 60%, transparent 0%);
  background-size: 2px 10px;
  background-repeat: repeat-y;
}
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--teal);
}
.timeline-item .day-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

/* ---------- Award / credential strip ---------- */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cred-pill {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--parchment-light);
}

/* ---------- Quote block ---------- */
.quote-block {
  border-left: 3px solid var(--brass);
  padding-left: 26px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink);
  margin: 30px 0;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(251,248,242,0.72);
  padding: 60px 0 34px;
}
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  footer.site-footer .foot-grid { grid-template-columns: 1fr; }
}
footer.site-footer h4 {
  color: var(--brass-light);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
footer.site-footer a { color: rgba(251,248,242,0.78); display: block; margin-bottom: 8px; }
footer.site-footer a:hover { color: var(--brass-light); }
footer .foot-bottom {
  border-top: 1px solid rgba(251,248,242,0.14);
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(251,248,242,0.55);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
ul.check li { padding-left: 26px; position: relative; }
ul.check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 700;
}
