/* Vacation Diamond Services
   Palette: the Sea of Cortez at dusk and the sandstone of El Arco.
   Motif: the arch from the logo frames key photos. */

:root {
  --night: #0d2730;
  --night-2: #123643;
  --lagoon: #2f6f73;
  --sand: #d8bf9c;
  --sand-deep: #85613a;
  --mist: #edf1ee;
  --white: #ffffff;
  --ink: #12232a;
  --muted: #4c5f66;
  --line: rgba(13, 39, 48, 0.16);
  --line-light: rgba(255, 255, 255, 0.22);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  --step-3: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  --step-4: clamp(2.7rem, 1.4rem + 5.6vw, 6.4rem);

  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(72px, 10vw, 148px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-optical-sizing: auto; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--sand-deep); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 34em; }
.lede { font-size: var(--step-1); line-height: 1.55; font-weight: 300; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  --btn-bg: var(--night); --btn-fg: var(--white);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 0.98rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--sand { --btn-bg: var(--sand); --btn-fg: var(--night); }
.btn--sand:hover { --btn-bg: var(--white); }
.btn--ghost { background: transparent; color: var(--night); border-color: currentColor; }
.btn--ghost:hover { background: var(--night); color: var(--white); border-color: var(--night); }
.section--night .btn--ghost { color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--ghost-light:hover { background: var(--white); color: var(--night); }
.btn--small { padding: 11px 18px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color 0.3s; }
.text-link:hover { color: var(--sand-deep); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s, transform 0.45s var(--ease); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 62px; height: auto; }
.brand__mark--ink { display: none; }
.brand__name { font-family: var(--serif); font-size: 1.02rem; letter-spacing: 0.24em; line-height: 1.1; white-space: nowrap; }
.brand__name small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.42em; font-weight: 400; opacity: 0.85; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav__list a, .nav__advisors { position: relative; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.02em; padding: 6px 0; white-space: nowrap; }
.nav__list a::after, .nav__advisors::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current]::after, .nav__advisors:hover::after, .nav__advisors[aria-current]::after { transform: scaleX(1); }
.nav__extra { display: flex; align-items: center; gap: 18px; padding-left: 22px; border-left: 1px solid var(--line-light); }
.nav__advisors { font-style: italic; font-family: var(--serif); font-size: 1rem; }
.menu-btn { display: none; }
.site-header.is-solid, .site-header.is-scrolled { background: rgba(237, 241, 238, 0.94); color: var(--night); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header.is-solid .brand__mark--light, .site-header.is-scrolled .brand__mark--light { display: none; }
.site-header.is-solid .brand__mark--ink, .site-header.is-scrolled .brand__mark--ink { display: block; }
.site-header.is-solid .nav__extra, .site-header.is-scrolled .nav__extra { border-color: var(--line); }
.site-header.is-solid .btn--sand, .site-header.is-scrolled .btn--sand { --btn-bg: var(--night); --btn-fg: var(--white); }
.site-header.is-hidden { transform: translateY(-100%); }

@media (max-width: 1180px) {
  .nav__list { gap: 14px; }
  .nav__list a { font-size: 0.9rem; }
  .brand__name { display: none; }
}
@media (max-width: 1020px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto; position: relative; z-index: 2;
    background: none; border: 0; color: inherit; font: 500 0.95rem var(--sans); padding: 10px 0; cursor: pointer;
  }
  .brand__name { display: block; }
  .menu-btn__lines, .menu-btn__lines::before { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
  .menu-btn__lines { position: relative; transform: translateY(-3px); }
  .menu-btn__lines::before { content: ""; position: absolute; top: 6px; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px;
    padding: 110px var(--gutter) 40px; background: var(--night); color: var(--white);
    clip-path: circle(0% at calc(100% - 40px) 38px); visibility: hidden;
    transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
    overflow-y: auto;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path 0.7s var(--ease); }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { font-family: var(--serif); font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .nav__extra { flex-direction: column; align-items: flex-start; padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line-light) !important; }
  .nav__advisors { font-size: 1.3rem; }
  .site-header.menu-open { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.menu-open .brand__mark--light { display: block; }
  .site-header.menu-open .brand__mark--ink { display: none; }
  .site-header.menu-open .btn--sand { --btn-bg: var(--sand); --btn-fg: var(--night); }
  .site-header.menu-open .brand { position: relative; z-index: 2; }
  .menu-open .menu-btn__lines { transform: rotate(45deg); }
  .menu-open .menu-btn__lines::before { transform: translateY(-6px) rotate(-90deg); }
}

/* Hero (home) */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: hero-settle 2.6s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,39,48,0.5) 0%, rgba(13,39,48,0) 22%),
    linear-gradient(90deg, rgba(13,39,48,0.82) 0%, rgba(13,39,48,0.55) 42%, rgba(13,39,48,0.08) 72%),
    linear-gradient(0deg, rgba(13,39,48,0.7) 0%, rgba(13,39,48,0) 45%); }
.hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 9vh, 104px); }
.hero h1 { max-width: 11.5em; font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.6rem); text-shadow: 0 2px 30px rgba(13,39,48,0.35); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; animation: line-up 1.3s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 32em) auto; gap: 32px 48px; align-items: end; justify-content: space-between; margin-top: 30px; animation: fade-in 1.2s 0.6s var(--ease) both; }
.hero__foot p { margin: 0; font-size: var(--step-1); font-weight: 300; line-height: 1.5; }
.hero__foot .btn-row { margin: 0; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 32px; z-index: 2; width: 1px; height: 64px; background: rgba(255,255,255,0.3); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: cue 2.4s var(--ease) infinite; }
@keyframes hero-settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Inner page hero */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--night); }
.page-hero .hero__media img { animation-duration: 2s; }
.page-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,39,48,0.55) 0%, rgba(13,39,48,0) 25%),
    linear-gradient(90deg, rgba(13,39,48,0.78) 0%, rgba(13,39,48,0.45) 45%, rgba(13,39,48,0.05) 75%),
    linear-gradient(0deg, rgba(13,39,48,0.75) 0%, rgba(13,39,48,0) 50%); }
.page-hero h1 { text-shadow: 0 2px 30px rgba(13,39,48,0.35); }
.page-hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 8vh, 88px); padding-top: 140px; }
.page-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); max-width: 12em; animation: fade-in 1.1s var(--ease) both; }
.page-hero p { max-width: 34em; margin: 22px 0 0; font-size: var(--step-1); font-weight: 300; animation: fade-in 1.1s 0.2s var(--ease) both; }
.crumbs { font-size: var(--step--1); margin-bottom: 18px; opacity: 0.85; animation: fade-in 1s var(--ease) both; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.crumbs span { margin: 0 8px; }

/* Plain (no photo) page head */
.page-head { padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(32px, 5vw, 64px); }
.page-head .crumbs { color: var(--muted); }
.page-head .crumbs a { border-color: var(--line); }
.page-head h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); max-width: 12em; }
.page-head p { max-width: 34em; margin-top: 22px; }

/* Sections */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--night { background: var(--night); color: var(--white); }
.section--white { background: var(--white); }
.section--night .muted { color: rgba(255,255,255,0.72); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head p { margin: 0; }
.section__head--stack { grid-template-columns: 1fr; max-width: 46rem; }
.kicker { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--sand-deep); margin: 0 0 14px; }
.section--night .kicker { color: var(--sand); }

