/* =========================================================
   Trips First — site styles (photo-first layout)
   The photos carry the color. The page stays quiet around them.
   ========================================================= */
:root {
  --bg: #FFFDF9;          /* page background, warm white */
  --sand: #F6F1EA;        /* soft section background */
  --ink: #1B2430;         /* text + primary buttons */
  --muted: #5B6573;       /* secondary text */
  --line: #ECE6DC;        /* hairlines */
  --accent: #FF7F50;      /* coral: logo, highlights, hover */
  --accent-ink: #D9582D;  /* coral dark enough for small text + links */
  --white: #FFFFFF;
  --radius: 14px;
  --max: 1200px;
  --read: 700px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--read); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .76rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: .8rem;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 99; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 800; font-size: .98rem;
  padding: .9em 1.6em; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--white); text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.alt { background: transparent; color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.light:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn.ghost-light:hover { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo em { font-style: italic; color: var(--accent); }
.logo-mark { display: none; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-ink); }
.nav-links a.btn { color: var(--white); padding: .6em 1.2em; font-size: .88rem; }
.nav-links a.btn:hover { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 10px; width: 44px; height: 40px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }

/* Home page: header floats over the hero photo */
.home .site-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; backdrop-filter: none; }
.home .logo, .home .nav-links a { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.home .nav-links a.btn { background: var(--white); color: var(--ink); border-color: var(--white); text-shadow: none; }
.home .menu-toggle { color: var(--white); border-color: var(--white); }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 24px 1.2rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .7rem 0; }
  .home .nav-links a { color: var(--ink); text-shadow: none; }
  .home .nav-links a.btn { background: var(--ink); color: var(--white); border-color: var(--ink); display: inline-flex; margin-top: .5rem; }
}

