/* ============================================================
   THE GARDEN · SCOTTSDALE — obsidian / bone / champagne
   ============================================================ */
:root {
  --obsidian: #0B0908;
  --coal: #141110;
  --graphite: #1D1917;
  --bone: #EFE7D8;
  --bone-2: #E6DCC8;
  --champagne: #C6A15B;
  --champagne-hi: #DFC08A;
  --text-dark: rgba(239, 231, 216, 0.92);
  --text-dim: rgba(239, 231, 216, 0.60);
  --ink: #171310;
  --ink-dim: rgba(23, 19, 16, 0.66);
  --line-d: rgba(239, 231, 216, 0.14);
  --line-l: rgba(23, 19, 16, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.75;
  background: var(--obsidian); color: var(--text-dark);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--champagne); color: var(--obsidian); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 6vw; }
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 26px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h2 { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: 0.002em; }
h3 { font-size: 26px; }
.lede { font-size: 17.5px; line-height: 1.8; color: var(--text-dim); max-width: 60ch; }
.light .lede { color: var(--ink-dim); }
i, em { font-family: var(--serif); font-style: italic; }

/* ---------- The Gate ---------- */
#gate {
  position: fixed; inset: 0; z-index: 200; overflow: hidden;
  background:
    radial-gradient(1100px 640px at 50% 118%, rgba(62, 74, 66, 0.34), transparent 62%),
    radial-gradient(900px 560px at 50% 40%, rgba(198, 161, 91, 0.07), transparent 60%),
    linear-gradient(180deg, #070606 0%, #0C0A09 55%, #0A0908 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1s var(--ease), transform 1s var(--ease), visibility 1s;
}
#gate.leaving { opacity: 0; transform: translateY(-5vh) scale(1.015); }
#gate.gone { visibility: hidden; pointer-events: none; }
#petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
.gate-inner { position: relative; z-index: 3; text-align: center; width: min(92vw, 880px); }
.g-eyebrow {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.52em; text-transform: uppercase; color: var(--champagne);
  opacity: 0; animation: gfade 1.2s 0.2s var(--ease) forwards;
}
.g-title { font-size: clamp(30px, 4.6vw, 52px); color: var(--bone); margin-top: 18px; font-weight: 500; }
.g-title span { display: inline-block; overflow: hidden; vertical-align: bottom; }
.g-title .gt1, .g-title .gt2 { opacity: 0; transform: translateY(24px); animation: gup 1.1s var(--ease) forwards; }
.g-title .gt1 { animation-delay: 0.45s; }
.g-title .gt2 { animation-delay: 0.7s; }
.g-title i { color: var(--champagne-hi); }
.g-stage { position: relative; margin: 1vh auto 0; max-width: 760px; }
#gsvg { width: 100%; height: auto; display: block; }
#gsvg .dr {
  stroke: rgba(239, 231, 216, 0.88); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: gdraw 1.7s var(--ease) forwards; animation-delay: var(--d, 0s);
}
#gsvg .dr.thin { stroke-width: 1.1; stroke: rgba(239, 231, 216, 0.55); }
#gsvg .dr.scrib { stroke-width: 1.3; stroke: rgba(239, 231, 216, 0.7); }
#gsvg .fp { animation: fpFloat 7s ease-in-out infinite; animation-delay: var(--fd, 2s); }
@keyframes gdraw { to { stroke-dashoffset: 0; } }
@keyframes gfade { to { opacity: 1; } }
@keyframes gup { to { opacity: 1; transform: none; } }
@keyframes fpFloat {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  12% { opacity: 0.85; }
  60% { opacity: 0.5; }
  100% { opacity: 0; transform: translate(-26px, 60px) rotate(-50deg); }
}
#doorBtn {
  position: absolute; left: 38.5%; top: 22%; width: 23%; height: 62%;
  background: transparent; border: 0; cursor: pointer; z-index: 5; border-radius: 6px;
}
#doorBtn:focus-visible { outline: 2px solid var(--champagne-hi); outline-offset: 6px; }
#doorFill, #glowE { transition: opacity 0.7s var(--ease); }
#gate.hov #doorFill { opacity: 0.96; }
#gate.hov #glowE { opacity: 1; }
#gate.hov #gdoor .dr { stroke: var(--champagne-hi); }
#gate.hov .g-hint { color: var(--champagne-hi); letter-spacing: 0.44em; }
#gdoor { transition: filter 0.7s var(--ease); }
#gate.hov #gdoor { filter: drop-shadow(0 0 26px rgba(198, 161, 91, 0.45)); }
#gate.opening #doorFill { opacity: 1; animation: doorFlash 0.55s var(--ease); }
#gate.opening #gdoor { animation: doorPulse 0.6s var(--ease); }
@keyframes doorFlash { 0% { filter: brightness(1); } 35% { filter: brightness(1.9); } 100% { filter: brightness(1.15); } }
@keyframes doorPulse { 0% { transform: scale(1); } 30% { transform: scale(1.025); } 100% { transform: scale(1); } }
#gdoor, #gsvg .washes, #gsvg .lanterns { transform-origin: 500px 380px; }
.g-ask {
  margin-top: 2vh; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 25px);
  color: var(--bone); opacity: 0; animation: gfade 1.2s 1.7s var(--ease) forwards;
}
.g-hint {
  margin-top: 10px; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--text-dim);
  opacity: 0; animation: gfade 1.2s 2.1s var(--ease) forwards, hintPulse 3.2s 3s ease-in-out infinite;
  transition: color 0.5s, letter-spacing 0.5s;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* ---------- Grain ---------- */
#grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 95; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-1.2%, 0.8%); }
  50% { transform: translate(0.9%, -1.1%); } 75% { transform: translate(-0.7%, -0.6%); } 100% { transform: translate(0, 0); }
}

/* ---------- Custom cursor ---------- */
#cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; }
#cursor-ring {
  position: fixed; width: 34px; height: 34px; border: 1px solid rgba(198, 161, 91, 0.65); border-radius: 50%;
  transform: translate(-50%, -50%); transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s, opacity 0.3s;
}
#cursor-dot {
  position: fixed; width: 4px; height: 4px; background: var(--champagne-hi); border-radius: 50%;
  transform: translate(-50%, -50%);
}
body.link-hover #cursor-ring { width: 58px; height: 58px; border-color: var(--champagne-hi); }
@media (hover: none), (pointer: coarse) { #cursor { display: none; } }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* ---------- Image curtain reveal ---------- */
.space .ph, .day .m-img { position: relative; }
.space .ph::after, .day .m-img::after {
  content: ""; position: absolute; inset: 0; background: var(--obsidian);
  transform: scaleX(1); transform-origin: 100% 50%; transition: transform 1.1s var(--ease) 0.15s;
}
.day .m-img::after { background: var(--bone); }
.space.rv.in .ph::after, .day .moment.rv.in .m-img::after { transform: scaleX(0); }

/* ---------- Word reveal ---------- */
h2 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
h2 .wi { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--wi) * 60ms); }
h2.words-in .wi { transform: translateY(0); }

