/* ============================================================
   Антон Киясов — общая дизайн-система сайта
   Тёмный «галерейный» фон · Oswald + Manrope · янтарный акцент
   ============================================================ */
:root {
  --bg: #0d0d0c;
  --bg-soft: #141413;
  --ink: #f1eee8;
  --muted: rgba(241,238,232,0.56);
  --faint: rgba(241,238,232,0.32);
  --line: rgba(241,238,232,0.14);
  --accent: oklch(0.72 0.17 56); /* warm amber */
  --pad: clamp(20px, 5vw, 88px);
  --display: "Oswald", sans-serif;
  --body: "Manrope", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--body); font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
}

/* ---------- NAV ---------- */
nav:not(.series-nav) {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  background: linear-gradient(180deg, rgba(13,13,12,0.78) 0%, rgba(13,13,12,0) 100%);
  backdrop-filter: blur(2px);
}
.brand { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 600; }
.nav-left { display: flex; align-items: center; gap: 22px; }
.nav-home {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 13px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  transition: background .2s, border-color .2s, color .2s;
}
.nav-home:hover { background: var(--accent); border-color: var(--accent); color: #0d0d0c; }
.nav-links { display: flex; gap: 38px; }
.nav-links a {
  position: relative; padding-bottom: 6px;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; color: var(--muted); transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--accent); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
}
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; width: 100%; }
.hero-img { position: absolute; inset: 0; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(175deg, rgba(13,13,12,0.55) 0%, rgba(13,13,12,0.05) 32%, rgba(13,13,12,0.15) 56%, rgba(13,13,12,0.92) 100%);
}
.hero-img.bw img { filter: grayscale(1) contrast(1.04); }
.hero-content {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(40px, 7vh, 80px);
  z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero-title {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(64px, 12vw, 188px); line-height: 0.86; letter-spacing: -1px;
}
.hero-title span { display: block; }
.hero-sub { margin-top: 26px; max-width: 440px; font-size: clamp(16px, 1.5vw, 20px); color: rgba(241,238,232,0.82); line-height: 1.45; }
.hero-meta { text-align: right; color: var(--muted); font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.hero-meta .num { font-family: var(--display); font-size: 15px; color: var(--ink); }
@media (max-width: 720px) { .hero-meta { display: none; } }

/* ---------- STATEMENT ---------- */
.statement { padding: clamp(90px, 14vh, 180px) var(--pad); display: grid; grid-template-columns: 0.9fr 2.1fr; gap: clamp(24px, 5vw, 80px); }
.statement .label { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--faint); font-weight: 600; padding-top: 14px; }
.statement p {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 3.4vw, 52px); line-height: 1.12; letter-spacing: -0.5px;
}
.statement p em { font-style: normal; color: var(--accent); }
@media (max-width: 720px) { .statement { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- SECTION HEAD ---------- */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-top: 1px solid var(--line); padding: 28px 0 56px; gap: 20px;
}
.sec-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 56px); text-transform: uppercase; line-height: 1; }
.sec-head .meta { color: var(--muted); font-size: 14px; letter-spacing: 1px; }
.sec-head .meta a { color: var(--accent); transition: opacity .2s; }
.sec-head .meta a:hover { opacity: 0.7; }

/* ---------- WORKS / FIGURES ---------- */
.works { padding: 0 var(--pad) clamp(60px, 10vh, 120px); }
.fig { position: relative; overflow: hidden; background: var(--bg-soft); }
.fig img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.fig.bw img { filter: grayscale(1) contrast(1.03); }
.fig:hover img { transform: scale(1.035); }
.cap { display: flex; align-items: baseline; gap: 12px; padding: 16px 2px 0; }
.cap .idx { font-family: var(--display); font-size: 14px; color: var(--accent); letter-spacing: 1px; }
.cap .ttl { font-size: 16px; font-weight: 600; }
.cap .loc { margin-left: auto; font-size: 13px; color: var(--muted); letter-spacing: 0.5px; }
.cap .loc.vogue { color: var(--accent); font-family: var(--display); letter-spacing: 2px; text-transform: uppercase; }

.row { margin-bottom: clamp(28px, 5vw, 64px); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
.ar32 { aspect-ratio: 3 / 2; }
.ar23 { aspect-ratio: 2 / 3; }
.ar34 { aspect-ratio: 3 / 4; }
.ar11 { aspect-ratio: 1 / 1; }
.arwide { aspect-ratio: 21 / 9; }
@media (max-width: 720px) {
  .duo { grid-template-columns: 1fr; gap: 28px; }
  .arwide { aspect-ratio: 3 / 2; }
}

/* ---------- SERIES (doors to other genres) ---------- */
.series { padding: 0 var(--pad) clamp(70px, 11vh, 130px); }
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.door { display: block; position: relative; }
.door-img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-soft); }
.door-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,12,0.1) 0%, rgba(13,13,12,0) 40%, rgba(13,13,12,0.85) 100%);
}
.door-img img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.door:hover .door-img img { transform: scale(1.05); }
.door-cap { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; }
.door-cap .s-num { font-family: var(--display); font-size: 13px; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; }
.door-cap .s-ttl { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); text-transform: uppercase; line-height: 1; margin-top: 6px; }
.door-cap .s-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.door-cap .s-count { font-size: 13px; color: var(--muted); letter-spacing: 0.5px; }
.door-cap .s-go { font-family: var(--display); font-size: 14px; color: var(--ink); letter-spacing: 1px; transition: color .2s; }
.door:hover .door-cap .s-go { color: var(--accent); }
@media (max-width: 900px) { .series-grid { grid-template-columns: 1fr; } .door-img { aspect-ratio: 16/10; } }

