@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/onest-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/onest-400-latin.woff2") format("woff2");
  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: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/onest-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/onest-500-latin.woff2") format("woff2");
  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: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/onest-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/onest-600-latin.woff2") format("woff2");
  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: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/onest-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/onest-700-latin.woff2") format("woff2");
  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: "Onest";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/onest-800-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/onest-800-latin.woff2") format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jbmono-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jbmono-400-latin.woff2") format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jbmono-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jbmono-500-latin.woff2") format("woff2");
  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: #121313;
  --surface: #191a19;
  --line: #30312e;
  --text: #f1f0e9;
  --dim: #a8aaa3;
  --muted: #898d84;
  --accent: #ded2bc;
  --font: "Onest", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell, .header-inner { width: min(100% - 112px, 1328px); margin-inline: auto; }
.label { font: 10px/1.65 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.label-accent { color: var(--accent); }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 12px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(18,19,19,.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 600; letter-spacing: -.04em; line-height: 1.35; }
.brand img { width: 30px; height: 30px; image-rendering: pixelated; }
.brand-sub { display: block; margin-top: 3px; font-size: 9px; font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { position: relative; padding-block: 15px; color: var(--dim); font-size: 13px; transition: color .2s; }
.menu a:hover, .menu a.is-current { color: var(--text); }
.menu a::after { content: ""; position: absolute; bottom: 7px; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.menu a.is-current::after, .menu a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 5px; font-size: 12px; font-weight: 500; line-height: 1.5; transition: background .18s, border-color .18s, color .18s; }
.btn span { font-size: 19px; font-weight: 400; line-height: 1; }
.btn-primary { background: var(--accent); color: #24251f; }
.btn-primary:hover { background: #eee5d5; }
.btn-primary:active { background: #c7b99e; }
.btn-ghost { border-color: #45473f; background: transparent; color: var(--text); }
.btn-ghost:hover { background: #252721; border-color: #74796a; }
.btn-ghost:active { background: #34372e; }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; color: var(--dim); font-size: 12px; transition: color .18s; }
.text-link:hover { color: var(--text); }
.play-small { font-size: 21px; color: var(--text); }

.hero { padding-top: 64px; }
.hero-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.hero-left { padding: 8px 0 20px; }
.hero-label { display: flex; align-items: center; gap: 10px; letter-spacing: .07em; font-size: 9px; }
.small-cross { font-size: 21px; line-height: 1; color: var(--accent); }
.hero-title { margin: 28px 0 26px; font-size: clamp(42px,4.65vw,70px); line-height: 1.055; font-weight: 500; letter-spacing: -.063em; }
.hero-title > span { color: var(--accent); }
.hero-lead { max-width: 390px; font-size: 14px; line-height: 1.85; color: var(--dim); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 30px; }
.hero-status { display: flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--muted); font-size: 10px; }
.dot { width: 5px; height: 5px; background: #a7ba8e; border-radius: 50%; }
.hero-visual { position: relative; isolation: isolate; min-height: 500px; overflow: hidden; border-radius: 8px; background: #22271f; }
.hero-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg,rgba(0,0,0,.16),transparent 40%,rgba(7,10,8,.84)); pointer-events: none; }
.visual-tag { position: absolute; top: 15px; left: 15px; z-index: 1; font: 9px var(--mono); color: #eeede5; background: #10151199; border: 1px solid #ffffff30; border-radius: 3px; padding: 8px 10px; }
.visual-caption { position: absolute; z-index: 1; bottom: 17px; left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.visual-caption .label { color: #c3c6ba; font-size: 8px; }
.visual-caption strong { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.03em; margin-top: 6px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.hero-meta > div { display: flex; gap: 28px; font: 9px var(--mono); }
.hero-meta a { color: var(--dim); }
.hero-meta a span { margin-left: 12px; }

.section { padding: 100px 0; }
.section + .section { border-top: 1px solid var(--line); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.head-title { margin-top: 15px; font-size: clamp(28px,3vw,43px); font-weight: 500; letter-spacing: -.045em; line-height: 1.16; text-wrap: balance; }
.head-note { color: var(--muted); font-size: 11px; line-height: 1.85; padding-bottom: 3px; }

.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.card { padding-top: 22px; border-top: 1px solid #4a4c43; }
.card-num { font: 10px var(--mono); color: var(--accent); }
.card-title { font-size: 18px; line-height: 1.4; letter-spacing: -.025em; font-weight: 500; margin: 28px 0 14px; max-width: 16ch; }
.card-text { font-size: 13px; line-height: 1.9; color: var(--dim); }
.video { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #090a09; }
.video video { display: block; width: 100%; aspect-ratio: 16/9; }
.video-note { margin-top: 14px; color: var(--muted); font-size: 10px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.author { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 14px; }
.author img { padding: 8px; border-radius: 6px; border: 1px solid var(--line); image-rendering: pixelated; background: var(--surface); }
.author small { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); }
.about-text > p { font-size: 14px; line-height: 1.85; color: var(--dim); margin-top: 15px; max-width: 49ch; }
.facts > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.facts > div:first-child { padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { text-align: right; }

#contacts { background: #181a17; }
#contacts .head { margin-bottom: 52px; }
#contacts .head-title { font-size: clamp(42px,5.5vw,76px); letter-spacing: -.06em; }
#contacts .head-title span { color: var(--accent); }
.contacts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.contact { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; column-gap: 12px; row-gap: 10px; min-width: 0; padding: 22px 0; border-top: 1px solid #45483d; background: transparent; text-align: left; transition: border-color .2s; }
.contact:hover { border-color: var(--accent); }
.contact img { width: 23px; height: 23px; object-fit: contain; }
.contact img[src$=".svg"] { filter: brightness(0) invert(.85); }
.contact-name { font-size: 14px; }
.contact-value { grid-column: 2/4; grid-row: 2; color: var(--muted); font-size: 11px; }
.contact-go { grid-column: 3; grid-row: 1; color: var(--accent); font-size: 9px; }
.footer { padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 9px; }
.footer a { padding: 8px 0 8px 16px; color: var(--dim); }
.toast { position: fixed; z-index: 70; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; padding: 14px 20px; border: 1px solid #646c58; border-radius: 5px; background: #24291e; color: var(--text); font-size: 12px; box-shadow: 0 8px 32px #0005; }

@media (min-width: 1600px) {
  .hero { padding-top: 80px; }
  .hero-visual { min-height: 550px; }
  .hero-left { padding-top: 20px; }
}
@media (max-width: 1100px) {
  .shell, .header-inner { width: calc(100% - 64px); }
  .hero-body { gap: 28px; }
  .hero-title { font-size: clamp(40px,5vw,60px); }
  .hero-visual { min-height: 480px; }
  .hero-label { font-size: 8px; }
  .menu { gap: 20px; }
  .head-note { max-width: 260px; }
  .cards { gap: 24px; }
  .about { gap: 50px; }
  .contacts { gap: 20px; }
  .contact { grid-template-columns: 26px 1fr; }
  .contact-go { grid-row: 3; grid-column: 2; }
  .contact-value { grid-column: 2; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .shell, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 18px; }
  .brand { font-size: 16px; }
  .brand-sub { font-size: 8px; }
  .brand img { width: 26px; height: 26px; }
  .header-cta { margin-left: auto; font-size: 10px; padding: 7px 11px; min-height: 38px; gap: 12px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .menu a { font-size: 16px; padding: 12px 0; }
  .menu a::after { width: 30px; }
  .hero { padding-top: 38px; }
  .hero-body { grid-template-columns: 1fr; gap: 32px; }
  .hero-left { padding: 0; }
  .hero-title { font-size: clamp(40px,8.2vw,62px); margin: 24px 0; }
  .hero-label { font-size: 8px; }
  .hero-lead { font-size: 13px; max-width: 46ch; }
  .hero-actions { gap: 24px; margin-top: 26px; }
  .hero-status { margin-top: 22px; }
  .hero-visual { min-height: 360px; }
  .hero-shot { object-position: center; }
  .visual-caption { left: 20px; right: 20px; bottom: 14px; }
  .visual-tag { left: 12px; top: 12px; font-size: 8px; }
  .visual-caption strong { font-size: 17px; }
  .hero-meta { margin-top: 30px; flex-wrap: wrap; gap: 18px; }
  .hero-meta > span { width: 100%; }
  .hero-meta > div { gap: 18px; font-size: 8px; }
  .hero-meta a { font-size: 9px; }
  .section { padding: 62px 0; }
  .head { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
  .head-title { font-size: 31px; max-width: 22ch; }
  .head-note { max-width: none; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
  .card-title { margin-top: 20px; font-size: 17px; }
  .card-text { font-size: 12px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .contacts { grid-template-columns: 1fr; gap: 0; }
  .contact { grid-template-columns: 28px 1fr auto; padding-block: 22px; }
  .contact-go { grid-column: 3; grid-row: 1/3; font-size: 10px; }
  .contact-value { grid-column: 2; }
  #contacts .head-title { font-size: clamp(40px,9vw,62px); }
  #contacts .head { margin-bottom: 30px; }
  .footer-inner { font-size: 8px; }
}
@media (max-width: 380px) {
  .header-cta { display: none; }
  .hero-title { font-size: 37px; }
  .hero-actions { gap: 15px; }
  .btn { padding-inline: 17px; gap: 18px; }
  .hero-meta a { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card-title { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


body { isolation: isolate; }
.cursor-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }
@media (max-width: 760px), (prefers-reduced-motion: reduce), (any-hover: none) {
  .cursor-trail { display: none; }
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 5% 0%, #24231e 0%, transparent 58%), radial-gradient(ellipse at 100% 85%, #26231e 0%, transparent 62%), linear-gradient(145deg, #161714, #111211 55%, #191915);
  background-attachment: fixed;
}

@media (min-width: 1500px) {
  .hero > .shell { width: min(100% - 112px, 1480px); }
  .hero-body { grid-template-columns: minmax(0,.95fr) minmax(0,1.3fr); }
}
@media (max-width: 760px) {
  body { background-attachment: scroll; }
  
}



@media (max-width: 760px) {
  .shell, .header-inner { width: calc(100% - 36px); }
  .hero-body { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .hero-title { font-size: clamp(35px, 8.8vw, 58px); line-height: 1.1; letter-spacing: -.05em; }
  .hero-lead, .card-text, .about-text > p { font-size: 16px; line-height: 1.75; }
  .hero-label, .label, .case-kicker { font-size: 12px; letter-spacing: .035em; }
  .hero-label { flex-wrap: wrap; gap: 6px; }
  .hero-actions { gap: 16px; }
  .btn, .text-link { font-size: 14px; min-height: 48px; }
  .hero-status { font-size: 12px; }
  .hero-visual { min-height: 0; aspect-ratio: 4/3; }
  .visual-tag { font-size: 10px; padding: 6px 8px; }
  .visual-caption .label { font-size: 10px; }
  .visual-caption strong { font-size: 16px; }
  .hero-meta > span { display: none; }
  .hero-meta > div { flex-wrap: wrap; gap: 12px; font-size: 12px; }
  .hero-meta a { display: none; }
  .cards { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .card-title { max-width: none; font-size: 21px; margin-top: 14px; }
  .head-note, .video-note, .facts > div, .author small, .contact-value, .contact-go { font-size: 13px; }
  .facts > div { flex-wrap: wrap; gap: 8px 20px; }
  .contact { min-height: 88px; }
  .footer-inner { font-size: 11px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-actions .btn-primary { flex: 1 1 180px; }
  .hero-actions .text-link { padding-inline: 4px; }
  .contact { grid-template-columns: 24px minmax(0,1fr); }
  .contact-go { grid-column: 2; grid-row: 3; }
}

.portfolio-heading { margin-bottom: 42px; }
.portfolio-heading .head-title { max-width: 26ch; }
.portfolio { display: flex; flex-direction: column; gap: 88px; }
.portfolio-project { min-width: 0; }
.portfolio-project + .portfolio-project { padding-top: 56px; border-top: 1px solid var(--line); }
.portfolio-cover { margin: 0; overflow: hidden; border-radius: 6px; }
.portfolio-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.portfolio-info { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,5vw,88px); padding-top: 32px; }
.portfolio-heading-group, .portfolio-story { min-width: 0; }
.portfolio-kicker { color: var(--muted); font: 12px/1.65 var(--mono); }
.portfolio-heading-group h3 { margin-top: 13px; color: var(--text); font-size: clamp(30px,3.5vw,46px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
.portfolio-story { padding-top: 2px; }
.portfolio-story > p { color: var(--dim); font-size: 16px; line-height: 1.8; }
.portfolio-story > p + p { margin-top: 17px; }
.portfolio-story > .portfolio-hook { color: var(--text); font-size: 23px; line-height: 1.4; letter-spacing: -.025em; }
.portfolio-award { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--accent); font-size: 14px; line-height: 1.6; }
.portfolio-award svg { flex: 0 0 auto; }
.portfolio-stats { display: flex; flex-wrap: wrap; gap: 24px 42px; margin-top: 25px; }
.portfolio-stats > div { display: flex; flex-direction: column; gap: 6px; }
.portfolio-stats dt { order: 2; color: var(--muted); font-size: 12px; line-height: 1.5; }
.portfolio-stats dd { font-size: 30px; font-weight: 400; letter-spacing: -.04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.portfolio-result { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); gap: 24px 34px; }
.portfolio-result dd { color: var(--accent); }
.portfolio-result dd span { color: var(--dim); font-size: 22px; }
.portfolio-story > .portfolio-theme { padding-left: 15px; border-left: 2px solid #655f50; color: var(--accent); }
.portfolio-theme span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.portfolio-recognition strong { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--accent); }
.portfolio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.portfolio-actions .btn { font-size: 14px; }
.portfolio-actions > span { color: var(--muted); font-size: 12px; }
@media (max-width: 1000px) {
  .portfolio-info { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 30px; }
  .portfolio-heading-group h3 { font-size: 34px; }
  .portfolio-stats { column-gap: 26px; }
}
@media (max-width: 760px) {
  .portfolio-heading { margin-bottom: 28px; }
  .portfolio { gap: 42px; }
  .portfolio-project + .portfolio-project { padding-top: 34px; }
  .portfolio-info { grid-template-columns: minmax(0,1fr); gap: 22px; padding-top: 23px; }
  .portfolio-heading-group h3 { font-size: clamp(30px,8vw,40px); text-wrap: initial; }
  .portfolio-story > p { font-size: 16px; line-height: 1.75; }
  .portfolio-story > .portfolio-hook { font-size: 22px; }
  .portfolio-award { margin-top: 18px; }
  .portfolio-result { margin-top: 20px; padding-top: 18px; }
  .portfolio-actions .btn { min-height: 50px; flex: 1 1 210px; }
}


.btn, .contact { position: relative; overflow: hidden; }
.click-wave { position: absolute; display: block; pointer-events: none; border-radius: 50%; background: currentColor; opacity: 0; }
.btn { transition: background .2s, border-color .2s, color .2s, transform .2s cubic-bezier(.2,.75,.25,1); }
.btn > span:not(.click-wave) { display: inline-block; transition: transform .2s; }
.contact { transition: border-color .22s, background-color .22s; }
.contact-go, .contact img, .brand img { transition: transform .25s cubic-bezier(.2,.75,.25,1); }
.portfolio-cover img, .hero-shot { transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.card { transition: border-color .25s; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover > span:not(.click-wave) { transform: translate(2px,-1px); }
  .portfolio-cover:hover img, .hero-visual:hover .hero-shot { transform: scale(1.025); }
  .brand:hover img { transform: rotate(-6deg) scale(1.06); }
  .card:hover { border-color: #aca18b; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(0) scale(.97); }
  .menu-toggle:active { transform: scale(.94); }
  .menu-toggle { transition: transform .15s; }
  .menu.is-open { animation: menu-open .2s ease-out; }
  @keyframes menu-open {
    from { opacity: .7; transform: translateY(-7px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.header { background: #141514ed; backdrop-filter: blur(16px); }
.header-inner { min-height: 72px; }
.brand-sub { font-size: 12px; }
.header-cta { min-height: 40px; padding-block: 8px; }
#contacts { background: transparent; padding: 72px 0 28px; border-top: 1px solid var(--line); }
#contacts .head { margin-bottom: 32px; align-items: flex-end; gap: 28px; }
#contacts .head-title { font-size: clamp(34px, 4.1vw, 56px); letter-spacing: -.045em; margin-top: 16px; }
#contacts .head-note { font-size: 14px; }
.contacts { gap: 28px; }
.contact { grid-template-columns: 28px minmax(0,1fr) auto; gap: 4px 12px; padding: 20px 0; min-height: 92px; overflow: visible; border-top-color: var(--line); background: transparent; }
.contact img { grid-column: 1; grid-row: 1 / 3; }
.contact-name { grid-column: 2; grid-row: 1; font-size: 16px; }
.contact-value { grid-column: 2; grid-row: 2; font-size: 13px; }
.contact-go { grid-column: 3; grid-row: 1 / 3; font-size: 12px; color: var(--muted); transition: color .2s; }
.contact:hover, .contact:active { background: transparent; transform: none; }
.contact:hover .contact-go { color: var(--accent); }
.contact:hover img, .contact:hover .contact-go { transform: none; }
.footer { padding: 20px 0; }
.footer-inner { font-size: 12px; }
.avatar-secret { display: block; flex-shrink: 0; border-radius: 6px; background: transparent; }
.avatar-secret img { transition: border-color .2s; }
.avatar-secret:hover img { border-color: var(--accent); }
.achievement { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 18px 22px; border: 1px solid #8b826b; border-radius: 8px; background: #1f211c; box-shadow: 0 16px 50px #0006; text-align: left; }
.achievement > span:first-child { font: 28px var(--mono); color: var(--accent); }
.achievement small { display: block; color: var(--accent); font-size: 12px; }
.achievement strong { display: block; font-size: 16px; font-weight: 500; }
.achievement > span:last-child { color: var(--muted); margin-left: 12px; }
.now-playing { display: flex; align-items: center; gap: 16px; padding: 18px 0; margin-top: 22px; border-block: 1px solid var(--line); }
.now-playing > span:nth-child(2) { flex: 1; min-width: 0; }
.now-playing small { color: var(--accent); font-size: 12px; display: block; }
.now-playing strong { font-size: 15px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#music-artist { font-size: 13px; color: var(--muted); }
.music-bars { display: flex; align-items: center; gap: 3px; height: 28px; width: 28px; }
.music-bars i { width: 3px; height: 18px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .music-bars i { animation: equalizer 1.1s ease-in-out infinite alternate; }
  .music-bars i:nth-child(2) { animation-delay: -.4s; }
  .music-bars i:nth-child(3) { animation-delay: -.7s; }
  .music-bars i:nth-child(4) { animation-delay: -.2s; }
  @keyframes equalizer { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
}
@media (max-width: 1000px) { .contact-go { grid-column: 2; grid-row: 3; } }
@media (max-width: 760px) {
  .header-inner { min-height: 64px; }
  .brand-sub { font-size: 10px; }
  #contacts { padding-top: 48px; }
  #contacts .head { align-items: flex-start; gap: 16px; }
  #contacts .head-title { font-size: clamp(34px, 8vw, 48px); }
  .contacts { grid-template-columns: minmax(0,1fr); gap: 0; }
  .contact { grid-template-columns: 28px minmax(0,1fr) auto; }
  .contact-go { grid-column: 3; grid-row: 1 / 3; }
  .achievement { right: 16px; bottom: 16px; }
}

@media (max-width: 760px) { .brand-sub { font-size: 12px; } .header-cta { font-size: 14px; } }

.gameplay-stage { width: min(100% - 48px, 1840px); margin-inline: auto; display: grid; grid-template-columns: minmax(0,.25fr) minmax(0,1fr) minmax(0,.25fr); gap: clamp(16px,2vw,32px); align-items: stretch; }
.gameplay-stage > .video { position: relative; min-width: 0; align-self: center; box-shadow: 0 16px 64px #0003; }
.gameplay-reel { position: relative; min-width: 0; min-height: 0; }
.reel-window { position: absolute; inset: 0; overflow: auto; scrollbar-width: thin; mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.reel-track { display: flex; flex-direction: column; }
.reel-group { display: flex; flex-direction: column; flex-shrink: 0; gap: 16px; padding-bottom: 16px; }
.reel-shot { display: block; flex-shrink: 0; position: relative; overflow: hidden; border-radius: 5px; background: #141a18; }
.reel-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: opacity .25s; }
.reel-shot-interface img { object-fit: contain; }
.reel-shot::after { content: '↗'; position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--text); background: #111c; border-radius: 50%; opacity: 0; transition: opacity .2s; }
.reel-shot:hover::after, .reel-shot:focus-visible::after { opacity: 1; }
.reel-shot:focus-visible { outline-offset: -3px; }
.reels-ready .reel-window { overflow: hidden; }
.reels-ready .reel-track { animation: reel-vertical 38s linear infinite; animation-play-state: paused; }
.reels-ready .gameplay-reel-right .reel-track { animation-duration: 80s; animation-direction: reverse; animation-delay: -9s; }
.reels-running .reel-track { animation-play-state: running; }
.gameplay-reel:focus-within .reel-track { animation-play-state: paused; }
.gameplay-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.gameplay-caption .video-note { margin: 0; font-size: 13px; }



@keyframes reel-vertical { to { transform: translateY(-50%); } }
@keyframes reel-horizontal { to { transform: translateX(-50%); } }
@media (hover: hover) { .gameplay-reel:hover .reel-track { animation-play-state: paused; } }
@media (max-width: 1100px) {
  .gameplay-stage { width: min(100% - 64px,1000px); grid-template-columns: minmax(0,1fr); gap: 16px; }
  .gameplay-stage > .video { grid-row: 1; }
  .gameplay-reel { height: clamp(120px,20vw,200px); }
  .reel-window { mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .reel-track { width: max-content; height: 100%; flex-direction: row; }
  .reel-group { flex-direction: row; height: 100%; padding: 0 16px 0 0; }
  .reel-shot { height: 100%; width: auto; aspect-ratio: 16/9; }
  .reel-shot img { width: 100%; height: 100%; }
  .reels-ready .reel-track { animation-name: reel-horizontal; }
  .gameplay-caption { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .gameplay-stage { width: calc(100% - 36px); gap: 12px; }
  .gameplay-reel { height: 132px; }
  .reel-group { gap: 12px; padding-right: 12px; }
  .gameplay-caption { margin-top: 12px; gap: 4px; }

}
@media (prefers-reduced-motion: reduce) {
  .reels-ready .reel-window { overflow: auto; }
  .reel-duplicate, .reel-repeat { display: none; }
  .reels-ready .reel-track { animation: none; transform: none; }
}
.shot-is-open { overflow: hidden; }
.shot-dialog { width: min(1280px,calc(100% - 48px)); max-width: none; max-height: calc(100svh - 40px); margin: auto; padding: 0; border: 1px solid #4a4c43; border-radius: 10px; background: #141613; color: var(--text); overflow: auto; }
.shot-dialog::backdrop { background: #080a08e8; backdrop-filter: blur(8px); }
.shot-dialog-content { position: relative; padding: 22px; }
.shot-close { position: absolute; right: 30px; top: 30px; z-index: 1; width: 44px; height: 44px; background: #141613e8; border: 1px solid #53574a; border-radius: 50%; font-size: 25px; }
.shot-image-wrap { display: flex; align-items: center; justify-content: center; min-height: 140px; }
.shot-image { display: block; width: 100%; height: min(72svh,760px); object-fit: contain; }
.shot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; }
.shot-description { color: var(--dim); font-size: 14px; }
.shot-navigation { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.shot-navigation button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 20px; }
.shot-navigation button:hover { border-color: var(--accent); }
.shot-count { color: var(--muted); font: 12px var(--mono); }
@media (max-width: 760px) {
  .shot-dialog { width: calc(100% - 24px); }
  .shot-dialog-content { padding: 12px; }
  .shot-image { height: min(58svh,500px); }
  .shot-close { top: 20px; right: 20px; }
  .shot-bottom { flex-direction: column; gap: 12px; padding-top: 12px; }
  .shot-description { text-align: center; }
}






.shot-dialog-content { padding-top: 12px; }
.shot-dialog-toolbar { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 10px; }
.shot-dialog-toolbar .shot-close { position: static; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; line-height: 1; background: transparent; }
.shot-close svg { display: block; pointer-events: none; }
.shot-dialog-toolbar .shot-close:hover { background: #ded2bc0c; border-color: var(--accent); }
.shot-image { height: min(64svh,720px); }
@media (max-width: 760px) { .shot-image { height: min(54svh,500px); } }

.reels-smooth .reel-track { animation: none !important; will-change: transform; }
.reels-smooth .reel-window { cursor: grab; user-select: none; touch-action: pan-x pinch-zoom; }
.reels-smooth .reel-shot, .reels-smooth .reel-shot img { cursor: inherit; -webkit-user-drag: none; }
.reels-smooth .is-dragging .reel-window { cursor: grabbing; }
.reels-smooth .reel-keyboard .reel-window { overflow: auto; }
.reels-smooth .reel-keyboard .reel-duplicate, .reels-smooth .reel-keyboard .reel-repeat { display: none; }
@media (max-width: 1100px) { .reels-smooth .reel-window { touch-action: pan-y pinch-zoom; } }
@media (prefers-reduced-motion: reduce) { .reels-smooth .reel-window { touch-action: auto; cursor: auto; } }

.listening { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.listening-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.listening-heading h3 { margin:0; font-size:18px; font-weight:500; }
.listening-heading > span { color:var(--muted); font-size:12px; }
.listening .now-playing { margin-top:14px; border-top:0; }
.listening h4 { margin:22px 0 10px; font-size:13px; color:var(--muted); font-weight:400; }
#music-recent { list-style:none; padding:0; margin:0; }
#music-recent li + li { border-top:1px solid var(--line); }
#music-recent .music-recent-row { display:flex; align-items:center; gap:20px; padding:13px 0; color:inherit; text-decoration:none; transition:color .2s; }
#music-recent .music-recent-row:hover, #music-recent .music-recent-row:focus-visible { color:var(--accent); }
#music-recent .music-recent-row > .music-info { flex:1; min-width:0; }
#music-recent strong { display:block; font-size:15px; font-weight:500; overflow-wrap:anywhere; }
#music-recent .music-recent-row > .music-info > span { display:block; color:var(--muted); font-size:13px; margin-top:3px; overflow-wrap:anywhere; }
#music-recent time { color:var(--muted); font-size:12px; white-space:nowrap; }
@media (max-width:480px) { #music-recent .music-recent-row { gap:12px; } #music-recent time { max-width:80px; white-space:normal; text-align:right; } }

.music-cover { display:grid; place-items:center; flex:0 0 56px; width:56px; height:56px; border-radius:6px; overflow:hidden; background:#ded2bc0c; color:var(--accent); font-size:24px; }
.music-cover img { width:100%; height:100%; object-fit:cover; }
#music-recent .music-cover { flex-basis:40px; width:40px; height:40px; font-size:20px; }
.music-play { flex:0 0 44px; width:44px; height:44px; display:grid; place-items:center; padding:0; border:1px solid var(--line); border-radius:50%; background:transparent; color:var(--accent); cursor:pointer; transition:background .2s,border-color .2s; }
.music-play:hover { border-color:var(--accent); background:#ded2bc12; }
#music-player iframe { display:block; width:100%; height:180px; border:0; border-radius:8px; }
.music-player-close { display:block; margin:10px 0 0 auto; color:var(--muted); border:0; background:none; font-size:13px; cursor:pointer; }
@media(max-width:480px) { #music-recent .music-recent-row { flex-wrap:wrap; } #music-recent time { font-size:11px; max-width:68px; } }
