/* ============================================================
   Postcard — Editorial Magazine Aesthetic
   Palette: parchment ground, deep ink, terracotta, muted olive
   Typography: Playfair Display (display) / Inter (body) / JetBrains Mono (prices)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --parchment:      #F5F0E8;
  --parchment-dark: #EDE7DA;
  --ink:            #1C1917;
  --ink-mid:        #44403C;
  --ink-light:      #78716C;
  --terracotta:     #C05E2F;
  --olive:          #7C6E5A;
  --border:         #D6CFC5;
  --border-dark:    #B8B0A5;

  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;
  --mono:   'JetBrains Mono', 'Courier New', monospace;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  96px;
  --space-2xl: 128px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { line-height: 1.65; }

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

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

button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--parchment-dark); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--olive); }

/* ── Selection ───────────────────────────────────────────── */
::selection { background: var(--terracotta); color: var(--parchment); }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
   Fixed, minimal. Ink on parchment with subtle underline.
   ══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 48px;
  background: rgba(245, 240, 232, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-logo span {
  font-weight: 400;
  font-style: italic;
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   HERO — FULL-BLEED EDITORIAL
   Magazine opener: large headline over a full-bleed image.
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28, 25, 23, 0.72) 0%,
    rgba(28, 25, 23, 0.45) 45%,
    rgba(28, 25, 23, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 600;
  color: var(--parchment);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.8);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ── Pill CTA ───────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: all 0.2s;
  border: 1px solid rgba(245, 240, 232, 0.3);
}

.pill:hover {
  background: var(--parchment-dark);
  transform: translateY(-1px);
}

.pill svg { transition: transform 0.2s; }
.pill:hover svg { transform: translateX(3px); }

/* ── Hero scroll cue ────────────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(245, 240, 232, 0.4);
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS — MAGAZINE ASYMMETRIC
   Numbered sections with editorial image/text blocks.
   ══════════════════════════════════════════════════════════ */
.hiw {
  padding: var(--space-2xl) 48px;
}

.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hiw-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.hiw-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hiw-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--ink);
}

.hiw-title em { font-style: italic; }

/* Asymmetric 3-column step grid */
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.hiw-step {
  padding: 48px 40px 56px 0;
  position: relative;
}

.hiw-step:nth-child(2) {
  padding-left: 48px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.hiw-step:last-child { padding-right: 0; }

.step-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  color: var(--border-dark);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.25;
}

.step-body {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
}

.step-body strong {
  color: var(--ink);
  font-weight: 600;
}

/* Step images */
.step-img-wrap {
  margin-top: 28px;
  position: relative;
}

.step-img-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.step-caption {
  font-size: 11px;
  color: var(--ink-light);
  margin-top: 8px;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   DESTINATION GRID — PINTEREST MASONRY
   Full-bleed image cards with city name and price.
   ══════════════════════════════════════════════════════════ */
.destinations {
  padding: var(--space-xl) 48px var(--space-2xl);
  background: var(--parchment-dark);
}

.dest-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.dest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.dest-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
}

.dest-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 400;
  color: var(--ink);
}

.dest-title em { font-style: italic; }

.dest-count {
  font-size: 13px;
  color: var(--ink-light);
  font-weight: 400;
}

/* Masonry-style grid */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 380px 280px;
  gap: 16px;
}

.dest-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.dest-card:nth-child(1) { grid-row: span 2; }

.dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 25, 23, 0.72) 0%,
    rgba(28, 25, 23, 0.1) 50%,
    transparent 100%
  );
  transition: opacity 0.3s;
}

.dest-card:hover .dest-overlay {
  opacity: 0.85;
}

.dest-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
}

.dest-city {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--parchment);
  line-height: 1.15;
  margin-bottom: 4px;
}

.dest-price {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.03em;
}

/* Coming soon placeholder cards */
.dest-card.soon {
  background: var(--parchment);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.dest-card.soon:hover .dest-img { transform: none; }

.soon-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--border-dark);
  margin-bottom: 8px;
}

.soon-city {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-light);
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   SAMPLE SPREAD — PDF PREVIEW
   Editorial mockup showing what a guide looks like.
   ══════════════════════════════════════════════════════════ */
.sample-spread {
  padding: var(--space-2xl) 48px;
}

.spread-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.spread-copy { padding-right: 40px; }

.spread-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.spread-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
}

