/* ==========================================================================
   Unique Holidays — cinematic homepage
   Arch intro, scroll-scrubbed hero, pinned horizontal journey, vista zoom,
   merging windows, finale footer. Everything here is scoped to body.cx so
   the other pages keep their existing look. Driven by assets/js/cinema.js.
   ========================================================================== */

.cx {
  --cx-paper:   #F6F2EA;
  --cx-paper-2: #EDE6D9;
  --cx-ink:     var(--navy);
  --cx-soft:    #5C6B80;
  --cx-hair:    rgba(0, 35, 82, .16);
  --cx-serif:   "Playfair Display", Georgia, "Times New Roman", serif;
  /* the calligraphy accent; it draws small for its em size, so every use
     below sizes up against the serif it sits beside */
  --cx-script:  "Pinyon Script", "Segoe Script", cursive;
  --cx-out:     cubic-bezier(.25, 1, .5, 1);
  --cx-in:      cubic-bezier(.5, 0, .75, 0);
  --cx-inout:   cubic-bezier(.75, 0, .25, 1);
  --cx-s: .4s;
  --cx-m: .8s;
  --cx-l: 1.2s;
  background: var(--cx-paper);
}
:root[data-theme="night"] .cx {
  --cx-paper:   #06182C;
  --cx-paper-2: #0A2340;
  --cx-ink:     #EAF3FF;
  --cx-soft:    #9DB0C6;
  --cx-hair:    rgba(234, 243, 255, .18);
}
.cx main { background: var(--cx-paper); }
html.cx-lock, html.cx-lock body { overflow: hidden; }

/* -------------------------------------------------------------- shared type */
.cx-label {
  font-family: var(--font-head); font-weight: 600; font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--cx-ink); margin: 0;
}
.cx-spaced {
  font-family: var(--font-head); font-weight: 500; font-size: .72rem;
  letter-spacing: .6em; text-transform: uppercase;
}
.cx-small { font-size: .9rem; line-height: 1.65; color: var(--cx-soft); }
.cx-serif { font-family: var(--cx-serif); font-weight: 500; letter-spacing: -.01em; }

/* ------------------------------------------------------------ text reveals */
/* h — characters turn in on their vertical axis */
.cx-w { display: inline-block; white-space: nowrap; }
[data-cx="h"] .cx-c, [data-cx-part="h"] .cx-c {
  display: inline-block; opacity: 0;
  transform: translateY(50%) rotateY(90deg);
  transition: opacity var(--cx-l) var(--cx-out), transform var(--cx-l) var(--cx-out);
  transition-delay: calc(var(--cx-d, .3s) + var(--i, 0) * var(--cx-step, .05s));
}
/* a — spaced labels flip up from below */
[data-cx="a"] .cx-c, [data-cx-part="a"] .cx-c {
  display: inline-block; opacity: 0; transform-origin: 50% 100%;
  transform: translateX(.8em) rotateX(90deg);
  transition: opacity var(--cx-l) var(--cx-out), transform var(--cx-l) var(--cx-out);
  transition-delay: calc(var(--cx-d, .3s) + var(--i, 0) * .06s);
}
.is-in > .cx-w > .cx-c, .is-in > * > .cx-w > .cx-c, .is-in .cx-c { opacity: 1; transform: none; }
.is-out .cx-c {
  opacity: 0; transform: translateY(-50%) rotateY(-90deg);
  transition-duration: var(--cx-s); transition-timing-function: var(--cx-in);
  transition-delay: calc(var(--i, 0) * .012s);
}

/* p — lines rise out of a mask */
.cx-l { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.cx-li {
  display: block; transform: translateY(110%);
  transition: transform var(--cx-l) var(--cx-out);
  transition-delay: calc(var(--cx-d, .3s) + var(--i, 0) * .1s);
}
.is-in .cx-li { transform: none; }
.is-out .cx-li {
  transform: translateY(-110%); transition-duration: var(--cx-s);
  transition-timing-function: var(--cx-in); transition-delay: 0s;
}

/* ctn — blocks fade up */
[data-cx="ctn"], [data-cx-part="ctn"] {
  opacity: 0; transform: translateY(clamp(26px, 3.3vw, 54px));
  transition: opacity var(--cx-l) var(--cx-out), transform var(--cx-l) var(--cx-out);
  transition-delay: var(--cx-d, .3s);
}
[data-cx="ctn"].is-in, [data-cx-part="ctn"].is-in { opacity: 1; transform: none; }

/* line — hairlines draw downward */
[data-cx="line"], [data-cx-part="line"] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--cx-l) var(--cx-out);
  transition-delay: var(--cx-d, .3s);
}
[data-cx="line"].is-in, [data-cx-part="line"].is-in { clip-path: inset(0 0 0 0); }

/* slide — image wipes in on a slant while its picture settles */
[data-cx="slide"] {
  clip-path: polygon(100% 0, 100% 0, 104% 100%, 130% 100%);
  transition: clip-path var(--cx-l) var(--cx-inout) var(--cx-d, .3s);
}
[data-cx="slide"] img {
  transform: scale(1.45) translateX(22%);
  transition: transform var(--cx-l) var(--cx-inout) var(--cx-d, .3s);
}
[data-cx="slide"].is-in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
[data-cx="slide"].is-in img { transform: none; }

