/* Phase 2 full-site editorial refinement */

html {
  scroll-padding-top: 92px;
}

body {
  background: var(--color-off-white);
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: 1.72;
}

body[data-page="home"] {
  --font-family: var(--font-primary);
  font-family: var(--font-primary);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

main {
  overflow: clip;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  color: var(--color-primary-ink);
}

.container {
  width: min(calc(100% - (var(--container-padding) * 2)), var(--container-max-width));
}

.section {
  padding-block: var(--section-padding-desktop);
}

.section + .section:not(.muted-band):not(.green-soft) {
  border-top: 1px solid rgba(16, 39, 29, 0.08);
}

.section-kicker,
.card-label,
.eyebrow {
  color: var(--color-primary);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker::before,
.card-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-heading h2,
.intro-editorial h2 {
  font-size: var(--text-section);
  line-height: 1.12;
}

.section-heading > p:last-child,
.section-lead {
  max-width: 690px;
  color: var(--color-text-soft);
  font-size: var(--text-lg);
  line-height: 1.72;
}

.muted-band {
  background: var(--color-cream);
}

.green-soft {
  background: var(--color-mist);
}

.btn {
  min-height: 48px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  box-shadow: none;
}

.btn-primary {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.btn-primary:hover {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: rgba(16, 39, 29, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-ink);
}

.text-link {
  gap: 10px;
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: var(--weight-bold);
}

.text-link span {
  transition: transform var(--transition-base);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Navigation */

#site-header {
  background: rgba(252, 253, 249, 0.95);
  border-bottom: 1px solid rgba(16, 39, 29, 0.08);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 78px;
  width: min(calc(100% - 48px), var(--container-max-width));
}

.brand-link img {
  width: 150px;
  height: auto;
}

.brand-link {
  position: relative;
}

.brand-logo-on-dark {
  position: absolute;
  inset: 0;
  display: none;
  filter: none !important;
}

.primary-nav {
  gap: 22px;
}

.primary-nav > a,
.nav-dropdown-toggle {
  font-size: 13px;
  font-weight: var(--weight-semibold);
}

.primary-nav > a[aria-current="page"],
.nav-dropdown.active > .nav-dropdown-toggle {
  color: var(--color-primary);
}

.nav-dropdown-menu {
  min-width: 272px;
  padding: 10px;
  border: 1px solid rgba(16, 39, 29, 0.1);
  border-radius: 4px;
  background: rgba(252, 253, 249, 0.98);
  box-shadow: 0 18px 48px rgba(16, 39, 29, 0.12);
}

.nav-dropdown-menu a {
  border-radius: 2px;
}

.language-toggle {
  width: 40px;
  height: 40px;
  border-color: rgba(16, 39, 29, 0.18);
  font-size: 12px;
}

.nav-cta {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
  font-size: 12px;
}

/* Hero system */

.page-hero {
  min-height: min(76vh, 720px);
  border-radius: 0;
}

.page-hero .hero-media {
  object-position: center 42%;
  transition: transform 1.2s ease;
}

.hero-media-picture {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.page-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(9, 30, 20, 0.8) 0%, rgba(9, 30, 20, 0.52) 46%, rgba(9, 30, 20, 0.1) 78%),
    linear-gradient(0deg, rgba(9, 30, 20, 0.42) 0%, transparent 42%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 820px) auto;
  align-items: end;
  gap: 40px;
  min-height: min(76vh, 720px);
  padding-block: 148px 76px;
}

.hero-copy {
  max-width: 820px;
}

.hero-content h1 {
  max-width: 800px;
  margin: 14px 0 22px;
  color: var(--color-white);
  font-size: 68px;
  line-height: 1.04;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.7;
}

.hero-content .eyebrow {
  color: var(--color-clay-soft);
}

.hero-content .button-row {
  gap: 12px;
}

.hero-content .btn-secondary {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.hero-signature {
  align-self: end;
  justify-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.page-hero-indonesia .hero-media,
.page-hero-event .hero-media {
  object-position: center 54%;
}

.page-hero-csr .hero-media,
.page-hero-experiences .hero-media,
.page-hero-impact .hero-media,
.page-hero-contact .hero-media {
  object-position: center 48%;
}

.page-hero-about .hero-media,
.page-hero-study .hero-media {
  object-position: center 38%;
}

body[data-page="home"] #site-header {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: none;
}

body[data-page="home"] #site-header.is-scrolled,
body[data-page="home"].menu-open #site-header {
  background: rgba(252, 253, 249, 0.97);
  border-bottom-color: rgba(16, 39, 29, 0.08);
  backdrop-filter: blur(16px);
}

body[data-page="home"] #site-header:not(.is-scrolled) .brand-logo-default {
  visibility: hidden;
}

body[data-page="home"] #site-header:not(.is-scrolled) .brand-logo-on-dark {
  display: block;
}