/* ---------- Scroll progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120;
  background: var(--champagne); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 4vw; transition: background 0.5s var(--ease), padding 0.5s var(--ease), border 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(11, 9, 8, 0.88); backdrop-filter: blur(14px); padding: 15px 4vw; border-bottom-color: var(--line-d); }
.wordmark { font-family: var(--serif); font-size: 21px; letter-spacing: 0.2em; color: var(--bone); white-space: nowrap; z-index: 112; }
.wordmark .dot { color: var(--champagne); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); transition: color 0.3s; white-space: nowrap; cursor: pointer;
}
.nav-links a:hover { color: var(--champagne-hi); }
.nav-links a.cta {
  color: var(--obsidian); background: var(--champagne); padding: 12px 26px; border-radius: 2px;
  transition: background 0.3s, transform 0.3s;
}
.nav-links a.cta:hover { background: var(--champagne-hi); transform: translateY(-1px); color: var(--obsidian); }
.burger { display: none; background: none; border: 0; z-index: 112; padding: 8px; }
.burger span { display: block; width: 26px; height: 1.5px; background: var(--bone); margin: 7px 0; transition: 0.35s var(--ease); }
.nav.open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 19px 42px; border-radius: 2px; border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  cursor: pointer; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--champagne-hi); outline-offset: 3px; }
.btn-fill { background: var(--champagne); color: var(--obsidian); }
.btn-fill:hover { background: var(--champagne-hi); }
.btn-line { border-color: rgba(239, 231, 216, 0.45); color: var(--bone); }
.btn-line:hover { border-color: var(--champagne); color: var(--champagne-hi); }
.btn-ink { border-color: var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--bone); }
.btn .arr { font-family: var(--serif); font-size: 16px; line-height: 0; transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.hero .media { position: absolute; inset: 0; }
.hero .media video, .hero .media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 22s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,9,8,0.55) 0%, rgba(11,9,8,0.12) 38%, rgba(11,9,8,0.82) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 6vw 11vh; }
.hero h1 {
  font-size: clamp(36px, 6vw, 96px); color: var(--bone);
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}
.hero h1 .ln { display: block; overflow: hidden; white-space: nowrap; }
.hero h1 .ln span { display: block; transform: translateY(110%); animation: lnUp 1.1s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) span { animation-delay: 0.14s; }
.hero h1 .ln:nth-child(3) span { animation-delay: 0.28s; }
.hero h1 .ln i { color: var(--champagne-hi); }
@keyframes lnUp { to { transform: translateY(0); } }
.hero .sub {
  margin-top: 26px; font-size: 17px; max-width: 54ch; color: rgba(239,231,216,0.86);
  opacity: 0; animation: fadeUp 1.1s 0.55s var(--ease) forwards;
}
.hero .ctas { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1.1s 0.75s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-strip {
  position: relative; z-index: 2; display: flex; gap: 0; border-top: 1px solid var(--line-d);
  margin: 7vh 6vw 0; padding-top: 22px; padding-bottom: 4vh;
  opacity: 0; animation: fadeUp 1.1s 0.95s var(--ease) forwards;
}
.hero-strip { gap: 30px; }
.hero-strip div { flex: 1; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.hero-strip div + div { text-align: center; }
.hero-strip div:last-child { text-align: right; }

@media (max-height: 860px) {
  .hero h1 { font-size: clamp(32px, 5.2vw, 72px); }
  .hero .sub { margin-top: 18px; font-size: 15.5px; }
  .hero .ctas { margin-top: 26px; }
  .hero-strip { margin-top: 4vh; padding-bottom: 3vh; }
  .hero-inner { padding-bottom: 7vh; }
}

/* ---------- Sections ---------- */
section { padding: 130px 0; position: relative; }
.light { background: var(--bone); color: var(--ink); }
.light .eyebrow { color: #96700F; }
.coal { background: var(--coal); }
.section-head { max-width: 780px; margin-bottom: 70px; }

/* reveal */
.rv { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: 0.1s; } .rv[data-d="2"] { transition-delay: 0.2s; }
.rv[data-d="3"] { transition-delay: 0.3s; } .rv[data-d="4"] { transition-delay: 0.4s; }

/* ---------- The Standard ---------- */
.standard h2 { max-width: 18ch; }
.tenets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); margin-top: 76px; }
.tenet { background: var(--obsidian); padding: 46px 38px; transition: background 0.5s var(--ease); }
.tenet:hover { background: var(--graphite); }
.tenet .no { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--champagne); }
.tenet h3 { margin: 18px 0 12px; color: var(--bone); }
.tenet p { font-size: 14.5px; color: var(--text-dim); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 90px; padding-top: 56px; border-top: 1px solid var(--line-d); }
.counter .num {
  font-family: var(--serif); font-size: clamp(44px, 4.6vw, 66px); color: var(--bone); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.counter .num em { color: var(--champagne); font-size: 0.6em; }
.counter .lbl { margin-top: 12px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Marquee ---------- */
.marquee { padding: 34px 0; background: var(--coal); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; }
.marquee .track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.marquee span {
  font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--text-dim);
  padding: 0 34px; white-space: nowrap;
}
.marquee span::after { content: "·"; color: var(--champagne); margin-left: 64px; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ---------- Full-bleed band ---------- */
.band { height: 88vh; min-height: 520px; overflow: hidden; position: relative; padding: 0; }
.band .px { position: absolute; inset: -12% 0; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,8,0.35), transparent 40%, rgba(11,9,8,0.75)); }
.band .caption {
  position: absolute; left: 6vw; bottom: 8vh; z-index: 2; color: var(--bone); max-width: 24ch;
  font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2;
}
.band .caption .tag { display: block; font-family: var(--sans); font-style: normal; font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--champagne); margin-bottom: 16px; }