/* ------------------------------------------------------------------ header */
.cx .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; backdrop-filter: none; border-bottom: 0; box-shadow: none;
  transition: color .5s var(--cx-out), background-color .5s var(--cx-out), transform .8s var(--cx-inout);
}
.cx .site-header.is-stuck { box-shadow: none; }
.cx .site-header .nav-list a:hover,
.cx .site-header .nav-list a[aria-current="page"] { background: rgba(255, 255, 255, .14); }
.cx .site-header.on-dark .brand-name,
.cx .site-header.on-dark .brand-name span,
.cx .site-header.on-dark .nav-list a,
.cx .site-header.on-dark .header-phone {
  color: #fff; text-shadow: 0 1px 3px rgba(0, 14, 36, .55), 0 2px 14px rgba(0, 14, 36, .4);
}
.cx .site-header.on-dark .brand-tag {
  color: rgba(255, 255, 255, .82); text-shadow: 0 1px 3px rgba(0, 14, 36, .55);
}
.cx .site-header.on-dark .header-phone svg { background: rgba(255, 255, 255, .16); color: #fff; }
.cx .site-header.on-dark .theme-toggle { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.cx .site-header.on-dark .nav-toggle { background: transparent; border-color: rgba(255, 255, 255, .45); }
.cx .site-header.on-dark .nav-toggle span,
.cx .site-header.on-dark .nav-toggle span::before,
.cx .site-header.on-dark .nav-toggle span::after { background: #fff; }
.cx .site-header.on-dark .nav-toggle[aria-expanded="true"] span { background: transparent; }
.cx .site-header.on-light {
  background: color-mix(in srgb, var(--cx-paper) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.cx .site-header.on-light .theme-toggle,
.cx .site-header.on-light .nav-toggle { background: transparent; }
.cx .site-header.on-light .nav-list a:hover,
.cx .site-header.on-light .nav-list a[aria-current="page"] { background: rgba(0, 35, 82, .07); }
html.cx-lock .cx .site-header { transform: translateY(-120%); }
@media (max-width: 940px) {
  .cx .site-header.on-dark .nav-list a { color: var(--ink); }
}

/* ------------------------------------------------------------ scroll meter */
@media (min-width: 992px) {
  .cx .uh-meter {
    top: 16vh; bottom: 12vh; transform: none; left: 30px; width: 40px;
    display: block; mix-blend-mode: normal;
  }
  .cx .uh-meter__track {
    position: absolute; left: 50%; top: 0; bottom: 36px; height: auto; width: 1px;
    background: var(--cx-hair); border-radius: 0; overflow: visible;
  }
  .cx .uh-meter__fill { width: 1px; background: var(--cx-ink); opacity: .55; border-radius: 0; }
  .cx .uh-meter__num {
    position: absolute; left: calc(50% + 10px); top: calc(var(--cx-p, 0) * (100% - 36px));
    transform: translateY(-50%); font-size: .62rem; color: var(--cx-ink); letter-spacing: .08em;
  }
  .cx .uh-meter__label {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    font-size: .56rem; color: var(--cx-ink); opacity: .7;
  }
  .cx .uh-meter.on-dark { --cx-ink: #fff; --cx-hair: rgba(255, 255, 255, .3); }
}

/* =================================================================== intro */
.cx-pre {
  /* The mark ships on a white background, so the intro is white too and the
     two meet without an edge. */
  --cx-pre-bg: #fff; --cx-pre-ink: var(--navy); --cx-pre-hair: rgba(0, 35, 82, .14);
  --aw: 24vw; --ay: 104vh; --ah: calc(var(--aw) * 4.6);
  position: fixed; inset: 0; z-index: 1000; overflow: hidden;
  background: var(--cx-pre-bg); color: var(--cx-pre-ink);
  -webkit-mask:
    linear-gradient(#000 0 0) left top / calc(50% - var(--aw) / 2 + 1px) 100% no-repeat,
    linear-gradient(#000 0 0) right top / calc(50% - var(--aw) / 2 + 1px) 100% no-repeat,
    linear-gradient(#000 0 0) center top / calc(var(--aw) + 2px) calc(var(--ay) + 1px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 460' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V50A50 50 0 0 0 0 50Z'/%3E%3C/svg%3E") center var(--ay) / var(--aw) var(--ah) no-repeat;
          mask:
    linear-gradient(#000 0 0) left top / calc(50% - var(--aw) / 2 + 1px) 100% no-repeat,
    linear-gradient(#000 0 0) right top / calc(50% - var(--aw) / 2 + 1px) 100% no-repeat,
    linear-gradient(#000 0 0) center top / calc(var(--aw) + 2px) calc(var(--ay) + 1px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 460' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V50A50 50 0 0 0 0 50Z'/%3E%3C/svg%3E") center var(--ay) / var(--aw) var(--ah) no-repeat;
}
.cx-pre::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 115%, rgba(41, 207, 253, .16), transparent 70%);
}
.cx-pre__frame {
  position: absolute; inset: clamp(12px, 1.7vw, 24px); border-radius: clamp(14px, 2vw, 28px);
  border: 1px solid var(--cx-pre-hair); pointer-events: none;
}
.cx-pre__ring {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: var(--cx-pre-bg); border: 1px solid var(--cx-pre-hair); border-bottom: 0;
  opacity: 0; transition: opacity var(--cx-l) var(--cx-out);
}
.cx-pre.is-decor .cx-pre__ring { opacity: 1; }
.cx-pre__ring--1 {
  z-index: 2; width: calc(var(--aw) * 1.03); height: calc(var(--ah) * 1.01);
  top: calc(var(--ay) - var(--aw) * .03); border-radius: var(--aw) var(--aw) 0 0;
}
.cx-pre__ring--2 {
  z-index: 1; width: calc(var(--aw) * 1.12); height: calc(var(--ah) * 1.03);
  top: calc(var(--ay) - var(--aw) * .1); border-radius: var(--aw) var(--aw) 0 0;
  border-color: rgba(0, 35, 82, .07);
}
.cx-pre__top {
  position: absolute; z-index: 3; left: 0; right: 0; top: clamp(26px, 4vh, 44px);
  display: flex; justify-content: center;
}
.cx-pre__top img { width: 42px; height: auto; }
.cx-pre__center {
  position: absolute; z-index: 3; inset: 0;
  /* one centred stack: grid rows used to stretch and split the screen in half */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(56px, 9vh, 88px) 6vw; box-sizing: border-box;
  text-align: center; pointer-events: none;
}
.cx-pre__tag {
  margin: clamp(10px, 1.8vh, 20px) 0 0;
  font-family: var(--cx-script); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: 0;
  color: var(--navy-600);
}
.cx-pre__meta {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(134px, 19vh, 178px);
  display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px);
  color: rgba(0, 35, 82, .5);
}
.cx-pre__meta .cx-spaced { font-size: .62rem; letter-spacing: .42em; }
.cx-pre__bottom {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(26px, 4.5vh, 48px);
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.cx-pre__progress {
  width: 1px; height: clamp(46px, 7vh, 72px); background: rgba(0, 35, 82, .16);
  overflow: hidden; position: relative;
}
.cx-pre__progress i {
  position: absolute; inset: 0; background: var(--orange); transform: translateY(-100%);
}
.cx-pre.is-loading .cx-pre__progress i { animation: cx-load 4s linear forwards; }
@keyframes cx-load {
  0%   { transform: translateY(-100%); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  38%  { transform: translateY(-52%);  animation-timing-function: cubic-bezier(.6, 0, .4, 1); }
  55%  { transform: translateY(-44%);  animation-timing-function: cubic-bezier(.3, .6, .3, 1); }
  100% { transform: translateY(0); }
}
.cx-pre__bottom p {
  margin: 0; font-family: var(--font-head); font-weight: 600; font-size: .62rem;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.7; color: var(--navy);
}
/* The short intro still shows the logo — only the wordmark block below it goes. */
.cx-pre.is-short .cx-pre__tag,
.cx-pre.is-short .cx-pre__meta,
.cx-pre.is-short .cx-pre__bottom { display: none; }
.cx-pre.is-short .cx-pre__logo {
  margin-bottom: 0;
  transition-duration: .72s, .86s;
}

/* ==================================================================== hero */
.cx-hero { position: relative; height: 270vh; background: var(--deep); }
.cx-hero__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
.cx-hero__bg { position: absolute; left: 0; right: 0; top: 0; height: 150vh; z-index: -3; will-change: transform; }
.cx-hero__zoom { position: absolute; inset: 0; transform-origin: 50% 75%; will-change: transform; }
.cx-hero__zoom img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform-origin: 50% 0;
}
html.cx-intro .cx-hero__zoom img { transform: scale(.75); }
@media (max-width: 991px) { html.cx-intro .cx-hero__zoom img { transform: scale(1.15); } }
.cx-hero__zoom img.is-settling { transition: transform calc(var(--cx-l) * 1.25) var(--cx-inout); transform: none; }
.cx-hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  /* Two scrims: a soft pool behind the headline so white type keeps its
     contrast over the bright sky, plus the top/bottom bands for the header
     and the scroll cue. */
  background:
    radial-gradient(118% 72% at 50% 46%,
      rgba(0, 16, 40, .60) 0%, rgba(0, 16, 40, .46) 44%, rgba(0, 16, 40, .14) 74%, rgba(0, 16, 40, 0) 100%),
    linear-gradient(180deg, rgba(0, 20, 48, .72) 0%, rgba(0, 20, 48, .34) 30%, rgba(0, 20, 48, .32) 62%, rgba(0, 20, 48, .66) 100%);
}
.cx-hero__content {
  position: absolute; inset: 0; z-index: 2; color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px 24px 80px; will-change: transform;
}
.cx-hero__content .cx-label {
  color: #fff; margin-bottom: clamp(16px, 2.2vh, 28px);
  text-shadow: 0 1px 3px rgba(0, 14, 36, .6), 0 2px 16px rgba(0, 14, 36, .45);
}
.cx-hero__title {
  margin: 0; color: #fff; font-family: var(--cx-serif); font-weight: 500;
  text-transform: uppercase; letter-spacing: .01em; line-height: .9;
  font-size: clamp(3.2rem, 11.2vw, 11.5rem); display: flex; flex-direction: column; align-items: center;
  text-shadow: 0 2px 10px rgba(0, 14, 36, .45), 0 8px 44px rgba(0, 14, 36, .5);
}
.cx-hero__script {
  font-family: var(--cx-script); font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem); line-height: 1.15; color: var(--sand); margin: .18em 0 0;
  text-shadow: 0 2px 8px rgba(0, 14, 36, .55), 0 6px 30px rgba(0, 14, 36, .4);
}
.cx-hero__row {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 36px);
  margin-top: clamp(20px, 3.4vh, 38px); color: #fff;
  text-shadow: 0 1px 3px rgba(0, 14, 36, .6), 0 2px 16px rgba(0, 14, 36, .45);
}
.cx-hero__row .cx-spaced { font-size: .66rem; letter-spacing: .38em; }
.cx-hero__rule { width: clamp(40px, 7vw, 110px); height: 1px; background: rgba(255, 255, 255, .85); }
.cx-hero__rule[data-cx="line"] { clip-path: inset(0 100% 0 0); }
.cx-hero__rule[data-cx="line"].is-in { clip-path: inset(0 0 0 0); }
.cx-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 4vh, 42px); }
.cx-hero__cue {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(18px, 3.4vh, 34px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 14, 36, .6);
}
.cx-hero__cue.is-in { transform: translateX(-50%); }
.cx-hero__cue span { font-family: var(--font-head); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; }
.cx-hero__cue i { width: 1px; height: 44px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.cx-hero__cue i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: #fff; animation: uh-cue 2.6s var(--cx-inout) infinite;
}

/* ================================================================== search */
.cx-search { position: relative; z-index: 3; background: var(--cx-paper); padding-block: clamp(46px, 6vw, 84px) clamp(30px, 4vw, 54px); }
.cx .cx-search .search-wrap { margin-top: 0; }
.cx-search__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; margin-bottom: 22px; }
.cx-search__head h2 {
  margin: 0; font-family: var(--cx-serif); font-weight: 500; color: var(--cx-ink);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem); letter-spacing: -.01em;
}
.cx-search__head h2 em { font-family: var(--cx-script); font-size: 1.5em; line-height: .8; color: var(--orange-600); }
.cx-search__head p { margin: 0; color: var(--cx-soft); max-width: 44ch; font-size: .95rem; }
.cx .section--soft { background: var(--cx-paper-2); }
.cx .section--soft::before, .cx .section::before { opacity: .6; }

/* ================================================================= journey */
.cx-journey { position: relative; background: var(--cx-paper); color: var(--cx-ink); }
.cx-journey__screen { position: relative; }
.cx-journey__track { display: flex; flex-direction: column; }
.cx-panel { position: relative; }

/* 1 · concept */
.cx-concept {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: 120px 24px 90px; overflow: hidden;
}
.cx-concept__body { position: relative; z-index: 2; max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.cx-concept__body .cx-label { margin-bottom: 26px; }
.cx-statement {
  margin: 0; color: var(--cx-ink); font-family: var(--cx-serif); font-weight: 500;
  text-transform: uppercase; letter-spacing: -.012em; line-height: 1.02;
  /* the reference sets its statements large enough to own the screen; that
     only works with a short line, so the copy above was trimmed to match */
  font-size: clamp(2.9rem, 10.4vw, 5.4rem);
}
.cx-concept__body .cx-small { max-width: 34ch; margin: clamp(30px, 6vh, 64px) 0 26px; }
.cx-concept__mark { width: 34px; height: auto; }
.cx-concept__img {
  position: absolute; margin: 0; overflow: hidden; z-index: 1;
  box-shadow: 0 30px 60px -30px rgba(0, 35, 82, .45);
}
.cx-concept__img img { width: 100%; height: 100%; object-fit: cover; }
.cx-concept__img--a { right: -2vw; top: 6vh; width: clamp(150px, 17vw, 290px); aspect-ratio: 4 / 5; border-radius: 0 0 999px 999px; }
.cx-concept__img--b { left: -1vw; bottom: 4vh; width: clamp(140px, 15vw, 250px); aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }

/* 2 · big lines + photo */
.cx-intro { display: flex; flex-direction: column; gap: 40px; padding: 60px 24px 80px; overflow: hidden; }
.cx-intro__lines {
  margin: 0; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  color: var(--cx-ink); line-height: .86; letter-spacing: -.005em;
  font-size: clamp(4rem, 17vw, 9rem); display: flex; flex-direction: column;
}
.cx-intro__line { display: block; white-space: nowrap; will-change: transform; }
.cx-intro__line:nth-child(1) { padding-left: 4%; }
.cx-intro__line:nth-child(2) { padding-left: 30%; }
.cx-intro__line:nth-child(3) { padding-left: 12%; }
/* the accent here is a bare ampersand, and the script cuts one as a
   decorative glyph that does not read — keep it in the serif italic */
.cx-intro__line em { font-style: italic; color: var(--orange-600); text-transform: none; }
.cx-intro__aside { color: var(--cx-soft); }
.cx-intro__photo { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; width: min(100%, 420px); }
.cx-intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.cx-intro__text { max-width: 420px; }
.cx-intro__text h3 {
  font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase; color: var(--cx-ink);
  font-size: clamp(1.25rem, 1.9vw, 1.7rem); letter-spacing: .01em; margin: 0 0 12px;
}
.cx-intro__text p { color: var(--cx-soft); font-size: .92rem; line-height: 1.7; margin: 0; }

/* 3 · circle call to action */
.cx-circle {
  --size: clamp(128px, 11vw, 168px);
  position: relative; width: var(--size); height: var(--size); border-radius: 50%;
  display: grid; place-items: center; text-align: center; color: var(--cx-ink);
  font-family: var(--font-head); font-weight: 600; font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; line-height: 1.6;
}
.cx-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cx-circle circle { fill: none; stroke: currentColor; stroke-width: .8; vector-effect: non-scaling-stroke; transform-box: fill-box; }
.cx-circle .cx-circle__base { opacity: .18; }
.cx-circle .cx-circle__arc {
  stroke-dasharray: 26 314; transform-origin: 50% 50%;
  animation: cx-spin 9s linear infinite; transition: stroke-dasharray var(--cx-m) var(--cx-inout);
}
.cx-circle:hover { color: var(--orange-600); }
.cx-circle:hover .cx-circle__arc { stroke-dasharray: 314 314; }
@keyframes cx-spin { to { transform: rotate(360deg); } }
.cx-circle--light { color: #fff; }
.cx-circle--light:hover { color: var(--sand); }
.cx-cta-panel { display: grid; place-items: center; padding: 20px 24px 70px; overflow: hidden; }

/* 4 · route */
.cx-route { padding: 60px 0 90px; overflow: hidden; }
.cx-route__title {
  margin: 0 auto; text-align: center; padding-inline: 24px; color: var(--cx-ink);
  font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase; line-height: .98;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem); letter-spacing: -.005em;
  display: flex; flex-direction: column; align-items: center;
}
.cx-route__title em {
  display: block; font-family: var(--cx-script); text-transform: none; color: var(--orange-600);
  font-size: 1.02em; line-height: .82; margin: -.04em 0 -.06em;
}
.cx-route__scroller {
  margin-top: clamp(40px, 8vh, 90px); overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.cx-route__scroller::-webkit-scrollbar { display: none; }
/* While the vertical scroll drives the map, its own sideways scroll is off. */
.cx-route__scroller.is-scrubbed { overflow-x: hidden; cursor: default; }
.cx-route__scroller.is-scrubbed .cx-route__map { will-change: transform; }
.cx-route__map { position: relative; width: 1180px; height: 230px; margin-inline: 24px; }
.cx-route__line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.cx-route__line path { fill: none; stroke: var(--cx-ink); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cx-route__line.is-ghost path { stroke: var(--cx-hair); stroke-width: 1; stroke-dasharray: 3 7; }
.cx-route__draw { position: absolute; inset: -10px 0; clip-path: inset(0 100% 0 0); transition: clip-path calc(var(--cx-l) * 2.2) var(--cx-out) var(--cx-m); }
.cx-route__draw .cx-route__line { top: 10px; height: calc(100% - 20px); }
.cx-route__map.is-in .cx-route__draw { clip-path: inset(0 0 0 0); }
.cx-pin {
  position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 2px; padding-bottom: 14px; white-space: nowrap;
  opacity: 0; translate: 0 12px; transition: opacity var(--cx-l) var(--cx-out), translate var(--cx-l) var(--cx-out);
  transition-delay: calc(var(--cx-m) + var(--i, 0) * .16s);
}
.cx-route__map.is-in .cx-pin { opacity: 1; translate: 0 0; }
.cx-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -3.5px; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: var(--cx-ink); box-shadow: 0 0 0 5px rgba(254, 157, 56, .22);
}
.cx-pin b { font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cx-ink); }
.cx-pin span { font-size: .66rem; color: var(--cx-soft); }
.cx-pin--home { padding-bottom: 18px; }
.cx-pin--home img { width: 30px; height: auto; margin-bottom: 4px; }
.cx-pin--home::after { width: 9px; height: 9px; margin-left: -4.5px; background: var(--orange-600); }
.cx-route__hint {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0;
  font-family: var(--font-head); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cx-soft);
}
.cx-route__hint svg { width: 14px; height: 14px; }
.cx-route__hint b { font-weight: inherit; }

/* desktop: one long horizontal scene */
@media (min-width: 992px) {
  .cx-journey__screen { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .cx-journey__track { flex-direction: row; height: 100vh; width: max-content; will-change: transform; }
  .cx-panel { height: 100vh; flex: none; }
  .cx-concept { width: 100vw; min-height: 0; padding: 0 12vw; }
  .cx-concept__img--a { right: 3vw; top: 12vh; }
  .cx-concept__img--b { left: 4vw; bottom: 8vh; }

  .cx-intro { width: 118vw; display: block; padding: 0; gap: 0; }
  .cx-intro__lines { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 12.4vw; width: 76vw; z-index: 2; }
  .cx-intro__aside { position: absolute; left: 7vw; top: calc(50% - .5em); z-index: 3; writing-mode: vertical-rl; transform: rotate(180deg); }
  .cx-intro__photo { position: absolute; left: 64vw; top: 7vh; height: 86vh; width: auto; aspect-ratio: 3 / 4; z-index: 1; }
  .cx-intro__text { position: absolute; left: calc(64vw + 64.5vh + 3vw); bottom: 9vh; width: 25vw; max-width: none; }

  .cx-cta-panel { width: 62vw; padding: 0; }
  .cx-cta-panel .cx-circle { position: absolute; left: 14vw; top: 22vh; }
  .cx-cta-panel .cx-cta-panel__note { position: absolute; left: 14vw; bottom: 12vh; width: 26vw; }

  .cx-route { width: 112vw; padding: 13vh 0 0; }
  .cx-route__title { font-size: 5.6vw; }
  .cx-route__scroller { overflow: visible; margin-top: 11vh; cursor: default; }
  .cx-route__map { width: 92vw; height: 26vh; margin-inline: auto; }
  .cx-route__hint { display: none; }
}
.cx-cta-panel__note { margin: 26px 0 0; max-width: 360px; text-align: center; }
@media (min-width: 992px) { .cx-cta-panel__note { text-align: left; } }
.cx-cta-panel__note b {
  display: block; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase; color: var(--cx-ink);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem); margin-bottom: 10px; letter-spacing: .01em;
}

/* =================================================================== vista */
.cx-vista {
  position: relative; height: 140vh; overflow: hidden; isolation: isolate;
  background: var(--cx-paper); color: #fff;
}
.cx-vista__media { position: absolute; inset: 0; z-index: -2; transform-origin: 50% 100%; will-change: transform; }
.cx-vista__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cx-vista__sky {
  position: absolute; left: 0; right: 0; top: 0; height: 44vh; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--cx-paper) 0%, rgba(246, 242, 234, .82) 18%,
              rgba(246, 242, 234, .4) 46%, rgba(246, 242, 234, 0) 100%);
}
:root[data-theme="night"] .cx-vista__sky {
  background: linear-gradient(180deg, var(--cx-paper) 0%, rgba(6, 24, 44, .86) 18%,
              rgba(6, 24, 44, .44) 46%, rgba(6, 24, 44, 0) 100%);
}
/* Haze, not cloud shapes: soft wide bands that lift with the scroll and read as
   atmosphere over the photograph instead of pasted-on cut-outs. */
.cx-vista__clouds { position: absolute; left: -10%; right: -10%; top: 2vh; height: 52vh; z-index: -1; pointer-events: none; will-change: transform; }
.cx-vista__clouds span {
  position: absolute; left: 0; right: 0; top: 0; height: 60%;
  background: radial-gradient(58% 100% at 22% 34%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%),
              radial-gradient(48% 96% at 68% 22%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 74%);
  filter: blur(26px); opacity: .5;
}
.cx-vista__clouds span + span {
  top: 26%; height: 62%; opacity: .3; filter: blur(34px);
  background: radial-gradient(54% 100% at 80% 50%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 76%),
              radial-gradient(44% 90% at 34% 62%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 78%);
}
:root[data-theme="night"] .cx-vista__clouds span { opacity: .16; }
:root[data-theme="night"] .cx-vista__clouds span + span { opacity: .1; }
.cx-vista__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 20, 48, 0) 45%, rgba(0, 20, 48, .55) 100%);
}
.cx-vista__card {
  position: absolute; left: 50%; bottom: 12vh; transform: translateX(-50%);
  width: min(560px, calc(100% - 48px)); text-align: center; will-change: transform, opacity;
}
.cx-vista__card .cx-label { color: #fff; opacity: .85; margin-bottom: 14px; }
.cx-vista__card h2 {
  margin: 0 0 20px; color: #fff; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: .005em;
  text-shadow: 0 4px 30px rgba(0, 16, 40, .4);
}
.cx-underline {
  display: inline-flex; align-items: center; gap: 10px; color: inherit;
  font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--cx-m) var(--cx-inout);
}
.cx-underline:hover { color: inherit; background-size: 0 1px; background-position: 100% 100%; }
.cx-underline svg { width: 14px; height: 14px; }

