@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --slate: #162832;
  --ink: #182a34;
  --muted: #465e63;
  --teal: #32686a;
  --aqua: #e8f0f0;
  --line: #cbdad9;
  --paper: #fbfcfb;
  --serif: "Instrument Serif", Georgia, serif;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, select:focus-visible { outline: 3px solid #a8622d; outline-offset: 4px; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 22px; }
.wrap { width: min(100% - 64px, 1120px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; left: 12px; top: 12px; transform: translateY(-200%); padding: 12px 18px; background: white; color: var(--ink); }
.skip-link:focus { transform: none; }
.eyebrow, .section-title { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--teal); }
.hero-copy, .slate-profile { font-size: clamp(1rem, 1.55vw, 1.15rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 10px 16px; border: 1px solid transparent; text-decoration: none; font-size: .86rem; font-weight: 750; }
.button.primary { background: var(--slate); color: white; }
.button.primary:hover { background: var(--teal); }
.button.secondary { border-color: var(--line); }
.button.secondary:hover { background: var(--aqua); color: var(--ink); }
.portrait { aspect-ratio: 1; object-fit: cover; border-radius: 50%; height: auto; }

.review-bar { background: #eff3f2; color: #294449; border-bottom: 1px solid #dce6e4; }
.review-inner, .site-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-inner { min-height: 47px; font-size: .78rem; font-weight: 700; }
.review-inner > a { display: inline-flex; align-items: center; gap: 8px; padding-block: 8px; text-decoration: none; }
.review-inner > a:hover { text-decoration: underline; }
.design-picker { display: flex; align-items: center; gap: 8px; }
.design-picker select { font: inherit; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: 5px 7px; }
.site-header { border-bottom: 1px solid var(--line); }
.site-nav { min-height: 66px; }
.monogram { display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-size: .78rem; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.site-nav nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(10px, 3vw, 34px); row-gap: 0; }
.site-nav nav a { padding-block: 8px; text-decoration: none; font-size: .83rem; font-weight: 700; }
.site-nav nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { color: var(--teal); }

.resume-content, .timeline-content { padding-bottom: 44px; }
.section-title { padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--teal); }
.results, .experience, .background { margin-top: 64px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric { padding: 23px 23px 24px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-value { display: block; margin-bottom: 5px; font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 750; line-height: 1; letter-spacing: -.065em; }
.metric-label { display: block; font-size: .99rem; font-weight: 800; }
.metric dd { max-width: 31ch; margin-top: 6px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.roles { margin: 0; padding: 0; list-style: none; }
.role { display: grid; grid-template-columns: minmax(130px, .26fr) 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.role-date { color: var(--teal); font-size: .83rem; font-weight: 750; line-height: 1.55; }
.role-details h3 { margin-top: -4px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.035em; }
.role-company { margin: 3px 0 12px; font-size: .92rem; font-weight: 800; }
.role-company span { color: var(--muted); font-weight: 500; }
.role-details ul { margin: 0; padding-left: 1.12em; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.role-details li + li { margin-top: 6px; }
.credentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding-top: 24px; }
.credentials h3 { margin-bottom: 14px; font-size: 1rem; }
.credentials dl { display: grid; gap: 12px; }
.credentials dt { font-size: .9rem; font-weight: 750; }
.credentials dd { margin-top: 3px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.contact-section { margin-top: 55px; background: var(--aqua); padding: clamp(22px, 4vw, 39px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.contact-section h2 { font-size: clamp(1.65rem, 4vw, 2.15rem); line-height: 1.15; letter-spacing: -.045em; }
.contact-section p { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.contact-links { display: grid; gap: 7px; min-width: 0; }
.contact-links a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; text-underline-offset: 4px; font-size: .95rem; font-weight: 750; }
.contact-links a:hover, .resume-text:hover { color: var(--teal); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.site-footer a { text-decoration: none; }

.slate .site-header, .slate .hero { background: var(--slate); color: white; }
.slate .site-header { border-color: #344b55; }
.slate .nav-contact, .slate .eyebrow { color: #add3ce; }
.slate .hero-inner { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: clamp(24px, 6vw, 78px); padding-block: clamp(44px, 7vw, 91px); }
.slate .intro { border-left: 4px solid #6da09e; padding-left: clamp(16px, 3vw, 34px); }
.slate h1 { margin-block: 10px 16px; font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: .9; letter-spacing: -.09em; }
.slate .focus { max-width: 44ch; margin-bottom: 24px; color: #dae8e8; line-height: 1.45; }
.slate .button.primary { background: #cbebdf; color: var(--slate); }
.slate .button.primary:hover { background: #ebfaf3; }
.slate .button.secondary { border-color: #688088; }
.slate-profile { padding: clamp(18px, 3vw, 30px); background: #203741; border-top: 1px solid #6d9599; color: #e4efee; }
.slate-profile .eyebrow { margin-bottom: 12px; }
.slate-profile .location { margin-top: 17px; font-size: .82rem; font-weight: 700; color: #add3ce; }
.slate .results { margin-top: 43px; }
.slate .metrics { margin-top: 14px; background: var(--aqua); }

.editorial { --paper: #f8f5ef; --line: #d4dcd3; background: var(--paper); }
.editorial .hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(38px, 6vw, 74px); }
.editorial h1 { margin-block: 17px 19px; font-family: var(--serif); font-weight: 400; font-size: clamp(4.2rem, 10.5vw, 9.35rem); line-height: .76; letter-spacing: -.025em; }
.editorial h1 em { color: var(--teal); font-weight: inherit; }
.editorial .hero-copy { max-width: 43ch; color: var(--muted); }
.editorial .actions { margin-top: 24px; }
.editorial .button { border-radius: 99px; padding-inline: 19px; }
.portrait-panel { display: grid; place-items: center; align-content: center; gap: 16px; min-width: 0; aspect-ratio: 1 / 1.08; align-self: center; padding: 25px; border: 1px solid #c3d1c8; background: #e3ede4; border-radius: 50% 50% 5px 5px; }
.portrait-panel .portrait { width: 78%; outline: 1px solid #94aaa1; outline-offset: 7px; }
.portrait-panel figcaption { text-align: center; color: var(--teal); font-size: .8rem; font-weight: 750; }
.editorial .results { margin-top: 4px; }
.editorial .metric-value, .editorial .contact-section h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
.editorial .contact-section h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.editorial .contact-section { background: #dfeae0; }

.performance { --ink: #f1fbf7; --muted: #bbcfcc; --teal: #a4ded1; --line: #3c5c5d; --aqua: #1c3e3f; color: var(--ink); background: #10282a; }
.performance .wrap { width: min(100% - 64px, 1192px); }
.performance .review-inner { color: #294449; }
.performance .design-picker select { color: #182a34; }
.performance a:focus-visible, .performance select:focus-visible { outline-color: #cb9048; }
.performance .hero { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 22px 40px; padding-block: clamp(40px, 7vw, 84px) 30px; }
.performance h1 { margin-block: 12px; font-size: clamp(2.9rem, 7.6vw, 7rem); line-height: .92; letter-spacing: -.08em; }
.performance .hero-copy { max-width: 61ch; color: var(--muted); }
.performance .actions { margin-bottom: 3px; }
.performance .button.primary { background: #b7edde; color: #11282b; }
.performance .button.primary:hover { background: #d9f7ef; }
.performance .results { margin-top: 13px; }
.performance .results .section-title { border-bottom: 0; }
.performance .metrics { gap: 12px; }
.performance .metric { border: 1px solid var(--line); border-top: 3px solid #84c4b4; background: #1b373b; padding: clamp(16px, 3vw, 31px); }
.performance .metric-value { color: #b7edde; font-size: clamp(2.7rem, 7.5vw, 6.55rem); margin-bottom: 12px; }
.performance .contact-links a:hover { color: white; }

.timeline { background: #f8faf8; }
.timeline-layout { display: grid; grid-template-columns: minmax(208px, .36fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 82px); padding-top: 38px; }
.timeline .hero { position: sticky; top: 24px; align-self: start; padding: clamp(18px, 3.4vw, 35px); background: var(--aqua); border-top: 4px solid var(--teal); }
.timeline .portrait { width: clamp(75px, 10vw, 105px); margin-bottom: 19px; }
.timeline h1 { margin-block: 7px 10px; font-size: clamp(2rem, 4.3vw, 3.75rem); line-height: .92; letter-spacing: -.07em; }
.timeline .focus { margin-bottom: 10px; color: var(--teal); font-size: .9rem; font-weight: 750; }
.timeline .hero-copy { font-size: .93rem; color: var(--muted); }
.timeline .actions { margin-top: 21px; gap: 8px; }
.timeline .button.secondary { border-color: #adc6c6; }
.timeline .button.secondary:hover { background: #fff; }
.timeline .experience { margin-top: 0; }
.timeline .experience .section-title { text-transform: none; color: var(--ink); letter-spacing: -.06em; line-height: 1; font-size: clamp(2.55rem, 5.6vw, 4.55rem); }
.timeline .roles { padding-left: 11px; }
.timeline .role { position: relative; display: block; border-left: 1px solid #a7bfbe; border-bottom: 0; padding: 22px 0 12px 23px; }
.timeline .role:last-child { padding-bottom: 0; }
.timeline .role::before { content: ""; position: absolute; top: 28px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.timeline .role-date { margin-bottom: 7px; }
.timeline .metric { padding-inline: clamp(10px, 2vw, 22px); }
.timeline .metric:first-child { padding-left: 0; }

.contact { background: #f4f8f6; }
.contact .hero { display: grid; place-items: center; text-align: center; min-height: 510px; margin-top: 27px; padding: 38px 22px 41px; border: 1px solid #c7dbd4; border-radius: 15px; background: radial-gradient(ellipse at top, #f5fbf8 6%, #e3efea 66%, #d6e7e0 100%); }
.contact .portrait { width: clamp(88px, 14vw, 120px); margin: 0 auto 20px; outline: 1px solid #94b2a8; outline-offset: 5px; }
.contact h1 { font-size: clamp(2.8rem, 8vw, 6.45rem); font-weight: 400; font-family: var(--serif); line-height: .94; letter-spacing: -.02em; }
.contact .focus { margin-top: 12px; color: var(--teal); font-weight: 800; }
.contact .hero-copy { max-width: 50ch; margin: 10px auto 0; color: var(--muted); }
.contact .actions { justify-content: center; margin-top: 23px; }
.contact .button { border-radius: 7px; padding-inline: 18px; }
.contact .button.secondary { background: #f4faf7; border-color: #95b6ab; }
.contact .button.secondary:hover { background: white; }
.resume-text { display: inline-block; margin-top: 18px; padding-block: 6px; text-decoration: underline; text-underline-offset: 4px; font-size: .84rem; font-weight: 800; }
.contact .results { margin-top: 34px; }
.contact .metrics { border-bottom: 1px solid var(--line); }

.gallery { background: #f4f7f6; }
.gallery-header { background: var(--slate); color: #eafff8; }
.gallery-header .wrap { min-height: 66px; display: flex; gap: 13px; align-items: center; font-size: .88rem; font-weight: 750; }
.gallery-main { padding-block: clamp(34px, 6vw, 67px); }
.gallery-intro { max-width: 740px; margin-bottom: clamp(24px, 4vw, 40px); }
.gallery h1 { font-family: var(--serif); font-size: clamp(3.05rem, 7.7vw, 6.9rem); font-weight: 400; line-height: .92; letter-spacing: -.025em; }
.gallery-intro p { margin-top: 14px; max-width: 52ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.5; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.design-tile { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); background: white; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.design-tile:hover { border-color: #739791; box-shadow: 0 7px 20px #143b3820; }
.design-tile img { width: 100%; height: auto; aspect-ratio: 18 / 11; object-fit: cover; background: var(--aqua); border-bottom: 1px solid var(--line); }
.design-info { padding: 15px 17px 17px; }
.design-info h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 5px; font-weight: 800; font-size: 1.19rem; letter-spacing: -.025em; }
.design-info h2 span { color: var(--teal); }
.design-info p { max-width: 40ch; color: var(--muted); font-size: .88rem; line-height: 1.52; }

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline .credentials { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap, .performance .wrap { width: calc(100% - 36px); }
  .site-nav { min-height: 58px; gap: 10px; }
  .site-nav nav { justify-content: flex-end; }
  .site-nav nav a { font-size: .75rem; }
  .site-nav .monogram { width: 29px; height: 29px; }
  .slate .hero-inner, .editorial .hero, .timeline-layout { grid-template-columns: 1fr; }
  .editorial .hero { gap: 30px; }
  .portrait-panel { width: min(100%, 335px); justify-self: center; }
  .timeline-layout { padding-top: 22px; }
  .timeline .hero { position: static; }
  .timeline .portrait { width: 82px; }
  .timeline h1 br { display: none; }
  .metrics, .performance .metrics { grid-template-columns: 1fr; }
  .metric, .timeline .metric, .performance .metric { padding: 16px; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .performance .metric + .metric { border: 1px solid var(--line); border-top: 3px solid #84c4b4; }
  .timeline .metric:first-child { padding-left: 16px; }
  .metric dd { max-width: none; }
  .role { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 17px; }
  .credentials, .gallery-grid { grid-template-columns: 1fr; }
  .results, .experience, .background { margin-top: 38px; }
  .contact-section { margin-top: 36px; }
  .contact .hero { margin-top: 16px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