/* ---------- Day timeline (light) ---------- */
.day .moment {
  display: grid; grid-template-columns: 110px 1fr 1.05fr; gap: 4.5vw; align-items: center;
  padding: 52px 0; border-top: 1px solid var(--line-l);
}
.day .moment:last-of-type { border-bottom: 1px solid var(--line-l); }
.day .time { font-family: var(--serif); font-style: italic; font-size: 22px; color: #96700F; white-space: nowrap; }
.day .moment h3 { margin-bottom: 10px; color: var(--ink); }
.day .moment p { font-size: 15px; color: var(--ink-dim); max-width: 50ch; }
.day .m-img { overflow: hidden; }
.day .m-img img { width: 100%; aspect-ratio: 16/9.5; object-fit: cover; transition: transform 1.2s var(--ease); }
.day .moment:hover .m-img img { transform: scale(1.045); }

/* ---------- Spaces editorial grid ---------- */
.spaces .grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3.2vw 2.4vw; }
.space { position: relative; overflow: hidden; grid-column: span 12; cursor: pointer; }
.space.lg { grid-column: span 7; }
.space.sm { grid-column: span 5; }
.space .ph { overflow: hidden; position: relative; }
.space img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; transition: transform 1.3s var(--ease), filter 1.3s var(--ease); filter: saturate(0.92); }
.space.sm img { aspect-ratio: 4/4.4; }
.space:hover img { transform: scale(1.06); filter: saturate(1.05); }
.space .txt { padding: 22px 2px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.space h3 { color: var(--bone); font-size: 24px; }
.space .txt p { font-size: 13.5px; color: var(--text-dim); max-width: 40ch; text-align: right; }
.space .idx { position: absolute; top: 16px; left: 18px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(239,231,216,0.85); mix-blend-mode: screen; }

/* ---------- CTA bands ---------- */
.cta-band { text-align: center; padding: 150px 0; }
.cta-band h2 { max-width: 22ch; margin: 0 auto; color: var(--bone); }
.cta-band h2 i { color: var(--champagne-hi); }
.cta-band .lede { margin: 26px auto 0; }
.cta-band .btn { margin-top: 46px; }
.cta-band.invest { background:
  radial-gradient(1200px 500px at 50% 120%, rgba(198,161,91,0.16), transparent 60%), var(--obsidian); }

/* ---------- Process (light) ---------- */
.process .steps { counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 0 5vw; }
.step { padding: 40px 0; border-top: 1px solid var(--line-l); }
.step .no { font-family: var(--serif); font-style: italic; font-size: 18px; color: #96700F; }
.step h3 { margin: 14px 0 10px; color: var(--ink); }
.step p { font-size: 14.5px; color: var(--ink-dim); }
.process .side { position: relative; overflow: hidden; }
.process .side img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.8; }
.process .split2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 5vw; align-items: stretch; }
.process .note { margin-top: 44px; font-size: 13px; color: var(--ink-dim); max-width: 60ch; }