/* Intro statement with arch photo */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.intro__text h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.15; }
.intro__text .lede { margin-top: 28px; }
.arch { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--night-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--wide { aspect-ratio: 5 / 4; }
.arch-caption { margin-top: 14px; font-size: var(--step--1); color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.stat__label { display: block; margin-top: 10px; color: var(--muted); font-size: 0.95rem; max-width: 14em; }
.section--night .stats { border-color: var(--line-light); }
.section--night .stat + .stat { border-color: var(--line-light); }
.section--night .stat__label { color: rgba(255,255,255,0.72); }

/* Service index: the signature list. Hover shows the photo. */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--line-light); }
.svc a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) 48px; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px) 0; text-decoration: none; transition: padding 0.5s var(--ease), color 0.4s; }
.svc__name { font-family: var(--serif); font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.4rem); line-height: 1.05; transition: transform 0.5s var(--ease); }
.svc__desc { color: rgba(255,255,255,0.72); font-size: 1rem; margin: 0; max-width: 28em; }
.svc__go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background 0.4s, border-color 0.4s, color 0.4s; }
.svc__go svg { width: 18px; height: 18px; }
.svc__thumb { display: none; }
.svc a:hover .svc__name, .svc a:focus-visible .svc__name { transform: translateX(14px); font-style: italic; }
.svc a:hover .svc__go, .svc a:focus-visible .svc__go { background: var(--sand); border-color: var(--sand); color: var(--night); }
.svc-float { position: fixed; left: 0; top: 0; z-index: 5; width: 300px; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.svc-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.svc-float img.is-on { opacity: 1; }

/* Fleet rail */
.rail-wrap { position: relative; }
.rail { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail { padding-left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); scroll-padding-left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); }
.rail__item { flex: 0 0 clamp(260px, 30vw, 400px); scroll-snap-align: start; text-decoration: none; color: inherit; }
.rail__item figure { margin: 0; }
.rail__photo { overflow: hidden; aspect-ratio: 4 / 5; background: var(--night-2); }
.rail__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.rail__item:hover .rail__photo img { transform: scale(1.06); }
.rail__item figcaption { padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.rail__item strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.rail__item span { color: var(--muted); font-size: 0.95rem; text-align: right; }
.section--night .rail__item span { color: rgba(255,255,255,0.7); }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.rail-ctrl button:hover { background: var(--night); color: var(--white); }
.section--night .rail-ctrl button { border-color: var(--line-light); }
.section--night .rail-ctrl button:hover { background: var(--sand); color: var(--night); }
.rail-ctrl svg { width: 18px; height: 18px; }
.rail-progress { height: 1px; background: var(--line); margin: 8px var(--gutter) 0; position: relative; }
.rail-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--sand-deep); transition: transform 0.2s linear; transform-origin: left; }

/* Trip types */
.trips { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.trip { position: relative; overflow: hidden; color: var(--white); min-height: 360px; display: flex; align-items: flex-end; text-decoration: none; background: var(--night); }
.trip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,39,48,0) 40%, rgba(13,39,48,0.85)); }
.trip__body { position: relative; z-index: 1; padding: 26px; }
.trip h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.trip p { margin: 8px 0 0; font-size: 0.98rem; opacity: 0.88; max-width: 26em; }
.trip:hover img { transform: scale(1.05); }
.trip--a { grid-column: span 7; min-height: 480px; }
.trip--b { grid-column: span 5; min-height: 480px; }
.trip--c { grid-column: span 4; }
.trip--d { grid-column: span 4; }
.trip--e { grid-column: span 4; }

/* Destinations */
.dest { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.dest__home h3 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); }
.dest__home p { margin-top: 18px; }
.dest__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dest__list li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dest__list strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.dest__list span { color: var(--muted); }
.section--night .dest__list, .section--night .dest__list li { border-color: var(--line-light); }
.section--night .dest__list span { color: rgba(255,255,255,0.72); }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 26px; border-top: 1px solid var(--line-light); }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--sand); margin-bottom: 18px; }
.steps h3 { font-size: 1.6rem; margin-bottom: 10px; }
.steps p { margin: 0; color: rgba(255,255,255,0.75); }
.section--white .steps li, .steps--light li { border-color: var(--line); }
.steps--light li::before { color: var(--sand-deep); }
.steps--light p { color: var(--muted); }

/* Advisor band */
.advisor-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.advisor-band .arch { aspect-ratio: 1 / 1.05; }

/* Split feature (image + text) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.split + .split { margin-top: var(--section); }
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split__media .frame { overflow: hidden; aspect-ratio: 4 / 3; }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__text h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); margin-bottom: 22px; }
.split__media .inset { position: absolute; width: 42%; right: -6%; bottom: -12%; border: 8px solid var(--mist); aspect-ratio: 4 / 5; overflow: hidden; }
.section--white .split__media .inset { border-color: var(--white); }
.split__media .inset img { width: 100%; height: 100%; object-fit: cover; }

/* Lists with sandstone ticks */
.ticks { list-style: none; padding: 0; margin: 22px 0 0; columns: 2; column-gap: 32px; }
.ticks li { position: relative; padding: 7px 0 7px 22px; break-inside: avoid; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; border: 1px solid var(--sand-deep); transform: rotate(45deg); }
.ticks--one { columns: 1; }
.section--night .ticks li::before { border-color: var(--sand); }

