@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/public-sans-variable.woff2') format('woff2');
}

:root {
  --bg: #e9e3d2;
  --bg-panel: #f1ece0;
  --ink: #182422;
  --ink-soft: #3d4a46;
  --ink-faint: #6a736f;
  --teal: #1e5c57;
  --teal-dark: #164641;
  --terracotta: #b8562f;
  --terracotta-dark: #9c4626;
  --gold: #d9b168;
  --gold-dark: #c79c56;
  --dark-bg: #182422;
  --dark-fg: #efe9da;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  text-wrap: pretty;
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
::selection { background: #a97a1f; color: #f4f0e4; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

h1, h2, h3, .serif { font-family: 'Fraunces', Georgia, serif; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

/* header */
header.site-header {
  display: flex; align-items: center; gap: 28px; padding: 22px 0;
  border-bottom: 2px solid var(--ink);
}
.wordmark {
  display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink);
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
}
.wordmark svg { width: 0.72em; height: 0.72em; margin: 0 0.03em; transform: translateY(0.02em); }
.wordmark.dark { color: var(--dark-fg); }
nav.main-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; margin-left: auto; }
nav.main-nav a { color: var(--ink); text-decoration: none; }
.lang-row { display: flex; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.lang-row span { color: var(--ink); }
.lang-row span.dim { opacity: 0.35; }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 26px; }
.hero h1 { font-weight: 600; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--teal); }
.hero p.lede { font-size: 18px; line-height: 1.6; max-width: 46ch; margin: 30px 0 0; color: var(--ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; padding: 16px 26px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--teal); color: #f2eee2; }
.btn-primary:hover { background: var(--teal-dark); color: #f2eee2; }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 14px 24px; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-accent { background: var(--terracotta); color: #f6f2e6; }
.btn-accent:hover { background: var(--terracotta-dark); color: #f6f2e6; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); }
.fineprint { font-size: 13.5px; line-height: 1.5; color: var(--ink-faint); margin: 22px 0 0; }
.fineprint a { color: var(--terracotta); font-weight: 600; }
.hero-compass { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-compass svg { width: 100%; max-width: 340px; height: auto; }
.compass-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-faint); margin: 0; text-align: center; }

/* how it works */
#how { border-top: 2px solid var(--ink); padding: clamp(40px, 5vw, 68px) 0 clamp(32px, 4vw, 52px); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.how-grid > div { padding: 4px 28px; border-right: 2px solid rgba(24,36,34,0.14); }
.how-grid > div:last-child { border-right: 0; }
.how-num { font-size: 30px; font-weight: 700; color: var(--terracotta); margin: 0 0 14px; }
.how-grid h3 { font-weight: 600; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 12px; }
.how-grid p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 34ch; }

/* dark quiz section */
#quiz { background: var(--dark-bg); color: var(--dark-fg); padding: clamp(48px, 6vw, 88px) 0; }
.quiz-topbar { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid rgba(239,233,218,0.28); padding-bottom: 20px; }
.kicker-gold { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.progress-label { font-size: 13.5px; color: rgba(239,233,218,0.7); margin-left: auto; }
.quiz-grid { display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(28px, 4vw, 52px) 0 0; }
.quiz-grid svg { width: 100%; height: auto; }
.dim-label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(239,233,218,0.55); margin: 0 0 18px; }
.quiz-grid h2 { font-weight: 600; font-size: clamp(30px, 3.9vw, 50px); line-height: 1.08; letter-spacing: -0.025em; margin: 0; max-width: 26ch; }
.quiz-hint { font-size: 14.5px; color: rgba(239,233,218,0.68); margin: 18px 0 0; max-width: 46ch; }
.dark-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; max-width: 460px; }
.dark-input {
  flex: 1 1 220px; min-width: 0; font-family: inherit; font-size: 16px; padding: 15px 16px;
  border: 2px solid rgba(239,233,218,0.4); background: rgba(239,233,218,0.06); color: var(--dark-fg);
}
.group-toggle { display: flex; align-items: center; gap: 10px; margin-top: 24px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.group-box { width: 18px; height: 18px; border: 2px solid rgba(239,233,218,0.55); background: transparent; flex-shrink: 0; }
.group-box.on { background: var(--gold); }
.group-toggle span.label { font-size: 14.5px; color: rgba(239,233,218,0.82); }
.text-link-dark { background: none; border: 0; padding: 0; color: rgba(239,233,218,0.7); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.text-link-dark:hover { color: var(--gold); }

.answer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 34px; }
.answer-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  min-height: 116px; padding: 20px 22px; border: 2px solid rgba(239,233,218,0.35);
  background: transparent; color: var(--dark-fg); font-family: inherit; cursor: pointer;
}
.answer-card:hover { border-color: var(--gold); }
.answer-card.selected { background: var(--gold); color: var(--ink); }
.answer-card .a-label { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
.answer-card .a-note { font-size: 14px; line-height: 1.5; opacity: 0.78; }
.quiz-footrow { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.quiz-footnote { font-size: 13.5px; color: rgba(239,233,218,0.45); }

.reveal-grid { display: grid; grid-template-columns: minmax(0,300px) minmax(0,1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(30px, 4vw, 52px) 0 0; }
.reveal-portrait { border: 2px solid rgba(239,233,218,0.35); max-width: 300px; overflow: hidden; }
.reveal-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.reveal-grid h2 { font-weight: 700; font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.reveal-place { font-family: 'Fraunces', serif; font-size: clamp(20px, 2.2vw, 27px); font-weight: 400; line-height: 1.35; color: var(--gold); margin: 20px 0 0; }
.reveal-characterization { font-size: 16.5px; line-height: 1.65; max-width: 52ch; margin: 22px 0 0; color: rgba(239,233,218,0.86); }
.trait-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trait-chip { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; padding: 8px 13px; border: 1px solid rgba(239,233,218,0.4); color: rgba(239,233,218,0.9); }
.group-callout { margin-top: 24px; padding: 16px 18px; border: 1px dashed rgba(239,233,218,0.4); max-width: 52ch; }
.group-callout .gc-title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.group-callout p { font-size: 14px; line-height: 1.6; color: rgba(239,233,218,0.86); margin: 0; }

/* itinerary */
#itinerary { background: var(--bg-panel); border-bottom: 2px solid var(--ink); }
.itin-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 16px; }
.itin-head h3 { font-weight: 600; font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.02em; margin: 0; }
.itin-summary { font-size: 14px; color: var(--ink-faint); margin-left: auto; }
.itin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 clamp(16px, 2vw, 28px); border-bottom: 2px solid rgba(24,36,34,0.15); }
.itin-row { padding: 26px 24px 26px 0; border-right: 1px solid rgba(24,36,34,0.15); }
.itin-kind { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.itin-title { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; line-height: 1.25; margin: 0 0 8px; overflow-wrap: break-word; hyphens: auto; }
.itin-detail { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 14px; }
.itin-price { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; }
.itin-source { font-size: 12.5px; color: var(--ink-faint); margin: 8px 0 0; }
.itin-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-top: 26px; }
.itin-actions.secondary { padding-top: 14px; }
.itin-note { font-size: 13.5px; color: var(--ink-faint); max-width: 46ch; }
.btn-ghost-dark { display: flex; align-items: center; gap: 8px; background: transparent; color: var(--ink); border: 2px solid var(--ink); font-family: inherit; font-size: 14px; font-weight: 600; padding: 11px 18px; cursor: pointer; }
.btn-ghost-dark:hover { background: var(--ink); color: var(--bg); }

/* regions */
#regions { padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 4vw, 56px); }
.section-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2 { font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.025em; margin: 0; }
.section-head p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 40ch; margin: 0 0 0 auto; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.region-card { border-bottom: 2px solid var(--ink); padding-top: 18px; }
.region-photo { border: 1px solid rgba(24,36,34,0.2); overflow: hidden; }
.region-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.region-card h3 { font-weight: 600; font-size: 24px; letter-spacing: -0.015em; margin: 18px 0 8px; }
.region-places { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }
.region-blurb { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 20px; }

/* experiences */
#database { border-top: 2px solid var(--ink); padding: clamp(40px, 5vw, 68px) 0; }
.experiences-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; margin: 0 -4px; }
.experience-card { flex: 0 0 240px; border-bottom: 2px solid var(--ink); padding: 16px 4px 20px; }
.exp-kind { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 10px; }
.exp-title { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; line-height: 1.25; margin: 0 0 6px; }
.exp-detail { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 12px; min-height: 40px; }
.exp-price { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; }

/* tail */
.tail { border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(40px, 5vw, 68px) 0; }
.tail h2 { font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
.tail p.lede { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin: 20px 0 0; max-width: 44ch; }
.light-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.light-input { flex: 1 1 240px; min-width: 0; font-family: inherit; font-size: 16px; padding: 15px 16px; border: 2px solid var(--ink); background: var(--bg-panel); color: var(--ink); }
.tail .fineprint2 { font-size: 13px; color: var(--ink-faint); margin: 14px 0 0; }
.faq-head { font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; margin: 0 0 24px; }
details.faq-item { border-top: 1px solid rgba(24,36,34,0.22); padding: 16px 0; }
details.faq-item summary { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
details.faq-item p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 12px 0 0; max-width: 48ch; }

/* footer */
footer.site-footer { background: var(--dark-bg); color: rgba(239,233,218,0.78); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: clamp(32px, 4vw, 52px) clamp(20px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.footer-tag { font-size: 13.5px; margin: 0; }
.footer-links { display: flex; gap: 20px; font-size: 13.5px; flex-wrap: wrap; }
.footer-links a { color: rgba(239,233,218,0.78); }
.footer-links a:hover { color: var(--gold); }
.footer-langs { display: flex; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; margin-left: auto; }
.footer-langs span:first-child { color: var(--dark-fg); }

@media (max-width: 860px) {
  .hero, .quiz-grid, .reveal-grid, .tail { grid-template-columns: 1fr; }
  .hero-compass { order: -1; }
  .how-grid > div { border-right: 0; border-top: 2px solid rgba(24,36,34,0.14); padding: 26px 0; }
  .how-grid > div:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 620px) {
  .answer-grid { grid-template-columns: 1fr; }
  .reveal-portrait { max-width: 240px; }
}
