/* =========================================================================
   CLOUD 9 — INNER PAGES (Facilities · Weddings · Dining · Corporate & MICE ·
   Celebrations · Yoga & Meditation · Spiritual Gathering)

   Loaded only by those pages, after style.css. Every rule is scoped under
   `main.c9x` so nothing here can reach the header, footer or existing pages.
   Palette + type come from the site :root tokens in style.css.
   ========================================================================= */

main.c9x {
  --x-deep: #142E15;
  --x-blush: #EFE4D8;
  --x-sand: #E9E1D3;
  --x-line: rgba(47, 101, 48, .14);
  --x-line-light: rgba(245, 245, 242, .18);
  --x-pad: clamp(72px, 9vw, 140px);
  --x-gutter: clamp(16px, 4vw, 48px);
  --x-slow: cubic-bezier(.16, .84, .24, 1);
  display: block;
  overflow-x: clip;
  background: var(--light-stone);
  color: var(--charcoal);
}
main.c9x *, main.c9x *::before, main.c9x *::after { box-sizing: border-box; }
main.c9x img { display: block; max-width: 100%; }

.c9x .c9x-wrap {
  width: 100%;
  max-width: var(--container, 1280px);
  margin: 0 auto;
  padding: 0 var(--x-gutter);
}
.c9x .c9x-sec { position: relative; padding: var(--x-pad) 0; }
.c9x .c9x-sec--tight { padding: clamp(56px, 7vw, 100px) 0; }
.c9x .c9x-sec--dark { background: var(--primary-dark); color: var(--light-stone); }
.c9x .c9x-sec--deep {
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(63, 122, 64, .38), rgba(63, 122, 64, 0) 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(184, 155, 114, .12), rgba(184, 155, 114, 0) 55%),
    linear-gradient(180deg, var(--primary-dark), var(--x-deep));
  color: var(--light-stone);
}
.c9x .c9x-sec--sand { background: var(--x-sand); }
.c9x .c9x-sec--blush { background: var(--x-blush); }
.c9x .c9x-sec--white { background: var(--white); }

/* ---------- Type ---------- */
.c9x h2.c9x-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -.2px;
  color: var(--primary);
  margin: 0 0 18px;
  text-wrap: balance;
}
.c9x h2.c9x-h2 em { font-style: italic; color: var(--earth); }
.c9x .c9x-sec--dark h2.c9x-h2,
.c9x .c9x-sec--deep h2.c9x-h2 { color: var(--white); }
.c9x h3.c9x-h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  color: var(--primary);
  margin: 0 0 12px;
}
.c9x .c9x-sec--dark h3.c9x-h3, .c9x .c9x-sec--deep h3.c9x-h3 { color: var(--white); }
.c9x .c9x-lede {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 540px;
  margin: 0;
}
.c9x .c9x-sec--dark .c9x-lede, .c9x .c9x-sec--deep .c9x-lede { color: rgba(245, 245, 242, .78); }
.c9x .c9x-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.c9x .c9x-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.c9x .c9x-head--center .c9x-lede { margin: 0 auto; }
.c9x .c9x-head--center .eyebrow { justify-content: center; }
.c9x .c9x-sec--dark .eyebrow, .c9x .c9x-sec--deep .eyebrow { color: var(--earth); }
.c9x .c9x-sec--dark .eyebrow::before, .c9x .c9x-sec--deep .eyebrow::before { background: var(--earth); }

/* Numbered group heading: 01 — Adventure & Outdoor */
.c9x .c9x-group {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.c9x .c9x-group__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 128px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  opacity: .7;
}
.c9x .c9x-sec--dark .c9x-group__num, .c9x .c9x-sec--deep .c9x-group__num { -webkit-text-stroke-color: var(--earth); }
.c9x .c9x-group .c9x-h2 { margin-bottom: 8px; }

/* Tag / pill row */
.c9x .c9x-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.c9x .c9x-tags li {
  font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--x-line); color: var(--primary);
}
.c9x .c9x-sec--dark .c9x-tags li, .c9x .c9x-sec--deep .c9x-tags li { border-color: var(--x-line-light); color: var(--light-stone); }

.c9x .c9x-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.c9x .c9x-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--primary); padding: 6px 0; border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s;
}
.c9x .c9x-link:hover { gap: 16px; color: var(--accent); }
.c9x .c9x-sec--dark .c9x-link, .c9x .c9x-sec--deep .c9x-link { color: var(--light-stone); }

/* ---------- Icon system ---------- */
.c9x .c9x-ico {
  width: 44px; height: 44px; flex: none;
  color: var(--primary);
  stroke-width: 1.5;
  overflow: visible;
}
.c9x .c9x-sec--dark .c9x-ico, .c9x .c9x-sec--deep .c9x-ico { color: var(--earth); }

/* =========================================================================
   HERO
   ========================================================================= */