/* ---------- Community ---------- */
.clubs { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 54px; }
.club {
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--text-dim);
  border: 1px solid var(--line-d); border-radius: 100px; padding: 12px 28px;
  transition: all 0.4s var(--ease); cursor: default;
}
.club:hover { border-color: var(--champagne); color: var(--champagne-hi); transform: translateY(-2px); }

/* ---------- Forms ---------- */
.founding { position: relative; overflow: hidden; background: var(--coal); }
.founding .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.founding .wrap { position: relative; z-index: 2; }
.founding-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 6vw; align-items: start; }
.founding ul { list-style: none; margin-top: 34px; }
.founding li { padding: 16px 0 16px 40px; position: relative; border-top: 1px solid var(--line-d); font-size: 15px; color: var(--text-dark); }
.founding li::before { content: "—"; position: absolute; left: 0; color: var(--champagne); }

form { display: grid; gap: 18px; }
.card-form { background: rgba(239,231,216,0.035); border: 1px solid var(--line-d); padding: 46px 40px; backdrop-filter: blur(6px); }
.light .card-form { background: #FFFDF8; border: 1px solid var(--line-l); box-shadow: 0 30px 80px rgba(23,19,16,0.10); }
.form-title { font-family: var(--serif); font-size: 30px; color: var(--bone); margin-bottom: 4px; }
.light .form-title { color: var(--ink); }
label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; display: block; margin-bottom: 8px; color: inherit; opacity: 0.72; }
input, textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; font-weight: 300;
  padding: 15px 16px; border-radius: 2px; border: 1px solid rgba(150,140,120,0.4);
  background: rgba(255,253,248,0.97); color: var(--ink); outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, textarea:focus { border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(198,161,91,0.18); }
form .btn { width: 100%; justify-content: center; border: 0; }
.form-note { font-size: 12.5px; opacity: 0.6; line-height: 1.6; }
.hidden { display: none !important; }

.apply-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 6vw; align-items: center; }
.apply-grid .imgbox { overflow: hidden; }
.apply-grid .imgbox img { width: 100%; aspect-ratio: 4/5.3; object-fit: cover; }

.investors { padding: 130px 0; background: var(--coal); border-top: 1px solid var(--line-d); }
.investors .inner { max-width: 720px; margin: 0 auto; text-align: center; }
.investors form { text-align: left; margin-top: 48px; }

/* ---------- Footer ---------- */
footer { background: var(--obsidian); border-top: 1px solid var(--line-d); padding: 84px 0 44px; font-size: 14px; color: var(--text-dim); }
.foot-grid { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; margin-bottom: 56px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; transition: color 0.3s; }
.foot-links a:hover { color: var(--champagne-hi); }
.smallprint { border-top: 1px solid var(--line-d); padding-top: 30px; font-size: 11.5px; line-height: 1.75; color: rgba(239,231,216,0.38); }

