/* YOUR.Life — Meet the Team page styles */

/* GeneratePress full-width override */
.page-template-meet-the-team .site-content,
.page-template-meet-the-team .content-area,
.page-template-meet-the-team .inside-article,
.page-template-meet-the-team .entry-content,
.page-template-meet-the-team .page-content { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; }

/* Force full-width, no-sidebar layout on this page (the live page was rendering with an
   empty GeneratePress right sidebar, which produced a gray column on desktop that
   collapsed away on mobile). Neutralize it regardless of the page's layout setting. */
.page-template-meet-the-team #content,
.page-template-meet-the-team .site-content { display: block !important; }
.page-template-meet-the-team #primary,
.page-template-meet-the-team .content-area { width: 100% !important; max-width: 100% !important; float: none !important; margin: 0 !important; }
.page-template-meet-the-team #right-sidebar,
.page-template-meet-the-team #left-sidebar,
.page-template-meet-the-team .widget-area,
.page-template-meet-the-team .sidebar { display: none !important; }

/* #omega-meet-the-team content corrections (beat GP class-scoped defaults) */
#omega-meet-the-team h1, #omega-meet-the-team h2, #omega-meet-the-team h3, #omega-meet-the-team h4 { font-family: var(--serif); font-weight: 400; }
#omega-meet-the-team em, #omega-meet-the-team i, #omega-meet-the-team blockquote, #omega-meet-the-team .eyebrow { font-style: normal; }
#omega-meet-the-team a, #omega-meet-the-team a:hover { text-decoration: none; }

:root {
      --navy:      #1F3A4D;
      --cream:     #F5EFE6;
      --sand:      #E0D3BD;
      --brass:     #8B6E55;
      --mist:      #C9D4DC;
      --body-text: rgba(31, 58, 77, 0.76);
      --serif:     'Playfair Display', Georgia, serif;
      --sans:      'DM Sans', -apple-system, sans-serif;
    }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--cream); font-family: var(--sans); color: var(--navy); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      height: 60px;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(245, 239, 230, 0.97);
      backdrop-filter: blur(8px);
      box-shadow: 0 1px 0 rgba(31, 58, 77, 0.09);
    }

.band-cream { background: var(--cream); }
.band-sand  { background: var(--sand); }
.band-navy  { background: var(--navy); }
.section-pad { padding: 56px 24px; }
.max-w { max-width: 720px; }

