/* Take Him Somewhere — Costa Rica */
:root {
  --paper: #F0EDE3;
  --paper-2: #F7F5EE;
  --ink: #1C211D;
  --green: #2F5D3A;
  --green-2: #2A5434;
  --sage: #B3D1A8;
  --muted: #535A50;
  --body-2: #3A4038;
  --frame-1: #D8D7C5;
  --frame-2: #E2E1D1;
  --frame-3: #E0DFCE;
  --night: #18211B;
  --bc: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --hand: 'Caveat', cursive;
  --pad-x: clamp(20px, 4vw, 56px);
}

html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
* { box-sizing: border-box; }
a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--sage); }
img, video { display: block; }
figure { margin: 0; }

.page { font-family: var(--serif); font-size: 19px; line-height: 1.55; background: var(--paper); color: var(--ink); overflow-x: clip; }

/* Layout */
.wrap { max-width: 1280px; margin: 0 auto; }
.wrap-narrow { max-width: 1080px; margin: 0 auto; }
.sec { padding: clamp(60px, 10vw, 160px) var(--pad-x); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 6vw, 96px); }
.col { display: flex; flex-direction: column; }
.pretty { text-wrap: pretty; }
.balance { text-wrap: balance; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

/* Type */
.bc { font-family: var(--bc); }
.up { text-transform: uppercase; }
.eyebrow { font-family: var(--bc); font-weight: 600; font-size: 16px; letter-spacing: .22em; text-transform: uppercase; color: var(--green-2); }
.h-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 84px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.display { font-family: var(--bc); font-weight: 800; text-transform: uppercase; }
.label-bold { font-family: var(--bc); font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; color: var(--green-2); }
.italic { font-style: italic; }
.green { color: var(--green-2); }
.note { font-family: var(--hand); font-weight: 500; color: var(--green); }
.note-dark { color: var(--sage); }
.figcap { font-family: var(--bc); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; font-family: var(--bc); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-ink:hover, .btn-paper:hover { background: var(--green); color: var(--paper); }

/* Media */
.frame { position: relative; overflow: hidden; }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bordered field-guide figures */
.fig-box { min-width: 0; max-width: 100%; border: 2px solid var(--ink); background: var(--frame-2); }
.fig-bar { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-top: 2px solid var(--ink); font-family: var(--bc); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; background: var(--paper-2); }
.fig-bar .dim { color: var(--muted); }

/* Responsive line breaks: one breakpoint at 760px */
@media (max-width: 759.98px) {
  .only-wide, .br-wide { display: none; }
}
@media (min-width: 760px) {
  .only-narrow, .br-narrow { display: none; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad-x); background: rgba(240,237,227,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(28,33,29,.12); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; background: #202822; color: var(--paper); padding: clamp(96px,10vw,160px) clamp(24px,4vw,56px) clamp(24px,4vw,56px); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(24,33,27,.15) 0%, rgba(24,33,27,.2) 35%, rgba(24,33,27,.82) 100%); }

/* Check list (Is this you) */
.check-row { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid rgba(28,33,29,.18); align-items: start; }
.check { width: 20px; height: 20px; border: 2px solid var(--ink); position: relative; flex-shrink: 0; }
.check span { position: absolute; left: 5px; top: 0; width: 6px; height: 12px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); }

/* Numbered rows */
.num-row { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(28,33,29,.2); line-height: 1.35; }
.num { font-family: var(--bc); font-weight: 700; font-size: 16px; letter-spacing: .1em; color: var(--green-2); padding-top: 3px; }

/* Adventures */
.adv { display: flex; flex-direction: column; gap: clamp(20px,2.4vw,32px); }
.adv-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-family: var(--bc); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.adv-head .tag { color: var(--muted); font-weight: 600; }
.adv-row { display: flex; flex-wrap: wrap; gap: clamp(20px,4vw,64px); align-items: flex-start; }
.adv-row h3 { flex: 1.5 1 420px; font-family: var(--bc); font-weight: 800; font-size: clamp(44px,5.6vw,88px); line-height: .86; text-transform: uppercase; text-wrap: balance; }
.adv-copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.adv-p { font-size: 20px; line-height: 1.5; color: var(--body-2); text-wrap: pretty; }
.adv-note { font-family: var(--hand); font-weight: 500; font-size: 26px; line-height: 1.05; color: var(--green); white-space: pre-line; }
.adv-split { display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,72px); align-items: flex-end; }
.adv-split figure { min-width: 0; flex: 1 1 380px; max-width: 600px; }
.adv-split .adv-copy { flex: 1 1 320px; gap: 18px; padding-top: 0; padding-bottom: 36px; }
.adv-split h3 { font-family: var(--bc); font-weight: 800; font-size: clamp(60px,8vw,136px); line-height: .82; text-transform: uppercase; text-wrap: balance; }
.adv-split .adv-p { max-width: 460px; }

/* Tags */
.chip { font-family: var(--bc); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 6px 12px; }
.strike { text-decoration: line-through; text-decoration-color: var(--green); text-decoration-thickness: 4px; color: var(--muted); }

/* Contact sheet */
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,220px),1fr)); gap: 52px 12px; padding: 18px 18px 40px; background: #0F1612; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.sheet-frame { position: relative; display: flex; flex-direction: column; gap: 6px; }
.sheet-meta { display: flex; justify-content: space-between; font-family: var(--bc); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #9EA79B; }

/* Grid tiles (included + steps) */
.tiles { display: flex; flex-wrap: wrap; gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.tile { min-width: 0; background: var(--paper-2); display: flex; flex-direction: column; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(28,33,29,.3); }
.faq-q { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: minmax(0,1fr) 40px; gap: 16px; align-items: center; padding: 24px 0; font-family: var(--serif); font-size: clamp(22px,2.2vw,30px); line-height: 1.2; color: var(--ink); }
.faq-q:hover { color: var(--green-2); }
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.faq-icon { font-family: var(--bc); font-weight: 700; font-size: 34px; line-height: 1; text-align: right; color: var(--green-2); }
.faq-a { display: flex; flex-direction: column; gap: 12px; padding: 0 56px 28px 0; font-size: 19px; line-height: 1.55; color: var(--body-2); max-width: 780px; }
.faq-a[hidden] { display: none; }
.faq-a p { text-wrap: pretty; }

/* Form */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-family: var(--bc); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.input { box-sizing: border-box; width: 100%; padding: 12px 14px; background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 0; font-family: var(--serif); font-size: 18px; color: var(--ink); outline: none; }
.input:focus { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.btn-outline { cursor: pointer; font-family: var(--bc); font-weight: 700; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 14px 22px; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.link-dark:hover { color: #F0EDE3 !important; }

/* Honor reduced motion: videos stay on their poster frame */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[hidden] { display: none !important; }