/* ---------- VOGUE CREDENTIAL STRIP ---------- */
.credo {
  display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 48px);
  flex-wrap: wrap; padding: clamp(36px, 6vh, 64px) var(--pad);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.credo .label { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--faint); }
.credo .vogue { font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 4vw, 52px); letter-spacing: 3px; }
.credo .note { font-size: 13px; color: var(--muted); letter-spacing: 0.5px; }

/* ---------- ABOUT ---------- */
.about {
  background: var(--bg-soft); padding: clamp(70px, 11vh, 130px) var(--pad);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.about-portrait { aspect-ratio: 3 / 4; max-width: 420px; }
.about-portrait img { filter: grayscale(1) contrast(1.02); }
.about-body .eyebrow { margin-bottom: 26px; }
.about-body h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.5vw, 64px); text-transform: uppercase; line-height: 0.98; margin-bottom: 28px; }
.about-body p { color: rgba(241,238,232,0.82); font-size: 18px; line-height: 1.6; margin-bottom: 18px; max-width: 540px; }
.stats { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.stat .n { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.stat .l { font-size: 13px; color: var(--muted); letter-spacing: 1px; margin-top: 8px; text-transform: uppercase; }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } .about-portrait { max-width: 100%; } }

/* ---------- CONTACT / FOOTER ---------- */
.contact { padding: clamp(90px, 16vh, 200px) var(--pad) clamp(60px, 9vh, 96px); }
.contact .eyebrow { margin-bottom: 30px; }
.contact h2 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(44px, 9vw, 150px); line-height: 0.9; letter-spacing: -1px;
}
.contact h2 a { transition: color .2s; }
.contact h2 a:hover { color: var(--accent); }
.contact-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin-top: clamp(48px, 8vh, 90px); border-top: 1px solid var(--line); padding-top: 32px;
}
.contact-links { display: flex; gap: 32px; flex-wrap: wrap; }
.contact-links a { font-size: 15px; letter-spacing: 0.5px; color: var(--muted); transition: color .2s; }
.contact-links a:hover { color: var(--accent); }
.contact-row .copy { font-size: 13px; color: var(--faint); letter-spacing: 0.5px; }

/* ---------- SERIES PAGE: intro header ---------- */
.series-hero {
  padding: clamp(130px, 22vh, 240px) var(--pad) clamp(40px, 7vh, 80px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end;
}
.series-hero .back { font-family: var(--display); font-size: 14px; letter-spacing: 1px; color: var(--muted); transition: color .2s; display: inline-block; margin-bottom: 30px; white-space: nowrap; }
.series-hero .back:hover { color: var(--accent); }
.series-hero h1 {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(52px, 8vw, 116px); line-height: 0.86; letter-spacing: -1px; margin-top: 10px;
}
.series-hero .lead { color: rgba(241,238,232,0.8); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; max-width: 460px; padding-bottom: 8px; }
.series-hero .lead .vogue-inline { color: var(--accent); font-family: var(--display); letter-spacing: 1px; }
@media (max-width: 800px) { .series-hero { grid-template-columns: 1fr; gap: 24px; } }

.gallery { padding: clamp(30px, 5vh, 60px) var(--pad) clamp(40px, 6vh, 80px); }

/* series page footer nav between series */
.series-nav {
  display: flex; align-items: stretch; border-top: 1px solid var(--line);
}
.series-nav a {
  flex: 1; padding: clamp(36px, 6vh, 64px) var(--pad); transition: background .25s;
  display: flex; flex-direction: column; gap: 8px;
}
.series-nav a:hover { background: var(--bg-soft); }
.series-nav a.next { align-items: flex-end; text-align: right; border-left: 1px solid var(--line); }
.series-nav a.home {
  flex: 0 0 auto; min-width: 220px; align-items: center; text-align: center; justify-content: center;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.series-nav a.home .name { color: var(--accent); }
.series-nav a.home:hover { background: var(--accent); }
.series-nav a.home:hover .name, .series-nav a.home:hover .dir { color: #0d0d0c; }
.series-nav .dir { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }
.series-nav .name { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 40px); text-transform: uppercase; transition: color .2s; }
.series-nav a:hover .name { color: var(--accent); }
@media (max-width: 720px) {
  .series-nav { flex-direction: column; }
  .series-nav a, .series-nav a.next { align-items: flex-start; text-align: left; border-left: none; border-top: 1px solid var(--line); }
  .series-nav a.home { min-width: 0; align-items: flex-start; text-align: left; border-right: none; }
}
