/* =========================================================
   Qï & GeeQï — Lounge & Speakeasy
   Landing page styles
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --black:        #0c0b09;
  --charcoal:     #16140f;
  --charcoal-2:   #1d1a14;
  --cream:        #e9e3d6;
  --cream-2:      #efeadf;
  --parchment:    #e4ddcd;
  --ink:          #2a2620;
  --ink-soft:     #5b554a;
  --warm-white:   #d9d0bf;
  --warm-muted:   #a89e8b;

  /* Accents */
  --gold:         #c4a25f;
  --gold-bright:  #d8b873;
  --gold-soft:    #b9985a;
  --teal:         #4f817c;
  --teal-soft:    #5d918b;
  --teal-pale:    #aacfc8;
  --teal-deep:    #123430;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--black); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem; left: 0.5rem;
  z-index: 200;
  background: var(--gold);
  color: var(--black);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Reusable type ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--gold { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--ink);
  font-feature-settings: "liga" 1, "dlig" 1;
}
.section-title--light { color: var(--cream); }

.title-sub {
  display: block;
  font-size: 0.4em;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  margin-top: 0.85rem;
}
.title-sub--teal { color: var(--teal); }
.title-sub--gold { color: var(--gold); }

/* ornate filigree divider (replaces the plain rule) */
.rule {
  display: block;
  width: 184px;
  max-width: 70%;
  height: 22px;
  margin: 1.7rem 0;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.rule--teal { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20200%2024%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%234f817c%27%20stroke-width%3D%271%27%20stroke-linecap%3D%27round%27%3E%3Cline%20x1%3D%278%27%20y1%3D%2712%27%20x2%3D%2772%27%20y2%3D%2712%27%2F%3E%3Cline%20x1%3D%27128%27%20y1%3D%2712%27%20x2%3D%27192%27%20y2%3D%2712%27%2F%3E%3Ccircle%20cx%3D%278%27%20cy%3D%2712%27%20r%3D%271.5%27%20fill%3D%27%234f817c%27%2F%3E%3Ccircle%20cx%3D%27192%27%20cy%3D%2712%27%20r%3D%271.5%27%20fill%3D%27%234f817c%27%2F%3E%3Cpath%20d%3D%27M100%202%20L114%2012%20L100%2022%20L86%2012%20Z%27%2F%3E%3Cpath%20d%3D%27M100%207%20L108%2012%20L100%2017%20L92%2012%20Z%27%2F%3E%3Ccircle%20cx%3D%27100%27%20cy%3D%2712%27%20r%3D%271.3%27%20fill%3D%27%234f817c%27%2F%3E%3Ccircle%20cx%3D%2778%27%20cy%3D%2712%27%20r%3D%271.4%27%20fill%3D%27%234f817c%27%2F%3E%3Ccircle%20cx%3D%27122%27%20cy%3D%2712%27%20r%3D%271.4%27%20fill%3D%27%234f817c%27%2F%3E%3Cpath%20d%3D%27M72%2012%20q4%20-5%2010%20-5%27%2F%3E%3Cpath%20d%3D%27M72%2012%20q4%205%2010%205%27%2F%3E%3Cpath%20d%3D%27M128%2012%20q-4%20-5%20-10%20-5%27%2F%3E%3Cpath%20d%3D%27M128%2012%20q-4%205%20-10%205%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
.rule--gold { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20200%2024%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23c4a25f%27%20stroke-width%3D%271%27%20stroke-linecap%3D%27round%27%3E%3Cline%20x1%3D%278%27%20y1%3D%2712%27%20x2%3D%2772%27%20y2%3D%2712%27%2F%3E%3Cline%20x1%3D%27128%27%20y1%3D%2712%27%20x2%3D%27192%27%20y2%3D%2712%27%2F%3E%3Ccircle%20cx%3D%278%27%20cy%3D%2712%27%20r%3D%271.5%27%20fill%3D%27%23c4a25f%27%2F%3E%3Ccircle%20cx%3D%27192%27%20cy%3D%2712%27%20r%3D%271.5%27%20fill%3D%27%23c4a25f%27%2F%3E%3Cpath%20d%3D%27M100%202%20L114%2012%20L100%2022%20L86%2012%20Z%27%2F%3E%3Cpath%20d%3D%27M100%207%20L108%2012%20L100%2017%20L92%2012%20Z%27%2F%3E%3Ccircle%20cx%3D%27100%27%20cy%3D%2712%27%20r%3D%271.3%27%20fill%3D%27%23c4a25f%27%2F%3E%3Ccircle%20cx%3D%2778%27%20cy%3D%2712%27%20r%3D%271.4%27%20fill%3D%27%23c4a25f%27%2F%3E%3Ccircle%20cx%3D%27122%27%20cy%3D%2712%27%20r%3D%271.4%27%20fill%3D%27%23c4a25f%27%2F%3E%3Cpath%20d%3D%27M72%2012%20q4%20-5%2010%20-5%27%2F%3E%3Cpath%20d%3D%27M72%2012%20q4%205%2010%205%27%2F%3E%3Cpath%20d%3D%27M128%2012%20q-4%20-5%20-10%20-5%27%2F%3E%3Cpath%20d%3D%27M128%2012%20q-4%205%20-10%205%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }

.lede {
  font-size: 1.02rem;
  max-width: 32ch;
  color: var(--ink-soft);
}
.lede--light { color: var(--warm-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
/* sliding fill */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill, var(--cream));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); }

.btn-sm { padding: 0.72rem 1.5rem; font-size: 0.68rem; }

.btn-solid {
  --btn-bg: var(--black);
  --btn-fg: var(--cream);
  --btn-fill: var(--gold);
}
.btn-solid:hover { color: var(--black); }

.btn-outline { --btn-bd: currentColor; --btn-fill: var(--cream); }
.btn-outline:hover { color: var(--black); }

.btn-dark { --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-fill: var(--ink); }
.btn-dark:hover { color: var(--cream); }

.btn-gold { --btn-fg: var(--gold); --btn-bd: var(--gold); --btn-fill: var(--gold); }
.btn-gold:hover { color: var(--black); }

.link-gold {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-bottom: 5px;
}
.link-gold::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: transform .5s var(--ease-out);
}
.link-gold:hover::after { transform: scaleX(1); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding-block: 1.6rem;
}
.site-header.is-scrolled {
  background: rgba(12, 11, 9, 0.86);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  padding-block: 0.85rem;
  box-shadow: 0 1px 0 rgba(196, 162, 95, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  transition: height .5s var(--ease), opacity .3s var(--ease);
  filter: drop-shadow(0 1px 10px rgba(0,0,0,0.45));
}
.site-header.is-scrolled .brand-logo { height: 38px; }
.brand:hover .brand-logo { opacity: 0.78; }

.nav-desktop ul {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}
.nav-desktop a {
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-white);
  transition: color .3s var(--ease);
  white-space: nowrap;
  padding-block: 0.3rem;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease-out);
}
.nav-desktop a:hover { color: var(--gold); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }
.nav-desktop a.is-active { color: var(--gold); }

