/* ==========================================================================
   Premier Lifestyle Management — shared site styles
   Faithful standalone port of the Claude Design DC components.
   Palette  ink #20201C · muted #56544C · cream #F7F5F0 · dark #191915
            gold-deep #9C7B47 · gold-light #C6A871 · lines #E2DCD0 / #D8D2C6
   Type     Hanken Grotesk (body) · Playfair Display (display) · Cormorant (accent)
   ========================================================================== */

:root {
  --cream: #F7F5F0;
  --ink: #20201C;
  --muted: #56544C;
  --dark: #191915;
  --gold: #9C7B47;
  --gold-light: #C6A871;
  --gold-text: #7D6235;
  --line: #E2DCD0;
  --line-2: #D8D2C6;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- focus-visible (keyboard) ---------- */
:where(a, button, .btn-consult, .btn-cta, .nav-link, .nav-toggle):focus-visible {
  outline: 2px solid var(--gold-text); outline-offset: 3px;
}
.cta :focus-visible, .site-footer :focus-visible, .nav-overlay :focus-visible {
  outline-color: var(--gold-light);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
/* keep the hidden attribute authoritative over component display rules (e.g. display:grid) */
[hidden] { display: none !important; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal].rd-1 { transition-delay: .08s; }
[data-reveal].rd-2 { transition-delay: .16s; }
/* canonical source reveals these over 1s (vs the .9s default) */
.region__head, .region__note, .cta__inner { transition-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* The wordmark matches Jodi's logo file: PREMIER centred over the line below it. */
.brand { text-decoration: none; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; }
.brand__name {
  font-family: 'Playfair Display', serif;
  font-size: 23px; letter-spacing: .2em; font-weight: 500; color: var(--ink);
  padding-left: .2em; /* same offset for the trailing letter-spacing */
}
.brand__tag {
  font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase;
  margin-top: 6px; color: var(--gold-text); font-weight: 600;
  padding-left: .42em; /* offsets the trailing letter-spacing so the two lines sit centred */
}

.nav-row { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-link {
  text-decoration: none; font-size: 13px; letter-spacing: .04em; white-space: nowrap;
  color: var(--ink); transition: color .3s;
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--gold-text); }

/* gold pill button (header) */
.btn-consult {
  white-space: nowrap; text-decoration: none; font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 13px 24px; border: 1px solid var(--gold-light);
  color: var(--ink); background: var(--gold-light);
  box-shadow: 0 8px 22px -12px rgba(15, 12, 8, .5);
  transition: background .35s, color .35s, transform .35s; cursor: pointer;
}
.btn-consult:hover {
  background: var(--gold-text); border-color: var(--gold-text);
  color: var(--cream); transform: translateY(-1px);
}

/* hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 10px; margin: -4px;
}
.nav-toggle span {
  width: 24px; height: 1.5px; background: var(--ink); display: block;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle.is-open span { background: var(--cream); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile overlay */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 49;
  background: var(--dark);
  flex-direction: column; justify-content: center; align-items: center; gap: 28px;
}
.nav-overlay.is-open { display: flex; }
.nav-overlay a {
  text-decoration: none; font-family: 'Cormorant Garamond', serif;
  font-size: 30px; color: var(--cream);
}
.nav-overlay .btn-consult {
  font-family: 'Hanken Grotesk', sans-serif; font-size: 12.5px;
  padding: 14px 30px; margin-top: 10px; color: var(--ink);
  box-shadow: none; transition: none; /* canonical overlay CTA is a static pill */
}
.nav-overlay .btn-consult:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  color: var(--ink); transform: none;
}

/* 1080px: the menu has 6 links, so switch to the menu button before the links run into the logo */
@media (max-width: 1080px) {
  .nav-row { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(150px, 20vh, 210px) clamp(22px, 5vw, 32px) clamp(46px, 7vh, 76px);
  text-align: center; border-bottom: 1px solid var(--line);
}
.hero__inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold-text);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold-text); display: inline-block;
}
.hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02;
  letter-spacing: -0.015em; margin: 24px 0 0;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__lead {
  max-width: 60ch; margin: 28px auto 0; color: var(--muted); font-size: 18px;
}

/* ==========================================================================
   TEAM REGIONS
   ========================================================================== */
.region {
  padding: clamp(64px, 10vh, 110px) clamp(22px, 5vw, 32px) clamp(40px, 6vh, 64px);
}
.region--tight {
  padding: clamp(40px, 6vh, 64px) clamp(22px, 5vw, 32px) clamp(72px, 11vh, 128px);
}
.region__inner { max-width: 1140px; margin: 0 auto; }
.region__head {
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 16px; margin-bottom: 50px;
}
.region__name { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 26px; }
.region__coords {
  font-family: 'Hanken Grotesk', monospace; font-size: 11px;
  letter-spacing: .06em; color: var(--gold-text);
}

/* New York operates under its own name: Premier Life Management.
   The wordmark mirrors the site header brand; the intro line sits between head and grid. */
