/* ===== Base ===== */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FAFAF7;
  color: #141414;
  font-family: 'Instrument Sans', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #141414; color: #FAFAF7; }
img { max-width: 100%; }

.eyebrow {
  margin: 0 0 24px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.45);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  background: #141414;
  color: #FAFAF7;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-nav { font-size: 15px; padding: 10px 20px; }
.btn-nav:hover { transform: scale(1.04); background: #2b2b2b; }
.btn-lg { font-size: 17px; padding: 16px 32px; }
.btn-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 20, 20, 0.22); }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-weight: 600;
  font-size: 17px;
  color: #141414;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: #141414;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 1; }
.nav-spacer { height: 73px; }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #141414;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding-bottom: 64px; }
.hero-media { position: relative; overflow: hidden; }
#hero-img {
  display: block;
  width: 100%;
  height: min(96vh, 900px);
  object-fit: cover;
  object-position: top center;
  will-change: transform, opacity;
}
.hero-blur {
  position: absolute;
  inset: 0;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(to bottom, transparent 52%, black 82%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 52%, black 82%);
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(250,250,247,0) 0%, rgba(250,250,247,0.55) 55%, rgba(250,250,247,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  margin: -240px auto 0;
  max-width: 1360px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 64px;
  flex-wrap: wrap;
}
.hero-content h1 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 640px;
  text-wrap: balance;
}
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 420px;
  padding-bottom: 8px;
}
.hero-side p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(20, 20, 20, 0.75);
  text-wrap: pretty;
}

/* ===== Quote ===== */
.quote {
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  background: #F3F2ED;
}
.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote-inner h2 {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.quote-author {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.5);
}

/* ===== Bio ===== */
.bio { max-width: 1200px; margin: 0 auto; padding: 112px 24px; }
.bio-heading {
  margin: 0 0 56px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 900px;
  text-wrap: balance;
}
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.bio-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(20, 20, 20, 0.75);
}
.bio-text p { margin: 0; }
.bio-list { display: flex; flex-direction: column; gap: 10px; }
.bio-list-title { font-weight: 700; color: #141414; }
.bio-photo {
  border-radius: 16px;
  min-height: 420px;
  align-self: stretch;
}

/* ===== Parallax ===== */
.parallax-wrap { overflow: hidden; position: relative; }
.parallax-img {
  display: block;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: top center;
  will-change: transform;
}

/* ===== Experience ===== */
.experience {
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  background: #F3F2ED;
}
.experience-inner { max-width: 1200px; margin: 0 auto; padding: 112px 24px; }
.experience-inner .eyebrow { margin-bottom: 48px; }
.jobs { display: flex; flex-direction: column; }
.job {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}
.job-logo {
  width: 260px;
  height: 260px;
  border-radius: 24px;
  object-fit: contain;
  padding: 28px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 4px 20px rgba(20, 20, 20, 0.1);
}
.job-meta { display: flex; flex-direction: column; gap: 6px; }
.job-role {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.5);
}
.job-meta h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.job-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(20, 20, 20, 0.7);
}
.experience-photo { height: min(70vh, 640px); }

/* ===== CTA ===== */
.cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 128px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.cta h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 760px;
  text-wrap: balance;
}

/* ===== Footer ===== */
.footer { border-top: 1px solid rgba(20, 20, 20, 0.08); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { margin: 0; font-weight: 600; font-size: 16px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(20, 20, 20, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #141414; }
.footer-copy { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; }
.footer-copy p { margin: 0; font-size: 13px; color: rgba(20, 20, 20, 0.45); }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .hero-content { margin-top: -160px; }
  .bio-grid { grid-template-columns: 1fr; }
  .job {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: start;
  }
  .job-logo { width: 180px; height: 180px; padding: 20px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    background: rgba(250, 250, 247, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { font-size: 17px; opacity: 1; padding: 8px 0; }
  .btn-nav { margin-top: 8px; }
}
@media (max-width: 600px) {
  .hero-content { margin-top: -100px; }
}
