/* =============================================================
   THE PRESERVE AT TEMPLE TERRACE — Design System
   Palette: pine-teal / brand teal / aqua glow on cool paper
   Type: Fraunces (display) · Inter (body) · Space Grotesk (label)
   ============================================================= */

/* ---------- TOKENS ---------- */
:root {
  --pine:      #0E3B3A;
  --pine-900:  #0A2C2B;
  --teal:      #12716B;
  --teal-600:  #16857D;
  --aqua:      #43C6BC;
  --aqua-glow: #7FE3DA;

  --paper:     #F6F5F1;
  --paper-2:   #EFEEE8;
  --white:     #FFFFFF;
  --ink:       #132420;
  --sage:      #6C7C77;
  --line:      #DCDBD2;

  --grad-teal: linear-gradient(120deg, #12716B 0%, #1A8C84 45%, #43C6BC 100%);
  --grad-pine: linear-gradient(160deg, #0E3B3A 0%, #0A2C2B 100%);

  --shadow-sm: 0 2px 10px rgba(14,59,58,.06);
  --shadow-md: 0 18px 40px -18px rgba(14,59,58,.28);
  --shadow-lg: 0 40px 80px -30px rgba(14,59,58,.34);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 44px;

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Inter", system-ui, sans-serif;
  --ff-label: "Space Grotesk", "Inter", sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.19,1,.22,1);
}

/* ---------- RESET ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 10001; background: var(--pine); color: #fff; padding: 12px 20px; border-radius: 10px; font-family: var(--ff-label); font-size: .85rem; transition: top .3s; }
.skip-link:focus { top: 16px; }

/* ---------- TYPE ---------- */
h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.04; letter-spacing: -.015em; color: var(--pine); }
.display { font-size: clamp(2.9rem, 8vw, 6.4rem); }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
p  { color: #33413d; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #3a4844; line-height: 1.7; }

.eyebrow {
  font-family: var(--ff-label);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--teal); opacity: .6; }

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.section--pine { background: var(--grad-pine); color: var(--paper); }
.section--pine h2,.section--pine h3 { color: var(--white); }
.section--pine p { color: #c8d6d2; }
.section--pine .eyebrow { color: var(--aqua-glow); }
.section--pine .eyebrow::before { background: var(--aqua-glow); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 16px; }

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; mix-blend-mode: difference; }
.cursor-dot { width: 7px; height: 7px; background: var(--aqua-glow); transform: translate(-50%,-50%); }
.cursor-ring { width: 40px; height: 40px; border: 1.5px solid rgba(127,227,218,.8); transform: translate(-50%,-50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s; }
.cursor-ring.grow { width: 74px; height: 74px; background: rgba(127,227,218,.12); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor-dot,.cursor-ring { display: none; } }

/* ---------- SCROLL PROGRESS ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 900; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad-teal); box-shadow: 0 0 14px rgba(67,198,188,.7); }

/* ---------- PRELOADER ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--pine-900); display: grid; place-items: center; }
.preloader__inner { text-align: center; }
.preloader__logo { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 26px; }
.preloader__logo svg { width: 54px; height: 54px; }
.preloader__word { font-family: var(--ff-display); color: var(--paper); font-size: clamp(1.6rem, 4vw, 2.4rem); overflow: hidden; }
.preloader__word span { display: inline-block; }
.preloader__bar { width: min(280px, 60vw); height: 2px; background: rgba(255,255,255,.15); margin: 22px auto 0; overflow: hidden; border-radius: 2px; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--grad-teal); }
.preloader__pct { font-family: var(--ff-label); color: var(--aqua-glow); font-size: .8rem; letter-spacing: .2em; margin-top: 14px; }

/* ---------- HEADER / NAV ---------- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 800; padding-block: 18px; transition: padding .4s var(--ease), background .4s; }
.header.scrolled { padding-block: 10px; background: rgba(246,245,241,.72); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(220,219,210,.7); }
.header.on-dark:not(.scrolled) .nav__links a,
.header.on-dark:not(.scrolled) .brand__name { color: var(--white); }
.header.on-dark:not(.scrolled) .brand__name small { color: rgba(255,255,255,.65); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--ff-display); font-size: 1.12rem; line-height: 1.05; color: var(--pine); font-weight: 500; }
.brand__name small { display: block; font-family: var(--ff-label); font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: .93rem; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--teal); transition: width .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--pine); position: relative; transition: .3s; }
.nav__toggle span::before,.nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--pine); transition: .3s; }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.header.on-dark:not(.scrolled) .nav__toggle span, .header.on-dark:not(.scrolled) .nav__toggle span::before, .header.on-dark:not(.scrolled) .nav__toggle span::after { background: #fff; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 850; background: var(--grad-pine); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); transform: translateX(100%); transition: transform .55s var(--ease); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--ff-display); font-size: clamp(1.7rem, 7vw, 2.6rem); color: var(--paper); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu__close { position: absolute; top: 22px; right: var(--pad); width: 48px; height: 48px; color: #fff; font-size: 1.6rem; }
.mobile-menu__meta { margin-top: 34px; color: var(--aqua-glow); font-family: var(--ff-label); font-size: .82rem; letter-spacing: .12em; }

/* ---------- BUTTONS ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-label); font-weight: 600; font-size: .9rem; letter-spacing: .02em; padding: 15px 28px; border-radius: 100px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, color .3s; will-change: transform; }
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--primary { background: var(--grad-teal); color: #fff; box-shadow: 0 12px 30px -10px rgba(18,113,107,.6); }
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(18,113,107,.7); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--dark { background: var(--pine); color: #fff; }
.btn--outline { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn__ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: translate(-50%,-50%) scale(0); pointer-events: none; animation: ripple .6s var(--ease); }
@keyframes ripple { to { transform: translate(-50%,-50%) scale(14); opacity: 0; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; padding-bottom: clamp(84px, 11vh, 132px); }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero__overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(10,44,43,.55) 0%, rgba(10,44,43,.2) 40%, rgba(10,44,43,.85) 100%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 4px 4px; }
.hero__content { max-width: 900px; }
.hero__eyebrow { color: var(--aqua-glow); margin-bottom: 22px; }
.hero__eyebrow::before { background: var(--aqua-glow); }
.hero h1 { color: #fff; font-size: clamp(2.9rem, 8.5vw, 6.6rem); line-height: .98; margin-bottom: 24px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .char { display: inline-block; }
.hero__lead { max-width: 560px; color: #e6efec; font-size: clamp(1.05rem, 1.5vw, 1.28rem); margin-bottom: 34px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
/* Hero stats — sits astride the banner's bottom edge (half over the photo, half on the page) */
.hero-stats { position: relative; z-index: 5; margin-top: clamp(-58px, -6vh, -46px); margin-bottom: clamp(28px, 5vw, 56px); }
.hero__glass { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 18px); max-width: 760px; margin-inline: auto; }
.glass-stat { text-align: center; background: rgba(10,44,43,.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(127,227,218,.28); border-radius: var(--r-md); padding: 24px 20px; box-shadow: 0 26px 50px -24px rgba(10,44,43,.65); }
.glass-stat b { font-family: var(--ff-display); font-size: clamp(1.9rem, 3.4vw, 2.4rem); color: #fff; display: block; line-height: 1; white-space: nowrap; }
.glass-stat span { font-family: var(--ff-label); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-glow); margin-top: 6px; display: block; }
@keyframes mwheel { 0%{opacity:1;top:7px} 70%{opacity:0;top:18px} 100%{opacity:0} }
.floating-shape { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; opacity: .5; }

/* blobs */
.blob { position: absolute; z-index: 0; filter: blur(46px); opacity: .5; border-radius: 50%; pointer-events: none; }
.blob--teal { background: radial-gradient(circle, rgba(67,198,188,.6), transparent 70%); }
.blob--pine { background: radial-gradient(circle, rgba(18,113,107,.5), transparent 70%); }

/* ---------- CONTOUR SIGNATURE ---------- */
.contour { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.contour svg { width: 100%; height: 100%; }
.contour path { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .18; }
.section--pine .contour path { stroke: var(--aqua-glow); opacity: .22; }
.divider-contour { height: 90px; overflow: hidden; }
.divider-contour svg { width: 100%; height: 100%; }
.divider-contour path { fill: none; stroke: var(--teal); stroke-width: 1.2; opacity: .35; }

/* ---------- ABOUT / SPLIT ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; transition: transform 1.2s var(--ease); will-change: transform; }
.media--tall img { aspect-ratio: 3/4; }
.split:has(.media--fill) { align-items: stretch; }
.media--fill { align-self: stretch; }
.media--fill img { height: 100%; aspect-ratio: auto; }
.media__badge { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-radius: var(--r-sm); padding: 12px 18px; box-shadow: var(--shadow-sm); }
.media__badge b { font-family: var(--ff-display); color: var(--pine); font-size: 1.4rem; display: block; line-height: 1; }
.media__badge span { font-family: var(--ff-label); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list i { color: var(--teal); margin-top: 4px; }

/* ---------- STATS STRIP ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat { background: var(--white); padding: 34px 24px; text-align: center; }
.stat b { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--pine); display: block; line-height: 1; white-space: nowrap; }
.stat b .suf { color: var(--teal); }
.stat span { font-family: var(--ff-label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-top: 8px; display: block; }

/* ---------- FEATURE / HIGHLIGHT CARDS ---------- */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card { background: var(--white); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid rgba(220,219,210,.7); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-card__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(18,113,107,.12), rgba(67,198,188,.12)); color: var(--teal); font-size: 1.35rem; margin-bottom: 22px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card .glow { position: absolute; width: 160px; height: 160px; background: radial-gradient(circle, rgba(67,198,188,.25), transparent 70%); top: -60px; right: -40px; opacity: 0; transition: opacity .5s; }
.feature-card:hover .glow { opacity: 1; }

/* ---------- AMENITY CARDS ---------- */
.amenity-grid { grid-template-columns: repeat(3,1fr); }
.amenity { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); isolation: isolate; }
.amenity img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.amenity::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10,44,43,.9) 100%); }
.amenity:hover img { transform: scale(1.08); }
.amenity__body { padding: 28px; color: #fff; }
.amenity__body h3 { color: #fff; margin-bottom: 6px; }
.amenity__body p { color: rgba(255,255,255,.82); font-size: .95rem; }
.amenity__tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-label); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-glow); margin-bottom: 10px; }
.amenity--wide { grid-column: span 2; }