.c9x .c9x-hero {
  position: relative;
  min-height: 620px;
  height: 100vh;
  height: 100svh;
  max-height: 1000px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--primary-dark);
}
.c9x .c9x-hero--short { height: 82vh; height: 82svh; }
.c9x .c9x-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.c9x .c9x-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform-origin: 60% 45%;
}
.c9x .c9x-hero--kenburns .c9x-hero__media img { animation: c9xKenBurns 22s ease-in-out infinite alternate; }
@keyframes c9xKenBurns {
  from { transform: scale(1.12) translate3d(-1.2%, .6%, 0); }
  to   { transform: scale(1.0) translate3d(0, 0, 0); }
}
.c9x .c9x-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 39, 25, .55) 0%, rgba(16, 39, 25, .08) 32%, rgba(16, 39, 25, .18) 55%, rgba(16, 39, 25, .9) 100%),
    linear-gradient(90deg, rgba(16, 39, 25, .45) 0%, rgba(16, 39, 25, 0) 60%);
}
.c9x .c9x-hero__inner { width: 100%; padding-bottom: clamp(56px, 9vh, 96px); }
.c9x .c9x-hero .detail-breadcrumb { margin-bottom: 20px; }
.c9x .c9x-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -.5px;
  color: var(--white);
  max-width: 13ch;
  margin: 0 0 20px;
  text-wrap: balance;
}
.c9x .c9x-hero h1 em { font-style: italic; font-weight: 400; color: #E6D5C0; }
.c9x .c9x-hero__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
  max-width: 520px;
  margin: 0;
}
.c9x .c9x-hero .c9x-actions { margin-top: 32px; }
.c9x .c9x-scrollcue {
  position: absolute; right: var(--x-gutter); bottom: clamp(56px, 9vh, 96px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  writing-mode: vertical-rl;
}
.c9x .c9x-scrollcue::after {
  content: ''; width: 1px; height: 56px;
  background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
  animation: c9xCue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes c9xCue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Staggered hero entrance (triggered by .is-ready on the hero) */
.c9x-js .c9x .c9x-hero [data-x-hero] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--x-slow), transform 1.1s var(--x-slow);
}
.c9x-js .c9x .c9x-hero.is-ready [data-x-hero] { opacity: 1; transform: none; }
.c9x-js .c9x .c9x-hero.is-ready [data-x-hero="2"] { transition-delay: .15s; }
.c9x-js .c9x .c9x-hero.is-ready [data-x-hero="3"] { transition-delay: .3s; }
.c9x-js .c9x .c9x-hero.is-ready [data-x-hero="4"] { transition-delay: .45s; }
.c9x-js .c9x .c9x-hero.is-ready [data-x-hero="5"] { transition-delay: .6s; }
.c9x-js .c9x .c9x-hero--settle .c9x-hero__media img { transform: scale(1.06); transition: transform 2.6s var(--x-slow); }
.c9x-js .c9x .c9x-hero--settle.is-ready .c9x-hero__media img { transform: scale(1); }

/* =========================================================================
   INTRO — statement + supporting copy
   ========================================================================= */
.c9x .c9x-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.c9x .c9x-intro__statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.22;
  color: var(--primary);
  margin: 0;
  text-wrap: balance;
}
.c9x .c9x-intro__statement em { color: var(--earth); }
.c9x .c9x-intro__side .c9x-lede { margin-bottom: 26px; }

/* Icon index ribbon */
.c9x .c9x-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--x-line);
}
.c9x .c9x-ribbon a {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--x-line);
  font-size: 13px; font-weight: 600; letter-spacing: .4px;
  color: var(--primary);
  transition: color .3s, padding .4s var(--ease);
}
.c9x .c9x-ribbon a:hover { color: var(--accent); padding-left: 6px; }
.c9x .c9x-ribbon .c9x-ico { width: 32px; height: 32px; }

/* =========================================================================
   IMAGE FRAMES + REVEALS
   ========================================================================= */
.c9x .c9x-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #DAD5CA;
  aspect-ratio: var(--ar, 4 / 5);
  margin: 0;
}
.c9x .c9x-frame > img, .c9x .c9x-frame > picture > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.c9x .c9x-frame--leaf { border-radius: 120px var(--radius-md) 120px var(--radius-md); }
.c9x .c9x-frame--arch { border-radius: 999px 999px var(--radius-md) var(--radius-md); }
.c9x .c9x-cap {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--white);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(16, 39, 25, .55);
  backdrop-filter: blur(6px);
}

/* Reveal: fade-up */
.c9x-js .c9x [data-x-reveal] {
  opacity: 0; transform: translateY(var(--x-rise, 34px));
  transition: opacity 1s var(--x-slow), transform 1.1s var(--x-slow);
  transition-delay: var(--x-delay, 0s);
}
.c9x-js .c9x [data-x-reveal].is-in { opacity: 1; transform: none; }

