:root {
  color-scheme: light;
  --paper: #f7faf9;
  --surface: #fff;
  --ink: #173b36;
  --muted: #4e645f;
  --green: #163c36;
  --accent: #39826b;
  --line: #cedbd5;
  --soft: #eaf2ed;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", ui-sans-serif, system-ui, sans-serif; font-size: 1rem; line-height: 1.7; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b56a27; outline-offset: 5px; }
::selection { background: #d2e9dc; color: var(--green); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(2rem, 3.3vw, 2.8rem); line-height: 1.2; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.4; letter-spacing: -0.02em; }
h4 { font-size: 1rem; line-height: 1.5; font-weight: 650; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 18px; background: var(--green); color: white; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 98px; display: flex; justify-content: space-between; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.monogram { font-family: Georgia, serif; font-size: 2.6rem; font-weight: 400; letter-spacing: -0.1em; padding-right: 4px; }
nav { display: flex; align-items: center; gap: 24px; font-size: 0.875rem; }
nav a { padding-block: 12px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
nav .nav-contact { border: 1px solid var(--green); border-radius: 5px; padding: 9px 18px; }
.eyebrow { font-size: 0.875rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 90px; align-items: center; padding-block: 60px; }
h1 { font-size: clamp(4rem, 6.4vw, 5.8rem); letter-spacing: -0.06em; line-height: 1; margin-bottom: 24px; }
.accent { color: var(--accent); }
.hero-line { font-size: clamp(1.4rem, 2vw, 1.65rem); line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero-description { max-width: 570px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; border: 1px solid var(--green); border-radius: 5px; padding: 12px 18px; font-size: 0.9375rem; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--green); color: white; }
.button.primary:hover { background: #285c50; }
.button.secondary { background: transparent; border-color: #819c90; }
.button.secondary:hover { background: var(--soft); }
.button-detail { font-size: 0.8125rem; font-weight: 400; }
.hero-note { max-width: 540px; margin-top: 22px; font-size: 0.875rem; color: var(--muted); }
.portrait { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 0.95; object-fit: cover; object-position: 50% 50%; }
.portrait figcaption { display: grid; gap: 4px; padding: 20px 24px; }
.portrait figcaption strong { font-size: 1rem; font-weight: 650; }
.portrait figcaption span { font-size: 0.875rem; color: var(--muted); }
.quick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); padding-block: 26px; gap: 28px; }
.quick-facts > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.quick-facts span { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 6px; }
.quick-facts strong { display: block; font-size: 1rem; font-weight: 650; line-height: 1.5; }
.quick-facts p { font-size: 0.875rem; color: var(--muted); margin-top: 5px; }
.section { padding-block: 78px; position: relative; }
.about-layout, .experience-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 84px; }
.section-intro > p:not(.eyebrow) { color: var(--muted); margin-top: 22px; max-width: 330px; }
.about-copy > p { color: var(--muted); margin-bottom: 18px; }
.about-copy .large-copy { color: var(--ink); font-size: 1.4rem; line-height: 1.5; letter-spacing: -0.02em; }
.practical-section { padding-bottom: 76px; }
.practical-section h2 { font-size: 2rem; }
.practical-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.practical-grid article { border-top: 3px solid var(--accent); padding-top: 22px; }
.practical-grid h3 { font-size: 1.125rem; }
.practical-grid p { color: var(--muted); margin-top: 12px; }
.experience-background { background: var(--soft); border-block: 1px solid var(--line); }
.experience-list { list-style: none; padding: 0; margin: 0; }
.experience-list li { padding-block: 24px; border-bottom: 1px solid var(--line); }
.experience-list li:first-child { padding-top: 0; }
.role-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.current-label, .study-label { display: inline-block; color: #244e3f; background: #d6e8d9; border-radius: 4px; padding: 3px 9px; font-size: 0.875rem; }
.role-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-block: 7px 12px; font-size: 0.875rem; color: var(--muted); }
.experience-list li > p:last-child { color: var(--muted); }
.education { margin-top: 40px; padding-top: 28px; border-top: 1px solid #b8cec1; }
.education > h3 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; }
.education > div + div { margin-top: 24px; }
.education p { font-size: 0.9375rem; color: var(--muted); margin-top: 6px; }
.study-label { margin-top: 8px; }
.more-experience { margin-top: 22px; }
.more-experience summary { padding-block: 12px; cursor: pointer; font-size: 0.9375rem; font-weight: 600; }
.more-experience > div { margin-top: 22px; padding-left: 20px; border-left: 2px solid #a7c5b4; }
.more-experience h3 { font-size: 1.125rem; }
.more-experience > div > p:last-child { color: var(--muted); }
.anchor-alias { position: absolute; top: 0; }
.text-link { font-size: 0.9375rem; font-weight: 600; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.section-heading > p { color: var(--muted); }
.section-heading .text-link { flex-shrink: 0; padding-bottom: 3px; }
.updated-note { font-size: 0.875rem; }
.resume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.resume-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.resume-card.dental-resume { border-top: 4px solid var(--accent); padding-top: 29px; }
.resume-card .eyebrow { margin-bottom: 16px; }
.resume-card h3 { font-size: 1.45rem; max-width: 380px; }
.resume-card > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; }
.resume-card .training-note { font-size: 0.875rem; padding-left: 14px; border-left: 2px solid var(--line); }
.resume-card .button { margin-top: auto; }
.resume-card > p:last-of-type { margin-bottom: 26px; }
.availability { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding-top: 30px; }
.availability h3 { font-size: 1rem; }
.availability p { font-size: 0.9375rem; color: var(--muted); }
#projects { border-top: 1px solid var(--line); }
.section-description { color: var(--muted); max-width: 700px; margin-top: 22px; }
.project-list { margin-top: 36px; border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: start; gap: 36px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.project-type { font-size: 0.875rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.project-row h3 { font-size: 1.4rem; }
.project-row p:last-child { color: var(--muted); max-width: 760px; margin-top: 10px; }
.project-links { display: flex; flex-direction: column; align-items: flex-end; padding-top: 8px; gap: 10px; }
.project-links a { font-size: 0.9375rem; padding: 4px; }
.project-links a:first-child { font-weight: 600; }
.project-links a:last-child { font-size: 0.875rem; color: var(--muted); }
.interests-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 84px; padding-bottom: 78px; }
.interests-section > div:last-child p { color: var(--muted); margin-bottom: 18px; }
.contact-background { background: var(--green); color: #f6fbf8; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; }
.contact-copy .eyebrow { color: #bed7ca; }
.contact-copy h2 { font-size: clamp(2.5rem, 3.6vw, 3.25rem); }
.contact-copy > p:not(.eyebrow) { color: #d0e0d7; margin-top: 24px; max-width: 370px; }
.email-link { display: inline-block; font-size: 1rem; margin-top: 24px; overflow-wrap: anywhere; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 24px; font-size: 0.9375rem; margin-top: 20px; }
.contact-copy .location-note { font-size: 0.875rem; margin-top: 34px; }
.contact-form { background: var(--surface); border-radius: 9px; padding: 30px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { display: block; width: 100%; padding: 10px 12px; min-height: 48px; border: 1px solid #91ac9f; border-radius: 4px; color: var(--ink); background: #fff; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 140px; }
.form-trap { display: none; }
.form-note { font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.form-alternative { font-size: 0.875rem; color: var(--muted); margin-top: 16px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; color: var(--muted); font-size: 0.875rem; }
.message-page { min-height: calc(100svh - 192px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 70px; max-width: 700px; }
.message-page h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.1; }
.message-page > p:not(.eyebrow) { color: var(--muted); max-width: 530px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .site-header { flex-wrap: wrap; padding-block: 16px; gap: 10px 24px; }
  .hero { gap: 40px; }
  .about-layout, .experience-layout, .contact-layout, .interests-section { gap: 40px; }
  .quick-facts { gap: 20px; }
  .quick-facts > div + div { padding-left: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .resume-card { padding: 26px; }
  .resume-card.dental-resume { padding-top: 23px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { flex-direction: column; align-items: flex-start; padding-block: 16px; }
  .brand { font-size: 0.9375rem; }
  .monogram { font-size: 2.2rem; }
  nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 20px; }
  nav .nav-contact { border: 0; padding: 12px 0; }
  .hero { grid-template-columns: 1fr; padding-block: 40px; gap: 30px; }
  h1 { font-size: clamp(3.6rem, 14vw, 5.5rem); }
  .hero-copy { max-width: 580px; }
  .portrait { max-width: 420px; }
  .portrait img { aspect-ratio: 1.18; object-position: 50% 38%; }
  .portrait figcaption { padding: 16px 20px; }
  .quick-facts { grid-template-columns: 1fr; padding-block: 0; gap: 0; }
  .quick-facts > div { padding-block: 20px; }
  .quick-facts > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section { padding-block: 52px; }
  .about-layout, .experience-layout, .contact-layout, .interests-section { grid-template-columns: 1fr; gap: 30px; }
  .practical-section { padding-bottom: 52px; }
  .practical-grid, .resume-grid { grid-template-columns: 1fr; gap: 22px; }
  .practical-grid { margin-top: 24px; }
  .practical-grid article { padding-top: 18px; }
  .practical-grid p { margin-top: 8px; }
  .section-intro > p:not(.eyebrow) { max-width: 100%; margin-top: 18px; }
  .eyebrow { margin-bottom: 16px; }
  .education { margin-top: 28px; }
  .experience-content { border-top: 1px solid #b8cec1; padding-top: 28px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .resume-grid { margin-top: 28px; }
  .availability { grid-template-columns: 1fr; gap: 12px; }
  .project-row { grid-template-columns: 1fr; gap: 16px; padding-block: 24px; }
  .project-links { flex-direction: row; align-items: center; gap: 24px; padding-top: 0; }
  .interests-section { padding-bottom: 52px; }
  .contact-copy > p:not(.eyebrow) { max-width: 100%; }
  .contact-copy .location-note { margin-top: 25px; }
  .contact-form { padding: 24px; }
  .site-footer p:nth-child(2) { display: none; }
}
@media (max-width: 420px) {
  nav { column-gap: 16px; }
  .hero .actions { display: grid; grid-template-columns: 1fr; }
  .hero .button { justify-content: center; }
  .role-heading { flex-wrap: wrap; gap: 8px; }
  .resume-card, .contact-form { padding: 20px; }
  .resume-card.dental-resume { padding-top: 17px; }
  .resume-card .button { width: 100%; padding-inline: 12px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
