/* Editorial balance: warm paper, ink, restrained teal. */
:root { --ink: #f7f6f2; --ink-2: #efeee8; --paper: #182c3c; --muted: #626d71; --cyan: #286b69; --line: #dbded8; --max: 1140px; }
body { background: #f7f6f2; }
::selection { background: #c9ded6; color: #182c3c; }
.site-header { height: 90px; }
.brand-mark { background: #182c3c; color: #fff; border-color: #182c3c; border-radius: 10px 10px 10px 2px; }
.brand-copy strong { font-weight: 700; }
.site-nav a { position: relative; }
.site-nav a.active:not(.nav-cta)::after { content: ''; position: absolute; bottom: -7px; left: 0; width: 18px; height: 2px; background: #286b69; }
.site-nav .nav-cta { border-color: #bcc8c4; background: #eeefea; }
.hero { grid-template-columns: 1.15fr .85fr; gap: 5rem; padding-block: 5.5rem; }
.hero h1 { font-size: clamp(3rem, 5.2vw, 4.9rem); line-height: 1.06; letter-spacing: -.06em; }
.hero h1 em { color: #286b69; }
.hero-intro { max-width: 540px; line-height: 1.8; }
.eyebrow { padding: .4rem .7rem; border: 1px solid #d7e0d9; background: #edf2ec; border-radius: 30px; font-size: .73rem; color: #415b50; }
.status-dot { background: #3f7c62; }
.hero-actions { gap: .7rem; }
.button { padding: .9rem 1.05rem; border-radius: 6px; }
.button-primary { background: #182c3c; border-color: #182c3c; }
.button-primary:hover { background: #286b69; border-color: #286b69; }
.button-secondary { background: #fcfcf9; }
.quick-facts { gap: .6rem; margin-top: 2.2rem; }
.quick-facts strong { font-size: .75rem; }
.hero-visual { padding: 20px 0 28px 20px; }
.hero-visual::before { content: ''; inset: 0 24px 0 0; border: 0; border-radius: 100px 8px 8px 8px; background: #e2e8e1; transform: none; }
.portrait-frame { width: 100%; max-width: 340px; aspect-ratio: .79; border: 0; border-radius: 88px 6px 6px 6px; margin-left: auto; margin-right: 0; box-shadow: 0 15px 40px rgba(24,44,60,.09); }
.portrait-frame img { filter: saturate(.8); }
.section-shell { padding-block: 5rem; }
.section-index { display: flex; align-items: center; gap: .75rem; color: #526963; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.section-index::before { content: ''; width: 22px; height: 1px; background: #8da69a; flex-shrink: 0; }
.statement h2, .section-heading h2, .contact h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.04em; line-height: 1.2; }
.statement { grid-template-columns: 150px 1fr; }
.statement h2 span, .section-heading h2 span { color: #657772; }
.traits span { padding: .35rem .7rem; border: 1px solid #dce1d8; border-radius: 4px; color: #51635a; font-size: .76rem; }
.experience, .expertise { grid-template-columns: 265px 1fr; gap: 4rem; }
.timeline { border-top: 0; }
.timeline-item { padding: 0 0 2rem; margin-bottom: 2rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-date { color: #63776a; font-size: .74rem; }
.timeline h3 { font-size: 1.35rem; }
.experience-logo { box-shadow: 0 2px 5px #182c3c08; }
.projects-section { background: #182c3c; color: #f4f5ef; border: 0; }
.projects-section .section-index { color: #adc3b7; }
.projects-section .section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2.8rem; }
.projects-section .section-heading h2 span { color: #a9c3b8; }
.projects-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2rem; }
.project-card { min-height: 280px; padding: 1.8rem; background: #f7f6f2; color: #182c3c; border: 1px solid #e5e8e1; border-radius: 8px; transition: border-color .2s; }
.project-card:hover { background: #f7f6f2; border-color: #7eaba0; }
.project-featured { grid-row: span 2; min-height: 560px; background: #223d4d; color: #fff; border-color: #3b5360; }
.project-featured:hover { background: #223d4d; border-color: #98bcae; }
.project-top { justify-content: space-between; }
.project-number { font: .75rem 'DM Mono', monospace; }
.project-featured .project-number, .project-featured .project-year { color: #b9c9cf; }
.project-featured .project-type { color: #afd0bc; }
.project-featured p:not(.project-type) { color: #d1dbe0; }
.project-featured .tag-row span { color: #d4e2dc; border-color: #526975; }
.project-card h3 { font-size: 1.85rem; }
.project-featured h3 { font-size: 2.5rem; }
.project-icon { display: flex; justify-content: center; align-items: center; width: 100%; height: 140px; font-size: 6rem; color: #a2c7b4; transform: none; text-shadow: none; opacity: .8; }
.project-logo-wrap { right: 1.8rem; top: 3.5rem; }
.project-logo { width: 64px; height: 64px; border: 0; }
.project-card:has(.project-logo) > div:not(.project-logo-wrap) { padding-right: 0; }
.project-card:has(.project-logo) > div:nth-of-type(3) { padding-right: 80px; }
.project-type { max-width: 100%; }
.tag-row { margin-top: 1.2rem; }
.skill-group { padding-block: 1.6rem; }
.skill-header > span { color: #286b69; }
.skill-list span { background: #eaece5; color: #45594d; }
.credentials-section { background: #eeefe9; }
.credential-grid { gap: 5rem; }
.education article, .cert-list article { padding-block: 1.4rem; }
.cert-list article h3 { margin-bottom: .4rem; }
.cert-list article:first-child .issuer-logo { display: none; }
.contact { margin-block: 3rem; padding: 3rem; border: 1px solid #d9e0d7; border-radius: 10px; background: #e7ede4; }
.contact-grid { gap: 3rem; }
.contact h2 { font-size: clamp(1.8rem, 2.7vw, 2.5rem); }
.contact h2 span { color: #577360; }
.email-link { border-color: #bacaba; }
footer { padding-block: 1.6rem; }
@media (max-width: 1000px) {
  .hero { gap: 2.5rem; }
  .hero h1 { font-size: 3.6rem; }
  .experience, .expertise { grid-template-columns: 220px 1fr; gap: 2rem; }
  .credential-grid { gap: 2.5rem; }
}
@media (max-width: 900px) {
  .site-nav { background: #f7f6f2; }
  .site-nav a.active::after { display: none; }
  .hero { grid-template-columns: 1fr .7fr; padding-block: 3.5rem; }
  .hero-actions { flex-direction: column; }
  .statement, .experience, .expertise { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured { grid-row: auto; min-height: 0; }
  .project-icon { height: 100px; font-size: 5rem; }
}
@media (max-width: 640px) {
  .site-header { height: 78px; }
  .hero { grid-template-columns: 1fr; padding-block: 2.5rem; gap: 2.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 3.7rem); }
  .hero-visual { width: min(100%, 300px); padding: 12px 0 16px 16px; margin: 0 auto; }
  .portrait-frame { width: 100%; max-width: 250px; aspect-ratio: 1; border-radius: 58px 5px 5px 5px; }
  .hero-visual::before { border-radius: 70px 5px 5px 5px; }
  .section-shell { padding-block: 3rem; }
  .projects-section .section-heading { display: block; }
  .project-card { padding: 1.4rem; min-height: 0; }
  .project-logo-wrap { right: 1.4rem; top: 3.5rem; }
  .project-card:has(.project-logo) .project-top { padding-right: 0 !important; }
  .project-card:has(.project-logo) > div:nth-of-type(3) { padding-right: 65px; }
  .project-logo { width: 50px; height: 50px; }
  .project-card p:not(.project-type) { font-size: .88rem; }
  .contact { padding: 1.6rem; margin-block: 1.5rem; }
  .contact-grid { gap: 1.5rem; }
}