/* Reveal: clip curtain + image settle (image reveal → subtle scale) */
.c9x-js .c9x [data-x-clip] {
  clip-path: inset(100% 0 0 0 round var(--radius-lg));
  transition: clip-path 1.4s var(--x-slow);
  transition-delay: var(--x-delay, 0s);
}
.c9x-js .c9x [data-x-clip] > img, .c9x-js .c9x [data-x-clip] > picture > img {
  transform: scale(1.18);
  transition: transform 2.2s var(--x-slow);
  transition-delay: var(--x-delay, 0s);
}
.c9x-js .c9x [data-x-clip].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.c9x-js .c9x [data-x-clip].is-in > img, .c9x-js .c9x [data-x-clip].is-in > picture > img { transform: scale(1); }
.c9x-js .c9x [data-x-clip="side"] { clip-path: inset(0 100% 0 0 round var(--radius-lg)); }
.c9x-js .c9x [data-x-clip="side"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* Parallax: JS moves .c9x-par (oversized); the img inside keeps its own
   reveal transform, so the two never fight over `transform`. */
.c9x .c9x-par { position: absolute; left: 0; right: 0; top: -9%; bottom: -9%; will-change: transform; }
.c9x .c9x-par > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.c9x-js .c9x [data-x-clip] .c9x-par > img { transform: scale(1.18); transition: transform 2.2s var(--x-slow); transition-delay: var(--x-delay, 0s); }
.c9x-js .c9x [data-x-clip].is-in .c9x-par > img { transform: scale(1); }

/* =========================================================================
   PHOTO PLACEHOLDER — slot awaiting an approved photograph.
   Shows a real Cloud 9 image as an interim backdrop plus a clear label so
   the final image can be dropped in later. Remove .c9x-ph when replaced.
   ========================================================================= */
.c9x .c9x-ph > img { filter: saturate(.75) brightness(.82); }
.c9x .c9x-ph::before {
  content: '';
  position: absolute; inset: 10px; z-index: 1;
  border: 1.5px dashed rgba(255, 255, 255, .6);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.c9x .c9x-ph__tag {
  position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2;
  display: flex; gap: 10px; align-items: flex-start;
  max-width: 380px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(16, 39, 25, .72);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 11.5px; line-height: 1.45; letter-spacing: .2px;
}
.c9x .c9x-ph__tag b {
  display: block;
  font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  color: #E6D5C0; margin-bottom: 2px;
}
.c9x .c9x-ph__tag svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: #E6D5C0; }
.c9x .c9x-hero .c9x-ph__tag { top: 104px; bottom: auto; left: auto; right: calc(var(--x-gutter) + 12px); }
.c9x .c9x-hero.c9x-ph::before { inset: 84px var(--x-gutter) 12px; border-radius: 22px; }

/* =========================================================================
   SPLIT — editorial image + copy
   ========================================================================= */
.c9x .c9x-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.c9x .c9x-split--rev { grid-template-columns: .9fr 1.1fr; }
.c9x .c9x-split--rev .c9x-split__media { order: 2; }
.c9x .c9x-split__media { position: relative; }
.c9x .c9x-split__inset {
  position: absolute;
  width: 42%;
  right: -6%; bottom: -10%;
  border: 8px solid var(--light-stone);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -30px rgba(16, 39, 25, .45);
  --ar: 1 / 1;
}
.c9x .c9x-split--rev .c9x-split__inset { right: auto; left: -6%; }
.c9x .c9x-sec--sand .c9x-split__inset { border-color: var(--x-sand); }
.c9x .c9x-sec--blush .c9x-split__inset { border-color: var(--x-blush); }
.c9x .c9x-sec--white .c9x-split__inset { border-color: var(--white); }
.c9x .c9x-split__copy .c9x-lede + .c9x-lede { margin-top: 14px; }
.c9x .c9x-split + .c9x-split { margin-top: clamp(80px, 10vw, 150px); }

/* Mini fact list inside splits */
.c9x .c9x-facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.c9x .c9x-facts li {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--x-line);
  font-size: 14.5px; color: var(--charcoal);
}
.c9x .c9x-facts li:last-child { border-bottom: 1px solid var(--x-line); }
.c9x .c9x-facts .c9x-ico { width: 28px; height: 28px; }
.c9x .c9x-sec--dark .c9x-facts li, .c9x .c9x-sec--deep .c9x-facts li { color: var(--light-stone); border-color: var(--x-line-light); }

/* =========================================================================
   FEATURE — full-bleed, image-led
   ========================================================================= */
.c9x .c9x-feature {
  position: relative;
  min-height: clamp(560px, 92vh, 900px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.c9x .c9x-feature__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; aspect-ratio: auto; }
.c9x .c9x-feature__media > img { object-position: var(--pos, 50% 60%); }
.c9x-js .c9x .c9x-feature__media[data-x-clip] { clip-path: inset(8% 6% 8% 6% round 40px); }
.c9x-js .c9x .c9x-feature__media[data-x-clip].is-in { clip-path: inset(0 0 0 0 round 0); }
.c9x .c9x-feature::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 39, 25, .72) 0%, rgba(16, 39, 25, .35) 45%, rgba(16, 39, 25, 0) 70%),
    linear-gradient(180deg, rgba(16, 39, 25, 0) 40%, rgba(16, 39, 25, .8) 100%);
  pointer-events: none;
}
.c9x .c9x-feature__card { padding-bottom: clamp(48px, 8vw, 110px); max-width: 620px; }
.c9x .c9x-feature h2.c9x-h2 { color: var(--white); }
.c9x .c9x-feature .c9x-lede { color: rgba(255, 255, 255, .85); }
.c9x .c9x-feature .eyebrow { color: #E6D5C0; }
.c9x .c9x-feature .eyebrow::before { background: #E6D5C0; }
.c9x .c9x-feature .c9x-tags li { border-color: rgba(255, 255, 255, .35); color: var(--white); }

/* =========================================================================
   COLLAGE — overlapping editorial composition (1 large + 2 overlapping)
   ========================================================================= */
.c9x .c9x-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto;
  align-items: start;
}
.c9x .c9x-collage__a { grid-column: 1 / span 8; grid-row: 1 / span 2; --ar: 4 / 3; }
.c9x .c9x-collage__b { grid-column: 8 / span 5; grid-row: 1; margin-top: 14%; --ar: 4 / 5; z-index: 2; box-shadow: 0 40px 70px -40px rgba(16, 39, 25, .55); }
.c9x .c9x-collage__c { grid-column: 3 / span 4; grid-row: 2; margin-top: -14%; --ar: 1 / 1; z-index: 3; border: 8px solid var(--light-stone); box-shadow: 0 40px 70px -40px rgba(16, 39, 25, .55); }
/* notes sit in the open space beside the overlapping frame */
.c9x .c9x-collage-notes.c9x-collage__d { grid-column: 8 / span 5; grid-row: 2; grid-template-columns: 1fr; gap: 0; margin-top: clamp(36px, 5vw, 72px); align-self: start; }
.c9x .c9x-collage-notes.c9x-collage__d > div { padding: 18px 0; }
.c9x .c9x-sec--sand .c9x-collage__c { border-color: var(--x-sand); }
.c9x .c9x-sec--white .c9x-collage__c { border-color: var(--white); }
.c9x .c9x-sec--dark .c9x-collage__c, .c9x .c9x-sec--deep .c9x-collage__c { border-color: var(--primary-dark); }
.c9x .c9x-collage__note {
  grid-column: 1 / span 5; grid-row: 3;
  padding-top: 28px;
}
.c9x .c9x-collage__note .c9x-h3 { display: flex; align-items: center; gap: 12px; }
.c9x .c9x-collage-notes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
}
.c9x .c9x-collage-notes > div { border-top: 1px solid var(--x-line); padding-top: 20px; }
.c9x .c9x-sec--dark .c9x-collage-notes > div, .c9x .c9x-sec--deep .c9x-collage-notes > div { border-color: var(--x-line-light); }
.c9x .c9x-collage-notes h3 {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .3px;
  color: var(--primary); margin: 0 0 8px;
}
.c9x .c9x-sec--dark .c9x-collage-notes h3, .c9x .c9x-sec--deep .c9x-collage-notes h3 { color: var(--white); }
.c9x .c9x-collage-notes p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.c9x .c9x-sec--dark .c9x-collage-notes p, .c9x .c9x-sec--deep .c9x-collage-notes p { color: rgba(245, 245, 242, .72); }
.c9x .c9x-collage-notes .c9x-ico { width: 30px; height: 30px; }