/* ─── TYPOGRAPHY ─── */
.eyebrow { display: block; font-family: var(--sans); font-size: 10px; font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.eyebrow--on-dark { color: var(--brass); }
h1.page-headline { font-family: var(--serif); font-weight: 400; font-size: 38px; color: var(--cream); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 0; }
h2.headline { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
h2.headline-light { color: var(--cream); }
.body-copy { font-size: 15px; color: var(--body-text); line-height: 1.85; margin-bottom: 16px; }
.body-copy:last-child { margin-bottom: 0; }

/* ─── PAGE HERO (centered, text-only; theme offsets content below the fixed nav) ─── */
.page-hero { padding-top: 0; background: var(--navy); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(201,212,220,0.06) 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 12% 90%, rgba(139,110,85,0.05) 0%, transparent 55%); pointer-events: none; }
.page-hero-inner { padding: 56px 24px 56px; position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-lead { font-family: var(--serif); font-size: 17px; color: rgba(245,239,230,0.6); line-height: 1.7; margin-top: 20px; }

/* ─── INTRO STORY ─── */
.intro-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.intro-inner .body-copy { margin-bottom: 18px; }
.intro-close { font-family: var(--serif); font-size: 21px; color: var(--navy); margin-top: 8px; }

/* ─── TEAM GRID ─── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 8px; }
.team-card { background: #FBF7F0; border: 0.5px solid rgba(31,58,77,0.1); border-radius: 5px; padding: 26px; box-shadow: 0 18px 44px rgba(31,58,77,0.08); align-self: start; min-width: 0; }
.photo-ph { aspect-ratio: 1 / 1; width: 100%; background: linear-gradient(150deg, rgba(201,212,220,0.55) 0%, rgba(224,211,189,0.5) 100%); border: 0.5px dashed rgba(31,58,77,0.28); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; margin-bottom: 22px; position: relative; }
.photo-ph::before { content: ''; position: absolute; inset: 7px; border: 0.5px dashed rgba(31,58,77,0.16); }
.photo-ph-tag { font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(31,58,77,0.6); position: relative; }
.photo-ph-dims { margin-top: 8px; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(31,58,77,0.55); border: 0.5px solid rgba(31,58,77,0.3); border-radius: 40px; padding: 5px 11px; position: relative; }
#omega-meet-the-team .team-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; margin-bottom: 22px; display: block; }
.team-name { font-family: var(--serif); font-size: 23px; font-weight: 500; color: var(--navy); line-height: 1.15; margin-bottom: 5px; }
.team-role { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.team-teaser { font-size: 15px; color: rgba(31,58,77,0.78); line-height: 1.7; }
.team-bio { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.55s ease, opacity 0.4s ease; }
.team-card.is-open .team-bio { max-height: 4000px; opacity: 1; }
.team-bio-inner { padding-top: 20px; margin-top: 20px; border-top: 0.5px solid rgba(31,58,77,0.12); }
.team-bio-inner p { font-size: 14.5px; color: rgba(31,58,77,0.74); line-height: 1.78; margin-bottom: 14px; }
.team-funfact { margin-top: 6px; padding: 15px 18px; background: rgba(139,110,85,0.08); border-radius: 4px; font-size: 13.5px; color: rgba(31,58,77,0.76); line-height: 1.62; }
.team-creds { margin-top: 16px; font-size: 11px; letter-spacing: 0.03em; color: rgba(31,58,77,0.5); line-height: 1.65; }
.team-readmore { margin-top: 18px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: none; border: 0; border-bottom: 0.5px solid var(--brass); padding: 0 0 4px; cursor: pointer; transition: color 0.3s; min-height: 32px; }
.team-readmore:hover { color: var(--brass); }

/* ─── CLOSING / CTA ─── */
.cta-section { background: var(--navy); padding: 64px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 10%, rgba(201,212,220,0.06) 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 12% 90%, rgba(139,110,85,0.05) 0%, transparent 55%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-statement { font-family: var(--serif); font-size: 20px; color: rgba(245,239,230,0.82); line-height: 1.55; margin-bottom: 36px; }
.btn-hero { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); border: 0.5px solid rgba(245,239,230,0.34); padding: 16px 28px; text-align: center; text-decoration: none; transition: border-color 0.3s, color 0.3s; min-height: 48px; }
.btn-hero:hover { border-color: var(--brass); color: var(--brass); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }

/* ════════ TABLET ≥ 768px ════════ */
@media (min-width: 768px) {
  nav { height: 76px; padding: 0 48px; }

  .section-pad { padding: 96px 48px; }
  .eyebrow { font-size: 10.5px; margin-bottom: 18px; }
  h1.page-headline { font-size: clamp(46px, 5.2vw, 62px); }
  h2.headline { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
  .body-copy { font-size: 16px; }

  .page-hero-inner { padding: 80px 48px 80px; }
  .hero-lead { font-size: 19px; }

  .intro-close { font-size: 24px; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .team-card { padding: 32px; }
  .team-name { font-size: 25px; }

  .cta-section { padding: 104px 48px; }
  .cta-statement { font-size: 25px; margin-bottom: 40px; }
  .btn-hero { display: inline-block; }
}

/* ════════ DESKTOP ≥ 1024px ════════ */
@media (min-width: 1024px) {
  .section-pad { padding: 104px 64px; }
  nav { padding: 0 64px; }
  .team-grid { max-width: 1100px; margin-left: auto; margin-right: auto; }
}