.region__head--branded { flex-wrap: wrap; align-items: baseline; margin-bottom: 22px; }
.region__brand {
  margin-left: auto; display: flex; flex-direction: column; align-items: center;
  line-height: 1; text-align: center;
}
.region__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px; letter-spacing: .2em; font-weight: 500; color: var(--ink);
  padding-left: .2em;
}
.region__brand-tag {
  font-size: 8.5px; letter-spacing: .42em; text-transform: uppercase;
  margin-top: 5px; color: var(--gold-text); font-weight: 600;
  padding-left: .42em; /* offsets the trailing letter-spacing so the lines sit centred */
}
.region__intro {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 19px; line-height: 1.5; color: var(--muted);
  max-width: 62ch; margin: 0 0 44px;
}
.region__intro strong { font-weight: 600; color: var(--ink); }
@media (max-width: 560px) {
  .region__brand { margin-left: 0; width: 100%; align-items: center; text-align: center; margin-top: 14px; }
  .region__brand-tag { padding-left: 0; }
  .region__intro { font-size: 17px; margin-bottom: 36px; }
}

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
/* staggered reveal, cycling per row of five */
.team-grid > [data-reveal]:nth-child(5n + 1) { transition-delay: 0s; }
.team-grid > [data-reveal]:nth-child(5n + 2) { transition-delay: .05s; }
.team-grid > [data-reveal]:nth-child(5n + 3) { transition-delay: .1s; }
.team-grid > [data-reveal]:nth-child(5n + 4) { transition-delay: .15s; }
.team-grid > [data-reveal]:nth-child(5n + 5) { transition-delay: .2s; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

.team-card { text-align: center; }
.team-photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--dark);
}
.team-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(1) contrast(1.03) brightness(1.02);
  transition: transform 1.2s var(--ease), filter 1.1s var(--ease);
  z-index: 1;
}
.team-photo:hover img {
  transform: scale(1.04); filter: grayscale(0) contrast(1) brightness(1);
}
/* in-brand monogram fallback (shows when the portrait file is absent) */
.team-photo__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 100% at 50% 0%, #25241f 0%, var(--dark) 60%);
  color: rgba(198, 168, 113, .55);
  font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 46px);
  letter-spacing: .08em; z-index: 0; user-select: none;
}
.team-photo__ph::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(198, 168, 113, .16);
}
.team-name {
  font-family: 'Cormorant Garamond', serif; font-size: 21px; margin-top: 16px; line-height: 1.1;
}
.team-role {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-top: 7px;
}
.region__note {
  text-align: center; margin-top: 44px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 19px; color: var(--muted);
}

/* ==========================================================================
   CLOSING CTA
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; background: var(--dark); color: var(--cream);
  padding: clamp(80px, 13vh, 150px) clamp(22px, 5vw, 32px); text-align: center;
}
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06;
}
.cta h2 em { font-style: italic; color: var(--gold-light); }
.btn-cta {
  text-decoration: none; display: inline-block; margin-top: 38px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 17px 36px; background: var(--gold-light);
  border: 1px solid var(--gold-light); color: var(--ink);
  transition: background .35s, color .35s, transform .35s;
}
.btn-cta:hover {
  background: var(--cream); border-color: var(--cream); transform: translateY(-2px);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark); color: var(--cream);
  padding: 84px clamp(22px, 5vw, 32px) 36px; font-family: 'Hanken Grotesk', sans-serif;
}
.site-footer__inner { max-width: 1200px; margin: 0 auto; }
.site-footer__top {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px;
  padding-bottom: 54px; border-bottom: 1px solid rgba(247, 245, 240, .16);
}
/* the wordmark is centred over its tagline, as in the logo file */
.site-footer__mark { display: inline-block; text-align: center; }
.site-footer__name { font-family: 'Playfair Display', serif; font-size: 30px; letter-spacing: .2em; font-weight: 500; padding-left: .2em; }
.site-footer__tag { font-size: 9px; letter-spacing: .4em; text-transform: uppercase; opacity: .7; margin-top: 8px; padding-left: .4em; }
.site-footer__blurb {
  color: rgba(247, 245, 240, .6); margin-top: 22px; max-width: 30ch; font-size: 15px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
}
/* New York entity name */
.site-footer__alt {
  margin-top: 14px; font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-light); opacity: .85;
}
.foot-col__title {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px; font-weight: 600;
}
.foot-link, .foot-text {
  display: block; text-decoration: none; color: rgba(247, 245, 240, .78);
  font-size: 15px; margin-bottom: 12px;
}
.foot-link { transition: color .3s; }
.foot-link:last-child { margin-bottom: 0; }
.foot-link:hover { color: var(--cream); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 14px;
}
.site-footer__copy { font-size: 12.5px; color: rgba(247, 245, 240, .5); letter-spacing: .02em; }
.site-footer__legal a {
  text-decoration: none; font-size: 12.5px; color: rgba(247, 245, 240, .5);
  margin-left: 22px; transition: color .3s;
}
.site-footer__legal a:hover { color: var(--cream); }