body[data-page="home"].menu-open #site-header .brand-logo-default {
  visibility: visible;
}

body[data-page="home"].menu-open #site-header .brand-logo-on-dark {
  display: none;
}

body[data-page="home"] #site-header:not(.is-scrolled) .primary-nav > a,
body[data-page="home"] #site-header:not(.is-scrolled) .nav-dropdown-toggle,
body[data-page="home"] #site-header:not(.is-scrolled) .language-toggle {
  color: var(--color-white);
}

body[data-page="home"] #site-header:not(.is-scrolled) .language-toggle {
  border-color: rgba(255, 255, 255, 0.5);
}

body[data-page="home"] #site-header:not(.is-scrolled) .nav-cta {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  backdrop-filter: blur(10px);
}

body[data-page="home"].menu-open #site-header .language-toggle {
  border-color: rgba(16, 39, 29, 0.18);
  color: var(--color-primary-ink);
}

body[data-page="home"].menu-open #site-header .nav-cta {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
  backdrop-filter: none;
}

/* Trust and editorial introduction */

.trust-strip {
  padding-block: 32px;
  border: 0;
  background: var(--color-white);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.trust-heading p {
  margin: 0 0 3px;
  color: var(--color-primary-ink);
  font-size: 12px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.trust-heading span {
  color: var(--color-text-soft);
  font-size: 11px;
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.trust-strip li {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 60px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
}

.trust-strip li img {
  width: 100%;
  height: 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.66;
  transition: filter var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}

.trust-strip li:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.trust-strip li:nth-child(3) img {
  height: 50px;
  opacity: 0.82;
}

.intro-section {
  background: var(--color-off-white);
}

.intro-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
  gap: 9vw;
}

.intro-editorial h2 {
  max-width: 600px;
  margin: 0;
}

.intro-copy {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 22px;
  padding-top: 4px;
  border-top: 1px solid rgba(16, 39, 29, 0.18);
}

.intro-copy > span {
  padding-top: 20px;
  color: var(--color-clay);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.intro-copy .section-lead {
  margin: 0;
  padding-top: 16px;
}

/* Reusable editorial content */

.service-grid,
.product-grid,
.pricing-grid,
.compact-card-grid {
  gap: 22px;
}

.service-card,
.product-card,
.compact-card-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 39, 29, 0.1);
  border-radius: 4px;
  background: var(--color-white);
  box-shadow: none;
}

.service-card:hover,
.product-card:hover {
  border-color: rgba(45, 106, 79, 0.34);
  box-shadow: 0 18px 46px rgba(16, 39, 29, 0.08);
  transform: translateY(-4px);
}

.service-card {
  min-height: 300px;
  padding: 34px;
}

.service-card .card-index {
  display: block;
  margin-bottom: 58px;
  color: var(--color-clay);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.service-card h3,
.product-card h3 {
  font-size: 24px;
  line-height: 1.22;
}

.service-card p,
.product-card > p:not(.card-label) {
  display: -webkit-box;
  overflow: hidden;
  color: var(--color-text-soft);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.service-card .text-link {
  margin-top: auto;
}

.service-symbol {
  border-radius: 4px;
  background: var(--color-mist);
  color: var(--color-primary-dark);
}

.editorial-gateway-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.editorial-gateway-grid .service-card {
  grid-column: span 5;
  min-height: 360px;
}

.editorial-gateway-grid .service-card:nth-child(1),
.editorial-gateway-grid .service-card:nth-child(4) {
  grid-column: span 7;
}

.editorial-gateway-grid .service-card:nth-child(1),
.editorial-gateway-grid .service-card:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  border: 0;
  background-position: center;
  background-size: cover;
}

.editorial-gateway-grid .service-card:nth-child(1) {
  background-image: linear-gradient(0deg, rgba(11, 37, 24, 0.78), rgba(11, 37, 24, 0.08)), url("/assets/images/beach-team-building.webp");
}

.editorial-gateway-grid .service-card:nth-child(2) {
  background-image: linear-gradient(0deg, rgba(11, 37, 24, 0.8), rgba(11, 37, 24, 0.12)), url("/assets/images/group-dinner-party.webp");
}

.editorial-gateway-grid .service-card:nth-child(-n + 2) h3,
.editorial-gateway-grid .service-card:nth-child(-n + 2) p,
.editorial-gateway-grid .service-card:nth-child(-n + 2) .card-index,
.editorial-gateway-grid .service-card:nth-child(-n + 2) .text-link {
  color: var(--color-white);
}

.editorial-gateway-grid .service-card:nth-child(3) {
  background: var(--color-mist);
}

.editorial-gateway-grid .service-card:nth-child(4) {
  background: var(--color-clay-soft);
}

.product-grid {
  counter-reset: product-card;
}

.product-card {
  counter-increment: product-card;
  min-height: 360px;
  padding: 34px;
}

.product-card::before {
  content: counter(product-card, decimal-leading-zero);
  display: block;
  margin-bottom: 42px;
  color: var(--color-clay);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.product-card-featured {
  border-color: transparent;
  background: var(--color-sage);
}

.product-price {
  padding-top: 22px;
  border-top: 1px solid rgba(16, 39, 29, 0.14);
}

.product-price strong {
  color: var(--color-primary-ink);
}

.product-meta {
  color: var(--color-text-soft);
}

.feature-grid {
  border-top: 1px solid rgba(16, 39, 29, 0.18);
}

.feature-item {
  min-height: 138px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(16, 39, 29, 0.14);
}

.feature-item > span {
  color: var(--color-clay);
  font-size: 12px;
  font-weight: var(--weight-bold);
}

.feature-item h3 {
  font-size: 21px;
}

.feature-item p {
  max-width: 520px;
  color: var(--color-text-soft);
}

.split-layout {
  gap: 8vw;
}

.split-layout > div {
  align-self: center;
}

.split-layout img {
  width: 100%;
  min-height: 560px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: none;
}

.split-layout h2,
.split-copy h2,
.story-layout h2 {
  font-size: var(--text-section);
  line-height: 1.13;
}

.place-list {
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(16, 39, 29, 0.16);
}

.place-list span {
  padding: 13px 18px 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 39, 29, 0.12);
  border-radius: 0;
  background: transparent;
}

.notice {
  border-left-color: var(--color-clay);
  border-radius: 0;
  background: var(--color-clay-soft);
}

.premium-banner {
  border: 0;
  border-radius: 4px;
  background: var(--color-primary-deep);
}

.premium-banner h3,
.premium-banner p,
.premium-banner .section-kicker {
  color: var(--color-white);
}

.premium-banner p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.pricing-grid .product-card:nth-child(2) {
  background: var(--color-primary-deep);
}

.pricing-grid .product-card:nth-child(2) h3,
.pricing-grid .product-card:nth-child(2) p,
.pricing-grid .product-card:nth-child(2) span,
.pricing-grid .product-card:nth-child(2) strong,
.pricing-grid .product-card:nth-child(2) small,
.pricing-grid .product-card:nth-child(2) a,
.pricing-grid .product-card:nth-child(2)::before {
  color: var(--color-white);
}

/* Page-specific rhythm */

.destination-section:nth-of-type(even),
body[data-page="international"] .destination-product-group:nth-child(even) {
  background: var(--color-cream);
}

.destination-product-group {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 50px;
  padding: 52px 0;
  border-top: 1px solid rgba(16, 39, 29, 0.14);
}

.destination-product-group > h3 {
  font-size: 22px;
}

.starter-feature {
  gap: 28px;
}

.starter-feature > div:last-child {
  padding: 36px;
  border-radius: 4px;
  background: var(--color-white);
}

.variant-tab-list button {
  border-radius: 2px;
}

body[data-page="experiences"] #local {
  background: var(--color-white);
}

body[data-page="experiences"] #international .split-layout img {
  aspect-ratio: 5 / 4;
  min-height: 520px;
}