/* ================================================================= windows */
.cx-windows { position: relative; height: 150vh; background: var(--cx-paper); color: #fff; }
.cx-windows__stage { position: relative; height: 100%; overflow: hidden; isolation: isolate; }
.cx-windows__img { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.cx-windows__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cx-windows__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 48, .35) 0%, rgba(0, 20, 48, 0) 30%, rgba(0, 20, 48, 0) 55%, rgba(0, 20, 48, .7) 100%);
}
.cx-windows__head { position: absolute; left: 0; right: 0; top: 4vh; z-index: 1; display: flex; justify-content: center; transform-origin: 50% 0; }
.cx-giant {
  margin: 0; color: #fff; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  line-height: .9; letter-spacing: -.01em; white-space: nowrap; font-size: 15vw;
}
.cx-windows__covers { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; will-change: transform; }
.cx-windows__cover { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--cx-paper); }
.cx-windows__cover--l { left: 0; }
.cx-windows__cover--r { right: 0; }
.cx-windows__copy { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 9vh; max-width: 640px; }
.cx-windows__copy .cx-quote {
  margin: 0 0 18px; color: #fff; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.1vw, 1.9rem); line-height: 1.16; letter-spacing: .005em;
}
.cx-windows__copy .cx-label { color: rgba(255, 255, 255, .8); }
.cx-windows__cta { position: absolute; z-index: 3; right: 6vw; bottom: 9vh; display: none; }

