:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-soft: #101215;
  --surface: #15181c;
  --surface-hi: #1c2027;
  --border: #262b33;
  --border-hi: #343b45;
  --text: #f3f5f8;
  --text-dim: #aab2c0;
  --text-mute: #7b8494;
  --accent: #7aa2ff;
  --accent-hi: #9ab8ff;
  --accent-soft: rgba(122, 162, 255, 0.12);
  --dict: #22d3ee;
  --ab: #a78bfa;
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.brand { font-family: "Unbounded", var(--font-head); font-weight: 600; letter-spacing: 0.02em; }

.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.top__name { font-family: var(--font-head); font-weight: 800; text-decoration: none; white-space: nowrap; }
.top__nav { display: flex; gap: 20px; font-size: 15px; }
.top__nav a { color: var(--text-dim); text-decoration: none; }
.top__nav a:hover { color: var(--text); }
.top__lang { border: 1px solid var(--border-hi); border-radius: 8px; padding: 0 8px; }

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px 56px;
  align-items: center;
  padding-top: clamp(40px, 7vw, 88px);
}
.hero__kicker { color: var(--accent-hi); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; }
.hero h1 { margin-top: 14px; font-size: clamp(38px, 6vw, 68px); }
.hero__lead { margin-top: 20px; max-width: 54ch; color: var(--text-dim); font-size: clamp(17px, 1.6vw, 20px); }
.hero__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { margin: 0; justify-self: end; max-width: 420px; }
.hero__photo img { border-radius: 28px; }
.facts {
  grid-column: 1 / -1;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.facts li { padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-soft); }
.facts b { display: block; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.facts span { color: var(--text-dim); font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px;
  border: 1px solid var(--border-hi); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--surface-hi); border-color: var(--text-mute); }
.btn--main { background: var(--accent); border-color: var(--accent); color: #0b0c0e; }
.btn--main:hover { background: var(--accent-hi); border-color: var(--accent-hi); }

.sec { padding-top: clamp(64px, 9vw, 120px); }
.sec__title {
  font-size: clamp(40px, 7vw, 84px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.tile {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-soft);
  display: flex; flex-direction: column; gap: 20px;
}
.tile + .tile { margin-top: 20px; }
.tile--dictator { background: radial-gradient(900px 400px at 0% 0%, rgba(34, 211, 238, 0.10), transparent 60%), var(--bg-soft); border-color: rgba(34, 211, 238, 0.28); }
.tile--ab { background: radial-gradient(900px 400px at 100% 0%, rgba(167, 139, 250, 0.12), transparent 60%), var(--bg-soft); border-color: rgba(167, 139, 250, 0.3); }
.tile__head { display: flex; gap: 16px; align-items: center; }
.tile__logo { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.tile h3 { font-size: clamp(28px, 3.6vw, 44px); }
.tile--hero h3 { font-size: clamp(34px, 5vw, 60px); }
.tile__tag { margin-top: 6px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; color: var(--text); }
.tile--dictator .tile__tag { color: var(--dict); }
.tile--ab .tile__tag { color: var(--ab); }
.tile__lead { color: var(--text-dim); max-width: 72ch; }
.tile__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tile__note { flex-basis: 100%; color: var(--text-mute); font-size: 14px; }

.feats {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 10px;
}
.feats li { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.02); font-size: 15px; color: var(--text-dim); }
.feats b { display: block; color: var(--text); font-weight: 600; }

.shots { display: grid; gap: 12px; }
.shots--desk { grid-template-columns: repeat(3, 1fr); }
.shots--desk .shot--wide { grid-column: 1 / -1; }
.shots--phone { grid-template-columns: repeat(4, 1fr); }
.shots--mix { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
.shot {
  position: relative; display: block; margin: 0;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: #07080a; text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.shot:hover { border-color: var(--text-mute); transform: translateY(-2px); }
.shot img { width: 100%; }
.shot span {
  position: absolute; left: 8px; bottom: 8px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.72); color: var(--text); font-size: 13px; font-weight: 600;
}
.shot--plate { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px 44px; background: linear-gradient(135deg, #10202a, #1a1426); }
.shot--plate img { width: min(700px, 100%); border-radius: 10px; }
.shot--plate span { left: 50%; transform: translateX(-50%); white-space: nowrap; }


.buds { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.buds h3 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
.buds .tile__foot { margin-top: 24px; }
.buds__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buds__grid figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); }
.buds__grid img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.buds__grid figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.7); font-size: 13px; font-weight: 600; }

.contact .tile__foot { margin-top: 20px; }
.foot { padding: 64px 0 40px; color: var(--text-mute); font-size: 14px; }

.lb { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lb::backdrop { background: rgba(0, 0, 0, 0.88); }
.lb img { max-width: 96vw; max-height: 94vh; width: auto; border-radius: 12px; }
.lb__x {
  position: fixed; top: 14px; right: 16px; width: 44px; height: 44px;
  border: 1px solid var(--border-hi); border-radius: 50%;
  background: var(--surface); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { justify-self: start; max-width: 300px; grid-row: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .buds { grid-template-columns: 1fr; }
  .shots--desk { grid-template-columns: 1fr 1fr; }
  .shots--desk .shot:last-child:nth-child(even) { grid-column: 1 / -1; }
  .shots--phone { grid-template-columns: 1fr 1fr; }
  .shots--mix { grid-template-columns: 1fr 1fr; }
  .shots--mix .shot:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .top__nav { gap: 12px; font-size: 14px; }
  .top__nav a[href="#contact"] { display: none; }
  .feats li { padding: 10px 12px; font-size: 14px; }
  .shot span { font-size: 11px; padding: 2px 8px; }
  .shot--plate span { white-space: normal; text-align: center; width: max-content; max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot, .btn { transition: none; }
}
.shots--desk .shot:not(.shot--wide) img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shots--mix { align-items: center; }
