/* ==========================================================================
   Premier Lifestyle Management — HOME (index) page styles
   Page-specific sections only. Loaded AFTER css/site.css.
   Reuses shared chrome/hero/region/team/cta classes + CSS vars from site.css.
   Faithful port of "Premier Lifestyle Management.dc.html".
   ========================================================================== */

/* ---------- page-specific keyframes ---------- */
@keyframes kenburns  { 0% { transform: scale(1.04) translate(0, 0); }    100% { transform: scale(1.16) translate(-2%, -2%); } }
@keyframes kenburns2 { 0% { transform: scale(1.14) translate(-1.5%, 1%); } 100% { transform: scale(1.04) translate(0, 0); } }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }
@keyframes fade { to { opacity: 1; } }
@keyframes cue  { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- ken burns utility (section/feature imagery) ---------- */
.kb, .kb2 { will-change: transform; }
.kb  { animation: kenburns  28s ease-in-out infinite alternate; }
.kb2 { animation: kenburns2 30s ease-in-out infinite alternate; }
.kb--26 { animation-duration: 26s; }
.kb--30 { animation-duration: 30s; }
.kb--32 { animation-duration: 32s; }

/* ---------- extra reveal stagger delays ---------- */
[data-reveal].rd-3 { transition-delay: .24s; }
[data-reveal].d1   { transition-delay: .1s; }
[data-reveal].d2   { transition-delay: .2s; }

/* ---------- shared centered section head ---------- */
.sec-head { text-align: center; }
.sec-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; margin-top: 22px;
}
.sec-title em { font-style: italic; color: var(--gold); }
.sec-lead { max-width: 54ch; margin: 22px auto 0; color: var(--muted); }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--light::before { background: var(--gold-light); }

/* ==========================================================================
   HERO (dark cinematic video plate)
   ========================================================================== */
