@font-face{font-family:"Inter Tight";font-weight:300;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-300-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-weight:300;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-ext-300-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Tight";font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/inter-tight-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2199,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/jetbrains-mono-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --bg:#0E0E0E; --fg:#EDEDED; --text:#CFCFCF; --muted:#A3A3A3; --dim:#8F8F8F;
  --line:#222222; --ph:#1C1C1C; --hi:#FFFFFF; --line2:#3A3A3A; --lb:rgba(10,10,10,.97);
  --sans:"Inter Tight",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Menlo,monospace;
}
/* Light theme: only when the visitor chooses it */
:root[data-theme="light"]{--bg:#F4F4F1;--fg:#141414;--text:#2E2E2E;--muted:#555555;--dim:#666666;--line:#DCDCD8;--ph:#E4E4E0;--hi:#000000;--line2:#BDBDB8;--lb:rgba(244,244,241,.97)}

html,body{transition:background-color .3s,color .3s}
.theme-toggle{background:none;border:0;padding:0;margin:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:var(--muted);cursor:pointer}
.theme-toggle:hover{color:var(--hi)}

*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;transition:color .2s,opacity .2s}
img{display:block;max-width:100%;height:auto}
::selection{background:var(--fg);color:var(--bg)}
.wrap{max-width:1360px;margin:0 auto;padding-left:40px;padding-right:40px}
.mono{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.u{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.u:hover{color:var(--hi)}
h1,h2{margin:0;font-weight:300}

/* Header */
.site-header{max-width:1360px;margin:0 auto;padding:28px 40px;display:flex;flex-wrap:wrap;gap:16px 32px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
.brand{font-size:19px;font-weight:400;letter-spacing:-.01em}
.nav{display:flex;flex-wrap:wrap;gap:28px;font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.nav a{color:var(--muted)}
.nav a:hover{color:var(--hi)}

/* Hero */
.hero{padding-top:120px;padding-bottom:80px;display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end;justify-content:space-between}
.hero h1{flex:999 1 640px;font-size:clamp(56px,9vw,132px);line-height:.92;letter-spacing:-.035em}
.hero-intro{margin:0;flex:1 1 460px;max-width:520px;font-size:16px;line-height:1.55;color:var(--muted)}
.hero-intro{text-wrap:balance}.hero-intro .nw{white-space:nowrap}.hero-intro .hb{display:none}
@media (min-width:720px){.hero-intro{flex:0 0 auto;width:max-content;max-width:100%;text-wrap:wrap}.hero-intro .hb{display:inline}}

/* Featured */
.featured{display:block}
.featured-img{display:block;aspect-ratio:4/3;background:var(--ph);overflow:hidden}
.featured-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease,opacity .3s}
.featured:hover .featured-img img{transform:scale(1.015)}
.meta-row{display:flex;justify-content:space-between;gap:16px;padding-top:16px;font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* Sections */
.section{padding-top:140px;padding-bottom:40px}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-bottom:32px;border-bottom:1px solid var(--line)}
h2{font-size:40px;font-weight:400;letter-spacing:-.02em}

/* Work cards */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:48px 24px}
.card{display:block}
.card-img{display:block;aspect-ratio:1/1;background:var(--ph);overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease,opacity .3s}
.card:hover .card-img img{transform:scale(1.03);opacity:.85}
.card-title{display:block;font-size:18px;font-weight:500;padding-top:14px}
.card-year{display:block;font-family:var(--mono);font-size:12px;color:var(--dim);padding-top:6px}

/* Information */
.split{display:flex;flex-wrap:wrap;gap:48px 80px}
.split h2{flex:1 1 260px}
.bio{flex:999 1 560px;min-width:0;max-width:800px;font-size:20px;line-height:1.6;font-weight:300;color:var(--text)}
.bio p{margin:0 0 24px}

/* Contact */
.label{padding-bottom:24px}
.big-mail{display:inline-block;font-size:clamp(36px,7vw,96px);font-weight:300;letter-spacing:-.03em;line-height:1.05;border-bottom:1px solid var(--line2);padding-bottom:8px;word-break:break-word}
.big-mail:hover{border-color:var(--fg)}
.contact-links{display:flex;flex-wrap:wrap;gap:16px 40px;padding-top:48px;font-size:13px;letter-spacing:.04em}
.contact-links a{color:var(--muted)}
.contact-links a:hover{color:var(--hi)}

/* Footer */
.site-footer{max-width:1360px;margin:80px auto 0;padding:40px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid var(--line);font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}

/* Project page */
.project-head{padding-top:100px;padding-bottom:64px}
.back:hover{color:var(--hi)}
.project-head h1{margin-top:32px;font-size:clamp(48px,9vw,128px);line-height:.95;letter-spacing:-.035em}
.project-info{display:flex;flex-wrap:wrap;gap:48px 80px;padding-bottom:100px}
.facts{margin:0;flex:1 1 260px;max-width:420px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;align-content:start;letter-spacing:.04em}
.facts dt{color:var(--dim);padding-bottom:6px}
.facts dd{margin:0;color:var(--fg);text-transform:none}
.facts .awards{grid-column:1/-1}
.facts .awards dd{line-height:1.6;margin-bottom:6px}
.facts .awards a{color:var(--fg)}
.facts .awards a:hover{color:var(--hi)}
.project-text{flex:999 1 560px;min-width:0;max-width:760px;font-size:18px;line-height:1.6;color:var(--text)}
.project-text p{margin:0 0 20px}
.project-text .note{font-family:var(--mono);font-size:12px;line-height:1.8;color:var(--dim)}
.works{display:flex;flex-direction:column;gap:24px}
.single{margin:0 auto;width:100%}
.single img{width:100%}
.single figcaption{padding-top:12px;font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--dim)}
.single figcaption a:hover{color:var(--hi)}
.gallery{display:flex;flex-direction:column;gap:24px}
.g-row{display:flex;gap:24px}
.zoom{display:block;min-width:0;cursor:zoom-in;background:var(--ph)}
.zoom img{width:100%;height:auto;object-fit:cover}
.next{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;border-top:1px solid var(--line);padding-top:32px}
.next-title{font-size:clamp(32px,6vw,80px);font-weight:300;letter-spacing:-.03em;line-height:1}
.next:hover .next-title{color:var(--hi)}

.series{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.s-item{margin:0}
.s-item img{width:100%}
.s-item figcaption{padding-top:12px;font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--dim)}
.project-text .note a:hover{color:var(--hi)}

/* Other projects */
.others{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;border-top:1px solid var(--line);padding-top:24px}
.other{display:block}
.other-img{display:block;aspect-ratio:1/1;background:var(--ph);overflow:hidden}
.other-img img{width:100%;height:100%;object-fit:cover;transition:opacity .3s}
.other:hover .other-img img{opacity:.75}
.other-title{display:block;padding-top:10px;font-size:13px;line-height:1.35;color:var(--muted)}
.other:hover .other-title{color:var(--hi)}
@media (max-width:1000px){.others{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.other{flex:0 0 150px;scroll-snap-align:start}}

/* Lightbox */
.lightbox{position:fixed;inset:0;z-index:100;background:var(--lb);display:flex;align-items:center;justify-content:center}
.lightbox[hidden]{display:none}
.lightbox img{max-width:90vw;max-height:88vh;width:auto;height:auto}
.lightbox button{position:absolute;background:none;border:0;color:var(--fg);font-family:var(--mono);font-size:28px;line-height:1;padding:18px;cursor:pointer;min-width:56px;min-height:56px}
.lightbox button:hover{color:var(--hi)}
.lb-close{top:8px;right:12px}
.lb-prev{left:8px;top:50%;transform:translateY(-50%)}
.lb-next{right:8px;top:50%;transform:translateY(-50%)}

/* Mobile */
@media (max-width:700px){
  .wrap,.site-header,.site-footer{padding-left:20px;padding-right:20px}
  .site-header{padding-top:20px;padding-bottom:20px}
  .nav{gap:20px}
  .hero{padding-top:64px;padding-bottom:48px;gap:24px}
  .section{padding-top:96px}
  h2{font-size:32px}
  .bio{font-size:18px}
  .project-head{padding-top:56px;padding-bottom:40px}
  .project-info{padding-bottom:56px}
  .g-row,.gallery,.works{gap:8px}
  .single{max-width:100%!important}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}
  .card-title{font-size:14px;padding-top:10px}
  .card-year{font-size:11px;padding-top:4px}
  .featured{margin-bottom:0}
  .section{padding-top:72px}
  .series{grid-template-columns:1fr;gap:16px}
}
