:root{
  --bg:#FAF6EF;
  --surface:#FFFFFF;
  --surface-2:#F3ECDF;
  --text:#2E2A24;
  --text-secondary:#655E53;
  --text-muted:#948B7C;
  --border:rgba(46,42,36,0.1);
  --sage:#6FA98A;
  --sage-dim:#DEEAE2;
  --coral:#F0916A;
  --gold:#F0C368;
  --sky:#7BB2D6;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'IBM Plex Sans', sans-serif;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#22201B;
    --surface:#2B2822;
    --surface-2:#34302A;
    --text:#F5F1E9;
    --text-secondary:#BBB2A2;
    --text-muted:#87806F;
    --border:rgba(245,241,233,0.1);
    --sage:#8ECBA9;
    --sage-dim:#38493F;
    --coral:#F0A480;
    --gold:#F0D08E;
    --sky:#9AC7E4;
  }
}

:root[data-theme="light"]{
  --bg:#FAF6EF;
  --surface:#FFFFFF;
  --surface-2:#F3ECDF;
  --text:#2E2A24;
  --text-secondary:#655E53;
  --text-muted:#948B7C;
  --border:rgba(46,42,36,0.1);
  --sage:#6FA98A;
  --sage-dim:#DEEAE2;
  --coral:#F0916A;
  --gold:#F0C368;
  --sky:#7BB2D6;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

::selection{ background:var(--sage-dim); color:var(--text); }

a{ color:inherit; }

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 6vw;
}

h1,h2,h3{
  font-family:var(--font-display);
  font-weight:600;
  margin:0;
  letter-spacing:-0.01em;
}

p{ margin:0; }

/* ---------- nav ---------- */

nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.nav-inner{
  max-width:1100px;
  margin:0 auto;
  padding:18px 6vw;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.nav-mark{
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
}

.nav-links{
  display:flex;
  gap:28px;
  list-style:none;
  margin:0; padding:0;
}

.nav-links a{
  text-decoration:none;
  font-size:14px;
  color:var(--text-secondary);
  transition:color .2s ease;
}

.nav-links a:hover{ color:var(--text); }

@media (max-width:640px){
  .nav-links{ gap:16px; }
  .nav-links li:nth-child(3){ display:none; }
}

/* ---------- hero ---------- */

.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  padding-top:70px;
}

.hero-name-col{
  position:relative;
  flex:0 0 auto;
  width:min(36vw, 440px);
  min-width:280px;
  padding:48px 32px 32px 6vw;
  display:flex;
  flex-direction:column;
  justify-content:center;
  z-index:2;
}

.hero-glow{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  filter:blur(60px);
  opacity:0.6;
}

.hero-glow span{
  position:absolute;
  border-radius:50%;
}

.hero-glow span:nth-child(1){
  width:320px; height:320px;
  top:-10%; left:20%;
  background:radial-gradient(circle, var(--gold), transparent 70%);
}

.hero-glow span:nth-child(2){
  width:280px; height:280px;
  bottom:5%; left:-10%;
  background:radial-gradient(circle, var(--coral), transparent 70%);
}

.hero-glow span:nth-child(3){
  width:240px; height:240px;
  top:40%; left:40%;
  background:radial-gradient(circle, var(--sage), transparent 70%);
}

@media (prefers-reduced-motion: reduce){
  .hero-fade, .hero-fade *{ animation:none !important; opacity:1 !important; transform:none !important; }
}

.hero-name-col > *{
  position:relative;
  z-index:1;
}

.hero-fade{
  animation:rise .9s ease both;
}
.hero-fade:nth-child(2){ animation-delay:.15s; }
.hero-fade:nth-child(3){ animation-delay:.3s; }
.hero-fade:nth-child(4){ animation-delay:.45s; }

@keyframes rise{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

.eyebrow-line{
  display:inline-block;
  width:36px;
  height:2px;
  background:linear-gradient(90deg, var(--coral), var(--gold));
  margin-bottom:22px;
}

.hero h1{
  font-size:clamp(2.1rem, 4vw, 3rem);
  line-height:1.08;
}

.hero p.tagline{
  margin-top:20px;
  font-size:1rem;
  color:var(--text-secondary);
  max-width:32ch;
}

.hero-cta{
  margin-top:34px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
}

.btn-primary{
  display:inline-block;
  padding:13px 26px;
  background:linear-gradient(120deg, var(--coral), var(--gold));
  color:#3A2413;
  font-weight:600;
  font-size:14.5px;
  text-decoration:none;
  border-radius:3px;
}

.link-quiet{
  font-size:14.5px;
  color:var(--text-secondary);
  text-decoration:none;
  border-bottom:1px solid var(--border);
  padding-bottom:2px;
}
.link-quiet:hover{ color:var(--text); border-color:var(--text-secondary); }

/* ---------- hero photo carousel ---------- */

.hero-carousel{
  position:relative;
  flex:1 1 auto;
  min-height:100%;
  background:var(--surface-2);
}

.carousel-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1.4s ease;
}