@media (min-width: 992px) {
  .cx-windows { height: 340vh; }
  .cx-windows__stage { position: sticky; top: 0; height: 100vh; }
  .cx-windows__covers { display: block; }
  .cx-windows__img { inset: 0; }
  .cx-windows__head { top: 2vh; }
  .cx-windows__copy { left: 16vw; bottom: 12vh; }
  .cx-windows__cta { display: block; }
}

/* ================================================================= promise */
.cx-promise {
  position: relative; overflow: hidden; background: var(--cx-paper); color: var(--cx-ink);
  min-height: 100vh; padding: clamp(80px, 12vh, 130px) 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cx-promise__rule { width: 1px; height: clamp(60px, 13vh, 130px); background: var(--cx-ink); opacity: .5; margin: 22px 0 clamp(26px, 5vh, 50px); }
.cx-promise__title {
  position: relative; z-index: 2; margin: 0; color: var(--cx-ink); font-family: var(--cx-serif); font-weight: 500;
  text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.005em;
  display: flex; flex-direction: column; align-items: center;
}
.cx-promise__title sup {
  font-family: var(--font-head); font-weight: 600; font-size: .2em; letter-spacing: .1em;
  vertical-align: top; position: relative; top: .5em; margin-left: .35em; color: var(--orange-600);
}
.cx-promise__note { position: relative; z-index: 2; margin: clamp(30px, 6vh, 56px) auto 0; max-width: 44ch; color: var(--cx-soft); font-size: .92rem; }
.cx-promise__img {
  position: absolute; z-index: 1; margin: 0; overflow: hidden; will-change: transform;
  width: clamp(220px, 24vw, 380px); aspect-ratio: 1; right: -6vw; top: 8vh; transform: rotate(45deg);
  box-shadow: 0 40px 80px -40px rgba(0, 35, 82, .5);
}
.cx-promise__img img { width: 142%; height: 142%; max-width: none; margin: -21%; object-fit: cover; transform: rotate(-45deg); }
.cx-promise__img--b { right: auto; left: -8vw; top: auto; bottom: 6vh; width: clamp(160px, 16vw, 260px); }

/* ========================================================== views + footer */
.cx-views { position: relative; min-height: 170vh; color: #fff; background: var(--deep); isolation: isolate; }
.cx-views__clip { position: absolute; inset: 0; z-index: -1; overflow: hidden; clip-path: inset(0 0 0 0); will-change: clip-path; }
.cx-views__media { position: absolute; inset: -6% 0 -14%; will-change: transform; }
.cx-views__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.cx-views__clip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 48, .5) 0%, rgba(0, 20, 48, .15) 30%, rgba(0, 20, 48, .25) 70%, rgba(0, 20, 48, .6) 100%);
}
.cx-views__inner { position: relative; min-height: 170vh; display: flex; flex-direction: column; align-items: center; padding: 16vh 24px 12vh; text-align: center; }
.cx-views__top { max-width: 52ch; font-family: var(--font-head); font-weight: 600; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.8; color: #fff; margin: 0; }
.cx-views__title { margin-top: 26vh; will-change: transform; }
.cx-views__title h2 {
  margin: 0; color: #fff; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(3rem, 9.4vw, 9.4rem); line-height: .9; letter-spacing: -.005em;
  display: flex; flex-direction: column; align-items: center; text-shadow: 0 8px 50px rgba(0, 16, 40, .35);
}
.cx-views__title .cx-spaced { display: block; margin-top: 26px; font-size: .7rem; }
.cx-views .cx-circle { margin-top: 12vh; }

.cx .site-footer.cx-footer {
  background: var(--deep); min-height: 100vh; display: flex; flex-direction: column;
  position: relative; z-index: 2;
}
.cx .site-footer.cx-footer::before, .cx .site-footer.cx-footer::after { display: none; }
.cx-footer__main {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16vh 24px 6vh; transform-origin: 50% 50%; will-change: transform, opacity;
}
.cx-footer__main > img { width: 44px; height: auto; margin-bottom: 26px; }
.cx-footer__phone {
  display: block; color: #fff; font-family: var(--cx-serif); font-weight: 500; line-height: 1;
  font-size: clamp(2.3rem, 6.4vw, 6.2rem); letter-spacing: -.01em;
}
.cx-footer__phone:hover { color: var(--sand); }
.cx-footer__meta { margin-top: 26px; display: grid; gap: 6px; font-family: var(--font-head); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cx-footer__meta a { color: #fff; }
.cx-footer__meta a:hover { color: var(--orange); }
.cx-footer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cx-footer__bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end;
  padding: 26px clamp(24px, 6vw, 90px) 30px; font-size: .78rem; color: rgba(255, 255, 255, .6);
}
.cx-footer__bottom p { margin: 0; line-height: 1.7; }
.cx-footer__bottom ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.cx-footer__bottom a { color: rgba(255, 255, 255, .8); font-family: var(--font-head); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.cx-footer__bottom a:hover { color: var(--orange); }
.cx-footer__bottom .socials { justify-content: flex-end; }
.cx-footer__bottom .socials a { width: 36px; height: 36px; }
@media (max-width: 760px) {
  .cx-footer__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cx-footer__bottom .socials { justify-content: center; }
}

/* ============================================================ small screens */
@media (max-width: 991px) {
  .cx-hero { height: 190vh; }
  .cx-hero__bg { height: 100vh; }
  .cx-hero__content .cx-label { font-size: .58rem; letter-spacing: .14em; }
  .cx-concept__img--a { width: 34vw; top: 70px; right: -6vw; }
  .cx-concept__img--b { width: 30vw; left: -6vw; bottom: 30px; }
  .cx-concept { padding-top: 45vw; padding-bottom: 42vw; }
  .cx-intro__lines { font-size: 21vw; }
  .cx-intro__photo { align-self: center; }
  .cx-intro__text { align-self: center; text-align: center; }
  .cx-intro__aside { align-self: center; }
  .cx-vista { height: 110vh; }
  .cx-vista__card { bottom: 9vh; }
  .cx-windows__head { top: 10vh; }
  .cx-giant { font-size: 17vw; }
  .cx-promise__img { width: 58vw; right: -20vw; top: 2vh; opacity: .95; }
  .cx-promise__img--b { display: none; }
  .cx-promise__title { font-size: 9.6vw; }
  .cx-views { min-height: 150vh; }
  .cx-views__inner { min-height: 150vh; padding-top: 14vh; }
  .cx-views__title { margin-top: 22vh; }
  .cx-views__title h2 { font-size: 17vw; }
}

/* ============================================================ fallbacks ==== */
@media (prefers-reduced-motion: reduce) {
  .cx-pre { display: none !important; }
  .cx [data-cx], .cx [data-cx] .cx-c, .cx [data-cx] .cx-li, .cx .cx-pin, .cx .cx-route__draw {
    opacity: 1 !important; transform: none !important; clip-path: none !important; translate: none !important; transition: none !important;
  }
  .cx [data-cx="slide"] img { transform: none !important; }
  .cx-hero { height: 100vh; }
  .cx-journey__screen { position: relative !important; overflow-x: auto !important; }
  .cx-windows { height: 110vh; }
  .cx-windows__covers { display: none !important; }
  .cx-circle .cx-circle__arc { animation: none; }
}

/* ==========================================================================
   Second pass — logo-first intro, rotating seal, arch with curved text,
   day/night set-piece, parallax gallery and the zoom-out included list.
   ========================================================================== */

/* ------------------------------------------------- logo-first intro ----- */
.cx-pre__logo {
  width: min(340px, 52vw); height: auto; margin: 0 auto;
  max-height: min(34vh, 330px); object-fit: contain;
  /* Nudged right so it reads as centred: the U carries the weight on the left
     while the plane's trail only thins out to the right. Its own property, so
     the reveal's transform: scale() below is untouched. */
  translate: .5cm 0;
  clip-path: inset(0 0 100% 0); transform: scale(1.06); transform-origin: 50% 100%;
  transition: clip-path calc(var(--cx-l) * 1.2) var(--cx-out), transform calc(var(--cx-l) * 1.4) var(--cx-out);
}
.cx-pre.is-logo .cx-pre__logo { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Short viewports: keep the centred stack clear of the intro furniture. */
@media (max-height: 620px) {
  .cx-pre__logo { width: min(300px, 48vw); max-height: 30vh; }
}
@media (max-height: 440px) {
  .cx-pre__tag, .cx-pre__meta { display: none; }
  .cx-pre__logo { margin-bottom: 0; }
}

/* --------------------------------------------------- rotating seal badge -- */
/* The reference keeps a spinning circular seal pinned top-left through the
   whole page. It lives inside the header so it picks up the on-dark/on-light
   tone the header already switches, and sits just below it. */
.cx-badge {
  position: fixed; left: clamp(8px, 2.2vw, 26px); top: clamp(74px, 9vh, 96px);
  z-index: 60; display: block; width: clamp(78px, 11vw, 108px); aspect-ratio: 1;
  pointer-events: none; opacity: 0; transition: opacity var(--cx-m) var(--cx-out);
}
.is-ready .cx-badge { opacity: 1; }
html.cx-lock .cx-badge { opacity: 0; }
.cx-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: cx-spin 30s linear infinite; }
.cx-badge text {
  fill: currentColor; font-family: var(--font-head); font-weight: 600;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
}
.cx-badge img { position: absolute; left: 50%; top: 50%; width: 38%; height: auto; translate: -50% -50%; }
.cx-badge { color: var(--cx-ink); }
.cx .site-header.on-dark .cx-badge { color: #fff; }
.cx .site-header.on-light .cx-badge { color: var(--cx-ink); }
@media (prefers-reduced-motion: reduce) { .cx-badge svg { animation: none; } }

/* ------------------------------------------------- header logo seal ----- */
.cx-seal { position: relative; display: grid; place-items: center; flex: none; }
.cx-seal img { position: relative; z-index: 1; }
.cx-seal svg { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); }
.cx-seal circle {
  fill: none; stroke: currentColor; stroke-width: 1.1; stroke-dasharray: 2 7;
  opacity: .45; transform-origin: 50% 50%;
}
.cx .site-header.on-dark .cx-seal { color: #fff; }
.cx .site-header.on-light .cx-seal { color: var(--cx-ink); }

/* --------------------------------------------- magnetic + nav labels ---- */
[data-cx-magnet] { will-change: transform; }
.cx .nav-list a .cx-swap { display: inline-block; overflow: hidden; vertical-align: bottom; position: relative; }
.cx .nav-list a .cx-swap i { display: block; font-style: normal; transition: transform var(--cx-m) var(--cx-inout); }
.cx .nav-list a .cx-swap i + i { position: absolute; inset: 0; transform: translateY(105%); }
.cx .nav-list a:hover .cx-swap i { transform: translateY(-105%); }
.cx .nav-list a:hover .cx-swap i + i { transform: translateY(0); }

/* ===================================== arch panel with text on the curve = */
.cx-arc { position: relative; background: var(--cx-paper); padding: 0 0 clamp(56px, 9vh, 120px); overflow: hidden; }
.cx-arc__panel {
  position: relative; width: min(1180px, calc(100% - 2 * clamp(16px, 4vw, 60px))); margin-inline: auto;
  min-height: clamp(430px, 76vh, 780px); border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--sky-100) 0%, var(--cx-paper-2) 100%);
  border: 1px solid var(--cx-hair); border-bottom: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(22px, 4.5vh, 54px) clamp(18px, 4vw, 60px) clamp(36px, 7vh, 80px);
}
:root[data-theme="night"] .cx-arc__panel { background: linear-gradient(180deg, #0C2B4C 0%, var(--cx-paper-2) 100%); }
.cx-arc__curve { width: 100%; max-width: 900px; overflow: visible; }
.cx-arc__curve text {
  fill: var(--cx-ink); font-family: var(--font-head); font-weight: 600;
  font-size: 21px; letter-spacing: .12em; text-transform: uppercase;
}
.cx-arc__mark { width: 38px; height: auto; margin: clamp(10px, 2.4vh, 28px) auto clamp(16px, 3vh, 28px); }
.cx-arc__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 50px);
  width: 100%; max-width: 860px; margin-top: auto; text-align: center;
}
.cx-arc__list > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cx-arc__num {
  font-family: var(--cx-serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  color: var(--orange-600); line-height: 1;
}
.cx-arc__list h3 {
  margin: 0; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  color: var(--cx-ink); font-size: clamp(.95rem, 1.4vw, 1.24rem); letter-spacing: .02em;
}
.cx-arc__list p { margin: 0; font-size: .85rem; line-height: 1.6; color: var(--cx-soft); max-width: 26ch; }
/* An arch-topped photo at the foot of the dome, echoing the panel's own shape.
   assets/img/scenes/arc.jpg shipped with the build for this spot and was never
   wired up. */
.cx-arc__photo {
  margin: clamp(30px, 5.5vh, 60px) auto 0; width: min(430px, 76%);
  aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0, 35, 82, .45);
}
.cx-arc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cx-arc__panel { will-change: translate; }
/* The curve reads at desktop width and nowhere else: its font-size is in
   viewBox units, so on a phone the SVG scales the line down to about 10px, and
   forty characters will not fit the arc legibly at any size that narrow. Below
   the breakpoint the line is set straight instead, the dome is opened out so
   its top is not a dead zone, and the three reasons become a divided list. */
.cx-arc__line { display: none; }
@media (max-width: 760px) {
  .cx-arc { padding-bottom: 0; }
  .cx-arc__panel {
    min-height: 0;
    border-radius: clamp(130px, 44vw, 260px) clamp(130px, 44vw, 260px) 0 0;
    /* start the line below the dome's shoulder: at 34px in only ~209px of the
       331px panel is usable, at 56px it is ~253px */
    padding: clamp(52px, 15vw, 74px) 22px 42px;
  }
  .cx-arc__curve { display: none; }
  .cx-arc__line {
    display: block; margin: 0; max-width: 22ch; text-align: center;
    font-family: var(--font-head); font-weight: 600; font-size: .82rem;
    letter-spacing: .14em; text-transform: uppercase; line-height: 1.7;
    color: var(--cx-ink);
  }
  .cx-arc__chapter { margin: 18px 0 0; }
  .cx-arc__mark { width: 30px; margin: 20px auto 4px; }
  .cx-arc__list { grid-template-columns: 1fr; gap: 0; margin-top: 18px; text-align: left; }
  .cx-arc__list > div {
    display: grid; grid-template-columns: auto 1fr; align-items: baseline;
    column-gap: 14px; row-gap: 4px; padding: 18px 0;
    border-top: 1px solid var(--cx-hair); text-align: left;
  }
  .cx-arc__list > div:first-child { border-top: 0; padding-top: 4px; }
  .cx-arc__list > div:last-child { padding-bottom: 0; }
  .cx-arc__photo { width: 100%; margin-top: 26px; aspect-ratio: 4 / 5; }
  .cx-arc__num { grid-row: span 2; font-size: 1.35rem; }
  .cx-arc__list h3 { font-size: 1rem; }
  .cx-arc__list p { grid-column: 2; max-width: none; }
}

/* ================================================ day / night set-piece == */
.cx-dn { position: relative; height: 260vh; background: var(--deep); color: #fff; }
.cx-dn__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.cx-dn__bg { position: absolute; inset: 0; z-index: -2; }
.cx-dn__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(26px) saturate(1.1); transform: scale(1.14); }
.cx-dn__bg--night { opacity: var(--dn, 0); }
.cx-dn__stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 18, 42, .72) 0%, rgba(0, 18, 42, .5) 45%, rgba(0, 18, 42, .82) 100%);
}
.cx-dn__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(18px, 4vw, 64px);
  width: min(1180px, calc(100% - 40px)); padding-bottom: 60px;
}
.cx-dn__frame {
  position: relative; width: clamp(230px, 32vw, 420px); aspect-ratio: 1;
  border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9);
}
.cx-dn__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx-dn__frame .cx-dn__night { opacity: var(--dn, 0); }
.cx-dn__side { min-width: 0; }
.cx-dn__side--r { text-align: right; }
.cx-dn__label { font-family: var(--font-head); font-weight: 600; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin: 0 0 14px; }
.cx-dn__side h2 {
  margin: 0; color: #fff; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 3rem); line-height: 1; letter-spacing: .005em;
}
.cx-dn__side p { margin: 16px 0 0; font-size: .92rem; line-height: 1.72; color: rgba(255, 255, 255, .82); max-width: 34ch; }
.cx-dn__side--r p { margin-left: auto; }
.cx-dn__swap { position: relative; }
.cx-dn__swap > div { transition: opacity var(--cx-m) var(--cx-out); }
.cx-dn__swap .cx-dn__night-copy { position: absolute; inset: 0; }
.cx-dn__day-copy { opacity: calc(1 - var(--dn, 0)); }
.cx-dn__night-copy { opacity: var(--dn, 0); }
.cx-dn__tabs {
  position: absolute; left: 50%; bottom: clamp(30px, 7vh, 74px); transform: translateX(-50%);
  display: flex; align-items: center; z-index: 3;
}
.cx-dn__tab {
  appearance: none; background: none; border: 0; cursor: pointer; padding: 10px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: .62rem; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); transition: color var(--cx-m) var(--cx-out);
}
.cx-dn__tab[aria-pressed="true"] { color: #fff; }
.cx-dn__tabs i { width: 1px; height: 18px; background: rgba(255, 255, 255, .3); }
.cx-dn__dial {
  position: absolute; left: 50%; bottom: clamp(16px, 3.6vh, 38px); transform: translateX(-50%);
  width: min(260px, 60vw); height: 2px; background: rgba(255, 255, 255, .22); z-index: 3;
}
.cx-dn__dial span {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--dn, 0) * 100%);
  background: linear-gradient(90deg, var(--sand), var(--sky));
}
@media (max-width: 860px) {
  .cx-dn { height: 230vh; }
  .cx-dn__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; padding-bottom: 70px; }
  .cx-dn__side--r { text-align: center; }
  .cx-dn__side--r p { margin-inline: auto; }
  .cx-dn__side p { font-size: .86rem; }
  .cx-dn__frame { width: min(66vw, 320px); order: -1; }
  .cx-dn__swap { min-height: 160px; width: 100%; }
}