/* ---------- LIFESTYLE MARQUEE ---------- */
.marquee { overflow: hidden; padding-block: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marq 32s linear infinite; }
.marquee__track span { font-family: var(--ff-display); font-size: clamp(1.6rem, 4vw, 3rem); color: var(--pine); opacity: .85; display: inline-flex; align-items: center; gap: 60px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--teal); font-size: .6em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- ANNOUNCEMENTS ---------- */
.announce-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.announce { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(220,219,210,.6); transition: transform .4s var(--ease), box-shadow .4s; }
.announce:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.announce__img { aspect-ratio: 16/9; overflow: hidden; flex: none; }
.announce__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.announce:hover .announce__img img { transform: scale(1.06); }
.announce__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.announce__meta { font-family: var(--ff-label); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.announce__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
/* featured card keeps a subtle accent but the SAME footprint as the others */
.announce--feat { grid-row: auto; grid-column: auto; }
.announce--feat .announce__img { aspect-ratio: 16/9; }
.announce--feat .announce__body h3 { font-size: 1.2rem; }

/* ---------- ACCORDION / FAQ ---------- */
.accordion { max-width: 860px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; text-align: left; font-family: var(--ff-display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--pine); transition: color .3s; }
.acc-head:hover { color: var(--teal); }
.acc-head .ic { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--teal); transition: .4s var(--ease); }
.acc-item.open .ic { background: var(--teal); color: #fff; border-color: var(--teal); transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc-body p { padding: 0 4px 26px; color: #3a4844; max-width: 760px; }

/* ---------- DOCUMENTS ---------- */
.doc-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.doc-search { position: relative; flex: 1; min-width: 260px; }
.doc-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--sage); }
.doc-search input { width: 100%; padding: 15px 18px 15px 46px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-family: var(--ff-body); font-size: .95rem; }
.doc-search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(18,113,107,.1); }
.doc-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--ff-label); font-size: .82rem; font-weight: 500; padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: .3s; }
.chip.active, .chip:hover { background: var(--pine); color: #fff; border-color: var(--pine); }
.doc-table { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(220,219,210,.6); }
.doc-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 20px; padding: 20px 26px; border-bottom: 1px solid var(--paper-2); transition: background .3s; }
.doc-row:last-child { border-bottom: none; }
.doc-row:hover { background: var(--paper); }
.doc-name { display: flex; align-items: center; gap: 16px; }
.doc-name .fic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(18,113,107,.1); color: var(--teal); flex: none; }
.doc-name b { font-weight: 600; color: var(--ink); display: block; }
.doc-name small { color: var(--sage); font-size: .8rem; }
.doc-cat { font-family: var(--ff-label); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: rgba(18,113,107,.08); padding: 6px 12px; border-radius: 100px; }
.doc-meta { font-size: .85rem; color: var(--sage); }
.doc-dl { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: #fff; transition: .3s; }
.doc-dl:hover { background: var(--teal); transform: scale(1.08); }
.doc-empty { padding: 60px; text-align: center; color: var(--sage); display: none; }

/* ---------- PORTAL / LOGIN ---------- */
.portal { min-height: 100vh; display: grid; place-items: center; background: var(--grad-pine); position: relative; overflow: hidden; padding: 120px var(--pad) 60px; }
.login-card { position: relative; z-index: 2; width: min(440px, 100%); background: rgba(255,255,255,.08); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-xl); padding: 44px; box-shadow: var(--shadow-lg); color: #fff; }
.login-card h2 { color: #fff; margin-bottom: 6px; }
.login-card p { color: #c8d6d2; margin-bottom: 28px; font-size: .95rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-label); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-glow); margin-bottom: 8px; }
.field input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-family: var(--ff-body); }
.field input::placeholder { color: rgba(255,255,255,.5); }
.field input:focus { outline: none; border-color: var(--aqua); background: rgba(255,255,255,.12); }
.login-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.login-row { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: #c8d6d2; margin: 6px 0 4px; }
.login-note { text-align: center; font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 22px; }

/* dashboard preview */
.dash-grid { grid-template-columns: repeat(3,1fr); }
.dash-card { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid rgba(220,219,210,.6); }
.dash-card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(18,113,107,.1); color: var(--teal); font-size: 1.2rem; margin-bottom: 16px; }

/* ---------- CONTACT ---------- */
.contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
.contact-info { display: grid; gap: 8px; }
.info-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-row .ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(18,113,107,.1); color: var(--teal); font-size: 1.15rem; }
.info-row b { display: block; font-family: var(--ff-label); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; }
.info-row a, .info-row span { color: var(--ink); font-size: 1.05rem; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); border: 1px solid rgba(220,219,210,.6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--ff-label); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-family: var(--ff-body); font-size: .96rem; transition: .3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(18,113,107,.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-success { display: none; text-align: center; padding: 40px; }
.form-success.show { display: block; }
.form-success .tick { width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad-teal); display: grid; place-items: center; color: #fff; font-size: 2rem; }

/* ---------- CTA ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(48px, 8vw, 96px); text-align: center; color: #fff; background: var(--grad-pine); }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: #c8d6d2; max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero__btns { justify-content: center; }

/* ---------- PAGE HERO (interior) ---------- */
.page-hero { position: relative; padding: clamp(140px, 20vh, 220px) 0 clamp(60px, 9vw, 110px); overflow: hidden; background: var(--grad-pine); color: #fff; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: #c8d6d2; max-width: 620px; }
.page-hero .eyebrow { color: var(--aqua-glow); margin-bottom: 20px; }
.page-hero .eyebrow::before { background: var(--aqua-glow); }
.breadcrumb { font-family: var(--ff-label); font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 22px; }
.breadcrumb a:hover { color: var(--aqua-glow); }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; max-width: 820px; margin-inline: auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), transparent); }
.tl-item { position: relative; padding-bottom: 46px; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(18,113,107,.15); }
.tl-item b { font-family: var(--ff-display); font-size: 1.5rem; color: var(--teal); display: block; }
.tl-item h3 { margin: 4px 0 8px; }

