@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/unbounded-latin-wght-normal.woff2) format("woff2-variations");
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0e0d0c;
  --bg-2: #161412;
  --fg: #f2ede5;
  --muted: #9a9288;
  --line: rgba(242, 237, 229, 0.12);
  --accent: #ff5b1f;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: clamp(16px, 1.05vw + 10px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(14, 13, 12, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.logo-13 { color: var(--accent); }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 0.9rem; color: var(--muted); }
.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--fg); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; }
.lang a { padding: 5px 11px; border-radius: 999px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current] { background: var(--fg); color: var(--bg); }
.header .lang { margin-left: 8px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 70vmax; height: 70vmax; right: -22vmax; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(255, 91, 31, 0.16), rgba(255, 91, 31, 0.04) 55%, transparent 72%);
}
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.1rem, 5.6vw, 5.6rem);
  line-height: 1.02; letter-spacing: -0.035em;
}
.hero-title .line { display: block; }
.hero-title .line:last-child { color: var(--accent); }
.hero-lead { max-width: 34em; margin-top: 32px; color: var(--muted); font-size: 1.08em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover { background: var(--fg); }
.btn-line { border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--fg); }

.hero-art { position: relative; }
.table { display: block; width: 100%; max-width: 560px; margin-left: auto; overflow: visible; }
.table-orbit { fill: none; stroke: var(--line); stroke-dasharray: 2 10; stroke-linecap: round; transform-origin: 240px 240px; animation: orbit 90s linear infinite; }
.table-top { fill: var(--bg-2); stroke: rgba(242, 237, 229, 0.22); stroke-width: 1.2; }
.table-num { font-family: var(--display); font-weight: 800; font-size: 104px; fill: rgba(242, 237, 229, 0.07); letter-spacing: -6px; }
.seat { fill: none; stroke: rgba(242, 237, 229, 0.42); stroke-width: 1.4; }
.seat-13 { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 14px rgba(255, 91, 31, 0.75)); animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* Sections */
.section { padding: clamp(96px, 13vw, 180px) 0; border-top: 1px solid var(--line); }
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--text); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.kicker span { color: var(--accent); font-variant-numeric: tabular-nums; }
.section-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.8vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 18em; }
.section-lead { color: var(--muted); max-width: 36em; margin-top: 20px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .section-lead { margin-top: 0; }

/* Manifesto */
.manifesto-body { max-width: 30em; font-size: clamp(1.3rem, 2.3vw, 2.05rem); line-height: 1.38; letter-spacing: -0.01em; }
.manifesto-body p + p { margin-top: 0.9em; }
.manifesto-body p:not(.statement) { color: #cfc8be; }
.statement {
  font-family: var(--display); font-weight: 700; color: var(--accent);
  font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.035em;
  margin: 0.55em 0 0.5em !important;
}
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.principles li { padding: 32px 32px 0 0; }
.principles li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.principles h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.principles p { color: var(--muted); }

/* Projects */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 360px; padding: 28px;
  border: 1px dashed rgba(242, 237, 229, 0.22); border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.025), transparent 60%);
  transition: border-color 0.35s, transform 0.5s var(--ease);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 91, 31, 0.45);
  color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.card-num {
  font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 9vw, 8rem); line-height: 0.9; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(242, 237, 229, 0.35);
  transition: -webkit-text-stroke-color 0.35s;
}
.card:hover .card-num { -webkit-text-stroke-color: var(--accent); }
.card-text { color: var(--muted); max-width: 18em; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 7vw, 88px); counter-reset: step; }
.step { padding: 0 28px 0 0; border-top: 1px solid var(--line); padding-top: 28px; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); transition: width 0.6s var(--ease); }
.step:hover::before { width: 100%; }
.step + .step { padding-left: 28px; }
.step + .step::before { left: 28px; }
.step:hover + .step::before { width: 40px; }
.step-num { display: block; font-family: var(--display); font-size: 0.85rem; color: var(--accent); margin-bottom: 40px; }
.step h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.step p { color: var(--muted); }

/* Journal */
.journal-box {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title badge" "lead badge"; column-gap: 40px;
  padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: 22px;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, 0.018) 14px 15px);
}
.journal-box .section-title { grid-area: title; }
.journal-box .section-lead { grid-area: lead; }
.journal-box .badge { grid-area: badge; align-self: start; }

/* Contact */
.contact { padding-bottom: clamp(120px, 15vw, 200px); }
.contact-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.1; max-width: 20em; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 0.3em; margin-top: clamp(40px, 6vw, 72px);
  font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 6.6vw, 6.2rem); letter-spacing: -0.045em; line-height: 1;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat;
  padding-bottom: 0.12em; transition: background-size 0.5s var(--ease), color 0.3s;
  overflow-wrap: anywhere;
}
.contact-mail span { color: var(--accent); transition: transform 0.4s var(--ease); }
.contact-mail:hover { background-size: 100% 3px; }
.contact-mail:hover span { transform: translateX(0.15em); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 0.88rem; color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-in .logo { color: var(--fg); font-size: 0.95rem; }
.footer-in > a { margin-left: auto; transition: color 0.2s; }
.footer-in > a:hover { color: var(--fg); }

/* Reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .d1 { transition-delay: 0.06s; } .js .d2 { transition-delay: 0.14s; } .js .d3 { transition-delay: 0.22s; }
.js .d4 { transition-delay: 0.3s; } .js .d5 { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .table-orbit, .seat-13, .badge::before { animation: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header .lang { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(3)::before { left: 0; }
}
@media (max-width: 860px) {
  .hero { padding-top: 104px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 300px; margin: 0 auto 8px; width: 70%; }
  .table { margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 240px; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 28px 0; border-left: 0; }
  .principles li + li { border-top: 1px solid var(--line); }
  .journal-box { grid-template-columns: 1fr; grid-template-areas: "badge" "title" "lead"; row-gap: 20px; }
}
@media (max-width: 560px) {
  .header-in { height: 64px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; }
  .step + .step::before { left: 0; }
  .step-num { margin-bottom: 20px; }
  .btn { width: 100%; justify-content: center; }
  .footer-in > a { margin-left: 0; }
}