/* Card grid for services on inner pages */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px); }
.card { margin: 0; }
.card__photo { overflow: hidden; aspect-ratio: 4 / 3; background: var(--night-2); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__photo img { transform: scale(1.05); }
.card h3 { font-size: 1.6rem; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--muted); }
.section--night .card p { color: rgba(255,255,255,0.72); }
.cards--text { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--text .card { padding-top: 22px; border-top: 1px solid var(--line); }
.section--night .cards--text .card { border-color: var(--line-light); }
.cards--text h3 { margin-top: 0; }

/* Gallery */
.gallery { columns: 3; column-gap: clamp(10px, 1.4vw, 18px); }
.gallery a { display: block; margin-bottom: clamp(10px, 1.4vw, 18px); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform 1s var(--ease), filter 0.6s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 24, 30, 0.94); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; animation: fade-in 0.5s var(--ease); }
.lightbox__cap { color: rgba(255,255,255,0.8); text-align: center; margin-top: 14px; font-size: 0.95rem; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,0.4); color: var(--white); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--white); color: var(--night); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Wide photo band with parallax */
.band { position: relative; height: clamp(320px, 62vh, 640px); overflow: hidden; background: var(--night); }
.band__media { position: absolute; inset: -18% 0; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__quote { position: absolute; inset: auto 0 0; z-index: 1; color: var(--white); padding-bottom: clamp(32px, 6vw, 72px); background: linear-gradient(180deg, transparent, rgba(13,39,48,0.75)); padding-top: 120px; }
.band__quote p { font-family: var(--serif); font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); line-height: 1.2; max-width: 22em; margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-4px); transition: transform 0.4s var(--ease); }
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__a { padding: 0 0 26px; max-width: 46em; color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.section--night .faq, .section--night .faq__item { border-color: var(--line-light); }
.section--night .faq__a { color: rgba(255,255,255,0.75); }

/* Closing call to action */
.cta { position: relative; overflow: hidden; color: var(--white); background: var(--night); text-align: left; }
.cta__media { position: absolute; inset: -10% 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.cta__inner { position: relative; z-index: 1; padding: clamp(96px, 14vw, 200px) 0; }
.cta h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5.2rem); max-width: 12em; }
.cta p { max-width: 32em; margin-top: 22px; font-size: var(--step-1); font-weight: 300; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(47,111,115,0.18); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.checks legend { font-size: 0.95rem; font-weight: 500; margin-bottom: 10px; padding: 0; }
.checks label { position: relative; }
.checks input { position: absolute; opacity: 0; }
.checks span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font-size: 0.95rem; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.checks input:checked + span { background: var(--night); color: var(--white); border-color: var(--night); }
.checks input:focus-visible + span { outline: 2px solid var(--sand-deep); outline-offset: 2px; }
.form__note { grid-column: 1 / -1; font-size: 0.92rem; color: var(--muted); margin: 0; }
.contact-card { background: var(--night); color: var(--white); padding: clamp(28px, 4vw, 48px); border-radius: 220px 220px 0 0; padding-top: clamp(80px, 9vw, 120px); }
.contact-card h2 { font-size: 2rem; margin-bottom: 18px; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: 0.88rem; color: var(--sand); margin-top: 18px; }
.contact-card dd { margin: 4px 0 0; font-size: 1.08rem; }
.contact-card a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
.contact-card a:hover { border-color: var(--sand); }

/* Footer */
.site-footer { background: var(--night); color: rgba(255,255,255,0.86); padding: clamp(64px, 8vw, 110px) 0 32px; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.site-footer__brand img { width: 220px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 22em; color: rgba(255,255,255,0.7); }
.site-footer h2 { font-family: var(--serif); font-size: 1.2rem; color: var(--sand); margin-bottom: 14px; font-style: italic; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.97rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.site-footer__bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border-radius: 999px; background: #1f7a5a; color: var(--white); text-decoration: none; font-weight: 500; box-shadow: 0 10px 30px -10px rgba(13,39,48,0.6); transition: transform 0.4s var(--ease), background 0.3s; }
.wa-float:hover { transform: translateY(-3px); background: #17654a; }

/* Scroll reveals (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: 0.1s; }
.js .rv-d2 { transition-delay: 0.2s; }
.js .rv-d3 { transition-delay: 0.3s; }
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.in { clip-path: inset(0 0 0 0); }

/* Responsive */
@media (max-width: 1020px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip--a, .trip--b { grid-column: span 6; min-height: 420px; }
  .trip--c, .trip--d, .trip--e { grid-column: span 6; }
  .trip--e { grid-column: span 12; }
}
@media (max-width: 860px) {
  .section__head, .intro, .dest, .advisor-band, .split, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media .inset { width: 38%; right: 4%; bottom: -10%; }
  .split + .split { margin-top: calc(var(--section) * 0.8); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .section--night .stat:nth-child(n+3) { border-color: var(--line-light); }
  .steps { grid-template-columns: 1fr; }
  .hero__foot { grid-template-columns: 1fr; }
  .svc a { grid-template-columns: 76px minmax(0, 1fr); gap: 6px 18px; }
  .svc__thumb { display: block; grid-row: span 2; width: 76px; height: 92px; border-radius: 999px 999px 0 0; overflow: hidden; }
  .svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc__go { display: none; }
  .svc__name { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); }
  .svc a:hover .svc__name { transform: none; }
  .gallery { columns: 2; }
  .cards--text { grid-template-columns: 1fr 1fr; }
  .intro .arch { max-width: 420px; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .brand__mark { width: 50px; }
  .brand__name { font-size: 0.86rem; letter-spacing: 0.18em; }
  .cards, .cards--text { grid-template-columns: 1fr; }
  .trip--a, .trip--b, .trip--c, .trip--d, .trip--e { grid-column: span 12; min-height: 340px; }
  .ticks { columns: 1; }
  .dest__list li { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .contact-card { border-radius: 160px 160px 0 0; }
  .split__media .inset { display: none; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
}

/* ---------- Destinations (2026-10-27) ---------- */
.dgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.dcard a { display: block; text-decoration: none; }
.dcard__photo { display: block; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--night-2); }
.dcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dcard__name { display: block; margin-top: 16px; font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem); line-height: 1.15; }
.dcard__line { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--muted); }
.section--night .dcard__line { color: rgba(255,255,255,0.7); }
.dcard a:hover img, .dcard a:focus-visible img { transform: scale(1.06); }
.dcard a:hover .dcard__name { font-style: italic; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); }
.fact { padding: 22px 22px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact dt { font-family: var(--serif); font-style: italic; color: var(--sand-deep); font-size: 1.05rem; margin-bottom: 6px; }
.fact dd { margin: 0; font-size: 0.98rem; }

.svc-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line-light); }
.svc-links li { border-bottom: 1px solid var(--line-light); }
.svc-links a { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 4px 18px; padding: 24px 0; text-decoration: none; }
.svc-links strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.svc-links span { grid-column: 1; color: rgba(255,255,255,0.72); font-size: 0.98rem; }
.svc-links svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; color: var(--sand); transition: transform 0.4s var(--ease); }
.svc-links a:hover svg { transform: translateX(6px); }
.svc-links a:hover strong { font-style: italic; }

/* ---------- Blog cards ---------- */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 48px) clamp(18px, 2.4vw, 32px); }
.pcard a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.pcard__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--night-2); }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; font-size: 0.9rem; }
.pcard__kind { font-family: var(--serif); font-style: italic; color: var(--sand-deep); }
.pcard__dest { color: var(--muted); }
.pcard__title { display: block; margin-top: 6px; font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem); line-height: 1.2; }
.pcard__dek { display: block; margin-top: 8px; color: var(--muted); font-size: 0.98rem; }
.pcard a:hover img, .pcard a:focus-visible img { transform: scale(1.05); }
.pcard a:hover .pcard__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pgrid-head { font-size: 1.6rem; margin: clamp(56px, 7vw, 88px) 0 28px; }