.nav-cta { --btn-fg: var(--gold); --btn-bd: var(--gold); --btn-fill: var(--gold); }
.nav-cta:hover { color: var(--black); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 26px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  background: rgba(12, 11, 9, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(196, 162, 95, 0.14);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.5rem var(--gutter) 2rem;
}
.nav-mobile a {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(217, 208, 191, 0.08);
}
.nav-mobile li:last-child a { border: none; }
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .btn { margin-top: 1rem; justify-content: center; border-bottom: 1px solid var(--gold); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}
.hero-bg { position: absolute; inset: 0; display: flex; }
.hero-img-wrap {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 112%;            /* headroom for parallax translate */
  margin-top: -6%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
  will-change: transform;
}
.hero-img-wrap--right .hero-img { object-position: center; }
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}

/* gradient seam to blend the two identities */
.hero-seam {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 22%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(12,11,9,0) 0%, rgba(12,11,9,0.85) 50%, rgba(12,11,9,0) 100%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 92% 78% at center 46%, rgba(12,11,9,0.06) 0%, rgba(12,11,9,0.34) 72%, rgba(12,11,9,0.62) 100%),
    linear-gradient(to bottom, rgba(12,11,9,0.42) 0%, rgba(12,11,9,0.04) 34%, rgba(12,11,9,0.28) 68%, rgba(12,11,9,0.7) 100%);
}
/* film grain */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-side {
  position: absolute;
  top: 50%;
  font-size: 0.64rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}
