/* Original style block 1 */

    :root {
      --bg: #fff;
      --fg: #111;
      --muted: #777;
      --line: #e8e8e8;
      --gutter: clamp(20px, 3.4vw, 64px);
      --max: 1440px;
      --ease: cubic-bezier(.22, 1, .36, 1);
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: auto; scroll-padding-top: 90px; }
    body { margin: 0; background: var(--bg); color: var(--fg); font-family: Inter, Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    a:focus-visible, button:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
    .container { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; }
    .topbar { position: fixed; z-index: 100; inset: 0 0 auto; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(0,0,0,.055); }
    .topbar-inner { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
    .logo { font-size: 15px; font-weight: 600; letter-spacing: -.05em; }
    .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(12px, 2vw, 32px); }
    .nav-links a { font-size: 13px; transition: opacity .3s; }
    .route-focus-target:focus { outline: none; }
    .nav-links a:hover { opacity: .45; }
    .languages { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
    .lang-btn { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; padding: 5px 2px; }
    .lang-btn.active { color: var(--fg); font-weight: 700; }
    .lang-divider { color: #aaa; }
    #hero { min-height: clamp(460px, 68svh, 720px); padding-top: 150px; padding-bottom: clamp(48px, 6vw, 90px); display: flex; flex-direction: column; justify-content: flex-end; }
    .hero-kicker, .section-label { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
    .hero-kicker { margin: 0 0 22px; }
    .hero-name { margin: 0; font-size: clamp(52px, 8.4vw, 132px); line-height: .91; font-weight: 500; letter-spacing: -.078em; }
    .hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 30px; }
    .hero-role { font-size: clamp(16px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -.025em; }
    .hero-scroll { color: var(--muted); font-size: 12px; white-space: nowrap; }
    section.content-section { padding-block: clamp(64px, 7vw, 105px); border-top: 1px solid var(--line); }
    .section-label { margin: 0 0 35px; }
    .showcase { display: grid; gap: 18px; }
    .featured { display: block; position: relative; }
    .featured-art { aspect-ratio: 16 / 8; max-height: none; min-height: 290px; background: #eaeaea; display: grid; place-items: center; position: relative; overflow: hidden; isolation: isolate; }
    .featured-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, transparent 25%, rgba(0,0,0,.045)); }
    .featured-number { font-size: clamp(110px, 25vw, 360px); font-weight: 600; letter-spacing: -.14em; color: #d0d0d0; line-height: 1; transform: translateX(-.06em); }
    .featured-watermark { position: absolute; bottom: 22px; left: 25px; font-size: 11px; letter-spacing: .15em; color: #777; }
    .featured-caption { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; gap: 15px; }
    .featured-caption h2 { margin: 0; font-size: clamp(24px, 3vw, 42px); font-weight: 500; letter-spacing: -.055em; }
    .featured-caption p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .featured-arrow { font-size: 26px; }
    .thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(8px, 1.2vw, 20px); }
    .thumb { border: 0; background: transparent; padding: 0; text-align: left; color: var(--fg); cursor: pointer; min-width: 0; }
    .thumb-art { aspect-ratio: 3 / 2; display: grid; place-items: center; background: #f0f0f0; overflow: hidden; transition: background .5s var(--ease); }
    .thumb:nth-child(2) .thumb-art { background: #e8e8e8; }
    .thumb:nth-child(3) .thumb-art { background: #dedede; }
    .thumb:hover .thumb-art { background: #d2d2d2; }
    .thumb-number { font-size: clamp(45px, 8vw, 125px); font-weight: 600; color: #c6c6c6; letter-spacing: -.12em; transition: transform .65s var(--ease); }
    .thumb:hover .thumb-number { transform: scale(1.08); }
    .thumb-caption { display: flex; justify-content: space-between; padding-top: 12px; font-size: 13px; gap: 8px; }
    .thumb-caption > .arrow-icon { color: var(--muted); }
    .work-hint { color: var(--muted); font-size: 12px; margin: 26px 0 0; }
    .showcase.switching .featured-art { animation: swap-in .65s var(--ease) both; }
    .showcase.switching .featured-caption { animation: swap-in .7s var(--ease) both; }
    @keyframes swap-in { from { opacity: .35; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
    .about-copy { font-size: clamp(22px, 3vw, 40px); letter-spacing: -.045em; line-height: 1.42; max-width: 900px; }
    .about-copy p { margin: 0 0 24px; }
    .about-copy p + p { color: #666; font-size: clamp(17px, 2vw, 25px); letter-spacing: -.02em; }
    .skill-row, .resume-row { display: grid; grid-template-columns: 60px minmax(0,1fr) minmax(0,1fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline; }
    .skill-row:last-child, .resume-row:last-child { border-bottom: 1px solid var(--line); }
    .row-number, .row-detail { font-size: 13px; color: var(--muted); }
    .row-title { font-size: clamp(23px, 3vw, 40px); letter-spacing: -.045em; font-weight: 400; margin: 0; }
    .row-detail { line-height: 1.6; }
    .resume-intro { font-size: clamp(25px, 4vw, 55px); font-weight: 400; letter-spacing: -.05em; line-height: 1.15; margin: 0 0 42px; }
    .resume-note { color: var(--muted); font-size: 13px; margin-top: 24px; }
    .contact { border-top: 1px solid var(--line); padding-block: 75px 95px; }
    .contact-heading { font-size: clamp(38px, 6vw, 80px); letter-spacing: -.06em; font-weight: 400; margin: 0 0 26px; }
    .contact-links { display: flex; gap: 30px; flex-wrap: wrap; }
    .contact-links a { font-size: 15px; border-bottom: 1px solid #aaa; padding-bottom: 5px; }
    footer { border-top: 1px solid var(--line); padding: 25px 0; color: var(--muted); font-size: 12px; }
    .footer-inner { display: flex; justify-content: space-between; gap: 20px; }
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay { transition-delay: .1s; }
    #cursor-dot, #cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; opacity: 0; }
    #cursor-dot { width: 9px; height: 9px; background: #fff; mix-blend-mode: difference; transform: translate3d(-50%,-50%,0); }
    #cursor-ring { width: 37px; height: 37px; border: 1px solid rgba(0,0,0,.45); transform: translate3d(-50%,-50%,0); transition: width .35s var(--ease), height .35s var(--ease), border-color .35s; }
    #cursor-ring.hover { width: 60px; height: 60px; border-color: rgba(0,0,0,.8); }
    @media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) { body, a, button { cursor: none; } }
    @media (max-width: 850px) {
      .topbar-inner { min-height: 68px; }
      .nav-links { gap: 12px; }
      .nav-links a { font-size: 12px; }
      .hero-name { font-size: clamp(52px, 9vw, 86px); }
      .featured-art { aspect-ratio: 4 / 3; min-height: 0; }
      .skill-row, .resume-row { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
      .row-detail { grid-column: 2; }
    }
    @media (max-width: 600px) {
      :root { --gutter: 18px; }
      .topbar-inner { align-items: flex-start; padding-block: 15px; }
      .logo { padding-top: 3px; }
      .nav-links { justify-content: flex-end; gap: 9px 12px; max-width: 320px; }
      .nav-links a { font-size: 11px; }
      .languages { margin-left: 0; }
      #hero { min-height: clamp(410px, 64svh, 580px); padding-top: 140px; padding-bottom: 42px; }
      .hero-name { font-size: clamp(40px, 10.6vw, 64px); }
      .hero-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
      .featured-art { aspect-ratio: 5 / 4; }
      .featured-number { font-size: 34vw; }
      .thumbnails { gap: 7px; }
      .thumb-art { aspect-ratio: 1 / 1.12; }
      .thumb-number { font-size: 13vw; }
      .thumb-caption { font-size: 11px; }
      .thumb-caption > .arrow-icon { display: none; }
      .footer-inner { flex-direction: column; }
    }
    @media (hover:none), (pointer:coarse) { #cursor-dot, #cursor-ring { display: none; } }
    @media (prefers-reduced-motion:reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }
  
/* Editorial skills icons + dark closing section */
.skills-editorial { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr); gap:clamp(40px,8vw,130px); align-items:center; padding-block:clamp(25px,5vw,75px); }
.skills-editorial h2 { font-size:clamp(42px,5.2vw,82px); letter-spacing:-.075em; line-height:1.02; font-weight:600; margin:0 0 52px; }
.stack-label { font-size:15px; margin:0 0 16px; }
.stack-icons { display:flex; flex-wrap:wrap; gap:9px; }
.stack-icon { width:55px; height:55px; display:grid; place-items:center; border:1px solid #e2e2e2; border-radius:12px; background:#fff; box-shadow:0 4px 10px rgba(0,0,0,.055); font-size:16px; font-weight:700; letter-spacing:-.06em; transition:transform .45s var(--ease),box-shadow .45s var(--ease); }
.stack-icon:hover { transform:translateY(-6px); box-shadow:0 12px 22px rgba(0,0,0,.10); }
.stack-icon svg { width:26px; height:26px; }
.stack-icon small { font-size:11px; letter-spacing:0; }
.service-list { display:grid; gap:27px; }
.service-item { display:flex; align-items:center; gap:17px; font-size:clamp(17px,1.75vw,24px); letter-spacing:-.025em; }
.service-icon { width:44px; height:44px; flex:none; display:grid; place-items:center; border-radius:50%; background:#0b0b0b; color:#fff; box-shadow:0 4px 12px rgba(0,0,0,.19); }
.service-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.contact { background:#080808; color:#fff; padding:clamp(70px,8vw,125px) 0 0; overflow:hidden; }
.contact-heading { max-width:1020px; font-size:clamp(43px,6.6vw,102px); line-height:1.02; margin:0 0 clamp(48px,6vw,90px); letter-spacing:-.072em; }
.contact-heading .dim { color:#777; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:30px; padding-bottom:42px; }
.contact-label { color:#888; font-size:13px; margin:0 0 13px; }
.contact-email { font-size:clamp(15px,1.7vw,22px); font-weight:500; border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:5px; }
.socials { display:flex; gap:9px; }
.social { width:38px; height:38px; border-radius:50%; background:#fff; color:#080808; display:grid; place-items:center; font-size:13px; font-weight:700; transition:transform .4s var(--ease),background .4s; }
.social:hover { transform:translateY(-5px); background:#ddd; }
.contact-rule { height:1px; background:#444; }
.contact-bottom { display:flex; align-items:flex-start; justify-content:space-between; gap:30px; padding:25px 0 38px; font-size:12px; }
.contact-bottom-label { color:#888; margin:0 0 10px; }
.contact-nav { display:grid; grid-template-columns:repeat(2,max-content); gap:6px 22px; }
.contact-bottom a:hover { color:#aaa; }
.contact-bottom .copyright { color:#888; align-self:flex-end; }
.giant-signature { font-size:clamp(100px,19.2vw,350px); font-weight:700; letter-spacing:-.105em; line-height:.76; white-space:nowrap; transform:translateX(-.055em) translateY(.13em); color:#fff; user-select:none; }
footer { display:none; }
@media(max-width:850px) { .skills-editorial {grid-template-columns:1fr;gap:48px;} .skills-editorial h2 {margin-bottom:30px;} .service-list {grid-template-columns:1fr 1fr;gap:20px;} }
@media(max-width:600px) { .stack-icon {width:49px;height:49px;} .service-list {grid-template-columns:1fr;} .contact-grid {grid-template-columns:1fr;gap:32px;} .contact-bottom {flex-direction:column;} .contact-bottom .copyright {align-self:flex-start;} .giant-signature {font-size:21vw;} }

/* About + résumé merged into one continuous section */
.about-resume { margin-top: clamp(55px, 7vw, 105px); }
.about-resume-label { margin-bottom: 22px; }
.about-resume .resume-row:first-child { border-top: 1px solid var(--line); }

/* V8 — interactive typographic skills index */
.discipline-top,.discipline-end{display:flex;justify-content:space-between;align-items:center;gap:16px}
.discipline-top .section-label{margin:0}.discipline-count,.discipline-end{font-size:12px;color:#777;letter-spacing:.07em}
.discipline-heading{max-width:940px;font-size:clamp(48px,7.8vw,118px);line-height:1.04;letter-spacing:-.075em;font-weight:600;margin:clamp(36px,7vw,90px) 0 clamp(44px,7vw,90px)}
.discipline-list{border-top:1px solid #d8d8d8}.discipline{border-bottom:1px solid #d8d8d8}
.discipline-trigger{display:grid;grid-template-columns:80px minmax(0,1fr) 36px;align-items:center;gap:20px;width:100%;border:0;background:transparent;color:#141414;text-align:left;padding:clamp(20px,3vw,39px) 0;font-family:inherit;cursor:default}
.discipline-index{font-size:13px;color:#9a9a9a;align-self:center}.discipline-name{font-size:clamp(29px,4.2vw,66px);line-height:1.1;letter-spacing:-.055em;font-weight:500;transition:transform .55s cubic-bezier(.22,1,.36,1),color .3s}
.discipline-arrow{font-size:27px;font-weight:300;justify-self:end;transition:transform .5s cubic-bezier(.22,1,.36,1);color:#777}
.discipline-trigger:hover .discipline-name,.discipline.is-open .discipline-name{transform:translateX(9px)}
.discipline.is-open .discipline-arrow{transform:rotate(45deg)}
.discipline-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .65s cubic-bezier(.22,1,.36,1),opacity .5s ease}
.discipline.is-open .discipline-panel{grid-template-rows:1fr;opacity:1}
.discipline-panel-inner{overflow:hidden;min-height:0;margin-left:100px;color:#777;font-size:clamp(13px,1.3vw,17px);line-height:1.5;transform:translateY(-10px);transition:transform .6s cubic-bezier(.22,1,.36,1);padding-bottom:0}
.discipline.is-open .discipline-panel-inner{transform:translateY(0);padding-bottom:clamp(23px,3vw,40px)}
.discipline-end{margin-top:22px}
@media(max-width:650px){.discipline-trigger{grid-template-columns:32px minmax(0,1fr) 24px;gap:10px}.discipline-name{font-size:clamp(26px,7vw,40px)}.discipline-panel-inner{margin-left:42px}.discipline-heading{font-size:clamp(46px,11vw,72px)}}
@media(prefers-reduced-motion:reduce){.discipline-panel,.discipline-panel-inner,.discipline-name,.discipline-arrow{transition:none!important}}

/* V13 — distinct, compact live footer */
.contact-v13{background:#141414;color:#fff;padding:clamp(36px,5vw,70px) 0 32px;overflow:hidden}
.contact-v13 .container{position:relative}
.live-top{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:28px;border-bottom:1px solid #353535;font-size:12px}
.availability{display:inline-flex;align-items:center;gap:10px;color:#e6e6e6}.availability-dot{display:inline-block;width:8px;height:8px;background:#70c38b;border-radius:50%;box-shadow:0 0 0 4px rgba(112,195,139,.10);animation:live-pulse 2.8s ease-in-out infinite}
@keyframes live-pulse{50%{box-shadow:0 0 0 9px rgba(112,195,139,0)}}
.timezone,.live-label,.live-weekday{color:#969696}.timezone{font-size:11px;letter-spacing:.07em}
.live-info{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:clamp(28px,4vw,50px) 0;border-bottom:1px solid #353535}
.live-info>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.live-label{font-size:11px;letter-spacing:.11em;font-weight:600}
.live-clock,.live-date{font-size:clamp(28px,4.2vw,56px);font-weight:500;line-height:1.15;letter-spacing:-.065em;font-variant-numeric:tabular-nums}
.live-weekday{font-size:13px;min-height:18px}
.live-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:clamp(45px,6vw,90px) 0}
.live-cta h2{margin:0;font-size:clamp(43px,7.4vw,110px);font-weight:500;letter-spacing:-.075em;line-height:1.02}.live-cta .dim{color:#898989}.live-note{margin:20px 0 0;font-size:14px;color:#a4a4a4}
.magnetic-contact{flex:none;width:clamp(70px,9vw,126px);height:clamp(70px,9vw,126px);border:1px solid #777;border-radius:50%;display:grid;place-items:center;color:#fff;transition:background .35s,color .35s,border-color .35s,transform .45s cubic-bezier(.2,.8,.2,1);will-change:transform}
.magnetic-contact span{font-size:clamp(28px,4vw,48px);font-weight:300}.magnetic-contact:hover{background:#fff;color:#111;border-color:#fff}
.live-bottom{border-top:1px solid #353535;padding-top:22px;display:flex;justify-content:space-between;gap:25px;align-items:flex-end}.live-links{display:flex;gap:22px;flex-wrap:wrap;font-size:13px}.live-links a{color:#e0e0e0}.live-links a:hover{color:#fff}.live-meta{display:flex;flex-direction:column;gap:6px;align-items:flex-end;color:#888;font-size:11px;white-space:nowrap}
.back-to-top{position:fixed;right:26px;bottom:26px;z-index:90;width:48px;height:48px;border-radius:50%;border:1px solid #dadada;background:#fff;color:#171717;font:24px Manrope,sans-serif;box-shadow:0 8px 25px #00000014;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .3s,visibility .3s,transform .3s;cursor:default}.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:640px){.live-top{align-items:flex-start}.live-info{gap:12px}.live-clock,.live-date{font-size:clamp(23px,6vw,35px)}.live-cta{align-items:flex-end}.magnetic-contact{width:66px;height:66px}.live-bottom{flex-direction:column;align-items:flex-start}.live-meta{align-items:flex-start}.live-links{gap:14px}.back-to-top{right:16px;bottom:16px}}
@media(prefers-reduced-motion:reduce){.availability-dot{animation:none}.magnetic-contact,.back-to-top{transition:none}}

/* V14 — kinetic words, project motion previews, and creative lab */
.hero-role-wrap{display:flex;flex-direction:column;gap:10px;min-width:0}.hero-rotate{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:clamp(17px,2vw,27px);letter-spacing:-.045em;font-weight:600}.hero-rotate-prefix{color:#777;font-weight:400}.rotating-window{display:inline-flex;overflow:hidden;min-width:11ch;height:1.35em;align-items:center}.rotating-word{display:inline-block;will-change:transform,opacity}.rotating-word.is-out{animation:wordOut .28s ease both}.rotating-word.is-in{animation:wordIn .48s cubic-bezier(.2,.8,.2,1) both}.rotate-counter{font-size:10px;letter-spacing:.06em;color:#999;font-weight:500;margin-left:4px}@keyframes wordOut{to{transform:translateY(-90%);opacity:0}}@keyframes wordIn{from{transform:translateY(90%);opacity:0}to{transform:translateY(0);opacity:1}}
.project-preview{position:relative;isolation:isolate;overflow:hidden;--pc1:#e7e8e9;--pc2:#c9d0d4;--pc3:#aeb7bf;background:linear-gradient(135deg,var(--pc1),var(--pc2))!important}.project-preview-2{--pc1:#e6e1d9;--pc2:#c3c4bb;--pc3:#a4a48c}.project-preview-3{--pc1:#e3e0e8;--pc2:#c5c3d2;--pc3:#8e92ae}.project-preview-4{--pc1:#dfe9e6;--pc2:#afc6be;--pc3:#7c9b90}.project-preview .preview-scene{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.project-preview .preview-scene i{position:absolute;display:block;border-radius:50%;background:var(--pc3);filter:blur(1px);opacity:.27;transition:transform 1.25s cubic-bezier(.2,.8,.2,1),opacity 1s ease}.project-preview .preview-scene i:nth-child(1){width:42%;aspect-ratio:1;left:9%;top:12%;background:linear-gradient(130deg,#fff,var(--pc3));border-radius:24% 50% 34% 40%;transform:rotate(-20deg)}.project-preview .preview-scene i:nth-child(2){width:30%;aspect-ratio:1;right:13%;bottom:9%;background:linear-gradient(140deg,var(--pc3),#fff);border-radius:38% 25% 50% 35%;transform:rotate(25deg)}.project-preview .preview-scene i:nth-child(3){width:22%;aspect-ratio:1;right:31%;top:12%;background:#fff;opacity:.24;filter:blur(16px)}.project-preview:hover .preview-scene i:nth-child(1),.showcase.switching .preview-scene i:nth-child(1){transform:translate(9%,-7%) rotate(12deg) scale(1.12);opacity:.43}.project-preview:hover .preview-scene i:nth-child(2),.showcase.switching .preview-scene i:nth-child(2){transform:translate(-12%,9%) rotate(-15deg) scale(1.12);opacity:.42}.project-preview:hover .preview-scene i:nth-child(3){transform:translate(-25%,12%) scale(1.3)}.project-preview .featured-number,.project-preview .thumb-number,.project-preview .featured-watermark{position:relative;z-index:1}.project-preview .featured-number{color:rgba(40,40,40,.16)}.project-preview .thumb-number{color:rgba(40,40,40,.17)}
.creative-lab{padding-top:clamp(75px,10vw,150px);padding-bottom:clamp(80px,10vw,150px)}.lab-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}.lab-eyebrow{font-size:11px;letter-spacing:.12em;color:#8c8c8c;margin:0 0 17px}.lab-heading h2{font-size:clamp(36px,5vw,74px);font-weight:500;line-height:1.05;letter-spacing:-.065em;margin:0}.lab-heading>p{font-size:13px;line-height:1.6;color:#888;max-width:230px;margin:0}.lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lab-panel{min-width:0;min-height:370px;background:#f5f5f4;padding:clamp(21px,2.5vw,34px);display:flex;flex-direction:column;justify-content:space-between}.palette-panel{background:#f0f1ef}.lab-panel-top,.lab-panel-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;color:#777}.lab-panel-top{letter-spacing:.065em}.lab-panel-bottom{letter-spacing:0}.glossary-main{padding:38px 0}.glossary-en{color:#999;font-size:11px;letter-spacing:.12em}.glossary-main h3{font-size:clamp(28px,3.5vw,51px);letter-spacing:-.06em;font-weight:500;line-height:1.1;margin:12px 0 14px}.glossary-main p{max-width:400px;font-size:clamp(14px,1.25vw,17px);line-height:1.55;color:#626262;margin:0}.glossary-main.change{animation:glossaryReveal .4s ease both}@keyframes glossaryReveal{from{opacity:.25;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.lab-actions{display:flex;gap:7px}.lab-actions button{width:36px;height:36px;border:1px solid #d5d5d5;border-radius:50%;background:transparent;font-size:18px;cursor:pointer;transition:background .2s,color .2s}.lab-actions button:hover{background:#171717;color:white}.palette-main{padding:30px 0}.palette-swatches{display:flex;height:clamp(145px,15vw,210px);gap:5px}.palette-swatch{position:relative;flex:1;min-width:0;border:0;cursor:pointer;transition:flex .5s cubic-bezier(.2,.8,.2,1);padding:0;overflow:hidden}.palette-swatch:hover,.palette-swatch:focus-visible{flex:1.4}.palette-swatch span{position:absolute;left:10px;bottom:10px;padding:4px 5px;font-size:10px;background:rgba(255,255,255,.75);color:#222;letter-spacing:.02em}.palette-label-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:16px}.palette-label-row h3{font-size:clamp(18px,2vw,27px);font-weight:600;letter-spacing:-.04em;margin:0}.palette-label-row span{font-size:10px;color:#888;text-align:right}.palette-refresh{border:0;background:none;padding:7px 0;color:#222;font:inherit;font-weight:600;cursor:pointer}.palette-refresh:hover{text-decoration:underline}
@media(max-width:750px){.lab-grid{grid-template-columns:1fr}.lab-panel{min-height:320px}.lab-heading{align-items:start;flex-direction:column}.lab-heading>p{max-width:none}.palette-swatches{height:170px}}@media(max-width:480px){.hero-rotate{font-size:18px}.rotating-window{min-width:10ch}.lab-panel{padding:21px}.palette-label-row{flex-direction:column;align-items:start}.palette-label-row span{text-align:left}.lab-panel-bottom{font-size:10px}}@media(prefers-reduced-motion:reduce){.rotating-word,.glossary-main.change{animation:none!important}.project-preview .preview-scene i,.palette-swatch{transition:none!important}}

/* Two-page edition */
.nav-links a[aria-current="page"] {color:#111;}
.cross-page-link {display:flex;justify-content:flex-end;padding-top:clamp(26px,5vw,70px);padding-bottom:clamp(20px,4vw,55px);}
.cross-page-link a {font-size:clamp(14px,1.4vw,19px);font-weight:650;border-bottom:1px solid currentColor;padding-bottom:8px;transition:opacity .25s ease,transform .35s var(--ease);}
.cross-page-link a:hover {opacity:.55;transform:translateX(4px);}
.about-page-intro {padding-top:clamp(125px,16vw,215px);padding-bottom:clamp(25px,4vw,65px);}
.about-page-intro p {font-size:11px;font-weight:700;letter-spacing:.12em;color:#777;margin:0 0 18px;}
.about-page-intro h1 {font-size:clamp(64px,11vw,160px);font-weight:750;letter-spacing:-.085em;line-height:.95;margin:0;}
#about {scroll-margin-top:90px;}
@media(max-width:650px){.about-page-intro {padding-top:125px;padding-bottom:20px;}.cross-page-link{justify-content:flex-start;}}

/* Compact hero navigation: project showcase + résumé on the second virtual page */
.hero-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:clamp(18px,3vw,38px)}
.hero-resume-link{font-size:12px;color:#202020;text-decoration:none;white-space:nowrap;border-bottom:1px solid #777;padding-bottom:4px;transition:opacity .25s,border-color .25s}
.hero-resume-link:hover{opacity:.65;border-color:#222}
#resume{scroll-margin-top:100px}
@media(max-width:750px){.hero-actions{justify-content:flex-start;gap:22px}}

/* V22 — compact highlighted navigation */
.topbar{background:rgba(255,255,255,.78);border-bottom:1px solid rgba(0,0,0,.045)}
.topbar-inner{min-height:82px}
.nav-links{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;padding:5px;border:1px solid rgba(0,0,0,.09);border-radius:999px;background:#f5f5f4;box-shadow:0 3px 18px rgba(0,0,0,.035)}
.nav-links>a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 17px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .28s ease,color .28s ease,opacity .28s ease}
.nav-links>a:hover{background:#e9e9e8;opacity:1}
.nav-links>a[aria-current="page"]{background:#191919;color:#fff}
.nav-links .languages{margin-left:5px;padding:0 10px 0 14px;min-height:29px;border-left:1px solid #d6d6d4;gap:6px}
.nav-links .lang-btn{font-family:Manrope,sans-serif;font-size:11px;padding:4px 2px}
@media(max-width:600px){.topbar-inner{min-height:70px;align-items:center;padding-block:10px;gap:10px}.logo{padding-top:0}.nav-links{gap:1px;padding:4px;max-width:none}.nav-links>a{font-size:11px;padding:0 10px;min-height:32px}.nav-links .languages{margin-left:3px;padding:0 6px 0 9px;gap:4px}.nav-links .lang-btn{font-size:10px}}
@media(max-width:370px){.nav-links>a{padding:0 7px}.nav-links .languages{padding-left:6px;padding-right:3px}}
@media(prefers-reduced-motion:reduce){.nav-links>a{transition:none}}

/* v45 — understated project facts on cover hover */
.featured-art{display:flex;align-items:center;justify-content:center}
.featured-facts{position:absolute;z-index:4;right:clamp(22px,5%,72px);top:50%;width:min(34%,340px);transform:translate(16px,-45%);opacity:0;visibility:hidden;transition:opacity .36s ease,transform .42s cubic-bezier(.2,.8,.2,1),visibility .36s;pointer-events:none;color:#222;text-align:left}
.featured-facts-label{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#666;margin-bottom:18px}
.featured-facts-title{font-size:clamp(19px,2.3vw,32px);line-height:1.12;letter-spacing:-.045em;font-weight:500;margin:0 0 20px}
.featured-facts-row{border-top:1px solid rgba(40,40,40,.2);padding:11px 0;display:grid;grid-template-columns:75px 1fr;gap:10px;font-size:12px;line-height:1.5}
.featured-facts-row span:first-child{color:#777}
.featured-facts-desc{font-size:13px;line-height:1.6;margin:14px 0 0;max-width:320px}
.featured-art .featured-number{transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .4s ease}
@media(prefers-reduced-motion:reduce){.featured-facts,.featured-art .featured-number{transition:none!important}}


/* Original style block 2 */

/* V6: Manrope, availability marker, expandable experience */
body,button {font-family:'Manrope',Arial,sans-serif;}
.hero-status {display:inline-flex;align-items:center;gap:10px;margin:22px 0 0;font-size:13px;font-weight:600;color:#262626;letter-spacing:0;}
.status-dot {width:9px;height:9px;border-radius:50%;background:#60b977;box-shadow:0 0 0 5px rgba(96,185,119,.13);flex:none;animation:status-pulse 2.8s ease-in-out infinite;}
@keyframes status-pulse {50%{box-shadow:0 0 0 9px rgba(96,185,119,0)}}
.experience-accordion {border-top:1px solid var(--line);}
.experience-accordion details {border-bottom:1px solid var(--line);}
.experience-accordion summary {list-style:none;display:grid;grid-template-columns:60px minmax(0,1fr) minmax(0,1fr) 24px;align-items:center;gap:24px;padding:29px 0;cursor:pointer;}
.experience-accordion summary::-webkit-details-marker {display:none;}
.experience-accordion .exp-number {font-size:13px;color:var(--muted);}
.experience-accordion .exp-title {font-size:clamp(22px,2.6vw,35px);font-weight:500;letter-spacing:-.04em;}
.experience-accordion .exp-hint {font-size:13px;color:var(--muted);}
.experience-accordion .exp-plus {font-size:23px;font-weight:400;transition:transform .3s ease;}
.experience-accordion details[open] .exp-plus {transform:rotate(45deg);}
.exp-content {padding:0 0 26px 84px;display:grid;gap:0;animation:exp-open .32s ease both;}
.exp-job {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:18px;padding:18px 0;border-top:1px solid #eee;}
.exp-job strong {font-size:15px;font-weight:600;}
.exp-job span {font-size:13px;color:var(--muted);line-height:1.6;}
@keyframes exp-open {from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.experience-accordion summary{grid-template-columns:35px minmax(0,1fr) 22px;gap:12px;}.experience-accordion .exp-hint{display:none}.exp-content{padding-left:47px}.exp-job{grid-template-columns:1fr;gap:4px}}
@media(prefers-reduced-motion:reduce){.status-dot{animation:none}.exp-content{animation:none}}


/* Original style block 3 */

/* V7: clean accordion without hand pointer or plus sign */
.experience-accordion .exp-trigger {
  display:grid;grid-template-columns:60px minmax(0,1fr);gap:24px;
  align-items:center;padding:29px 0;cursor:default;user-select:none;
}
.experience-accordion .exp-trigger:focus-visible {outline:2px solid #222;outline-offset:-3px;}
.experience-accordion .exp-panel {
  display:grid;grid-template-rows:0fr;opacity:0;
  transition:grid-template-rows .7s cubic-bezier(.22,1,.36,1), opacity .5s ease;
}
.experience-accordion .exp-content {
  min-height:0;overflow:hidden;padding:0 0 0 84px;
  animation:none;transition:padding-bottom .7s cubic-bezier(.22,1,.36,1);
}
.experience-accordion .exp-details.is-open .exp-panel {grid-template-rows:1fr;opacity:1;}
.experience-accordion .exp-details.is-open .exp-content {padding-bottom:26px;}
.experience-accordion .exp-job {opacity:0;transform:translateY(-9px);transition:opacity .45s ease,transform .65s cubic-bezier(.22,1,.36,1);}
.experience-accordion .exp-details.is-open .exp-job {opacity:1;transform:none;}
.experience-accordion .exp-details.is-open .exp-job:nth-child(2) {transition-delay:.05s;}
.experience-accordion .exp-details.is-open .exp-job:nth-child(3) {transition-delay:.1s;}
@media(max-width:700px){.experience-accordion .exp-trigger{grid-template-columns:35px minmax(0,1fr);gap:12px}.experience-accordion .exp-content{padding-left:47px}}
@media(prefers-reduced-motion:reduce){.experience-accordion .exp-panel,.experience-accordion .exp-content,.experience-accordion .exp-job{transition:none}}


/* Original style block 4 */

/* V9 — icon-only tools, no explanatory labels */
.tools-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:clamp(30px,5vw,70px)}
.tools-head .section-label{margin:0;align-self:start}
.tools-head h2{font-size:clamp(36px,5.5vw,82px);font-weight:600;letter-spacing:-.065em;line-height:1.05;margin:0;text-align:right}
.tools-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:clamp(7px,1.1vw,16px)}
.tool-tile{aspect-ratio:1;display:grid;place-items:center;border:1px solid #e8e8e8;background:#fafafa;border-radius:clamp(12px,1.5vw,22px);font-size:clamp(16px,2vw,29px);font-weight:700;letter-spacing:-.06em;cursor:default;transition:transform .5s cubic-bezier(.22,1,.36,1),background .4s,box-shadow .4s}
.tool-tile:hover{transform:translateY(-8px);background:#fff;box-shadow:0 16px 32px rgba(0,0,0,.07)}
.tool-tile svg{width:38%;height:38%}
@media(max-width:900px){.tools-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:550px){.tools-head{display:block}.tools-head h2{text-align:left;margin-top:25px}.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tool-tile{font-size:22px}}
@media(prefers-reduced-motion:reduce){.tool-tile{transition:none}}


/* Original style block 5 */
/* v10: clean section composition without overlines */
.tools-head { display:block; }
.tools-head h2 { margin-top:0; }
.about-resume { margin-top:clamp(38px,5vw,72px); }


/* Original style block 6 */

/* v11 — compact, restrained software icons */
.tools-head { margin-bottom: 26px; }
.tools-head h2 { text-align:left; }
.tools-grid { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.tool-tile { width:54px; height:54px; flex:0 0 54px; aspect-ratio:auto; border-radius:13px; font-size:17px; background:#fafafa; box-shadow:none; }
.tool-tile svg { width:25px; height:25px; }
.tool-tile:hover { transform:translateY(-3px); box-shadow:0 6px 16px rgba(0,0,0,.06); }
@media(max-width:550px) { .tools-grid {gap:8px;} .tool-tile {width:46px;height:46px;flex-basis:46px;border-radius:11px;font-size:15px;} .tool-tile svg {width:23px;height:23px;} }


/* Original style block 7 */

/* V12: small toolkit icons and concise design competencies, existing composition preserved */
#skills .tools-head { margin-bottom:clamp(24px,3vw,38px); }
#skills .skills-categories { max-width:980px; display:flex; flex-direction:column; gap:clamp(27px,4vw,42px); }
#skills .skills-category h3 { font-size:clamp(14px,1.15vw,17px); font-weight:600; letter-spacing:-.025em; margin:0 0 16px; }
#skills .tools-grid { display:flex; flex-wrap:wrap; gap:9px; }
#skills .tool-tile { width:49px;height:49px;flex:0 0 49px;border-radius:11px;font-size:15px; }
#skills .tool-tile svg {width:24px;height:24px;}
#skills .design-tags {display:flex;flex-wrap:wrap;gap:9px;}
#skills .design-tag {display:inline-flex;align-items:center;min-height:39px;padding:9px 16px;border:1px solid #e5e5e5;border-radius:100px;font-size:13px;line-height:1.25;letter-spacing:-.015em;white-space:nowrap;transition:border-color .3s ease,transform .3s ease;}
#skills .design-tag:hover {border-color:#aaa;transform:translateY(-2px);}
@media(max-width:550px){#skills .tool-tile{width:43px;height:43px;flex-basis:43px;font-size:13px;}#skills .design-tag{font-size:12px;padding:8px 12px;min-height:35px;}#skills .skills-categories{gap:28px;}}
@media(prefers-reduced-motion:reduce){#skills .design-tag{transition:none;}}


/* Original style block 8 */

/* Single-file, two-view portfolio */
.site-page[hidden]{display:none!important}
.site-page{animation:pageEnter .45s cubic-bezier(.22,1,.36,1) both}
@keyframes pageEnter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.site-page{animation:none}}


/* Original style block 9 */

/* v17 — compact editorial footer, responsive OnePlus-inspired dot matrix */
.contact-v17{background:#111;color:#f7f7f7;padding:0;overflow:hidden;border:0}
.contact-v17 .footer-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #353535;padding:22px 0;font-size:12px}
.contact-v17 .availability{display:inline-flex;align-items:center;gap:10px;color:#dedede}
.contact-v17 .footer-location{color:#8d8d8d;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.contact-v17 #moscow-clock{color:#ddd;margin-left:10px}
.contact-v17 .footer-main{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:48px 0 46px}
.contact-v17 .footer-eyebrow{font-size:11px;letter-spacing:.12em;color:#999;margin:0 0 15px}
.contact-v17 .footer-call h2{font-size:clamp(34px,5.2vw,68px);font-weight:600;line-height:1.12;letter-spacing:-.065em;margin:0 0 23px}
.contact-v17 .footer-email{display:inline-flex;align-items:center;gap:20px;font-size:clamp(14px,1.5vw,18px);border-bottom:1px solid #666;padding-bottom:7px;transition:border-color .3s}
.contact-v17 .footer-email:hover{border-color:#fff}
.contact-v17 .footer-email span{transition:transform .3s}.contact-v17 .footer-email:hover span{transform:translate(3px,-3px)}
.contact-v17 .dot-feature{display:flex;flex-direction:column;align-items:center;gap:9px;flex:0 0 264px}
.contact-v17 #footer-dots{width:264px;height:116px;max-width:100%;display:block;touch-action:pan-y}.contact-v17 .dot-link{display:block;max-width:100%;border-radius:10px;outline-offset:8px;transition:transform .45s cubic-bezier(.22,1,.36,1)}.contact-v17 .dot-link:hover,.contact-v17 .dot-link:focus-visible{transform:translate(4px,-4px)}.contact-v17 .dot-link:focus-visible{outline:2px solid #fff}

.contact-v17 .footer-bottom{border-top:1px solid #353535;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 0 24px;font-size:12px}
.contact-v17 .footer-social,.contact-v17 .footer-fine{display:flex;align-items:center;flex-wrap:wrap;gap:22px}
.contact-v17 .footer-fine{color:#888}.contact-v17 .footer-social a:hover,.contact-v17 .footer-up:hover{color:#fff}
@media(max-width:700px){.contact-v17 .footer-main{padding:35px 0 34px;gap:10px}.contact-v17 .dot-feature{flex-basis:175px}.contact-v17 #footer-dots{width:175px;height:auto}.contact-v17 .footer-call h2{font-size:clamp(29px,7vw,44px)}.contact-v17 .footer-bottom{align-items:flex-start;flex-direction:column;gap:13px}.contact-v17 .footer-topline{font-size:10px}.contact-v17 .footer-location{white-space:nowrap}}
@media(max-width:440px){.contact-v17 .dot-feature{flex-basis:105px;min-width:85px}.contact-v17 #footer-dots{width:105px;height:auto}.contact-v17 .footer-main{padding:34px 0;gap:4px}.contact-v17 .footer-location{font-size:9px}.contact-v17 .footer-call h2{font-size:clamp(26px,7vw,34px)}}


/* Original style block 10 */

/* V21 — persistent click-to-toggle accordion */
.experience-accordion .exp-trigger {grid-template-columns:60px minmax(0,1fr) 28px; transition:color .25s ease;}
.experience-accordion .exp-chevron {justify-self:end;font-size:23px;font-weight:400;line-height:1;color:#888;transition:transform .55s cubic-bezier(.22,1,.36,1),color .3s ease;}
.experience-accordion .exp-details.is-open .exp-chevron {transform:rotate(90deg);color:#222;}
.experience-accordion .exp-trigger:hover .exp-chevron {color:#222;}
@media(max-width:700px){.experience-accordion .exp-trigger{grid-template-columns:35px minmax(0,1fr) 24px;gap:12px}}
@media(prefers-reduced-motion:reduce){.experience-accordion .exp-chevron{transition:none}}


/* Original style block 11 */

/* Personal details: compact continuation of the About page */
.personal-details{padding-top:clamp(35px,5vw,75px);padding-bottom:clamp(65px,8vw,110px)}
.personal-details-grid{border-top:1px solid #e8e8e8;padding-top:30px;display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:clamp(25px,5vw,85px)}
.personal-details-col h3{font-size:14px;font-weight:650;letter-spacing:-.025em;margin:0 0 23px}
.personal-details-col p,.personal-language{font-size:14px;line-height:1.65;color:#696969;margin:0}
.personal-language{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px 18px;margin-bottom:10px}
.personal-language span:last-child{color:#9a9a9a}
.personal-fact{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:38px;color:#666;font-size:14px;line-height:1.5}
.personal-fact button{border:1px solid #dedede;background:transparent;width:34px;height:34px;flex:0 0 34px;border-radius:50%;font:inherit;font-size:18px;cursor:pointer;transition:background .25s,color .25s,transform .25s}
.personal-fact button:hover{background:#191919;color:white;transform:rotate(45deg)}
.fact-enter{animation:fact-in .4s ease both}@keyframes fact-in{from{opacity:.1;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.personal-details-grid{grid-template-columns:1fr 1fr;gap:35px 25px}.personal-details-col:last-child{grid-column:1/-1}.personal-details-col h3{margin-bottom:14px}}
@media(max-width:420px){.personal-details-grid{grid-template-columns:1fr}.personal-details-col:last-child{grid-column:auto}.personal-details-col{border-bottom:1px solid #eee;padding-bottom:18px}}
@media(prefers-reduced-motion:reduce){.fact-enter{animation:none}.personal-fact button{transition:none}}


/* Original style block 12 */

/* v24 — restrained dotted half-globe inside the footer */
.contact-v17 .footer-main{padding-bottom:18px}
.contact-v17 .globe-panel{height:clamp(145px,24vw,265px);position:relative;overflow:hidden;cursor:crosshair;margin-top:0;isolation:isolate}
.contact-v17 #footer-globe{display:block;position:absolute;inset:0;width:100%;height:100%}
.contact-v17 .globe-caption{position:absolute;top:15px;left:0;z-index:1;font-size:10px;letter-spacing:.095em;color:#777;pointer-events:none}
.contact-v17 .globe-caption-sep{padding:0 11px;color:#555}
.contact-v17 .footer-bottom{position:relative;z-index:2;background:#111}
@media(max-width:700px){.contact-v17 .globe-panel{height:170px}.contact-v17 .globe-caption{font-size:9px}.contact-v17 .footer-main{padding-bottom:10px}}
@media(max-width:440px){.contact-v17 .globe-panel{height:145px}.contact-v17 .globe-caption{font-size:8px}}


/* Original style block 13 */

/* v27 — compact editorial footer with text-only contact CTA */
.contact-v17 .footer-main-v26{display:block;padding:38px 0 34px}
.contact-v17 .footer-call{width:100%}
.contact-v17 .footer-headline{display:flex;flex-direction:column;align-items:flex-start;gap:3px;font-size:clamp(38px,5vw,66px);line-height:1.08;letter-spacing:-.06em;font-weight:600;margin:0 0 26px}
.contact-v17 .footer-headline-primary{color:#f7f7f7;display:block}
.contact-v17 .footer-headline-secondary{color:#969696;display:inline-block;text-decoration:none;transition:color .35s ease}
.contact-v17 .footer-headline-secondary:hover,.contact-v17 .footer-headline-secondary:focus-visible{color:#fff}
.contact-v17 .footer-contact-row{display:flex;align-items:end;justify-content:space-between;gap:24px;border-top:1px solid #393939;padding-top:19px}
.contact-v17 .footer-email{font-size:clamp(13px,1.35vw,17px);font-weight:450;border:0;padding:0;color:#bcbcbc;overflow-wrap:anywhere}
.contact-v17 .footer-text-cta{position:relative;display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:clamp(14px,1.4vw,18px);font-weight:550;letter-spacing:-.025em;padding:2px 0 9px;white-space:nowrap}
.contact-v17 .footer-text-cta:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background:#777;transform:scaleX(.28);transform-origin:left center;transition:transform .55s cubic-bezier(.22,1,.36,1),background .3s}
.contact-v17 .footer-text-cta:hover:after,.contact-v17 .footer-text-cta:focus-visible:after{transform:scaleX(1);background:#fff}
.contact-v17 .footer-text-cta .cta-arrow{display:inline-block;transition:transform .4s cubic-bezier(.22,1,.36,1)}
.contact-v17 .footer-text-cta:hover .cta-arrow,.contact-v17 .footer-text-cta:focus-visible .cta-arrow{transform:translate(3px,-3px)}
.contact-v17 .footer-text-cta:focus-visible{outline:2px solid #fff;outline-offset:6px}
@media(max-width:700px){.contact-v17 .footer-main-v26{padding:31px 0 30px}.contact-v17 .footer-headline{font-size:clamp(34px,8vw,48px);margin-bottom:23px}.contact-v17 .footer-contact-row{align-items:flex-start;flex-direction:column;gap:15px}.contact-v17 .footer-text-cta{font-size:16px}}
@media(prefers-reduced-motion:reduce){.contact-v17 .footer-headline-secondary,.contact-v17 .footer-text-cta:after,.contact-v17 .footer-text-cta .cta-arrow{transition:none!important}}


/* Original style block 14 */

/* v29 — compact footer without glow or duplicate CTA */
.contact-v17{position:relative}


.contact-v17>.container{position:relative;z-index:1}
.contact-v17 .footer-topline{border-bottom:0;padding:20px 0 8px}
.contact-v17 .footer-main-v26{padding:22px 0 27px!important}
.contact-v17 .footer-headline{display:block!important;font-size:clamp(32px,4.3vw,62px)!important;line-height:1.16!important;letter-spacing:-.055em!important;margin:0 0 25px!important;max-width:none}
.contact-v17 .footer-headline-primary{display:inline!important;margin-right:.17em}
.contact-v17 .footer-headline-secondary{display:inline!important;color:#969696;background:linear-gradient(90deg,#fff,#fff) no-repeat left bottom;background-size:0 1px;transition:color .45s ease,background-size .6s cubic-bezier(.22,1,.36,1)}
.contact-v17 .footer-headline-secondary:hover,.contact-v17 .footer-headline-secondary:focus-visible{color:#fff;background-size:100% 1px}
.contact-v17 .footer-contact-row{border:0!important;padding:0!important;align-items:center}
.contact-v17 .footer-text-cta{font-size:clamp(14px,1.25vw,17px);padding-bottom:6px}
.contact-v17 .footer-text-cta:after{transform:scaleX(1);background:#555}
.contact-v17 .footer-text-cta:hover:after{background:#fff}
.contact-v17 .footer-bottom{border-top:1px solid #353535;padding:17px 0 19px}
@media(max-width:700px){.contact-v17 .footer-topline{padding:17px 0 8px}.contact-v17 .footer-main-v26{padding:18px 0 23px!important}.contact-v17 .footer-headline{font-size:clamp(32px,7.5vw,48px)!important;margin-bottom:22px!important}.contact-v17 .footer-contact-row{gap:16px}.contact-v17 .footer-bottom{padding:16px 0 20px}}
@media(prefers-reduced-motion:reduce){.contact-v17::before,.contact-v17 .footer-headline-secondary{transition:none!important}}


/* Original style block 15 */

/* ============================================================
   СТРАНИЦА «ОБО МНЕ» — НАСТРОЙКИ ОФОРМЛЕНИЯ
   Меняй значения font-size, max-width, color и margin ниже.
   ============================================================ */

.about-new-intro {
  padding-top: clamp(140px, 14vw, 190px);
  padding-bottom: clamp(72px, 9vw, 125px);
}

/* Ширина текстовой колонки */
.about-new-copy {
  width: 100%;
  max-width: 820px;
}

/* Заголовок с именем */
.about-new-copy h1 {
  max-width: 800px;
  margin: 0 0 38px;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
}

/* Первый, вводный абзац */
.about-new-lead {
  max-width: 760px;
  margin: 0 0 30px;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.03em;
  color: #202020;
}

/* Второй и третий абзацы */
.about-new-secondary {
  max-width: 730px;
  margin: 0 0 22px;
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.018em;
  color: #555;
}

.about-new-secondary:last-child {
  margin-bottom: 0;
}

/* Остальные секции страницы */
.about-new-experience {
  padding-bottom: clamp(70px, 8vw, 115px);
}

.about-new-tools {
  padding-bottom: clamp(75px, 9vw, 130px);
}

.about-new-tools h2 {
  margin: 0 0 30px;
  font-size: clamp(32px, 4vw, 55px);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.tool-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  max-width: 1080px;
  border-top: 1px solid #e8e8e8;
}

.tool-names span {
  display: inline-block;
  padding: 17px 0;
  font-size: clamp(16px, 1.65vw, 23px);
  letter-spacing: -0.035em;
  color: #555;
  transition: color .3s, transform .4s var(--ease);
}

.tool-names span:hover {
  color: #111;
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .about-new-intro {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .about-new-copy h1 {
    margin-bottom: 28px;
    font-size: clamp(36px, 9vw, 48px);
  }

  .about-new-lead {
    margin-bottom: 24px;
    font-size: 21px;
  }

  .about-new-secondary {
    font-size: 17px;
    line-height: 1.65;
  }

  .tool-names {
    gap: 0 18px;
  }

  .tool-names span {
    padding: 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-names span {
    transition: none;
  }
}


/* Original style block 16 */

/* ============================================================
   v34 — ИНСТРУМЕНТЫ И ЛИЧНОЕ
   Здесь можно менять размеры, интервалы и цвета этих разделов.
   ============================================================ */
#page-about .about-new-tools { padding-bottom: 24px; }
#page-about .about-new-tools h2 { margin-bottom: 24px; }
#page-about .tool-names {
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: clamp(10px, 1.3vw, 22px); max-width: none;
  width: 100%; padding: 17px 0 14px;
  overflow-x: auto; scrollbar-width: thin; scrollbar-color: #d0d0d0 transparent;
  border-top: 1px solid #e5e5e5;
}
#page-about .tool-names .tool-item {
  appearance: none; border: 0; background: transparent;
  padding: 6px 0 9px; margin: 0; flex: 0 0 auto;
  color: #666; font: inherit; font-size: clamp(12px, 1.12vw, 18px);
  letter-spacing: -.035em; line-height: 1.35; white-space: nowrap;
  cursor: pointer; position: relative;
  transition: color .25s ease, transform .25s ease;
}
#page-about .tool-names .tool-item::after {
  content: ''; position: absolute; bottom: 3px; left: 0; right: 0;
  height: 1px; background: currentColor; transform: scaleX(0);
  transform-origin: left; transition: transform .3s ease;
}
#page-about .tool-names .tool-item:hover,
#page-about .tool-names .tool-item:focus-visible,
#page-about .tool-names .tool-item[aria-pressed="true"] { color: #111; }
#page-about .tool-names .tool-item:hover::after,
#page-about .tool-names .tool-item:focus-visible::after,
#page-about .tool-names .tool-item[aria-pressed="true"]::after { transform: scaleX(1); }
#page-about .tool-names .tool-item:hover { transform: translateY(-2px); }
#page-about .tool-names .tool-item:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
/* Последний раздел визуально продолжает список инструментов */
#page-about .personal-details { padding-top: 0; padding-bottom: clamp(50px, 6vw, 90px); }
#page-about .personal-details-grid {
  grid-template-columns: 1.2fr 1fr 1.25fr;
  gap: clamp(20px, 3vw, 48px); padding-top: 24px;
}
#page-about .personal-details-col h3 { margin-bottom: 12px; }
#page-about .personal-details-col p,
#page-about .personal-language { color: #666; }
@media (max-width: 900px) {
  #page-about .tool-names .tool-item { font-size: 16px; }
  #page-about .personal-details-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  #page-about .personal-details-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  #page-about .personal-details-grid { grid-template-columns: 1fr; gap: 25px; }
  #page-about .personal-details-col:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  #page-about .tool-names .tool-item,
  #page-about .tool-names .tool-item::after { transition: none; }
}


/* Original style block 17 */

/* =============================================================
   СТРАНИЦА «ОБО МНЕ» — QUIET PRECISION / v38
   Все секции используют общую .container (те же поля, что главная).
   Здесь можно менять размеры шрифтов, отступы и цвета.
   ============================================================= */

/* Вступление: исходный текст v36, свободный ритм строк.
   Размер: font-size; расстояние строк: line-height;
   максимальная длина строки: max-width; отступы: padding. */
#page-about .about-v35-intro {
  padding-top: clamp(112px, 11vw, 152px);
  padding-bottom: clamp(96px, 9vw, 124px);
}
#page-about .about-v35-content { max-width: none; width: 100%; }
#page-about .about-v35-content h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(23px, 2.15vw, 31px);
  line-height: 1.62;
  letter-spacing: -0.022em;
  font-weight: 400;
  color: #171717;
  text-align: left;
  text-wrap: pretty;
}

/* Единый ритм разделов: одинаковые поля и расстояния */
#page-about .about-v35-section {
  padding-top: 0;
  padding-bottom: clamp(72px, 7.5vw, 104px);
}
#page-about .about-v35-label {
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.055em;
  color: #777;
}
#page-about .about-v35-entries { border-top: 1px solid #e7e7e7; }
#page-about .about-entry {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid #e7e7e7;
}
#page-about .about-entry strong {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
#page-about .about-entry span {
  font-size: 15px;
  line-height: 1.5;
  color: #777;
  text-align: right;
}

/* Инструменты: аккуратные нейтральные теги */
#page-about .about-v35-tools { padding-bottom: clamp(75px, 9vw, 120px); }
#page-about .about-v35-tools .tool-names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
}
#page-about .about-v35-tools .tool-item {
  padding: 11px 18px;
  border: 1px solid #dedede;
  border-radius: 100px;
  background: transparent;
  color: #555;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
#page-about .about-v35-tools .tool-item::after { display: none; }
#page-about .about-v35-tools .tool-item:hover,
#page-about .about-v35-tools .tool-item[aria-pressed="true"] {
  background: #171717;
  border-color: #171717;
  color: #fff;
}

@media (max-width: 650px) {
  #page-about .about-v35-intro {
    padding-top: 110px;
    padding-bottom: 80px;
  }
  #page-about .about-v35-content h1 {
    font-size: clamp(20px, 5.1vw, 26px);
    line-height: 1.55;
    letter-spacing: -0.025em;
  }
  #page-about .about-v35-section { padding-bottom: 65px; }
  #page-about .about-entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 20px 0;
  }
  #page-about .about-entry span { text-align: left; font-size: 14px; }
  #page-about .about-v35-tools .tool-item { padding: 10px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #page-about .about-v35-tools .tool-item { transition: none; }
}


/* Original style block 18 */

/* ============================================================
   v39 — СТРАНИЦА ПРОЕКТА / QUIET PRECISION
   Одинаковая сетка .container с главной и страницей «Обо мне».
   Меняй типографику и отступы только в этом блоке.
   ============================================================ */
.project-page-inner { padding-top:clamp(115px,12vw,172px); padding-bottom:clamp(75px,9vw,130px); }
.project-back { display:inline-flex;align-items:center;gap:.35em;font-size:13px;color:#777;transition:color .25s,transform .25s; }
.project-back:hover { color:#111;transform:translateX(-4px); }
.project-header { padding:clamp(58px,7vw,105px) 0 clamp(35px,4.5vw,65px); }
.project-header-top { display:flex;justify-content:space-between;gap:20px;color:#888;font-size:11px;letter-spacing:.09em;text-transform:uppercase; }
.project-header h1 { font-size:clamp(56px,9vw,140px);line-height:1.02;letter-spacing:-.078em;font-weight:500;margin:clamp(23px,3vw,45px) 0 clamp(27px,3vw,42px);overflow-wrap:anywhere; }
.project-meta { display:flex;gap:32px;color:#666;font-size:13px; }
.project-media { background:#ededed;position:relative;display:grid;place-items:center;overflow:hidden; }
.project-hero-media { aspect-ratio:16/9;min-height:300px; }
.project-media-number { font-size:clamp(95px,22vw,320px);line-height:1;font-weight:600;letter-spacing:-.12em;color:rgba(0,0,0,.11);user-select:none; }
.project-media-label { position:absolute;bottom:20px;left:24px;color:#777;font-size:10px;letter-spacing:.12em; }
.project-media img,.project-media video { position:absolute;inset:0;width:100%;height:100%;object-fit:cover; }
.project-description { display:grid;grid-template-columns:1fr 2fr;gap:40px;padding:clamp(70px,9vw,140px) 0; }
.project-description-label,.project-gallery-heading { color:#777;font-size:11px;letter-spacing:.1em; }
.project-description p { margin:0;max-width:850px;font-size:clamp(23px,3vw,42px);line-height:1.45;letter-spacing:-.04em;font-weight:400; }
.project-tool-chip { display:inline-flex;align-items:center;border:1px solid #dedede;border-radius:999px;padding:12px 18px;font-size:13px;color:#666;line-height:1.2; }
.project-tools { margin-bottom: clamp(32px, 5vw, 72px); }
.project-tools ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.project-gallery-heading { display:flex;justify-content:space-between;padding:0 0 20px;border-bottom:1px solid #e8e8e8;margin-bottom:22px; }
.project-gallery-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.4vw,22px); }
.project-gallery-item { aspect-ratio:4/5; }
.project-gallery-item.wide { grid-column:1/-1;aspect-ratio:16/9; }
.project-gallery-item .project-media-number { font-size:clamp(80px,12vw,180px); }
.project-gallery-item:nth-child(2) { background:#e4e4e4; }
.project-gallery-item:nth-child(3) { background:#dedede; }

/* v43 — редакционная композиция страницы проекта, без медиафайлов */
.project-film-section { padding-top:clamp(56px,7vw,105px); }
.project-film-heading { display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e8e8e8;padding-bottom:20px;margin-bottom:22px;color:#777;font-size:11px;letter-spacing:.1em; }
.project-film-placeholder { position:relative;display:grid;place-items:center;aspect-ratio:16/9;min-height:220px;background:#e9e9e9;overflow:hidden; }
.project-film-play { width:clamp(65px,8vw,108px);height:clamp(65px,8vw,108px);border:1px solid rgba(0,0,0,.24);border-radius:50%;display:grid;place-items:center;color:#555; }
.project-film-play span { font-size:clamp(18px,2.3vw,30px);padding-left:5px; }
.project-film-note { position:absolute;left:24px;bottom:20px;font-size:10px;letter-spacing:.12em;color:#777; }
@media(max-width:650px) { .project-film-note {left:12px;bottom:12px;font-size:8px;} .project-film-section {padding-top:54px;} }
.project-next { display:block;margin-top:clamp(90px,12vw,170px);border-top:1px solid #dedede;padding-top:28px; }
.project-next-eyebrow { font-size:11px;color:#888;letter-spacing:.1em; }
.project-next-row { display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px; }
.project-next-row strong { font-size:clamp(34px,5vw,76px);letter-spacing:-.06em;font-weight:500; }
.project-next-row>span { font-size:clamp(32px,4vw,54px);transition:transform .3s; }
.project-next:hover .project-next-row>span { transform:translate(5px,-5px); }
.featured { cursor:pointer; }
.featured:hover .featured-arrow { transform:translate(4px,-4px); }
.featured-arrow { transition:transform .3s; }
@media(max-width:650px) {
 .project-page-inner { padding-top:112px; }
 .project-header { padding:54px 0 32px; }
 .project-header h1 { font-size:clamp(48px,12vw,76px); }
 .project-hero-media { aspect-ratio:4/5;min-height:0; }
 .project-description { grid-template-columns:1fr;gap:25px;padding:70px 0; }
 .project-description p { font-size:clamp(22px,5.5vw,30px); }
 .project-gallery-grid { gap:8px; }
 .project-media-label { font-size:8px;bottom:12px;left:12px; }
 .project-gallery-item { aspect-ratio:3/4; }
 .project-gallery-item.wide { aspect-ratio:4/3; }
}
@media(prefers-reduced-motion:reduce) {
 .project-back,.project-next-row>span,.featured-arrow { transition:none; }
}

/* NIITM: three cinematic 16:9 stills instead of square crops. */
.project-gallery-grid--film { grid-template-columns: minmax(0,1fr); gap: clamp(30px,4vw,60px); }
.project-gallery-grid--film .project-gallery-item,
.project-gallery-grid--film .project-gallery-item.wide { grid-column:1/-1; aspect-ratio:auto; display:block; background:transparent; overflow:hidden; }
.project-gallery-grid--film .project-gallery-item > img { position:relative; inset:auto; display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; transition:transform .7s cubic-bezier(.2,.65,.2,1); }
.project-gallery-grid--film .project-gallery-item:hover > img { transform:scale(1.025); }
.project-gallery-grid--film .project-gallery-caption { position:relative; z-index:1; display:flex; justify-content:space-between; gap:16px; padding:12px 0 0; background:white; color:#888; font-size:11px; letter-spacing:0; }
@media(prefers-reduced-motion:reduce) { .project-gallery-grid--film .project-gallery-item > img { transition:none; } }

.telegram-case {
  margin-block: clamp(48px, 8vw, 112px);
}
.telegram-case h2 {
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -.05em;
  line-height: 1.05;
  margin: 0;
}
.telegram-case p { margin: 14px 0 24px; }
.stand-render { margin: 0; }
.stand-render + .stand-render { margin-top: 32px; }
.stand-render img { display: block; width: 100%; height: auto; }
.stand-render figcaption { margin-top: 12px; }
.website-case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.website-case-links a {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.telegram-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.telegram-case-post {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  min-height: 200px;
  background: #f2f4f5;
  color: #171717;
  text-decoration: none;
}
.telegram-case-post:hover,
.telegram-case-post:focus-visible { background: #e5edf2; }
.telegram-case-post h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
}
.telegram-case-post > span:last-child {
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.telegram-case-channel {
  display: inline-block;
  margin-top: 24px;
  text-decoration: underline;
  text-underline-offset: .25em;
}

/* NIITM: edge-to-edge artwork in the existing showcase. */
.featured-art.project-preview-1,.thumb-art.project-preview-1{background:#4d6eaa!important}
.featured-art.project-preview-1::before,.thumb-art.project-preview-1::before{content:"";position:absolute;inset:0;display:block;background:url("../assets/niitm-film/cover.png") center/cover no-repeat;z-index:0;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.featured:hover .featured-art.project-preview-1::before,.thumb:hover .thumb-art.project-preview-1::before{transform:scale(1.025)}
.featured-art.project-preview-1 .preview-scene,.thumb-art.project-preview-1 .preview-scene,.featured-art.project-preview-1 .featured-number,.featured-art.project-preview-1 .featured-watermark,.thumb-art.project-preview-1 .thumb-number{display:none!important}
@media(prefers-reduced-motion:reduce){.featured-art.project-preview-1::before,.thumb-art.project-preview-1::before{transition:none}}

/* Homepage covers with project details: soft dark overlay + white project details on hover. */
.featured-art:is(.project-preview-1, .project-preview-2, .project-preview-3, .project-preview-4)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(7, 15, 32, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
@media (min-width: 751px) and (hover: hover) and (pointer: fine) {
  .featured:is(:hover, :focus-visible) .featured-art::after {
    opacity: 1;
  }
  .featured:is(:hover, :focus-visible) .featured-facts {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
  }
  .featured-facts {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .12);
  }
  .featured-facts-label,
  .featured-facts-row span:first-child {
    color: rgba(255, 255, 255, .78);
  }
  .featured-facts-row {
    border-top-color: rgba(255, 255, 255, .35);
  }
}

@media (max-width: 750px), (hover: none), (pointer: coarse) {
  .featured-facts {
    position: static;
    width: auto;
    padding: 16px 0 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .featured-facts-label { margin-bottom: 8px; }
  .featured-facts-title { margin-bottom: 10px; }
  .featured-facts-row { padding: 6px 0; }
  .featured-facts-desc { max-width: none; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-art:is(.project-preview-1, .project-preview-2, .project-preview-3, .project-preview-4)::after { transition: none; }
}
/* Плавное переключение проектов */

.featured-art {
  transition:
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-caption {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.featured.is-switching .featured-art {
  opacity: 0;
  transform: scale(0.985);
}

.featured.is-switching .featured-caption {
  opacity: 0;
  transform: translateY(8px);
}
/* Убираем подпись под большой обложкой */
.featured-caption {
  display: none;
}
/* Компактное расположение карусели */
.showcase {
  gap: 12px;
}
/* Компактные миниатюры проектов */

.thumb-art {
  height: 110px;
  min-height: 0;
  aspect-ratio: auto;
}

.thumbnails {
  gap: 12px;
}
/* Большая обложка */
.featured-art {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  min-height: 0;
  max-height: none;
}

/* Миниатюры проектов */
.thumb-art {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  min-height: 0;
}
/* Большая обложка */
.featured-art {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  min-height: 0;
  max-height: none;
}

/* Миниатюры проектов */
.thumb-art {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  min-height: 0;
}

/* Обложка интерактивной игры в карусели */
.featured-art.project-preview-2,
.thumb-art.project-preview-2 {
  background: #887251 !important;
}
.featured-art:is(.project-preview-2, .project-preview-3, .project-preview-4)::before,
.thumb-art:is(.project-preview-2, .project-preview-3, .project-preview-4)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--project-cover, url("../assets/interactive-game-cover.jpg")) center / cover no-repeat;
  z-index: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .featured-art:is(.project-preview-2, .project-preview-3, .project-preview-4)::before,
  .thumb-art:is(.project-preview-2, .project-preview-3, .project-preview-4)::before {
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  }
  .featured:hover .featured-art:is(.project-preview-2, .project-preview-3, .project-preview-4)::before,
  .thumb:hover .thumb-art:is(.project-preview-2, .project-preview-3, .project-preview-4)::before {
    transform: scale(1.025);
  }
}
.project-preview-2 .preview-scene,
.project-preview-2 .featured-number,
.project-preview-2 .featured-watermark,
.project-preview-2 .thumb-number {
  display: none;
}

.featured-art.project-preview-4,
.thumb-art.project-preview-4 {
  --project-cover: url("../assets/Mockup_1.png");
  background: #820b13 !important;
}
.project-preview-4 .preview-scene,
.project-preview-4 .featured-number,
.project-preview-4 .featured-watermark,
.project-preview-4 .thumb-number {
  display: none;
}

.featured-art.project-preview-3,
.thumb-art.project-preview-3 {
  --project-cover: url("../assets/robot/full.png");
  background: #292929 !important;
}
.project-preview-3 .preview-scene,
.project-preview-3 .featured-number,
.project-preview-3 .featured-watermark,
.project-preview-3 .thumb-number {
  display: none;
}
.project-hero-media.project-hero-media--robot {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.project-gallery-grid--robot .project-gallery-item {
  display: block;
  aspect-ratio: auto;
  background: transparent;
}
.project-gallery-grid--robot .project-gallery-item img {
  position: static;
  display: block;
  height: auto;
}
.project-gallery-grid--robot .project-gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: #666;
  font-size: 12px;
}
@media (max-width: 600px) {
  .project-gallery-grid--robot { grid-template-columns: minmax(0, 1fr); }
}

.arrow-icon {
  --arrow-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V3m-6 6 6-6 6 6'/%3E%3C/svg%3E");
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -.12em;
  background-color: currentColor;
  -webkit-mask: var(--arrow-image) center / contain no-repeat;
  mask: var(--arrow-image) center / contain no-repeat;
}
.arrow-icon--down { transform: rotate(180deg); }
.arrow-icon--left { transform: rotate(-90deg); }
.arrow-icon--diagonal {
  --arrow-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 19 5m-10 0h10v10'/%3E%3C/svg%3E");
}
.back-to-top { display: grid; place-items: center; }