.home-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden;
}
.home-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #ECE8DF; }
.home-hero__plate {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(120% 90% at 75% 20%, rgba(243,210,150,.9), transparent 55%),
    radial-gradient(90% 80% at 20% 90%, rgba(120,86,52,.85), transparent 60%),
    linear-gradient(160deg, #9c7142 0%, #6e4d2c 45%, #2c2016 100%);
}
.home-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.home-hero__scan {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px);
}
.home-hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,11,.78) 0%, rgba(20,16,11,.50) 20%, rgba(25,25,21,.42) 50%, rgba(25,25,21,.88) 100%);
}
@media (max-width: 560px) {
  .home-hero__veil {
    background: linear-gradient(180deg, rgba(20,16,11,.80) 0%, rgba(25,25,21,.52) 40%, rgba(25,25,21,.92) 100%);
  }
  .home-hero__eyebrow { font-size: 10px; letter-spacing: .18em; gap: 10px; }
  .home-hero__eyebrow::before { display: none; }
}
.home-hero__topfade {
  position: absolute; top: 0; left: 0; right: 0; height: 170px; z-index: 1;
  background: linear-gradient(180deg, rgba(15,12,8,.55) 0%, rgba(15,12,8,0) 100%); pointer-events: none;
}
.home-hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 140px clamp(22px, 5vw, 32px) 9vh;
}
.home-hero__eyebrow {
  opacity: 0; animation: fade 1s var(--ease) .15s forwards;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: #EAD7AE; text-shadow: 0 1px 14px rgba(15,12,8,.75);
}
.home-hero__eyebrow::before {
  content: ""; width: 28px; height: 1px; background: #EAD7AE; display: inline-block;
}
.home-hero__title {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(46px, 8vw, 116px); line-height: 1.0; letter-spacing: -0.015em;
  max-width: 15ch; margin: 26px 0 0;
  text-shadow: 0 2px 22px rgba(15,12,8,.55), 0 1px 4px rgba(15,12,8,.5);
}
.home-hero__title .line { display: block; overflow: hidden; }
.home-hero__title .line__in {
  display: block; transform: translateY(110%); opacity: 0;
  animation: rise 1.1s var(--ease) forwards;
}
.home-hero__title .line:nth-child(2) .line__in {
  animation-delay: .18s; font-style: italic; font-weight: 400; color: #D8BE8A;
  text-shadow: 0 2px 18px rgba(15,12,8,.7), 0 1px 3px rgba(15,12,8,.6);
}
.home-hero__lead {
  opacity: 0; animation: fade 1s var(--ease) .5s forwards;
  max-width: 48ch; font-size: 21px; color: var(--cream);
  margin-top: 30px; font-weight: 500; line-height: 1.5; text-shadow: 0 1px 18px rgba(15,12,8,.5);
}
.home-hero__actions {
  opacity: 0; animation: fade 1s var(--ease) .7s forwards;
  display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap;
}
.btn-hero-gold, .btn-hero-ghost {
  text-decoration: none; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
}
.btn-hero-gold {
  font-weight: 700; padding: 17px 34px; background: var(--gold-light);
  border: 1px solid var(--gold-light); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(15,12,8,.65);
  transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.btn-hero-gold:hover {
  background: var(--gold); border-color: var(--gold); color: var(--cream);
  transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(15,12,8,.75);
}
.btn-hero-ghost {
  font-weight: 600; padding: 16px 30px; background: transparent;
  border: 1px solid rgba(247,245,240,.5); color: var(--cream);
  transition: background .35s var(--ease), border-color .35s, color .35s;
}
.btn-hero-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.home-hero__scroll {
  opacity: 0; animation: fade 1s var(--ease) 1s forwards;
  position: absolute; bottom: 30px; right: clamp(22px, 5vw, 32px); z-index: 2;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(247,245,240,.6);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px;
}
.home-hero__scroll i {
  width: 1px; height: 46px; background: rgba(247,245,240,.4);
  animation: cue 2s ease-in-out infinite; display: inline-block;
}

/* ==========================================================================
   WHO WE ARE (light, editorial + proof marks)
   ========================================================================== */
.about {
  scroll-margin-top: 90px;
  padding: clamp(84px, 13vh, 140px) clamp(22px, 5vw, 32px);
  position: relative; overflow: hidden;
}
.about__inner { max-width: 1200px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.about .sec-title { font-size: clamp(34px, 4.6vw, 59px); max-width: 18ch; margin: 24px auto 0; letter-spacing: -0.01em; }
.about__lead {
  max-width: 58ch; margin: 34px auto 0; color: var(--muted);
  font-size: 18px; text-align: left; line-height: 1.72;
}
.dropcap {
  float: left; font-family: 'Playfair Display', serif; font-size: 78px; line-height: .78;
  font-weight: 500; color: var(--ink); margin: 8px 14px 0 0;
}
.stats {
  display: flex; justify-content: center; flex-wrap: wrap; margin-top: 60px;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.stat {
  flex: 1; min-width: 190px; padding: 44px 24px 40px; text-align: center; position: relative;
  transition: background .5s var(--ease);
}
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat:hover { background: #EFE9DD; }
.stat__num { font-size: 10.5px; letter-spacing: .24em; color: var(--gold-text); margin-bottom: 18px; }
.stat__big {
  font-family: 'Playfair Display', serif; font-weight: 500;
  font-size: clamp(48px, 5.4vw, 68px); line-height: 1; letter-spacing: -0.01em; color: var(--ink);
}
.stat__big--italic {
  font-style: italic; font-size: clamp(40px, 4.6vw, 58px); line-height: 1.05;
}
.stat__label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 16px;
}

/* ==========================================================================
   SERVICES (light, on #ECE8DF)
   ========================================================================== */
.services {
  scroll-margin-top: 90px; background: #ECE8DF;
  padding: clamp(72px, 11vh, 118px) clamp(22px, 5vw, 32px);
  position: relative; overflow: hidden;
}
.services__inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 66px;
}
.svc-card {
  background: var(--cream); border: 1px solid var(--line-2); display: flex; flex-direction: column;
  transition: opacity 1s var(--ease), transform 1s var(--ease), box-shadow .6s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -30px rgba(32,32,28,.4); }
.svc-card__media { position: relative; overflow: hidden; height: 230px; background: #ECE8DF; }
.svc-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.svc-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,16,11,.68)); }
.svc-card__cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: rgba(247,245,240,.92);
  text-shadow: 0 1px 6px rgba(15,12,8,.6);
}
.svc-card__body { padding: 32px 30px 36px; }
.svc-card__kicker { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.svc-card__title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 30px; line-height: 1.05; }
.svc-card__text { color: var(--muted); font-size: 15.5px; margin-top: 12px; line-height: 1.65; }
.svc-link {
  text-decoration: none; margin-top: 22px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 9px; transition: gap .3s var(--ease);
}
.svc-link:hover { gap: 14px; }
.svc-link i { width: 18px; height: 1px; background: var(--gold); display: inline-block; }
.services__foot {
  text-align: center; margin-top: 44px;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 21px; color: var(--muted);
}