/* ====================================================== photo gallery === */
.cx-gallery { position: relative; background: var(--deep); color: #fff; overflow: hidden; padding-block: clamp(66px, 12vh, 150px); }
.cx-gallery__head { text-align: center; padding-inline: 24px; margin-bottom: clamp(30px, 6vh, 70px); }
.cx-gallery__head .cx-label { color: rgba(255, 255, 255, .75); margin-bottom: 16px; }
.cx-gallery__head h2 {
  margin: 0 auto; color: #fff; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: .005em; max-width: 16ch;
}
.cx-gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 26px);
  width: min(1320px, calc(100% - 2 * clamp(16px, 4vw, 48px))); margin-inline: auto; align-items: start;
}
.cx-gallery__col { display: grid; gap: clamp(12px, 1.6vw, 26px); will-change: transform; }
.cx-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 4px; }
.cx-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--cx-out); }
.cx-gallery figure:hover img { transform: scale(1.05); }
.cx-gallery figcaption {
  position: absolute; left: 14px; bottom: 12px; font-family: var(--font-head); font-weight: 600;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 8px rgba(0, 10, 25, .8);
}
.cx-gallery__foot { text-align: center; margin-top: clamp(32px, 6vh, 64px); }
@media (max-width: 760px) {
  .cx-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .cx-gallery__col:nth-child(3) { display: none; }
}