/* ---------- LEGAL / PROSE ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 44px 0 16px; }
.prose h3 { font-size: 1.3rem; margin: 30px 0 12px; }
.prose p, .prose li { color: #3a4844; margin-bottom: 14px; line-height: 1.75; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--teal); text-decoration: underline; }

/* ---------- 404 ---------- */
.err { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--grad-pine); color: #fff; padding: var(--pad); position: relative; overflow: hidden; }
.err__num { font-family: var(--ff-display); font-size: clamp(7rem, 26vw, 20rem); line-height: .9; color: #fff; background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.err h2 { color: #fff; margin: 10px 0 14px; }
.err p { color: #c8d6d2; max-width: 440px; margin: 0 auto 28px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--pine-900); color: #c8d6d2; padding-top: clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .brand__name, .footer h4 { color: #fff; }
.footer h4 { font-family: var(--ff-label); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer__col p { color: #9fb2ad; font-size: .95rem; margin-top: 16px; max-width: 300px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: #9fb2ad; font-size: .95rem; transition: .3s; }
.footer__links a:hover { color: var(--aqua-glow); padding-left: 5px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; color: #9fb2ad; font-size: .95rem; }
.footer__contact i { color: var(--aqua); margin-top: 4px; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: #fff; transition: .3s; }
.footer__social a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .84rem; color: #7e928d; }
.footer__bottom a:hover { color: var(--aqua-glow); }
.footer__disclaimer { font-size: .78rem; color: #6b7f7a; max-width: 900px; padding-bottom: 30px; }

/* ---------- REVEAL ANIM ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stagger > * { opacity: 0; transform: translateY(28px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .split, .split--rev, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .media { order: -1; }
  .cards-3, .amenity-grid, .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .announce-grid { grid-template-columns: 1fr 1fr; }
  .announce--feat { grid-column: auto; grid-row: auto; }
  .amenity--wide { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { display: none; }
  .hero-stats { margin-top: clamp(-56px, -7vh, -40px); }
  .hero__glass { gap: 10px; }
  .glass-stat { padding: 16px 10px; }
  .glass-stat b { font-size: 1.55rem; }
  .glass-stat span { font-size: .58rem; letter-spacing: .1em; }
  .cards-3, .cards-2, .amenity-grid, .dash-grid, .announce-grid, .form-row { grid-template-columns: 1fr; }
  .amenity--wide { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .doc-row { grid-template-columns: 1fr auto; row-gap: 12px; }
  .doc-cat, .doc-meta { grid-column: 1; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}
