/* ================================================================
   LISA DONN SERGI TRAGER — style.css v23
   Mobile hero: vertical gradient, face-focused photo, readable text
   ================================================================ */

:root {
  --navy:     #1a3a5c;
  --charcoal: #3a3d40;
  --rose:     #e8a0aa;
  --white:    #ffffff;
  --card-bg:  #e6e6e4;
  --dark:     #2a2a2a;
  --mid:      #555555;
  --rule-col: #cccccc;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --pad:   90px;
  --gutter: 120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--dark); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.eyebrow { font-family: var(--sans); font-size: 0.57rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 10px; }
.eyebrow.light { color: rgba(255,255,255,0.45); }
.eyebrow.centered { text-align: center; }
.eyebrow-rule { width: 40px; height: 1px; background: var(--navy); margin-bottom: 20px; }
.eyebrow-rule.light { background: rgba(255,255,255,0.3); }
.left-bordered { border-left: 1px solid rgba(0,0,0,0.18); padding-left: 20px; }
.left-bordered.light { border-left-color: rgba(255,255,255,0.2); }
.serif-headline { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
.serif-headline.navy { color: var(--navy); }
.serif-headline.white { color: var(--white); }
.btn-solid { display: inline-block; background: var(--rose); color: var(--dark); font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; padding: 10px 20px; border: 1px solid var(--rose); transition: background 0.2s; white-space: nowrap; }
.btn-solid:hover { background: #f0b8c0; }
.btn-outline { display: inline-block; background: transparent; color: var(--rose); font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; padding: 9px 20px; border: 1px solid var(--rose); transition: background 0.2s; white-space: nowrap; }
.btn-outline:hover { background: rgba(232,160,170,0.1); }

/* ================================================================
   HERO
   ================================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 860px;
  background: #1c1f22;
  overflow: hidden;
}

.hero-headshot,
.hero-photo-fg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #1c1f22 35%,
    rgba(28,31,34,0.88) 50%,
    rgba(28,31,34,0.22) 70%,
    transparent 100%
  );
}

.hero-rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rose);
  top: 108px;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px var(--gutter) 56px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--white);
  margin-bottom: 12px;
  white-space: nowrap;
}

.hero-roles {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
}

.hero-bottom { max-width: 640px; padding-bottom: 40px; }

.hero-headline {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--white);
  margin-bottom: 32px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ================================================================
   NAV
   ================================================================ */
#nav-sentinel { height: 0; }
#site-nav { position: relative; z-index: 100; background: var(--charcoal); height: 44px; width: 100%; display: flex; align-items: center; transition: box-shadow 0.3s; }
#site-nav.is-sticky { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 16px rgba(0,0,0,0.4); }
#nav-placeholder { display: none; height: 44px; }
#nav-placeholder.visible { display: block; }
.nav-inner { display: flex; align-items: center; justify-content: flex-start; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); height: 100%; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links li { display: flex; align-items: center; }
.nav-links a { font-family: var(--sans); font-size: 0.58rem; font-weight: 400; letter-spacing: 0.06em; color: rgba(255,255,255,1.0); transition: color 0.2s; padding: 0 10px; white-space: nowrap; }
.nav-links a:hover { color: rgba(255,255,255,0.6); }
.nav-links a.active { color: rgba(255,255,255,1.0); }
.nav-links .sep { color: rgba(255,255,255,0.25); font-size: 0.6rem; user-select: none; padding: 0 2px; }
.nav-li { display: flex; align-items: center; color: rgba(255,255,255,1.0); transition: color 0.2s; padding: 0 10px; }
.nav-li:hover { color: rgba(255,255,255,0.6); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); }
.mobile-nav { display: none; position: fixed; inset: 0; background: #1c1f22; z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--serif); font-size: 1.8rem; color: var(--white); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--rose); }
.mobile-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 1.2rem; cursor: pointer; }

/* ================================================================
   ABOUT
   ================================================================ */
#about { position: relative; padding: var(--pad) 0 140px; background: var(--white); overflow: hidden; }
.about-waves { position: absolute; bottom: 0; left: 0; right: 0; height: 62%; background: url('../img/bg-waves.webp') center top / cover no-repeat; opacity: 0.42; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%); mask-image: linear-gradient(to bottom, transparent 0%, black 40%); }
#about .container { position: relative; z-index: 1; }
#about .serif-headline, #experience .serif-headline { font-size: clamp(2rem, 3.8vw, 3.4rem); margin-bottom: 24px; }
.body-text p { font-size: 0.9rem; font-weight: 300; line-height: 1.7; color: var(--mid); margin-bottom: 16px; }
.body-text p:last-child { margin-bottom: 0; }