/* =========================================================================
   MOSAIC — asymmetric editorial grid (spaces, venues)
   ========================================================================= */
.c9x .c9x-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 12vw, 170px);
  gap: clamp(12px, 1.6vw, 20px);
}
.c9x .c9x-mosaic__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: auto; }
.c9x .c9x-mosaic__item > .c9x-frame { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.c9x .c9x-mosaic__item:nth-child(1) { grid-column: 1 / span 7; grid-row: span 4; }
.c9x .c9x-mosaic__item:nth-child(2) { grid-column: 8 / span 5; grid-row: span 2; }
.c9x .c9x-mosaic__item:nth-child(3) { grid-column: 8 / span 5; grid-row: span 2; }
.c9x .c9x-mosaic__item:nth-child(4) { grid-column: 1 / span 12; grid-row: span 2; }
.c9x .c9x-mosaic__item::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 39, 25, 0) 45%, rgba(16, 39, 25, .78) 100%);
}
.c9x .c9x-mosaic__label {
  position: absolute; left: clamp(18px, 2.4vw, 32px); right: 18px; bottom: clamp(18px, 2.4vw, 28px); z-index: 2;
  color: var(--white);
}
.c9x .c9x-mosaic__label span {
  display: block; font-size: 10.5px; letter-spacing: 2.4px; text-transform: uppercase;
  color: #E6D5C0; margin-bottom: 6px;
}
.c9x .c9x-mosaic__label h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; color: var(--white); margin: 0 0 4px;
}
.c9x .c9x-mosaic__label p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 460px; }
.c9x .c9x-mosaic .c9x-frame > img { transition: transform 1.6s var(--x-slow); }
@media (hover: hover) {
  .c9x .c9x-mosaic__item:hover .c9x-frame > img { transform: scale(1.04); }
}

/* =========================================================================
   PANORAMA — wide horizontal gallery with animated markers
   ========================================================================= */
.c9x .c9x-pano { position: relative; }
.c9x .c9x-pano__track {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  --x-edge: max(var(--x-gutter), calc((100% - var(--container, 1280px)) / 2 + var(--x-gutter)));
  padding: 0 var(--x-edge) 8px;
  scroll-padding: 0 var(--x-edge);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.c9x .c9x-pano__track::-webkit-scrollbar { display: none; }
.c9x .c9x-pano__item {
  position: relative;
  flex: 0 0 clamp(260px, 30vw, 420px);
  scroll-snap-align: start;
  --ar: 3 / 4;
}
.c9x .c9x-pano__item--wide { flex-basis: clamp(300px, 52vw, 760px); --ar: 16 / 10; align-self: stretch; }
.c9x .c9x-pano__item--wide.c9x-frame { aspect-ratio: auto; min-height: 100%; }
.c9x .c9x-pano__item::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 39, 25, 0) 50%, rgba(16, 39, 25, .75) 100%);
}
.c9x .c9x-pano__label {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
  font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px);
}
.c9x .c9x-pano__label small {
  display: block; font-family: var(--font-body); font-size: 12.5px; line-height: 1.5;
  color: rgba(255, 255, 255, .8); margin-top: 2px;
}
/* animated wayfinding marker */
.c9x .c9x-marker {
  position: relative; flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(245, 245, 242, .16);
  border: 1px solid rgba(245, 245, 242, .45);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.c9x .c9x-marker .c9x-ico { width: 26px; height: 26px; color: var(--white); }
.c9x .c9x-marker::before {
  content: ''; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(230, 213, 192, .8);
  animation: c9xPulse 2.8s var(--ease) infinite;
}
@keyframes c9xPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.c9x .c9x-pano__nav { display: flex; gap: 10px; }
.c9x .c9x-pano__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 28px;
}
.c9x .c9x-progress { flex: 1; height: 1px; background: var(--x-line); position: relative; max-width: 420px; }
.c9x .c9x-sec--dark .c9x-progress, .c9x .c9x-sec--deep .c9x-progress { background: var(--x-line-light); }
.c9x .c9x-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--earth); border-radius: 3px; transition: transform .2s linear; }

/* Round nav buttons (shared by pano + reels) */
.c9x .c9x-navbtn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--x-line);
  color: var(--primary);
  background: transparent;
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.c9x .c9x-navbtn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.c9x .c9x-navbtn[disabled] { opacity: .35; pointer-events: none; }
.c9x .c9x-navbtn svg { width: 18px; height: 18px; }
.c9x .c9x-sec--dark .c9x-navbtn, .c9x .c9x-sec--deep .c9x-navbtn { border-color: var(--x-line-light); color: var(--light-stone); }
.c9x .c9x-sec--dark .c9x-navbtn:hover, .c9x .c9x-sec--deep .c9x-navbtn:hover { background: var(--earth); border-color: var(--earth); color: var(--white); }

/* =========================================================================
   ILLUSTRATED FEATURE (Cycling / Trekking) — photo + custom SVG
   ========================================================================= */
