/*
 * Yacht Safaris Atelier
 * Editorial resort concept. Loaded after the complete base theme so every
 * existing page, editor field and interaction remains available.
 */

:root {
  --ink: #242421;
  --ink-soft: #30312f;
  --water: #8b765d;
  --water-dark: #655441;
  --water-bright: #bba78e;
  --signal: #ede8df;
  --coral: #a5745d;
  --paper: #f5f3ee;
  --white: #ffffff;
  --line: #d9d5ce;
  --muted: #625f59;
  --max: 1320px;
  --header-height: 92px;
  --shadow: 0 24px 80px rgba(25, 24, 21, 0.12);
  --atelier-serif: Georgia, "Times New Roman", Times, serif;
  --atelier-sans: "Inter Local", "Helvetica Neue", Arial, sans-serif;
}

@font-face {
  font-family: "Inter Local";
  src: url("../fonts/inter-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Local";
  src: url("../fonts/inter-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Local";
  src: url("../fonts/inter-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  color: var(--ink);
  background: var(--white);
  font-family: var(--atelier-sans);
  font-size: 16px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
.display-type,
.quote-line,
.equipment-signature strong,
.feature-stat-grid strong,
.brand-copy strong {
  font-family: var(--atelier-serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: normal;
}

h1 {
  font-size: clamp(54px, 6.3vw, 92px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 4.4vw, 68px);
}

h3 {
  font-size: clamp(28px, 2.25vw, 38px);
}

p {
  max-width: 68ch;
}

a,
button,
input,
textarea,
select {
  border-radius: 0;
}

:focus-visible {
  outline: 2px solid var(--water-dark);
  outline-offset: 4px;
}

.eyebrow,
.hero-kicker,
.sport-number,
.course-grid .level,
.activity-grid .activity-label,
.activity-card-copy span,
.activity-visual-tile small,
.timeline time,
.trip-meta,
.mosaic figcaption,
.yacht-gallery-feature figcaption,
.yacht-gallery-track figcaption {
  color: var(--water-dark);
  font-family: var(--atelier-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.hero-kicker::before,
.why-heading .eyebrow::before {
  display: none;
}

/* Header and navigation */
.site-header {
  height: var(--header-height);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.site-header-inner {
  position: relative;
  width: 100%;
  max-width: none;
  justify-content: center;
  padding: 0 68px;
}

.header-brand-group {
  position: absolute;
  left: 50%;
  gap: 18px;
  transform: translateX(-50%);
}

.site-brand-logo {
  width: 126px;
  max-width: none;
  height: 68px;
  object-position: center;
}

.header-duotone-logo {
  width: 118px;
  height: 54px;
}

.menu-toggle {
  position: absolute;
  left: 26px;
  width: 44px;
  height: 44px;
  display: grid !important;
}

.menu-icon {
  width: 30px;
  gap: 7px;
}

.menu-icon i {
  height: 1px;
}

.header-social-links {
  position: absolute;
  right: 30px;
  gap: 12px;
}

.header-social-link,
.header-instagram,
.header-whatsapp,
.header-social-link:hover,
.header-social-link:focus-visible,
.header-whatsapp:hover,
.header-whatsapp:focus-visible {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(36, 36, 33, 0.35);
}

.header-social-link svg {
  width: 17px;
  height: 17px;
}

.site-navigation {
  z-index: 99;
  inset: var(--header-height) auto 0 0;
  width: min(520px, 100%);
  height: calc(100dvh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  max-height: none;
  box-sizing: border-box;
  justify-content: flex-start;
  padding: 56px 64px 90px;
  color: var(--ink);
  background: rgba(247, 245, 240, 0.99);
  box-shadow: 20px 0 60px rgba(31, 30, 27, 0.14);
  transform: translateX(-105%);
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-list a,
.nav-home-link {
  min-height: 58px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--atelier-serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: none;
}

.site-nav-list .current-menu-item a,
.site-nav-list .current_page_item a,
.nav-home-link[aria-current="page"] {
  color: var(--water-dark);
}

.header-book {
  width: fit-content;
  min-height: 48px;
  margin-top: 34px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Buttons and links */
.button,
.wp-block-button__link {
  min-height: 50px;
  padding: 14px 21px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.button-primary,
.button-dark,
.button-water {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-outline {
  color: currentColor;
  background: transparent;
}

.button:hover,
.button:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.button-dark:hover,
.button-dark:focus-visible,
.button-water:hover,
.button-water:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--ink);
}

.text-link {
  min-height: 34px;
  gap: 12px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.text-link::after {
  width: 16px;
  height: 1px;
}

/* Hero compositions */
.hero {
  min-height: calc(100svh - var(--header-height));
  align-items: flex-end;
  background: var(--ink);
}

.hero-media {
  object-position: center 46%;
  transform: scale(1.02);
}

.hero > .hero-media[data-parallax] {
  top: -11%;
  height: 122%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(19, 19, 17, 0.64) 0%, rgba(19, 19, 17, 0.18) 56%, rgba(19, 19, 17, 0.1) 100%);
}

.hero-content {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  padding: 10vh 0 7vh;
}

.hero h1 {
  max-width: 9.6ch;
  margin: 12px 0 22px;
  font-size: clamp(62px, 7vw, 104px);
  line-height: 0.96;
  text-transform: none;
}

.hero-kicker {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: none;
}

.hero-lead {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.65;
}

.hero-emotional-hook {
  max-width: 650px;
  margin: 26px 0;
  padding: 0 0 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.72);
  font-family: var(--atelier-serif);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 400;
  line-height: 1.18;
  text-transform: none;
}

.hero-booking-signal {
  width: min(620px, 100%);
  margin: 30px 0 24px;
  padding: 15px 0 15px 22px;
	background: transparent;
	border-left: 1px solid rgba(255, 255, 255, 0.72);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.hero-booking-signal span,
.hero-booking-signal small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.hero-booking-signal strong {
  font-family: var(--atelier-serif);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 400;
}

.hero-facts {
  max-width: 850px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-facts div {
  padding: 20px 30px 6px 0;
}

.hero-facts strong {
  font-family: var(--atelier-serif);
  font-size: 23px;
  font-weight: 400;
  text-transform: none;
}

.hero-facts span {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-hero {
  min-height: calc(100svh - var(--header-height));
  background: var(--ink);
}

.page-hero > img {
	object-position: center;
	transform: scale(1.015);
}

.faq-contact-hero > img {
	object-position: center 16%;
}

.page-hero::after {
  background: linear-gradient(90deg, rgba(20, 20, 18, 0.62), rgba(20, 20, 18, 0.14) 68%);
}

.page-hero-content {
  width: min(calc(100% - 80px), var(--max));
  padding: 10vh 0 8vh;
}

.page-hero h1 {
  max-width: 11ch;
  margin: 12px 0 22px;
  font-size: clamp(64px, 7vw, 104px);
  text-transform: none;
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.page-hero-content .eyebrow,
.section-dark .eyebrow,
.video-copy .eyebrow {
  color: rgba(255, 255, 255, 0.76);
  text-shadow: none;
}

.section-jump {
  min-height: 62px;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section-jump a {
  min-height: 62px;
  border-right: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-jump a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper);
}

/* Spacious editorial sections */
.section {
  width: min(100%, var(--max));
  padding: 118px 40px;
}

.section-tight {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-inner {
  width: min(100%, var(--max));
  padding-right: 40px;
  padding-left: 40px;
}

.section-head {
  max-width: 850px;
  margin-bottom: 58px;
}

.section-head p:not(.eyebrow),
.copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.editorial-split {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}

.editorial-split.reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.editorial-split img {
  aspect-ratio: 4 / 5;
  min-height: 580px;
  object-fit: cover;
}

.editorial-split.reverse > img {
  order: -1;
}

.editorial-split .copy h2 {
  max-width: 12ch;
}

.quote-line {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--water);
  font-size: clamp(26px, 2.4vw, 37px);
}

.full-image {
  width: calc(100% - 80px);
  max-width: var(--max);
  max-height: none;
  aspect-ratio: 16 / 8;
  margin: 0 auto 40px;
  object-fit: cover;
}

/* Home-specific storytelling */
.fact-strip {
  color: var(--ink);
  background: var(--paper);
  border: 0;
}

.fact-strip > * {
  border-color: var(--line);
}

.duotone-standard {
  color: var(--ink);
  background: var(--white);
  border: 0;
}

.duotone-standard-inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

.duotone-standard-mark {
  background: transparent;
}

.duotone-standard-mark img {
  max-height: 150px;
  object-fit: contain;
}

.duotone-standard-copy h2 {
  max-width: 12ch;
}

.black-panther-feature {
  color: var(--white);
  background: var(--ink);
}

.black-panther-feature-inner {
  width: min(100%, var(--max));
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  padding: 118px 40px;
}

.black-panther-gallery {
  gap: 12px;
}

.black-panther-gallery img {
  aspect-ratio: 4 / 3;
}

.black-panther-gallery-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10 !important;
}

.black-panther-copy h2 {
  max-width: 9ch;
}

.black-panther-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.sport-list {
  gap: 12px;
  padding: 12px 0;
  background: var(--white);
}

.sport-band {
  min-height: 82svh;
  align-items: center;
  border: 0;
}

.sport-band > img[data-parallax] {
  top: -15%;
  height: 130%;
}

.sport-band::after,
.sport-band:nth-child(2)::after {
  background: linear-gradient(90deg, rgba(20, 20, 18, 0.58), rgba(20, 20, 18, 0.05) 75%);
}

.sport-band-content {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  padding: 80px 0;
}

.sport-number {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.sport-band h2 {
  max-width: 12ch;
  margin: 14px 0 24px;
  font-size: clamp(58px, 6vw, 92px);
  white-space: normal;
}

.sport-band p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.sport-band .sport-equipment-note {
  margin-top: 28px;
  padding: 11px 0;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.sport-band .text-link {
  margin-top: 28px;
  color: var(--white);
}

.video-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  color: var(--white);
  background: var(--ink);
}

.video-copy {
  width: auto;
  max-width: 660px;
  align-self: center;
  margin: 0 auto;
  padding: 90px 64px;
}

.video-copy h2 {
  max-width: 10ch;
}

.video-wrap,
.video-wrap video {
  min-height: 620px;
}

.rhythm-section .process-grid,
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-grid article {
  min-height: 250px;
  padding: 36px 30px 36px 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.process-grid article + article {
  padding-left: 30px;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  color: var(--water-dark);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.process-grid h3 {
  margin: 24px 0 16px;
}

.belonging-story {
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 780px;
  color: var(--white);
  background: var(--ink);
}

.belonging-story-media {
  min-height: 780px;
}

.belonging-story-copy {
  align-self: center;
  padding: 90px clamp(50px, 7vw, 110px);
}

.belonging-quote {
  font-family: var(--atelier-serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
}

.why-section {
  color: var(--ink);
  background: var(--paper);
}

.why-inner {
  width: min(100%, var(--max));
  padding: 120px 40px;
}

.why-heading {
  max-width: 820px;
  margin: 0 auto 76px;
  text-align: center;
}

.why-heading .eyebrow {
  justify-content: center;
}

.why-heading h2 {
  max-width: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px 24px;
}

.why-grid article {
  grid-column: span 4;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.why-grid article:nth-child(1),
.why-grid article:nth-child(5) {
  grid-column: span 6;
}

.why-card-media {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #dfddd7;
}

.why-grid article:nth-child(1) .why-card-media,
.why-grid article:nth-child(5) .why-card-media {
  aspect-ratio: 16 / 10;
}

.why-card-media img {
  filter: none;
}

.why-card-copy,
.why-grid article:nth-child(1) .why-card-copy,
.why-grid article:nth-child(5) .why-card-copy,
.why-grid article:nth-child(6) .why-card-copy {
  min-height: 0;
  padding: 26px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.why-grid h3 {
  margin-bottom: 12px;
}

.why-grid p {
  color: var(--muted);
  font-size: 15px;
}

.theme-trips {
  color: var(--white);
  background: var(--ink);
}

.theme-trips-inner {
  width: min(100%, var(--max));
  padding: 120px 40px;
}

.theme-trip-list article {
  border-color: rgba(255, 255, 255, 0.2);
}

.theme-interest-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.cta-band {
  color: var(--ink);
  background: #e9e3da;
}

.cta-band-inner {
  width: min(100%, var(--max));
  padding: 104px 40px;
}

.cta-band h2 {
  max-width: 12ch;
}

/* Cards, facts and programmes */
.feature-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  background: transparent;
  border: 1px solid var(--line);
}

.feature-stat-grid div {
  min-height: 190px;
  padding: 28px 24px;
  background: transparent;
  border-right: 1px solid var(--line);
}

.feature-stat-grid div:last-child {
  border-right: 0;
}

.feature-stat-grid strong {
  font-size: clamp(27px, 2.6vw, 40px);
}

.feature-stat-grid span {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.equipment-signature {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 1px solid var(--line);
  border-left: 0;
}

.equipment-signature span {
  color: var(--water-dark);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.equipment-signature strong {
  margin-top: 6px;
  font-size: 26px;
}

.course-grid,
.activity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.course-grid article,
.activity-grid article {
  min-height: 300px;
  padding: 38px;
  background: var(--white);
  border: 0;
}

.course-grid h3,
.activity-grid h3 {
  margin-top: 28px;
}

.course-grid p,
.activity-grid p {
  font-size: 15px;
}

.course-grid small {
  margin-top: 30px;
  font-weight: 600;
}

.activity-visual-strip {
  gap: 16px;
  padding: 0 40px 18px;
}

.activity-visual-tile {
  flex-basis: min(78vw, 590px);
  min-width: min(78vw, 590px);
  min-height: 560px;
}

.activity-visual-tile::after {
  background: linear-gradient(0deg, rgba(20, 20, 18, 0.64), transparent 65%);
}

.activity-visual-tile > span {
  padding: 32px;
}

.activity-visual-tile strong {
  font-family: var(--atelier-serif);
  font-size: 38px;
  font-weight: 400;
  text-transform: none;
}

.activity-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.activity-card {
  border: 0;
}

.activity-card.is-featured {
  border-left: 0;
}

.activity-card-image {
  aspect-ratio: 4 / 3;
}

.activity-card-copy {
  min-height: 190px;
  padding: 24px 0 0;
}

.activity-card-copy h3 {
  font-size: 30px;
}

/* Dates and booking */
.date-grid {
  gap: 34px;
}

.trip-panel {
  background: var(--white);
  border: 0;
  box-shadow: none;
}

.trip-panel img {
  aspect-ratio: 16 / 8;
}

.trip-content {
  padding: 34px 0 0;
}

.trip-meta {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.trip-price {
  font-family: var(--atelier-serif);
  font-size: 31px;
  font-weight: 400;
}

.date-list {
  margin-top: 30px;
}

.date-list a {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.booking-layout {
  gap: 90px;
}

.clean-list li {
  font-size: 15px;
  line-height: 1.55;
}

.booking-form {
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  border: 0;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  border: 0;
  border-bottom: 1px solid #9d9a93;
  background: transparent;
}

/* Galleries */
.mosaic,
.gallery-collection-mosaic {
  gap: 12px;
}

.mosaic figure,
.gallery-collection-mosaic figure {
  background: var(--paper);
  overflow: hidden;
}

.mosaic img,
.gallery-collection-mosaic img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mosaic figcaption,
.gallery-collection-mosaic figcaption,
.yacht-gallery-feature figcaption,
.yacht-gallery-track figcaption {
  padding: 20px 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.gallery-yacht-link {
  padding: 86px 40px;
  color: var(--ink);
  background: var(--paper);
}

.gallery-yacht-link p:last-child {
  color: #514e49;
}

.gallery-video-grid,
.youtube-video-grid {
  gap: 24px;
}

.gallery-video-grid figure,
.youtube-video-grid article {
  background: transparent;
  border: 0;
}

.gallery-video-grid figcaption {
  padding: 18px 0 0;
  color: var(--ink);
}

.youtube-gallery {
  background: var(--ink);
}

.yacht-gallery-feature {
  margin-bottom: 74px;
}

.yacht-gallery-feature picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.yacht-gallery-feature img {
  min-height: 650px;
  object-fit: cover;
}

.yacht-gallery-toolbar {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.yacht-gallery-heading strong {
  font-family: var(--atelier-serif);
  font-size: 32px;
  font-weight: 400;
}

.yacht-gallery-heading span,
.yacht-gallery-count {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.yacht-gallery-prev,
.yacht-gallery-next {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}

.yacht-gallery-track {
  gap: 18px;
}

.yacht-gallery-track figure {
  flex-basis: min(70vw, 560px);
  min-width: min(70vw, 560px);
  background: var(--white);
}

.yacht-gallery-track img {
  min-height: 420px;
}

/* FAQ and footer */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 82px;
  padding: 23px 54px 23px 0;
  font-family: var(--atelier-serif);
  font-size: 25px;
  font-weight: 400;
}

.faq-list summary::after {
  font-family: var(--atelier-sans);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details p {
  max-width: 780px;
  padding: 0 0 32px;
  color: var(--muted);
  font-size: 16px;
}

.contact-layout {
  gap: 90px;
}

.footer-social-band {
  padding: 96px 40px;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-social-band h2 {
  max-width: 10ch;
}

.footer-social-actions a {
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.footer-social-actions .is-primary {
  color: var(--ink);
  background: var(--white);
}

.footer-main {
  padding: 82px 40px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-main h2 {
  color: var(--white);
  font-family: var(--atelier-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.55);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-page,
.generic-content {
  width: min(calc(100% - 80px), 940px);
  min-height: 62vh;
  padding: 110px 0 140px;
}

.legal-page h1,
.generic-content h1 {
  margin-bottom: 48px;
}

.legal-content {
  margin-top: 54px;
}

.legal-content h2 {
  margin-top: 62px;
  font-size: 38px;
}

.legal-content h3 {
  margin-top: 40px;
  font-size: 28px;
}

.legal-content p,
.legal-content li,
.entry-content p,
.entry-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.mobile-action-bar {
  display: none;
}

/* Gentle motion, never at the cost of legibility. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .editorial-split img,
  .why-card-media img,
  .activity-card-image,
  .trip-panel img {
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .editorial-split:hover img,
  .why-grid article:hover .why-card-media img,
  .activity-card:hover .activity-card-image,
  .trip-panel:hover img {
    transform: scale(1.025);
  }
}

@media (max-width: 1079px) {
  :root {
    --header-height: 78px;
  }

  .site-header-inner {
    padding: 0 22px;
  }

  .header-brand-group {
    gap: 10px;
  }

  .site-brand-logo {
    width: 108px;
    height: 60px;
  }

  .header-duotone-logo {
    width: 100px;
    height: 48px;
  }

  .menu-toggle {
    left: 16px;
  }

  .header-social-links {
    right: 18px;
  }

  .editorial-split,
  .editorial-split.reverse {
    gap: 54px;
  }

  .why-grid article,
  .why-grid article:nth-child(1),
  .why-grid article:nth-child(5) {
    grid-column: span 6;
  }

  .activity-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header .site-navigation,
  .admin-bar .site-header .site-navigation {
    position: fixed;
    inset: var(--header-height) auto 0 0;
    width: min(520px, 100%);
    height: calc(100dvh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    max-height: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 56px 64px 90px;
    color: var(--ink);
    background: rgba(247, 245, 240, 0.99);
    box-shadow: 20px 0 60px rgba(31, 30, 27, 0.14);
    transform: translateX(-105%);
    overflow-y: auto;
  }

  .site-header .site-navigation.is-open {
    transform: translateX(0);
  }

  .site-header .site-nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    gap: 0 !important;
    margin: 0 !important;
  }

  .site-header .site-nav-list > li {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    margin: 0 !important;
  }

  .site-header .site-nav-list a,
  .site-header .nav-home-link {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
    min-height: 58px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--atelier-serif);
    font-size: 31px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
  }

  .site-header .header-book {
    width: fit-content;
    min-height: 48px;
    margin: 34px 0 0;
    padding: 13px 20px;
    color: var(--white);
    background: var(--ink);
    font-size: 12px;
    font-weight: 600;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(47px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(40px, 12vw, 52px);
  }

  h3 {
    font-size: 29px;
  }

  .site-header-inner {
    justify-content: center;
    padding: 0 14px;
  }

  .header-brand-group {
    gap: 7px;
  }

  .site-brand-logo {
    width: 87px;
    height: 54px;
  }

  .header-duotone-logo {
    width: 82px;
    height: 44px;
  }

  .menu-toggle {
    left: 8px;
    width: 42px;
  }

  .header-social-links {
    right: 8px;
    gap: 5px;
  }

  .header-social-link,
  .header-instagram,
  .header-whatsapp,
  .header-social-link:hover,
  .header-social-link:focus-visible,
  .header-whatsapp:hover,
  .header-whatsapp:focus-visible {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .header-social-link svg {
    width: 14px;
    height: 14px;
  }

  .site-navigation {
    width: 100%;
    padding: 36px 30px 110px;
  }

  .site-nav-list a,
  .nav-home-link {
    min-height: 54px;
    font-size: 28px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero > .hero-media[data-parallax] {
    top: -8%;
    height: 116%;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(18, 18, 16, 0.7) 0%, rgba(18, 18, 16, 0.22) 75%, rgba(18, 18, 16, 0.12) 100%);
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 70px 0 42px;
  }

  .hero h1 {
    max-width: 8.5ch;
    margin: 9px 0 18px;
    font-size: clamp(50px, 15vw, 64px);
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-emotional-hook {
    margin: 20px 0;
    padding-left: 15px;
    font-size: 24px;
  }

  .hero-booking-signal {
    margin: 20px 0 18px;
    padding: 12px 0 12px 15px;
  }

  .hero-booking-signal strong {
    font-size: 27px;
  }

  .hero .button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero .button {
    min-width: 0;
    padding: 12px 10px;
    font-size: 10px;
    text-align: center;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }

  .hero-facts div {
    padding: 14px 8px 0 0;
  }

  .hero-facts strong {
    font-size: 17px;
  }

  .hero-facts span {
    font-size: 9px;
  }

  .page-hero {
    min-height: 76svh;
  }

  .page-hero::after {
    background: linear-gradient(0deg, rgba(18, 18, 16, 0.65), rgba(18, 18, 16, 0.08) 78%);
  }

  .page-hero-content {
    width: calc(100% - 40px);
    padding: 70px 0 44px;
  }

  .page-hero h1 {
    max-width: 9ch;
    font-size: clamp(49px, 14vw, 62px);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .section-jump {
    min-height: 56px;
  }

  .section-jump a {
    min-height: 56px;
  }

  .section,
  .section-inner,
  .why-inner,
  .theme-trips-inner,
  .cta-band-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-inner {
    padding-top: 0;
    padding-bottom: 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head p:not(.eyebrow),
  .copy p,
  .faq-list details p {
    font-size: 16px;
  }

  .editorial-split,
  .editorial-split.reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .editorial-split > img,
  .editorial-split.reverse > img {
    min-height: 0;
    aspect-ratio: 4 / 5;
    order: -1;
  }

  .full-image {
    width: calc(100% - 40px);
    aspect-ratio: 4 / 5;
    margin-bottom: 20px;
  }

  .duotone-standard-inner {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .duotone-standard-mark img {
    max-height: 110px;
  }

  .black-panther-feature-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 76px 20px;
  }

  .sport-list {
    gap: 8px;
    padding: 8px 0;
  }

  .sport-band {
    min-height: 88svh;
    align-items: center;
  }

  .sport-band > img[data-parallax] {
    top: -12%;
    height: 124%;
  }

  .sport-band-content {
    width: calc(100% - 40px);
    padding: 42px 0;
  }

  .sport-band h2 {
    margin-top: 10px;
    font-size: clamp(48px, 14vw, 62px);
  }

  .sport-band p {
    font-size: 15px;
  }

  .video-section {
    grid-template-columns: 1fr;
  }

  .video-copy {
    order: 1;
    padding: 72px 20px;
  }

  .video-wrap {
    order: 2;
  }

  .video-wrap,
  .video-wrap video {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .process-grid,
  .rhythm-section .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .process-grid article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid h3 {
    margin: 14px 0 10px;
  }

  .belonging-story {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .belonging-story-media {
    min-height: 66svh;
  }

  .belonging-story-copy {
    padding: 70px 20px;
  }

  .why-inner,
  .theme-trips-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .why-heading {
    margin-bottom: 48px;
    text-align: left;
  }

  .why-heading .eyebrow {
    justify-content: flex-start;
  }

  .why-grid {
    display: flex;
    gap: 16px;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .why-grid article,
  .why-grid article:nth-child(1),
  .why-grid article:nth-child(5) {
    min-width: min(82vw, 340px);
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .why-card-media,
  .why-grid article:nth-child(1) .why-card-media,
  .why-grid article:nth-child(5) .why-card-media {
    aspect-ratio: 4 / 5;
  }

  .cta-band-inner {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .feature-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-stat-grid div {
    min-height: 150px;
    padding: 20px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .feature-stat-grid div:nth-child(2n) {
    border-right: 0;
  }

  .feature-stat-grid div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .feature-stat-grid strong {
    font-size: 27px;
  }

  .feature-stat-grid span {
    margin-top: 20px;
    font-size: 12px;
  }

  .course-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .course-grid article,
  .activity-grid article {
    min-height: 0;
    padding: 30px 24px;
  }

  .activity-visual-strip {
    padding-right: 20px;
    padding-left: 20px;
  }

  .activity-visual-tile {
    min-width: 82vw;
    flex-basis: 82vw;
    min-height: 68svh;
  }

  .activity-visual-tile > span {
    padding: 24px;
  }

  .activity-visual-tile strong {
    font-size: 32px;
  }

  .activity-detail-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .activity-card-image {
    aspect-ratio: 4 / 5;
  }

  .activity-card-copy {
    min-height: 0;
  }

  .date-grid {
    gap: 68px;
  }

  .trip-panel img {
    aspect-ratio: 4 / 3;
  }

  .booking-layout {
    gap: 50px;
  }

  .booking-form {
    padding: 30px 20px;
  }

  .gallery-yacht-link {
    padding: 68px 20px;
  }

  .gallery-video-grid,
  .youtube-video-grid {
    display: flex;
    gap: 14px;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .gallery-video-grid figure,
  .youtube-video-grid article {
    min-width: 84vw;
    flex: 0 0 84vw;
    scroll-snap-align: start;
  }

  .mosaic,
  .gallery-collection-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mosaic figure:first-child,
  .mosaic .mosaic-wide,
  .gallery-collection-mosaic figure:first-child,
  .gallery-collection-mosaic .mosaic-wide {
    grid-column: 1 / -1;
  }

  .mosaic figure,
  .gallery-collection-mosaic figure {
    align-self: start;
  }

  .mosaic img,
  .gallery-collection-mosaic img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .mosaic figure:first-child img,
  .mosaic .mosaic-wide img,
  .gallery-collection-mosaic figure:first-child img,
  .gallery-collection-mosaic .mosaic-wide img {
    aspect-ratio: 4 / 3;
  }

  .mosaic figcaption,
  .gallery-collection-mosaic figcaption {
    position: static;
    padding: 12px 4px 18px;
    color: var(--ink);
    background: transparent;
    font-size: 9px;
  }

  .yacht-gallery-feature {
    margin-bottom: 50px;
  }

  .yacht-gallery-feature img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .yacht-gallery-toolbar {
    align-items: flex-end;
  }

  .yacht-gallery-heading strong {
    font-size: 28px;
  }

  .yacht-gallery-heading span {
    max-width: 23ch;
  }

  .yacht-gallery-track figure {
    min-width: 84vw;
    flex-basis: 84vw;
  }

  .yacht-gallery-track img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .faq-list summary {
    min-height: 74px;
    padding-right: 42px;
    font-size: 22px;
  }

  .footer-social-band,
  .footer-main,
  .footer-bottom {
    padding-right: 20px;
    padding-left: 20px;
  }

  .footer-social-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .footer-main {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .legal-page,
  .generic-content {
    width: calc(100% - 40px);
    padding: 76px 0 100px;
  }

  .legal-page h1,
  .generic-content h1 {
    margin-bottom: 34px;
  }

  .legal-content {
    margin-top: 38px;
  }

  .legal-content h2 {
    margin-top: 48px;
    font-size: 32px;
  }

  .mobile-action-bar {
    height: 72px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    color: var(--white);
    background: rgba(29, 29, 27, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
  }

  .mobile-action-bar a {
    min-width: 0;
    padding: 10px 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .mobile-action-bar .mobile-action-primary {
    color: var(--ink);
    background: var(--paper);
  }
}

@media (max-width: 430px) {
  .site-brand-logo {
    width: 76px;
  }

  .header-duotone-logo {
    width: 70px;
  }

  .header-social-links {
    display: none;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 58px);
  }
}

/*
 * Responsive finishing pass
 *
 * The editorial layouts have generous desktop proportions and a dedicated
 * phone composition. This middle range keeps the same visual language while
 * giving copy, statistics and media enough room on tablets and small laptops.
 */
:where(
  .editorial-split,
  .black-panther-feature-inner,
  .video-section,
  .belonging-story,
  .feature-stat-grid,
  .process-grid,
  .course-grid,
  .activity-grid,
  .activity-detail-grid,
  .date-grid,
  .why-grid,
  .gallery-video-grid,
  .youtube-video-grid
) > * {
  min-width: 0;
}

:where(.feature-stat-grid, .process-grid, .trip-meta, .course-grid, .activity-grid) strong,
:where(.feature-stat-grid, .process-grid, .trip-meta, .course-grid, .activity-grid) h3 {
  max-width: 100%;
  overflow-wrap: break-word;
}

:where(.video-wrap, .gallery-video-grid, .youtube-video-frame) video,
:where(.video-wrap, .gallery-video-grid, .youtube-video-frame) iframe {
  max-width: 100%;
  display: block;
}

@media (min-width: 768px) and (max-width: 1079px) {
  h1 {
    font-size: clamp(56px, 7.5vw, 78px);
  }

  h2 {
    font-size: clamp(43px, 5.8vw, 61px);
  }

  .section {
    padding: 92px 32px;
  }

  .section-inner,
  .why-inner,
  .theme-trips-inner,
  .cta-band-inner {
    padding-right: 32px;
    padding-left: 32px;
  }

  .section > .section-inner {
    padding-right: 0;
    padding-left: 0;
  }

  .hero-content,
  .page-hero-content {
    width: calc(100% - 64px);
  }

  .editorial-split,
  .editorial-split.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .editorial-split > img,
  .editorial-split.reverse > img {
    width: 100%;
    min-height: 0;
    max-height: 620px;
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .editorial-split .copy,
  .editorial-split .copy h2 {
    max-width: 760px;
  }

  .black-panther-feature-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
    padding: 92px 32px;
  }

  .black-panther-gallery {
    max-width: 760px;
  }

  .video-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-copy {
    width: 100%;
    max-width: none;
    padding: 78px 56px 64px;
    order: 1;
  }

  .video-wrap {
    min-height: 0;
    aspect-ratio: 16 / 9;
    order: 2;
  }

  .video-wrap video {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .process-grid,
  .rhythm-section .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid article,
  .process-grid article + article {
    min-height: 230px;
    padding: 32px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:nth-child(2n) {
    border-right: 0;
  }

  .process-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .belonging-story {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .belonging-story-media {
    min-height: 68svh;
  }

  .belonging-story-copy {
    padding: 78px 56px;
  }

  .feature-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-stat-grid div {
    min-height: 170px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .feature-stat-grid div:nth-child(2n) {
    border-right: 0;
  }

  .feature-stat-grid div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .feature-stat-grid strong {
    font-size: clamp(30px, 4vw, 38px);
    line-height: 1.04;
  }

  .feature-stat-grid span {
    font-size: 14px;
  }

  .course-grid,
  .activity-grid,
  .activity-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-grid article,
  .activity-grid article {
    min-height: 270px;
    padding: 32px;
  }

  .activity-card-copy {
    min-height: 210px;
  }

  .activity-card-image {
    aspect-ratio: 4 / 3;
  }

  .why-grid {
    gap: 52px 22px;
  }

  .why-grid article,
  .why-grid article:nth-child(1),
  .why-grid article:nth-child(5) {
    grid-column: span 6;
  }

  .why-grid article:nth-child(1) .why-card-media,
  .why-grid article:nth-child(5) .why-card-media {
    aspect-ratio: 4 / 3;
  }

  .trip-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .trip-price {
    max-width: 10ch;
    font-size: 28px;
    line-height: 1.05;
    text-align: right;
  }

  .gallery-video-grid,
  .youtube-video-grid {
    grid-auto-columns: min(60vw, 480px);
  }

  .yacht-gallery-feature img {
    min-height: 0;
    max-height: 680px;
    aspect-ratio: 16 / 10;
  }

  .yacht-gallery-track figure {
    min-width: min(70vw, 560px);
    flex-basis: min(70vw, 560px);
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .date-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
  }

  .trip-price {
    max-width: none;
  }

  .activity-detail-grid .activity-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: stretch;
  }

  .activity-detail-grid .activity-card:last-child:nth-child(odd) .activity-card-image {
    height: 100%;
    min-height: 330px;
    aspect-ratio: auto;
  }

  .activity-detail-grid .activity-card:last-child:nth-child(odd) .activity-card-copy {
    min-height: 0;
    padding: 34px 28px;
  }
}

@media (min-width: 900px) and (max-width: 1079px) {
  .activity-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :where(.sport-band h2, .activity-card-copy h3, .feature-stat-grid strong) {
    overflow-wrap: break-word;
  }

  .section-jump {
    grid-auto-columns: calc(100vw / 3);
  }

  .section-jump a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .gallery-video-grid video,
  .youtube-video-frame,
  .youtube-video-frame iframe {
    max-width: 100%;
  }
}

/* Final layout and contrast corrections */
.fact-strip strong {
  color: var(--ink);
}

.fact-strip span {
  color: #514e49;
}

.why-heading .eyebrow {
  color: #6b543e;
}

.why-heading > p:not(.eyebrow) {
  max-width: 64ch;
  margin-right: auto;
  margin-left: auto;
  color: #514e49;
  font-size: 17px;
  line-height: 1.7;
}

.why-grid article,
.why-grid article:first-child,
.why-grid article:nth-child(1),
.why-grid article:nth-child(5),
.why-grid article:nth-child(n + 2):nth-child(-n + 4),
.why-grid article:nth-child(n + 5),
.why-grid article:nth-child(8) {
  grid-column: auto;
  grid-template-columns: none;
  grid-template-rows: none;
  min-width: 0;
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}

.why-grid article:nth-child(8) {
  width: auto;
  justify-self: stretch;
}

.why-card-media,
.why-grid article:first-child .why-card-media,
.why-grid article:nth-child(1) .why-card-media,
.why-grid article:nth-child(5) .why-card-media {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.why-card-copy,
.why-grid article:first-child .why-card-copy,
.why-grid article:nth-child(1) .why-card-copy,
.why-grid article:nth-child(5) .why-card-copy,
.why-grid article:nth-child(6) .why-card-copy {
  width: 100%;
  min-height: 0;
  padding: 24px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.why-grid h3 {
  overflow-wrap: anywhere;
}

.why-grid p {
  color: #514e49;
  font-size: 16px;
  line-height: 1.65;
}

.section-dark .section-head p:not(.eyebrow),
.section-dark .copy p,
.section-dark .copy li,
.video-copy p,
.black-panther-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.theme-trips .section-head p:not(.eyebrow),
.belonging-story-copy > p:not(.eyebrow):not(.belonging-quote) {
  color: rgba(255, 255, 255, 0.86);
}

.belonging-story-copy > .eyebrow,
.theme-trips .section-head > .eyebrow {
  color: #78d7df;
}

.theme-trips .theme-trip-list article > p {
  color: rgba(255, 255, 255, 0.86);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero::after {
  background: linear-gradient(90deg, rgba(20, 20, 18, 0.7), rgba(20, 20, 18, 0.2) 72%);
}

@media (min-width: 1080px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 62px 24px;
    align-items: stretch;
  }

  .why-grid article,
  .why-grid article:first-child,
  .why-grid article:nth-child(1),
  .why-grid article:nth-child(5) {
    display: flex;
    flex-direction: column;
  }

  .why-card-copy,
  .why-grid article:first-child .why-card-copy,
  .why-grid article:nth-child(1) .why-card-copy,
  .why-grid article:nth-child(5) .why-card-copy,
  .why-grid article:nth-child(6) .why-card-copy {
    flex: 1;
  }

  .why-grid h3 {
    min-height: 2.2em;
    font-size: clamp(25px, 1.7vw, 31px);
  }
}

@media (min-width: 768px) and (max-width: 1079px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 22px;
    align-items: stretch;
  }

  .why-grid article,
  .why-grid article:first-child,
  .why-grid article:nth-child(1),
  .why-grid article:nth-child(5) {
    display: flex;
    flex-direction: column;
  }

  .why-card-copy,
  .why-grid article:first-child .why-card-copy,
  .why-grid article:nth-child(1) .why-card-copy,
  .why-grid article:nth-child(5) .why-card-copy,
  .why-grid article:nth-child(6) .why-card-copy {
    flex: 1;
  }
}

@media (max-width: 767px) {
  .why-heading > p:not(.eyebrow) {
    margin-left: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .why-grid article,
  .why-grid article:first-child,
  .why-grid article:nth-child(1),
  .why-grid article:nth-child(5) {
    display: flex;
    flex-direction: column;
  }

  .why-card-copy,
  .why-grid article:first-child .why-card-copy,
  .why-grid article:nth-child(1) .why-card-copy,
  .why-grid article:nth-child(5) .why-card-copy,
  .why-grid article:nth-child(6) .why-card-copy {
    flex: 1;
  }

  .page-hero::after {
    background: linear-gradient(0deg, rgba(18, 18, 16, 0.72), rgba(18, 18, 16, 0.16) 82%);
  }
}

@media (hover: hover) {
  .why-grid article:hover {
    box-shadow: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/*
 * Atelier 1.0.3 layout refinement
 * Keep every section and interaction while making the final compositions
 * deterministic across wide screens and phones.
 */
.home-layout {
  display: flex;
  flex-direction: column;
}

.home-layout > * {
  order: 100;
}

.home-layout > .hero {
  order: 1;
}

.home-layout > .fact-strip {
  order: 2;
}

.home-layout > .home-order-black-panther {
  order: 3;
}

.home-layout > .home-order-main-focus {
  order: 4;
}

.home-layout > .home-order-activities {
  order: 5;
}

.home-layout > .home-order-why {
  order: 6;
}

.home-layout > .home-order-efoil {
  order: 7;
}

.home-layout > .home-order-duotone {
  order: 8;
}

.home-layout > .home-order-rest {
  order: 9;
}

.black-panther-copy .button-water {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.black-panther-copy .button-water:hover,
.black-panther-copy .button-water:focus-visible {
  color: var(--white);
  background: var(--water-dark);
  border-color: var(--water-dark);
}

.trip-panel,
.trip-content,
.feature-stat-grid,
.feature-stat-grid > div,
.activity-visual-strip,
.activity-visual-tile,
.gallery-collection-mosaic,
.gallery-collection-mosaic > figure {
  min-width: 0;
}

@media (min-width: 1080px) {
  .activity-visual-strip {
    width: min(100%, var(--max));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 12px;
    margin: 0 auto 46px;
    padding: 0 40px;
    overflow: visible;
  }

  .activity-visual-tile {
    width: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    flex-basis: auto;
  }

  .activity-visual-tile > span {
    padding: 24px;
  }

  .activity-visual-tile strong {
    font-size: clamp(28px, 2vw, 36px);
  }

  .activity-visual-tile:nth-child(1) img {
    object-position: 56% center;
  }

  .activity-visual-tile:nth-child(2) img {
    object-position: center 58%;
  }

  .activity-visual-tile:nth-child(3) img,
  .activity-visual-tile:nth-child(4) img {
    object-position: center;
  }

  .date-grid {
    width: min(100%, 1240px);
    gap: 44px;
    align-items: stretch;
    margin-right: auto;
    margin-left: auto;
  }

  .trip-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .trip-content {
    flex: 1;
    padding: 36px 34px 32px;
  }

  .yacht-overview-section .editorial-split,
  .yacht-overview-section .editorial-split.reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
    align-items: stretch;
    gap: clamp(48px, 5vw, 76px);
  }

  .yacht-overview-section .editorial-split.reverse .copy {
    order: 1;
  }

  .yacht-overview-section .editorial-split.reverse > img {
    order: 2;
  }

  .yacht-overview-section .editorial-split > img {
    height: 100%;
    min-height: 620px;
    aspect-ratio: auto;
  }

  .yacht-overview-section .feature-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yacht-overview-section .feature-stat-grid > div {
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 24px;
    overflow: hidden;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .yacht-overview-section .feature-stat-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .yacht-overview-section .feature-stat-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .yacht-overview-section .feature-stat-grid strong,
  .yacht-overview-section .feature-stat-grid strong.stat-single-line {
    min-height: 0;
    max-width: 100%;
    font-size: clamp(28px, 2.25vw, 38px);
    line-height: 1.05;
    overflow-wrap: normal;
    white-space: normal;
  }

  .yacht-overview-section .feature-stat-grid span {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero {
    min-height: max(960px, calc(128svh - var(--header-height)));
    align-items: flex-start;
  }

  .home-layout > .hero .hero-content {
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .home-layout > .hero h1 {
    margin-top: 14px;
    margin-bottom: 26px;
    font-size: clamp(46px, 13.5vw, 58px);
  }

  .home-layout > .hero .hero-lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .home-layout > .hero .hero-emotional-hook {
    margin-top: 28px;
    margin-bottom: 28px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: clamp(23px, 7vw, 29px);
    line-height: 1.16;
  }

  .home-layout > .hero .hero-booking-signal {
    margin-top: 28px;
    margin-bottom: 24px;
    padding-top: 17px;
    padding-bottom: 17px;
  }

  .home-layout > .hero .button-row {
    gap: 12px;
  }

  .home-layout > .hero .button {
    min-height: 54px;
    font-size: 11px;
  }

  .home-layout > .hero .hero-facts {
    margin-top: 34px;
  }

  .black-panther-copy h2 {
    max-width: 10ch;
    font-size: clamp(40px, 12vw, 52px);
  }

  .black-panther-copy .button-water {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .trip-content {
    padding: 30px 22px 24px;
  }

  .date-grid {
    gap: 52px;
  }

  .date-list a {
    padding-right: 4px;
    padding-left: 4px;
  }

  .gallery-collection-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-rows: auto;
    gap: 8px;
  }

  .gallery-collection-mosaic > figure,
  .gallery-collection-mosaic > figure:first-child,
  .gallery-collection-mosaic > figure:last-child,
  .gallery-collection-mosaic > .mosaic-wide {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    margin: 0;
    align-self: stretch;
  }

  .gallery-collection-mosaic > figure img,
  .gallery-collection-mosaic > figure:first-child img,
  .gallery-collection-mosaic > .mosaic-wide img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .gallery-collection-mosaic figcaption,
  .gallery-collection-mosaic .gallery-featured-caption figcaption {
    display: none;
  }

  .gallery-collection-mosaic .gallery-face-crop img {
    object-position: center 20%;
  }
}

/*
 * Atelier 1.0.4 composition polish
 * Final ordering, responsive hero art direction and yacht presentation.
 */
.home-layout > .home-order-belonging {
  order: 9;
}

.home-layout > .home-order-departures {
  order: 10;
}

.home-layout > .home-order-themes {
  order: 11;
}

.home-layout > .home-order-moments {
  order: 12;
}

.home-layout > .home-order-rhythm {
  order: 13;
}

.home-layout > .home-order-different {
  order: 14;
}

.home-layout > .home-order-partners {
  order: 15;
}

.home-layout > .home-order-cta {
  order: 16;
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.hero-picture .hero-media {
  position: absolute;
  top: -11%;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 122%;
  object-fit: cover;
  object-position: center 46%;
}

.hero-picture .hero-media[data-parallax] {
  transform: translate3d(0, var(--parallax-y), 0) scale(1.04);
}

.yacht-gallery-feature img[data-parallax] {
  top: -220px;
  height: calc(100% + 440px);
  transform: translate3d(0, var(--parallax-y), 0) scale(1.025);
}

@media (min-width: 1080px) {
  .black-panther-feature-inner {
    width: min(100%, 1720px);
    grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.65fr);
    gap: clamp(48px, 4vw, 70px);
    padding-top: 96px;
    padding-bottom: 96px;
  }

	.black-panther-gallery {
		min-height: clamp(540px, 38vw, 680px);
		grid-template-rows: repeat(2, minmax(0, 1fr));
	}

	.black-panther-gallery .black-panther-gallery-main {
		object-position: 78% 50%;
	}

  .black-panther-copy h2 {
    max-width: 11ch;
    font-size: clamp(52px, 4.2vw, 76px);
    line-height: 1.01;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero {
    min-height: max(1100px, calc(140svh - var(--header-height)));
  }

  .hero-picture .hero-media {
	 top: -9%;
	 height: 118%;
	 object-position: 50% center;
  }

  .hero-picture .hero-media[data-parallax] {
    transform: translate3d(0, var(--parallax-y), 0) scale(1.025);
  }

  .home-layout > .hero .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 16, 14, 0.8) 0%, rgba(16, 16, 14, 0.4) 68%, rgba(16, 16, 14, 0.52) 100%),
      linear-gradient(90deg, rgba(16, 16, 14, 0.22), rgba(16, 16, 14, 0.06));
  }

  .home-layout > .hero .hero-content {
    width: calc(100% - 48px);
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .home-layout > .hero h1 {
    max-width: 9ch;
    margin-top: 18px;
    margin-bottom: 30px;
    font-size: clamp(43px, 12.5vw, 53px);
    line-height: 0.99;
  }

  .home-layout > .hero .hero-lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .home-layout > .hero .hero-emotional-hook {
    margin-top: 34px;
    margin-bottom: 34px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .home-layout > .hero .hero-booking-signal {
    margin-top: 34px;
    margin-bottom: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .home-layout > .hero .button-row {
    gap: 14px;
  }

  .home-layout > .hero .hero-facts {
    margin-top: 42px;
  }

  .black-panther-copy h2 {
    max-width: 11ch;
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1.03;
  }

  .yacht-gallery-feature img[data-parallax] {
	 top: -75px;
	 height: calc(100% + 150px);
	 object-position: center 48%;
  }

  .home-departures .trip-panel-black-panther {
	 order: -1;
  }

  .yacht-gallery-feature picture {
	 height: 100%;
  }

  .yacht-gallery-feature {
	 height: clamp(560px, 150vw, 680px);
  }
}

/* Atelier 1.0.6: targeted mobile hero and quick-facts refinement. */
@media (max-width: 767px) {
  .hero-picture .hero-media {
    top: -5%;
    height: 110%;
    object-position: center 48%;
  }

  .home-layout > .hero .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 16, 14, 0.82) 0%, rgba(16, 16, 14, 0.5) 64%, rgba(16, 16, 14, 0.56) 100%),
      linear-gradient(90deg, rgba(16, 16, 14, 0.2), rgba(16, 16, 14, 0.04));
  }

  .fact-strip {
    display: flex;
    gap: 0;
    padding: 0 20px;
    color: var(--white);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
  }

  .fact-strip > * {
    flex: 0 0 min(76vw, 300px);
    min-width: min(76vw, 300px);
    min-height: 168px;
    padding: 28px 24px 30px;
    border-color: rgba(255, 255, 255, 0.18);
    scroll-snap-align: start;
  }

  .fact-strip strong {
    color: var(--white);
    font-family: var(--atelier-serif);
    font-size: 27px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: none;
  }

  .fact-strip span {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Atelier 1.0.7: compact mobile facts and lighter hero treatment. */
.home-layout > .hero .hero-shade {
  background: linear-gradient(90deg, rgba(19, 19, 17, 0.5) 0%, rgba(19, 19, 17, 0.12) 58%, rgba(19, 19, 17, 0.04) 100%);
}

@media (min-width: 1080px) {
  .black-panther-feature-inner {
    grid-template-columns: minmax(360px, 0.65fr) minmax(0, 1.5fr);
  }

  .black-panther-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .black-panther-gallery {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 16, 14, 0.68) 0%, rgba(16, 16, 14, 0.32) 64%, rgba(16, 16, 14, 0.4) 100%),
      linear-gradient(90deg, rgba(16, 16, 14, 0.14), rgba(16, 16, 14, 0.02));
  }

  .fact-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .fact-strip > * {
    min-width: 0;
    min-height: 138px;
    padding: 22px 20px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .fact-strip > :nth-child(2n) {
    border-right: 0;
  }

  .fact-strip > :nth-child(n) {
    border-right: 0;
  }

  .fact-strip > :nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .fact-strip strong {
    font-size: clamp(21px, 6vw, 25px);
  }

  .fact-strip span {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.45;
  }
}

/* Atelier 1.0.8: booking documents and targeted layout corrections. */
.black-panther-downloads {
  width: min(100%, 1240px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin: 72px auto 0;
  padding: clamp(34px, 4vw, 54px);
  color: var(--white);
  background: var(--ink);
}

.black-panther-downloads-copy h3 {
  max-width: 14ch;
  margin: 12px 0 16px;
  color: var(--white);
  font-family: var(--atelier-serif);
  font-size: clamp(31px, 3vw, 45px);
  font-weight: 400;
  line-height: 1.05;
}

.black-panther-downloads-copy > p:last-child {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.black-panther-download-links {
  display: grid;
  gap: 12px;
}

.document-download-link {
  position: relative;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 70px 20px 24px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.36);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.document-download-link::after {
  content: "\2193";
  position: absolute;
  top: 50%;
  right: 25px;
  font-family: var(--atelier-serif);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-54%);
}

.document-download-link:hover,
.document-download-link:focus-visible {
  color: var(--white);
  background: var(--water-dark);
}

.document-download-link span {
  font-family: var(--atelier-serif);
  font-size: 23px;
  line-height: 1.12;
}

.document-download-link small {
  margin-top: 7px;
  font-family: var(--atelier-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-grid,
.rhythm-section .process-grid {
  border: 1px solid var(--line);
}

@media (min-width: 1080px) {
  .date-grid .trip-panel > img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
  }

  .date-grid .trip-content {
    display: grid;
    grid-template-rows: minmax(74px, auto) minmax(76px, auto) minmax(88px, auto) auto;
    align-content: start;
  }

  .date-grid .trip-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 20px;
    align-items: center;
  }

  .date-grid .trip-meta > span,
  .date-grid .trip-price {
    white-space: nowrap;
  }

  .date-grid .trip-meta > span {
    font-size: 12px;
    letter-spacing: 0.13em;
  }

  .date-grid .trip-price {
    font-size: clamp(28px, 2vw, 34px);
    line-height: 1.08;
    text-align: right;
  }

  .date-grid .trip-content h3 {
    align-self: center;
    margin: 0;
  }

  .date-grid .trip-content > p {
    align-self: start;
    margin: 0;
  }

  .process-grid article,
  .process-grid article + article {
    padding: 36px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .process-grid article:last-child {
    border-right: 0;
  }
}

@media (min-width: 768px) and (max-width: 1079px) {
  .black-panther-downloads {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .process-grid article + article {
    padding: 32px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:nth-child(2n) {
    border-right: 0;
  }

  .process-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero {
    min-height: max(960px, calc(122svh - var(--header-height)));
  }

  .home-layout > .hero .hero-booking-signal {
    display: none;
  }

  .home-layout > .hero .hero-content {
    padding-bottom: 68px;
  }

  .home-layout > .hero .hero-facts {
    margin-top: 36px;
  }

  .fact-strip {
    display: block;
    padding: 8px 24px 12px;
    overflow: visible;
    color: var(--white);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fact-strip > * {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: start;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-layout > .fact-strip > :nth-child(n) {
    border-right: 0;
  }

  .fact-strip > :nth-child(2n) {
    border-right: 0;
  }

  .fact-strip > :nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fact-strip > :last-child {
    border-bottom: 0;
  }

  .fact-strip strong {
    width: auto;
    height: auto;
    min-height: 0;
    display: block;
    color: var(--white);
    font-family: var(--atelier-serif);
    font-size: clamp(20px, 5.6vw, 23px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: none;
  }

  .fact-strip span {
    margin: 1px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.45;
  }

  .black-panther-feature-inner {
    padding-top: 36px;
  }

  .black-panther-downloads {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
    padding: 32px 22px;
  }

  .black-panther-downloads-copy h3 {
    font-size: 32px;
  }

  .document-download-link {
    min-height: 88px;
    padding-right: 58px;
  }

  .document-download-link::after {
    right: 20px;
  }

  .process-grid article,
  .process-grid article + article {
    min-height: 0;
    padding: 26px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }
}

/* Atelier 1.0.9: the full activity list becomes a compact swipe rail on phones. */
@media (max-width: 767px) {
  .activity-showcase {
    overflow: hidden;
  }

  .activity-showcase .activity-visual-strip {
    display: none;
  }

  .activity-showcase .activity-detail-grid {
    width: calc(100% + 20px);
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-right: -20px;
    padding: 2px 20px 18px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .activity-showcase .activity-detail-grid::-webkit-scrollbar {
    display: none;
  }

  .activity-showcase .activity-detail-grid:focus-visible {
    outline: 2px solid var(--water);
    outline-offset: -2px;
  }

  .activity-showcase .activity-card,
  .activity-showcase .activity-detail-grid .activity-card:last-child:nth-child(odd) {
    flex: 0 0 min(82vw, 340px);
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-self: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .activity-showcase .activity-card-image,
  .activity-showcase .activity-detail-grid .activity-card:last-child:nth-child(odd) .activity-card-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .activity-showcase .activity-card-copy,
  .activity-showcase .activity-detail-grid .activity-card:last-child:nth-child(odd) .activity-card-copy {
    min-height: 210px;
    padding: 20px;
  }

  .activity-showcase .activity-card-copy h3 {
    font-size: 28px;
  }
}

/* Atelier 1.0.10: focused mobile flow, gallery and card refinements. */
.home-layout > .home-order-different {
  order: 13;
}

.home-layout > .home-order-rhythm {
  order: 14;
}

.fact-strip strong .fact-title-line {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

.trip-price-prefix,
.trip-price-amount {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

@media (max-width: 767px) {
  .home-layout > .hero .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 16, 14, 0.54) 0%, rgba(16, 16, 14, 0.2) 64%, rgba(16, 16, 14, 0.26) 100%),
      linear-gradient(90deg, rgba(16, 16, 14, 0.08), rgba(16, 16, 14, 0.01));
  }

  .fact-strip {
    width: 100%;
    display: flex;
    gap: 12px;
    padding: 16px 20px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fact-strip::-webkit-scrollbar {
    display: none;
  }

  .fact-strip:focus-visible,
  .wingfoil-focus-grid:focus-visible,
  .gallery-collection-swipe:focus-visible {
    outline: 2px solid var(--water);
    outline-offset: -2px;
  }

  .fact-strip > *,
  .home-layout > .fact-strip > :nth-child(n) {
    flex: 0 0 min(78vw, 310px);
    min-width: min(78vw, 310px);
    min-height: 166px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.2);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .fact-strip strong {
    min-height: 2.16em;
    display: block;
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.08;
  }

  .fact-strip strong .fact-title-line {
    display: block;
  }

  .fact-strip > div > span {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .home-departures .trip-meta {
    display: grid;
    grid-template-columns: minmax(94px, 0.82fr) minmax(0, 1.18fr);
    gap: 14px;
    align-items: center;
  }

  .home-departures .trip-meta > span {
    font-size: 11px;
    line-height: 1.38;
  }

  .home-departures .trip-price {
    min-width: 0;
    font-size: clamp(24px, 6.8vw, 28px);
    line-height: 1.02;
    text-align: right;
    white-space: normal;
  }

  .home-departures .trip-price-prefix,
  .home-departures .trip-price-amount {
    display: block;
  }

  .home-departures .trip-price-amount {
    white-space: nowrap;
  }

  #wingfoil {
    overflow: hidden;
  }

  #wingfoil .wingfoil-focus-grid {
    width: calc(100% + 20px);
    max-width: none;
    display: flex;
    gap: 14px;
    margin: 34px -20px 0 0;
    padding: 2px 20px 18px 0;
    overflow-x: auto;
    background: transparent;
    border: 0;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #wingfoil .wingfoil-focus-grid::-webkit-scrollbar {
    display: none;
  }

  #wingfoil .wingfoil-focus-grid > div {
    flex: 0 0 min(76vw, 300px);
    min-width: min(76vw, 300px);
    min-height: 184px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  #wingfoil .wingfoil-focus-grid strong {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.04;
    overflow-wrap: normal;
  }

  #wingfoil .wingfoil-focus-grid span {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.45;
  }

  .gallery-collection-section {
    overflow: hidden;
  }

  .gallery-collection-mosaic.gallery-collection-swipe {
    width: calc(100% + 20px);
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-right: -20px;
    padding: 2px 20px 18px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-collection-mosaic.gallery-collection-swipe::-webkit-scrollbar {
    display: none;
  }

  .gallery-collection-mosaic.gallery-collection-swipe > figure,
  .gallery-collection-mosaic.gallery-collection-swipe > figure:first-child,
  .gallery-collection-mosaic.gallery-collection-swipe > figure:last-child,
  .gallery-collection-mosaic.gallery-collection-swipe > .mosaic-wide {
    flex: 0 0 min(82vw, 340px);
    width: min(82vw, 340px);
    height: auto;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .gallery-collection-mosaic.gallery-collection-swipe > figure img,
  .gallery-collection-mosaic.gallery-collection-swipe > figure:first-child img,
  .gallery-collection-mosaic.gallery-collection-swipe > .mosaic-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-order-moments {
    padding-bottom: 96px;
  }

  .home-order-moments .mosaic {
    margin-bottom: 34px;
  }

  .home-order-different,
  .home-order-rhythm {
    position: relative;
    clear: both;
  }

  .why-grid article:nth-child(3) .why-card-media img {
    object-position: center 52%;
  }
}

/* Atelier 1.0.11: focused image, spacing and responsive layout refinements. */
.mobile-safari-intro {
  display: none;
}

.why-grid article:nth-child(8) .why-card-media-pair {
  background: #fff;
}

.home-order-moments .mosaic {
  margin-bottom: 0;
}

.home-order-moments .mosaic + p,
.rhythm-section .process-grid + p {
  margin-top: 38px;
}

@media (min-width: 1080px) {
  .date-grid .trip-meta {
    grid-template-columns: minmax(205px, 1fr) max-content;
    gap: 32px;
  }

  .date-grid .trip-meta > span {
    min-width: 0;
    white-space: normal;
  }

  .date-grid .trip-price {
    font-size: clamp(27px, 1.72vw, 32px);
    white-space: nowrap;
  }

  .gallery-collection-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-rows: auto;
    gap: 14px;
  }

  .gallery-collection-mosaic > figure,
  .gallery-collection-mosaic > figure:first-child,
  .gallery-collection-mosaic > figure:last-child,
  .gallery-collection-mosaic > .mosaic-wide {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
    aspect-ratio: 4 / 3;
  }

  .gallery-collection-mosaic > figure img,
  .gallery-collection-mosaic > figure:first-child img,
  .gallery-collection-mosaic > .mosaic-wide img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 16, 14, 0.3) 0%, rgba(16, 16, 14, 0.06) 64%, rgba(16, 16, 14, 0.1) 100%),
      linear-gradient(90deg, rgba(16, 16, 14, 0.04), rgba(16, 16, 14, 0));
  }

  .home-layout > .hero .hero-content {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
  }

  .home-layout > .fact-strip {
    display: none;
  }

  .home-layout > .mobile-safari-intro {
    order: 2;
    display: block;
    padding: 58px 20px 64px;
    color: var(--ink);
    background: #fff;
  }

  .mobile-safari-intro .eyebrow {
    margin-bottom: 20px;
  }

  .mobile-safari-intro h2 {
    max-width: 12ch;
    margin: 0 0 24px;
    font-size: clamp(38px, 11vw, 48px);
    line-height: 0.98;
  }

  .mobile-safari-intro > p:last-child {
    max-width: 33ch;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
  }

  .home-order-moments .mosaic + p,
  .rhythm-section .process-grid + p {
    margin-top: 34px;
  }
}

/* Atelier 1.0.12: brand spacing and sharper mobile safari introduction. */
.header-brand-group {
  gap: 26px;
}

@media (max-width: 1079px) {
  .header-brand-group {
    gap: 18px;
  }
}

@media (max-width: 430px) {
  .header-brand-group {
    gap: 14px;
  }
}

/* Atelier 1.0.13: stable focus layout, mobile rhythm and social access. */
.activity-showcase-title .phrase-nowrap {
  display: inline;
  white-space: nowrap;
}

.home-moments-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
}

.home-moments-actions .text-link {
  margin-top: 0;
}

.button-instagram {
  gap: 10px;
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.button-instagram:hover,
.button-instagram:focus-visible {
  color: var(--ink);
  background: #fff;
}

.button-instagram svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

@media (min-width: 1080px) {
  #wingfoil .wingfoil-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #wingfoil .wingfoil-focus-grid > div {
    min-height: 180px;
    padding: 28px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  #wingfoil .wingfoil-focus-grid > div:nth-child(2n) {
    border-right: 0;
  }

  #wingfoil .wingfoil-focus-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  #wingfoil .wingfoil-focus-grid strong {
    max-width: 100%;
    font-size: clamp(28px, 2.1vw, 32px);
    line-height: 1.05;
    overflow-wrap: normal;
  }

  #wingfoil .wingfoil-focus-grid span {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.45;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero {
    min-height: max(1040px, calc(132svh - var(--header-height)));
  }

  .home-layout > .hero .hero-emotional-hook {
    margin-top: 46px;
    margin-bottom: 40px;
  }

  .home-layout > .hero .button-row {
    gap: 16px;
  }

  .home-layout > .hero .hero-facts {
    margin-top: 50px;
  }

  .mobile-safari-intro h2 {
    max-width: none;
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.02;
  }

  .mobile-safari-intro h2 span {
    display: block;
    white-space: nowrap;
  }

  .home-moments-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    margin-top: 34px;
  }

  .home-order-moments .mosaic figure {
    min-height: 0;
    height: 100%;
    max-height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .home-order-moments .mosaic img {
    min-height: 0;
  }

  .home-moments-actions .text-link {
    align-self: flex-start;
  }

  .button-instagram {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Atelier 1.0.14: image polish and clearer mobile composition. */
.why-grid article:nth-child(1) .why-card-media img {
  object-position: center 48%;
}

.why-grid article:nth-child(8) .why-card-media-pair {
  position: relative;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-rows: minmax(44px, auto) minmax(0, 1fr);
  gap: 6px 18px;
  padding: 18px 22px;
  background: #fff;
}

.why-battery-brandmarks {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 6px;
}

.why-grid article:nth-child(8) .why-card-media-pair .why-battery-brandmarks img {
  width: auto;
  height: auto;
  max-width: 46%;
  max-height: 38px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  transform: none;
}

.why-grid article:nth-child(8) .why-card-media-pair .why-battery-brandmarks img:first-child {
  max-width: 82px;
  max-height: 42px;
}

.why-grid article:nth-child(8) .why-card-media-pair > .why-battery-product {
  grid-row: 2;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 6px 8px 0;
  object-fit: contain;
  background: transparent;
}

.belonging-story-media {
  position: relative;
  background: #171916;
}

.belonging-story-media .belonging-story-image {
  object-position: center 44%;
  filter: contrast(1.1) saturate(0.84) brightness(0.94);
}

.belonging-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 24, 25, 0.04), rgba(10, 24, 25, 0.14));
}

.gallery-swipe-progress {
  display: none;
}

@media (min-width: 1080px) {
  .why-grid article:nth-child(1) .why-card-media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero {
    min-height: max(1140px, calc(142svh - var(--header-height)));
  }

  .home-layout > .hero .hero-emotional-hook {
    margin-top: clamp(108px, 18svh, 148px);
  }

  .black-panther-copy h2 {
    max-width: none;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.05;
    text-wrap: balance;
  }

  .black-panther-copy h2 .phrase-nowrap {
    white-space: nowrap;
  }

  .gallery-collection-mosaic.gallery-collection-swipe > figure,
  .gallery-collection-mosaic.gallery-collection-swipe > figure:first-child,
  .gallery-collection-mosaic.gallery-collection-swipe > figure:last-child,
  .gallery-collection-mosaic.gallery-collection-swipe > .mosaic-wide {
    flex-basis: min(76vw, 320px);
    width: min(76vw, 320px);
  }

  .gallery-swipe-progress {
    width: min(132px, 38vw);
    height: 3px;
    display: block;
    margin-top: 16px;
    overflow: hidden;
    background: rgba(32, 31, 28, 0.18);
  }

  .gallery-swipe-progress span {
    width: 30px;
    height: 100%;
    display: block;
    background: var(--ink);
    transform: translateX(0);
    transition: transform 100ms linear;
  }
}

/* Atelier 1.0.15: aligned feature cards, compact gallery labels and mobile hero contrast. */
@media (min-width: 1080px) {
  .why-grid article:nth-child(-n + 4) .why-card-media {
    aspect-ratio: 4 / 3;
  }

  .why-grid article:nth-child(-n + 4) .why-card-copy {
    padding-top: 24px;
  }

  .why-grid article:nth-child(-n + 4) h3 {
    min-height: 2.2em;
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .home-layout > .hero .hero-lead,
  .home-layout > .hero .hero-emotional-hook {
    width: fit-content;
    max-width: 100%;
    padding: 12px 14px;
    background: rgba(10, 24, 25, 0.4);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .home-layout > .hero .hero-emotional-hook {
    padding-left: 18px;
  }

  .gallery-collection-mosaic.gallery-collection-swipe > figure,
  .gallery-collection-mosaic.gallery-collection-swipe > figure:first-child,
  .gallery-collection-mosaic.gallery-collection-swipe > figure:last-child,
  .gallery-collection-mosaic.gallery-collection-swipe > .mosaic-wide {
    position: relative;
    overflow: hidden;
  }

  .gallery-collection-mosaic.gallery-collection-swipe figcaption,
  .gallery-collection-mosaic.gallery-collection-swipe .gallery-featured-caption figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    height: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 7px 13px;
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    font-size: 10px;
    line-height: 1.3;
  }
}

/* Atelier 1.0.16: remove duplicated activity teasers and refine booking/mobile details. */
.black-panther-downloads-copy > .eyebrow {
  color: #d8c39f;
  font-weight: 700;
}

@media (max-width: 767px) {
  .home-layout > .hero .hero-facts {
    margin-top: clamp(104px, 14svh, 128px);
  }

  .document-download-link {
    width: 100%;
    min-width: 0;
    min-height: 78px;
    padding: 15px 46px 15px 16px;
    overflow: hidden;
  }

  .document-download-link::after {
    right: 16px;
    font-size: 29px;
  }

  .document-download-link span {
    max-width: 100%;
    display: block;
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .document-download-link small {
    margin-top: 5px;
    font-size: 9px;
  }

  .black-panther-download-links {
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .header-brand-group {
    width: max-content;
    gap: 22px;
  }

  .header-brand-group .site-brand,
  .header-brand-group .site-brand-logo,
  .header-brand-group .header-duotone-logo {
    flex: 0 0 auto;
  }
}

@media (max-width: 340px) {
  html {
    overflow-x: clip;
  }

  .black-panther-downloads {
    width: calc(100% + 20px);
    margin-right: -10px;
    margin-left: -10px;
    padding: 28px 14px;
  }

  .document-download-link {
    padding-right: 28px;
    padding-left: 12px;
  }

  .document-download-link::after {
    right: 8px;
    font-size: 24px;
  }

  .document-download-link span {
    font-size: 13.5px;
  }

  .document-download-link small {
    font-size: 7.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}

/* Atelier 1.0.28: matched hero lines, forward yacht crop and yacht-page document access. */
.home-hero-title .hero-title-line {
  display: block;
  white-space: nowrap;
}

.yacht-layout-download {
  margin-top: clamp(48px, 6vw, 76px);
}

@media (max-width: 767px) {
  .yachts-page-hero > img {
    object-position: 92% center;
  }

  .yacht-layout-download {
    margin-top: 44px;
  }
}

/* Atelier 1.0.17: soften mobile hero text panels and separate repeated yacht imagery. */
@media (max-width: 767px) {
  .home-layout > .hero .hero-lead,
  .home-layout > .hero .hero-emotional-hook {
    background: rgba(10, 24, 25, 0.2);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
  }

  .home-layout > .hero .hero-facts {
    padding: 0 8px 8px;
    background: rgba(10, 24, 25, 0.12);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
  }
}

/* Atelier 1.0.18: keep the mobile opening spacious without prolonging the first scroll. */
@media (max-width: 767px) {
  .home-layout > .hero {
    min-height: max(1010px, calc(126svh - var(--header-height)));
  }

  .home-layout > .hero .hero-emotional-hook {
    margin-top: clamp(76px, 10svh, 92px);
  }

  .home-layout > .hero .hero-facts {
    margin-top: clamp(68px, 9svh, 84px);
  }
}

/* Atelier 1.0.20: balance the two header marks by their visible height. */
.header-brand-group .site-brand-logo,
.header-brand-group .header-duotone-logo {
  width: auto;
  height: clamp(34px, 3.75vw, 54px);
}

/* Atelier 1.0.33: new YachtSafaris marks for light and dark placements. */
.header-brand-group .site-brand-logo {
  height: clamp(48px, 5vw, 70px);
  object-fit: contain;
}

.header-brand-group .header-duotone-logo {
  height: clamp(30px, 3.35vw, 48px);
}

.footer-brand img {
  width: min(220px, 100%);
  max-height: none;
  object-fit: contain;
}

@media (max-width: 599px) {
  .footer-brand img {
    width: min(190px, 100%);
  }
}

/* Keep the safari intro stats readable independently of surrounding layout rules. */
@media (min-width: 1080px) {
	.feature-stat-grid.safari-feature-stat-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.feature-stat-grid.safari-feature-stat-grid > div {
		min-height: 170px;
		padding: 34px 12px 28px;
	}

	.feature-stat-grid.safari-feature-stat-grid strong {
		min-height: 0;
		font-size: 28px;
		line-height: 1.05;
		overflow-wrap: normal;
	}

	.feature-stat-grid.safari-feature-stat-grid span {
		margin-top: 30px;
		font-size: 14px;
		line-height: 1.25;
  }
}

/* Atelier 1.0.24: single-yacht dates and slim gallery labels. */
.date-grid.date-grid-single {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1080px) {
  .date-grid.date-grid-single {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .date-grid.date-grid-single .trip-content {
    grid-template-rows: auto;
  }
}

.gallery-collection-mosaic > figure {
  position: relative;
  overflow: hidden;
}

.gallery-collection-mosaic figcaption,
.gallery-collection-mosaic .gallery-featured-caption figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  height: 42px;
  min-height: 42px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 6px 12px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

@media (min-width: 1080px) {
	.gallery-collection-mosaic figcaption,
	.gallery-collection-mosaic .gallery-featured-caption figcaption,
	.home-order-moments .mosaic figcaption {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
		display: grid;
		align-content: center;
		padding: 0 12px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* Atelier 1.0.26: lock corrected mobile typography and remove caption regressions. */
@media (max-width: 767px) {
  .date-grid .trip-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px;
    align-items: start;
  }

  .date-grid .trip-meta > span {
    min-width: 0;
  }

  .date-grid .trip-price {
    max-width: none;
    font-size: clamp(17px, 4.65vw, 20px);
    line-height: 1.05;
    text-align: right;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .black-panther-downloads {
    padding-right: 16px;
    padding-left: 16px;
  }

  .black-panther-download-links .document-download-link {
    padding-right: 42px;
    padding-left: 14px;
  }

  .black-panther-download-links .document-download-link::after {
    right: 12px;
  }

  .black-panther-download-links .document-download-link > span {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 340px) {
  .date-grid .trip-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .date-grid .trip-meta > span {
    white-space: nowrap;
  }

  .date-grid .trip-price {
    font-size: 20px;
    text-align: left;
  }
}

/* Atelier 1.0.29: one video collection and an additional safari photograph. */
.gallery-feature-video {
  width: min(100%, 1100px);
  margin: 0 0 32px;
}

.gallery-feature-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #02090c;
}

.gallery-feature-video figcaption {
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (min-width: 1080px) {
  .youtube-video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gallery-feature-video {
    margin-bottom: 26px;
  }

  .youtube-video-grid article {
    min-width: min(76vw, 300px);
    flex: 0 0 min(76vw, 300px);
  }

  .video-slider-controls {
    grid-template-columns: 40px minmax(0, 1fr) auto 40px;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
  }

  .video-slider-prev,
  .video-slider-next {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    font-size: 21px;
    line-height: 1;
  }

  .video-slider-prev:disabled,
  .video-slider-next:disabled {
    opacity: 0.3;
  }

  .video-slider-progress {
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
  }

  .video-slider-progress span {
    width: 28px;
    height: 100%;
    display: block;
    background: var(--white);
    transform: translateX(0);
    transition: transform 100ms linear;
  }

  .video-slider-count {
    min-width: 38px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
  }
}

.video-slider-controls {
  display: none;
}

@media (max-width: 767px) {
  .video-slider-controls {
    display: grid;
  }
}
