:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --ink: #171817;
  --muted: #777975;
  --line: #dedfda;
  --signal: #ed4439;
  --stage: #e7e8e3;
  --page-width: 1540px;
  --gutter: clamp(22px, 6vw, 92px);
  --sans: -apple-system, BlinkMacSystemFont, "Inter Tight", "Segoe UI", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { min-width: 320px; margin: 0; background: var(--paper); }
body, button, a { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
::selection { color: #fff; background: var(--signal); }

.site-header,
.intro,
.work,
.about { width: min(100%, var(--page-width)); margin-inline: auto; padding-inline: var(--gutter); }
.site-header { position: relative; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { flex: 1; font-size: 14px; font-weight: 650; letter-spacing: -.045em; white-space: nowrap; }
.brand-period { color: var(--signal); }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); }
.primary-nav a { position: relative; padding-block: 12px; color: #5c5e59; font-size: 12px; font-weight: 500; transition: color .25s ease; }
.primary-nav a::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; background: var(--signal); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.2,.75,.2,1); }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.language { display: flex; align-items: center; gap: 7px; }
.lang { padding: 6px 0; border: 0; background: none; color: #9a9b96; font: 9px var(--mono); cursor: pointer; transition: color .2s ease; }
.lang + .lang::before { padding-right: 7px; color: #c5c6c0; content: "/"; }
.lang.is-active { color: var(--ink); }
.nav-toggle { display: none; }

.intro { position: relative; min-height: min(850px, calc(100svh - 82px)); min-height: max(690px, min(850px, calc(100svh - 82px))); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .82fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-top: 74px; padding-bottom: 94px; overflow: clip; perspective: 1200px; }
.intro-copy { position: relative; z-index: 1; max-width: 800px; padding-bottom: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: #686a66; font: 10px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.intro-copy > .eyebrow { margin-bottom: clamp(30px, 4.5vw, 60px); }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(237,68,57,.34); animation: status-pulse 1.8s ease-out infinite; }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(237,68,57,.34); } 70%, 100% { box-shadow: 0 0 0 11px rgba(237,68,57,0); } }
.eyebrow-year { margin-left: auto; color: #a2a39e; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 10.5ch; margin-bottom: 27px; font-size: clamp(68px, 7.3vw, 112px); font-weight: 560; line-height: 1.02; letter-spacing: -.075em; text-wrap: balance; }
.headline-line { display: block; width: fit-content; overflow: hidden; padding: 0 .08em .04em 0; }
.headline-line:nth-child(2) { margin-left: .48em; }
.headline-accent { color: var(--signal); }
.intro-lede { max-width: 45ch; margin-bottom: 29px; color: #636560; font-size: clamp(15px, 1.35vw, 18px); font-weight: 400; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding: 8px 0 9px; border-bottom: 1px solid #9fa19b; font-size: 12px; font-weight: 600; letter-spacing: -.015em; }
.text-link > span:last-child { color: var(--signal); font-size: 15px; transition: transform .25s cubic-bezier(.2,.75,.2,1); }
.text-link:hover > span:last-child { transform: translate(3px, -3px); }
.intro-link > span:last-child { transition: transform .25s cubic-bezier(.2,.75,.2,1); }
.intro-link:hover > span:last-child { transform: translateY(4px); }
.intro-portrait { position: relative; align-self: center; display: flex; align-items: end; justify-content: center; width: 100%; height: min(630px, 68vh); min-height: 430px; overflow: hidden; border-radius: 34px; background: radial-gradient(circle at var(--light-x, 72%) var(--light-y, 30%), rgba(255,255,255,.7), transparent 37%), var(--stage); isolation: isolate; }
.intro-portrait::before { position: absolute; top: 23%; right: -18%; width: 78%; aspect-ratio: 1; border: 1px solid rgba(23,24,23,.12); border-radius: 50%; background: radial-gradient(circle at 50% 0%, var(--signal) 0 4px, transparent 5px); content: ""; animation: orbit-travel 22s linear infinite; }
.intro-portrait::after { position: absolute; top: 30%; right: -12%; width: 66%; aspect-ratio: 1; border: 1px solid rgba(23,24,23,.075); border-radius: 50%; content: ""; animation: orbit-breathe 7s ease-in-out infinite alternate; }
.intro-portrait img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; padding-top: 9%; object-fit: contain; object-position: center bottom; animation: portrait-drift 5.2s ease-in-out 1s infinite; }
@keyframes portrait-drift { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-15px) scale(1.012); } }
@keyframes orbit-travel { to { transform: rotate(1turn); } }
@keyframes orbit-breathe { 0% { opacity: .4; transform: scale(.92); } 100% { opacity: .95; transform: scale(1.04); } }
.portrait-note { position: absolute; z-index: 2; top: 20px; left: 22px; display: flex; align-items: center; gap: 9px; color: #6f716b; font: 8px/1.45 var(--mono); letter-spacing: .05em; }
.portrait-note > span:first-child { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 8px var(--mono); }
.intro-foot { position: absolute; right: var(--gutter); bottom: 24px; left: var(--gutter); display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 13px; color: #858782; font: 8px var(--mono); letter-spacing: .045em; }

.work { padding-top: clamp(100px, 12vw, 176px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(43px, 6.4vw, 88px); }
.section-heading .eyebrow, .about > .eyebrow { margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(40px, 5.4vw, 76px); font-weight: 520; line-height: .96; letter-spacing: -.068em; }
.section-heading > p { max-width: 34ch; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-list { border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: minmax(240px, .68fr) minmax(0, 1.32fr); align-items: center; gap: clamp(30px, 6vw, 88px); padding-block: clamp(48px, 7.4vw, 102px); border-bottom: 1px solid var(--line); }
.project-copy { max-width: 400px; }
.project-index { margin-bottom: 22px; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.project-index span { padding-inline: 5px; color: var(--signal); }
.project h3 { margin-bottom: 17px; font-size: clamp(55px, 6vw, 84px); font-weight: 560; line-height: .9; letter-spacing: -.075em; }
.project-description { max-width: 37ch; margin-bottom: 14px; color: #666863; font-size: 14px; line-height: 1.65; }
.project-role { margin-bottom: 27px; color: #81837d; font-size: 10px; line-height: 1.55; }
.project-image { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(23,24,23,.045); border-radius: clamp(24px, 3vw, 38px); background: #e8e9e4; box-shadow: 0 24px 70px rgba(28,30,27,.07), 0 2px 9px rgba(28,30,27,.035); transition: transform .55s cubic-bezier(.2,.75,.2,1), box-shadow .55s cubic-bezier(.2,.75,.2,1); }
.project-image--lasero { background: #232323; }
.project-image--nacas { background: #eaf0f8; }
.project-image--subsentry { background: #e9ede4; }
.project-image img { display: block; width: 100%; height: 100%; padding: clamp(15px, 2.4vw, 31px); object-fit: contain; }
.project-image--lasero img { padding: clamp(20px, 3vw, 42px); }
.project-image--nacas img { padding: clamp(11px, 1.5vw, 19px); }
.project-image--subsentry img { padding: clamp(18px, 2.5vw, 32px); }
.project-image:hover { transform: translateY(-5px); box-shadow: 0 34px 84px rgba(28,30,27,.12), 0 5px 14px rgba(28,30,27,.05); }

.about { padding-top: clamp(112px, 16vw, 225px); padding-bottom: clamp(126px, 17vw, 230px); }
.about-content { display: grid; grid-template-columns: 1.08fr .72fr; gap: clamp(50px, 12vw, 176px); align-items: start; padding-top: 30px; border-top: 1px solid var(--line); }
.about-content h2 { max-width: 11ch; margin-bottom: 0; font-size: clamp(52px, 7.3vw, 100px); font-weight: 520; line-height: .94; letter-spacing: -.078em; }
.about-content > div { max-width: 460px; padding-top: 8px; }
.about-content > div > p:first-child { margin-bottom: 34px; color: #646660; font-size: 15px; line-height: 1.8; }
.about-signoff { margin-bottom: 0; font-size: 16px; font-weight: 650; letter-spacing: -.035em; }
.about-signoff span { color: var(--signal); }

.contact { width: min(100% - 24px, 1600px); margin: 0 auto; padding: 38px clamp(24px, 6vw, 92px) 27px; border-radius: 38px 38px 0 0; background: #171918; color: #f6f6f3; }
.contact-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: clamp(58px, 9vw, 116px); }
.contact .eyebrow { margin: 0; color: #b1b3ac; }
.contact-top > p:last-child { margin: 0; color: #d4d5d0; font-size: 13px; }
.contact-link { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(246,246,242,.34); font-size: clamp(42px, 8.5vw, 116px); font-weight: 520; line-height: 1.03; letter-spacing: -.075em; }
.contact-link > span:last-child { color: #ff6559; font-size: .4em; transition: transform .25s cubic-bezier(.2,.75,.2,1); }
.contact-link:hover > span:last-child { transform: translate(5px,-5px); }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-top: 20px; color: #aeb0aa; font: 9px var(--mono); }
.contact-bottom a { transition: color .2s ease; }
.contact-bottom a:hover { color: #fff; }

[data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.headline-line { animation: headline-enter 1.15s cubic-bezier(.16,1,.3,1) both; }
.headline-line:nth-child(2) { animation-delay: 180ms; }
.headline-line:nth-child(3) { animation-delay: 360ms; }
@keyframes headline-enter { from { opacity: 0; filter: blur(12px); transform: translateY(115%) scale(.94); } to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
.intro-portrait { animation: portrait-enter 1.25s cubic-bezier(.16,1,.3,1) 180ms both; }
@keyframes portrait-enter { from { opacity: 0; transform: translateY(56px) scale(.91) rotateY(-5deg); } to { opacity: 1; transform: translateY(0) scale(1) rotateY(0); } }

@media (max-width: 1050px) {
  .intro { grid-template-columns: minmax(0,1fr) minmax(280px,.76fr); gap: 34px; }
  h1 { font-size: clamp(64px, 7.5vw, 88px); }
  .intro-portrait { height: min(600px, 64vh); min-height: 400px; }
  .project { grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 36px; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .site-header { min-height: 70px; gap: 12px; }
  .brand { font-size: 13px; }
  .primary-nav { position: absolute; z-index: 5; top: 69px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 7px var(--gutter) 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-header.nav-open .primary-nav { display: flex; flex-direction: column; }
  .primary-nav a { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .primary-nav a:last-child { border: 0; }
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 36px; height: 36px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .nav-toggle span { width: 13px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .intro { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 27px; padding-top: 74px; padding-bottom: 82px; }
  .intro-copy { padding: 0; }
  .intro-copy > .eyebrow { margin-bottom: 32px; font-size: 8px; }
  h1 { max-width: none; margin-bottom: 21px; font-size: clamp(56px, 12.5vw, 92px); line-height: 1.02; }
  .headline-line:nth-child(2) { margin-left: .32em; }
  .intro-lede { max-width: 42ch; margin-bottom: 20px; font-size: 14px; line-height: 1.65; }
  .intro-portrait { width: min(100%, 490px); height: clamp(320px, 95vw, 490px); min-height: 0; justify-self: center; border-radius: 28px; }
  .portrait-note { top: 16px; left: 16px; }
  .intro-foot { bottom: 18px; gap: 10px; padding-top: 10px; font-size: 7px; }
  .intro-foot span:last-child { display: none; }
  .work { padding-top: 91px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading .eyebrow, .about > .eyebrow { margin-bottom: 15px; }
  .section-heading h2 { font-size: 44px; }
  .section-heading > p { max-width: 35ch; margin-top: 13px; font-size: 13px; }
  .project { grid-template-columns: minmax(0,1fr); gap: 25px; padding-block: 38px 45px; }
  .project-copy { max-width: 510px; }
  .project-index { margin-bottom: 16px; font-size: 8px; }
  .project h3 { margin-bottom: 11px; font-size: 59px; }
  .project-description { max-width: 42ch; margin-bottom: 9px; font-size: 13px; }
  .project-role { margin-bottom: 17px; font-size: 10px; }
  .project-copy .text-link { font-size: 11px; }
  .project-image { aspect-ratio: 16 / 10; border-radius: 25px; }
  .project-image img { padding: 12px; }
  .project-image--lasero img { padding: 18px; }
  .project-image--nacas img { padding: 10px; }
  .project-image--subsentry img { padding: 16px; }
  .project-image:hover { transform: translateY(-3px); }
  .about { padding-top: 99px; padding-bottom: 107px; }
  .about-content { grid-template-columns: 1fr; gap: 27px; padding-top: 22px; }
  .about-content h2 { max-width: 9ch; font-size: 65px; }
  .about-content > div { padding-top: 0; }
  .about-content > div > p:first-child { margin-bottom: 24px; font-size: 14px; }
  .contact { width: calc(100% - 12px); padding: 26px 22px 22px; border-radius: 27px 27px 0 0; }
  .contact-top { align-items: start; flex-direction: column; gap: 13px; padding-bottom: 54px; }
  .contact-link { align-items: end; padding-bottom: 13px; font-size: clamp(40px, 9.4vw, 64px); }
  .contact-bottom { display: grid; grid-template-columns: 1fr auto; gap: 13px; padding-top: 16px; font-size: 8px; }
  .contact-bottom > span { grid-column: 1; grid-row: 2; }
  .contact-bottom > a:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot { animation-duration: 3.2s; }
  .intro-portrait::before { animation-duration: 52s; }
  .intro-portrait::after { animation-duration: 14s; }
  .intro-portrait img { animation-name: portrait-drift-reduced; animation-duration: 8s; }
  @keyframes portrait-drift-reduced { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  .headline-line, .intro-portrait { animation-duration: .55s !important; }
  *, *::before, *::after { transition-duration: .15s !important; }
  [data-reveal] { transform: translateY(8px); transition-duration: .35s !important; }
}
