
/* Horizonte: the shared visual language for Explorers and every trip. */
:root {
  --ink: #123E49;
  --paper: #FFFCF5;
  --acid: #FF9B54;
  --soft: #E5EFF0;
  --muted: #486570;
  --line: #C4D5D7;
  --gutter: max(5vw, calc((100vw - 1320px) / 2));
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --radius: 12px;
  --heading-size: clamp(2.25rem, 4vw, 3.5rem);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.spirit :focus-visible, #precio :focus-visible { outline-color: var(--acid); }
.adventure-card-photo:focus-visible { outline-offset: -5px; outline-color: var(--paper); }
::selection { background: var(--acid); color: var(--ink); }
p { font-size: 1.0625rem; line-height: 1.75; margin: 0 0 1.25em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { font-size: var(--heading-size); line-height: 1.13; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: inherit; color: var(--muted); }
section { scroll-margin-top: 1rem; }
.section { padding: var(--section-space) var(--gutter); }
.section-label, .eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .11em; line-height: 1.5; margin: 0 0 1.5rem; }
.section-label::before, .eyebrow::before { content: ''; width: 1.75rem; height: 2px; background: var(--acid); flex: none; }
.skip { position: fixed; top: -100px; left: 1rem; padding: 1rem; background: var(--acid); z-index: 100; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* Identical masthead on both pages; keep the approved logo artwork. */
.header { min-height: 122px; padding: .75rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); position: relative; z-index: 20; background: var(--paper); }
.brand { display: block; width: 162px; flex: none; }
.logo-crop { position: relative; display: block; width: 100%; aspect-ratio: 1020 / 606; overflow: hidden; mix-blend-mode: multiply; }
.logo-crop img { position: absolute; width: 150.588235%; max-width: none; height: auto; left: -25.490196%; top: -36.633663%; }
.header nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 500; position: relative; }
.header nav a::after { content: ''; position: absolute; height: 2px; bottom: 3px; left: 0; right: 0; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.header nav a:hover::after, .header nav a[aria-current]::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.button, .adventure-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .875rem 1.5rem; border: 1px solid transparent; border-radius: 6px; background: var(--acid); color: var(--ink); font-size: 1rem; line-height: 1.4; font-weight: 600; transition: background .2s, box-shadow .2s; cursor: pointer; }
.button:hover, .adventure-link:hover { background: #FFB47B; box-shadow: 0 4px 16px #123E4912; }
.button:disabled { cursor: not-allowed; box-shadow: none; background: #E6DFD1; color: #4C6268; }

/* Photographs are framed consistently; original group photographs remain uncropped. */
.travel-photo { margin: 0; min-width: 0; }
.travel-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.travel-photo figcaption { padding: .85rem 0 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.photo-place { font-weight: 500; }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3.5vw; align-items: center; padding: 3.5rem var(--gutter) 4rem; }
.hero-content { min-width: 0; }
.hero .eyebrow { margin-bottom: 1.75rem; }
.hero h1 { font-size: clamp(2.75rem, 4.5vw, 4.75rem); font-weight: 400; line-height: 1.1; max-width: 12ch; }
.hero h1 em { display: inline-block; color: var(--ink); margin-top: .4rem; text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.hero .button { margin-top: 2rem; }
.hero-photo { align-self: center; }
.hero-photo img { aspect-ratio: 4 / 3; object-fit: contain; }
.hero-photo figcaption { display: flex; align-items: center; gap: .65rem; }
.hero-photo figcaption::before { content: ''; width: 1.5rem; height: 1px; background: var(--muted); }

/* The next departure is a single, generous editorial card. */
.adventures { background: var(--soft); border-block: 1px solid var(--line); }
.adventures-heading, .manifesto-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.adventures-heading > p { max-width: 22rem; margin: 0; color: var(--muted); }
.adventure-card { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--paper); border: 1px solid #BACDD0; border-radius: var(--radius); overflow: hidden; }
.adventure-card-photo { display: block; min-width: 0; background: var(--soft); overflow: hidden; }
.adventure-card-photo img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; object-position: 100% center; transition: transform .4s; }
.adventure-card-photo:hover img { transform: scale(1.025); }
.adventure-card-body { padding: clamp(1.75rem, 3.5vw, 3.5rem); display: flex; flex-direction: column; align-items: flex-start; }
.adventure-card h3 { font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 1.1; font-weight: 400; margin-bottom: 1.25rem; }
.adventure-card-body > p:not(.section-label):not(.adventure-status) { color: var(--muted); max-width: 35ch; }
.adventure-card-facts { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 0; margin: .5rem 0 1rem; font-size: .9375rem; font-weight: 500; }
.adventure-card-facts p, .adventure-card-date-list { margin: 0; }
.adventure-card-duration { font-weight: 600; }
.adventure-card-departures { display: grid; gap: .1rem; }
.adventure-card-date-list { list-style: none; padding: 0; }
.adventure-status { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.5rem; }
.adventure-status > span { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #238653; box-shadow: 0 0 0 3px #23865318; }
.adventure-link { margin-top: auto; }
.adventure-photo-credit { font-size: .75rem; margin: .75rem 0 0; color: var(--muted); text-align: right; }
.adventure-photo-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* Spacious stories, with one consistent type scale and complete paragraphs. */
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 7vw; }
.intro-copy { max-width: 62ch; color: var(--muted); }
.intro-copy p:first-child { color: var(--ink); }
.intro-copy p:last-child { margin-bottom: 0; }
.travel-pair { display: grid; grid-template-columns: 1.65fr 1fr; gap: 2.5rem; margin-top: 3.5rem; align-items: start; }
.travel-pair > figure:last-child { margin-top: 3.5rem; }
.values { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: clamp(1.1rem, 2.2vw, 2rem); letter-spacing: -.02em; }
.values span[aria-hidden] { width: 1.5rem; height: 2px; background: var(--acid); font-size: 0; flex-shrink: 0; }
.manifesto { background: var(--soft); border-block: 1px solid var(--line); }
.manifesto-lead { max-width: 23rem; font-size: 1.25rem; line-height: 1.6; margin: 0; color: var(--muted); }
.manifesto-opening { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; margin: 3rem 0; }
.manifesto-opening p { margin: 0; color: var(--muted); }
.principles, .questions { border-top: 1px solid #ADC4C8; }
.principle, .question { border-bottom: 1px solid #ADC4C8; }
.principle summary, .question summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.5rem; min-height: 72px; padding: 1.35rem 0; font-size: 1.2rem; font-weight: 500; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }
summary:hover { color: #226478; }
.number { min-width: 2rem; font-size: .8125rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.plus { width: 30px; height: 30px; position: relative; margin-left: auto; border: 1px solid #B4C9CD; border-radius: 50%; flex-shrink: 0; }
.plus::before, .plus::after { content: ''; position: absolute; width: 12px; height: 1px; left: 8px; top: 14px; background: currentColor; transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0); }
details[open] > summary .plus { background: var(--paper); }
.principle-body { max-width: 72ch; margin-left: 3.5rem; padding-bottom: 1.5rem; color: var(--muted); }
.principle-body p:last-child, .story p:last-child { margin-bottom: 0; }
.spirit { background: var(--ink); color: var(--paper); }
.spirit .section-label { color: #D0DFE1; }
.spirit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: end; }
.spirit h2 em { color: var(--acid); }
.spirit-lead { font-size: 1.35rem; line-height: 1.6; max-width: 28rem; margin: 0; color: #D0DFE1; }
.spirit-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5vw; align-items: center; margin-top: 3rem; }
.spirit-photo figcaption, .story p { color: #D0DFE1; }
.story { max-width: 62ch; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; }
.question summary { font-size: 1.0625rem; gap: 1rem; }
.question > div { padding: 0 2.5rem .5rem 0; }
.question p { color: var(--muted); font-size: 1rem; }
.closing { margin: 0 var(--gutter); padding: 1.25rem 0; display: flex; justify-content: flex-end; }
.back-to-top { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: underline; text-underline-offset: 5px; }
footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding: 2rem var(--gutter); border-top: 1px solid var(--line); background: var(--soft); }
.footer-brand { width: 150px; }
.footer-contact { font-size: .9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.footer-contact:hover { text-decoration-color: var(--acid); }
footer p { font-size: .8125rem; color: var(--muted); margin: 0; }

@media (max-width: 1000px) {
  .hero { gap: 2.5rem; grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 5vw, 3.5rem); }
  .header nav { gap: 1.25rem; }
  .header nav a { font-size: .875rem; }
  .adventures-heading, .manifesto-heading { gap: 2rem; }
  .manifesto-opening { column-gap: 2.5rem; }
  .spirit-body { align-items: start; }
}
@media (max-width: 850px) {
  :root { --gutter: 6vw; }
  .header { min-height: 100px; padding-block: .5rem; }
  .brand { width: 142px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; padding: .65rem .875rem; border: 1px solid var(--line); background: transparent; border-radius: 6px; font-size: .9375rem; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter); box-shadow: 0 15px 25px #123E4910; }
  .header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header nav a { min-height: 48px; font-size: 1rem; }
  .header nav a::after { right: auto; width: 2rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.75rem; }
  .hero h1 { max-width: 18ch; font-size: clamp(2.7rem, 7vw, 4rem); }
  .hero-photo { width: 100%; }
  .hero .button { margin-top: 1.75rem; }
  .adventures-heading, .manifesto-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .adventures-heading > p, .manifesto-lead { max-width: 40rem; }
  .intro-grid, .spirit-grid, .spirit-body, .faq { grid-template-columns: 1fr; gap: 2rem; }
  .intro-copy, .story { max-width: none; }
  .intro-grid h2 br { display: none; }
  .travel-pair { gap: 1.5rem; }
  .spirit-lead { max-width: 40rem; font-size: 1.2rem; }
}
@media (max-width: 650px) {
  :root { --heading-size: clamp(2rem, 7.8vw, 2.7rem); }
  .section-label, .eyebrow { font-size: .75rem; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(2.5rem, 9.4vw, 3.5rem); }
  .hero .eyebrow { font-size: .75rem; }
  .adventure-card, .manifesto-opening { grid-template-columns: 1fr; }
  .adventure-card-photo img { min-height: 0; aspect-ratio: 4 / 3; }
  .adventure-card-body { padding: 1.5rem; }
  .adventure-card h3 { font-size: 2.65rem; }
  .adventure-card-facts { font-size: .875rem; }
  .travel-pair { grid-template-columns: 1fr; gap: 2rem; }
  .travel-pair > figure:last-child { margin-top: 0; }
  .values { flex-wrap: wrap; justify-content: center; gap: .6rem; font-size: 1rem; }
  .values span[aria-hidden] { width: .6rem; }
  .manifesto-opening { gap: 1.25rem; margin: 2rem 0; }
  .principle summary { font-size: 1.0625rem; gap: .75rem; }
  .number { min-width: 1.5rem; }
  .principle-body { margin-left: 2.25rem; }
  .question > div { padding-right: 0; }
  p { font-size: 1rem; }
  .footer-brand { width: 142px; }
  footer { justify-content: flex-start; gap: 1rem; }
  .footer-contact, footer > p { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Upcoming Mexico departure: informational while the trip is being prepared. */
.adventure-card + .adventure-card { margin-top: 1.5rem; }
.adventure-status--preparation > span { background: #E6B938; border: 1px solid #927000; box-shadow: 0 0 0 3px #E6B93822; }


.adventure-card-photo--credited { margin: 0; }
.adventure-card-photo--credited figcaption { padding: .75rem 1rem; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.adventure-card-photo--credited figcaption a { text-decoration: underline; text-underline-offset: .15em; }

/* Photo attribution is the final visible block of the home page. */
.footer-photo-credits { flex-basis: 100%; width: 100%; border-top: 1px solid var(--line); padding-top: 1rem; }
.footer-photo-credits p { margin: .25rem 0; font-size: .8125rem; line-height: 1.7; }
.footer-photo-credits a { text-decoration: underline; text-underline-offset: .15em; }

/* Shared trip card layout reserves the same rows for both destinations. */
.adventure-card { grid-template-columns: 1.15fr 1fr; }
.adventure-card-photo { margin: 0; align-self: stretch; }
.adventure-card-photo img { display: block; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; object-position: center; }
.adventure-card-body { display: grid; grid-template-rows: 3rem 2.4em 7.2rem 5.5rem 2.5rem 3.5rem; align-items: stretch; align-content: start; gap: 1rem; font-size: clamp(2.5rem, 3.6vw, 3.5rem); }
.adventure-card-body > * { margin: 0; }
.adventure-card-body .section-label { font-size: .8125rem; line-height: 1.5; }
.adventure-card h3, .adventure-card h3 em { font-family: inherit; font-size: inherit; font-weight: 400; font-style: normal; line-height: 1.1; margin: 0; }
.adventure-card-body > .adventure-card-description { font-size: 1rem; line-height: 1.8; max-width: none; }
.adventure-card-facts { font-size: .9375rem; line-height: 1.5; margin: 0; }
.adventure-status { font-size: .8125rem; line-height: 1.5; margin: 0; }
.adventure-card-actions { min-height: 3.25rem; font-size: 1rem; }
@media (max-width: 650px) {
 .adventure-card { grid-template-columns: 1fr; }
 .adventure-card-photo { aspect-ratio: 4 / 3; }
 .adventure-card-photo img { aspect-ratio: 4 / 3; }
 .adventure-card-body { padding: 1.5rem; font-size: 2.65rem; grid-template-rows: 3rem 2.4em 9rem 5.5rem 2.5rem 3.5rem; }
 .adventure-card-facts { font-size: .875rem; }
}

.adventure-card-body .adventure-status { align-items: flex-start; padding-top: .25rem; }
.adventure-card-body .adventure-status > span { margin-top: .35rem; }
.adventure-card-facts { align-items: flex-start; }
@media (min-width: 360px) and (max-width: 650px) {
 .adventure-card-body { grid-template-rows: 1.5rem 2.4em 7.2rem 5.5rem 1.5rem 3.5rem; }
}
@media (min-width: 1000px) {
 .adventure-card-body { grid-template-rows: 1.5rem 1.3em 3.6rem 5.5rem 1.5rem 3.5rem; }
}