.hero-side span { display: inline-block; }
.hero-side--left  { left: clamp(0.85rem, 2.6vw, 2.4rem); color: var(--teal-soft); }
.hero-side--right { right: clamp(0.85rem, 2.6vw, 2.4rem); transform: translateY(-50%) rotate(180deg); color: var(--gold); }

/* brand logos, centered over each image half */
.hero-marks {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  pointer-events: none;
  padding-bottom: clamp(4rem, 13vh, 9.5rem);
}
.hero-mark-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-width: 0;
}
.hero-mark { display: block; filter: drop-shadow(0 4px 36px rgba(0,0,0,0.55)); }
.hero-mark--qi { height: clamp(140px, 26vh, 268px); width: auto; max-width: 82%; }
.hero-mark--geeqi { width: clamp(230px, 32vw, 480px); height: auto; max-width: 88%; }

.hero-content {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(4.5rem, 15vh, 10rem);
  z-index: 3;
  text-align: center;
}

.hero-subtitle {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--warm-white);
  line-height: 2.1;
  text-shadow: 0 2px 24px rgba(12,11,9,0.7);
}
.hero .btn-solid {
  margin-top: 2.6rem;
  --btn-bg: transparent;
  --btn-bd: rgba(233, 227, 214, 0.6);
  --btn-fg: var(--cream);
  --btn-fill: var(--cream);
}
.hero .btn-solid:hover { color: var(--black); }

/* hero load-in stagger */
.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 1.1s var(--ease-out) forwards;
}
.hero-mark--qi.hero-anim     { animation-delay: 0.25s; }
.hero-mark--geeqi.hero-anim  { animation-delay: 0.42s; }
.hero-subtitle.hero-anim { animation-delay: 0.62s; }
.hero .btn-solid.hero-anim { animation-delay: 0.82s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 1.9rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: heroIn 1s var(--ease-out) 1s forwards;
}
.hero-scroll-arrow {
  display: block;
  width: 13px; height: 13px;
  border-right: 1px solid var(--warm-white);
  border-bottom: 1px solid var(--warm-white);
  transform: rotate(45deg);
  animation: bob 2.2s var(--ease) infinite;
}
@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.55; }
  50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--light { background: var(--cream); color: var(--ink); }
.section--dark  { background: var(--black); color: var(--cream); }

/* subtle paper / material texture on alternating sections */
.section--light::before,
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--light::before { opacity: 0.035; mix-blend-mode: multiply; }
.section--dark::before  { opacity: 0.05; mix-blend-mode: overlay; }
.section > * { position: relative; z-index: 1; }

/* hairline separators between adjacent same-tone sections */
.section--dark + .section--dark { border-top: 1px solid rgba(196,162,95,0.1); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 5.5vw, 5rem);
  align-items: center;
}
.split-text { max-width: 30rem; }

/* Galleries */
.gallery {
  display: grid;
  gap: clamp(0.5rem, 1vw, 0.9rem);
}
.gallery--four { grid-template-columns: repeat(4, 1fr); }
.gallery--five { grid-template-columns: repeat(5, 1fr); }

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196, 162, 95, 0);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.96) brightness(0.97);
  transition: transform .9s var(--ease-out), filter .7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1.02); }
.gallery-item:hover::after {
  border-color: rgba(196, 162, 95, 0.55);
  box-shadow: inset 0 0 0 1px rgba(196,162,95,0.15);
}

/* stagger offset between the four/five gallery tiles */
.gallery--four .gallery-item:nth-child(even),
.gallery--five .gallery-item:nth-child(even) { transform: translateY(clamp(0.5rem, 1.6vw, 1.5rem)); }