.jump ul { list-style: none; margin: 0 0 clamp(40px, 6vw, 72px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.95rem; transition: background 0.3s, color 0.3s; }
.jump a:hover { background: var(--night); color: var(--white); border-color: var(--night); }
.blog-dest + .blog-dest { margin-top: clamp(64px, 8vw, 110px); }
.blog-dest__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding-bottom: 18px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }

/* ---------- Blog post ---------- */
.page-hero--post { min-height: 72svh; }
.page-hero--post h1 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.2rem); max-width: 16em; }
.page-hero .post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--step--1); opacity: 0.9; margin-top: 26px; }
.post-meta a { color: inherit; }
.post { padding: clamp(56px, 8vw, 110px) 0; }
.post__grid { display: grid; grid-template-columns: 250px minmax(0, 46rem); gap: clamp(40px, 6vw, 96px); justify-content: center; align-items: start; }
.post__aside { position: sticky; top: calc(var(--header-h) + 28px); }
.toc__title { font-family: var(--serif); font-style: italic; color: var(--sand-deep); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 16px; font-size: 0.93rem; line-height: 1.4; text-decoration: none; color: var(--muted); transition: color 0.3s; }
.toc li a:hover { color: var(--ink); }
.aside-cta { margin-top: 32px; padding: 22px; background: var(--white); font-size: 0.95rem; }
.aside-cta p { margin-bottom: 14px; }