/* ================================================================
   EXPERTISE
   ================================================================ */
#expertise { position: relative; padding: 80px 0 var(--pad); background: var(--charcoal); overflow: hidden; }
.expertise-waves { position: absolute; top: 0; left: 0; right: 0; height: 100%; background: url('../img/bg-waves.webp') center top / cover no-repeat; opacity: 0.08; pointer-events: none; }
#expertise .serif-headline { font-size: clamp(2.2rem, 4.2vw, 4rem); margin-bottom: 48px; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.card { background: var(--card-bg); padding: 24px 22px 28px; transition: background 0.2s; }
.card:hover { background: #ededeb; }
.card h3 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card-rule { width: 100%; height: 1px; background: rgba(0,0,0,0.1); margin-bottom: 10px; }
.card p { font-size: 0.76rem; font-weight: 300; line-height: 1.7; color: #3a3a3a; }
.card p strong { font-weight: 700; }

/* ================================================================
   BY THE NUMBERS
   ================================================================ */
#numbers { position: relative; padding: var(--pad) 0 var(--pad); background: #edf1f6; overflow: hidden; }
.numbers-bg { position: absolute; inset: 0; background: url('../img/bg-geometric.webp') center / cover no-repeat; opacity: 0.28; pointer-events: none; }
#numbers .container { position: relative; z-index: 1; }

#numbers .serif-headline {
  display: block;
  width: 100%;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  margin-bottom: 56px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 0;
}

.stat-item {
  padding-right: 48px;
}

.stat-num {
  display: block;
  font-family: var(--sans);
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  font-family: var(--sans);
  font-size: 1.5em;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

/* ================================================================
   WHERE I'M HEADED
   ================================================================ */
#headed { position: relative; padding: var(--pad) 0; background: var(--charcoal); overflow: hidden; }
#headed .serif-headline { font-size: clamp(2.2rem, 4.2vw, 4rem); margin-bottom: 16px; }
.headed-sub { font-size: 0.87rem; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 700px; margin-bottom: 32px; }
.track-tabs { display: flex; gap: 0; margin-bottom: 0; }
.track-tab { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; padding: 9px 20px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.12); border-bottom: none; cursor: pointer; transition: all 0.2s; }
.track-tab.active { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.25); }
.track-tab:hover:not(.active) { color: rgba(255,255,255,0.7); }
.track-panel { display: none; }
.track-panel.active { display: block; animation: fadeUp 0.28s var(--ease); }
@keyframes fadeUp { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.track-box { border: 1px solid rgba(255,255,255,0.16); padding: 32px 36px 36px; background: rgba(255,255,255,0.03); }
.track-desc { font-size: 0.86rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 26px; }
.focus-label { font-size: 0.54rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 14px; }
.focus-list { list-style: disc; padding-left: 18px; margin-bottom: 32px; display: flex; flex-direction: column; gap: 8px; }
.focus-list li { font-size: 0.83rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.5; }
.track-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ================================================================
   EXPERIENCE
   ================================================================ */
#experience { position: relative; padding: var(--pad) 0; background: var(--white); overflow: hidden; }
.exp-waves { position: absolute; inset: 0; background: url('../img/bg-waves.webp') center / cover no-repeat; opacity: 0.1; pointer-events: none; }
#experience .container { position: relative; z-index: 1; }
.exp-sub { font-size: 0.88rem; font-weight: 300; line-height: 1.8; color: var(--mid); margin-top: 16px; }
.timeline { margin-top: 52px; }
.tl-item { padding: 32px 0; border-bottom: 1px solid var(--rule-col); }
.tl-item:first-child { border-top: 1px solid var(--rule-col); }
.tl-role { font-family: var(--serif); font-size: clamp(1.05rem, 1.9vw, 1.6rem); font-weight: 400; letter-spacing: 0.03em; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.tl-rule { width: 100%; height: 1px; background: var(--rule-col); margin-bottom: 10px; }
.tl-place { font-size: 0.78rem; color: var(--dark); margin-bottom: 7px; line-height: 1.5; }
.tl-place strong { font-weight: 700; }
.tl-desc { font-size: 0.78rem; font-weight: 300; line-height: 1.8; color: var(--mid); }

/* ================================================================
   CREDENTIALS
   ================================================================ */
#credentials { position: relative; overflow: hidden; background: #1a1e22; }
.cred-photo-wrap { position: absolute; inset: 0; z-index: 0; }
.cred-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cred-overlay { position: absolute; inset: 0; background: rgba(18,22,26,0.74); }
.cred-container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px; }
.cred-item { padding: 40px 36px 48px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.cred-item:nth-child(2n) { border-right: none; }
.cred-item:nth-child(3), .cred-item:nth-child(4) { border-bottom: none; }
.cred-item h3 { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 400; letter-spacing: 0.04em; color: var(--white); margin-bottom: 16px; line-height: 1.15; }
.cred-rule { width: 52px; height: 1px; background: rgba(255,255,255,0.22); margin: 0 auto 16px; }
.cred-item p { font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ================================================================
   CONNECT + FOOTER
   ================================================================ */
#connect {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
  padding: 72px 0 64px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.connect-photo-wrap { position: absolute; top: 0; right: 0; width: 46%; height: 100%; z-index: 0; }
.connect-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0.55; }
.connect-photo-wrap::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--charcoal) 0%, rgba(58,61,64,0.5) 45%, transparent 100%); z-index: 1; }
.connect-container { position: relative; z-index: 1; width: 100%; }
.connect-head { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 20px; }
.connect-body { font-size: 0.86rem; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,0.55); max-width: 420px; margin-bottom: 28px; }
.footer-block { margin-top: 60px; }
.footer-name { font-family: var(--serif); font-size: 1rem; font-weight: 400; letter-spacing: 0.07em; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.footer-loc { font-size: 0.68rem; color: rgba(255,255,255,0.3); margin-bottom: 10px; }
.footer-copy { font-size: 0.64rem; color: rgba(255,255,255,0.2); letter-spacing: 0.04em; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) { :root { --gutter: 72px; } }

@media (max-width: 900px) {
  :root { --gutter: 48px; --pad: 64px; }
  .cards-grid { grid-template-columns: 1fr; gap: 10px; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .connect-photo-wrap { width: 40%; }
}

@media (max-width: 768px) {
  :root { --gutter: 28px; --pad: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { padding: 0 28px; }

  /* Mobile hero: full-bleed photo, face visible, strong vertical gradient */
  #hero { max-height: none; height: 100svh; }

  /* Both images full width, positioned to show face not top of head */
  .hero-headshot,
  .hero-photo-fg {
    width: 100%;
    object-position: center 20%;
  }

  /* Vertical gradient: light at top so face shows, dark at bottom for text */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(28,31,34,0.15) 0%,
      rgba(28,31,34,0.3) 40%,
      rgba(28,31,34,0.75) 65%,
      rgba(28,31,34,0.97) 100%
    );
  }

  .hero-content { padding-left: 28px; padding-right: 28px; padding-bottom: 40px; }
  .hero-name { white-space: normal; font-size: clamp(1rem, 4vw, 1.4rem); letter-spacing: 0.05em; }
  .hero-roles { font-size: 0.55rem; letter-spacing: 0.15em; }
  .hero-headline { font-size: clamp(1.5rem, 6vw, 2rem); }

  .stats-row { gap: 40px 0; }
  .stat-num { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .stat-label { font-size: 1.1em; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred-item { border-right: none; }
  .cred-item:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  #connect { min-height: auto; }
  .connect-photo-wrap { width: 100%; }
  .connect-photo-wrap::before { background: linear-gradient(to right, rgba(58,61,64,0.97) 0%, rgba(58,61,64,0.85) 100%); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .track-tabs { flex-direction: column; }
  .stat-num { font-size: 2.2rem; }
  .stat-label { font-size: 1em; }
}