body[data-page="study"] #regional .product-card:nth-child(2),
body[data-page="study"] #international .product-card:nth-child(2) {
  transform: translateY(28px);
}

body[data-page="sailing"] .service-grid .service-card:nth-child(1) {
  grid-column: span 2;
  background: var(--color-sky-soft);
}

body[data-page="sailing"] .service-grid .service-card:nth-child(2) {
  background: var(--color-clay-soft);
}

body[data-page="sailing"] .service-grid .service-card:nth-child(3) {
  background: var(--color-mist);
}

body[data-page="impact"] .image-feature {
  background: var(--color-primary-deep);
}

body[data-page="impact"] .image-feature h2,
body[data-page="impact"] .image-feature .section-kicker,
body[data-page="impact"] .image-feature .text-link {
  color: var(--color-white);
}

body[data-page="impact"] .image-feature .split-layout img {
  min-height: 620px;
}

.story-layout {
  align-items: start;
  gap: 10vw;
}

.story-layout > div:last-child {
  padding-top: 8px;
  border-top: 1px solid rgba(16, 39, 29, 0.18);
}

.story-layout > div:first-child {
  padding-top: 4px;
}

.compact-section {
  padding-block: 76px 84px;
}

.destination-tile {
  min-height: 250px;
  padding: 26px 26px 24px;
  border-left-width: 2px;
}