.prose { font-size: 1.12rem; line-height: 1.75; }
.prose > p:first-child { font-size: var(--step-1); font-weight: 300; line-height: 1.6; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin: 2.2em 0 0.6em; line-height: 1.15; }
.prose h3 { font-size: 1.45rem; margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--sand-deep); }
.prose a { color: var(--night); text-decoration-color: var(--sand-deep); text-underline-offset: 3px; }
.prose a:hover { color: var(--sand-deep); }
.prose strong { font-weight: 500; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }
.prose .tip { margin: 2em 0; padding: 22px 26px; background: var(--white); border-left: 3px solid var(--sand); }
.prose .tip p:last-child { margin: 0; }
.prose .tip-title { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--sand-deep); margin-bottom: 4px; }
.prose .sources { font-size: 0.95rem; color: var(--muted); }
.plan-box { margin: 3em 0 0; padding: clamp(26px, 4vw, 44px); background: var(--night); color: var(--white); }
.prose .plan-box__title { margin: 0 0 12px; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); }
.plan-box p { color: rgba(255,255,255,0.78); }
.plan-box .btn--ghost { color: var(--white); }
.plan-box .btn--ghost:hover { background: var(--white); color: var(--night); }
.prose .plan-box a.btn { text-decoration: none; }
.author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.98rem; color: var(--muted); }
.author img { width: 72px; height: 72px; object-fit: contain; padding: 14px 8px; border-radius: 50%; background: var(--white); }
.author p { margin: 0 0 6px; }
.author__name { color: var(--ink); font-weight: 500; }

/* ---------- Photo credits ---------- */
.table-wrap { overflow-x: auto; margin-top: 40px; }
.credits { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.credits th, .credits td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits th { font-weight: 500; }

@media (max-width: 1020px) {
  .site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .dgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__grid { grid-template-columns: minmax(0, 46rem); }
  .post__aside { position: static; order: 2; }
  .post__aside .toc { display: none; }
  .aside-cta { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 18px; }
}
@media (max-width: 600px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .dcard__line { font-size: 0.88rem; }
  .pgrid { grid-template-columns: 1fr; }
  .svc-links { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 16px 0 0; border-left: 0; margin-top: 0; }
  .prose { font-size: 1.06rem; }
}

.dest__list a { text-decoration: none; }
.dest__list a:hover strong { font-style: italic; }

/* ---------- Moving sea (2026-10-27) ---------- */
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(34px, 5vw, 70px); z-index: 2; pointer-events: none; }
.hw { will-change: transform; }
.hw--1 { fill: rgba(237, 241, 238, 0.22); animation: wave-drift 14s linear infinite; }
.hw--2 { fill: rgba(237, 241, 238, 0.45); animation: wave-drift-b 10s linear infinite; }
.hw--3 { fill: var(--mist); animation: wave-drift-c 8s linear infinite; }
@keyframes wave-drift { to { transform: translateX(-240px); } }
@keyframes wave-drift-b { from { transform: translateX(-320px); } to { transform: translateX(0); } }
@keyframes wave-drift-c { to { transform: translateX(-360px); } }