.carousel-slide.is-active{
  opacity:1;
  z-index:1;
}

.carousel-caption{
  position:absolute;
  right:32px;
  bottom:32px;
  max-width:300px;
  text-align:right;
  color:#FFFFFF;
}

.carousel-caption h4{
  font-family:var(--font-display);
  font-size:1.2rem;
  font-weight:600;
  margin-bottom:6px;
  text-shadow:0 2px 16px rgba(0,0,0,0.4);
}

.carousel-caption p{
  font-size:14px;
  line-height:1.5;
  opacity:0.95;
  text-shadow:0 2px 16px rgba(0,0,0,0.4);
}

.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:44px; height:44px;
  border-radius:50%;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.22);
  backdrop-filter:blur(6px);
  color:#FFFFFF;
  cursor:pointer;
  transition:background .2s ease;
}
.carousel-arrow:hover{ background:rgba(255,255,255,0.38); }
.carousel-arrow svg{ width:20px; height:20px; }
.carousel-arrow.prev{ left:24px; }
.carousel-arrow.next{ right:24px; }

@media (max-width:520px){
  .carousel-arrow{ width:38px; height:38px; }
  .carousel-arrow.prev{ left:14px; }
  .carousel-arrow.next{ right:14px; }
}

@media (max-width:900px){
  .hero{ flex-direction:column; }
  .hero-name-col{ width:100%; padding:110px 6vw 32px; }
  .hero-carousel{ min-height:56vh; }
}

@media (max-width:520px){
  .carousel-caption{ left:24px; right:24px; max-width:none; text-align:left; }
}


/* ---------- section scaffolding ---------- */

section{ padding:120px 0; border-top:1px solid var(--border); }
.hero + section{ border-top:none; }

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:24px;
  margin-bottom:56px;
}

.section-head h2{ font-size:clamp(1.6rem, 3vw, 2.2rem); }

.section-index{
  font-family:var(--font-display);
  font-size:14px;
  color:var(--text-muted);
  white-space:nowrap;
}

/* ---------- about ---------- */

.about-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:64px;
}

.about-grid p{ max-width:52ch; color:var(--text-secondary); }
.about-grid p + p{ margin-top:18px; }

.facts{
  border-left:1px solid var(--border);
  padding-left:28px;
}

.fact{ padding:16px 0; border-bottom:1px solid var(--border); }
.fact:first-child{ padding-top:0; }
.fact:last-child{ border-bottom:none; }

.fact-num{
  font-family:var(--font-display);
  font-size:1.3rem;
  color:var(--coral);
  display:block;
}
.fact-label{ font-size:13.5px; color:var(--text-muted); margin-top:4px; display:block; }

@media (max-width:800px){
  .about-grid{ grid-template-columns:1fr; }
  .facts{ border-left:none; border-top:1px solid var(--border); padding-left:0; padding-top:28px; }
}

/* ---------- featured project ---------- */