.story-layout > div:last-child p:first-child::first-letter {
  float: left;
  margin: 8px 8px 0 0;
  color: var(--color-primary);
  font-size: 54px;
  font-weight: var(--weight-bold);
  line-height: 0.8;
}

.founder-section {
  background: var(--color-clay-soft);
}

.founder-section .split-layout img {
  aspect-ratio: 4 / 5;
  min-height: 620px;
}

.team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

.team-card img {
  aspect-ratio: 4 / 5;
  filter: saturate(0.82);
}

.team-card > div {
  padding: 18px 0;
}

.team-card h3 {
  font-size: 17px;
}

.team-card p {
  font-size: 13px;
}

.faq-list {
  border-top: 1px solid rgba(16, 39, 29, 0.18);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid rgba(16, 39, 29, 0.14);
  border-radius: 0;
  background: transparent;
}

.faq-item summary {
  padding: 26px 54px 26px 0;
  font-size: 18px;
}

.faq-item p {
  max-width: 720px;
  padding: 0 0 28px;
  color: var(--color-text-soft);
}

.contact-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 7vw;
}

.contact-panel {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 42px;
  border-radius: 4px;
  background: var(--color-primary-deep);
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel h2,
.contact-panel a,
.contact-panel strong,
.contact-panel .section-kicker {
  color: var(--color-white);
}

.form-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 0;
  border-bottom: 1px solid rgba(16, 39, 29, 0.22);
  border-radius: 0;
  background: transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-primary);
  box-shadow: none;
}

/* CTA and footer */

.cta-band {
  padding-block: 84px;
  background: var(--color-sage);
  color: var(--color-primary-ink);
}

.cta-inner {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: end;
  gap: 46px;
}

.cta-index {
  align-self: start;
  padding-top: 8px;
  color: var(--color-primary-dark);
  font-size: 10px;
  font-weight: var(--weight-bold);
}

.cta-band h2,
.cta-band .eyebrow,
.cta-band p {
  color: var(--color-primary-ink);
}

.cta-band p:not(.eyebrow) {
  color: rgba(16, 39, 29, 0.76);
}

.cta-band h2 {
  max-width: 680px;
  font-size: var(--text-section);
}

.cta-band p {
  max-width: 650px;
}

.cta-band .btn-light {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.cta-band .btn-outline-light {
  border-color: rgba(16, 39, 29, 0.35);
  color: var(--color-primary-ink);
}

#site-footer {
  background: var(--color-primary-ink);
}

.footer-inner {
  gap: 56px;
  padding-block: 78px 64px;
}

.footer-brand img {
  filter: none;
}