.spread-title em { font-style: italic; }

.spread-body {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 28px;
}

.spread-creator {
  font-size: 13px;
  color: var(--ink-light);
  font-style: italic;
}

.spread-creator strong {
  color: var(--ink);
  font-weight: 600;
  font-style: normal;
}

/* PDF mockup */
.spread-mockup {
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
}

.spread-mockup::before {
  content: 'SAMPLE';
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--border-dark);
  text-transform: uppercase;
}

.spread-page {
  background: var(--parchment);
  border: 1px solid var(--border);
  padding: 28px 24px;
}

.spread-page-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--border-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
}

.spread-lisbon {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.spread-lisbon-sub {
  font-size: 12px;
  color: var(--ink-light);
  margin-bottom: 24px;
}

.spread-days { display: flex; flex-direction: column; gap: 20px; }

.spread-day {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.spread-day-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.spread-spots { display: flex; flex-direction: column; gap: 5px; }

.spread-spot {
  font-size: 12px;
  color: var(--ink-mid);
  line-height: 1.45;
  padding-left: 10px;
  position: relative;
}

.spread-spot::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta);
}

.spread-spot-title { font-weight: 600; color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   CREATORS SECTION
   Warm, editorial — the creator value proposition.
   ══════════════════════════════════════════════════════════ */
.creators-section {
  padding: var(--space-2xl) 48px;
  background: var(--parchment-dark);
  border-top: 1px solid var(--border);
}

.creators-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.creators-copy { padding-right: 40px; }

.creators-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}

.creators-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
}

.creators-title em { font-style: italic; }

.creators-body {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 36px;
}

.creators-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  margin-bottom: 36px;
}

.creator-stat { display: flex; flex-direction: column; gap: 6px; }

.stat-value {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.4;
  max-width: 100px;
}

/* Creator callout card */
.creator-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  padding: 32px;
}

.creator-card-quote {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.creator-card-quote::before {
  content: '\u201C';
  position: absolute;
  left: -4px;
  top: -8px;
  font-size: 48px;
  color: var(--terracotta);
  font-style: normal;
  line-height: 1;
}

.creator-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.creator-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--parchment-dark);
  border: 1px solid var(--border);
  overflow: hidden;
}

.creator-avatar img { width: 100%; height: 100%; object-fit: cover; }

.creator-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.creator-handle { font-size: 12px; color: var(--ink-light); }

.creator-card-apply {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.apply-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.apply-link:hover { color: var(--terracotta); }

.apply-link svg { transition: transform 0.2s; }
.apply-link:hover svg { transform: translateX(3px); }

/* ══════════════════════════════════════════════════════════
   CLOSING CTA
   ══════════════════════════════════════════════════════════ */
.closing-cta {
  padding: var(--space-2xl) 48px;
  text-align: center;
}

.closing-inner { max-width: 600px; margin: 0 auto; }

.closing-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.closing-headline em { font-style: italic; font-weight: 400; }

.closing-sub {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 40px;
}

.closing-sub span { font-family: var(--mono); color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   FOOTER — MAGAZINE COLOPHON
   ══════════════════════════════════════════════════════════ */
.site-footer {
  padding: 64px 48px 48px;
  border-top: 1px solid var(--border);
  background: var(--parchment);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-brand { grid-column: span 1; }

.footer-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--ink-light);
  font-style: italic;
}

.footer-nav-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 13px;
  color: var(--ink-mid);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  font-size: 11px;
  color: var(--ink-light);
}

.footer-legal a { margin-left: 20px; transition: color 0.2s; }
.footer-legal a:hover { color: var(--ink); }

.footer-edition {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--border-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hiw-steps {
    grid-template-columns: 1fr;
  }

  .hiw-step:nth-child(2) {
    padding-left: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .hiw-step { padding: 36px 0; }

  .dest-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .dest-card:nth-child(1) { grid-row: span 1; }

  .spread-inner,
  .creators-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .spread-copy,
  .creators-copy { padding-right: 0; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  .site-nav { padding: 18px 24px; }
  .nav-links { display: none; }

  .hero-content { padding: 100px 24px 60px; }
  .hero-scroll { left: 24px; bottom: 28px; }

  .hiw, .destinations, .sample-spread,
  .creators-section, .closing-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .dest-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand { grid-column: span 1; }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal a { margin: 0 10px; }
}