@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --departure-pink: #f92f82;
  --departure-purple: #440c42;
  --departure-yellow: #fff170;
}

.commercial-hero { min-height: min(748px, 89svh); }
.commercial-hero h1 { margin-bottom: .25em; }
.commercial-hero-copy { padding-block: 3.4rem 6.9rem; }
.hero-photo { overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; }
.hero-photo img[src*="grupo"] { object-position: 50% 64%; }
.hero-photo img[src*="laguna"] { object-position: 52% 51%; }
.hero-photo img { animation: travel-camera 16s ease-out both; animation-play-state: paused; }
.reel-running .hero-photo img { animation-play-state: running; }
@keyframes travel-camera {
  from { transform: scale(1.025); }
  to { transform: scale(1.115) translateX(-.9%); }
}

.reel-strip {
  position: absolute;
  inset: auto 0 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}
.reel-strip .hero-location {
  position: static;
  margin-left: auto;
  font-weight: 640;
  padding: .48rem .7rem;
}
.reel-controls {
  display: flex;
  gap: .15rem;
  align-items: center;
  padding: .28rem;
  background: #062b36ee;
  border: 1px solid #acded480;
  border-radius: 2rem;
}
.reel-controls[hidden] { display: none; }
.reel-controls button {
  min-height: 38px;
  padding: .45rem .75rem;
  border: 0;
  border-radius: 5rem;
  background: transparent;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.reel-controls button[aria-pressed=true] { color: var(--four-ink); background: var(--four-mint); }
.reel-controls button[data-reel-toggle] { text-decoration: underline; text-underline-offset: .23rem; }
.segment { min-height: 225px; border-radius: .3rem; }
.segment:first-child { transform: translateY(.6rem); }
.segment:nth-child(3) { transform: translateY(.95rem); }
.segment::after {
  content: "↗" / "";
  position: absolute;
  inset: 12px 12px auto auto;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff9ee;
  color: var(--four-ink);
  font-weight: 800;
}
.segment:nth-child(2)::after { background: var(--four-mint); }
.segment:nth-child(3)::after { background: var(--departure-yellow); }
.segment:nth-child(4)::after { background: #ffacd1; }
.segment>span { inset: auto .82rem .82rem; }

.next-chapter {
  position: relative;
  background-color: var(--departure-pink);
  background-image: repeating-linear-gradient(125deg,transparent 0 98px,#56052c26 99px 100px,transparent 101px 168px);
  color: var(--departure-purple);
  overflow: hidden;
}
.chapter-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.16fr);
  grid-template-areas: "copy visual" "copy ticket";
  align-items: center;
  column-gap: clamp(1.3rem,3.7vw,3rem);
  padding-block: clamp(2.8rem,5.9vw,5.7rem);
}
.chapter-copy { grid-area: copy; position: relative; z-index: 1; }
.chapter-copy h2 {
  font-family: "Barlow Condensed","Arial Narrow",Impact,sans-serif;
  font-weight: 800;
  font-size: clamp(5.8rem,12.3vw,11.8rem);
  text-transform: uppercase;
  margin: .115em 0 .18em;
  letter-spacing: -.038em;
  line-height: .72;
}
.chapter-copy h2 em { font-style: normal; color: #fff8ea; }
.chapter-byline {
  color: var(--departure-purple);
  font-size: .92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .075em;
  line-height: 1.32;
}
.chapter-promise {
  font-size: clamp(1.32rem,2.9vw,2.5rem);
  line-height: 1.07;
  letter-spacing: -.035em;
  font-weight: 790;
  margin: .8em 0 .4em;
}
.chapter-note { font-size: .85rem; font-weight: 760; margin: .65rem 0 0; }
.chapter-visual {
  position: relative;
  grid-area: visual;
  margin: 0 0 0 clamp(.4rem,4vw,3rem);
  transition: transform .35s ease-out;
}
.chapter-visual img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.chapter-visual figcaption {
  position: absolute;
  inset: .55rem .55rem auto auto;
  max-width: calc(100% - 1.1rem);
  font-size: .7rem;
  background: #461735ee;
  color: white;
  padding: .36rem .53rem;
}
.chapter-ticket {
  grid-area: ticket;
  position: relative;
  margin: -7% clamp(.4rem,3vw,2.6rem) 0 0;
  padding: clamp(1rem,3vw,2.2rem);
  background: #fffaf0;
  border-left: .45rem solid var(--departure-yellow);
  box-shadow: 0 1.35rem 2.5rem #36052126;
}
.chapter-ticket h3 { font-size: clamp(1.5rem,3.4vw,2.6rem); letter-spacing: -.06em; margin: 0 0 .5em; }
.chapter-ticket>p { margin-bottom: 1rem; font-size: .82rem; }
.chapter-fares { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.chapter-fares div { display: grid; gap: .15rem; }
.chapter-fares strong { font-size: clamp(1.38rem,3vw,2.4rem); line-height: 1.07; letter-spacing: -.05em; }
.chapter-fares span,.chapter-fares small { font-size: .8rem; }
.chapter-ticket .outline { border-color: #4a193ba0; color: var(--departure-purple); background: transparent; }

.escape-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1rem; }
.escape-card {
  grid-column: span 5;
  border: 0;
  border-radius: .35rem;
  background: #f2f9f5;
}
.escape-card:nth-child(4n+1),.escape-card:nth-child(4n+4) { grid-column: span 7; }
.escape-card>img,.escape-card>.escape-art { aspect-ratio: unset; height: clamp(145px,24vw,320px); }
.escape-card:nth-child(4n+2)>div { background: #d8fff5; }
.escape-card:nth-child(4n+3)>div { background: #fbe0ed; }
.escape-card>div { background: #f6efdd; }
.escape-card h3 a { display: flex; justify-content: space-between; align-items: baseline; gap: .45rem; }
.escape-card h3 a span { flex: 0 0 auto; font-size: .9em; }
.escape-card:is(:hover,:focus-within) h3 a { text-decoration: underline; text-underline-offset: .19rem; }
.escape-card .eyebrow { min-height: auto; }

.destination-gallery { display: grid; gap: clamp(.7rem,2.5vw,1.6rem); }
.destination-gallery a { text-decoration: none; }
.destination-gallery figcaption { display: flex; gap: .5rem; justify-content: space-between; color: var(--four-ink); margin-top: .7rem; }
.destination-gallery figcaption span { font-size: 1.1rem; }
.destination-gallery img { object-fit: cover; border-radius: .3rem; }
.travel-gallery { grid-template-columns: 1.15fr .85fr; }
.travel-gallery figure,.story-image,.field-gallery figure,.route-days figure { margin: 0; }
.travel-gallery img { width: 100%; aspect-ratio: 1.44; }
.commercial-story { background: #ffe5ef; }
.story-image img { width: 100%; display: block; aspect-ratio: 1.55; object-fit: cover; border-radius: .3rem; }
.story-image figcaption,.field-gallery figcaption,.route-days figcaption { font-size: .79rem; padding-top: .48rem; line-height: 1.3; }

.field-gallery {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 1.15rem .85rem;
}
.field-gallery figure { grid-column: span 3; }
.field-gallery figure:first-child { grid-column: span 6; }
.field-gallery figure:nth-child(4),.field-gallery figure:nth-child(5) { grid-column: span 6; }
.field-gallery figure:nth-child(8) { grid-column: span 6; }
.field-gallery img {
  width: 100%;
  display: block;
  height: clamp(180px,21vw,290px);
  object-fit: cover;
  border-radius: .3rem;
}
.field-gallery figure:last-child img { object-position: 50% 30%; }
.academic-section .actions { margin-top: 1.5rem; }

.travel-detail .travel-masthead { grid-template-columns: .92fr 1.08fr; gap: clamp(1.3rem,4vw,3.5rem); }
.travel-detail .travel-masthead img { border-radius: .35rem; }
.riviera-itinerary { background: #e4f8ef; }
.riviera-film {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(1rem,5vw,5rem);
  margin-bottom: clamp(1.4rem,5vw,4rem);
}
.riviera-film h3 { font-size: clamp(2.4rem,5vw,4.4rem); letter-spacing: -.08em; }
.route-days {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(1rem,3.5vw,2.3rem);
}
.route-days li { border-bottom: 1px solid #93b6ae; padding-bottom: 1rem; }
.route-days li>div { padding: 1rem 0 .3rem; }
.route-days img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: .3rem; }
.route-days li:nth-child(5) img { object-fit: contain; background: #0c514f; }
.route-days h3 { font-size: clamp(1.25rem,2.2vw,1.8rem); margin: .42rem 0; }
.day-number {
  display: inline-block;
  border: 1px solid #387b73;
  color: #184841;
  border-radius: 30px;
  padding: .19rem .7rem;
  font-size: .81rem;
  font-weight: 800;
}
.control-workspace .panel { border-top: 2px solid #4aab9c; }
[data-surface=portal] .pass { background: linear-gradient(145deg,#006a69,#102a32 75%); }
.presentation-path { max-width: 54rem; margin: auto; padding: 3rem 1.35rem; }
.presentation-path h1 { font-size: clamp(2.7rem,7vw,5.5rem); }
.presentation-path li { margin: .75em 0; }
.presentation-path nav { display: flex; flex-wrap: wrap; gap: .8rem; }
.presentation-path code { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .chapter-copy h2 { font-size: clamp(5.5rem,13vw,8.6rem); }
  .route-days { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .segment { min-height: 0; }
}

@media (max-width: 650px) {
  .commercial-hero { min-height: clamp(555px,80svh,660px); }
  .commercial-hero-copy { padding-bottom: 8.35rem; }
  .hero-photo img[src*="grupo"] { object-position: 50% center; }
  .reel-strip { flex-direction: column; align-items: flex-start; gap: .45rem; bottom: .7rem; }
  .reel-strip .hero-location { margin-left: 0; font-size: .7rem; }
  .reel-controls button { min-height: 36px; padding-inline: .44rem; font-size: .74rem; }
  .chapter-frame { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "visual" "ticket"; gap: 1.25rem; }
  .chapter-copy h2 { font-size: clamp(4.9rem,21vw,7.5rem); }
  .chapter-visual { margin-left: 1rem; }
  .chapter-ticket { margin: -15% .65rem 0 0; }
  .segment:first-child,.segment:nth-child(3) { transform: none; }
  .escape-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .escape-card:nth-child(n) { grid-column: auto; }
  .escape-card:first-child { grid-column: span 2; }
  .escape-card .eyebrow { font-size: .66rem; }
  .escape-card h3 { overflow-wrap: anywhere; font-size: clamp(1.12rem,5vw,1.5rem); }
  .destination-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .postcards figure:last-child img { aspect-ratio: 1.1; }
  .destination-gallery.postcards a:first-child { grid-column: span 2; }
  .destination-gallery.postcards a:first-child img { aspect-ratio: 1.7; }
  .field-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .field-gallery figure:nth-child(n) { grid-column: auto; }
  .field-gallery figure:nth-child(1),.field-gallery figure:nth-child(4) { grid-column: span 2; }
  .field-gallery img { height: 165px; }
  .travel-detail .travel-masthead,.riviera-film { grid-template-columns: minmax(0,1fr); }
  .route-days { grid-template-columns: minmax(0,1fr); }
  .route-days img { max-height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo img { animation: none; }
}