.feature{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:4px;
  padding:56px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:52px;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.feature + .feature{
  margin-top:40px;
}

.feature::before{
  content:"";
  position:absolute;
  top:-40%; left:-10%;
  width:60%; height:180%;
  background:radial-gradient(circle, color-mix(in srgb, var(--sage) 20%, transparent), transparent 70%);
  pointer-events:none;
}

.feature-tag{
  font-size:13px;
  color:var(--coral);
  font-weight:500;
  margin-bottom:14px;
}

.feature h3{ font-size:1.7rem; margin-bottom:20px; }

.feature p{ color:var(--text-secondary); max-width:48ch; }
.feature p + p{ margin-top:14px; }

.feature-score{
  margin-top:28px;
  display:flex;
  gap:36px;
}

.score-item .fact-num{ font-size:1.6rem; }

.flow{
  display:flex;
  flex-direction:column;
  gap:0;
  position:relative;
  z-index:1;
}

.flow-step{
  background:var(--surface-2);
  border:1px solid var(--border);
  border-radius:4px;
  padding:16px 18px;
  font-size:13.5px;
  color:var(--text-secondary);
}

.flow-step b{ color:var(--text); font-weight:600; display:block; margin-bottom:2px; font-family:var(--font-display); font-size:14.5px; }

.flow-arrow{
  align-self:center;
  padding:6px 0;
  color:var(--text-muted);
  font-size:13px;
}

@media (max-width:800px){
  .feature{ grid-template-columns:1fr; padding:36px; }
}

/* ---------- secondary project ---------- */

.secondary-project{
  margin-top:40px;
  display:grid;
  grid-template-columns:220px 1fr;
  gap:32px;
  padding-top:40px;
  border-top:1px solid var(--border);
}

.secondary-project h4{
  font-family:var(--font-display);
  font-size:1.1rem;
  font-weight:600;
}

.secondary-project .meta{
  font-size:13px;
  color:var(--text-muted);
  margin-top:8px;
}

.secondary-project p{ color:var(--text-secondary); max-width:56ch; }

@media (max-width:700px){
  .secondary-project{ grid-template-columns:1fr; }
}

/* ---------- leadership ---------- */

.leadership-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
}

@media (max-width:800px){
  .leadership-grid{ grid-template-columns:1fr; gap:56px; }
}

.lead-card h3{ font-size:1.35rem; margin-bottom:18px; }
.lead-card p{ color:var(--text-secondary); }
.lead-card p + p{ margin-top:12px; }

.timeline{
  display:flex;
  align-items:flex-start;
  gap:0;
  margin-bottom:26px;
}

.tl-node{
  flex:1;
  text-align:left;
  position:relative;
  padding-top:20px;
}

.tl-node::before{
  content:"";
  position:absolute;
  top:0; left:0;
  width:9px; height:9px;
  border-radius:50%;
  background:var(--sage);
}

.tl-node::after{
  content:"";
  position:absolute;
  top:4px; left:9px;
  width:100%;
  height:1px;
  background:var(--border);
}

.tl-node:last-child::after{ display:none; }

.tl-node span{
  display:block;
  font-size:12.5px;
  color:var(--text-muted);
  margin-top:10px;
  max-width:14ch;
}

.pull{
  font-family:var(--font-display);
  font-size:1.6rem;
  line-height:1.3;
  margin-bottom:18px;
  background:linear-gradient(100deg, var(--text), var(--sage) 120%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ---------- recognition ---------- */

.rec-list{ border-top:1px solid var(--border); }

.rec-row{
  display:grid;
  grid-template-columns:90px 1fr auto;
  gap:20px;
  align-items:baseline;
  padding:20px 0;
  border-bottom:1px solid var(--border);
}

.rec-row .yr{ font-family:var(--font-display); color:var(--text-muted); font-size:14px; }
.rec-row .ttl{ font-size:15.5px; }
.rec-row .sub{ color:var(--text-muted); font-size:13.5px; text-align:right; }

@media (max-width:640px){
  .rec-row{ grid-template-columns:1fr; gap:4px; }
  .rec-row .sub{ text-align:left; }
}

/* ---------- now/next ---------- */

.now-next{
  background:linear-gradient(135deg, var(--surface-2), var(--surface));
  border:1px solid var(--border);
  border-radius:4px;
  padding:60px;
}

.now-next .tag{ font-size:13px; color:var(--sage); font-weight:500; margin-bottom:18px; }

.now-next p{ font-size:1.25rem; font-family:var(--font-display); font-weight:500; max-width:36ch; line-height:1.4; }

.now-next .sub{
  margin-top:20px;
  font-family:var(--font-body);
  font-weight:400;
  font-size:15px;
  color:var(--text-secondary);
  max-width:52ch;
}

@media (max-width:700px){
  .now-next{ padding:36px; }
}

/* ---------- footer ---------- */

footer{
  padding:80px 0 60px;
  border-top:1px solid var(--border);
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:24px;
}

footer h2{ font-size:1.8rem; }

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
}

.footer-links a{
  font-size:14.5px;
  text-decoration:none;
  color:var(--text-secondary);
}
.footer-links a:hover{ color:var(--text); }

.fine-print{
  margin-top:56px;
  font-size:12.5px;
  color:var(--text-muted);
}