/* Custom Overrides & Animations */

/* Custom Text Shadow for Hero Typography */
.text-shadow-xl {
  text-shadow: 0 10px 40px rgba(0,0,0,0.7), 0 2px 10px rgba(0,0,0,0.4);
}

/* Section Scroll Triggers */
.section-content {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.is-active .section-content {
  opacity: 1;
  transform: translateY(0);
}

/* Force key hero typography colors in production too (fallback if runtime utility CSS is delayed). */
.subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.main-title {
  color: #ffffff;
}

.main-title + div {
  color: rgba(255, 255, 255, 0.52);
}

/* Hide scrollbar for a cleaner look */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* Smooth globally */
html, body {
  scroll-behavior: auto; /* Lenis handles smoothing */
  overscroll-behavior: none;
}

/* Noise overlay utility */
.noise-overlay {
  pointer-events: none;
  z-index: 50;
  opacity: 0.04;
  mix-blend-mode: overlay;
}

.loader-logo-image {
  display: block;
  width: clamp(110px, 16vw, 170px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.42));
}

/* Destinations: silky crossfade backgrounds (GSAP-driven) */
.hover-bg,
.hover-item {
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: none;
}

.hover-bg,
.gallery-slide img,
.yj-scene-bg,
.yj-floating-tiles img {
  filter: none;
}