/* ==========================================================================
   HOW IT WORKS (light)
   ========================================================================== */
.how { scroll-margin-top: 90px; padding: clamp(84px, 13vh, 140px) clamp(22px, 5vw, 32px); }
.how__inner { max-width: 1200px; margin: 0 auto; }
.how .sec-lead { max-width: 52ch; }
.how-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(30px, 5vw, 68px); margin-top: 72px;
}
.step__num { font-family: 'Playfair Display', serif; font-size: 64px; line-height: 1; color: var(--gold); font-weight: 500; }
.step__rule { height: 1px; background: var(--line-2); margin: 24px 0; }
.step__title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 27px; line-height: 1.1; }
.step__text { color: var(--muted); font-size: 15.5px; margin-top: 12px; line-height: 1.7; }

/* ==========================================================================
   RESIDENCES WORLDWIDE (dark — the atlas)
   ========================================================================== */
.world {
  scroll-margin-top: 90px; background: var(--dark); color: var(--cream);
  overflow: hidden; padding: clamp(84px, 13vh, 140px) clamp(22px, 5vw, 32px);
}
.world__inner { max-width: 1200px; margin: 0 auto; }
.world__top {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 60px; align-items: center;
}
.world__title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(37px, 4.8vw, 64px); line-height: 1.04; margin-top: 24px;
}
.world__title em { font-style: italic; color: var(--gold-light); }
.world__text { color: rgba(247,245,240,.78); margin-top: 26px; max-width: 48ch; font-size: 17px; line-height: 1.7; }
.world__tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; color: var(--gold-light); margin-top: 26px;
}
.world__feature {
  height: 420px; border: 1px solid rgba(247,245,240,.16); position: relative; overflow: hidden; background: #ECE8DF;
}
.world__feature-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.world__feature-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,12,8,.72)); }
.world__feature-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 15px; color: rgba(247,245,240,.92);
  text-shadow: 0 1px 6px rgba(15,12,8,.6);
}
.places {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 84px;
}
.place { position: relative; height: 340px; overflow: hidden; border: 1px solid rgba(247,245,240,.16); }
.place__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
  filter: saturate(.92);
}
.place__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(25,25,21,.15), rgba(25,25,21,.82)); }
.place__body {
  position: absolute; inset: 0; z-index: 3; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
}
.place__coords { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.place__name { font-family: 'Cormorant Garamond', serif; font-size: 33px; line-height: 1.05; margin-top: 10px; }
.place__note { font-size: 14px; color: rgba(247,245,240,.74); margin-top: 8px; }

/* ==========================================================================
   TEAM PREVIEW (light — reuses shared .team-grid / .team-card)
   ========================================================================== */
.team-preview { scroll-margin-top: 90px; padding: clamp(84px, 13vh, 140px) clamp(22px, 5vw, 32px); }
.team-preview__inner { max-width: 1200px; margin: 0 auto; }
.team-preview .sec-lead { max-width: 56ch; }
.team-preview__loc { text-align: center; margin-top: 44px; }
.team-preview__loc span {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text);
}
.team-preview__grid { max-width: 1060px; margin: 54px auto 0; }

/* ==========================================================================
   PULL QUOTE (dark)
   ========================================================================== */