.ocean { position: relative; overflow: hidden; color: var(--white); min-height: clamp(560px, 62vw, 760px);
  background: linear-gradient(180deg, #0d2730 0%, #17414c 38%, #5d7d78 62%, #c9ab83 80%, #e3c9a2 100%); }
.ocean__text { position: relative; z-index: 2; padding-top: clamp(64px, 9vw, 120px); max-width: 1280px; }
.ocean__text h2 { max-width: 13em; text-shadow: 0 2px 24px rgba(13,39,48,0.35); }
.ocean__text p:not(.kicker) { max-width: 32em; margin: 20px 0 26px; color: rgba(255,255,255,0.86); }
.ocean .kicker { color: var(--sand); }
.ocean__scene { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.ocean__sun { fill: #fbe4c0; }
.sea--back { fill: #4f7f7c; animation: wave-drift-sea 26s linear infinite; }
.sea--mid { fill: #1f5059; animation: wave-drift-sea-b 18s linear infinite; }
.sea--front { fill: var(--night); animation: wave-drift-sea-c 12s linear infinite; }
@keyframes wave-drift-sea { to { transform: translateX(-300px); } }
@keyframes wave-drift-sea-b { from { transform: translateX(-360px); } to { transform: translateX(0); } }
@keyframes wave-drift-sea-c { to { transform: translateX(-420px); } }

.whale { fill: #0b2129; transform-box: fill-box; transform-origin: 50% 50%; animation: breach 11s cubic-bezier(.37,0,.63,1) infinite; }
.whale__pleats { stroke: #3a5c62; stroke-width: 1.4; }
.whale__eye { fill: #3a5c62; }
@keyframes breach {
  0%   { transform: translate(-70px, 230px) rotate(-62deg); }
  13%  { transform: translate(-10px, 30px) rotate(-56deg); }
  23%  { transform: translate(40px, -48px) rotate(-30deg); }
  31%  { transform: translate(92px, 6px) rotate(6deg); }
  40%  { transform: translate(130px, 210px) rotate(38deg); }
  100% { transform: translate(130px, 210px) rotate(38deg); }
}
.splash { fill: #f4fbfa; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.splash__ring { fill: none; stroke: #f4fbfa; stroke-width: 2.5; }
.splash--up { animation: splash-up 11s ease-out infinite; }
.splash--down { animation: splash-down 11s ease-out infinite; }
@keyframes splash-up { 0%, 7% { opacity: 0; transform: scale(.3); } 12% { opacity: .95; transform: scale(1); } 22% { opacity: 0; transform: scale(1.5) translateY(-6px); } 100% { opacity: 0; } }
@keyframes splash-down { 0%, 31% { opacity: 0; transform: scale(.3); } 36% { opacity: 1; transform: scale(1.2); } 48% { opacity: 0; transform: scale(1.9) translateY(-10px); } 100% { opacity: 0; } }

.lion { fill: #0b2129; }
.lion__rock { fill: #163a43; }
.lion__eye { fill: #3a5c62; }
.lion__head { transform-box: fill-box; transform-origin: 40% 95%; animation: lion-nod 6s ease-in-out infinite; }
@keyframes lion-nod { 0%, 62%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } 76% { transform: rotate(-6deg); } 82% { transform: rotate(-14deg); } 90% { transform: rotate(2deg); } }

.bird { fill: none; stroke: #0d2730; stroke-width: 2.2; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 50%; }
.bird { animation: flap 1.1s ease-in-out infinite; }
.bird--1 { animation-duration: 1.3s; } .bird--2 { animation-duration: .9s; } .bird--3 { animation-duration: 1.2s; } .bird--4 { animation-duration: 1.4s; }
@keyframes flap { 50% { transform: scaleY(.45) translateY(2px); } }

/* Pause the ocean scene when it is off screen (site.js adds .is-playing). */
.ocean .whale, .ocean .splash, .ocean .sea, .ocean .lion__head, .ocean .bird { animation-play-state: paused; }
.ocean.is-playing .whale, .ocean.is-playing .splash, .ocean.is-playing .sea, .ocean.is-playing .lion__head, .ocean.is-playing .bird { animation-play-state: running; }

@media (max-width: 600px) {
  .ocean { min-height: 640px; }
  .ocean__scene { height: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  .hw, .sea, .lion__head, .bird, .splash { animation: none !important; }
  .whale { animation: none !important; transform: translate(40px, -48px) rotate(-30deg); }
}

/* ---------- Trip form status (2026-10-27) ---------- */
.form__status { grid-column: 1 / -1; padding: 14px 18px; border-left: 3px solid var(--sand-deep); background: var(--white); font-size: 0.98rem; }
.form__status.is-error { border-color: #b4462f; color: #7a2a1a; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__actions .btn svg { width: 20px; height: 20px; }
.btn.is-busy { opacity: 0.65; pointer-events: none; }
.btn.is-busy span::after { content: "..."; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.thanks .btn-row { margin-top: 28px; }
.page-head .prose, .section .prose { max-width: 46rem; }

/* ---------- Cabo Diamond Services: video hero ---------- */
.hero--video .hero__media picture, .hero--video .hero__media img { display: block; width: 100%; height: 100%; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-live { opacity: 1; }
.hero--video::after { background: linear-gradient(180deg, rgba(13,39,48,0.42) 0%, rgba(13,39,48,0) 30%, rgba(13,39,48,0.08) 55%, rgba(13,39,48,0.72) 100%); }
.hero__eyebrow { margin: 0 0 18px; font-size: 0.95rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.86); animation: fade-in 1.2s 0.2s var(--ease) both; }
.video-toggle { position: absolute; z-index: 3; right: var(--gutter); top: 96px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: rgba(13,39,48,0.35); color: var(--white); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle:hover { background: rgba(13,39,48,0.6); }

/* ---------- Corporate band ---------- */
.corp { position: relative; overflow: hidden; color: var(--white); background: var(--night); padding: clamp(80px, 12vw, 150px) 0; }
.corp__media { position: absolute; inset: -8% 0; }
.corp__media img { width: 100%; height: 100%; object-fit: cover; }
.corp::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(13,39,48,0.95) 0%, rgba(13,39,48,0.86) 45%, rgba(13,39,48,0.55) 100%); }
.corp__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.corp__head h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); max-width: 10em; }
.corp__head > p:not(.kicker) { margin-top: 22px; max-width: 30em; color: rgba(255,255,255,0.82); font-size: var(--step-1); font-weight: 300; line-height: 1.55; }
.corp .kicker { color: var(--sand); }
.corp__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.corp__list li { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.18); }
.corp__list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; }
.corp__list span { color: rgba(255,255,255,0.74); font-size: 0.98rem; line-height: 1.5; }
@media (max-width: 900px) {
  .corp__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .corp__list { grid-template-columns: 1fr; }
  .video-toggle { top: auto; bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero--video::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(13,39,48,0.55) 0%, rgba(13,39,48,0.25) 45%, rgba(13,39,48,0) 70%); }
@media (max-aspect-ratio: 4/5) { .hero--video::before { background: linear-gradient(180deg, rgba(13,39,48,0) 30%, rgba(13,39,48,0.45) 100%); } }
@media (max-aspect-ratio: 4/5) { .hero--video::before { background: linear-gradient(180deg, rgba(13,39,48,0) 25%, rgba(13,39,48,0.35) 55%, rgba(13,39,48,0.7) 100%); } }
@media (max-width: 560px) { .video-toggle { top: 84px; bottom: auto; } }
.nav__extra .btn { white-space: nowrap; }
@media (max-width: 1360px) { .nav__extra .nav__advisors { display: none; } }

/* ---------- Corporate page ---------- */
.corp__list--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.corp__list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 0 0 6px; color: var(--white); }
.section--night .corp__list span { color: rgba(255,255,255,0.74); }
.section--night .corp__list .text-link { color: var(--sand); }
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 48px); }
.program__photo { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; margin-bottom: 20px; background: var(--night-2); }
.program__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.program:hover .program__photo img { transform: scale(1.03); }
.program h3 { font-size: 1.6rem; margin: 0 0 10px; }
.program p { margin: 0; color: var(--muted); max-width: 34em; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prose h3 { font-size: 1.35rem; margin: 28px 0 8px; }
.prose h3:first-child { margin-top: 0; }
@media (max-width: 900px) {
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .programs, .corp__list--page { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .program:hover .program__photo img { transform: none; } }

/* home header: two-line headline, smaller so it stays on 2 lines on computers */
.hero--video h1 { max-width: 15em; font-size: clamp(2.3rem, 1rem + 3.4vw, 4.3rem); }
.hero--video::before { background: linear-gradient(90deg, rgba(13,39,48,0.72) 0%, rgba(13,39,48,0.45) 50%, rgba(13,39,48,0.1) 80%); }
@media (max-aspect-ratio: 4/5) { .hero--video::before { background: linear-gradient(180deg, rgba(13,39,48,0.25) 0%, rgba(13,39,48,0.5) 40%, rgba(13,39,48,0.8) 100%); } }
