/* A monochrome, editorial layer over the original portfolio's typography. */
:root { --paper: #f8f8f5; --ink: #171717; --muted: #666662; --line: #d8d8d2; --ease: cubic-bezier(.2,.7,.2,1); }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body.portfolio { padding: 8px; background: var(--paper); color: var(--ink); font-family: 'Roboto Mono', 'Courier New', monospace; font-size: 13px; line-height: 1.8; letter-spacing: -.15px; }
.portfolio * { box-sizing: border-box; }
.portfolio [hidden] { display: none !important; }
.portfolio a { color: inherit; text-decoration: none; }
.portfolio button { font: inherit; }
.portfolio a, .portfolio button { -webkit-tap-highlight-color: transparent; }
.portfolio :focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.portfolio ::selection { background: #a8a8a2; color: #fff; }
.portfolio h1, .portfolio h2, .portfolio h3 { font-family: Roboto, Helvetica, Arial, sans-serif; font-weight: 900; letter-spacing: -1.8px; }
.portfolio h2 { padding: 0; display: block; }
.portfolio h2::before, .portfolio h2::after, .portfolio .h2::before, .portfolio .h2::after { display: none; }
.portfolio p { font-weight: 400; line-height: 1.9; letter-spacing: -.1px; }
.site-frame { position: fixed; inset: 0; border: 8px solid #151515; z-index: 100; pointer-events: none; }
.reading-progress { position: fixed; left: 8px; top: 5px; height: 2px; width: calc(100% - 16px); background: #a2a29a; transform: scaleX(0); transform-origin: left; z-index: 101; }
.skip-link { position: fixed; left: 25px; top: -70px; padding: 10px 18px; background: #fff; z-index: 110; }
.skip-link:focus { top: 20px; }
.site-header { position: fixed; top: 8px; left: 8px; right: 8px; z-index: 50; height: 92px; display: flex; align-items: center; gap: 60px; padding: 0 4.5%; background: rgba(248,248,245,.96); border-bottom: 1px solid transparent; transition: background .3s, height .3s, border-color .3s; }
.site-header.is-scrolled { height: 74px; border-color: var(--line); backdrop-filter: blur(14px); }
.wordmark { font: 900 29px/1 Roboto, Helvetica, Arial, sans-serif; letter-spacing: -2px; }
.wordmark span { color: #858580; }
.site-nav { display: flex; align-items: center; gap: 29px; }
.site-nav a { font-size: 12px; position: relative; padding: 9px 0; white-space: nowrap; }
.site-nav a::after { content: ''; position: absolute; height: 1px; left: 0; right: 0; bottom: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav a[aria-current] { font-weight: 700; }
.nav-number { opacity: .55; }
.header-note { margin-left: auto; font-size: 10px; display: flex; align-items: center; gap: 12px; }
.status-dot { height: 5px; width: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px #8882; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px 0 10px 15px; }
.home-page .site-header { background: rgba(8,8,8,.35); color: #f7f7f2; }
.home-page .site-header.is-scrolled { background: rgba(12,12,12,.94); border-color: #333; }
.space-hero { min-height: 780px; height: calc(100svh - 8px); position: relative; overflow: hidden; background: #030303; color: #f7f7f3; display: flex; align-items: center; }
.hero-image { position: absolute; inset: -25px -20% -25px 15%; background: url('assets/images/space.jpg') center / cover no-repeat; transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1.035); will-change: transform; }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.62) 33%, rgba(0,0,0,.06) 75%), linear-gradient(0deg,#030303 0%,transparent 22%,transparent 80%,#03030388); }
.star-field { position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(1px 1px at 17% 23%,#fff 98%,transparent), radial-gradient(1px 1px at 82% 11%,#fff 98%,transparent), radial-gradient(2px 2px at 74% 72%,#fff 98%,transparent), radial-gradient(1px 1px at 41% 62%,#fff 98%,transparent); background-size: 390px 410px; animation: stardrift 24s linear infinite alternate; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 125px 6.5% 135px; }
.eyebrow { text-transform: uppercase; font-size: 10px; font-weight: 400; letter-spacing: 1.7px !important; margin-bottom: 26px; color: var(--muted); }
.hero-content .eyebrow { color: #b9b9b6; margin-bottom: 28px; }
.portfolio .hero-content h1 { color: #f7f7f3; font-size: clamp(72px, 7.8vw, 118px); line-height: .99; letter-spacing: -6px; margin: 0 0 21px; }
.hero-period { color: #b0b0a8; }
.hero-full-name { font-size: 12px; color: #c5c5c0; }
.hero-role { font-size: 15px; min-height: 54px; padding-top: 12px; margin-top: 17px; max-width: 490px; }
.type-caret { animation: blink 1s steps(1) infinite; }
.rotating-text { transition: opacity .2s, filter .2s; }
.rotating-text.is-changing { opacity: 0; filter: blur(3px); }
.hero-description { color: #b9b9b4; margin: 12px 0 30px; font-size: 12px; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.action-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 14px 22px; border: 1px solid #ecece5; background: #ecece5; color: #171717 !important; font-size: 12px; transition: background .25s, color .25s, transform .25s; }
.action-button span, .text-link span, .hero-contact span { display: inline-block; transition: transform .25s; }
.action-button:hover { background: transparent; color: #fff !important; transform: translateY(-3px); }
.action-button:hover span, .text-link:hover span, .hero-contact:hover span { transform: translate(3px,-3px); }
.hero-contact { font-size: 12px; }
.hero-contact span { margin-left: 12px; }
.hero-bottom { position: absolute; bottom: 30px; left: 6.5%; right: 6.5%; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #b2b2ac; font-size: 9px; letter-spacing: 1px; }
.scroll-cue { display: flex; align-items: center; gap: 17px; }
.scroll-line { height: 34px; width: 1px; background: #ffffff30; position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; left: 0; height: 16px; width: 1px; background: #fff; animation: scrollhint 2.5s var(--ease) infinite; }
.hero-coordinate { color: #777; }
.hero-enter { animation: enter .9s var(--ease) both; }
.hero-enter:nth-child(2) { animation-delay: .1s; }
.hero-enter:nth-child(3) { animation-delay: .2s; }
.hero-enter:nth-child(4) { animation-delay: .3s; }
.hero-enter:nth-child(5) { animation-delay: .4s; }
.hero-enter:nth-child(6) { animation-delay: .5s; }
.content-section { max-width: 1280px; margin: 0 auto; padding: 100px 5%; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.section-heading h2 { font-size: clamp(30px,3.4vw,46px); margin: 0; line-height: 1.15; }
.section-heading .eyebrow { margin-bottom: 15px; }
.experience-section { border-bottom: 1px solid var(--line); }
.experience-preview .section-heading { margin-bottom: 26px; }
.experience-excerpt { max-width: 720px; color: var(--muted); font-size: 13px; }
.experience-organizations { font-size: 10px; color: var(--muted); margin: 24px 0 0; }
.experience-entry { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr); gap: 55px; padding: 38px 0; border-top: 1px solid var(--line); }
.experience-entry:last-child { padding-bottom: 0; }
.experience-meta p { font-size: 10px; color: var(--muted); }
.experience-meta .experience-date { color: var(--ink); font-size: 11px; margin-bottom: 12px; }
.experience-body { min-width: 0; }
.experience-body .experience-company { margin-bottom: 8px; font-size: 11px; color: var(--muted); }
.experience-body h3 { font-size: 30px; line-height: 1.15; letter-spacing: -1px; margin: 0 0 18px; }
.experience-body > p, .experience-highlights { font-size: 12px; line-height: 1.9; color: var(--muted); }
.experience-highlights { padding-left: 17px; margin: 0 0 22px; }
.experience-highlights li { padding-left: 5px; margin-bottom: 10px; }
.experience-highlights li::marker { color: #99998f; }
.experience-highlights strong { color: var(--ink); font-weight: 700; }
.experience-body .experience-tools { font-size: 10px; margin: 0; }
.experience-tools span { color: var(--ink); text-transform: uppercase; letter-spacing: 1px; margin-right: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 11px; border: 0; border-bottom: 1px solid #aeaea6; padding: 5px 0; background: transparent; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 60px 30px; }
.project-grid.project-scroller { --project-gap: 30px; --visible-projects: 3; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--visible-projects) - 1) * var(--project-gap)) / var(--visible-projects)); gap: var(--project-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #aaa var(--paper); padding: 8px 0 24px; }
.project-scroller .project-card { scroll-snap-align: start; }
.project-scroller .text-link { margin-left: 6px; }
.project-carousel { position: relative; }
.project-scroll-controls { position: absolute; inset: 0; pointer-events: none; }
.project-range { font-size: 10px; color: var(--muted); }
.project-scroll-controls button { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0; background: #000; color: #fff; font-size: 22px; line-height: 1; pointer-events: auto; transition: background .2s; }
.project-scroll-controls [data-project-direction="-1"] { left: -22px; }
.project-scroll-controls [data-project-direction="1"] { right: -22px; }
.project-scroll-controls button:hover:not(:disabled) { background: #333; }
.project-scroll-controls button:disabled { cursor: default; }
.project-card { min-width: 0; display: flex; flex-direction: column; }
.project-image { position: relative; overflow: hidden; background: #e3e3de; aspect-ratio: 1.4; display: block; }
.project-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .7s var(--ease), filter .7s; }
.project-card:hover .project-image img, .project-card:focus-within .project-image img { transform: scale(1.045); filter: grayscale(0); }
.project-open { position: absolute; bottom: 14px; right: 14px; background: var(--paper); width: 38px; height: 38px; display: grid; place-items: center; font-size: 22px; transform: translateY(60px); transition: transform .35s var(--ease); }
.project-card:hover .project-open, .project-card:focus-within .project-open { transform: translateY(0); }
.project-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--line); padding: 18px 0 13px; }
.project-card h3 { font-size: 25px; letter-spacing: -.8px; line-height: 1.15; margin: 22px 0 12px; }
.project-card p { font-size: 11px; color: var(--muted); margin-bottom: 23px; }
.project-card > .text-link { align-self: start; margin-top: auto; }
.intro-section { border-top: 1px solid var(--line); }
.intro-section h2 { font-size: clamp(36px,5.5vw,76px); line-height: 1.08; margin: 28px 0 35px; letter-spacing: -3px; }
.intro-bottom { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.intro-bottom p { max-width: 550px; color: var(--muted); margin: 0; }
.contact-strip { border-top: 1px solid var(--line); }
.contact-strip > a { display: block; font: 900 clamp(48px,7vw,96px)/1.06 Roboto,Helvetica,Arial,sans-serif; letter-spacing: -4px; position: relative; }
.contact-strip > a > span { position: absolute; right: 0; top: 0; transition: transform .4s; }
.contact-strip > a:hover > span { transform: translate(8px,-8px); }
.site-footer { padding: 45px 5% 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 30px; align-items: start; }
.footer-name { font-size: 12px; font-weight: 700; }
.footer-name span { display: block; font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 5px; }
.footer-tools { margin-left: auto; display: flex; gap: 30px; font-size: 10px; }
.motion-toggle { border: 0; background: none; padding: 0; color: var(--muted); }
.copyright { flex-basis: 100%; text-align: center; color: var(--muted); font-size: 9px; }
.page-section { padding-top: 170px; min-height: calc(100svh - 190px); }
.page-heading { margin-bottom: 65px; }
.page-heading h1, .thank-you h1 { font-size: clamp(48px,6vw,82px); line-height: 1.05; letter-spacing: -3.5px; margin: 0 0 28px; }
.page-heading h1 span, .thank-you h1 span { color: #90908a; }
.page-heading > p:last-child:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 12px; }
.project-toolbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 32px; gap: 20px; }
.project-count { font-size: 10px; color: var(--muted); white-space: nowrap; margin: 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 9%; align-items: start; }
.portrait { margin: 0; position: sticky; top: 110px; }
.portrait img { width: 100%; height: auto; max-height: 660px; object-fit: cover; filter: grayscale(1); transition: filter .7s; }
.portrait:hover img { filter: grayscale(0); }
.portrait figcaption { display: flex; justify-content: space-between; font-size: 10px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.about-story h2 { margin-top: 0; font-size: 38px; line-height: 1.15; }
.about-story p { color: var(--muted); font-size: 12px; }
.story-block { border-top: 1px solid var(--line); padding-top: 27px; margin-top: 30px; }
.story-block h3 { font-size: 25px; letter-spacing: -.8px; margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 12%; }
.contact-form .form-group { position: relative; margin-bottom: 30px; }
.contact-form label { font-size: 10px; margin-bottom: 10px; color: var(--muted); }
.contact-form .form-control { border: 0; border-bottom: 1px solid #a9a9a0; background: transparent; padding: 10px 0 15px; font-size: 13px; height: auto; color: var(--ink); border-radius: 0; }
.contact-form .form-control:focus { border-bottom: 2px solid var(--ink); outline: none; padding-bottom: 14px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.character-count { display: block; text-align: right; font-size: 9px; color: var(--muted); margin-top: 8px; }
.dark-button { background: var(--ink); border-color: var(--ink); color: var(--paper) !important; }
.dark-button:hover { color: var(--ink) !important; background: transparent; }
.action-button:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { font-size: 11px; margin-top: 15px; }
.contact-asterisk { display: block; font: 100px/1 Georgia,serif; margin: -15px 0 45px; }
.contact-aside .eyebrow { margin-bottom: 15px; }
.email-link { display: block; font-size: 12px; overflow-wrap: anywhere; }
.copy-email { margin-top: 12px; font-size: 10px; color: var(--muted); }
.copy-status { font-size: 10px; min-height: 22px; margin-top: 8px; }
.contact-note { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; color: var(--muted); font-size: 12px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 24px; }
.thank-you { position: relative; }
.thank-you > p:not(.eyebrow) { max-width: 520px; color: var(--muted); margin: 30px 0; }
.thank-you-symbol { position: absolute; right: 10%; top: 180px; font-size: 130px; color: #d5d5ce; }
.project-detail { padding-top: 140px; }
.project-detail .card-container { background: var(--paper); padding: 45px; }
.project-detail h1.h2 { font-size: clamp(30px,4vw,50px); line-height: 1.15; padding: 0; }
.project-detail blockquote, .project-detail blockquote p { font-size: clamp(20px,2.2vw,30px); line-height: 1.55; }
.project-detail .img-responsive { margin: 0 auto; }
.project-pagination { padding-top: 20px; padding-bottom: 60px; display: flex; justify-content: space-between; gap: 20px; }
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].will-reveal { opacity: 0; transform: translateY(25px); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes stardrift { to { transform: translate3d(-12px,-20px,0); opacity: .7; } }
@keyframes scrollhint { 0% { transform: translateY(-18px); } 70%,100% { transform: translateY(38px); } }
@media (min-width: 1600px) { .hero-image { background-position: center; } }
@media (max-width: 1100px) { .header-note { display: none; } .site-nav { margin-left: auto; } .site-header { gap: 30px; } .hero-content { padding-left: 6%; } .project-grid { gap: 45px 22px; } .project-card h3 { font-size: 23px; } }
@media (max-width: 767px) {
  body.portfolio { padding: 5px; } .site-frame { border-width: 5px; } .reading-progress { left: 5px; top: 2px; width: calc(100% - 10px); }
  .site-header, .site-header.is-scrolled { top: 5px; left: 5px; right: 5px; height: 70px; padding: 0 6%; }
  .wordmark { font-size: 26px; } .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 15px; margin-left: auto; } .menu-toggle span { font-size: 23px; transition: transform .25s; } .menu-toggle[aria-expanded=true] span { transform: rotate(45deg); }
  .site-nav { gap: 12px; flex-wrap: wrap; } .site-nav a { font-size: 10px; } .site-nav .nav-number { display: none; }
  .nav-enhanced .site-nav { position: absolute; top: 70px; left: 0; right: 0; padding: 18px 6% 28px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav-enhanced .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
  .nav-enhanced .site-nav a { font-size: 14px; padding: 12px 0; } .nav-enhanced .site-nav .nav-number { display: inline; }
  .home-page.nav-enhanced .site-nav { background: #101010; border-color: #333; }
  .space-hero { min-height: 735px; height: calc(100svh - 5px); }
  .hero-image { inset: -25px; background-position: 57% center; opacity: .75; }
  .hero-vignette { background: linear-gradient(90deg,#000a,#0004),linear-gradient(0deg,#030303,transparent 50%,#03030355); }
  .hero-content { padding: 125px 7% 120px; }
  .hero-content .eyebrow { font-size: 8px; letter-spacing: 1px !important; }
  .portfolio .hero-content h1 { font-size: clamp(62px,12vw,90px); letter-spacing: -3.5px; }
  .hero-role { font-size: 12px; max-width: 300px; min-height: 62px; }
  .hero-description { font-size: 11px; }
  .hero-actions { gap: 23px; } .action-button { font-size: 10px; padding: 13px 17px; gap: 20px; }
  .hero-contact { font-size: 10px; } .hero-contact span { margin-left: 5px; }
  .hero-bottom { left: 7%; right: 7%; bottom: 26px; font-size: 8px; } .hero-bottom > span:nth-child(2) { display: none; }
  .content-section { padding: 65px 7%; } .section-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .section-heading h2 { font-size: 34px; letter-spacing: -1.5px; } .eyebrow { font-size: 9px; letter-spacing: 1px !important; }
  .experience-entry { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .experience-meta p:last-child { margin-bottom: 0; }
  .experience-body h3 { font-size: 27px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 22px; }
  .project-grid.project-scroller { --project-gap: 22px; --visible-projects: 2; }
  .project-scroll-controls [data-project-direction="-1"] { left: -18px; }
  .project-scroll-controls [data-project-direction="1"] { right: -18px; }
  .project-open { transform: none; width: 30px; height: 30px; font-size: 18px; bottom: 10px; right: 10px; }
  .project-card h3 { font-size: 23px; } .project-meta { font-size: 8px; letter-spacing: 0; }
  .intro-section h2 { font-size: 42px; letter-spacing: -2px; } .intro-bottom { align-items: start; flex-direction: column; gap: 24px; } .intro-bottom p { font-size: 12px; }
  .contact-strip > a { font-size: 52px; letter-spacing: -2.5px; }
  .site-footer { padding: 35px 7% 22px; gap: 26px; } .footer-tools { margin-left: 0; flex-basis: 100%; justify-content: space-between; }
  .page-section { padding-top: 125px; } .page-heading { margin-bottom: 45px; } .page-heading h1, .thank-you h1 { font-size: 48px; letter-spacing: -2.5px; }
  .project-toolbar { gap: 12px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; } .portrait { position: static; } .portrait img { max-height: 560px; } .about-story h2 { font-size: 34px; }
  .contact-aside { border-top: 1px solid var(--line); padding-top: 40px; } .contact-asterisk { font-size: 70px; margin-bottom: 25px; }
  .project-detail { padding-top: 110px !important; } .project-detail .card-container { width: 94%; padding: 24px; margin-top: -30px; } .project-detail .col-md-6 { margin-bottom: 25px; }
  .project-pagination { align-items: start; flex-direction: column; gap: 18px; } .thank-you-symbol { display: none; }
}
@media (max-width: 480px) { .project-grid { grid-template-columns: 1fr; gap: 42px; } .project-image { aspect-ratio: 1.5; } .project-card h3 { font-size: 27px; } .hero-full-name { font-size: 10px; } }
@media (max-width: 480px) { .project-grid.project-scroller { --visible-projects: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .portfolio *, .portfolio *::before, .portfolio *::after { animation: none !important; transition: none !important; }
  .hero-image { transform: none; } [data-reveal].will-reveal { opacity: 1; transform: none; }
}
html.motion-paused { scroll-behavior: auto; }
.motion-paused .portfolio *, .motion-paused .portfolio *::before, .motion-paused .portfolio *::after { animation: none !important; transition: none !important; }
.motion-paused .hero-image { transform: none; }
.motion-paused [data-reveal].will-reveal { opacity: 1; transform: none; }