.c9x .c9x-illus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.c9x .c9x-illus__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(245, 245, 242, .04);
  border: 1px solid var(--x-line-light);
  display: flex; flex-direction: column;
}
.c9x .c9x-illus__photo { --ar: 16 / 10; border-radius: 0; }
.c9x .c9x-illus__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  flex: 1;
}
.c9x .c9x-illus__body > div { max-width: 460px; }
/* the illustration reads as a wayfinding band across the card */
.c9x .c9x-illus__body .c9x-art { margin-top: auto; max-height: 170px; padding-top: 18px; border-top: 1px solid var(--x-line-light); }
.c9x .c9x-illus__body .c9x-h3 { margin-bottom: 8px; }
.c9x .c9x-illus__body p { margin: 0; font-size: 14.5px; line-height: 1.7; color: rgba(245, 245, 242, .75); }
.c9x .c9x-art { width: 100%; height: auto; display: block; overflow: visible; color: #E6D5C0; }
.c9x .c9x-art * { vector-effect: non-scaling-stroke; }
.c9x .c9x-art .soft { color: rgba(230, 213, 192, .35); stroke: currentColor; }
.c9x .c9x-art .route { stroke-dasharray: 3 7; animation: c9xRoute 3.6s linear infinite; }
@keyframes c9xRoute { to { stroke-dashoffset: -60; } }
.c9x .c9x-art .wheel { transform-box: fill-box; transform-origin: center; animation: c9xSpin 3.2s linear infinite; }
@keyframes c9xSpin { to { transform: rotate(360deg); } }
.c9x .c9x-art .glide { animation: c9xGlide 3.2s ease-in-out infinite alternate; }
@keyframes c9xGlide { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
.c9x .c9x-art .speed { stroke-dasharray: 14 40; animation: c9xSpeed 1.6s linear infinite; }
@keyframes c9xSpeed { from { stroke-dashoffset: 54; } to { stroke-dashoffset: 0; } }
/* line drawing (triggered by .is-in on the card) */
.c9x .c9x-art .draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 2.6s var(--x-slow); transition-delay: var(--d, 0s); }
.c9x .is-in .c9x-art .draw, .c9x .c9x-art.is-in .draw { stroke-dashoffset: 0; }
.c9x .c9x-art .flag { transform-box: fill-box; transform-origin: 0 100%; animation: c9xFlag 2.4s ease-in-out infinite alternate; }
@keyframes c9xFlag { from { transform: skewY(-4deg); } to { transform: skewY(4deg); } }

/* =========================================================================
   AMENITY CARDS — compact comfort & convenience
   ========================================================================= */
.c9x .c9x-amen {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.c9x .c9x-amen__card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.c9x .c9x-amen__card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(31, 69, 32, .35); border-color: rgba(126, 157, 99, .45); }
.c9x .c9x-amen__card .c9x-ico { width: 46px; height: 46px; margin-bottom: 26px; }
.c9x .c9x-amen__card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--primary); margin: 0 0 6px; }
.c9x .c9x-amen__card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.c9x .c9x-amen__card a.c9x-amen__more { position: absolute; inset: 0; border-radius: inherit; }
.c9x .c9x-amen__card .c9x-ico .ln { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s var(--x-slow); }

/* =========================================================================
   TIMELINE — horizontal on desktop, vertical on mobile
   ========================================================================= */
.c9x .c9x-tl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.c9x .c9x-tl__rail {
  position: absolute; left: 0; right: 0;
  top: calc(var(--thumb, 0px) + 27px);
  height: 1px;
  background: var(--x-line);
}
.c9x .c9x-sec--dark .c9x-tl__rail, .c9x .c9x-sec--deep .c9x-tl__rail { background: var(--x-line-light); }
.c9x .c9x-tl__rail span { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--earth); transform-origin: left; transform: scaleX(var(--p, 0)); }
.c9x .c9x-tl__item { position: relative; }
.c9x .c9x-tl__thumb { --ar: 4 / 5; border-radius: var(--radius-md); margin-bottom: 18px; }
.c9x .c9x-tl__dot {
  position: relative; z-index: 1;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--light-stone);
  border: 1px solid var(--earth);
  font-family: var(--font-display); font-size: 17px; color: var(--primary);
  margin-bottom: 18px;
}
.c9x .c9x-sec--dark .c9x-tl__dot, .c9x .c9x-sec--deep .c9x-tl__dot { background: var(--primary-dark); color: #E6D5C0; }
.c9x .c9x-sec--blush .c9x-tl__dot { background: var(--x-blush); }
.c9x .c9x-tl__item h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 24px); color: var(--primary); margin: 0 0 6px; }
.c9x .c9x-sec--dark .c9x-tl__item h3, .c9x .c9x-sec--deep .c9x-tl__item h3 { color: var(--white); }
.c9x .c9x-tl__item p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.c9x .c9x-sec--dark .c9x-tl__item p, .c9x .c9x-sec--deep .c9x-tl__item p { color: rgba(245, 245, 242, .72); }
/* timeline items with thumbs: dot sits above the thumb */
.c9x .c9x-tl--thumbs .c9x-tl__rail { top: 27px; }

/* =========================================================================
   COUPLE — large portrait + supporting frames
   ========================================================================= */
.c9x .c9x-couple {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}
.c9x .c9x-couple__main { grid-column: 1 / span 7; grid-row: 1 / span 3; --ar: 4 / 5; }
.c9x .c9x-couple__copy { grid-column: 8 / span 5; grid-row: 1; padding: clamp(0px, 2vw, 24px) 0 clamp(12px, 2vw, 24px); }
.c9x .c9x-couple__s1 { grid-column: 8 / span 3; grid-row: 2; --ar: 3 / 4; }
.c9x .c9x-couple__s2 { grid-column: 11 / span 2; grid-row: 2; --ar: 1 / 2; margin-top: 30%; }
.c9x .c9x-couple__s3 { grid-column: 8 / span 5; grid-row: 3; --ar: 16 / 9; }

/* =========================================================================
   NEARBY / CARD RAIL (spiritual places etc.)
   ========================================================================= */
.c9x .c9x-rail3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.c9x .c9x-rail3 > article:nth-child(2) { margin-top: clamp(0px, 5vw, 64px); }
.c9x .c9x-place { --ar: 3 / 4; }
.c9x .c9x-place::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 39, 25, 0) 45%, rgba(16, 39, 25, .8)); pointer-events: none; }
.c9x .c9x-place figcaption { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; color: var(--white); }
.c9x .c9x-place figcaption span { display: block; font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase; color: #E6D5C0; margin-bottom: 6px; }
.c9x .c9x-place figcaption h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); color: var(--white); margin: 0 0 4px; }
.c9x .c9x-place figcaption p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); }