/* Tag rows */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 2.4rem;
  margin-top: clamp(2.4rem, 5vw, 3.8rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(42, 38, 32, 0.16);
}
.tag-row li {
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tag-row li:not(:last-child)::after {
  content: "◆";
  position: absolute;
  right: -1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.42rem;
  color: var(--teal);
}
.tag-row--gold { border-top-color: rgba(196, 162, 95, 0.2); }
.tag-row--gold li { color: var(--warm-muted); }
.tag-row--gold li:not(:last-child)::after { color: var(--gold); }

/* =========================================================
   TOUR — full-bleed photographic slider (Qï & GeeQï)
   ========================================================= */
.tour {
  position: relative;
  width: 100%;
  height: clamp(640px, 92vh, 920px);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.tour--light { background: var(--cream); color: var(--ink); }
.tour--dark  { background: var(--black); color: var(--cream); }

/* slides */
.tour-track { position: absolute; inset: 0; z-index: 0; }
.tour-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease);
}
.tour-slide.is-active { opacity: 1; visibility: visible; }
/* clean full-bleed cover for both tours (landscape photos) */
.tour-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.tour-slide.is-active img { animation: tourZoom 7.5s var(--ease-out) forwards; }
@keyframes tourZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* legibility scrim — keyed to each identity */
.tour-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tour--light .tour-scrim {
  background:
    linear-gradient(90deg, var(--cream) 0%, rgba(233,227,214,0.94) 24%, rgba(233,227,214,0.5) 48%, rgba(233,227,214,0) 70%),
    linear-gradient(0deg, rgba(233,227,214,0.7) 0%, rgba(233,227,214,0) 24%);
}
.tour--dark .tour-scrim {
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(12,11,9,0.92) 24%, rgba(12,11,9,0.45) 50%, rgba(12,11,9,0) 72%),
    linear-gradient(0deg, rgba(12,11,9,0.8) 0%, rgba(12,11,9,0) 26%);
}

/* identity + caption */
.tour-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 6rem 9rem;
}
.tour-id { max-width: 30rem; }
.tour-id .btn { margin-top: 0.4rem; }

.tour-captions {
  position: relative;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 6rem;
  max-width: 32rem;
}
.tour-cap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  pointer-events: none;
}
.tour-cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tour-cap-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.1;
}
.tour-cap-desc { font-size: 0.98rem; line-height: 1.55; margin-top: 0.5rem; max-width: 34ch; }
.tour--light .tour-cap-desc { color: var(--ink-soft); }
.tour--dark  .tour-cap-desc { color: var(--warm-muted); }

