/* Final quality pass: navigation, hierarchy and resilient first paint. */
.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  width: min(1128px, calc(100% - 28px));
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  transform: translateX(-50%);
  justify-content: space-between;
  z-index: 1000;
  background: rgba(252, 252, 252, .94);
  border-color: rgba(40, 40, 43, .14);
  box-shadow: 0 8px 30px rgba(24, 24, 28, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
html { scroll-padding-top: 104px; }
body { padding-top: 92px; overflow-x: clip; }
[id] { scroll-margin-top: 104px; }
.hero { padding-top: 52px; padding-bottom: 64px; }
.button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  user-select: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease, box-shadow .2s ease;
}
.button-small { min-height: 44px; padding: 0 17px; }
.button:hover { background: #386fde; color: #fff; }
.button:focus-visible, .text-link:focus-visible, .related-grid a:focus-visible, .site-footer a:focus-visible {
  outline: 3px solid rgba(56, 111, 222, .38);
  outline-offset: 3px;
}
.button:active { transform: translateY(1px) scale(.985); }
.button[disabled], .button[aria-disabled="true"], .button.is-disabled {
  opacity: .46;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}
.button.is-loading { position: relative; color: transparent; pointer-events: none; }
.button.is-loading::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  color: #fff;
  animation: button-spin .7s linear infinite;
}
@keyframes button-spin { to { transform: rotate(360deg); } }
.site-footer { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
.site-footer > div:first-child span { margin-top: 8px; }
.hero-copy { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; }
.section-heading > span, .showcase-copy > span, .studio-copy > span { letter-spacing: .01em; }
.guide-grid article p { max-width: 58ch; }
.faq-list { border-bottom: 1px solid var(--line); }
.section.container.d-section { margin-top: 68px; }
.split.section {
  position: relative;
  display: block;
  width: auto;
  max-width: 1156px;
  margin-top: 68px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: 62px 52px 66px;
  overflow: hidden;
  background: #1d1e23;
  border: 1px solid #292b33;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(20, 22, 30, .13);
}
.split.section::before { display: none; }
.split.section > div { max-width: 720px; padding-left: 0; }
.split.section .section-kicker { color: #7da4ff; }
.split.section > div > h2 { max-width: none; margin-top: 8px; }
.split.section > div > h2 { color: #fff; }
.split.section > div > p { max-width: 650px; margin-top: 10px; color: #aeb0b8; }
.split.section .steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.split.section .steps::before { content: ''; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px; background: #3b3e49; }
.split.section .steps li {
  position: relative;
  min-width: 0;
  min-height: 92px;
  padding: 0;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.split.section .steps li:last-child { border: 0; }
.split.section .steps li span { position: relative; z-index: 1; margin-bottom: 16px; color: #fff; background: #386fde; border: 0; border-radius: 50%; box-shadow: 0 0 0 6px #1d1e23; }
.split.section .steps p { min-width: 0; max-width: 28ch; color: #f2f3f6; font-size: 15px; line-height: 1.48; }
.intent-visual {
  width: 100%;
  min-width: 0;
  height: clamp(240px, 23vw, 320px);
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 18px;
  background: #15171b;
}
.intent-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.intent-visual:hover img { transform: scale(1.018); }
.deep-dive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.process-board {
  max-width: 1156px;
  margin: 68px auto 0;
  padding: 18px 14px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}
.process-intro { position: sticky; top: 112px; padding: 16px 0; }
.process-intro h2 { margin: 12px 0 0; font-size: 38px; line-height: 1.08; letter-spacing: -.025em; }
.process-intro p { max-width: 460px; margin: 16px 0 0; color: #76767c; font-size: 16px; line-height: 1.6; }
.process-route { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dfe1e6; }
.process-route li { min-height: 126px; padding: 24px 0; display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; border-bottom: 1px solid #dfe1e6; }
.process-route > li > span { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: #28282b; border-radius: 12px; font-size: 13px; font-weight: 700; }
.process-route small { display: block; margin: 1px 0 8px; color: #386fde; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.process-route p { max-width: 560px; margin: 0; color: #28282b; font-size: 17px; line-height: 1.5; }
.deep-dive-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.deep-dive-grid article > span { color: #386fde; font-size: 13px; font-weight: 700; }
.deep-dive-grid h3 { margin: 34px 0 10px; font-size: clamp(19px, 2vw, 25px); line-height: 1.14; }
.deep-dive-grid p { margin: 0; color: #68686f; line-height: 1.65; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-grid a { min-width: 0; overflow: hidden; padding-bottom: 22px; border: 1px solid var(--line); border-radius: 14px; color: inherit; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.related-grid a:hover { transform: translateY(-3px); box-shadow: 0 16px 38px #20263312; }
.related-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.page-prezentacii .intent-visual img { object-position: center 48%; }
.page-foto .intent-visual img { object-position: center 50%; }
.page-tekst .intent-visual img { object-position: center 44%; }
.page-pesni .intent-visual img { object-position: center 50%; }
.page-video .intent-visual img { object-position: center 48%; }
.storyboard article > div { position: relative; isolation: isolate; overflow: hidden; }
.storyboard article > div::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 12, 20, .42), transparent 48%, rgba(8, 12, 20, .12)); }
.storyboard article > div > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.storyboard article > div > span, .storyboard article > div > i { position: relative; z-index: 1; }
.related-grid span, .related-grid h3, .related-grid p, .related-grid b { display: block; margin-left: 22px; margin-right: 22px; }
.related-grid span { margin-top: 20px; color: #386fde; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.related-grid h3 { margin-top: 8px; margin-bottom: 9px; font-size: 21px; line-height: 1.15; }
.related-grid p { margin-top: 0; color: #73737a; font-size: 14px; line-height: 1.55; }
.related-grid b { margin-top: 18px; color: #386fde; font-size: 14px; }
@media (max-width: 900px) {
  html { scroll-padding-top: 90px; }
  body { padding-top: 82px; }
  [id] { scroll-margin-top: 90px; }
  .hero { padding-top: 44px; padding-bottom: 56px; }
  .intent-visual { height: clamp(230px, 40vw, 300px); }
  .split.section { width: auto; padding: 48px 38px 52px; }
  .split.section > div { padding-left: 0; }
  .split.section .steps { grid-template-columns: 1fr; margin-top: 22px; }
  .split.section .steps::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 1px; height: auto; }
  .split.section .steps li { min-height: 0; display: flex; align-items: center; gap: 15px; }
  .split.section .steps li span { margin-bottom: 0; }
  .split.section .steps p { max-width: none; }
  .site-footer { grid-template-columns: 1.25fr 1fr 1fr; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .deep-dive-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .process-board { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .process-intro { position: static; padding-bottom: 0; }
  .deep-dive-grid article:last-child, .related-grid a:last-child { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
  html { scroll-padding-top: 78px; }
  body { padding-top: 70px; }
  [id] { scroll-margin-top: 78px; }
  .site-header { top: 8px; }
  .hero { padding-top: 36px; padding-bottom: 48px; }
  .site-header .button-small { min-height: 40px; padding: 0 12px; }
  .hero { padding-top: 48px; }
  .hero h1 { text-wrap: balance; }
  .hero-copy > p, .section-heading p, .showcase-copy p { max-width: 42ch; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:first-child { grid-column: auto; }
  .section.container.d-section { margin-top: 46px; }
  .split.section {
    margin: 46px 14px 0;
    width: auto;
    padding: 40px 24px 44px;
    border-radius: 14px;
  }
  .split.section > div { padding-left: 2px; }
  .split.section .steps { gap: 8px; margin-top: 20px; }
  .split.section .steps li { align-items: flex-start; padding: 13px; }
  .intent-visual { height: clamp(190px, 54vw, 225px); margin-bottom: 20px; border-radius: 12px; }
  .page-prezentacii .intent-visual img { object-position: 54% center; }
  .page-foto .intent-visual img { object-position: 48% center; }
  .page-tekst .intent-visual img { object-position: 52% center; }
  .page-pesni .intent-visual img { object-position: 58% center; }
  .page-video .intent-visual img { object-position: 48% center; }
  .related-grid img { aspect-ratio: 16 / 10; }
  .deep-dive-grid, .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .process-board { margin-top: 46px; padding: 8px 14px; gap: 24px; }
  .process-intro { padding-top: 0; }
  .process-intro h2 { font-size: 30px; }
  .process-route li { min-height: 0; padding: 20px 0; grid-template-columns: 44px 1fr; gap: 14px; }
  .process-route > li > span { width: 40px; height: 40px; border-radius: 10px; }
  .process-route p { font-size: 16px; }
  .deep-dive-grid article:last-child, .related-grid a:last-child { grid-column: auto; }
  .deep-dive-grid article { padding: 22px; }
  .deep-dive-grid h3 { margin-top: 24px; }
}