/* =========================================================================
   QUOTE / DAY-FLOW strip
   ========================================================================= */
.c9x .c9x-flow { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--x-line); }
.c9x .c9x-flow > div { padding: 28px 28px 8px 0; }
.c9x .c9x-flow > div + div { padding-left: 28px; border-left: 1px solid var(--x-line); }
.c9x .c9x-flow time { display: block; font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-weight: 600; }
.c9x .c9x-flow h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--primary); margin: 0 0 6px; }
.c9x .c9x-flow p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.c9x .c9x-sec--dark .c9x-flow, .c9x .c9x-sec--dark .c9x-flow > div + div { border-color: var(--x-line-light); }

/* =========================================================================
   CTA — calm full-width visual
   ========================================================================= */
.c9x .c9x-cta {
  position: relative;
  min-height: clamp(460px, 78vh, 760px);
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden; isolation: isolate;
  color: var(--white);
  padding: 110px 0;
}
.c9x .c9x-cta__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; aspect-ratio: auto; }
.c9x .c9x-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 50% 55%, rgba(16, 39, 25, .55), rgba(16, 39, 25, .85)); }
.c9x .c9x-cta h2.c9x-h2 { color: var(--white); font-size: clamp(34px, 5vw, 64px); max-width: 16ch; margin: 0 auto 18px; }
.c9x .c9x-cta .c9x-lede { color: rgba(255, 255, 255, .85); margin: 0 auto; }
.c9x .c9x-cta .c9x-actions { justify-content: center; }
.c9x .c9x-cta .eyebrow { justify-content: center; }

/* =========================================================================
   REELS — <reels-section> component
   ========================================================================= */