.glass-action {
  position: relative;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  padding: 0 17px 0 19px;
  border: 1px solid rgba(232, 246, 255, 0.24);
  border-radius: 999px;
  color: rgba(246, 250, 255, 0.92);
  background:
    linear-gradient(145deg, rgba(245, 250, 255, 0.18), rgba(115, 142, 166, 0.08)),
    rgba(10, 22, 34, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 48px rgba(0, 0, 0, 0.24);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(10px) saturate(1.18);
  -webkit-backdrop-filter: blur(10px) saturate(1.18);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.glass-action span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: rgba(7, 19, 29, 0.92);
  background: rgba(235, 247, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1;
}

.glass-action:hover,
.glass-action:focus-visible {
  border-color: rgba(240, 250, 255, 0.48);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(134, 170, 196, 0.12)),
    rgba(9, 22, 34, 0.32);
  outline: none;
  transform: translateY(-2px);
}

.glass-action-nav {
  min-height: 42px;
}

.logo-image-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-image {
  display: block;
  width: clamp(112px, 13vw, 190px);
  height: auto;
  max-height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.glass-action-small {
  min-height: 38px;
  padding: 0 12px 0 15px;
  font-size: 10px;
}

/* Journey Prelude: replaces the plain quote block with a richer transition */
.journey-prelude {
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: clamp(86px, 10vw, 150px) clamp(20px, 6vw, 92px);
  color: #f7efe2;
  background:
    radial-gradient(circle at 78% 16%, rgba(210, 164, 98, 0.2), transparent 26vw),
    radial-gradient(circle at 14% 74%, rgba(74, 93, 78, 0.22), transparent 24vw),
    linear-gradient(180deg, #1a150b 0%, #151008 36%, #070707 100%);
}

.journey-prelude::before {
  position: absolute;
  inset: 0 0 auto;
  height: 26vh;
  background: linear-gradient(180deg, rgba(26, 21, 11, 0.92), rgba(26, 21, 11, 0));
  content: "";
  pointer-events: none;
}

.journey-prelude::after {
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0), #050505);
  content: "";
  pointer-events: none;
}

.prelude-bg-word {
  position: absolute;
  right: -5vw;
  bottom: 4vh;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 239, 226, 0.06);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(120px, 23vw, 360px);
  font-style: italic;
  line-height: 0.75;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.prelude-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.prelude-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  color: #d2a462;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.prelude-copy h2 {
  max-width: 850px;
  margin: 0;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(56px, 8vw, 128px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.prelude-copy p {
  max-width: 560px;
  margin: 32px 0 0;
  color: rgba(247, 239, 226, 0.62);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 300;
  line-height: 1.95;
}

.prelude-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(247, 239, 226, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(0, 0, 0, 0.18);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.prelude-line {
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: clamp(43px, 5vw, 61px);
  width: 1px;
  background: linear-gradient(180deg, #d2a462, rgba(210, 164, 98, 0.1));
}

.prelude-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 18px;
  align-items: baseline;
}

.prelude-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(210, 164, 98, 0.32);
  border-radius: 50%;
  color: #d2a462;
  background: rgba(26, 21, 11, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.prelude-step strong {
  color: rgba(247, 239, 226, 0.92);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
}

.prelude-step em {
  grid-column: 2;
  margin-top: 6px;
  color: rgba(247, 239, 226, 0.48);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-bridge-bg {
  overflow: hidden;
  background:
    linear-gradient(180deg, #050505 0%, #080808 72%, #050505 100%);
}

.video-bridge-bg::after {
  position: absolute;
  right: -8%;
  bottom: -1px;
  left: -8%;
  z-index: 8;
  height: clamp(34px, 5vw, 76px);
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.55));
  content: "";
  pointer-events: none;
}

@media (max-width: 900px) {
  .prelude-inner {
    grid-template-columns: 1fr;
  }
}

/* Keyword Storm: scroll-driven marquee + falling words */
.keyword-cloud-section {
  min-height: 100dvh;
  color: #f7efe2;
  background:
    radial-gradient(circle at 76% 12%, rgba(210, 164, 98, 0.16), transparent 24vw),
    radial-gradient(circle at 20% 68%, rgba(83, 214, 209, 0.1), transparent 26vw),
    linear-gradient(180deg, #050505 0%, #0a0908 30%, #061019 72%, #03080d 100%);
  isolation: isolate;
}

.keyword-cloud-section::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 40svh;
  background: linear-gradient(180deg, #050505, rgba(5, 5, 5, 0));
  content: "";
  pointer-events: none;
}

.keyword-stage {
  position: relative;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(72px, 8vw, 118px) clamp(20px, 6vw, 92px);
}

.keyword-stage::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  height: 16svh;
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(3, 8, 13, 0.72) 0 34%, rgba(3, 8, 13, 0.34) 54%, transparent 78%),
    linear-gradient(180deg, transparent, rgba(3, 8, 13, 0.42));
  content: "";
  pointer-events: none;
}

.keyword-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.keyword-backdrop span {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 239, 226, 0.055);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(96px, 18vw, 280px);
  font-style: italic;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.keyword-backdrop span:nth-child(1) { top: 7%; left: -4vw; }
.keyword-backdrop span:nth-child(2) { top: 36%; right: -6vw; }
.keyword-backdrop span:nth-child(3) { bottom: 2%; left: 18vw; }

.keyword-heading {
  position: relative;
  z-index: 5;
  max-width: 720px;
  pointer-events: none;
}

.keyword-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: #d2a462;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.keyword-heading h3 {
  margin: 0;
  color: #f7efe2;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(48px, 8vw, 118px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.keyword-heading p {
  max-width: 480px;
  margin: 26px 0 0;
  color: rgba(247, 239, 226, 0.58);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
}

.keyword-marquee-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.keyword-lane {
  position: absolute;
  left: 50%;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  width: max-content;
  will-change: transform, opacity;
}

.keyword-lane-a { top: 24%; }
.keyword-lane-b { top: 46%; }
.keyword-lane-c { top: 65%; }

.keyword-fall-field {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.kw-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(247, 239, 226, 0.13);
  border-radius: 999px;
  color: rgba(247, 239, 226, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(3, 8, 13, 0.32);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  font-family: "Outfit", sans-serif;
  font-size: clamp(14px, 1.45vw, 20px);
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  backdrop-filter: none;
}

.kw-feature {
  min-height: 64px;
  padding: 0 30px;
  color: #1a150b;
  background: linear-gradient(135deg, #fff0c5, #d2a462);
  border-color: rgba(255, 240, 197, 0.42);
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: clamp(30px, 3.8vw, 54px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.kw-drop {
  position: absolute;
  top: 18%;
  left: var(--drop-x, 50%);
  opacity: 0;
  transform: translate3d(-50%, -40px, 0) rotate(var(--drop-r, 0deg));
  will-change: transform, opacity, filter;
}

.keyword-abyss {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 5;
  height: 16svh;
  background:
    radial-gradient(ellipse 110% 80% at 50% 100%, rgba(3, 8, 13, 0.78) 0 34%, rgba(3, 8, 13, 0.32) 58%, transparent 80%),
    radial-gradient(ellipse at 50% 0%, rgba(210, 164, 98, 0.08), transparent 36%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .keyword-stage {
    padding-top: 92px;
  }

  .keyword-heading {
    max-width: 560px;
  }

  .keyword-lane-a { top: 28%; }
  .keyword-lane-b { top: 54%; }
  .keyword-lane-c { top: 74%; }
}

/* === Yejiao Footer Project (scoped with yj- prefix) === */
.yejiao-footer {
  --yj-ink: #f7efe2;
  --yj-muted: rgba(247, 239, 226, 0.68);
  --yj-deep: #03080d;
  --yj-teal: #53d6d1;
  --yj-gold: #e7a84e;
  --yj-ember: #f26f45;
  --yj-serif: Georgia, "Times New Roman", serif;
  --yj-sans: Arial, Helvetica, sans-serif;
  color: var(--yj-ink);
  background:
    radial-gradient(circle at 70% 18%, rgba(83, 214, 209, 0.16), transparent 28vw),
    radial-gradient(circle at 18% 76%, rgba(231, 168, 78, 0.13), transparent 26vw),
    #03080d;
}

.yj-scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.yj-curve {
  position: absolute;
  right: -8%;
  left: -8%;
  z-index: 2;
  height: clamp(46px, 7vw, 108px);
  pointer-events: none;
}

.yj-curve-top {
  top: -1px;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(3, 8, 13, 0.72) 0 22%, rgba(3, 8, 13, 0.32) 52%, transparent 82%);
}

.yj-curve-bottom {
  bottom: -1px;
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(3, 8, 13, 0.72) 0 22%, rgba(3, 8, 13, 0.3) 52%, transparent 82%);
}

.yj-scene-bg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}

.yj-scene::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 46%, rgba(83, 214, 209, 0.12), transparent 23vw),
    linear-gradient(180deg, rgba(3, 8, 13, 0.18), rgba(3, 8, 13, 0.8));
  content: "";
  pointer-events: none;
}

.yj-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.yj-hero {
  display: grid;
  align-items: end;
  padding: clamp(112px, 13vw, 178px) clamp(20px, 6vw, 92px) clamp(52px, 7vw, 92px);
}

.yj-hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 8, 13, 0.74), transparent 52%, rgba(3, 8, 13, 0.44)),
    radial-gradient(circle at 70% 35%, transparent 0 18vw, rgba(3, 8, 13, 0.35) 18.2vw);
  content: "";
}