.pullquote {
  background: var(--dark); color: var(--cream);
  padding: clamp(90px, 15vh, 170px) clamp(22px, 5vw, 32px); position: relative; overflow: hidden;
}
.pullquote__inner { max-width: 1000px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.pullquote__rule { width: 54px; height: 1px; background: var(--gold-light); margin: 0 auto 44px; }
.pullquote__rule--end { margin: 44px auto 0; }
.pullquote blockquote {
  margin: 0; font-family: 'Playfair Display', serif; font-weight: 400; font-style: italic;
  font-size: clamp(28px, 4.4vw, 56px); line-height: 1.22; letter-spacing: -0.01em;
}
.pullquote blockquote span { color: var(--gold-light); }
.pullquote__cite {
  margin-top: 40px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,245,240,.66);
}

/* ==========================================================================
   TESTIMONIALS (light, on #ECE8DF)
   ========================================================================== */
.tts {
  background: #ECE8DF; padding: clamp(84px, 13vh, 140px) clamp(22px, 5vw, 32px);
  position: relative; overflow: hidden;
}
.tts__inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.tts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: 60px;
}
.tts-card { border-top: 1px solid var(--line-2); padding-top: 28px; }
.tts-card__mark {
  font-family: 'Cormorant Garamond', serif; font-size: 54px; line-height: .4; color: var(--gold); height: 30px; display: block;
}
.tts-card__quote { font-family: 'Cormorant Garamond', serif; font-size: 23px; line-height: 1.4; color: var(--ink); margin-top: 10px; }
.tts-card__cite { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.tts__press {
  text-align: center; margin-top: 64px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.tts__press b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   CONTACT / REQUEST A CONSULTATION (light)
   ========================================================================== */
.contact { scroll-margin-top: 90px; padding: clamp(84px, 13vh, 140px) clamp(22px, 5vw, 32px); }
.contact__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 72px; align-items: start;
}
.contact .sec-title { font-size: clamp(34px, 4.4vw, 54px); }
.contact__lead { color: var(--muted); margin-top: 24px; max-width: 38ch; }
.contact__details { margin-top: 40px; border-top: 1px solid var(--line-2); padding-top: 28px; }
.contact__row { display: flex; gap: 16px; align-items: baseline; }
.contact__row + .contact__row { margin-top: 16px; }
.contact__key {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); min-width: 90px;
}
.contact__val-lg { font-family: 'Cormorant Garamond', serif; font-size: 23px; }
/* the email address is one long unbreakable token; without these it pushed the
   page ~17px wider than a 320px viewport. */
.contact__val { font-size: 16px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
/* grid tracks default to min-width:auto, which inputs refuse to shrink below;
   without this the two-column form overflows its container around 820px. */
.form-grid > * { min-width: 0; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field input, .field textarea, .field select { min-width: 0; max-width: 100%; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  font-size: 16px; color: var(--ink); background: transparent; border: none;
  border-bottom: 1px solid var(--line-2); padding: 10px 2px; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 74px; font-family: inherit; }
.field select { cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:invalid:not(:placeholder-shown) { border-color: #9c5b47; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; margin-top: 6px; flex-wrap: wrap; }
.btn-submit {
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 30px; background: var(--ink); border: 1px solid var(--ink); color: var(--cream);
  cursor: pointer; transition: background .35s var(--ease), border-color .35s;
}
.btn-submit:hover { background: var(--gold); border-color: var(--gold); }
.form-note { font-size: 13px; color: var(--muted); }
.form-msg {
  grid-column: 1 / -1; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px;
  color: var(--gold); opacity: 0; height: 0; overflow: hidden; transition: opacity .5s var(--ease);
}
.form-msg.is-shown { opacity: 1; height: auto; margin-top: 8px; }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REDUCED MOTION — disable page-specific entrance/loop animation
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .kb, .kb2 { animation: none; }
  .home-hero__eyebrow, .home-hero__lead, .home-hero__actions, .home-hero__scroll,
  .home-hero__title .line__in { animation: none; opacity: 1; transform: none; }
  .home-hero__scroll i { animation: none; }
}
