:root {
  color-scheme: light;
  --ink: #1c2925;
  --muted: #63706a;
  --paper: #f6f7f3;
  --white: #fff;
  --line: #d9dfd8;
  --green: #315c4b;
  --green-dark: #244738;
  --coral: #d16b4a;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; padding-inline: max(5.5vw, 1.25rem); }
.site-header { height: 82px; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font-family: var(--serif); font-size: 1.7rem; font-weight: 600; text-decoration: none; }
.wordmark span { color: var(--coral); }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.8rem); }
.site-header nav a { color: var(--muted); font-size: .83rem; text-decoration: none; transition: color .18s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--coral); }
.site-header nav .nav-resume { padding: .65rem .9rem; border: 1px solid var(--line); color: var(--ink); }

.intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); max-width: 1440px; min-height: 640px; margin: auto; padding: 5rem max(8vw, 1.5rem) 6rem; overflow: hidden; }
.intro::before { position: absolute; z-index: 0; top: 4rem; right: 2%; width: min(42vw, 560px); aspect-ratio: 1; border: 1px solid #dce3db; border-radius: 50%; content: ""; }
.intro::after { position: absolute; z-index: 0; top: 8rem; right: 5%; width: min(34vw, 450px); aspect-ratio: 1; border: 1px dashed #dce3db; border-radius: 50%; content: ""; }
.intro-copy, .portrait-frame, .intro-index { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1.2rem; color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin: 0 .5rem .05rem 0; border-radius: 50%; background: var(--coral); }
h1, h2, p, figure { margin-top: 0; }
h1 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(3.5rem, 7.5vw, 5.5rem); font-weight: 400; letter-spacing: 0; line-height: .91; }
h1 em { color: var(--green); font-weight: 400; }
.role { margin-bottom: 1.2rem; font-size: clamp(1rem, 1.45vw, 1.2rem); font-weight: 700; }
.role span { color: var(--muted); font-weight: 400; }
.intro-summary { max-width: 530px; margin-bottom: 1.7rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; padding: 0 1.1rem; text-decoration: none; font-size: .83rem; font-weight: 600; }
.button-dark { background: var(--ink); color: var(--white); transition: background .2s ease, transform .2s ease; }
.button-dark:hover { background: var(--green); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--green-dark); font-size: .85rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--coral); }
.location { margin: 2rem 0 0; color: var(--muted); font-size: .78rem; }
.location span { margin-right: .35rem; color: var(--coral); font-size: 1rem; }
.contact-email { display: flex; align-items: center; gap: .65rem; margin: .8rem 0 0; color: var(--muted); font-size: .78rem; }
.contact-email img { width: 134px; height: auto; }
.portrait-frame { width: min(100%, 350px); justify-self: center; padding: 12px; background: var(--white); box-shadow: 18px 18px 0 var(--green); transform: rotate(1.5deg); animation: arrive .7s ease-out both; }
.portrait-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.portrait-frame figcaption { display: flex; justify-content: space-between; padding: .8rem .35rem .2rem; color: var(--muted); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.intro-index { position: absolute; right: max(2vw, 1rem); bottom: 2rem; color: #8b958e; font-size: .65rem; letter-spacing: .12em; writing-mode: vertical-rl; }

.focus-band { display: grid; grid-template-columns: minmax(130px, .5fr) 2fr; gap: 2rem; align-items: center; padding: 1.5rem max(8vw, 1.5rem); background: var(--green-dark); color: var(--white); }
.focus-band p { margin: 0; color: #bfd0c4; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.focus-content { display: grid; gap: 1rem; }
.focus-band .focus-content p { max-width: 760px; color: #d7e1da; font-size: .85rem; font-weight: 400; letter-spacing: normal; line-height: 1.65; text-transform: none; }
.focus-band .focus-content .focus-secondary { color: #b6c8bc; font-size: .75rem; }
.focus-band .focus-content .focus-secondary strong { color: #d7e1da; font-weight: 600; }
.focus-band ul { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.focus-band li { font-size: .9rem; }
.section-wrap { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 8vw, 9rem); max-width: 1230px; margin: auto; padding: 7rem max(5vw, 1.5rem); }
.about.section-wrap { grid-template-columns: minmax(220px, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.section-heading .eyebrow { margin-bottom: 1rem; }
h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 400; letter-spacing: 0; line-height: 1.05; }
.about-body { max-width: 650px; padding-top: 1.9rem; }
.about-body p { color: var(--muted); font-size: .95rem; line-height: 1.85; }
.about-body .lead { color: var(--ink); font-size: .95rem; line-height: 1.85; }
.about-body .text-link { margin-top: .4rem; }

.work-section { padding: 5rem max(5vw, 1.5rem); background: #e8eee8; }
.work-inner { max-width: 1230px; margin: auto; }
.work-heading { margin-bottom: 2rem; }
.work-heading h2 { max-width: 760px; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.highlight-card { display: grid; grid-template-rows: auto 1fr; gap: 1.5rem; min-width: 0; padding: 1.5rem; border: 1px solid var(--line); background: var(--white); }
.highlight-copy h3 { margin-bottom: .8rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.05; }
.highlight-copy p { margin-bottom: 1.25rem; color: var(--muted); line-height: 1.7; }
.chip-image { margin: 0; padding: 0; background: transparent; }
.chip-image figcaption a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.chip-image figcaption .figure-license { display: block; margin-top: .35rem; font-size: .65rem; }
.chip-image img { width: 100%; max-height: 390px; aspect-ratio: 1.25; object-fit: contain; background: #f3f3ef; }
.chip-image figcaption { padding: .85rem .2rem .1rem; color: var(--muted); font-size: .72rem; }
.education { padding-top: 7rem; padding-bottom: 7rem; }
.education-list { margin: 0; padding: 0; list-style: none; }
.education-list li { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 1rem; align-items: baseline; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.education-list li:first-child { border-top: 1px solid var(--line); }
.degree { font-size: .9rem; font-weight: 700; }
.school, .education-list time { color: var(--muted); font-size: .8rem; }

@media (max-width: 1200px) {
  .intro { grid-template-columns: minmax(0, 1.1fr) minmax(250px, .75fr); gap: clamp(2rem, 5vw, 4rem); }
  h1 { font-size: clamp(3.5rem, 5.7vw, 6rem); }
}
@media (max-width: 1000px) {
  .highlight-grid { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 3rem; }
  .portrait-frame { width: min(75%, 330px); justify-self: start; margin-left: 1rem; }
}

.closing-band { padding: 4.5rem max(8vw, 1.5rem); background: var(--coral); color: #fff; }
.closing-band .eyebrow { color: #fff2e9; }
.closing-band h2 { max-width: 680px; margin-bottom: 2.25rem; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.closing-links { display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; }
.closing-links a { display: inline-flex; gap: .6rem; align-items: center; color: var(--white); font-size: .9rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-footer { min-height: 90px; gap: 1.5rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: .76rem; }
.site-footer p span { padding: 0 .35rem; color: var(--coral); }
.site-footer > a:last-child { color: var(--muted); font-size: .76rem; text-decoration: none; }

@keyframes arrive { from { opacity: 0; transform: translateY(12px) rotate(1.5deg); } to { opacity: 1; transform: translateY(0) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 760px) {
  .site-header { height: auto; min-height: 72px; padding-block: .7rem; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .72rem; }
  .site-header nav .nav-resume { padding: .5rem .55rem; }
  .intro { grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 5rem; }
  .intro::before { top: auto; right: -7rem; bottom: 8rem; width: 78vw; }
  .intro::after { top: auto; right: -4rem; bottom: 10rem; width: 64vw; }
  .portrait-frame { width: min(75%, 330px); justify-self: start; margin-left: 1rem; }
  .focus-band { grid-template-columns: 1fr; gap: .8rem; }
  .focus-band ul { gap: .7rem 1.3rem; }
  .focus-band li { font-size: .8rem; }
  .section-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .about.section-wrap { grid-template-columns: 1fr; }
  .about-body { padding-top: 0; }
  .section-wrap, .work-section { padding-block: 4.5rem; }
  .education-list li { grid-template-columns: 1fr auto; gap: .45rem 1rem; }
  .school { grid-column: 1; }
  .education-list time { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 480px) {
  .site-header { align-items: flex-start; }
  .site-header nav { display: grid; grid-template-columns: repeat(2, auto); justify-items: end; gap: .5rem 1rem; }
  .site-header nav .nav-resume { grid-column: 2; }
  .intro { min-height: auto; }
  h1 { font-size: clamp(2.4rem, 12.5vw, 4.5rem); }
  .intro-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .intro-index { right: 1rem; bottom: 1rem; }
  .site-footer { flex-wrap: wrap; padding-block: 1.2rem; }
  .site-footer p { order: 3; width: 100%; }
}
