:root {
  color-scheme: dark;
  --night: #121414;
  --panel: #181a19;
  --ivory: #f5f0e7;
  --muted: #c3bfb4;
  --gold: #e3bc83;
  --line: #373731;
  --wrap: 1180px;
  font: 16px Manrope, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ivory); line-height: 1.7; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { display: block; max-inline-size: 100%; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -.025em; }
h1 { font-size: clamp(3.2rem, 8.1vw, 7.5rem); font-weight: 800; letter-spacing: -.065em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #f7cb8d; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), calc(100% - clamp(2.25rem, 9vw, 9rem))); margin-inline: auto; }
.skip { position: fixed; inset-block-start: .5rem; inset-inline-start: .5rem; z-index: 4; padding: .5rem 1rem; background: var(--ivory); color: var(--night); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.top { background: #141615; border-bottom: 1px solid #41423b; }
.top-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #786348; color: var(--gold); font: 800 .82rem Manrope, sans-serif; letter-spacing: .05em; direction: ltr; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem clamp(.85rem, 3vw, 2.4rem); color: var(--muted); font-size: .94rem; }
.nav a { padding-block: .45rem; }
.nav a:hover { color: var(--gold); }
.hero { isolation: isolate; position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(620px, 77svh, 820px); overflow: hidden; background: #171916; }
.hero-photo, .hero-wash { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { object-fit: cover; object-position: center 48%; }
.hero-wash { background: linear-gradient(90deg,#111412 3%,#111412eb 22%,#1114127d 59%,#11141222 100%),linear-gradient(0deg,#111412 0%,transparent 40%); }
.hero-inner { display: flex; align-items: center; padding-block: clamp(4rem, 10vw, 8rem); }
.hero-copy { max-width: 740px; }
.kicker { color: var(--gold); font-size: .875rem; font-weight: 700; }
.hero-location { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.hero-location::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.hero-role { margin-block: .35rem 1rem; color: var(--gold); font-size: clamp(1.55rem, 3.4vw, 2.65rem); font-weight: 600; line-height: 1.4; }
.hero-description, .lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.75; max-width: 39ch; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .58rem 1.12rem; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-align: center; transition: background-color .18s, color .18s; }
.primary { background: var(--gold); color: #201b14; border-color: var(--gold); }
.primary:hover { background: #f3cea0; }
.secondary { background: #141615c9; border-color: #777468; color: var(--ivory); }
.secondary:hover { background: #30312c; }
.hero-foot { background: #1114128c; border-top: 1px solid #c7b78b42; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; padding-block: 1rem; color: var(--muted); font-size: .93rem; }
.hero-meta span:first-child { color: var(--ivory); font-weight: 700; }
.hero-meta span + span { border-inline-start: 1px solid #777365; padding-inline-start: 1.25rem; }
.section { padding-block: clamp(3.6rem, 8vw, 7.2rem); scroll-margin-top: 1rem; }
.experience-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 7vw, 7rem); }
.experience-intro .lead, .section-head .lead, .share .lead { margin-top: 1rem; }
.skill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; padding: 0; }
.skill-list li { border: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: .3rem .65rem; }
.job { padding: clamp(1.2rem, 3vw, 2.4rem); border: 1px solid var(--line); border-block-start: 2px solid #aa895f; background: var(--panel); }
.job h3, .recognition .kicker + h3 { margin-block: .4rem; }
.job-employer { color: var(--muted); }
.duties { padding-inline-start: 1.1rem; color: var(--muted); margin-block-start: 1rem; }
.duties li + li { margin-block-start: .4rem; }
.duties li::marker { color: var(--gold); }
.projects { background: #1a1c1a; border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.5vw, 1.5rem); }
.project { background: #141615; border: 1px solid #41423a; overflow: hidden; }
.project img { width: 100%; height: auto; aspect-ratio: 2.55; object-fit: cover; filter: saturate(.68) brightness(.82); border-bottom: 1px solid var(--line); }
.project:nth-child(3) img { object-position: 50% 48%; }
.project:nth-child(4) img { object-position: 50% 42%; }
.project-text { padding: clamp(1.1rem, 2.7vw, 1.9rem); }
.project h3 { margin-block: .33rem .55rem; }
.project p:last-child, .recognition article p:not(.kicker) { color: var(--muted); }
.recognition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-top: 1.8rem; }
.recognition article { border-top: 1px solid #877251; padding-top: 1.1rem; }
.recognition article p + p, .recognition article h3 + p { margin-top: .38rem; }
.recognition article p + h3:not(:first-child) { margin-top: 1.05rem; }
.share { background: #24231d; border-block: 1px solid #4f4637; padding-block: clamp(2.75rem, 6vw, 5rem); }
.share-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem 2.5rem; }
.qr { display: block; flex: 0 0 auto; background: white; border: 1px solid #d4c3a9; }
.copy-status { color: var(--gold); min-height: 1.7em; margin-top: .35rem; }
footer { padding-block: 1.25rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
@media (max-width: 730px) {
  .top-inner { display: grid; grid-template-columns: 1fr; min-height: auto; padding-block: .7rem .35rem; gap: .35rem 1rem; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; border-top: 1px solid var(--line); }
  .hero { min-height: 560px; }
  .hero-photo { object-position: 44% center; }
  .hero-wash { background: linear-gradient(0deg, #111412 2%, #111412cf 47%, #11141280 100%); }
  .hero-inner { padding-block: 3.3rem; }
  .experience-grid, .recognition-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .project-grid { grid-template-columns: 1fr; }
  .share-inner { flex-wrap: wrap; }
  .hero-meta { gap: .2rem .75rem; }
  .hero-meta span + span { padding-inline-start: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