/* bottom nav bar */
.tour-nav {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(1.5rem, 4.5vh, 3rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.tour-counter {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.tour-counter i { width: 22px; height: 1px; background: currentColor; opacity: 0.45; display: inline-block; }
.tour-counter [data-total] { opacity: 0.55; }

.tour-progress {
  flex: 1 1 auto;
  display: flex;
  gap: clamp(0.4rem, 1.2vw, 1rem);
  margin: 0; padding: 0;
  list-style: none;
}
.tour-progress li { flex: 1 1 0; }
.tour-progress button {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.55rem 0;
  background: none;
  border: none;
  text-align: left;
  color: inherit;
}
.tour-bar { position: relative; height: 2px; width: 100%; background: currentColor; opacity: 0.22; overflow: hidden; }
.tour-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
}
.tour--light .tour-fill { background: var(--teal); }
.tour--dark  .tour-fill { background: var(--gold); }
.tour-progress li.is-active .tour-bar { opacity: 0.45; }
.tour-progress em {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tour-progress button:hover em,
.tour-progress li.is-active em { opacity: 0.85; transform: none; }
.tour--light .tour-progress li.is-active em { color: var(--teal); }
.tour--dark  .tour-progress li.is-active em { color: var(--gold); }

.tour-buttons { flex: 0 0 auto; display: flex; gap: 0.55rem; }
.tour-btn {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: 0.75;
  transition: opacity .3s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.tour--light .tour-btn { border-color: rgba(42,38,32,0.4); }
.tour--dark  .tour-btn { border-color: rgba(217,208,191,0.4); }
.tour-btn:hover { opacity: 1; }
.tour--light .tour-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tour--dark  .tour-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.tour-btn .ic-play { display: none; }
.tour.is-userpaused .tour-btn[data-pause] .ic-play { display: block; }
.tour.is-userpaused .tour-btn[data-pause] .ic-pause { display: none; }

/* =========================================================
   HIDDEN DOOR
   ========================================================= */
.hidden-door {
  position: relative;
  color: var(--cream);
  padding-block: clamp(6rem, 15vw, 11rem);
  overflow: hidden;
}
.hidden-door-bg { position: absolute; inset: 0; }
.hidden-door-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.05);
}
.hidden-door-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 48% 46%, rgba(196,162,95,0.22) 0%, rgba(196,162,95,0) 36%),
    linear-gradient(90deg, rgba(12,11,9,0.5) 0%, rgba(12,11,9,0.12) 24%, rgba(12,11,9,0.22) 50%, rgba(12,11,9,0.72) 74%, rgba(12,11,9,0.96) 100%),
    linear-gradient(0deg, rgba(12,11,9,0.5) 0%, rgba(12,11,9,0) 34%);
}
.hidden-door-content {
  position: relative;
  z-index: 2;
  width: min(86%, 27rem);
  margin-left: auto;
  margin-right: clamp(1.5rem, 7vw, 8rem);
  text-align: left;
}
.door-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 3.5rem);
  line-height: 1.08;
  margin: 1.1rem 0 1.3rem;
  color: var(--cream);
}
.door-copy {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--warm-white);
  max-width: 32ch;
  margin-bottom: 1.8rem;
}

/* =========================================================
   04 — JOURNEY
   ========================================================= */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "intro image"
    "cols  image";
  gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.journey-intro   { grid-area: intro; max-width: 28rem; }
.journey-columns { grid-area: cols; display: flex; gap: clamp(1.5rem, 4vw, 3rem); align-items: flex-start; }
.journey-image   { grid-area: image; align-self: stretch; overflow: hidden; }
.journey-image img {
  width: 100%; height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}
.journey-image:hover img { transform: scale(1.07); }

.journey-col-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}
.journey-col-title span {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}
.journey-col-title--teal { color: var(--teal); }
.journey-col-title--teal span { color: var(--warm-muted); }
.journey-col-title--gold { color: var(--gold); }
.journey-col-title--gold span { color: var(--warm-muted); }

.journey-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.journey-col li {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--warm-white);
}
.journey-divider {
  color: var(--gold);
  padding-top: 0.4rem;
  opacity: 0.85;
}

/* =========================================================
   05 — JOIN
   ========================================================= */
.join-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.join-text { max-width: 34rem; }
.join-text .section-title { margin-bottom: 1.1rem; }

.join-form {
  margin: 2rem auto 2.6rem;
  max-width: 24rem;
}
/* Stacked fields: name, then email, then a centered button underneath */
.join-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
.join-form input {
  width: 100%;
  min-width: 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 1.05rem 1.3rem;
  background: transparent;
  border: 1px solid var(--ink-soft);
  color: var(--ink);
  transition: border-color .35s var(--ease);
}
.join-form input::placeholder { color: var(--ink-soft); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; }
.join-form input:focus { outline: none; border-color: var(--gold); }
.join-form .btn {
  --btn-bg: var(--black); --btn-fg: var(--cream); --btn-fill: var(--gold);
  align-self: center;
  min-width: 14rem;
  max-width: 100%;
  margin-top: 0.4rem;
  justify-content: center;
}
.join-form .btn:hover { color: var(--black); }
.join-note {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: -1.4rem 0 2.4rem;
}
.form-message {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0 0.2rem;
  min-height: 1rem;
  text-align: center;
  color: var(--teal);
}
.form-message:not(:empty) { padding-top: 0.7rem; }
.form-message.is-error { color: #a8463a; }

.follow .eyebrow { margin-bottom: 1.1rem; }
.social { display: flex; gap: 0.9rem; }
.social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(42,38,32,0.22);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); transform: translateY(-3px); }