/* ============================================ zoom-out all-included ===== */
.cx-included { position: relative; height: 240vh; background: var(--deep); color: #fff; }
.cx-included__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.cx-included__bg { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.cx-included__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cx-included__stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 18, 42, .62) 0%, rgba(0, 18, 42, .38) 50%, rgba(0, 18, 42, .72) 100%);
}
.cx-included__list {
  text-align: center; will-change: transform, opacity; padding-inline: 24px;
  display: flex; flex-direction: column; align-items: center; gap: clamp(5px, 1vh, 13px);
}
.cx-included__list .cx-label { color: rgba(255, 255, 255, .8); margin-bottom: clamp(12px, 3vh, 30px); }
.cx-included__list span {
  font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase; line-height: 1.05;
  font-size: clamp(1.25rem, 3vw, 2.9rem); letter-spacing: .01em;
  color: rgba(255, 255, 255, .36); transition: color var(--cx-m) var(--cx-out);
}
.cx-included__list span.is-lit { color: #fff; }
@media (max-width: 860px) { .cx-included { height: 200vh; } }

@media (prefers-reduced-motion: reduce) {
  .cx-dn, .cx-included { height: auto; }
  .cx-dn__stage, .cx-included__stage { position: static; height: auto; padding-block: 80px; }
  .cx-included__list span { color: #fff; }
  .cx-pre__logo { clip-path: none !important; transform: none !important; }
  .cx-seal circle { animation: none !important; }
}

/* ==========================================================================
   Third pass — the told story (16%-44%): chapter markers and the corner
   mehndi flower that frames it. Artwork: assets/img/deco/mehndi-flower.svg
   ========================================================================== */

/* ----------------------------------------------- mehndi corner flower --- */
/* One mandala, cropped by the edge it sits on: put its centre on a corner and
   a quarter shows, put it on an edge and a half shows. cinema.js turns it as
   the section crosses the screen. */
.cx-mehndi {
  position: absolute; z-index: 0; display: block; pointer-events: none;
  width: var(--mehndi, clamp(280px, 36vw, 560px)); aspect-ratio: 1;
  opacity: var(--mehndi-op, .3); will-change: rotate;
  background: url("../img/deco/mehndi-flower.svg") center / contain no-repeat;
}
/* a quarter of it — centre on the corner */
.cx-mehndi--corner-tl { top: 0; left: 0; translate: -50% -50%; }
.cx-mehndi--corner-tr { top: 0; right: 0; translate: 50% -50%; }
.cx-mehndi--corner-bl { bottom: 0; left: 0; translate: -50% 50%; }
.cx-mehndi--corner-br { bottom: 0; right: 0; translate: 50% 50%; }
/* half of it — centre on the edge, placed with --mehndi-y */
.cx-mehndi--edge-r { right: 0; top: var(--mehndi-y, 58%); translate: 50% -50%; }
.cx-mehndi--edge-l { left: 0; top: var(--mehndi-y, 58%); translate: -50% -50%; }
/* on the deep sections it sits back so the photo still leads */
.cx-mehndi--quiet { --mehndi-op: .16; }
/* On a dark ground: invert flips the navy linework to white, and the white
   petal fills go dark and sink into the photo, leaving just the lines. */
.cx-mehndi--on-dark { filter: invert(1); --mehndi-op: .26; }
@media (max-width: 760px) {
  .cx-mehndi { width: var(--mehndi-m, clamp(220px, 58vw, 340px)); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-mehndi { rotate: 0deg !important; }
}
}

/* ---------------------------------------------------- chapter markers --- */
.cx-chapter {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-family: var(--font-head); font-weight: 600; font-size: .62rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--cx-soft);
}
.cx-chapter b { color: var(--orange-600); font-weight: 700; letter-spacing: .14em; }
.cx-chapter i { width: 34px; height: 1px; background: currentColor; opacity: .45; font-style: normal; }
.cx-chapter--light { color: rgba(255, 255, 255, .82); }
.cx-chapter--light b { color: var(--sand); }

/* the story beats share one headline voice */
.cx-beat {
  margin: 0; font-family: var(--cx-serif); font-weight: 500; text-transform: uppercase;
  color: var(--cx-ink); letter-spacing: .005em; line-height: 1.08;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
}
.cx-beat em { font-family: var(--cx-script); font-size: 1.35em; line-height: .82; text-transform: none; color: var(--orange-600); }
.cx-vista__card .cx-chapter { justify-content: center; }
.cx-vista__card .cx-chapter,
.cx-vista__card .cx-chapter i { color: rgba(255, 255, 255, .85); }

.cx-arc__chapter { margin-bottom: 6px; }

/* the route beat centres its chapter mark above the headline */
.cx-route__chapter { text-align: center; padding-inline: 24px; margin-bottom: 6px; }
.cx-concept__body .cx-chapter { margin-bottom: 22px; }
.cx-cta-panel__note .cx-chapter { margin-bottom: 12px; }
.cx-intro__text .cx-chapter { margin-bottom: 10px; }
@media (min-width: 992px) {
  .cx-route__chapter { margin-bottom: 14px; }
}