.footer-brand p {
  max-width: 350px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-column h2,
.footer-subheading {
  color: var(--color-white);
  font-size: 11px;
  text-transform: uppercase;
}

.footer-column a,
.footer-brand a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-column a:hover,
.footer-brand a:hover {
  color: var(--color-white);
}

/* Homepage refinements */

body[data-page="home"] h1,
body[data-page="home"] h2,
body[data-page="home"] h3,
body[data-page="home"] p,
body[data-page="home"] a,
body[data-page="home"] button {
  letter-spacing: 0;
}

body[data-page="home"] .section-kicker,
body[data-page="home"] .card-label,
body[data-page="home"] .eyebrow {
  font-family: var(--font-primary);
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-semibold);
  line-height: 1.4;
}

body[data-page="home"] .btn,
body[data-page="home"] .text-link {
  font-family: var(--font-primary);
  font-size: var(--type-button);
  font-weight: var(--weight-semibold);
}

.home-hero {
  min-height: 100svh;
}

.home-hero .hero-content {
  min-height: 100svh;
  padding-bottom: 72px;
}

.home-hero .hero-content h1 {
  max-width: 760px;
  font-family: var(--font-primary);
  font-size: var(--type-display);
  font-weight: var(--weight-semibold);
  line-height: 1.03;
}

.home-hero .hero-lead {
  max-width: 720px;
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--font-primary);
  font-size: var(--type-body-large);
  font-weight: var(--weight-regular);
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-page="home"] .trust-heading,
body[data-page="home"] .trust-strip li {
  font-family: var(--font-primary);
  font-weight: var(--weight-medium);
}

.home-intro {
  background: var(--color-off-white);
}

.home-intro-grid {
  gap: 9vw;
}

.home-intro h2 {
  font-size: var(--text-brand);
  font-family: var(--font-primary);
  font-weight: var(--weight-medium);
  line-height: 1.1;
}

.home-intro .section-lead {
  font-family: var(--font-primary);
  font-size: var(--type-body-large);
  font-weight: var(--weight-regular);
  line-height: 1.72;
  max-width: 650px;
}

.home-services {
  background: var(--color-cream);
}

.home-services .section-heading h2,
.home-offerings-heading h2 {
  font-family: var(--font-primary);
  font-size: var(--type-h2);
  font-weight: var(--weight-medium);
  line-height: 1.12;
}

.home-services .section-heading > p:last-child,
.home-offerings-heading > p {
  font-family: var(--font-primary);
  font-size: var(--type-body-large);
  font-weight: var(--weight-regular);
  line-height: 1.68;
}

.home-service-primary-grid {
  gap: 18px;
}

.home-service-gateway,
.home-editorial-media,
.home-impact-media {
  border-radius: 8px;
}

.home-service-gateway {
  color: inherit;
  display: block;
  text-decoration: none;
}

.home-service-gateway:hover .text-link > span,
.home-service-gateway:focus-visible .text-link > span {
  transform: translateX(4px);
}

.home-service-card-image-picture {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.home-service-primary:first-child {
  min-height: 640px;
}

.home-service-primary:last-child {
  min-height: 520px;
}

.home-service-copy {
  max-width: 520px;
}

.home-service-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-service-copy h3 {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--type-h3);
  font-weight: var(--weight-semibold);
  line-height: 1.18;
}

.home-service-copy p {
  font-family: var(--font-primary);
  font-size: var(--type-body);
  font-weight: var(--weight-regular);
  line-height: 1.65;
}

.home-service-price {
  align-items: baseline;
  color: var(--color-white);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.home-service-price span,
.home-service-price small {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-primary);
  font-size: var(--type-body-small);
  line-height: 1.45;
}

.home-service-price strong {
  font-size: 17px;
  font-family: var(--font-primary);
  font-weight: var(--weight-semibold);
  line-height: 1.35;
}

.home-service-supporting-grid {
  border: 0;
  gap: 18px;
}