.yj-hero-ghost {
  position: absolute;
  top: 13%;
  right: 5%;
  z-index: 4;
  width: min(42vw, 620px);
  aspect-ratio: 1.12;
  border-radius: 46% 54% 50% 50% / 42% 48% 52% 58%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.08) contrast(1.01);
  mix-blend-mode: screen;
  box-shadow: 0 35px 120px rgba(83, 214, 209, 0.18);
  animation: yjFloatMorph 9s ease-in-out infinite alternate;
}

.yj-hero-content { position: relative; z-index: 6; }

.yj-eyebrow {
  margin: 0 0 16px;
  color: var(--yj-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.yj-h1 {
  display: grid;
  margin: 0 0 22px;
  font-family: var(--yj-serif);
  font-size: clamp(76px, 18vw, 252px);
  line-height: 0.72;
  text-transform: uppercase;
  letter-spacing: -0.065em;
  color: var(--yj-ink);
}
.yj-h1 span:nth-child(2) {
  padding-left: 0.46em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 239, 226, 0.72);
}

.yj-h2 {
  margin-bottom: 22px;
  max-width: 920px;
  font-family: var(--yj-serif);
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  color: var(--yj-ink);
}

.yj-hero-copy,
.yj-passage-panel p,
.yj-finale-copy p {
  max-width: 540px;
  color: var(--yj-muted);
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.8;
}

.yj-kinetic-title {
  position: absolute;
  right: -8vw;
  bottom: 12vh;
  z-index: 5;
  color: rgba(247, 239, 226, 0.12);
  font-family: var(--yj-serif);
  font-size: clamp(54px, 9vw, 132px);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  animation: yjMarquee 22s linear infinite;
}

.yj-passage {
  display: grid;
  grid-template-columns: minmax(0, 580px) 1fr;
  align-items: center;
  padding: clamp(82px, 9vw, 130px) clamp(20px, 6vw, 92px);
}

.yj-passage::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 8, 13, 0.34) 0%, rgba(3, 8, 13, 0.1) 44%, rgba(3, 8, 13, 0.08) 70%, rgba(3, 8, 13, 0.26) 100%),
    radial-gradient(circle at 62% 48%, rgba(242, 111, 69, 0.1), transparent 30vw);
  content: "";
}
.yj-passage .yj-scene-bg { object-position: 52% 20%; }

