:root { color-scheme: dark; --bg: #050505; --text: #f1f0eb; --muted: #aaa9a3; --line: #333330; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300; line-height: 1.55; }
a { color: inherit; text-underline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; }
a:hover { color: #c6c5be; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { opacity: .3; cursor: default; }
:focus-visible { outline: 2px solid #e8dcae; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; }
.wrap { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.micro { font-size: 11px; text-transform: uppercase; letter-spacing: .045em; line-height: 1.5; }
.muted { color: var(--muted); }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 12px; background: #fff; color: #000; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 96px; gap: 24px; }
.wordmark, nav a { font-size: 12px; text-transform: uppercase; text-decoration: none; }
nav { display: flex; gap: 34px; }
nav a, .wordmark { padding-block: 12px; }
.hero { position: relative; min-height: 790px; display: flex; flex-direction: column; justify-content: end; padding-top: 170px; }
.hero-top { position: absolute; top: 28px; width: 100%; display: flex; justify-content: space-between; color: var(--muted); }
.image-stack { position: absolute; width: 245px; height: 310px; left: 49%; top: 94px; transform: translateX(-50%); }
.stack-image { position: absolute; width: 100%; height: 100%; border: 1px solid #ffffff24; }
.stack-cloud { transform: translate(-84px,-10px) rotate(-17deg); }
.stack-sketch { transform: translate(76px, 2px) rotate(16deg); }
.stack-ux { transform: translate(-38px,18px) rotate(-7deg); }
.stack-phase { transform: translate(42px,30px) rotate(8deg); }
.stack-portrait { transform: translateY(40px); }
h1 { position: relative; margin: 90px 0 55px; pointer-events: none; font-size: clamp(80px, 14.2vw, 220px); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
h1 span { display: block; }
h1 span:last-child { text-align: right; margin-right: 12%; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: end; gap: 48px; padding-bottom: 40px; }
.hero-actions { display: flex; flex-direction: column; align-items: start; gap: 16px; }
.hero-bottom p { max-width: 490px; font-size: 16px; }
.hero-note { text-align: right; color: var(--muted); }
.text-link { text-decoration: none; border-bottom: 1px solid #666; padding-bottom: 6px; width: fit-content; }
.section { padding-top: 100px; }
.section-intro { display: flex; justify-content: space-between; align-items: start; border-top: 1px solid var(--line); padding: 22px 0 38px; gap: 30px; }
.section-intro > p:last-child { font-size: 14px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 18px; }
.filters button { border: 0; border-bottom: 1px solid transparent; background: none; padding: 10px 0; text-transform: uppercase; font-size: 11px; color: var(--muted); }
.filters button[aria-pressed="true"] { color: var(--text); border-color: var(--text); }
#work-status { margin-bottom: 18px; min-height: 17px; }
.gallery { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 5px; scrollbar-color: #62625b #111; scrollbar-width: thin; padding: 5px 5px 22px; margin-inline: -5px; }
.work-card { flex: 0 0 38%; min-width: 0; scroll-snap-align: start; }
.work-card[hidden] { display: none; }
.work-card > a { display: block; text-decoration: none; }
.work-card img { width: 100%; aspect-ratio: 4 / 5; transition: filter .25s ease; }
.work-card > a:hover img { filter: brightness(1.12); }
.card-meta { display: flex; justify-content: space-between; margin-top: 17px; gap: 15px; color: var(--muted); }
.work-card h3 { font-size: 21px; margin-top: 8px; letter-spacing: -.035em; }
.work-card p { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 390px; }
.card-status { display: block; margin-top: 14px; font-size: 10px; color: #c8bfa6; text-transform: uppercase; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 32px; }
.gallery-controls > div { display: flex; gap: 10px; }
.arrow { width: 46px; height: 46px; border: 1px solid #55554f; background: transparent; border-radius: 50%; font-size: 22px; }
.arrow:not(:disabled):hover { background: #232320; }
.display-footer { border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; gap: 24px; }
.display-footer h2, .display-footer > span { font-size: clamp(40px, 7vw, 105px); letter-spacing: -.065em; text-transform: uppercase; line-height: 1.1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.editorial-image { width: 100%; max-height: 650px; aspect-ratio: 4 / 5; }
figcaption { margin-top: 12px; }
.large-title { font-size: clamp(48px, 6.5vw, 100px); letter-spacing: -.06em; line-height: 1; }
.section-copy > p { margin-top: 24px; font-size: 16px; color: var(--muted); max-width: 580px; }
.section-copy .lead { color: var(--text); font-size: 25px; line-height: 1.3; margin-top: 0; letter-spacing: -.03em; }
.section-copy .placeholder-note { padding: 16px 0; border-block: 1px solid var(--line); font-size: 13px; color: #c8bfa6; }
.detail-list { margin: 32px 0; }
.detail-list > div { border-top: 1px solid var(--line); padding: 16px 0; }
dt { font-size: 12px; text-transform: uppercase; }
dd { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.skills { margin-bottom: 28px; }
.skills p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.unavailable { color: var(--muted); font-size: 12px; }
.journal-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.journal-heading > p { font-size: 14px; max-width: 350px; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.journal-grid figure:last-child { padding-top: 100px; }
.journal-grid img, .journal-slot { width: 100%; aspect-ratio: 5 / 4; }
.journal-slot { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.journal-slot p { font-size: clamp(20px, 3vw, 45px); line-height: 1.15; letter-spacing: -.04em; color: var(--muted); }
.journal-grid figcaption { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.contact { padding-top: 130px; padding-bottom: 70px; }
.contact > .micro { border-top: 1px solid var(--line); padding-top: 22px; }
.contact h2 { font-size: clamp(55px, 12vw, 180px); letter-spacing: -.07em; line-height: 1.2; margin: 40px 0; }
.contact-bottom { display: flex; justify-content: space-between; gap: 40px; }
.contact-bottom > p { color: var(--muted); font-size: 14px; }
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 35px; font-size: 13px; }
.contact-links small { display: block; font-size: 10px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 25px; display: flex; justify-content: space-between; gap: 24px; font-size: 10px; text-transform: uppercase; color: var(--muted); }
.site-footer a { text-decoration: none; }
/* The shared project page uses the same editorial spacing and typography. */
.case-header { padding-top: 60px; }
.case-header h1 { font-size: clamp(48px, 8vw, 120px); line-height: 1; margin: 30px 0; pointer-events: auto; overflow-wrap: anywhere; }
.case-summary { max-width: 750px; font-size: 21px; color: var(--muted); margin-bottom: 30px; }
.case-cover { width: 100%; height: 420px; max-height: 580px; object-fit: cover; object-position: center 65%; margin-top: 40px; }
.case-body { max-width: 900px; margin: 50px auto 100px; }
.case-section { display: grid; grid-template-columns: 190px 1fr; gap: 40px; border-top: 1px solid var(--line); padding: 30px 0; }
.case-section h2 { text-transform: uppercase; font-size: 12px; }
.case-section p { color: var(--muted); }
.architecture { list-style: none; padding: 0; margin: 0; }
.architecture li { border: 1px solid #55554f; padding: 18px; text-align: center; }
.architecture li + li { margin-top: 28px; position: relative; }
.architecture li + li::before { content: '↓'; position: absolute; left: 50%; top: -28px; }
.project-links { display: flex; flex-wrap: wrap; gap: 20px; }
@media (min-width: 1600px) { .hero { min-height: 900px; } .image-stack { top: 130px; width: 290px; height: 360px; } }
@media (max-width: 900px) { .wrap { width: calc(100% - 48px); } .hero { min-height: 730px; } .hero-bottom { grid-template-columns: 1fr 2fr; gap: 30px; } .hero-note { display: none; } .image-stack { width: 210px; height: 275px; } .split { gap: 40px; } .work-card { flex-basis: 46%; } .journal-heading { align-items: start; } }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); } .site-header { min-height: 105px; flex-wrap: wrap; gap: 0; padding-block: 14px; } .wordmark { width: 100%; } nav { width: 100%; justify-content: space-between; gap: 10px; } nav a { font-size: 11px; }
  .hero { min-height: 700px; padding-top: 270px; } .hero-top { top: 20px; font-size: 9px; gap: 20px; } .hero-top span:last-child { white-space: nowrap; }
  .image-stack { top: 155px; width: 150px; height: 240px; } .stack-cloud { transform: translate(-42px,-5px) rotate(-17deg); } .stack-sketch { transform: translate(42px,2px) rotate(16deg); } .stack-ux { transform: translate(-22px,18px) rotate(-7deg); } .stack-phase { transform: translate(22px,30px) rotate(8deg); }
  h1 { font-size: 15vw; margin: 40px 0 40px; letter-spacing: -.07em; } h1 span:last-child { margin-right: 4%; } .hero-bottom { display: flex; flex-direction: column-reverse; align-items: start; gap: 24px; padding-bottom: 20px; } .hero-bottom p { font-size: 15px; max-width: 400px; }
  .section { padding-top: 70px; } .section-intro { gap: 25px; padding-bottom: 25px; } .section-intro > p:last-child { font-size: 12px; max-width: 180px; } .filters { gap: 2px 20px; } .filters button { font-size: 10px; min-height: 44px; } .work-card { flex-basis: 84%; } .gallery { gap: 18px; } .work-card h3 { font-size: 20px; } .display-footer h2, .display-footer > span { font-size: 10vw; }
  .split { grid-template-columns: 1fr; gap: 32px; } .phase-grid .section-copy { order: -1; } .large-title { font-size: 58px; } .about-grid > h2 br { display: none; } .about-grid > h2 { max-width: 350px; } .section-copy .lead { font-size: 23px; } .section-copy > p { font-size: 15px; }
  .journal-heading { flex-direction: column; gap: 24px; } .journal-grid { gap: 30px; grid-template-columns: 1fr; } .journal-grid figure:last-child { padding: 0; } .journal-slot { min-height: 240px; } .journal-slot p { font-size: 32px; }
  .contact { padding-bottom: 45px; } .contact h2 { font-size: 15vw; } .contact-bottom { flex-direction: column; gap: 30px; } .contact-links { gap: 24px; } .site-footer { flex-wrap: wrap; } .site-footer > span { display: none; }
  .case-header { padding-top: 35px; } .case-header h1 { font-size: 14vw; } .case-summary { font-size: 18px; } .case-section { grid-template-columns: 1fr; gap: 14px; } .case-body { margin-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.architecture-cover { height: auto; max-height: none; aspect-ratio: 1000 / 760; object-fit: contain; background: #142327; }
.work-card .architecture-cover { object-fit: contain; }
.case-references { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.case-references li + li { margin-top: 12px; }

.experience-role { font-size: 25px; line-height: 1.3; letter-spacing: -.03em; margin: 12px 0 8px; }
.experience-entry + .experience-entry { margin-top: 40px; }
.case-cover.dashboard-cover { height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
.work-card .dashboard-cover { object-position: 56% center; }

.section-copy .phase-role { margin-top: 24px; }
.phase-impact { display: flex; flex-wrap: wrap; gap: 26px 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.phase-impact > div { flex: 1 1 160px; }
.phase-impact strong { display: block; font-size: 54px; font-weight: 300; letter-spacing: -.06em; line-height: 1.1; }
.phase-impact span { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.section-copy .phase-source { font-size: 10px; margin-bottom: 28px; }
.phase-photo { object-position: center; }

/* Keep the hover target around all expanded images so moving across them is stable. */
.image-stack { z-index: 0; transition: width .45s cubic-bezier(.2,.7,.2,1), height .45s ease; }
.stack-images { position: relative; width: 100%; height: 100%; }
.stack-image { top: 0; left: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), left .45s cubic-bezier(.2,.7,.2,1), top .45s ease, width .45s ease, height .45s ease; }
.stack-toggle { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; border-radius: 0; cursor: pointer; }
.stack-hint { position: absolute; top: -30px; right: 0; white-space: nowrap; color: var(--muted); }
/* Reserve room above the name for the curved fan. */
.hero { min-height: 900px; }
.image-stack.is-expanded { z-index: 2; width: min(100%, 1100px); left: 50%; height: 310px; }
.image-stack.is-expanded .stack-image { width: 16%; height: 210px; transform-origin: center; }
.image-stack.is-expanded .stack-cloud { left: 12%; top: 80px; transform: translateX(-50%) rotate(-28deg); }
.image-stack.is-expanded .stack-sketch { left: 30%; top: 22px; transform: translateX(-50%) rotate(-14deg); }
.image-stack.is-expanded .stack-ux { left: 50%; top: 0; transform: translateX(-50%); }
.image-stack.is-expanded .stack-phase { left: 70%; top: 22px; transform: translateX(-50%) rotate(14deg); }
.image-stack.is-expanded .stack-portrait { left: 88%; top: 80px; transform: translateX(-50%) rotate(28deg); }
@media (max-width: 900px) {
  .hero { min-height: 820px; }
  .image-stack.is-expanded .stack-image { height: 175px; }
}
@media (max-width: 600px) {
  .hero { min-height: 760px; }
  .image-stack.is-expanded { width: 100%; height: 240px; }
  .image-stack.is-expanded .stack-image { width: 17%; height: clamp(90px, 28vw, 130px); }
  .image-stack.is-expanded .stack-cloud { left: 12%; top: 95px; transform: translateX(-50%) rotate(-25deg); }
  .image-stack.is-expanded .stack-sketch { left: 30%; top: 28px; transform: translateX(-50%) rotate(-12deg); }
  .image-stack.is-expanded .stack-ux { left: 50%; top: 0; transform: translateX(-50%); }
  .image-stack.is-expanded .stack-phase { left: 70%; top: 28px; transform: translateX(-50%) rotate(12deg); }
  .image-stack.is-expanded .stack-portrait { left: 88%; top: 95px; transform: translateX(-50%) rotate(25deg); }
}
