@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #202226;
  --panel: #17191d;
  --panel-2: #2b2f36;
  --text: #f2f3f5;
  --muted: #adb2bc;
  --line: #424751;
  --acid: #4169e1;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--bg); background: var(--acid); }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 14px; color: var(--bg); background: var(--acid); }
.skip-link:focus { top: 10px; }
.mono { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; }
.acid { color: var(--acid); }
.muted { color: var(--muted); }
.section-wrap { width: min(1440px, calc(100% - 9vw)); margin-inline: auto; }
.site-header { min-height: 76px; padding: 0 4.5vw; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; width: fit-content; align-items: baseline; font-family: var(--display); font-size: 1.9rem; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.wordmark span { color: var(--acid); }
.header-status { color: var(--muted); font: 500 .62rem var(--mono); letter-spacing: .07em; display: flex; align-items: center; justify-content: center; gap: 10px; }
.status-dot { width: 6px; height: 6px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 12px #4169e160; }
.status-divider { color: #51565a; }
.site-header nav { display: flex; justify-content: flex-end; gap: clamp(16px, 2.5vw, 36px); }
.nav-link { font: 500 .7rem var(--mono); letter-spacing: .08em; color: var(--muted); transition: color .2s ease; }
.nav-link span { margin-left: 4px; color: #62676a; font-size: .58rem; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { content: ""; display: block; height: 2px; width: 100%; background: var(--acid); margin-top: 7px; }
.hero { padding-top: clamp(46px, 7vw, 100px); padding-bottom: clamp(45px, 7vw, 92px); }
.hero-kicker, .section-label { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.hero h1 { margin: .05em 0 0; font: 900 clamp(5.2rem, 16.2vw, 15.5rem)/.78 var(--display); letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero-name-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero h1.surname { font-size: clamp(4rem, 13.2vw, 12.4rem); margin-top: .14em; }
.glitch { position: relative; width: fit-content; max-width: 100%; }
.glitch:hover::before, .glitch:hover::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glitch:hover::before { color: var(--acid); transform: translate(3px, -1px); clip-path: inset(12% 0 72% 0); animation: glitch-a .28s steps(2, end) 2; }
.glitch:hover::after { color: #f2f1ed; transform: translate(-2px, 2px); clip-path: inset(62% 0 17% 0); animation: glitch-b .24s steps(2, end) 2; }
@keyframes glitch-a { 0% { clip-path: inset(12% 0 72% 0); } 50% { clip-path: inset(44% 0 38% 0); transform: translate(6px, -2px); } 100% { clip-path: inset(5% 0 80% 0); } }
@keyframes glitch-b { 0% { clip-path: inset(62% 0 17% 0); } 50% { clip-path: inset(20% 0 62% 0); transform: translate(-5px, 1px); } 100% { clip-path: inset(72% 0 8% 0); } }
.hero-side { color: var(--acid); margin: 0 0 8px; min-width: 130px; line-height: 1.9; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; border-top: 1px solid var(--line); margin-top: clamp(30px, 5vw, 68px); padding-top: 22px; }
.hero-intro { max-width: 460px; color: var(--muted); font-size: clamp(.95rem, 1.4vw, 1.12rem); margin: 0; }
.hero-intro strong { color: var(--text); font-weight: 600; }
.round-link { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--acid); font-size: 1.4rem; transition: color .2s, background .2s, transform .2s; }
.round-link:hover { background: var(--acid); color: var(--bg); transform: translateY(3px); }
.portrait-section, .work-section { padding-block: clamp(44px, 7vw, 96px); border-top: 1px solid var(--line); }
.portrait-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 7vw, 100px); padding-top: 30px; align-items: center; }
.image-frame { position: relative; overflow: hidden; background: var(--panel-2); }
.portrait-frame { min-height: 340px; aspect-ratio: 4 / 5; max-height: 760px; }
.image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; position: absolute; inset: 0; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.image-frame:hover img { transform: scale(1.025); }
.image-placeholder { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #858b8f; background: repeating-linear-gradient(135deg, #202326 0, #202326 1px, #191b1d 1px, #191b1d 12px); font: 500 .8rem var(--mono); letter-spacing: .1em; }
.image-placeholder small { color: #707579; font-size: .65rem; letter-spacing: 0; }
.image-missing .image-placeholder { display: flex; }
.frame-index { position: absolute; bottom: 14px; left: 14px; padding: 7px 9px; background: var(--bg); color: var(--acid); }
.eyebrow { color: var(--acid); font: 500 .7rem var(--mono); letter-spacing: .09em; }
.portrait-copy h2, .work-heading h2, .contact-strip h2 { font: 800 clamp(2.7rem, 5vw, 5rem)/.95 var(--display); letter-spacing: -.025em; margin: 20px 0 25px; }
.portrait-copy > p:not(.eyebrow) { color: var(--muted); max-width: 540px; font-size: .96rem; }
.facts { display: flex; gap: clamp(28px, 5vw, 70px); margin-top: 35px; padding-top: 23px; border-top: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column; gap: 6px; }
.fact-number { font: 800 2.5rem/.95 var(--display); }
.fact-number span { color: var(--acid); }
.fact-label { color: var(--muted); font-size: .61rem; }
.work-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; padding-top: 18px; }
.work-heading h2 { margin: 18px 0 25px; }
.work-heading > p { color: var(--muted); font-size: .85rem; margin-bottom: 26px; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 14px 0; color: var(--acid); }
.gallery-buttons { display: flex; gap: 8px; }
.gallery-arrow { width: 40px; height: 40px; color: var(--text); background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 1.1rem; transition: background .2s, color .2s, border-color .2s; }
.gallery-arrow:hover { color: var(--bg); background: var(--acid); border-color: var(--acid); }
.gallery-toggle { min-height: 40px; padding: 0 12px; color: var(--muted); background: transparent; border: 1px solid var(--line); cursor: pointer; font: 500 .62rem var(--mono); letter-spacing: .06em; transition: color .2s, border-color .2s, background .2s; }
.gallery-toggle:hover, .gallery-toggle:focus-visible { color: var(--text); border-color: var(--acid); }
.gallery-buttons { align-items: center; }
@media (prefers-reduced-motion: reduce) { .work-card:not(.is-hidden) { animation: none; } }
.work-gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 3.5vw, 48px) clamp(18px, 3vw, 38px); }
.work-card { min-width: 0; transition: opacity .35s ease, transform .35s ease; }
.work-card:not(.is-hidden) { animation: gallery-fade-in .45s ease both; }
@keyframes gallery-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.work-card:nth-child(even) { padding-top: clamp(35px, 7vw, 100px); }
.work-card.is-hidden { display: none; }
.work-image { aspect-ratio: 4 / 3; }
.work-card-large .work-image { aspect-ratio: 5 / 4; }
.work-image img { transition: transform .6s ease, filter .3s ease; }
.work-image:hover img { transform: scale(1.035); filter: contrast(1.06); }
.image-tag { position: absolute; left: 12px; top: 12px; background: var(--bg); padding: 7px 9px; color: var(--acid); font-size: .59rem; }
.work-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.work-caption h3 { margin: 0; font-size: .92rem; font-weight: 600; }
.work-caption span { color: var(--muted); font-size: .58rem; white-space: nowrap; }
.gallery-note { color: var(--muted); margin-top: 28px; font-size: .62rem; }
.contact-strip { border-top: 1px solid var(--line); padding-block: clamp(45px, 8vw, 110px); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.contact-strip h2 { margin-bottom: 0; }
.text-link { display: inline-flex; gap: 20px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--acid); color: var(--text); font: 500 .68rem var(--mono); letter-spacing: .05em; transition: color .2s; }
.text-link span { color: var(--acid); font-size: 1rem; }
.text-link:hover { color: var(--acid); }
.site-footer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 25px; border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); }
.site-footer .wordmark { color: var(--text); }
.site-footer .mono { font-size: .58rem; }
.footer-top:hover { color: var(--acid); }
.contact-main { padding-top: clamp(45px, 7vw, 100px); padding-bottom: clamp(60px, 9vw, 125px); }
.contact-main > .eyebrow { margin-top: clamp(48px, 7vw, 95px); }
.contact-title { font: 900 clamp(5rem, 16vw, 15rem)/.78 var(--display); letter-spacing: -.045em; margin: 22px 0 45px; }
.contact-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.contact-intro p { max-width: 550px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.25rem); }
.contact-coordinate { color: var(--acid); line-height: 1.9; white-space: nowrap; }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-method { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.method-index { color: var(--acid); }
.method-title { font: 700 clamp(1.6rem, 3vw, 2.8rem)/1.1 var(--display); margin: 25px 0 10px; }
.method-title span { color: var(--acid); font-family: var(--body); font-size: .8em; }
.method-detail { color: var(--muted); font-size: .8rem; }
.contact-method:hover .method-title { color: var(--acid); }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 25px; color: var(--muted); }
@media (max-width: 800px) {
  .site-header { grid-template-columns: auto 1fr; padding-block: 16px; }
  .header-status { display: none; }
  .site-header nav { gap: 20px; }
  .hero h1 { font-size: clamp(5rem, 17vw, 9rem); }
  .hero h1.surname { font-size: clamp(3.8rem, 12.8vw, 7.5rem); }
  .hero-side { min-width: 110px; font-size: .58rem; }
  .portrait-layout { gap: 28px; }
  .site-footer { grid-template-columns: auto 1fr auto; }
  .site-footer > span:nth-child(2) { display: none; }
  .copyright { grid-column: 2 / 4; text-align: right; }
}
@media (max-width: 560px) {
  .section-wrap { width: calc(100% - 36px); }
  .site-header { padding-inline: 18px; min-height: 68px; }
  .wordmark { font-size: 1.65rem; }
  .nav-link { font-size: .62rem; }
  .hero { padding-top: 42px; }
  .hero-kicker, .section-label { font-size: .55rem; gap: 10px; }
  .hero h1 { font-size: clamp(4.3rem, 18.5vw, 7rem); }
  .hero h1.surname { font-size: clamp(3.2rem, 12.5vw, 5.2rem); }
  .hero-name-row { gap: 12px; }
  .hero-side { min-width: 83px; font-size: .5rem; }
  .hero-bottom { align-items: center; }
  .hero-intro { font-size: .86rem; }
  .round-link { width: 40px; height: 40px; flex-basis: 40px; }
  .portrait-layout { grid-template-columns: 1fr; }
  .portrait-frame { aspect-ratio: 4 / 3; min-height: 0; }
  .portrait-copy h2 { font-size: 3.1rem; }
  .work-heading { align-items: flex-start; flex-direction: column; gap: 0; }
  .work-heading h2 { margin-bottom: 12px; }
  .work-heading > p { margin-top: 0; }
  .work-gallery { grid-template-columns: 1fr 1fr; gap: 26px 13px; }
  .work-card:nth-child(even) { padding-top: 28px; }
  .work-card-large .work-image, .work-image { aspect-ratio: 3 / 4; }
  .work-caption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .work-caption h3 { font-size: .78rem; }
  .work-caption span { font-size: .52rem; }
  .image-tag { left: 7px; top: 7px; font-size: .49rem; padding: 5px 6px; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
  .contact-strip h2 { font-size: 3.5rem; }
  .site-footer { grid-template-columns: auto 1fr; gap: 14px; }
  .footer-top { justify-self: end; }
  .copyright { grid-column: 1 / 3; text-align: left; }
  .contact-title { font-size: clamp(4.4rem, 17.5vw, 7rem); }
  .contact-intro { flex-direction: column; align-items: flex-start; }
  .contact-coordinate { font-size: .6rem; }
  .contact-methods { grid-template-columns: 1fr; }
  .contact-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