.yj-passage-panel {
  position: relative;
  z-index: 6;
  width: 100%;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid rgba(247, 239, 226, 0.14);
  border-radius: 42px;
  background: rgba(3, 8, 13, 0.22);
  backdrop-filter: blur(14px);
}
.yj-passage-panel .yj-h2 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 239, 226, 0.9);
}

.yj-floating-tiles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.yj-floating-tiles img {
  position: absolute;
  width: clamp(120px, 18vw, 270px);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}
.yj-floating-tiles img:nth-child(1) { top: 16%; right: 9%; transform: rotate(7deg); }
.yj-floating-tiles img:nth-child(2) { right: 25%; bottom: 12%; transform: rotate(-9deg); }
.yj-floating-tiles img:nth-child(3) { top: 54%; right: 4%; transform: rotate(4deg); }

.yj-finale {
  display: grid;
  min-height: 112svh;
  grid-template-rows: minmax(58svh, 1fr) auto;
  align-items: center;
  justify-items: center;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 6vw, 92px) 0;
  text-align: center;
}
.yj-finale-bg {
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center bottom;
  transform: none;
  will-change: auto;
  filter: brightness(1.08) contrast(1.02) saturate(1.02);
}
.yj-finale::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 28%, rgba(83, 214, 209, 0.04), transparent 24vw),
    linear-gradient(180deg, rgba(3, 8, 13, 0), rgba(3, 8, 13, 0.08) 48%, rgba(3, 8, 13, 0.26));
  content: "";
}

.yj-footer-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: saturate(1.35) contrast(1.08);
}

.yj-finale-copy {
  position: relative;
  z-index: 6;
  display: grid;
  justify-items: center;
  max-width: 980px;
}
.yj-finale-copy p { margin-right: auto; margin-left: auto; }

.yj-finale-orbit {
  position: absolute;
  z-index: 5;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(247, 239, 226, 0.22);
  border-radius: 50%;
  animation: yjSpin 28s linear infinite;
}
.yj-finale-orbit::before,
.yj-finale-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}
.yj-finale-orbit::before {
  top: 9%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--yj-gold);
  box-shadow: 0 0 34px var(--yj-gold);
}
.yj-finale-orbit::after {
  inset: 14%;
  border: 1px solid rgba(83, 214, 209, 0.22);
}

.yj-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border: 1px solid rgba(232, 246, 255, 0.24);
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  color: rgba(246, 250, 255, 0.92);
  background:
    linear-gradient(145deg, rgba(245, 250, 255, 0.18), rgba(115, 142, 166, 0.08)),
    rgba(10, 22, 34, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 58px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  backdrop-filter: blur(10px) saturate(1.18);
  -webkit-backdrop-filter: blur(10px) saturate(1.18);
}
.yj-btn-primary span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: rgba(7, 19, 29, 0.92);
  background: rgba(235, 247, 255, 0.78);
}

.yj-site-footer {
  position: relative;
  z-index: 7;
  width: calc(100% + clamp(40px, 12vw, 184px));
  overflow: hidden;
  margin-right: calc(clamp(20px, 6vw, 92px) * -1);
  margin-left: calc(clamp(20px, 6vw, 92px) * -1);
  padding: clamp(42px, 6vw, 86px) clamp(20px, 6vw, 92px) 32px;
  color: var(--yj-ink);
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.02), rgba(2, 5, 10, 0.2) 28%, rgba(2, 5, 10, 0.38)),
    radial-gradient(circle at 80% 20%, rgba(83, 214, 209, 0.08), transparent 24vw);
}
.yj-site-footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 239, 226, 0.36), transparent);
  content: "";
}

.yj-footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(42px, 6vw, 80px);
}
.yj-brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #190f05;
  background: linear-gradient(145deg, var(--yj-gold), #fff0c5);
}
.yj-footer-title {
  margin: 0;
  font-family: var(--yj-serif);
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.82;
  letter-spacing: -0.065em;
  color: var(--yj-ink);
}