.join-image { margin: 0; }
.join-image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: clamp(9px, 1.2vw, 14px) solid #f1ebdd;
  outline: 1px solid rgba(42, 38, 32, 0.16);
  box-shadow: 0 36px 64px -36px rgba(42, 38, 32, 0.55), 0 4px 14px rgba(42, 38, 32, 0.06);
}
.join-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 1.3s var(--ease-out);
}
.join-image-frame:hover img { transform: scale(1.05); }
.join-image-cap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}
.join-image-cap::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--teal);
  flex: 0 0 auto;
}

/* ----- Join (Opening Soon): full-bleed dark green texture, centered ----- */
.join {
  position: relative;
  overflow: hidden;
  background: #0c130f;
  color: var(--cream);
}
.join-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0c130f;
  background-image:
    linear-gradient(rgba(10, 16, 13, 0.5), rgba(7, 11, 9, 0.82)),
    url("../assets/27_DARK_GREEN_TEXTURE.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.join-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  text-align: center;
}
.join .eyebrow { margin-bottom: 1.1rem; }
.join .rule { margin-inline: auto; background-position: center; }
.join .lede { margin-inline: auto; }
.join .join-form { margin-inline: auto; }
.join .join-form input { color: var(--cream); border-color: rgba(233, 227, 214, 0.4); }
.join .join-form input:focus { border-color: var(--gold); }
.join .join-form input::placeholder { color: var(--warm-muted); }
.join .join-form .btn { --btn-bg: var(--gold); --btn-fg: var(--black); --btn-fill: var(--cream); }
.join .form-message { text-align: center; }
.join .join-note { margin: 1rem 0 0; color: var(--warm-muted); }

/* =========================================================
   THE EXPERIENCE — two worlds converge (image-free finale)
   ========================================================= */
.converge {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--cream);
  border-top: 1px solid rgba(196, 162, 95, 0.16);
  text-align: center;
}
.converge-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 82% at 6% 44%, rgba(138, 190, 182, 0.20), transparent 60%),
    radial-gradient(58% 82% at 94% 56%, rgba(196, 162, 95, 0.20), transparent 62%),
    radial-gradient(135% 130% at 50% 122%, rgba(7, 26, 23, 0) 40%, rgba(6, 22, 20, 0.6) 100%),
    linear-gradient(180deg, #1b423b 0%, #143732 55%, #0d2723 100%);
}
/* faint vertical shaft of light behind the door */
.converge-bg::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 32%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(212, 184, 115, 0.10), transparent 78%);
  pointer-events: none;
}
.converge-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-inline: auto;
}
.converge .eyebrow { margin-bottom: 1.15rem; }
.converge-title { margin-inline: auto; }
.converge-lede {
  margin: 1.5rem auto 0;
  max-width: 34rem;
  color: rgba(233, 227, 214, 0.82);
}

