/* Inter keeps the evidence readable; a single serif outcome phrase gives key
   headings contrast. Both fonts are self-hosted under the SIL Open Font License. */
@font-face {
  font-family: 'Inter';
  src: url('assets/inter-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --editorial: 'Instrument Serif', Georgia, serif;
  --evidence-gradient: linear-gradient(110deg, var(--ink) 5%, var(--accent) 72%, var(--accent-2));
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01';
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; }
p { text-wrap: pretty; }
.site-header nav a { font-size: 12px; font-weight: 500; letter-spacing: -.01em; }
.header-contact, .button { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: -.015em; }
.hero-social, .social-links { font-size: 13px; font-weight: 500; }
.eyebrow, .research-eyebrow, .pl-kicker { letter-spacing: .11em; }

/* The name stays clear and confident; the quieter introduction establishes scale. */
.hero h1.hero-identity {
  font-family: var(--display);
  font-size: clamp(57px, 6.15vw, 87px);
  font-weight: 610;
  letter-spacing: -.065em;
  line-height: 1.04;
  margin: 20px 0 29px;
}
.hero h1.hero-identity .identity-intro {
  font-family: var(--font);
  font-size: .32em;
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -.035em;
  margin-bottom: 10px;
  color: var(--muted);
}
.hero h1.hero-identity .identity-word {
  padding-right: .04em;
  background-image: var(--evidence-gradient);
}
.hero .hero-positioning {
  font-family: var(--display);
  font-size: clamp(22px, 2.05vw, 28px);
  font-weight: 530;
  letter-spacing: -.035em;
  line-height: 1.45;
  max-width: 550px;
}
.hero-intro { font-size: 17px; line-height: 1.8; letter-spacing: -.018em; max-width: 505px; }
.hero-sub { font-size: 14px; line-height: 1.8; letter-spacing: -.01em; }
.hero .eyebrow { font-size: 11px; }
.hero-actions { margin-top: 30px; }

/* Section titles use one consistent scale. Color highlights signal the outcome. */
.section-heading h2,
.research-section-heading h2,
.pl-section-heading h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.05vw, 56px);
  font-weight: 560;
  letter-spacing: -.055em;
  line-height: 1.14;
}
.section-heading h2 > span,
.pl-section-heading h2 > span {
  background: var(--evidence-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.section-heading > p,
.research-section-heading > p,
.pl-section-heading > p {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.8;
}
.research-section-heading h2 em,
.section-heading h2 > .editorial-accent,
.pl-section-heading h2 > span,
.contact-main h2 > span {
  font-family: var(--editorial);
  font-size: 1.13em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
  background: var(--evidence-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.research-section-heading h2 em,
.section-heading h2 > .editorial-accent,
.pl-section-heading h2 > span { padding-right: .12em; }

/* One quieter editorial note beneath the name; company and project names stay
   in Inter, and body copy never inherits this treatment. */
.hero-positioning > .editorial-accent {
  font-family: var(--editorial);
  font-size: 1.16em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  padding-right: .1em;
  background: var(--evidence-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Dense work history reads as a series of outcomes, with body copy kept neutral. */
.experience-card-header h3 { font-size: 28px; font-weight: 620; letter-spacing: -.045em; }
.experience-card-header p { font-size: 14px; font-weight: 500; letter-spacing: -.012em; }
.experience-summary { font-size: 17px; line-height: 1.8; letter-spacing: -.015em; }
.experience-points h4 { font-size: 18px; font-weight: 610; line-height: 1.4; letter-spacing: -.028em; }
.experience-points p { font-size: 15.5px; line-height: 1.85; letter-spacing: -.012em; }
.experience-points p strong { font-family: var(--display); font-weight: 650; color: var(--accent); }
.experience-points li { padding-top: 27px; }
.experience-subroles { line-height: 1.9; }
.experience-index > a { font-size: 14px; font-weight: 500; }

.research-story-intro h3 { font-size: clamp(30px, 3.1vw, 43px); letter-spacing: -.045em; font-weight: 530; }
.research-chapter h4 { font-size: 23px; font-weight: 580; line-height: 1.35; letter-spacing: -.035em; }
.research-chapter-main > p,
.research-story-summary p { font-size: 16px; line-height: 1.8; letter-spacing: -.015em; }
.research-publications h4 { font-size: 21px; font-weight: 560; line-height: 1.5; letter-spacing: -.025em; }
.research-patents h4 { font-size: 17px; font-weight: 550; line-height: 1.55; letter-spacing: -.015em; }
.research-scholar-metrics dd,
.research-story-number strong,
.research-stat strong,
.pl-dialog-facts strong {
  font-family: var(--display);
  font-weight: 580;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  background: var(--evidence-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.research-scholar-intro h3 { letter-spacing: -.035em; font-weight: 560; }
.research-tabs button { font-size: 14px; letter-spacing: -.015em; font-weight: 550; }

.pl-project h3 { font-size: clamp(32px, 3.2vw, 45px); font-weight: 600; letter-spacing: -.05em; line-height: 1.13; }
.pl-intro { font-size: 18px; line-height: 1.75; letter-spacing: -.02em; }
.pl-contribution, .pl-evidence-claim { font-size: 15.5px; line-height: 1.85; letter-spacing: -.012em; }
.pl-research-values strong, .pl-knowledge-scale strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.skill-card h3 { font-size: 27px; font-weight: 590; line-height: 1.25; letter-spacing: -.04em; }
.skill-card > p { font-size: 15.5px; line-height: 1.85; letter-spacing: -.015em; }
.deployment-band h3 { font-size: 30px; font-weight: 560; letter-spacing: -.045em; }
.education-card h3 { font-size: 25px; font-weight: 590; line-height: 1.25; letter-spacing: -.035em; }
.service-card h3 { font-size: 24px; font-weight: 570; letter-spacing: -.04em; line-height: 1.3; }
.service-card p { font-size: 15.5px; letter-spacing: -.01em; line-height: 1.85; }
.service-featured h3 { font-size: 36px; }
.service-featured p { font-size: 17px; }
.contact-main h2 { font-size: clamp(42px, 5.6vw, 78px); font-weight: 530; letter-spacing: -.055em; line-height: 1.15; }
.contact-main h2 > span { padding-right: .12em; }
.footer-monogram { font-family: var(--display); font-weight: 550; letter-spacing: -.055em; }

@media (max-width:1100px) and (min-width:781px) {
  .hero h1.hero-identity { font-size: clamp(48px, 6.5vw, 70px); }
  .hero .hero-positioning { font-size: 22px; }
  .hero-intro { font-size: 16px; }
  .section-heading h2, .research-section-heading h2, .pl-section-heading h2 { font-size: 43px; }
  .experience-card-header h3 { font-size: 25px; }
}
@media (max-width:780px) {
  .hero h1.hero-identity { font-size: clamp(60px, 10.9vw, 83px); }
  .hero .hero-positioning { font-size: 25px; }
  .hero-intro { font-size: 17px; }
  .section-heading h2, .research-section-heading h2, .pl-section-heading h2 { font-size: clamp(36px, 7vw, 49px); }
  .section-heading > p, .research-section-heading > p, .pl-section-heading > p { font-size: 16px; }
  .experience-card-header h3 { font-size: 26px; }
  .experience-points p { font-size: 15.5px; }
  .contact-main h2 { font-size: clamp(40px, 7vw, 56px); }
}
@media (max-width:520px) {
  .hero h1.hero-identity { font-size: clamp(47px, 12.4vw, 64px); margin-bottom: 24px; letter-spacing: -.06em; }
  .hero h1.hero-identity .identity-intro { font-size: .4em; margin-bottom: 9px; }
  .hero .hero-positioning { font-size: 22px; line-height: 1.5; }
  .hero-intro { font-size: 16px; line-height: 1.8; }
  .hero-sub { font-size: 13px; }
  .hero-social { font-size: 12px; gap: 19px; }
  .hero .eyebrow { font-size: 10px; }
  .section-heading h2, .research-section-heading h2, .pl-section-heading h2 { font-size: clamp(32px, 8.7vw, 42px); letter-spacing: -.05em; }
  .research-section-heading h2 em { font-size: 1.13em; }
  .experience-summary { font-size: 16px; }
  .experience-points h4 { font-size: 17px; }
  .experience-points p, .skill-card > p, .service-card p { font-size: 15px; line-height: 1.8; }
  .experience-card-header h3 { font-size: 24px; }
  .experience-card-header p { font-size: 12px; }
  .experience-points li { gap: 12px; }
  .research-tabs button { font-size: 13px; }
  .research-publications h4 { font-size: 19px; }
  .research-patents h4 { font-size: 16px; }
  .pl-project h3 { font-size: 33px; }
  .pl-intro { font-size: 17px; }
  .pl-contribution, .pl-evidence-claim { font-size: 15px; }
  .skill-card h3 { font-size: 26px; }
  .service-featured h3 { font-size: 31px; }
  .contact-main h2 { font-size: clamp(32px, 8.1vw, 42px); }
}
@media print {
  .hero h1.hero-identity { font-size: 36pt; }
  .section-heading h2, .research-section-heading h2, .pl-section-heading h2 { font-size: 22pt; }
  .section-heading h2 > span, .pl-section-heading h2 > span,
  .hero-positioning > .editorial-accent,
  .research-section-heading h2 em, .contact-main h2 > span,
  .research-scholar-metrics dd, .research-story-number strong,
  .research-stat strong, .pl-dialog-facts strong {
    background: none; color: #111;
  }
}