.yj-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 5vw, 82px);
  margin-bottom: 54px;
}
.yj-footer-grid div { display: grid; gap: 12px; }
.yj-footer-grid strong {
  margin-bottom: 10px;
  color: var(--yj-teal);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.yj-footer-grid a,
.yj-footer-grid span {
  color: rgba(247, 239, 226, 0.62);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}
.yj-footer-note {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 239, 226, 0.1);
  color: rgba(247, 239, 226, 0.62);
  font-size: 14px;
}

.yj-contact-card {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 24px clamp(18px, 3vw, 30px);
  border: 1px solid rgba(247, 239, 226, 0.14);
  border-radius: 16px;
  background: rgba(5, 11, 18, 0.34);
}

.yj-contact-name {
  margin: 0;
  color: rgba(247, 239, 226, 0.96);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.yj-contact-heading {
  margin: 0 0 2px;
  color: var(--yj-teal);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.yj-contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: start;
}

.yj-contact-label {
  color: rgba(247, 239, 226, 0.58);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 4px;
}

.yj-contact-value {
  margin: 0;
  color: rgba(247, 239, 226, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.yj-contact-row + .yj-contact-row {
  padding-top: 8px;
  border-top: 1px dashed rgba(247, 239, 226, 0.14);
}

.yj-reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.98);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.yj-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes yjMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes yjFloatMorph {
  from { transform: translate3d(0, 0, 0) rotate(-4deg); border-radius: 46% 54% 50% 50% / 42% 48% 52% 58%; }
  to { transform: translate3d(-3vw, 3vh, 0) rotate(5deg); border-radius: 58% 42% 46% 54% / 50% 57% 43% 50%; }
}
@keyframes yjSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .yj-hero-ghost { top: 18%; right: -18%; width: 68vw; opacity: 0.42; }
  .yj-h1 { font-size: clamp(72px, 23vw, 136px); }
  .yj-floating-tiles {
    position: relative;
    display: flex;
    gap: 14px;
    margin-top: 36px;
    overflow-x: auto;
    padding-bottom: 8px;
    pointer-events: auto;
  }
  .yj-floating-tiles img { position: relative; top: auto; right: auto; bottom: auto; min-width: 46vw; transform: none; }
  .yj-passage { grid-template-columns: 1fr; align-items: end; min-height: 120svh; }
  .yj-passage .yj-scene-bg { object-position: 58% center; }
  .yj-passage-panel .yj-h2 { color: var(--yj-ink); -webkit-text-stroke: 0; }
  .yj-footer-grid { grid-template-columns: 1fr; }
  .yj-footer-brand { flex-direction: column; align-items: flex-start; }
  .yj-contact-row { grid-template-columns: 1fr; gap: 4px; }
  .yj-contact-label { padding-top: 0; }
}

/* Video Showcase sections */
.video-section {
  position: relative;
}
.showcase-video {
  will-change: transform;
}

/* 360 Immersive Panorama Viewer Overlay */
.immersive-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  isolation: isolate;
}

.immersive-viewer[hidden] { display: none; }

#panorama {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  background: #050505;
  opacity: 0;
  transition: opacity 350ms ease;
}
#panorama.ready { opacity: 1; }
#panorama:active { cursor: grabbing; }

.viewer-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.85);
  transform: scale(1.08);
  opacity: 1;
  transition: opacity 600ms ease;
  pointer-events: none;
}
.viewer-cover.fade-out {
  opacity: 0;
}

.viewer-exit {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  min-width: 84px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}
.viewer-exit:hover,
.viewer-exit:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(247, 241, 230, 0.78);
  background: #050505;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition:
    opacity 400ms ease,
    visibility 400ms ease;
}
.viewer-loading.hidden {
  visibility: hidden;
  opacity: 0;
}

html.pano-active,
html.pano-active body {
  overflow: hidden !important;
}

@media (max-width: 680px) {
  .viewer-meta { left: 16px; bottom: 18px; max-width: 80vw; }
  .viewer-exit { top: 14px; right: 14px; }
}

.loader-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(210, 164, 98, 0.25);
  border-top-color: #d2a462;
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