.c9x reels-section { display: block; }
.c9x .c9x-reels__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.c9x .c9x-reels__head .c9x-head { margin-bottom: 0; }
.c9x .c9x-reels__track {
  --per: 4;
  --gap: clamp(12px, 1.6vw, 20px);
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding-bottom: 6px;
  list-style: none; margin: 0; padding-left: 0;
}
.c9x .c9x-reels__track::-webkit-scrollbar { display: none; }
.c9x .c9x-reel {
  position: relative;
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--x-deep);
  color: var(--white);
  isolation: isolate;
}
.c9x .c9x-reel__poster, .c9x .c9x-reel video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.c9x .c9x-reel__poster { transition: transform 1.4s var(--x-slow), opacity .5s; }
.c9x .c9x-reel video { z-index: 1; background: #000; }
.c9x .c9x-reel.is-playing .c9x-reel__poster { opacity: 0; }
.c9x .c9x-reel::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 39, 25, .35) 0%, rgba(16, 39, 25, 0) 25%, rgba(16, 39, 25, 0) 55%, rgba(16, 39, 25, .85) 100%);
  transition: opacity .4s;
}
.c9x .c9x-reel.is-playing::after { opacity: .35; }
@media (hover: hover) { .c9x .c9x-reel:hover .c9x-reel__poster { transform: scale(1.04); } }
.c9x .c9x-reel__meta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; }
.c9x .c9x-reel__meta span { display: block; font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: #E6D5C0; margin-bottom: 4px; }
.c9x .c9x-reel__meta h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.25; color: var(--white); margin: 0; }
.c9x .c9x-reel__play {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(245, 245, 242, .18);
  border: 1px solid rgba(245, 245, 242, .6);
  backdrop-filter: blur(8px);
  color: var(--white);
  transition: transform .4s var(--ease), background .3s, opacity .3s;
}
.c9x .c9x-reel__play svg { width: 20px; height: 20px; margin-left: 3px; }
.c9x .c9x-reel__play:hover { transform: scale(1.08); background: rgba(245, 245, 242, .3); }
.c9x .c9x-reel.is-playing .c9x-reel__play { opacity: 0; pointer-events: none; }
.c9x .c9x-reel.is-paused .c9x-reel__play { opacity: 1; pointer-events: auto; }
.c9x .c9x-reel__ctrls {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  display: flex; gap: 8px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s, transform .3s var(--ease);
}
.c9x .c9x-reel.is-started .c9x-reel__ctrls { opacity: 1; transform: none; }
.c9x .c9x-reel__ctrls button {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 39, 25, .55); color: var(--white);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
}
.c9x .c9x-reel__ctrls svg { width: 16px; height: 16px; }
.c9x .c9x-reel__ctrls .ico-on { display: none; }
.c9x .c9x-reel.is-unmuted .c9x-reel__ctrls .ico-on { display: block; }
.c9x .c9x-reel.is-unmuted .c9x-reel__ctrls .ico-off { display: none; }
/* Placeholder state — no video supplied yet */
.c9x .c9x-reel--soon .c9x-reel__poster { filter: saturate(.7) brightness(.8); }
.c9x .c9x-reel--soon::before {
  content: ''; position: absolute; inset: 10px; z-index: 3; pointer-events: none;
  border: 1.5px dashed rgba(255, 255, 255, .45);
  border-radius: calc(var(--radius-md) - 6px);
}
.c9x .c9x-reel__soon {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(16, 39, 25, .7); color: #E6D5C0;
}
.c9x .c9x-reel--soon .c9x-reel__play { opacity: .55; cursor: default; }
.c9x .c9x-reel--soon .c9x-reel__play:hover { transform: none; background: rgba(245, 245, 242, .18); }
.c9x .c9x-reels__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.c9x .c9x-reels__note { font-size: 12.5px; color: var(--muted); margin: 0; }
.c9x .c9x-sec--dark .c9x-reels__note, .c9x .c9x-sec--deep .c9x-reels__note { color: rgba(245, 245, 242, .6); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1180px) {
  .c9x .c9x-reels__track { --per: 3; }
  .c9x .c9x-ribbon { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .c9x .c9x-ribbon a { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12.5px; }
}
@media (max-width: 1024px) {
  .c9x .c9x-illus { grid-template-columns: 1fr; }
  .c9x .c9x-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c9x .c9x-tl { --n: 5; }
  .c9x .c9x-tl__item p { font-size: 13px; }
}
@media (max-width: 900px) {
  .c9x .c9x-intro,
  .c9x .c9x-split,
  .c9x .c9x-split--rev { grid-template-columns: 1fr; }
  .c9x .c9x-split--rev .c9x-split__media { order: 0; }
  .c9x .c9x-split__media { max-width: 640px; }
  .c9x .c9x-split__inset { right: 4%; bottom: -8%; width: 38%; }
  .c9x .c9x-split--rev .c9x-split__inset { left: auto; right: 4%; }
  .c9x .c9x-split__copy { padding-top: 24px; }
  .c9x .c9x-reels__track { --per: 2.4; }
  .c9x .c9x-collage-notes { grid-template-columns: 1fr; gap: 0; }
  .c9x .c9x-collage-notes > div { padding: 18px 0; }
  .c9x .c9x-couple__main { grid-column: 1 / -1; grid-row: auto; --ar: 4 / 5; }
  .c9x .c9x-couple__copy { grid-column: 1 / -1; grid-row: auto; order: -1; }
  .c9x .c9x-couple__s1 { grid-column: 1 / span 7; grid-row: auto; }
  .c9x .c9x-couple__s2 { grid-column: 8 / span 5; grid-row: auto; --ar: 3 / 5; margin-top: 18%; }
  .c9x .c9x-couple__s3 { grid-column: 1 / -1; grid-row: auto; }
  .c9x .c9x-rail3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c9x .c9x-rail3 > article:nth-child(2) { margin-top: 0; }
  .c9x .c9x-rail3 > article:nth-child(3) { grid-column: 1 / -1; }
  .c9x .c9x-rail3 > article:nth-child(3) .c9x-place { --ar: 16 / 9; }
  .c9x .c9x-flow { --n: 1 !important; }
  .c9x .c9x-flow > div, .c9x .c9x-flow > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--x-line); }
  .c9x .c9x-scrollcue { display: none; }
  /* Timeline → vertical */
  .c9x .c9x-tl { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .c9x .c9x-tl__rail { left: 26px; right: auto; top: 0 !important; bottom: 0; width: 1px; height: auto; }
  .c9x .c9x-tl__rail span { width: 1px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .c9x .c9x-tl__item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) clamp(88px, 26vw, 140px);
    gap: 18px;
    align-items: center;
    padding: 14px 0;
  }
  .c9x .c9x-tl__dot { margin: 0; grid-column: 1; grid-row: 1; }
  .c9x .c9x-tl__body { grid-column: 2; grid-row: 1; }
  .c9x .c9x-tl__thumb { grid-column: 3; grid-row: 1; margin: 0; --ar: 1 / 1; }
}
@media (max-width: 720px) {
  .c9x .c9x-hero { min-height: 560px; }
  .c9x .c9x-hero h1 { max-width: none; }
  .c9x .c9x-hero__media img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .c9x .c9x-hero::after { background: linear-gradient(180deg, rgba(16, 39, 25, .5) 0%, rgba(16, 39, 25, .15) 30%, rgba(16, 39, 25, .55) 55%, rgba(16, 39, 25, .92) 100%); }
  .c9x .c9x-couple__s1 .c9x-ph__tag, .c9x .c9x-couple__s2 .c9x-ph__tag { top: 10px; left: 10px; right: 10px; padding: 7px 9px; font-size: 10px; }
  .c9x .c9x-couple__s1 .c9x-ph__tag svg { display: none; }
  /* keep hero CTAs clear of the site's floating WhatsApp / call buttons */
  .c9x .c9x-hero .c9x-actions { padding-right: 64px; }
  .c9x .c9x-hero .c9x-ph__tag { left: var(--x-gutter); right: var(--x-gutter); bottom: auto; top: 96px; max-width: none; }
  .c9x .c9x-group { grid-template-columns: 1fr; gap: 6px; }
  .c9x .c9x-group__num { font-size: 64px; }
  .c9x .c9x-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .c9x .c9x-ribbon a { flex-direction: row; align-items: center; padding: 16px 0; }
  .c9x .c9x-illus__body { grid-template-columns: 1fr; }
  .c9x .c9x-illus__body .c9x-art { max-width: 320px; }
  .c9x .c9x-amen { grid-template-columns: 1fr; gap: 12px; }
  .c9x .c9x-amen__card { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; align-items: start; }
  .c9x .c9x-amen__card .c9x-ico { margin: 0; grid-row: span 2; }
  .c9x .c9x-collage { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .c9x .c9x-collage__a { grid-column: 1 / -1; grid-row: 1; --ar: 4 / 3; }
  .c9x .c9x-collage__b { grid-column: 1 / span 3; grid-row: 2; margin-top: 14px; --ar: 3 / 4; }
  .c9x .c9x-collage__c { grid-column: 4 / span 3; grid-row: 2; margin-top: 44px; --ar: 3 / 4; border-width: 0; }
  .c9x .c9x-collage-notes.c9x-collage__d { grid-column: 1 / -1; grid-row: 3; margin-top: 20px; }
  .c9x .c9x-mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .c9x .c9x-mosaic__item:nth-child(n) { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .c9x .c9x-mosaic__item:nth-child(1) { aspect-ratio: 4 / 5; }
  .c9x .c9x-rail3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--x-gutter) * -1); padding: 0 var(--x-gutter); }
  .c9x .c9x-rail3::-webkit-scrollbar { display: none; }
  .c9x .c9x-rail3 > article { flex: 0 0 78%; scroll-snap-align: center; }
  .c9x .c9x-rail3 > article:nth-child(3) .c9x-place { --ar: 3 / 4; }
  .c9x .c9x-reels__track { --per: 1.3; scroll-snap-type: x mandatory; }
  .c9x .c9x-reel { scroll-snap-align: center; }
  .c9x .c9x-reels__head { align-items: flex-start; }
  .c9x .c9x-reels__head .c9x-pano__nav { display: none; }
  .c9x .c9x-pano__item { flex-basis: 78vw; }
  .c9x .c9x-pano__item--wide { flex-basis: 88vw; --ar: 4 / 5; }
  .c9x .c9x-pano__item--wide.c9x-frame { aspect-ratio: 4 / 5; min-height: 0; }
  .c9x .c9x-pano__nav { display: none; }
  .c9x .c9x-feature { min-height: 620px; }
  .c9x .c9x-tl__item { grid-template-columns: 54px minmax(0, 1fr) 84px; gap: 14px; }
  .c9x .c9x-actions .btn { padding: 15px 26px; }
  .c9x .c9x-couple__s1 { grid-column: 1 / span 6; }
  .c9x .c9x-couple__s2 { grid-column: 7 / span 6; }
  .c9x-js .c9x [data-x-reveal] { --x-rise: 18px; }
}
@media (max-width: 420px) {
  .c9x .c9x-tl__item { grid-template-columns: 54px minmax(0, 1fr); }
  .c9x .c9x-tl__thumb { display: none; }
  .c9x .c9x-actions { flex-direction: column; align-items: stretch; }
  .c9x .c9x-actions .btn { justify-content: center; }
}

