:root {
  font-family: 'Manrope', sans-serif;
  color: #20211e;
  background: #f5f4ef;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --paper: #f5f4ef;
  --ink: #20211e;
  --muted: #777970;
  --line: #d9d9d1;
  --acid: #d4f05a;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
::selection { color: var(--ink); background: var(--acid); }
.page-shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }

.site-header { height: 84px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 25px; font-weight: 800; letter-spacing: -1.7px; }
.wordmark span, .about-mark span { color: #90a927; }
.main-nav { display: flex; gap: 38px; margin-left: 70px; }
.main-nav a, .header-cta { font-size: 12px; font-weight: 700; }
.main-nav a { color: #676960; transition: color .2s ease; }
.main-nav a:hover, .social-links a:hover { color: #899e22; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 9px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid #bfc0b7; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span { width: 17px; height: 1px; background: currentColor; transition: transform .2s ease; }
.site-header.menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
.header-cta { padding: 12px 16px; border: 1px solid #bfc0b7; border-radius: 2px; }
.header-cta span { margin-left: 8px; }

.hero { min-height: 660px; padding-top: 102px; padding-bottom: 66px; position: relative; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 58px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 25px; }
.eyebrow { margin: 0 0 21px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .03em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: #a2bd2e; border-radius: 50%; box-shadow: 0 0 0 4px #e5ebcc; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 26px; font-size: clamp(54px, 6.3vw, 84px); line-height: .99; font-weight: 600; letter-spacing: -6px; }
.highlight { color: #8b9f28; }
.hero-intro { max-width: 450px; margin-bottom: 29px; color: #686a62; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.button { min-height: 48px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 23px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #404239; }
.text-link { font-size: 12px; font-weight: 700; }
.text-link span { padding-left: 5px; }
.hero-meta { display: flex; align-items: center; gap: 11px; margin-top: 68px; color: #808178; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.meta-rule { width: 33px; height: 1px; background: #b4b5ac; }
.hero-art { position: relative; padding: 18px; background: #e8e8e0; animation: settle-in .8s .1s both; }
.hero-art > img { object-fit: cover; }
.profile-photo-slot { position: absolute; left: 30px; bottom: 58px; z-index: 2; width: 92px; height: 92px; overflow: visible; border: 4px solid var(--paper); border-radius: 50%; background: #c9cead; box-shadow: 0 5px 18px rgba(0, 0, 0, .2); }
.profile-photo-slot .image-placeholder, .profile-photo-slot img { width: 100%; height: 100%; min-height: 0; padding: 0; border-radius: 50%; object-fit: cover; }
.profile-photo-slot .image-placeholder { font-family: 'Manrope', sans-serif; font-size: 25px; font-weight: 800; }
.image-upload-control { position: absolute; z-index: 4; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px); padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(32, 33, 30, .84); font: 600 10px/1.2 'Manrope', sans-serif; cursor: pointer; transition: background .2s ease; }
.image-upload-control:hover { background: #20211e; }
.image-upload-control input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.image-upload-control:focus-within { outline: 2px solid var(--acid); outline-offset: 2px; }
.hero-art > .image-upload-control { bottom: 54px; left: auto; right: 18px; }
.profile-photo-slot > .image-upload-control { left: 50%; bottom: -18px; transform: translateX(-50%); white-space: nowrap; }
.profile-photo-slot > .image-upload-control:hover { transform: translateX(-50%) translateY(-1px); }
.art-topline, .art-caption { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 9px; color: #676960; }
.art-topline { padding: 0 0 14px; }
.hero-art img { height: 365px; object-fit: cover; object-position: center; }
.hero-art .profile-photo-slot img { width: 100%; height: 100%; min-height: 0; }
.art-caption { padding-top: 13px; }
.art-caption span:first-child { color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700; }
.art-sticker { position: absolute; top: 77px; right: -23px; width: 91px; height: 91px; display: grid; place-content: center; transform: rotate(9deg); border-radius: 50%; color: var(--ink); background: var(--acid); font-size: 13px; font-weight: 800; line-height: 1.12; text-align: center; }
.scroll-cue { position: absolute; right: 0; bottom: 36px; display: flex; align-items: center; gap: 11px; color: #8b8c83; font-family: var(--mono); font-size: 9px; }
.scroll-line { width: 40px; height: 1px; background: #adb0a4; }

.ticker { overflow: hidden; height: 61px; display: flex; align-items: center; color: #f6f6ee; background: #292b25; }
.ticker-track { min-width: max-content; display: flex; align-items: center; justify-content: space-around; gap: 45px; width: 100%; padding: 0 3vw; font-size: 12px; font-weight: 600; }
.ticker i { color: var(--acid); font-size: 18px; font-style: normal; }
.section-space { padding-top: 114px; padding-bottom: 124px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2, .about-copy h2, .resume-inner h2 { margin-bottom: 0; font-size: clamp(40px, 5vw, 60px); line-height: 1.06; font-weight: 600; letter-spacing: -3.5px; }
.section-heading-aside { max-width: 310px; }
.section-note { max-width: 290px; margin-bottom: 5px; color: #777970; font-size: 13px; line-height: 1.8; }
.text-edit-button { padding: 8px 10px; border: 1px solid #bfc0b7; color: #5e6058; background: transparent; font: 600 10px/1.2 'Manrope', sans-serif; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.text-edit-button:hover { color: var(--ink); border-color: #929588; background: rgba(32, 33, 30, .04); }
.text-edit-button:focus-visible { outline: 2px solid #8b9f28; outline-offset: 3px; }
.section-edit-button { margin-top: 12px; }
.section-heading [contenteditable="true"], .project-info [contenteditable="true"] { outline: 1px dashed #8b9f28; outline-offset: 3px; background: rgba(212, 240, 90, .15); cursor: text; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 27px; row-gap: 48px; }
.project { min-width: 0; }
.project-image { position: relative; overflow: hidden; background: #e3e3dc; }
.project-image img, .project-image video { object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.project-image > .image-upload-control { opacity: .92; }
.project-image.project-video { height: 280px; }
.project-image.project-video video { width: 100%; height: 100%; display: block; background: #111; object-fit: cover; }
.project-gallery { height: 280px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--paper); }
.project-gallery-single { display: block; }
.project-gallery-two { grid-template-rows: minmax(0, 1fr); }
.project-gallery-item { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #d7d8d0; }
.project-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery-item img { cursor: zoom-in; }
.project-gallery-remove { position: absolute; top: 7px; right: 7px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .65); color: #fff; background: rgba(32, 33, 30, .82); font: 20px/1 'Manrope', sans-serif; cursor: pointer; }
.project-gallery-remove:hover { background: #20211e; }
.project-large .project-gallery { height: 350px; }
.image-placeholder { position: relative; isolation: isolate; width: 100%; min-height: 160px; display: grid; place-items: center; overflow: hidden; padding: 24px; color: #3c4031; background-color: #e1e4d5; font-family: var(--mono); font-size: 12px; text-align: center; text-transform: uppercase; }
.image-placeholder::before { position: absolute; z-index: -1; inset: 0; content: ""; background-image: linear-gradient(rgba(60, 64, 49, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 64, 49, .08) 1px, transparent 1px); background-size: 32px 32px; }
.hero-art .image-placeholder { height: 365px; color: #e7e9da; background-color: #30362e; }
.hero-art .image-placeholder::before { background-image: linear-gradient(rgba(221, 232, 190, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(221, 232, 190, .09) 1px, transparent 1px); }
.project-image .image-placeholder { height: 280px; }
.project-large .image-placeholder { height: 350px; }
.project:nth-child(2) .image-placeholder { color: #5a4535; background-color: #e9dfd2; }
.project:nth-child(3) .image-placeholder { color: #4e3a35; background-color: #eadbd4; }
.project:nth-child(4) .image-placeholder { color: #2f4540; background-color: #dbe7e0; }
.project:nth-child(5) .image-placeholder { color: #3e3c53; background-color: #e0dfea; }
.project:hover .project-gallery-item img { transform: scale(1.035); }
.project-arrow { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--acid); font-size: 19px; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
.project:hover .project-arrow { opacity: 1; transform: translateY(0); }
.project-info { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 17px; }
.project-copy { min-width: 0; }
.project-type, .project-year { margin-bottom: 6px; color: #878980; font-family: var(--mono); font-size: 9px; }
.project-info h3 { margin-bottom: 0; font-size: 18px; font-weight: 700; letter-spacing: -.5px; }
.project-description { max-width: 490px; margin: 8px 0 0; color: #777970; font-size: 11px; line-height: 1.6; }
.project-edit-button { flex: 0 0 auto; margin-left: 12px; }
.project-year { margin-bottom: 3px; }

.image-viewer { position: fixed; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 52px 88px 30px; overflow: hidden; border: 0; color: #f5f4ef; background: rgba(20, 21, 19, .97); }
.image-viewer[open] { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 22px; }
.image-viewer::backdrop { background: rgba(20, 21, 19, .92); }
.image-viewer-figure { width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.image-viewer-image { width: 100%; height: calc(100% - 44px); object-fit: contain; }
.image-viewer-caption { width: min(100%, 900px); min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #e8e8e0; font: 11px var(--mono); }
.image-viewer-count { color: var(--acid); white-space: nowrap; }
.image-viewer-close, .image-viewer-nav { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(245, 244, 239, .44); color: #f5f4ef; background: rgba(32, 33, 30, .55); font: 27px/1 'Manrope', sans-serif; cursor: pointer; }
.image-viewer-close:hover, .image-viewer-nav:hover:not(:disabled) { color: var(--ink); background: var(--acid); }
.image-viewer-close { position: absolute; top: 18px; right: 20px; }
.image-viewer-nav:disabled { opacity: .35; cursor: default; }

.about-section { padding: 97px 0 82px; color: #f2f1e9; background: #292b25; }
.about-layout { display: grid; grid-template-columns: .7fr 1.3fr; column-gap: 80px; }
.about-label .eyebrow { color: #a8a99f; }
.about-mark { display: inline-block; margin-top: 95px; font-size: 54px; font-weight: 800; letter-spacing: -5px; }
.about-copy h2 { margin-bottom: 27px; }
.about-copy > p { max-width: 560px; margin-bottom: 17px; color: #b7b8ae; font-size: 14px; line-height: 1.9; }
.about-copy .text-link { display: inline-block; margin-top: 15px; color: var(--acid); }
.stats-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 78px; border-top: 1px solid #4a4c44; }
.stats-row > div { padding-top: 24px; }
.stats-row strong { display: block; font-size: 37px; line-height: 1.2; font-weight: 600; letter-spacing: -2px; }
.stats-row strong span { color: var(--acid); }
.stats-row small { display: block; margin-top: 7px; color: #a8a99f; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }

.services-section .section-heading { align-items: start; }
.services-section .section-note { margin-top: 48px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { min-height: 129px; display: grid; grid-template-columns: 58px 1fr 240px 24px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); transition: padding .25s ease; }
.service-row:hover { padding-inline: 9px; }
.service-number, .service-tools { color: #898b81; font-family: var(--mono); font-size: 10px; }
.service-row h3 { margin-bottom: 7px; font-size: 19px; font-weight: 700; letter-spacing: -.6px; }
.service-row p { margin-bottom: 0; color: #777970; font-size: 12px; }
.service-symbol { color: #8b9f28; font-size: 19px; }

.cv-dialog { width: min(1120px, calc(100% - 36px)); height: min(92dvh, 1080px); max-width: none; max-height: none; padding: 0; overflow: hidden; border: 1px solid rgba(32, 33, 30, .2); color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px rgba(0, 0, 0, .25); }
.cv-dialog[open] { display: flex; flex-direction: column; }
.cv-dialog::backdrop { background: rgba(26, 28, 23, .72); backdrop-filter: blur(5px); }
.cv-dialog-inner { min-height: 0; display: flex; flex: 1; flex-direction: column; }
.cv-dialog-header { min-height: 78px; padding: 13px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.cv-dialog-header .eyebrow { margin-bottom: 4px; font-size: 8px; }
.cv-dialog-header h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.cv-dialog-actions { display: flex; align-items: center; gap: 9px; }
.cv-close-button { min-height: 38px; padding: 0 11px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #bfc0b7; color: var(--ink); background: transparent; font: 600 11px 'Manrope', sans-serif; cursor: pointer; }
.cv-close-button:hover { background: rgba(32, 33, 30, .06); }
.cv-close-button span { font-size: 20px; line-height: 1; }
.cv-viewer { width: 100%; min-height: 0; flex: 1; border: 0; background: #fff; }

.contact-section { padding-top: 122px; padding-bottom: 92px; }
.contact-section > .eyebrow { margin-bottom: 25px; }
.contact-section h2 { margin-bottom: 30px; font-size: clamp(57px, 8vw, 100px); line-height: .98; font-weight: 600; letter-spacing: -7px; }
.contact-email { display: inline-block; padding-bottom: 8px; border-bottom: 1px solid #aeb08e; font-size: clamp(17px, 2.7vw, 27px); font-weight: 600; letter-spacing: -.8px; }
.contact-email span { padding-left: 9px; color: #8b9f28; }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 83px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-bottom p { margin: 0; color: #777970; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.social-links { display: flex; gap: 22px; font-size: 11px; font-weight: 700; }
.site-footer { min-height: 74px; padding: 0 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 20px; }
.site-footer p, .site-footer > a:last-child { margin: 0; color: #777970; font-size: 10px; }
.site-footer > a:last-child { font-weight: 700; }

@keyframes settle-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@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: 900px) {
  .page-shell { width: min(100% - 56px, 700px); }
  .site-header { height: 72px; padding: 0 28px; }
  .main-nav { gap: 20px; margin-left: 0; }
  .hero { min-height: auto; padding-top: 80px; padding-bottom: 83px; gap: 33px; }
  .hero h1 { font-size: clamp(48px, 7vw, 67px); letter-spacing: -4px; }
  .hero-art img { height: 300px; }
  .hero-meta { margin-top: 46px; }
  .project-gallery, .project-large .project-gallery { height: 270px; }
  .about-layout { column-gap: 35px; }
  .service-row { grid-template-columns: 35px 1fr 180px 20px; gap: 14px; }
}

@media (max-width: 640px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { height: 66px; padding: 0 20px; }
  .wordmark { font-size: 22px; }
  .site-header { position: relative; z-index: 10; }
  .main-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 20; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 7px 20px 13px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-header.menu-open .main-nav { display: flex; }
  .main-nav a, .main-nav a:nth-child(2), .main-nav a:nth-child(3) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: flex; }
  .header-cta { padding: 10px 11px; font-size: 10px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 38px; padding-top: 68px; padding-bottom: 78px; }
  .hero-copy { padding-bottom: 0; }
  .eyebrow { font-size: 9px; }
  .hero h1 { font-size: clamp(51px, 14vw, 75px); letter-spacing: -4px; }
  .hero-intro { max-width: 390px; font-size: 13px; }
  .hero-actions { gap: 20px; }
  .button { min-height: 45px; padding: 0 13px; gap: 13px; font-size: 10px; }
  .text-link { font-size: 10px; }
  .hero-meta { margin-top: 35px; }
  .hero-art { margin-right: 9px; padding: 12px; }
  .hero-art img { height: 245px; }
  .hero-art .profile-photo-slot img { height: 100%; }
  .hero-art > .image-upload-control { bottom: 48px; right: 12px; }
  .profile-photo-slot { left: 23px; bottom: 54px; width: 78px; height: 78px; }
  .profile-photo-slot > .image-upload-control { bottom: -19px; padding: 6px 8px; font-size: 9px; }
  .hero-art .image-placeholder { height: 245px; }
  .art-sticker { width: 73px; height: 73px; right: -14px; font-size: 11px; }
  .art-caption { font-size: 8px; }
  .art-caption span:first-child { font-size: 10px; }
  .scroll-cue { bottom: 30px; font-size: 8px; }
  .ticker { height: 53px; }
  .ticker-track { gap: 25px; justify-content: flex-start; font-size: 10px; }
  .section-space { padding-top: 76px; padding-bottom: 82px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2, .about-copy h2 { font-size: 43px; letter-spacing: -2.7px; }
  .section-heading-aside { max-width: none; margin-top: 16px; }
  .section-note { font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 35px; }
  .project-gallery, .project-large .project-gallery { height: clamp(215px, 65vw, 350px); }
  .project-arrow { opacity: 1; transform: none; }
  .project-image > .image-upload-control { bottom: 10px; left: 10px; }
  .project-info h3 { font-size: 16px; }
  .project-description { font-size: 10px; }
  .about-section { padding: 75px 0 62px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-mark { display: none; }
  .about-copy h2 { margin-bottom: 22px; }
  .about-copy > p { font-size: 13px; }
  .stats-row { grid-template-columns: 1fr 1fr; row-gap: 25px; margin-top: 48px; }
  .stats-row strong { font-size: 32px; }
  .services-section .section-note { margin-top: 17px; }
  .service-row { min-height: 123px; grid-template-columns: 28px 1fr 18px; gap: 10px; }
  .service-row h3 { font-size: 15px; }
  .service-row p { max-width: 260px; font-size: 11px; line-height: 1.55; }
  .service-tools { display: none; }
  .cv-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; }
  .cv-dialog-header { min-height: 70px; padding: 10px 13px; gap: 6px 10px; }
  .cv-dialog-header h2 { font-size: 15px; }
  .cv-dialog-actions { gap: 6px; }
  .cv-close-button { min-height: 36px; padding: 0 9px; }
  .cv-viewer { flex: 1; }
  .image-viewer { padding: 56px 10px 18px; }
  .image-viewer[open] { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 7px; }
  .image-viewer-nav { width: 36px; height: 42px; font-size: 22px; }
  .image-viewer-close { top: 10px; right: 10px; width: 38px; height: 38px; }
  .image-viewer-caption { font-size: 9px; }
  .contact-section { padding-top: 82px; padding-bottom: 65px; }
  .contact-section h2 { font-size: clamp(58px, 14vw, 78px); letter-spacing: -4px; }
  .contact-bottom { align-items: flex-start; flex-direction: column; margin-top: 55px; }
  .social-links { flex-wrap: wrap; gap: 17px; }
  .site-footer { min-height: 70px; padding: 0 20px; }
  .site-footer p { max-width: 130px; text-align: center; }
}