/* ---------- Hero (full-bleed photo) ---------- */
.hero-photo { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,35,.35) 0%, rgba(10,20,35,0) 18%), linear-gradient(90deg, rgba(10,20,35,.55) 0%, rgba(10,20,35,.2) 38%, rgba(10,20,35,0) 58%), linear-gradient(0deg, rgba(10,20,35,.35) 0%, rgba(10,20,35,0) 32%); }
@media (max-width: 700px) { .hero-photo::after { background: linear-gradient(180deg, rgba(10,20,35,.5) 0%, rgba(10,20,35,0) 25%, rgba(10,20,35,.2) 45%, rgba(10,20,35,.8) 100%); } }
.hero-photo .wrap { position: relative; z-index: 2; padding-bottom: 72px; }
.hero-photo h1 { max-width: 15ch; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero-photo p { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero-photo h1 em { font-style: italic; color: #FFB08F; }
.hero-photo p { font-size: 1.2rem; max-width: 40ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.photo-credit { position: absolute; right: 24px; bottom: 20px; z-index: 2; font-size: .78rem; opacity: .8; font-style: italic; }
@media (max-width: 700px) { .hero-photo { min-height: 82vh; } .hero-photo .wrap { padding-bottom: 48px; } .photo-credit { display: none; } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.intro { text-align: center; }
.intro .lede { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.5; letter-spacing: -.005em; max-width: 38ch; margin: 0 auto 1.2rem; color: var(--ink); }
.intro .promise { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.rule { width: 56px; height: 3px; background: var(--accent); border: 0; margin: 0 auto 1.6rem; border-radius: 3px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.band-sand { background: var(--sand); }

/* ---------- Story tiles ---------- */
.stories { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 28px; }
.story { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; min-height: 300px; background: var(--ink); }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story:hover img { transform: scale(1.04); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,35,0) 25%, rgba(10,20,35,.9) 100%); }
.story .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; z-index: 2; }
.story h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin: .3rem 0 .4rem; }
.story p { margin: 0; font-size: .95rem; opacity: .9; }
.story .kicker { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #FFB08F; }
.story.big { grid-row: span 2; min-height: 620px; }
.story:hover { color: var(--white); }
.story.soon .kicker::after { content: " · coming soon"; color: rgba(255,255,255,.75); }
@media (max-width: 860px) { .stories { grid-template-columns: 1fr; } .story.big { grid-row: auto; min-height: 440px; } }

/* ---------- Blog grid (blog page) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.card .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--sand); }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .photo img { transform: scale(1.04); }
a.card:hover { color: var(--ink); }
a.card:hover h3 { color: var(--accent-ink); }
.card h3 { margin-bottom: .35em; transition: color .2s; }
.card p { font-size: .96rem; color: var(--muted); margin-bottom: .6em; }
.card .meta { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.card.soon { opacity: .7; }
.tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .5rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button { font-family: var(--font-body); font-weight: 700; font-size: .88rem; padding: .5em 1.1em; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--line); background: transparent; color: var(--ink); }
.filters button:hover { border-color: var(--ink); }
.filters button.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split p { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split > img { aspect-ratio: 4 / 3; } }

/* ---------- Instagram mosaic ---------- */
.ig-head { text-align: center; margin-bottom: 32px; }
.ig-head a { font-weight: 800; text-decoration: none; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ig-grid a { display: block; aspect-ratio: 1; overflow: hidden; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.ig-grid a:hover img { transform: scale(1.06); opacity: .9; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; max-width: 620px; margin: 0 auto; }
.newsletter p { color: var(--muted); }
.newsletter .slot { margin-top: 1.4rem; font-weight: 700; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C1CC; padding: 64px 0 36px; font-size: .94rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .logo { color: var(--white); display: inline-block; margin-bottom: .6rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Post pages
   ========================================================= */
.post-hero { padding: 56px 0 20px; }
.post-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.post-hero .dek { font-size: 1.2rem; color: var(--muted); }
.byline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: .9rem; color: var(--muted); font-weight: 700; margin-top: 1rem; }
.byline .dot { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; opacity: .5; }
.post-cover { margin: 24px auto 44px; }
.post-cover .photo { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.post-cover .photo img { width: 100%; height: 100%; object-fit: cover; }
.post-cover figcaption { font-size: .84rem; color: var(--muted); margin-top: .7rem; text-align: center; font-style: italic; }
.photo .ph-label { display: none; }

.prose { padding-bottom: 48px; }
.prose h2 { margin-top: 1.9em; font-size: 1.9rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.3em; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .94rem; }
.prose th, .prose td { padding: .75em .8em; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.table-scroll { overflow-x: auto; }

.callout { background: var(--sand); border-radius: var(--radius); padding: 22px 26px; margin: 1.8em 0; }
.callout.sun { background: #FFF4E3; }
.callout.coral { background: #FFEDE6; }
.callout strong:first-child { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: .3em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.disclosure { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 32px; }

a.aff { font-weight: 800; }
a.aff::after { content: " \2197"; font-size: .8em; }

/* Numbers you still need to fill in. Search the site for class="fill" before launch. */
mark.fill { background: #FFE58F; color: var(--ink); padding: 0 .3em; border-radius: 4px; font-weight: 800; }

.post-footer { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 24px; }
.share { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-weight: 800; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Destination tiles ---------- */
.dests { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.dest { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); }
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest:hover img { transform: scale(1.05); }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,35,0) 50%, rgba(10,20,35,.75) 100%); }
.dest span { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.15; }
.dest:hover { color: var(--white); }
@media (max-width: 960px) { .dests { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .dests { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gallery (masonry) ---------- */
.masonry { columns: 3 300px; column-gap: 14px; }
.g-item { display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 10px; overflow: hidden; background: var(--sand); }
.g-item img { width: 100%; height: auto; transition: transform .5s ease, opacity .3s; }
.g-item:hover img { transform: scale(1.03); opacity: .92; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,16,22,.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; padding: 10px 16px; line-height: 1; opacity: .85; }
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cfd6df; font-size: .9rem; margin: 0; }
@media (max-width: 600px) { .lightbox { padding: 56px 8px; } }

/* Photos inside blog posts */
.prose figure.inline { margin: 2em 0; }
.prose figure.inline img { width: 100%; border-radius: var(--radius); }
.prose figure.inline figcaption { font-size: .84rem; color: var(--muted); font-style: italic; text-align: center; margin-top: .6rem; }

/* Two equal story tiles */
.stories.two { grid-template-columns: 1fr 1fr; }
.stories.two .story { min-height: 520px; }
@media (max-width: 860px) { .stories.two { grid-template-columns: 1fr; } .stories.two .story { min-height: 420px; } }

/* Seven destination tiles */
.dests { grid-template-columns: repeat(7, 1fr); gap: 14px; }
.dest span { font-size: 1.05rem; }
@media (max-width: 1100px) { .dests { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .dests { grid-template-columns: repeat(2, 1fr); } }
