:root {
  color-scheme: dark;
  --ink: #f6f4f8;
  --muted: #b9b5c2;
  --base: #0d0d10;
  --line: #2c2b31;
  --lavender: #d1bcff;
  --font: "Golos Text", Arial, sans-serif;
  font: 100%/1.5 var(--font);
  background: var(--base);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body.modal-open { overflow: hidden; }
.frame { width: min(100% - clamp(44px, 8vw, 144px), 1536px); margin-inline: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #c8b0ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr, .symbol-store, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; padding: 10px; background: #fff; color: #111; z-index: 99; }
.icon { display: inline-block; flex: none; width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.masthead { border-bottom: 1px solid #252429; }
.mast-inner { height: 77px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: 146px; height: auto; display: block; }
.mast-divider { width: 1px; height: 23px; background: #38363e; }
.mast-edition { color: #b2aeb9; font-size: .91rem; }
.mast-inner nav { display: flex; align-items: center; margin-left: auto; gap: 30px; }
.mast-inner nav a, .mast-inner nav button, .foot button { padding: 6px 0; background: transparent; border: 0; color: #cfccd4; text-decoration: none; font-size: .9rem; }
.mast-inner nav a:hover, .mast-inner nav button:hover, .foot button:hover, .back:hover { color: var(--lavender); }
.top-contact { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 39px; margin-left: 9px; padding: 7px 15px; color: var(--ink); background: #1d1c22; border: 1px solid #39363e; border-radius: 9px; font-size: .86rem; font-weight: 500; }
.top-contact .icon { width: 16px; height: 16px; }
.top-contact:hover { border-color: #8d799f; background: #28222f; }
.hero { isolation: isolate; position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(370px, 34vw, 505px); margin-top: 24px; border: 1px solid #302838; border-radius: 19px; background: #07060d; }
.hero-stone, .hero-mask { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-stone { object-fit: contain; object-position: right center; width: 83%; left: auto; }
.hero-mask { background: linear-gradient(90deg,#09070e 0%,#09070efc 27%,#09070ebd 39%,#08050c26 58%,transparent 75%); }
.hero:after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #ffffff03; border-radius: inherit; pointer-events: none; }
.hero-content { padding: clamp(36px,3.9vw,60px) clamp(32px,4.2vw,69px); width: min(66%, 830px); }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0; color: #c2adf0; font-size: .76rem; font-weight: 550; letter-spacing: .13em; text-transform: uppercase; line-height: 1.4; }
.hero-kicker .icon { width: 23px; height: 17px; }
.hero h1 { font-size: clamp(3.65rem,5.35vw,5.8rem); font-weight: 570; line-height: .99; letter-spacing: -.074em; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: #d4c0f4; }
.hero-copy { color: #c7c1cd; font-size: clamp(.99rem,1.08vw,1.12rem); line-height: 1.52; margin: 0; max-width: 465px; letter-spacing: -.018em; }
.hero-actions, .dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-actions { margin-top: 27px; }
.cta { border-radius: 8px; font-weight: 550; font-size: .91rem; line-height: 1.3; min-height: 44px; padding: 12px 18px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; transition: transform .16s ease, background .18s ease, border-color .18s ease; }
.cta .icon { width: 18px; height: 18px; }
.cta.primary { background: #d2bcff; color: #21152f; border-color: #d8c5ff; }
.cta.primary:hover { background: #e1d1ff; transform: translateY(-1px); }
.cta.ghost { background: #302a3896; border-color: #54495e; color: #f5f0fb; }
.cta.ghost:hover { background: #39303f; border-color: #9c88b4; }
.spectrum { position: absolute; right: 28px; bottom: 22px; display: flex; gap: 4px; align-items: flex-end; height: 13px; opacity: .7; }
.spectrum i { display: block; width: 1px; height: 4px; background: #d4c6f2; }
.spectrum i:nth-child(4n+1) { height: 9px; }
.catalog { padding: clamp(42px,4vw,63px) 0 clamp(56px,6vw,92px); }
.catalog-bar, .catalog-heading { display: flex; align-items: center; }
.catalog-bar { justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.catalog-heading { gap: 11px; }
.catalog h2 { margin: 0; font-size: clamp(1.9rem,2.55vw,2.75rem); line-height: 1.15; font-weight: 540; letter-spacing: -.067em; }
.catalog-count { display: inline-grid; min-width: 29px; height: 23px; place-items: center; padding: 0 6px; color: #c9bedc; border: 1px solid #3a3542; border-radius: 7px; background: #201c25; font: .79rem/1 ui-monospace, Consolas, monospace; font-variant-numeric: tabular-nums; }
.filters { display: flex; padding: 3px; gap: 2px; background: #151418; border: 1px solid #2d2b31; border-radius: 10px; }
.filters button { color: #bcb7c3; font-size: .86rem; border: 1px solid transparent; border-radius: 7px; background: none; padding: 6px 13px; min-height: 32px; white-space: nowrap; }
.filters button:hover { color: #fff; }
.filters button[aria-pressed="true"] { color: #f9f6ff; background: #353038; border-color: #49414f; box-shadow: 0 1px 3px #0004; }
.case-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(13px,1.35vw,23px); }
.case-link { display: flex; flex-direction: column; min-width: 0; text-decoration: none; border: 1px solid #302e34; border-radius: 13px; overflow: hidden; background: #18171b; transition: transform .22s ease,border-color .22s ease,background .22s ease; }
.case-link:hover { transform: translateY(-4px); border-color: #776687; background: #1c1a20; }
.cover { display: block; position: relative; overflow: hidden; aspect-ratio: 1.96; background: #272329; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.case-link:hover .cover img { transform: scale(1.045); }
.cover:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom,rgba(0,0,0,.17),transparent 40%,rgba(0,0,0,.13)); }
.case-tag { position: absolute; z-index: 1; top: 13px; left: 13px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; background: #0d0c10d9; border: 1px solid #ffffff38; color: #f6f3fa; border-radius: 6px; font-size: .75rem; line-height: 1.35; }
.case-tag:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tag-color); }
.case-body { min-height: 113px; position: relative; padding: 17px 46px 19px 17px; }
.case-body h3 { font-size: clamp(1.19rem,1.4vw,1.5rem); line-height: 1.18; letter-spacing: -.054em; font-weight: 540; margin: 0 0 7px; }
.case-body p { color: #bbb6c1; font-size: .91rem; line-height: 1.45; letter-spacing: -.013em; margin: 0; }
.case-play { position: absolute; top: 17px; right: 14px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #4b464f; background: #231f27; display: grid; place-items: center; }
.case-play .icon { width: 14px; height: 14px; }
.case-link:hover .case-play { background: var(--lavender); border-color: var(--lavender); color: #211730; }
.foot { border-top: 1px solid #28262c; }
.foot-inner { min-height: 79px; display: flex; align-items: center; gap: 16px; }
.foot .brand img { width: 103px; }
.foot-inner>span { color: #a39ba9; font-size: .82rem; }
.foot-inner button { margin-left: auto; font-size: .84rem; }
.foot-inner .foot-about { display: none; }
#experience { padding: 27px 0 62px; min-height: 72vh; }
.back { display: inline-flex; align-items: center; gap: 5px; color: #c2bacd; text-decoration: none; font-size: .91rem; margin-bottom: 26px; }
.back .icon { width: 17px; height: 17px; }
#experience-title { margin: 8px 0 7px; font-size: clamp(2.4rem,4vw,4.2rem); line-height: 1.05; letter-spacing: -.065em; font-weight: 550; outline: none; }
.scene-intro { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 19px; background: #17141a; }
.scene-image { position: absolute; top: 0; right: 0; height: 100%; width: 48%; object-fit: cover; object-position: center 48%; z-index: -2; }
.scene-intro:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#17141a 30%,#17141a 48%,#17141aee 55%,#17141a11 79%); z-index: -1; }
.scene-head { padding: 27px 32px 28px; max-width: 65%; }
#experience-description { margin: 0; color: #d4ceda; max-width: 670px; font-size: 1rem; }
.modal { position: fixed; padding: 0; width: min(calc(100% - 32px),555px); max-height: 90dvh; color: var(--ink); background: #18151d; border: 1px solid #48404f; border-radius: 17px; box-shadow: 0 35px 90px #0009; }
.modal::backdrop { background: #07060bdd; backdrop-filter: blur(6px); }
.modal-pad { padding: clamp(25px,4vw,38px); }
.modal h2 { margin: 9px 0 16px; font-size: clamp(1.85rem,3.5vw,2.7rem); line-height: 1.1; font-weight: 560; letter-spacing: -.058em; }
.modal p:not(.kicker) { color: #c8c0cf; font-size: 1rem; line-height: 1.55; margin: 0 0 16px; }
.modal .kicker { padding-right: 26px; }
.x-btn { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; background: #18151ed9; color: #fff; border: 1px solid #63566e; border-radius: 50%; }
.about-art { height: 133px; background: #0b0710 url(assets/quartz-hero.webp) right 47%/cover; }
.brief-modal label { display: block; margin: 20px 0 8px; font-size: .86rem; color: #ded4e7; }
.brief-modal textarea { width: 100%; background: #0f0d13; color: #f6f1fb; border: 1px solid #48414f; border-radius: 8px; padding: 12px 14px; line-height: 1.5; font-size: 1rem; resize: vertical; }
.dialog-actions { margin-top: 16px; }
.dialog-status { display: block; margin-top: 9px; color: #cdb9eb; font-size: .9rem; }
.dialog-status:empty { display: none; }
.film-modal { width: min(385px,calc(100% - 24px)); background: #100d16; }
.film-head { padding: 17px 55px 7px 21px; }
.film-head h2 { font-size: 1.65rem; margin: 6px 0; }
.film-modal video { width: 100%; max-height: 72dvh; display: block; background: #06050a; }
@media(min-width: 1700px) { .hero-stone { object-fit: cover; object-position: right 54%; } }
@media(max-width: 1100px) {
  .hero-content { width: 67%; }
  .hero h1 { font-size: clamp(3.2rem,6.2vw,4.25rem); }
  .case-body { padding-left: 14px; padding-right: 39px; }
  .case-play { right: 10px; width: 26px; height: 26px; }
}
@media(max-width: 880px) {
  .case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
  .case-body { min-height: 100px; padding: 17px 46px 19px 17px; }
  .case-play { right: 15px; width: 30px; height: 30px; }
  .mast-inner { gap: 14px; }
  .mast-inner nav { gap: 18px; }
  .hero-stone { object-fit: cover; object-position: 64% center; width: 78%; }
  .hero-mask { background: linear-gradient(90deg,#09070e 12%,#09070ef2 33%,#09070e8c 57%,#08050c09 80%); }
  .hero-copy { max-width: 405px; }
}
@media(max-width: 650px) {
  .frame { width: calc(100% - 32px); }
  .mast-inner { height: 62px; gap: 9px; }
  .brand img { width: 112px; }
  .mast-edition { font-size: .79rem; }
  .mast-divider { height: 19px; }
  .mast-inner nav { display: none; }
  .top-contact { margin-left: auto; font-size: .78rem; min-height: 36px; padding: 6px 9px; gap: 6px; white-space: nowrap; }
  .top-contact .icon { width: 14px; height: 14px; }
  .hero { margin-top: 15px; min-height: 0; border-radius: 14px; align-items: flex-end; }
  .hero-content { padding: 161px 20px 25px; width: 100%; }
  .hero h1 { font-size: clamp(2.75rem,9.8vw,4rem); margin: 15px 0 12px; }
  .hero-stone { width: 100%; height: 210px; top: -6px; object-fit: cover; object-position: right 53%; }
  .hero-mask { background: linear-gradient(to bottom,transparent 45px,#09070e0a 98px,#09070e9c 149px,#09070e 204px),linear-gradient(90deg,#08060b55,transparent 62%); }
  .hero-copy { max-width: 425px; font-size: 1rem; }
  .kicker { font-size: .73rem; }
  .hero-actions { margin-top: 20px; gap: 8px; }
  .hero-actions .cta { font-size: .83rem; padding: 10px 12px; gap: 6px; }
  .spectrum { top: 14px; left: 17px; right: auto; bottom: auto; opacity: .47; }
  .catalog { padding: 32px 0 42px; }
  .catalog-bar { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 16px; }
  .catalog h2 { font-size: 1.95rem; }
  .filters button { min-height: 33px; }
  .case-grid { gap: 12px; }
  .case-body { min-height: 108px; padding: 12px 11px 15px; }
  .case-body h3 { font-size: 1.15rem; }
  .case-body p { font-size: .87rem; }
  .case-play { display: none; }
  .cover { aspect-ratio: 1.53; }
  .case-tag { left: 7px; top: 7px; font-size: .72rem; }
  .foot-inner { min-height: 73px; gap: 10px; flex-wrap: wrap; }
  .foot-inner>span { display: none; }
  .foot-inner .foot-about { display: block; margin-left: auto; }
  .foot-inner .foot-about + button { margin-left: 6px; }
  #experience { padding-top: 17px; }
  .back { margin-bottom: 18px; }
  .scene-head { max-width: none; padding: 22px 18px; }
  .scene-intro:after { background: linear-gradient(90deg,#17141a 10%,#17141af2 45%,#17141abf 78%,#17141a80); }
  .scene-image { width: 63%; }
}
@media(max-width: 365px) {
  .mast-divider, .mast-edition { display: none; }
  .frame { width: calc(100% - 24px); }
  .hero-content { padding: 116px 16px 23px; }
  .hero-actions .cta { padding-inline: 9px; }
  .case-grid { grid-template-columns: 1fr; }
  .cover { aspect-ratio: 2.0; }
  .case-body { min-height: 82px; }
  .case-play { display: grid; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media(prefers-reduced-motion: no-preference) and (min-width: 881px) {
  .hero-stone { animation: uncover-stone 1.15s cubic-bezier(.17,.69,.23,1) both; transform-origin: right center; }
  @keyframes uncover-stone { from { opacity:.35; transform: scale(1.035); } to { opacity:1; transform:scale(1); } }
}
