@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --paper: #f5f2e9;
  --paper-deep: #ece8dc;
  --ink: #172d35;
  --ink-soft: #52615f;
  --moss: #637b69;
  --moss-pale: #dce3d7;
  --clay: #d36f4e;
  --clay-light: #f1d6c9;
  --line: #d6d2c7;
  --white: #fffdf7;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
  --page-pad: clamp(1.25rem, 5.7vw, 6rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
::selection { color: var(--white); background: var(--moss); }
.skip-link { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 80px; padding: 0 var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); background: rgba(245,242,233,.96); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--moss-pale); }
.brand-mark svg { width: 34px; height: 34px; stroke: var(--ink); stroke-width: 1.35; }
.brand-mark circle { fill: var(--clay); stroke: var(--clay); }
.brand-type { display: flex; flex-direction: column; line-height: 1.15; letter-spacing: .09em; }
.brand-type strong { font-size: .73rem; font-weight: 700; }
.brand-type small { margin-top: .32rem; color: var(--ink-soft); font: .54rem var(--mono); letter-spacing: .04em; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.7vw, 2.5rem); }
.primary-nav a, .back-top { font: .63rem var(--mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.primary-nav a { color: var(--ink-soft); transition: color .2s ease; }
.primary-nav a:hover { color: var(--clay); }
.nav-toggle { display: none; }

.hero { position: relative; min-height: min(720px, calc(100vh - 80px)); padding: 4rem var(--page-pad) 5.6rem; display: grid; grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 53vw; height: 53vw; right: -12vw; top: -28vw; border: 1px solid rgba(99,123,105,.13); border-radius: 50%; box-shadow: 0 0 0 42px rgba(99,123,105,.035), 0 0 0 84px rgba(99,123,105,.025); pointer-events: none; }
.hero-copy { z-index: 1; max-width: 570px; padding-top: 1.6rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--moss); font: 500 .63rem var(--mono); letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; background: var(--clay); border-radius: 50%; box-shadow: 0 0 0 4px rgba(211,111,78,.13); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.045em; }
h1 { margin-bottom: 1.4rem; font-size: clamp(3.5rem, 7.1vw, 6.8rem); line-height: .99; }
h1 em, h2 em { color: var(--moss); font-family: var(--serif); font-weight: 500; }
.hero-lede { max-width: 410px; margin-bottom: 2rem; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 1.4rem; padding: .8rem 1.1rem; border: 1px solid transparent; text-decoration: none; font: 500 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--moss); }
.text-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font: 500 .64rem var(--mono); letter-spacing: .055em; text-decoration-thickness: 1px; text-underline-offset: 5px; text-transform: uppercase; }
.text-link:hover { color: var(--clay); }
.hero-owner { margin-top: 3.5rem; padding-top: 1.05rem; display: flex; flex-direction: column; gap: .28rem; border-top: 1px solid var(--line); }
.owner-index, .owner-value { font-family: var(--mono); font-size: .62rem; letter-spacing: .03em; }
.owner-index { color: var(--moss); }
.owner-value { color: var(--ink-soft); }
.hero-art { position: relative; z-index: 1; width: 100%; max-width: 630px; justify-self: end; overflow: hidden; aspect-ratio: 405 / 307; border: 1px solid rgba(38,67,74,.2); background: var(--paper-deep); }
.hero-portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bottom { position: absolute; right: var(--page-pad); bottom: 1.6rem; left: var(--page-pad); display: flex; justify-content: space-between; color: var(--ink-soft); font: .55rem var(--mono); letter-spacing: .1em; }


.content-section, .additional-section, .profile-section { padding: clamp(5rem, 9vw, 9rem) var(--page-pad); display: grid; grid-template-columns: 95px 1fr; gap: clamp(1.5rem, 4vw, 4.2rem); }
.section-rail { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; color: var(--moss); font: .58rem var(--mono); letter-spacing: .08em; }
.section-rail span:first-child { color: var(--clay); font-size: .78rem; }
.section-rail::after { content: ''; width: 1px; height: 68px; margin: .45rem 0 0 .2rem; background: var(--line); }
.section-main, .additional-content, .profile-content { min-width: 0; }
.section-heading, .profile-heading { margin-bottom: 3rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
h2 { margin: 0; font-size: clamp(2.7rem, 5.5vw, 5.2rem); line-height: 1.03; }
.section-intro { max-width: 340px; margin: 0 1rem .45rem 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.75; }
.bio-card { border: 1px solid var(--line); background: var(--white); }
.bio-card-top { padding: .85rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--moss); font: .56rem var(--mono); letter-spacing: .075em; }
.bio-card-top { border-bottom: 1px solid var(--line); }
.bio-copy { max-width: 800px; margin: 0 auto; padding: clamp(1.6rem, 5vw, 4.5rem) clamp(1.2rem, 7vw, 6.5rem); }
.bio-copy h3 { margin: 1.4rem 0 .85rem; font: 500 clamp(1.5rem, 2.5vw, 2.15rem) var(--serif); }
.bio-copy p { color: var(--ink-soft); font-size: .95rem; line-height: 1.85; }

