:root {
  --ink: #101010;
  --paper: #efefed;
  --soft: #d7d7d3;
  --mid: #9b9b97;
  --line: rgba(16, 16, 16, .22);
  --condensed: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --sans: "DM Sans", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--paper); background: var(--ink); }
.noise { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 28px; border-bottom: 1px solid rgba(239,239,237,.35); color: var(--paper); text-transform: uppercase; font-family: var(--condensed); font-size: 13px; letter-spacing: .08em; }
.monogram { font-size: 17px; font-weight: 700; letter-spacing: -.02em; justify-self: start; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { opacity: .68; transition: opacity .2s ease; }
.site-header nav a:hover { opacity: 1; }
.availability { justify-self: end; display: flex; align-items: center; gap: 9px; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); animation: pulse 2s ease infinite; }

.hero { position: relative; min-height: 100svh; padding: 120px 28px 30px; color: var(--paper); background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -20%; right: 8%; width: 46vw; height: 46vw; border: 1px solid rgba(239,239,237,.12); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(239,239,237,.025), 0 0 0 14vw rgba(239,239,237,.018); }
.hero-kicker, .hero-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; }
.hero-kicker { text-transform: uppercase; font-family: var(--condensed); letter-spacing: .11em; font-size: 12px; color: #b7b7b2; }
.hero-title { position: relative; z-index: 1; margin: auto 0; padding: 6vh 0; font-family: var(--condensed); font-size: clamp(82px, 16vw, 245px); font-weight: 500; line-height: .72; letter-spacing: -.055em; text-transform: uppercase; }
.hero-title span { display: block; }
.hero-title span:last-child { text-align: right; }
.hero-statement { max-width: 610px; margin: 0; font-family: var(--condensed); font-size: clamp(27px, 3.2vw, 49px); line-height: .98; letter-spacing: -.02em; color: #b8b8b3; }
.hero-statement strong { color: var(--paper); font-weight: 500; }
.round-link { flex: 0 0 126px; height: 126px; border: 1px solid rgba(239,239,237,.5); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; font-family: var(--condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; transition: color .35s ease, background .35s ease, transform .35s ease; }
.round-link svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.round-link:hover { color: var(--ink); background: var(--paper); transform: rotate(-7deg); }
.hero-index { position: absolute; right: -10px; bottom: -95px; color: rgba(239,239,237,.04); font-family: var(--condensed); font-size: 340px; line-height: 1; font-weight: 700; }

.section { padding: 100px 28px 120px; border-bottom: 1px solid var(--ink); }
.section-label { display: grid; grid-template-columns: 80px 1fr; padding-bottom: 18px; border-bottom: 1px solid var(--ink); text-transform: uppercase; font-family: var(--condensed); font-size: 13px; letter-spacing: .1em; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 710px; }
.profile-display { position: relative; padding: 38px 28px 22px 0; border-right: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.portrait-type { min-height: 560px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; background: var(--soft); border: 1px solid var(--ink); font-family: var(--condensed); font-weight: 600; font-size: clamp(130px, 18vw, 270px); line-height: 1; letter-spacing: -.09em; }
.portrait-type span { text-align: center; mix-blend-mode: multiply; }
.portrait-type span:nth-child(2) { transform: translateY(-7%); color: #777773; }
.profile-meta { display: flex; justify-content: space-between; padding-top: 15px; font-family: var(--condensed); text-transform: uppercase; font-size: 12px; letter-spacing: .07em; }
.profile-copy { padding: 70px 2vw 0 6vw; }
.eyebrow { margin: 0 0 32px; font-family: var(--condensed); text-transform: uppercase; letter-spacing: .13em; font-size: 13px; }
.profile-copy h2, .section-intro h2, .beyond-lead h2 { margin: 0 0 52px; font-family: var(--condensed); text-transform: uppercase; font-size: clamp(54px, 6.2vw, 96px); font-weight: 500; line-height: .84; letter-spacing: -.04em; }
.profile-copy > p:not(.eyebrow) { max-width: 600px; font-size: 19px; line-height: 1.5; color: #464643; }
.profile-facts { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.profile-facts div { padding: 16px 16px 0 0; }
.profile-facts div + div { padding-left: 16px; border-left: 1px solid var(--ink); }
.profile-facts span { display: block; margin-bottom: 15px; color: #666662; font-family: var(--condensed); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.profile-facts strong { font-weight: 500; line-height: 1.45; }

.work-section { background: #dededb; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 75px 0 90px; }
.section-intro h2 { margin: 0; }
.section-intro p { max-width: 520px; margin: auto 0 0; color: #4d4d49; font-size: 18px; }
.experience-list { border-top: 1px solid var(--ink); }
.experience-row { position: relative; width: 100%; min-height: 118px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; display: grid; grid-template-columns: 70px 2.1fr 1.3fr .8fr 35px; align-items: center; text-align: left; cursor: pointer; transition: color .3s ease; overflow: hidden; }
.experience-row::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--ink); transform: translateY(102%); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.experience-row:hover { color: var(--paper); }
.experience-row:hover::before { transform: translateY(0); }
.experience-row > * { position: relative; z-index: 1; }
.row-number, .row-date, .row-tags { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .06em; }
.row-main { display: flex; flex-direction: column; }
.row-main strong { font-family: var(--condensed); font-size: clamp(30px, 3.4vw, 52px); line-height: .95; font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; }
.row-main small { margin-top: 7px; font-size: 13px; }
.row-tags { font-size: 13px; }
.row-date { font-size: 14px; text-align: right; }
.row-arrow { font-size: 25px; text-align: right; }

.projects-section { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; padding-top: 40px; }
.project-card { min-height: 660px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--ink); margin: -1px 0 0 -1px; overflow: hidden; }
.project-card--dark { color: var(--paper); background: var(--ink); }
.project-card--light { background: #ddd; }
.project-card--mid { background: #a9a9a5; }
.project-card--paper { background: #f4f4f1; }
.project-top { display: flex; justify-content: space-between; font-family: var(--condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.project-bottom { display: grid; grid-template-columns: .8fr 1fr; align-items: end; gap: 30px; border-top: 1px solid currentColor; padding-top: 18px; }
.project-bottom h3 { margin: 0; font-family: var(--condensed); text-transform: uppercase; font-weight: 500; font-size: clamp(48px, 5vw, 77px); line-height: .83; letter-spacing: -.03em; }
.project-bottom p { margin: 0; max-width: 380px; font-size: 14px; opacity: .75; }
.delta-visual { display: flex; align-items: flex-end; gap: 30px; margin: auto 2vw; }
.delta-visual > span { font-family: var(--condensed); font-size: clamp(180px, 25vw, 360px); line-height: .68; }
.delta-visual > div { height: 150px; flex: 1; border-bottom: 1px solid #777; display: flex; align-items: flex-end; gap: 8px; }
.delta-visual i { display: block; flex: 1; height: var(--h); background: #ccc; }
.reprise-visual { margin: auto; width: min(420px, 78%); aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; display: grid; grid-template-columns: 1fr 1fr; place-items: center; font-family: var(--condensed); text-transform: uppercase; font-size: 13px; letter-spacing: .1em; animation: slowspin 24s linear infinite; }
.reprise-visual span { animation: slowspin 24s linear reverse infinite; }
.sim-visual { margin: auto; width: 80%; display: flex; align-items: center; }
.sim-face { width: 120px; height: 120px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--condensed); font-size: 30px; }
.sim-line { height: 1px; flex: 1; background: var(--ink); position: relative; }
.sim-line::after { content: ""; position: absolute; top: -5px; left: 30%; width: 10px; height: 10px; background: var(--ink); border-radius: 50%; }
.market-visual { margin: auto; display: flex; width: 70%; align-items: center; font-family: var(--condensed); font-size: 72px; }
.market-visual i { flex: 1; margin: 0 18px; border-top: 1px solid var(--ink); position: relative; }
.market-visual i::after { content: "→"; position: absolute; right: -4px; top: -29px; font-style: normal; font-size: 33px; }

.beyond-section { background: #d2d2ce; }
.beyond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; padding-top: 80px; }
.beyond-lead h2 { max-width: 630px; }
.beyond-list { border-top: 1px solid var(--ink); }
.beyond-list article { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 30px 0 55px; border-bottom: 1px solid var(--ink); }
.beyond-list article > span { font-family: var(--condensed); }
.beyond-list h3 { margin: 0 0 17px; font-family: var(--condensed); text-transform: uppercase; font-size: 35px; line-height: .95; font-weight: 500; }
.beyond-list p { margin: 0; max-width: 590px; color: #4a4a47; font-size: 16px; }

.contact-section { min-height: 90svh; padding: 32px 28px 25px; color: var(--paper); background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.contact-kicker, .contact-foot { display: flex; justify-content: space-between; font-family: var(--condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.contact-title { margin: auto 0; font-family: var(--condensed); font-size: clamp(90px, 15vw, 230px); font-weight: 500; line-height: .75; text-transform: uppercase; letter-spacing: -.05em; }
.contact-title span { display: block; }
.contact-title span:last-child { text-align: right; color: #888884; transition: color .3s ease; }
.contact-title:hover span:last-child { color: var(--paper); }
.contact-foot { padding-top: 18px; border-top: 1px solid #555; }

.experience-dialog { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); background: #e6e6e2; }
.experience-dialog::backdrop { background: rgba(0,0,0,.75); }
.experience-dialog[open] { animation: dialogin .42s cubic-bezier(.22,.61,.36,1); }
.dialog-shell { min-height: 100%; padding: 25px 28px 50px; }
.dialog-head { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--ink); font-family: var(--condensed); text-transform: uppercase; letter-spacing: .08em; }
.dialog-close { border: 0; background: transparent; text-transform: uppercase; cursor: pointer; padding: 0; }
.dialog-content { display: grid; grid-template-columns: 1fr 3fr; gap: 6vw; padding-top: 60px; }
.dialog-aside { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .07em; }
.dialog-aside p { margin: 0 0 5px; }
.dialog-main { max-width: 980px; }
.dialog-main h2 { margin: 0 0 45px; font-family: var(--condensed); font-size: clamp(68px, 10vw, 150px); line-height: .78; font-weight: 500; letter-spacing: -.045em; text-transform: uppercase; }
.dialog-summary { max-width: 800px; margin: 0 0 55px; font-size: clamp(20px, 2vw, 29px); line-height: 1.35; color: #3c3c39; }
.dialog-projects { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.dialog-project { padding: 20px 25px 40px 0; }
.dialog-project + .dialog-project { padding-left: 25px; border-left: 1px solid var(--ink); }
.dialog-project span { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.dialog-project h3 { margin: 20px 0 12px; font-family: var(--condensed); text-transform: uppercase; font-size: 40px; font-weight: 500; line-height: 1; }
.dialog-project p { margin: 0; color: #555550; }
.dialog-skills { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; border-top: 1px solid var(--ink); }
.dialog-skills span { padding: 8px 13px; border: 1px solid var(--ink); border-radius: 100px; font-family: var(--condensed); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes slowspin { to { transform: rotate(360deg); } }
@keyframes dialogin { from { opacity: 0; transform: translateY(32px); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr 1fr; }
  .site-header nav { display: none; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(72px, 20vw, 150px); line-height: .78; }
  .hero-title span:last-child { text-align: left; }
  .hero-foot { gap: 30px; }
  .hero-statement { max-width: 75%; }
  .profile-grid, .section-intro, .beyond-grid { grid-template-columns: 1fr; }
  .profile-display { border-right: 0; padding-right: 0; }
  .profile-copy { padding: 70px 0 0; }
  .section-intro { gap: 35px; }
  .experience-row { grid-template-columns: 45px 1fr auto 25px; }
  .row-tags { display: none; }
  .project-card { min-height: 560px; }
  .project-bottom { grid-template-columns: 1fr; }
  .dialog-content { grid-template-columns: 1fr; }
  .dialog-aside { display: flex; gap: 15px; }
}

@media (max-width: 650px) {
  body { font-size: 14px; }
  .site-header, .hero, .section, .contact-section, .dialog-shell { padding-left: 18px; padding-right: 18px; }
  .availability { font-size: 11px; }
  .hero { min-height: 780px; }
  .hero-kicker span:last-child { display: none; }
  .hero-title { margin: 13vh 0 auto; font-size: 23vw; line-height: .8; }
  .hero-foot { align-items: flex-end; }
  .hero-statement { max-width: calc(100% - 95px); font-size: 27px; }
  .round-link { flex-basis: 86px; height: 86px; font-size: 9px; }
  .round-link svg { width: 20px; }
  .section { padding-top: 70px; padding-bottom: 85px; }
  .section-label { grid-template-columns: 45px 1fr; }
  .portrait-type { min-height: 420px; font-size: 27vw; }
  .profile-copy h2, .section-intro h2, .beyond-lead h2 { font-size: 15vw; }
  .profile-copy > p:not(.eyebrow) { font-size: 16px; }
  .profile-facts { grid-template-columns: 1fr; }
  .profile-facts div, .profile-facts div + div { padding: 15px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .experience-row { min-height: 105px; grid-template-columns: 31px 1fr 60px 22px; }
  .row-main strong { font-size: 30px; }
  .row-main small { font-size: 11px; }
  .row-date { font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 590px; }
  .project-bottom h3 { font-size: 58px; }
  .contact-title { font-size: 21vw; }
  .contact-foot span { display: none; }
  .dialog-content { padding-top: 35px; }
  .dialog-main h2 { font-size: 19vw; margin-bottom: 30px; }
  .dialog-summary { font-size: 18px; }
  .dialog-projects { grid-template-columns: 1fr; }
  .dialog-project { padding: 20px 0 30px; }
  .dialog-project + .dialog-project { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