.home-service-support,
.home-service-support + .home-service-support {
  border: 0;
  border-radius: 8px;
  display: block;
  min-height: 360px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.home-service-support .home-service-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.home-service-support:last-child .home-service-card-image {
  object-position: 32% 54%;
}

.home-corporate {
  background: var(--color-white);
}

.home-corporate .home-editorial-media {
  transform: rotate(-1deg);
}

.home-editorial-image-picture {
  display: block;
  height: 100%;
  width: 100%;
}

.home-corporate .home-editorial-image {
  object-position: center;
}

.home-experiences {
  background: var(--color-sky-soft);
}

.home-experiences .home-editorial-media {
  aspect-ratio: 4 / 5;
  justify-self: end;
  min-height: 0;
  transform: translateY(24px) rotate(1deg);
  width: min(100%, 620px);
}

.home-experiences .home-editorial-image {
  object-position: center 52%;
}

.home-impact {
  background: var(--color-primary-deep);
}

.home-impact h2,
.home-impact p,
.home-impact .section-kicker,
.home-impact .text-link {
  color: var(--color-white);
}

.home-impact-copy h2 {
  font-family: var(--font-editorial);
  font-size: 54px;
  font-weight: var(--weight-regular);
  line-height: 1.05;
}

.home-impact-copy > p:not(.section-kicker) {
  font-family: var(--font-primary);
  font-size: var(--type-body-large);
  font-weight: var(--weight-regular);
  line-height: 1.7;
  max-width: 540px;
}

.home-impact-media {
  transform: translateY(58px);
}

.home-impact-grid {
  gap: clamp(48px, 7vw, 104px);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.home-impact-metrics {
  align-self: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 80px;
}

.home-impact-metric {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 38px 34px;
}

.home-impact-metric strong {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 64px;
  font-weight: var(--weight-medium);
  line-height: 1;
}

.home-impact-metric span {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-primary);
  font-size: var(--type-body-small);
  font-weight: var(--weight-regular);
  line-height: 1.5;
  max-width: 190px;
}

.home-why {
  background: var(--color-off-white);
}

.home-why .feature-item {
  border-color: rgba(16, 39, 29, 0.14);
}

.home-offerings .section-heading {
  position: static;
}

.home-offerings-heading {
  align-items: end;
  display: grid;
  gap: clamp(40px, 8vw, 120px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  margin-bottom: 64px;
  max-width: none;
}

.home-offerings-heading h2 {
  margin-bottom: 0;
}

.home-offerings-heading > p {
  color: var(--color-text-soft);
  margin: 0;
  max-width: 540px;
}

.home-offering-grid {
  border-top: 1px solid rgba(16, 39, 29, 0.16);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-offering {
  align-items: center;
  border-bottom: 1px solid rgba(16, 39, 29, 0.16);
  display: grid;
  gap: 34px;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 300px;
  padding: 42px 42px 42px 0;
}

.home-offering:nth-child(even) {
  border-left: 1px solid rgba(16, 39, 29, 0.16);
  grid-template-columns: minmax(0, 1fr) 158px;
  padding-left: 42px;
  padding-right: 0;
}

.home-offering:nth-child(even) .home-offering-icon {
  order: 2;
}

.home-offering-icon {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(191, 207, 177, 0.28);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.home-offering:nth-child(2) .home-offering-icon,
.home-offering:nth-child(3) .home-offering-icon {
  background: rgba(206, 172, 145, 0.18);
}

.home-offering-icon img {
  height: 84%;
  object-fit: contain;
  width: 84%;
}

.home-offering-copy h3 {
  color: var(--color-primary-deep);
  font-family: var(--font-primary);
  font-size: var(--type-h3);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  margin: 0;
}

.home-offering-copy p {
  color: var(--color-text-soft);
  font-family: var(--font-primary);
  font-size: var(--type-body);
  font-weight: var(--weight-regular);
  line-height: 1.68;
  margin: 14px 0 0;
}

.home-closing-cta {
  min-height: 620px;
}

.home-closing-media-picture {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.home-closing-media {
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  width: 100%;
}

.home-closing-overlay {
  background: linear-gradient(90deg, rgba(9, 30, 20, 0.7), rgba(9, 30, 20, 0.18));
}

.home-closing-inner {
  padding-block: 110px;
}

.home-closing-inner h2,
.home-closing-inner .eyebrow {
  color: var(--color-white);
}

.home-closing-inner h2 {
  font-family: var(--font-editorial);
  font-size: 58px;
  font-weight: var(--weight-regular);
  line-height: 1.06;
  max-width: 780px;
}

.home-closing-inner > p:not(.eyebrow) {
  font-family: var(--font-primary);
  font-size: var(--type-body-large);
  font-weight: var(--weight-regular);
  line-height: 1.68;
  max-width: 680px;
}

@media (max-width: 1120px) {
  .primary-nav {
    gap: 14px;
  }

  .nav-cta {
    padding-inline: 12px;
  }

  .hero-content h1 {
    font-size: 54px;
  }

  .home-hero .hero-content h1 {
    font-size: 64px;
  }

  .trust-strip .container {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 22px;
  }

  .trust-strip ul {
    gap: 8px;
  }

  .editorial-gateway-grid .service-card,
  .editorial-gateway-grid .service-card:nth-child(1),
  .editorial-gateway-grid .service-card:nth-child(4) {
    grid-column: span 6;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --container-padding: 24px;
  }

  .section {
    padding-block: 80px;
  }

  .nav-shell {
    min-height: 72px;
    width: min(calc(100% - 36px), var(--container-max-width));
  }

  .primary-nav {
    gap: 0;
  }

  .nav-cta {
    width: auto;
    align-self: flex-start;
  }

  body[data-page="home"] #site-header:not(.is-scrolled) .primary-nav {
    background: var(--color-off-white);
  }

  body[data-page="home"] #site-header:not(.is-scrolled) .primary-nav > a,
  body[data-page="home"] #site-header:not(.is-scrolled) .nav-dropdown-toggle {
    color: var(--color-primary-ink);
  }

  .page-hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-block: 132px 64px;
  }

  .hero-signature {
    display: none;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .home-hero .hero-content h1 {
    font-size: 56px;
  }

  .trust-strip .container {
    grid-template-columns: 1fr;
  }

  .trust-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
  }

  .trust-strip ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-editorial,
  .split-layout,
  .split-copy,
  .story-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .destination-product-group {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split-layout img,
  body[data-page="experiences"] #international .split-layout img,
  body[data-page="impact"] .image-feature .split-layout img,
  .founder-section .split-layout img {
    min-height: 480px;
  }

  .contact-panel {
    position: static;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .cta-index {
    display: none;
  }

  .cta-inner .button-row {
    justify-self: start;
  }

  .home-impact-grid,
  .home-offerings-heading,
  .home-offering-grid {
    grid-template-columns: 1fr;
  }

  .home-impact-metrics {
    margin-block: 0 72px;
  }

  .home-offerings-heading {
    gap: 24px;
    margin-bottom: 46px;
  }

  .home-offering,
  .home-offering:nth-child(even) {
    border-left: 0;
    gap: 30px;
    grid-template-columns: 140px minmax(0, 1fr);
    min-height: 0;
    padding: 36px 0;
  }

  .home-offering:nth-child(even) .home-offering-icon {
    order: 0;
  }

  .home-impact-media,
  .home-experiences .home-editorial-media,
  body[data-page="study"] #regional .product-card:nth-child(2),
  body[data-page="study"] #international .product-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 640px) {
  :root {
    --container-padding: 20px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .section {
    padding-block: var(--section-padding-mobile);
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .intro-editorial h2,
  .split-layout h2,
  .split-copy h2,
  .story-layout h2,
  .cta-band h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child,
  .section-lead {
    font-size: 16px;
  }

  .brand-link img {
    width: 138px;
  }

  .page-hero,
  .hero-content {
    min-height: 660px;
  }

  .page-hero .hero-overlay {
    background: linear-gradient(0deg, rgba(9, 30, 20, 0.82) 0%, rgba(9, 30, 20, 0.5) 62%, rgba(9, 30, 20, 0.2) 100%);
  }

  .hero-content {
    align-items: end;
    padding-block: 116px 48px;
  }

  .hero-content h1,
  .home-hero .hero-content h1 {
    margin-block: 10px 18px;
    font-size: 42px;
    line-height: 1.04;
  }

  .hero-lead {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .hero-content .button-row,
  .home-closing-inner .button-row,
  .cta-inner .button-row {
    width: 100%;
  }

  .hero-content .btn,
  .home-closing-inner .btn,
  .cta-inner .btn {
    width: 100%;
  }

  .trust-strip {
    padding-block: 28px;
  }

  .trust-heading span {
    display: none;
  }

  .trust-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
  }

  .trust-strip li {
    height: 52px;
    padding: 6px;
  }

  .trust-strip li img {
    height: 30px;
  }

  .intro-editorial {
    gap: 30px;
  }

  .intro-copy {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
  }

  .editorial-gateway-grid,
  .service-grid,
  .product-grid,
  .pricing-grid,
  .compact-card-grid {
    grid-template-columns: 1fr;
  }

  .editorial-gateway-grid .service-card,
  .editorial-gateway-grid .service-card:nth-child(1),
  .editorial-gateway-grid .service-card:nth-child(4),
  body[data-page="sailing"] .service-grid .service-card:nth-child(1) {
    grid-column: auto;
  }

  .editorial-gateway-grid .service-card:nth-child(1),
  .editorial-gateway-grid .service-card:nth-child(2) {
    min-height: 420px;
  }

  .service-card,
  .product-card {
    min-height: 0;
    padding: 28px;
  }

  .service-card .card-index,
  .product-card::before {
    margin-bottom: 34px;
  }

  .split-layout.reverse > div {
    order: 0;
  }

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

  .split-layout img,
  body[data-page="experiences"] #international .split-layout img,
  body[data-page="impact"] .image-feature .split-layout img,
  .founder-section .split-layout img {
    min-height: 380px;
  }

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

  .feature-item {
    min-height: 0;
  }

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

  .contact-panel {
    padding: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding-block: 64px;
  }

  .home-hero,
  .home-hero .hero-content {
    min-height: 760px;
  }

  .home-intro h2 {
    font-size: 38px;
  }

  .home-impact-metric {
    min-height: 170px;
    padding: 26px 18px;
  }

  .home-impact-metric strong {
    font-size: 44px;
  }

  .home-impact-metric span {
    font-size: 12px;
  }

  .home-offering,
  .home-offering:nth-child(even) {
    gap: 22px;
    grid-template-columns: 104px minmax(0, 1fr);
    padding-block: 30px;
  }

  .home-offering-copy h3 {
    font-size: 23px;
  }

  .home-offering-copy p {
    font-size: 14px;
    margin-top: 10px;
  }

  .home-service-primary:first-child,
  .home-service-primary:last-child {
    min-height: 500px;
  }

  .home-service-support + .home-service-support {
    padding: 0;
  }

  .home-service-support,
  .home-service-support + .home-service-support {
    min-height: 420px;
  }

  .home-corporate .home-editorial-media,
  .home-experiences .home-editorial-media {
    transform: none;
  }

  .home-experiences .home-editorial-media {
    justify-self: stretch;
    width: 100%;
  }

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

  .home-closing-cta {
    min-height: 580px;
  }

  .footer-inner {
    gap: 42px;
    padding-block: 64px 48px;
  }
}

/* Homepage typography pilot: editorial accents remain intentionally limited. */
@media (max-width: 1120px) {
  .home-intro h2 {
    font-size: 46px;
  }

  .home-services .section-heading h2,
  .home-offerings-heading h2 {
    font-size: 42px;
  }

  .home-impact-copy h2 {
    font-size: 50px;
  }

  .home-closing-inner h2 {
    font-size: 54px;
  }
}

@media (max-width: 900px) {
  .home-hero .hero-content h1 {
    font-size: 52px;
  }

  .home-intro h2,
  .home-services .section-heading h2,
  .home-offerings-heading h2 {
    font-size: 40px;
  }

  .home-impact-copy h2 {
    font-size: 46px;
  }

  .home-closing-inner h2 {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .home-hero .hero-content h1 {
    font-size: 44px;
    line-height: 1.04;
  }

  .home-hero .hero-lead,
  .home-intro .section-lead,
  .home-services .section-heading > p:last-child,
  .home-offerings-heading > p,
  .home-impact-copy > p:not(.section-kicker),
  .home-closing-inner > p:not(.eyebrow) {
    font-size: var(--type-body);
  }

  .home-intro h2,
  .home-services .section-heading h2,
  .home-offerings-heading h2 {
    font-size: 32px;
  }

  .home-service-copy h3 {
    font-size: 24px;
  }

  .home-impact-copy h2 {
    font-size: 38px;
  }

  .home-offering-copy h3 {
    font-size: 23px;
  }

  .home-closing-inner h2 {
    font-size: 40px;
  }
}
