/* Portfolio of Darya Sukhorukova — responsive from 320 px */
:root {
  --bg: #09121a;
  --bg-2: #0d1822;
  --paper: #f0eee8;
  --muted: #9eadba;
  --line: rgba(240,238,232,.16);
  --accent: #b8ff57;
  --accent-ink: #0c1508;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  --max: 1540px;
}
*, *::before, *::after { box-sizing: border-box; }
html { width:100%; max-width:100%; min-width:0; overflow-x:hidden; scroll-behavior:smooth; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: radial-gradient(circle at 82% 2%, rgba(58,83,106,.22), transparent 30rem), var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .05;
  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='.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
img, svg, video, canvas { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 16px; background: var(--accent); color: #000; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section-pad { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }

.site-header {
  width: min(calc(100% - 64px), var(--max)); height: 92px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line);
  position: relative; z-index: 70;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 800; letter-spacing: .12em; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(184,255,87,.45); }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 52px); font-size: .92rem; }
.site-nav a { color: #d5dbe0; position: relative; }
.site-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-8px; height:1px; background:var(--accent); transition:right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right:0; }
.menu-toggle { display:none; width:48px; height:48px; padding:0; border:1px solid var(--line); border-radius:50%; background:transparent; position:relative; }
.menu-toggle i { position:absolute; left:13px; width:20px; height:1px; background:var(--paper); transition:.25s ease; }
.menu-toggle i:first-of-type { top:19px; } .menu-toggle i:last-of-type { top:27px; }
.menu-toggle[aria-expanded="true"] i:first-of-type { top:23px; transform:rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { top:23px; transform:rotate(-45deg); }

.hero { min-height: calc(100svh - 92px); padding-top: clamp(48px, 7vw, 112px); padding-bottom: 72px; display:grid; grid-template-columns:minmax(0, .92fr) minmax(420px, .75fr); gap:clamp(42px,6vw,96px); align-items:center; position:relative; }
.hero-copy { min-width:0; position:relative; z-index:2; }
.eyebrow { margin:0 0 30px; color:#b7c6d3; font-size:.73rem; letter-spacing:.19em; }
.hero h1 { height:auto; margin:0; max-width:10ch; overflow:visible; padding-block:.06em .1em; font-family:var(--display); font-size:clamp(4.2rem,7.7vw,9rem); font-weight:400; letter-spacing:-.066em; line-height:.88; text-wrap:balance; }
.hero h1 em, h2 em { color:var(--accent); font-style:italic; font-weight:400; }
.hero-lead { max-width:650px; margin:38px 0 0; color:#b0bfcc; font-size:clamp(1rem,1.35vw,1.3rem); line-height:1.6; }
.hero-actions { margin-top:36px; display:flex; align-items:center; flex-wrap:wrap; gap:28px 38px; }
.button { min-height:56px; display:inline-flex; align-items:center; justify-content:center; gap:24px; padding:0 28px; border:1px solid transparent; border-radius:999px; font-size:.78rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; transition:transform .2s ease, background .2s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { color:var(--accent-ink); background:var(--accent); }
.text-link { min-height:44px; display:inline-flex; align-items:center; gap:13px; border-bottom:1px solid var(--line); font-size:.92rem; }
.text-link span { color:var(--accent); }
.hero-collage { min-width:0; display:grid; grid-template-columns:1.15fr .76fr; grid-template-rows:minmax(230px,36vh) minmax(150px,23vh); gap:12px; }
.image-shell { position:relative; overflow:hidden; background:#111b24; }
.progressive-img { width:100%; height:100%; object-fit:cover; filter:blur(16px); transform:scale(1.06); opacity:.88; transition:filter .65s ease, transform .65s ease, opacity .45s ease; }
.progressive-img.is-loaded { filter:blur(0); transform:scale(1); opacity:1; }
.hero-photo-main { grid-row:1 / 3; min-height:520px; }
.hero-photo-side, .hero-photo-bottom { min-height:0; }
.hero-photo-side .progressive-img { object-position:50% 52%; }
.photo-label { position:absolute; left:14px; bottom:13px; padding:6px 8px; background:rgba(5,11,16,.72); backdrop-filter:blur(8px); font-size:.6rem; letter-spacing:.13em; }
.scroll-note { position:absolute; color:#9cb1c2; writing-mode:vertical-rl; text-transform:uppercase; letter-spacing:.24em; font-size:.63rem; display:flex; align-items:center; gap:12px; }
.scroll-note span { width:1px; height:38px; background:var(--accent); }

.manifesto { padding-top:clamp(110px,15vw,230px); padding-bottom:clamp(100px,15vw,230px); display:grid; grid-template-columns:minmax(280px,.78fr) minmax(0,1.12fr); gap:clamp(54px,9vw,150px); align-items:center; }
.manifesto-photo { aspect-ratio: 1.45/1; }
.manifesto-photo .progressive-img { object-position:center 47%; }
.manifesto-number { position:absolute; top:-31px; left:0; color:var(--accent); font-size:.72rem; letter-spacing:.14em; }
.manifesto blockquote { margin:0; font-family:var(--display); font-size:clamp(3rem,5.7vw,7.2rem); line-height:.92; letter-spacing:-.055em; }

.section-mark { padding-top:28px; border-top:1px solid var(--line); display:flex; gap:clamp(32px,7vw,112px); color:#9facb7; font-size:.68rem; letter-spacing:.16em; }
.about { padding-bottom:clamp(110px,14vw,210px); }
.about-grid { margin-top:72px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(300px,.66fr); gap:clamp(50px,10vw,160px); align-items:start; }
.about h2, .works h2, .interests h2, .closing h2 { margin:0; font-family:var(--display); font-size:clamp(3.6rem,7.2vw,8.4rem); line-height:.86; letter-spacing:-.06em; font-weight:400; }
.about-copy { color:#bdc8d1; font-size:clamp(1rem,1.3vw,1.2rem); line-height:1.8; }
.about-copy p { margin:0 0 1.4em; }
.about-copy strong { color:var(--paper); font-weight:600; }
.facts { margin:88px 0 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.facts div { padding:26px clamp(18px,3vw,42px); border-right:1px solid var(--line); min-width:0; }
.facts div:first-child { padding-left:0; } .facts div:last-child { border-right:0; }
.facts dt { color:#8596a5; font-size:.67rem; letter-spacing:.14em; text-transform:uppercase; }
.facts dd { margin:12px 0 0; overflow-wrap:anywhere; font-family:var(--display); font-size:clamp(1.35rem,2vw,2rem); line-height:1.15; }

.works { padding-bottom:clamp(120px,14vw,220px); }
.works-heading { margin-top:72px; display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.42fr); gap:50px; align-items:end; }
.works-heading p { margin:0 0 12px; color:#9eacb8; line-height:1.65; }
.filters { width:100%; min-width:0; margin:64px 0 42px; display:flex; gap:8px; flex-wrap:wrap; }
.filter { min-height:44px; padding:0 18px; border:1px solid var(--line); border-radius:999px; background:transparent; color:#a9b5bf; white-space:nowrap; cursor:pointer; transition:.2s ease; }
.filter sup { color:var(--accent); margin-left:3px; }
.filter:hover, .filter:focus-visible, .filter.is-active { background:var(--paper); border-color:var(--paper); color:#101820; }
.gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(16px,2vw,28px); align-items:start; }
.gallery > [hidden] { display:none !important; }
.work-card { display:block; width:100%; min-width:0; margin:0; transition:opacity .25s ease, transform .25s ease; }
.work-open { width:100%; padding:0; border:0; background:transparent; text-align:left; cursor:zoom-in; }
.work-open .image-shell { display:block; width:100%; }
.work-open .image-shell.landscape { aspect-ratio:1.34/1; }
.work-open .image-shell.square { aspect-ratio:1/1; }
.work-open .image-shell.portrait { aspect-ratio:.76/1; }
.image-shade { position:absolute; inset:0; background:linear-gradient(to top, rgba(5,10,14,.65), transparent 42%); opacity:.55; transition:opacity .3s ease; }
.work-index { position:absolute; top:12px; left:12px; color:#fff; font-size:.62rem; letter-spacing:.13em; text-shadow:0 2px 9px #000; }
.work-caption { display:flex; justify-content:space-between; gap:18px; padding:12px 2px 3px; border-bottom:1px solid var(--line); }
.work-caption > span { font-family:var(--display); font-size:1.12rem; }
.work-caption small { color:#7f909e; font-size:.65rem; letter-spacing:.1em; text-transform:uppercase; }
.work-open:hover .progressive-img { transform:scale(1.025); }
.work-open:hover .image-shade { opacity:.15; }

.interests { padding-bottom:clamp(120px,14vw,220px); }
.interests-intro { margin-top:72px; display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,.48fr); gap:60px; align-items:end; }
.interests-intro p { margin:0 0 12px; color:#adbac5; line-height:1.75; font-size:1.05rem; }
.interest-list { margin-top:80px; border-top:1px solid var(--line); }
.interest-list article { min-height:150px; display:grid; grid-template-columns:70px minmax(160px,.45fr) minmax(260px,.7fr); gap:24px; align-items:center; border-bottom:1px solid var(--line); }
.interest-list article > span { color:var(--accent); font-size:.68rem; }
.interest-list h3 { margin:0; font-family:var(--display); font-size:clamp(2rem,3.5vw,4.2rem); font-weight:400; }
.interest-list p { margin:0; max-width:590px; color:#98a8b5; line-height:1.6; }

.closing { min-height:78svh; padding-top:clamp(80px,10vw,150px); padding-bottom:clamp(80px,10vw,150px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; border-top:1px solid var(--line); }
.closing > p { color:#9cabb7; letter-spacing:.16em; font-size:.7rem; }
.closing h2 { max-width:12ch; margin:24px 0 48px; }
.site-footer { width:min(calc(100% - 64px),var(--max)); min-height:86px; margin-inline:auto; display:flex; align-items:center; justify-content:space-between; gap:18px; border-top:1px solid var(--line); color:#81909d; font-size:.72rem; }

.quality-button { position:fixed; right:18px; bottom:18px; z-index:80; min-height:46px; padding:0 18px; border:1px solid rgba(184,255,87,.5); border-radius:999px; background:rgba(9,18,26,.9); color:var(--accent); backdrop-filter:blur(12px); box-shadow:0 8px 30px rgba(0,0,0,.3); cursor:pointer; }
.lightbox { width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:0; border:0; background:rgba(4,8,12,.96); color:var(--paper); }
.lightbox::backdrop { background:rgba(4,8,12,.96); }
.lightbox[open] { display:grid; grid-template-rows:1fr auto; }
.lightbox-stage { min-width:0; min-height:0; padding:58px 28px 18px; display:grid; place-items:center; }
.lightbox-stage img { max-width:100%; max-height:calc(100svh - 130px); width:auto; height:auto; object-fit:contain; }
.lightbox-close { position:fixed; right:20px; top:18px; z-index:2; width:48px; height:48px; border:1px solid rgba(255,255,255,.25); border-radius:50%; background:rgba(0,0,0,.2); font-size:1.8rem; cursor:pointer; }
.lightbox-caption { min-height:70px; padding:14px 28px 20px; display:flex; align-items:center; justify-content:center; gap:16px; text-align:center; }
.lightbox-caption span { font-family:var(--display); font-size:1.35rem; } .lightbox-caption small { color:#8696a4; }
.reveal { opacity:0; transform:translateY(28px); transition:opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }

@media (min-width: 861px) {
  .hero { padding-left:clamp(76px,6vw,104px); }
  .scroll-note { left:clamp(20px,2.5vw,40px); bottom:72px; }
}
@media (max-width: 1250px) {
  .gallery { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1100px) {
  .section-pad, .site-header, .site-footer { width:min(calc(100% - 40px),var(--max)); }
  .hero { grid-template-columns:minmax(0,1fr) minmax(360px,.75fr); gap:40px; }
  .hero h1 { font-size:clamp(3.8rem,8vw,6.4rem); }
  .manifesto { grid-template-columns:.74fr 1fr; gap:55px; }
  .facts dd { font-size:1.45rem; }
}
@media (max-width: 860px) {
  .site-header { height:76px; }
  .menu-toggle { display:block; z-index:72; }
  .site-nav { position:absolute; top:76px; left:-20px; right:-20px; padding:22px 20px 30px; display:grid; gap:0; background:rgba(9,18,26,.98); border-bottom:1px solid var(--line); transform:translateY(-140%); opacity:0; pointer-events:none; transition:.3s ease; }
  .site-nav.is-open { transform:translateY(0); opacity:1; pointer-events:auto; }
  .site-nav a { min-height:52px; display:flex; align-items:center; border-bottom:1px solid var(--line); }
  .hero { min-height:auto; padding-top:56px; grid-template-columns:1fr; }
  .hero h1 { font-size:clamp(4.2rem,12vw,7.4rem); }
  .hero-lead { max-width:720px; }
  .hero-collage { margin-top:18px; grid-template-columns:1.15fr .85fr; grid-template-rows:260px 210px; }
  .hero-photo-main { min-height:0; }
  .scroll-note { display:none; }
  .manifesto { grid-template-columns:1fr; }
  .manifesto-photo { width:min(72%,580px); }
  .about-grid, .works-heading, .interests-intro { grid-template-columns:1fr; gap:40px; }
  .facts { grid-template-columns:1fr; }
  .facts div { padding:22px 0; border-right:0; border-bottom:1px solid var(--line); }
  .facts div:last-child { border-bottom:0; }
  .interest-list article { grid-template-columns:54px 1fr; padding:28px 0; }
  .interest-list article p { grid-column:2; }
}
@media (max-width: 560px) {
  .section-pad, .site-header, .site-footer { width:calc(100% - 28px); }
  .site-nav { left:-14px; right:-14px; }
  .brand { font-size:.72rem; }
  .hero { min-height:auto; padding-top:104px; padding-right:10px; padding-bottom:48px; padding-left:10px; }
  .eyebrow { margin-bottom:22px; font-size:.61rem; letter-spacing:.15em; }
  .hero h1 { width:100%; max-width:100%; margin:0; padding-block:.06em .1em; font-size:clamp(3.25rem,17vw,4.75rem); line-height:.86; letter-spacing:-.045em; }
  .hero-lead { width:100%; max-width:100%; margin-top:18px; font-size:clamp(1rem,4.8vw,1.16rem); line-height:1.45; }
  .hero-actions { width:100%; margin-top:26px; display:flex; flex-direction:column; align-items:stretch; gap:12px; }
  .hero-actions a, .hero-actions button { width:100%; min-height:52px; justify-content:center; }
  .button { min-height:52px; padding:0 21px; gap:16px; font-size:.68rem; }
  .hero-collage { grid-template-columns:1fr 1fr; grid-template-rows:280px 155px; gap:8px; }
  .hero-photo-main { grid-column:1 / 3; grid-row:1; }
  .hero-photo-side { grid-column:1; grid-row:2; }
  .hero-photo-bottom { grid-column:2; grid-row:2; }
  .photo-label { left:8px; bottom:8px; font-size:.5rem; }
  .manifesto { padding-top:110px; padding-bottom:120px; gap:48px; }
  .manifesto-photo { width:100%; aspect-ratio:1.28/1; }
  .manifesto blockquote { font-size:clamp(2.75rem,12.5vw,4rem); line-height:.93; }
  .section-mark { gap:28px; }
  .about-grid, .works-heading, .interests-intro { margin-top:48px; }
  .about h2, .works h2, .interests h2, .closing h2 { font-size:clamp(3.1rem,14vw,4.8rem); }
  .about-copy { line-height:1.72; }
  .facts { margin-top:58px; }
  .filters { width:100%; min-width:0; margin:44px 0 30px; gap:8px; }
  .filter { min-height:44px; padding:0 12px; font-size:.78rem; white-space:nowrap; }
  .gallery { grid-template-columns:minmax(0,1fr); gap:22px; }
  .work-caption { display:block; padding:9px 1px 5px; }
  .work-caption > span { display:block; font-size:.98rem; }
  .work-caption small { display:block; margin-top:3px; font-size:.56rem; }
  .interest-list { margin-top:55px; }
  .interest-list article { min-height:0; grid-template-columns:40px minmax(0,1fr); gap:12px; }
  .interest-list article p { font-size:.92rem; }
  .site-footer { min-height:104px; padding:20px 0; flex-direction:column; align-items:flex-start; justify-content:center; }
  .lightbox-stage { padding:66px 10px 12px; }
  .lightbox-caption { padding-inline:14px; flex-direction:column; gap:4px; }
}
@media (max-width: 370px) {
  .section-pad, .site-header, .site-footer { width:calc(100% - 20px); }
  .site-nav { left:-10px; right:-10px; padding-inline:10px; }
  .hero h1 { font-size:3.15rem; }
  .hero-actions { align-items:flex-start; flex-direction:column; }
  .hero-collage { grid-template-rows:250px 140px; }
  .work-open .image-shell.portrait { aspect-ratio:.82/1; }
  .quality-button { right:10px; bottom:10px; max-width:calc(100% - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}
