/* Studio: a working portfolio, with the work in the foreground. */
:root {
  --spruce: #292438;
  --needle: #443b56;
  --snow: #f6f5f8;
  --lamp: #d2bff4;
  --frost: #cbc6d6;
  --moss: #696373;
  --rule: #ddd9e4;
}
body { font-size: 16px; }
.wrap { width: min(1280px, 100% - 80px); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 5.2vw, 78px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
.btn { border-radius: 100px; min-height: 54px; padding-inline: 26px; font-size: 15px; }
.btn:hover { background: #e2d4fb; }
.btn-sm { min-height: 42px; padding-inline: 22px; font-size: 14px; }
.btn-ink:hover { background: var(--needle); }
.btn-line:hover { background: var(--needle); }
.bar { padding-block: 24px; gap: 28px; }
.bar .name { font-size: 17px; letter-spacing: -.04em; font-weight: 600; }
.bar-link { font-size: 14px; }
.portfolio-hero { background: #eeebf3; color: var(--spruce); }
.portfolio-hero .bar { border-bottom: 1px solid #d8d2e1; }
.portfolio-hero .bar-link { color: var(--moss); }
.portfolio-hero .bar-link:hover { color: var(--spruce); }
.portfolio-hero .bar .btn { background: var(--spruce); color: var(--snow); }
.studio-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 60px 72px; }
.studio-intro h1 { max-width: 10ch; }
.studio-intro .hero-summary { max-width: 37em; margin-top: 28px; font-size: 18px; line-height: 1.6; color: var(--moss); }
.studio-intro .hero-act { justify-content: flex-start; margin-top: 30px; gap: 24px; }
.studio-intro .btn { background: var(--spruce); color: var(--snow); }
.studio-intro .btn:hover { background: var(--needle); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--moss); font-size: 13px; }
.studio-reel { display: grid; grid-template-columns: 1fr 1.05fr; grid-template-rows: 1fr 1.25fr; gap: 16px; height: 510px; }
.studio-reel figure, .studio-reel > a { margin: 0; overflow: hidden; border-radius: 10px; background: #fff; }
.studio-reel > a { display: block; }
.studio-reel > a:hover { outline: 2px solid var(--moss); outline-offset: 3px; }
.studio-reel .reel-main { grid-row: span 2; }
.reel-main { position: relative; }
.reel-toggle { position: absolute; bottom: 12px; left: 12px; border: 0; background: var(--snow); color: var(--spruce); border-radius: 100px; padding: 8px 14px; font: 500 12px var(--font); cursor: pointer; }
.studio-reel img, .studio-reel video { width: 100%; height: 100%; object-fit: cover; }
.studio-reel .reel-design img { object-fit: contain; }
.studio-reel .reel-fashion img { object-fit: cover; object-position: top; }
.need-sec { padding-top: 80px; }
.need-sec h2 { margin-bottom: 14px; }
.needs { gap: 0 32px; margin-top: 36px; }
.need { display: grid; grid-template-columns: 78px minmax(0,1fr); grid-template-areas: "pic t" "pic d" "pic m"; column-gap: 18px; padding: 22px 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: transparent; }
.need:hover { transform: none; border-color: var(--spruce); }
.need-pics { grid-area: pic; display: block; width: 78px; height: 104px; margin: 0; border-radius: 5px; }
.need-pics img { height: 100%; }
.need-pics img:nth-child(n+2) { display: none; }
.need-t { grid-area: t; padding: 0; font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.need-d { grid-area: d; padding: 6px 0 0; font-size: 13px; line-height: 1.45; }
.need-m { grid-area: m; padding: 10px 0 0; font-size: 12px; gap: 8px; }
.need-m b { font-size: 13px; font-weight: 500; }
.need-hot { color: var(--spruce); }
.need-hot .need-d, .need-hot .need-m { color: var(--moss); }
.need-hot .need-m b { color: var(--spruce); }
.need-tag { position: static; grid-area: pic; align-self: end; justify-self: start; z-index: 1; margin: 0 0 5px 4px; padding: 2px 5px; border-radius: 3px; font-size: 10px; }
.works { padding-top: 64px; }
.tabs-bar { padding-block: 8px; margin-bottom: 36px; }
.tabs-bar .tabs { padding-top: 0; gap: 8px 10px; border-bottom: 0; }
.tabs-bar .tab { padding: 11px 16px; margin: 0; min-height: 44px; border: 0; border-radius: 100px; font-size: 14px; }
.tab[aria-selected="true"] { background: var(--spruce); color: var(--snow); font-weight: 500; }
.tab[aria-selected="true"] .tab-n { color: var(--frost); }
.panel-head h3 { font-size: 34px; font-weight: 600; }
.panel-head p { font-size: 15px; }
.panel-head .panel-note { font-size: 13px; }
.panel-act { font-size: 14px; }
.grid-v { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 36px 22px; }
.grid-h { gap: 32px 22px; }
.masonry, .masonry.m4 { columns: 3 260px; column-gap: 24px; }
.masonry .frame { margin-bottom: 32px; }
.cap { margin-top: 12px; font-size: 13px; line-height: 1.45; }
.shot, .panel .masonry .vid .shot { border-radius: 8px; }
.play { background: #f6f5f8; width: 40px; height: 40px; left: 14px; bottom: 14px; }
.play::after { left: 16px; top: 13px; border-left-width: 10px; }
.ny-teaser { margin-top: 80px; padding-block: 40px; }
.prices, .how, .faq { padding-top: 96px; }
.price th { font-size: 17px; }
.price td { font-weight: 600; }
.terms { border-radius: 12px; }
.terms li, .send li, .art-side p { color: var(--frost); }
.terms p { color: var(--frost); }
.steps b { font-weight: 600; }
.steps li::before { font-weight: 500; color: var(--moss); }
.qa summary { font-size: 19px; font-weight: 500; }
.contact { margin-top: 96px; padding-top: 80px; }
.fld input, .fld textarea { background: #231e31; border-color: #645970; border-radius: 8px; }
.fld input::placeholder, .fld textarea::placeholder { color: #a59aaf; }
.fld i { color: var(--frost); }
.svc-nav a { border-radius: 100px; font-size: 14px; }
.svc-hero { padding-block: 24px 60px; }
.svc-hero h1 { max-width: 20ch; margin-top: 26px; }
.pf-copy .lead { margin-block: 0; display: block; font-size: 19px; line-height: 1.6; }
.svc-hero .pf-copy { gap: 40px; align-items: start; }
.svc-hero .hero-act { flex-wrap: wrap; gap: 20px; margin-top: 0; }
.crumbs { font-size: 13px; }
.svc-works { padding-top: 72px; }
.art-answer { background: #ece7f4; }
.lb::backdrop { background: rgba(26,21,36,.95); }
.doc p { color: var(--spruce); }
.doc h1, .doc a { overflow-wrap: anywhere; }
@media (max-width:1100px) {
  .wrap { width: calc(100% - 48px); }
  .studio-hero { gap: 36px; }
  .studio-reel { height: 450px; gap: 12px; }
  .needs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-v { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .wrap { width: calc(100% - 36px); }
  .bar { gap: 8px 20px; padding-block: 16px; }
  .bar .btn-sm { min-height: 38px; padding-inline: 18px; }
  .bar-link { font-size: 13px; }
  .bar-link[href="https://t.me/apetrov_video"] { display: none; }
  .studio-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 40px; }
  .studio-intro h1 { max-width: 12ch; font-size: clamp(44px,8vw,66px); }
  .studio-intro .hero-summary { margin-top: 20px; font-size: 16px; max-width: 36em; }
  .studio-intro .hero-act { margin-top: 22px; gap: 20px; }
  .hero-facts { margin-top: 18px; font-size: 12px; }
  .studio-reel { height: 390px; grid-template-columns: 1fr 1.05fr; }
  .need-sec { padding-top: 52px; }
  .needs { gap: 0 24px; margin-top: 24px; }
  .need-t { font-size: 17px; }
  .need-d { font-size: 12px; }
  .panel-head h3 { font-size: 29px; }
  .grid-v { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 14px; }
  .masonry, .masonry.m4 { columns: 2; column-gap: 14px; }
  .panel-head { gap: 20px; }
  .panel-act { width: 100%; justify-content: space-between; gap: 12px; }
  .prices, .how, .faq { padding-top: 64px; }
  .ny-teaser { margin-top: 64px; padding-block: 24px; }
  .contact { margin-top: 64px; padding-top: 56px; }
  .svc-hero { padding-top: 18px; }
  .svc-hero h1 { font-size: 42px; max-width: 18ch; }
  .svc-hero .pf-copy { grid-template-columns: 1fr; gap: 24px; }
  .pf-copy .lead { font-size: 17px; }
}
@media (max-width:480px) {
  .needs { grid-template-columns: 1fr; }
  .need { grid-template-columns: 76px minmax(0,1fr); padding-block: 18px; }
  .need-pics { width: 76px; height: 96px; }
  .need-t { font-size: 18px; }
  .need-d { font-size: 13px; }
  .studio-reel { height: 310px; gap: 10px; }
  .studio-intro .link { font-size: 14px; }
  .studio-intro .btn { padding-inline: 22px; }
  .tabs-bar { margin-bottom: 26px; }
  .tabs-bar .tab { font-size: 13px; padding: 10px 14px; }
  .panel .masonry .cap { font-size: 12px; }
  .price th { font-size: 16px; }
  .qa summary { font-size: 17px; }
  .dock { border-radius: 100px; box-shadow: 0 3px 20px #29243826; }
}