/* ---------- Thank you ---------- */
.ty { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.ty img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ty .veil { position: absolute; inset: 0; background: rgba(11,9,8,0.66); }
.ty .inner { position: relative; z-index: 2; padding: 0 6vw; }
.ty h1 { font-family: var(--serif); font-size: clamp(42px, 6vw, 78px); color: var(--bone); }
.ty p { margin: 22px auto 40px; max-width: 46ch; color: var(--text-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 88px 0; }
  .wordmark { font-size: 15px; letter-spacing: 0.14em; }
  .tenets, .counters { grid-template-columns: 1fr; }
  .counters { gap: 30px; }
  .founding-grid, .apply-grid, .process .split2 { grid-template-columns: 1fr; gap: 48px; }
  .process .steps { grid-template-columns: 1fr; }
  .day .moment { grid-template-columns: 1fr; gap: 18px; padding: 42px 0; }
  .spaces .grid { grid-template-columns: 1fr; gap: 48px; }
  .space.lg, .space.sm { grid-column: span 1; }
  .space.sm img { aspect-ratio: 16/10.5; }
  .space .txt { flex-direction: column; align-items: flex-start; gap: 6px; }
  .space .txt p { text-align: left; }
  .apply-grid .imgbox { display: none; }
  .hero-strip { display: none; }
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--obsidian); flex-direction: column;
    justify-content: center; gap: 34px; transform: translateY(-102%); transition: transform 0.6s var(--ease);
    z-index: 110;
  }
  .nav.open .nav-links { transform: none; }
  .nav-links a { font-family: var(--serif); font-size: 26px; text-transform: none; letter-spacing: 0.04em; font-weight: 400; color: var(--bone); }
  .nav-links a.cta { font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .ln span { transform: none; }
  .hero .sub, .hero .ctas, .hero-strip { opacity: 1; }
  #grain, #cursor { display: none; }
  .g-eyebrow, .g-title .gt1, .g-title .gt2, .g-ask, .g-hint { opacity: 1; transform: none; }
  h2 .wi { transform: none; }
  .space .ph::after, .day .m-img::after { display: none; }
}
@media (max-width: 700px) {
  .g-stage { max-width: 94vw; }
  .g-title { font-size: clamp(24px, 7vw, 34px); }
}

/* ---------- Golden dust field ---------- */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 94; pointer-events: none; }

/* ---------- Amenities: pinned horizontal journey ---------- */
.amen { padding: 130px 0 0; background: var(--coal); }
.amen-head { padding-bottom: 70px; }
.amen-outer { position: relative; }
.amen-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.amen-track { display: flex; height: 100%; will-change: transform; }
.aslide { position: relative; flex: 0 0 88vw; height: 100%; overflow: hidden; }
.aimg, .aimg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.aimg img { object-fit: cover; will-change: transform; transform: scale(1.12); }
.aveil { position: absolute; inset: 0; background: linear-gradient(75deg, rgba(11,9,8,0.78) 0%, rgba(11,9,8,0.25) 46%, rgba(11,9,8,0.12) 100%); }
.anum {
  position: absolute; top: 4vh; right: 3.2vw; z-index: 2;
  font-family: var(--serif); font-size: clamp(110px, 24vh, 230px); line-height: 1; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1.5px rgba(198, 161, 91, 0.55);
  will-change: transform; user-select: none;
}
.atxt { position: absolute; left: 5vw; bottom: 9vh; z-index: 2; max-width: 46ch; will-change: transform, opacity; }
.atxt h3 { font-size: clamp(30px, 3.6vw, 52px); color: var(--bone); }
.atxt p { margin-top: 14px; font-size: 15.5px; line-height: 1.75; color: rgba(239, 231, 216, 0.82); }
.amen-ui { position: absolute; left: 5vw; right: 5vw; bottom: 3.4vh; z-index: 5; display: flex; align-items: center; gap: 26px; }
.arail { flex: 1; height: 1px; background: rgba(239, 231, 216, 0.18); position: relative; }
#arailFill { position: absolute; left: 0; top: -0.5px; height: 2px; width: 100%; background: var(--champagne); transform: scaleX(0); transform-origin: 0 50%; }
.acount { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--champagne-hi); min-width: 74px; text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .amen-outer { height: auto !important; }
  .amen-pin { position: static; height: auto; overflow: visible; }
  .amen-track { flex-direction: column; transform: none !important; }
  .aslide { flex: none; width: 100%; height: 74vh; }
  .aimg img { transform: none !important; }
  .anum { font-size: 96px; top: 3vh; }
  .atxt { max-width: 88vw; bottom: 6vh; }
  .amen-ui { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .amen-outer { height: auto !important; }
  .amen-pin { position: static; height: auto; overflow: visible; }
  .amen-track { flex-direction: column; transform: none !important; }
  .aslide { flex: none; width: 100%; height: 74vh; }
  #dust { display: none; }
}