/* =========================================================================
   REDUCED MOTION — everything visible, nothing moves
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .c9x-js .c9x [data-x-reveal],
  .c9x-js .c9x .c9x-hero [data-x-hero] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .c9x-js .c9x [data-x-clip],
  .c9x-js .c9x [data-x-clip="side"],
  .c9x-js .c9x .c9x-feature__media[data-x-clip] { clip-path: none !important; transition: none !important; }
  .c9x-js .c9x [data-x-clip] > img,
  .c9x-js .c9x [data-x-clip] .c9x-par > img,
  .c9x-js .c9x .c9x-hero--settle .c9x-hero__media img { transform: none !important; transition: none !important; }
  .c9x .c9x-hero--kenburns .c9x-hero__media img,
  .c9x .c9x-art .route, .c9x .c9x-art .wheel, .c9x .c9x-art .glide, .c9x .c9x-art .speed,
  .c9x .c9x-art .flag,
  .c9x .c9x-marker::before, .c9x .c9x-scrollcue::after { animation: none !important; }
  .c9x .c9x-art .draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .c9x .c9x-tl__rail span { transform: none !important; }
}

/* =========================================================================
   HERO: clean, frameless content over the photo (UX pass)
   The photo-placeholder frame and note are not shown inside heroes; the
   slot is still marked with data-photo-needed for the final image swap.
   ========================================================================= */
.c9x .c9x-hero.c9x-ph::before,
.c9x .c9x-hero .c9x-ph__tag { display: none; }
.c9x .c9x-hero.c9x-ph .c9x-hero__media img { filter: none; }
.c9x .c9x-hero h1,
.c9x .c9x-hero__sub,
.c9x .c9x-hero .eyebrow,
.c9x .c9x-hero .detail-breadcrumb { text-shadow: 0 2px 18px rgba(0, 0, 0, .32); }
.c9x .c9x-hero .eyebrow.light { color: rgba(255, 255, 255, .92); }
@media (max-width: 720px) {
  .c9x .c9x-hero::after {
    background: linear-gradient(180deg, rgba(16, 39, 25, .35) 0%, rgba(16, 39, 25, .08) 20%, rgba(16, 39, 25, .45) 46%, rgba(16, 39, 25, .93) 100%);
  }
}

/* Split hero (desktop): photo on the right, copy on a deep-green field on the left,
   so subjects are never covered by the headline. Full-bleed again on mobile. */
@media (min-width: 901px) {
  .c9x .c9x-hero--split { background: var(--x-deep); }
  .c9x .c9x-hero--split .c9x-hero__media { left: 36%; }
  .c9x .c9x-hero--split::after {
    background:
      linear-gradient(90deg, var(--x-deep) 0%, var(--x-deep) 36%, rgba(20, 46, 21, .6) 42%, rgba(20, 46, 21, .15) 54%, rgba(20, 46, 21, 0) 64%),
      linear-gradient(180deg, rgba(16, 39, 25, .55) 0%, rgba(16, 39, 25, 0) 26%, rgba(16, 39, 25, 0) 72%, rgba(16, 39, 25, .55) 100%);
  }
  .c9x .c9x-hero--split h1 { max-width: 11ch; }
  .c9x .c9x-hero--split .c9x-hero__sub { max-width: 440px; }
}

/* Hero never slides under the header: it reserves room for the nav and grows
   with its content on short screens (e.g. 1300x610 laptops) instead of pushing
   the breadcrumb and eyebrow up behind the menu. */
.c9x .c9x-hero {
  height: auto;
  min-height: clamp(560px, 100svh, 1000px);
  max-height: none;
  padding-top: clamp(140px, 19vh, 172px); /* header is ~118px tall on laptops */
}
.c9x .c9x-hero h1 { font-size: clamp(38px, min(6.4vw, 10.5vh), 88px); }
.c9x .c9x-hero__inner { padding-bottom: clamp(40px, 7vh, 96px); }
.c9x .c9x-hero .c9x-actions { margin-top: clamp(20px, 3.5vh, 32px); }

/* Four-card photo row (Spiritual Gathering intro) */
.c9x .c9x-cards4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(36px, 5vw, 64px);
}
.c9x .c9x-cards4__item { margin: 0; min-width: 0; }
.c9x .c9x-cards4__item .c9x-frame { --ar: 1 / 1; }
.c9x .c9x-cards4__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.25;
  color: var(--primary);
  margin: 16px 0 6px;
}
.c9x .c9x-cards4__item p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(51, 51, 51, .78); }
@media (hover: hover) {
  .c9x .c9x-cards4__item .c9x-frame > img { transition: transform 1.2s var(--x-slow); }
  .c9x .c9x-cards4__item:hover .c9x-frame > img { transform: scale(1.04); }
}
@media (max-width: 900px) { .c9x .c9x-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .c9x .c9x-cards4__item h3 { margin-top: 12px; } .c9x .c9x-cards4__item p { font-size: 13px; } }