/* two-worlds device */
.converge-worlds {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, 4.25rem);
  padding-block: clamp(1.9rem, 5vw, 3rem);
  border-top: 1px solid rgba(233, 227, 214, 0.14);
  border-bottom: 1px solid rgba(233, 227, 214, 0.14);
}
.world {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.world-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1;
}
.world-name--qi { color: var(--cream); }
.world-name--geeqi { color: var(--gold); }
.world-role {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm-white);
}
.world-traits {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.world-traits--teal { color: var(--teal-pale); }
.world-traits--gold { color: var(--gold-bright); }

/* central keyhole door */
.converge-door {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(96px, 18vw, 168px);
  align-self: stretch;
}
.converge-key {
  position: relative;
  z-index: 1;
  color: var(--gold);
  display: inline-flex;
  animation: keyGlow 4.5s var(--ease) infinite;
}
@keyframes keyGlow {
  0%, 100% { filter: drop-shadow(0 0 9px rgba(196, 162, 95, 0.28)); }
  50%      { filter: drop-shadow(0 0 20px rgba(196, 162, 95, 0.55)); }
}
.converge-line {
  position: absolute;
  top: 50%;
  height: 1px;
  width: clamp(24px, 5vw, 60px);
  pointer-events: none;
}
.converge-line--left  { right: calc(50% + 24px); background: linear-gradient(90deg, transparent, var(--teal-pale)); }
.converge-line--right { left:  calc(50% + 24px); background: linear-gradient(90deg, var(--gold-bright), transparent); }
.converge-door-label {
  position: absolute;
  top: calc(50% + 42px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.55rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--warm-muted);
}

.converge-cue { margin-top: clamp(2.5rem, 6vw, 4rem); }

@media (max-width: 720px) {
  .converge-lede { max-width: 22rem; }
  .converge-worlds {
    grid-template-columns: 1fr;
    gap: clamp(1.9rem, 8vw, 2.75rem);
  }
  .converge-door {
    min-height: 104px;
    padding-block: 1.6rem;
  }
  .converge-line {
    width: 1px;
    height: clamp(22px, 7vw, 36px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .converge-line--left  { top: auto; bottom: calc(50% + 26px); background: linear-gradient(180deg, transparent, var(--teal-pale)); }
  .converge-line--right { top: calc(50% + 26px); background: linear-gradient(180deg, var(--gold-bright), transparent); }
  .converge-door-label { top: auto; bottom: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .converge-key { animation: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--black);
  color: var(--warm-white);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  border-top: 1px solid rgba(196, 162, 95, 0.15);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  padding-bottom: 2.6rem;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.2rem);
}
.footer-logo-qi { height: 68px; width: auto; display: block; }
.footer-logo-geeqi { height: 30px; width: auto; display: block; }
.footer-logos-div { width: 1px; height: 58px; background: rgba(196, 162, 95, 0.4); }
.footer-tagline {
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--warm-muted);
  margin-top: -0.4rem;
}

.footer-social { display: flex; gap: 0.85rem; margin-top: 0.4rem; }
.footer-social[hidden] { display: none !important; }
.footer-social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(217, 208, 191, 0.22);
  border-radius: 50%;
  color: var(--warm-white);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(217, 208, 191, 0.12);
}
.footer-bottom p { font-size: 0.74rem; color: var(--warm-muted); letter-spacing: 0.04em; }
.footer-legal { display: flex; gap: 1.8rem; }
.footer-legal a { font-size: 0.74rem; color: var(--warm-muted); transition: color .3s var(--ease); }
.footer-legal a:hover { color: var(--cream); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* staggered children (galleries) */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal-stagger.is-visible > * { opacity: 1; }
/* keep the even-tile vertical offset after reveal */
.gallery.reveal-stagger.is-visible .gallery-item:nth-child(even) { transform: translateY(clamp(0.5rem, 1.6vw, 1.5rem)); }
.gallery.reveal-stagger.is-visible .gallery-item:nth-child(odd)  { transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav-desktop, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .split {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .split-text { max-width: none; }

  .journey-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "cols"
      "image";
  }
  .journey-intro { max-width: none; }
  .journey-image img { min-height: 260px; }

  .join-grid { grid-template-columns: 1fr; }
  .join-image { order: -1; max-width: 440px; }

  .hidden-door-content {
    width: 100%;
    margin: 0;
    padding-inline: var(--gutter);
  }
  .hidden-door-overlay {
    background: linear-gradient(180deg, rgba(12,11,9,0.55) 0%, rgba(12,11,9,0.82) 100%);
  }

  .footer-inner { grid-template-columns: 1fr; }
  .site-footer .btn { justify-self: start; }
}

/* ----- Tour: tablet & down ----- */
@media (max-width: 860px) {
  .tour { height: auto; min-height: 0; flex-direction: column; align-items: stretch; }
  .tour-track { position: relative; width: 100%; height: 56vh; min-height: 340px; z-index: 0; }
  .tour-scrim { display: none; }
  .tour-content {
    position: relative;
    background: inherit;
    padding-block: clamp(2.5rem, 7vw, 4rem) 6.5rem;
  }
  .tour-id { max-width: none; }
  .tour-captions { margin-top: 1.6rem; min-height: 0; }
  .tour-cap { position: relative; }
  .tour-cap:not(.is-active) { display: none; }
  .tour-nav { bottom: 1.8rem; }
  .tour-progress em { display: none; }
}

@media (max-width: 680px) {
  .hero-bg { flex-direction: column; }
  .hero-img-wrap { width: 100%; height: 50%; }
  .hero-seam { display: none; }
  .hero-side { display: none; }

  /* stack the marks to match the stacked images */
  .hero-marks {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    padding-bottom: 0;
  }
  .hero-mark-cell--left { align-items: center; }
  .hero-mark-cell--right { align-items: flex-start; padding-top: 2rem; }
  .hero-mark--qi { height: clamp(104px, 18vh, 172px); }
  .hero-mark--geeqi { width: clamp(190px, 60vw, 310px); }
  .hero-content { bottom: 2.6rem; }
  .hero-content .hero-subtitle { padding: 0 1rem; }

  .tour-track { height: 48vh; }
  .tour-counter { display: none; }
  .tour-nav { gap: 1rem; }
  .tour-btn { width: 42px; height: 42px; }

  .gallery--four { grid-template-columns: repeat(2, 1fr); }
  .gallery--five { grid-template-columns: repeat(2, 1fr); }
  /* even-tile offset reads as misalignment in a 2-col grid */
  .gallery--four .gallery-item:nth-child(even),
  .gallery--five .gallery-item:nth-child(even),
  .gallery.reveal-stagger.is-visible .gallery-item:nth-child(even) { transform: none; }

  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }

  .tag-row { gap: 0.6rem 2rem; }
}

/* Signup form fields are stacked at all sizes; let the button fill on mobile */
@media (max-width: 480px) {
  .join-form .btn { min-width: 0; width: 100%; }
}

@media (max-width: 420px) {
  .hero-title { gap: 0.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-anim, .hero-scroll { opacity: 1 !important; transform: none !important; animation: none; }
  .hero-img { animation: none; transform: none; }
  .hero-scroll-arrow { animation: none; }
  .tour-slide.is-active img { animation: none; transform: none; }
  .tour-fill { display: none; }
  .gallery-item img, .journey-image img, .join-image img { transition: none; }
  .gallery--four .gallery-item:nth-child(even),
  .gallery--five .gallery-item:nth-child(even) { transform: none; }
}

/* =========================================================
   LEGAL PAGES (privacy / terms)
   ========================================================= */
.legal-page { background: var(--black); color: var(--warm-white); min-height: 100vh; }

.legal-header {
  padding-block: 1.4rem;
  border-bottom: 1px solid rgba(196, 162, 95, 0.15);
}
.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.legal-header .brand-logo {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 1px 10px rgba(0,0,0,0.45));
  transition: opacity .3s var(--ease);
}
.legal-header .brand:hover .brand-logo { opacity: 0.78; }
.legal-back {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-white);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.legal-back:hover { color: var(--gold); }

.legal { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.legal-inner { max-width: 760px; margin-inline: auto; }
.legal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 3.4rem);
  line-height: 1.05;
  color: var(--cream);
  margin-top: 0.85rem;
}
.legal-updated {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--warm-muted);
  margin-top: 0.2rem;
}
.legal .rule { margin: 1.5rem 0 0; }

.legal-body { margin-top: 2.4rem; }
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: var(--cream);
  letter-spacing: 0.01em;
  margin-top: 2.6rem;
  margin-bottom: 0.6rem;
}
.legal-body h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}
.legal-body p,
.legal-body li {
  font-size: 0.97rem;
  color: var(--warm-white);
  line-height: 1.8;
}
.legal-body p { margin-bottom: 1rem; }
.legal-body ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1.15rem;
}
.legal-body li { margin-bottom: 0.4rem; }
.legal-body strong { color: var(--cream); font-weight: 500; }
.legal-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s var(--ease);
}
.legal-body a:hover { color: var(--gold-bright); }
.legal-body address {
  font-style: normal;
  color: var(--warm-white);
  line-height: 1.8;
}