.profile-section { background: var(--ink); color: var(--paper); }
.profile-section .eyebrow, .profile-section .section-rail { color: #aabda8; }
.profile-section .section-rail span:first-child { color: #e79b7d; }
.profile-section .section-rail::after { background: rgba(245,242,233,.23); }
.profile-heading { align-items: flex-end; }
.profile-heading h2 em { color: #aac0a8; }
.profile-heading > p { max-width: 360px; margin: 0 .3rem .4rem 0; color: rgba(245,242,233,.72); font-size: .9rem; line-height: 1.8; }
.profile-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.profile-card { min-height: 315px; padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; border: 1px solid rgba(245,242,233,.24); background: rgba(255,255,255,.025); }
.card-kicker { margin-bottom: 2rem; display: flex; align-items: center; gap: .7rem; color: #afc0ad; font: .57rem var(--mono); letter-spacing: .08em; }
.mini-icon { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 1px solid rgba(245,242,233,.4); color: var(--paper); font: 600 .7rem var(--sans); }
.certificate-icon { border-radius: 50%; }
.profile-card h3 { margin-bottom: .7rem; font: 500 1.65rem var(--serif); }
.profile-card > p { max-width: 480px; color: rgba(245,242,233,.7); font-size: .83rem; line-height: 1.75; }
.profile-value { margin-top: auto; padding: .8rem 0; display: flex; flex-direction: column; gap: .25rem; border-top: 1px solid rgba(245,242,233,.2); border-bottom: 1px solid rgba(245,242,233,.2); }
.value-label { color: #aabda8; font: .5rem var(--mono); letter-spacing: .1em; }
.profile-value-text { color: rgba(245,242,233,.67); font-size: .79rem; }
.profile-link { width: fit-content; text-underline-offset: 3px; }
.profile-link:hover { color: #dce8d5; }

.work-section { padding-bottom: 7rem; }
.work-heading { margin-bottom: 3.5rem; }
.work-list { display: flex; flex-direction: column; gap: 1.3rem; }
.work-card { border: 1px solid var(--line); background: var(--white); }
.work-card-index, .work-card-footer { padding: .75rem 1rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--moss); font: .54rem var(--mono); letter-spacing: .07em; }
.work-card-index { border-bottom: 1px solid var(--line); }
.work-card-index span:first-child { color: var(--clay); }
.work-card-content { padding: 1.35rem; display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.8fr); gap: clamp(1.4rem, 4vw, 3.8rem); }
.work-detail { padding: .2rem 0; }
.work-status { margin-bottom: .6rem; color: #9c5138; font: .54rem var(--mono); letter-spacing: .09em; }
.work-detail h3 { margin-bottom: 1.15rem; font: 500 1.75rem var(--serif); }
.assessment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1.4rem; }
.assessment-grid > div { padding-top: .7rem; border-top: 1px solid var(--line); }
.detail-label { display: block; margin-bottom: .4rem; color: var(--moss); font: .51rem var(--mono); letter-spacing: .07em; }
.assessment-grid p { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.65; }
.work-card-footer { border-top: 1px solid var(--line); color: var(--ink-soft); }

.additional-section { background: #e8ebdf; }
.additional-section .section-rail { color: var(--moss); }
.additional-section .section-rail::after { background: #cbd2c5; }
.additional-content { max-width: 1120px; }
.additional-heading { margin-bottom: 3rem; }
.extra-slots { display: grid; gap: 1rem; }
.extra-slot { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid #c9d0c5; background: rgba(255,253,247,.76); }
.slot-copy h3 { margin: 0 0 .55rem; font: 500 1.5rem var(--serif); }
.slot-copy > p { max-width: 800px; margin: 0; color: var(--ink-soft); font-size: .81rem; line-height: 1.75; }
.slot-evidence { margin-top: 1.2rem; padding-top: .75rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); font: .52rem var(--mono); letter-spacing: .055em; }
.slot-evidence span:first-child { color: var(--moss); }
.slot-evidence span:last-child { color: var(--ink-soft); }
.slot-evidence a { color: var(--ink); text-underline-offset: 3px; }
.slot-evidence a:hover { color: var(--clay); }


.site-footer { padding: 1.7rem var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ink); color: var(--paper); }
.footer-brand .brand-mark { background: rgba(220,227,215,.18); }
.footer-brand .brand-mark svg { stroke: var(--paper); }
.footer-brand .brand-type small { color: rgba(245,242,233,.6); }
.back-top { white-space: nowrap; color: #b4c3ad; }
.back-top:hover { color: #f1a487; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 2rem; }
  .content-section, .additional-section, .profile-section { grid-template-columns: 56px 1fr; gap: 1.5rem; }
  .work-card-content { grid-template-columns: minmax(150px, .62fr) minmax(0, 1.7fr); gap: 1.5rem; }
  .assessment-grid { gap: .8rem; }
}
@media (max-width: 700px) {
  .site-header { min-height: 70px; }
  .nav-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .nav-toggle span { width: 17px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 69px; right: 0; left: 0; padding: 1rem var(--page-pad) 1.3rem; display: none; flex-direction: column; align-items: flex-start; gap: .3rem; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { width: 100%; padding: .7rem 0; }
  .hero { padding-top: 3.2rem; padding-bottom: 5.5rem; grid-template-columns: 1fr; gap: 2.7rem; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: clamp(3.3rem, 14vw, 5.1rem); }
  .hero-lede { font-size: 1rem; }
  .hero-owner { margin-top: 2.3rem; }
  .hero-art { width: 94%; max-width: 560px; justify-self: center; }
  .hero-bottom { font-size: .49rem; }
  .content-section, .additional-section, .profile-section { padding-top: 4.5rem; padding-bottom: 4.5rem; grid-template-columns: 32px 1fr; gap: 1rem; }
  .section-rail { font-size: .5rem; }
  .section-heading, .profile-heading { align-items: flex-start; flex-direction: column; gap: 1.3rem; margin-bottom: 2rem; }
  h2 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .section-intro { max-width: 510px; margin: 0; font-size: .84rem; }
  .bio-card-top { padding: .7rem .8rem; font-size: .48rem; }
  .bio-copy { padding: 1.6rem 1.1rem; }
  .bio-copy p { font-size: .85rem; }
  .profile-cards { grid-template-columns: 1fr; }
  .profile-card { min-height: 295px; }
  .profile-heading > p { margin: 0; font-size: .83rem; }
  .work-card-content { grid-template-columns: 1fr; }
  .assessment-grid { gap: .9rem; }
  .work-card-index, .work-card-footer { font-size: .48rem; }
  .work-card-footer { flex-wrap: wrap; }
  .slot-evidence { flex-direction: column; gap: .3rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
  :root { --page-pad: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .assessment-grid { grid-template-columns: 1fr; }
  .work-card-index span:last-child { max-width: 70%; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Work evidence: real project artifacts and status clarity */
.status-context { color: #895333; }
.artifact-figure, .map-gallery figure { min-width: 0; margin: 0; }
.artifact-figure { align-self: start; padding: .55rem; border: 1px solid var(--line); background: var(--paper-deep); }
.artifact-figure a, .map-gallery a { display: block; }
.artifact-figure img, .map-gallery img { display: block; width: 100%; height: auto; }
.artifact-figure img { max-height: 360px; object-fit: contain; }
.artifact-figure figcaption, .map-gallery figcaption { padding: .55rem .25rem .2rem; color: var(--ink-soft); font: .54rem/1.6 var(--mono); }
.map-gallery { display: grid; align-content: start; gap: .75rem; }
.map-gallery figure { padding: .45rem; border: 1px solid var(--line); background: var(--paper-deep); }
.map-gallery img { max-height: 245px; object-fit: contain; background: #fffdf7; }
.map-gallery figcaption span { margin-right: .4rem; color: var(--clay); }
.poster-content { grid-template-columns: minmax(220px, .82fr) minmax(0, 1.8fr); }
.source-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: .68rem; line-height: 1.7; }
.source-note a { text-underline-offset: 3px; }
.source-note a:hover { color: var(--clay); }
.assessment-grid code { padding: .06rem .2rem; background: var(--paper-deep); font-size: .9em; }

.training-record { margin-top: 1.5rem; border: 1px solid var(--line); background: var(--paper); }
.training-toggle { width: 100%; padding: 1rem 1.15rem; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: .72rem/1.6 var(--mono); }
.training-toggle:hover, .training-toggle:focus-visible { color: var(--clay); }
.training-list { margin: 0; padding: 0 1.5rem 1rem; list-style: none; }
.training-list li { padding: .35rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; line-height: 1.6; }
.training-note { margin: 0; padding: 0 1.5rem 1rem; color: var(--ink-soft); font-size: .76rem; line-height: 1.7; }

@media (max-width: 900px) {
  .poster-content { grid-template-columns: minmax(180px, .75fr) minmax(0, 1.7fr); }
}
@media (max-width: 700px) {
  .poster-content { grid-template-columns: 1fr; }
  .map-gallery { grid-template-columns: 1fr; }
  .map-gallery img { max-height: none; }
  .artifact-figure img { max-height: none; }
  .source-note { font-size: .66rem; }
}
