:root {
  --ink: #121118;
  --paper: #f5f5f7;
  --white: #ffffff;
  --muted: #696774;
  --line: #d9d7df;
  --violet: #5b23e8;
  --violet-bright: #7b3cff;
  --violet-dark: #24006f;
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(18,17,24,.1);
  background: rgba(245,245,247,.88);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(13rem, 20vw, 18rem);
  text-decoration: none;
}
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { text-decoration: none; font-size: .92rem; font-weight: 500; }
nav a:hover { color: var(--violet); }
.nav-cta {
  padding: .7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.menu-button, .mobile-nav { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(4rem, 9vw, 8.5rem) clamp(1.25rem, 7vw, 7.5rem);
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--violet);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 13ch; margin-bottom: 2rem; font-size: clamp(3.2rem, 7vw, 7.4rem); font-weight: 500; }
h1 em, h2 em { color: var(--violet); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 42rem; margin-bottom: 2.4rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ink); }
.button-primary:hover { background: var(--violet); }
.text-link { text-underline-offset: .35rem; }
.hero-visual {
  position: relative;
  min-height: 38rem;
  isolation: isolate;
}
.hero-milena {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58rem, 148%);
  max-width: none;
  height: auto;
  transform: translate(-49%,-50%);
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.02);
  mask-image: radial-gradient(ellipse 78% 82% at 58% 52%, #000 58%, transparent 96%);
}

.statement {
  padding: clamp(4rem, 9vw, 9rem) clamp(1.25rem, 12vw, 13rem);
  background: var(--white);
}
.statement p { max-width: 34ch; margin: 0; font-size: clamp(2rem, 4.6vw, 4.7rem); letter-spacing: -.05em; line-height: 1.08; }
.statement strong { color: var(--violet); font-weight: 500; }
.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); }
.section-heading { display: grid; grid-template-columns: .6fr 1.2fr 1fr; gap: 2rem; align-items: start; margin-bottom: 4rem; }
.section-heading h2, .fit h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5.3vw, 5.6rem); font-weight: 500; }
.section-heading > p:last-child { max-width: 31rem; color: var(--muted); font-size: 1.08rem; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: grid;
  grid-template-columns: .18fr 1.2fr .8fr 2rem;
  gap: 1.5rem;
  align-items: center;
  min-height: 7rem;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  justify-self: end;
  font-size: 1.75rem;
  font-weight: 300;
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
.service-number { color: var(--violet); font-size: .75rem; font-weight: 700; }
.service-title { font-size: clamp(1.35rem, 2.3vw, 2.15rem); letter-spacing: -.025em; }
.service-note { color: var(--muted); font-size: .9rem; }
.service-body {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  padding: 0 2rem 3.25rem calc(18% + 1rem);
}
.service-body > p { max-width: 34rem; font-size: 1.12rem; }
.service-body ul { margin: 0; padding: 0; list-style: none; }
.service-body li { position: relative; padding: .55rem 0 .55rem 1.3rem; color: var(--muted); }
.service-body li::before { content: ""; position: absolute; top: 1.16rem; left: 0; width: .38rem; height: .38rem; border-radius: 50%; background: var(--violet); }

.approach { color: white; background: var(--ink); }
.section-heading.light .eyebrow { color: #a88bff; }
.section-heading.light h2 { grid-column: 2 / 4; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.steps article { min-height: 18rem; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.2); }
.steps article:last-child { border-right: 0; }
.steps span { color: #a88bff; font-size: .75rem; font-weight: 700; }
.steps h3 { margin-top: 5rem; margin-bottom: .9rem; font-size: 1.35rem; }
.steps p { color: #aaa8b2; }
.fit { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(3rem,8vw,8rem); align-items: end; background: var(--white); }
.fit > p { margin-bottom: .35rem; color: var(--muted); font-size: 1.15rem; }

.contact {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  background: linear-gradient(145deg, #7b3cff 0%, #4a13cf 48%, #210066 100%);
}
.contact::before {
  content: "";
  position: absolute;
  top: -20rem;
  left: 50%;
  width: 40rem;
  height: 40rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 6rem rgba(255,255,255,.025), 0 0 0 12rem rgba(255,255,255,.018);
}
.contact > * { position: relative; z-index: 1; }
.contact .eyebrow { color: #d3c8ff; }
.contact h2 { margin-bottom: 1.6rem; }
.contact h2 em { color: white; }
.contact > p:not(.eyebrow) { max-width: 42rem; margin: 0 auto 2rem; color: #ded6f5; font-size: 1.12rem; }
.button-light { color: var(--ink); background: white; }
.button-light:hover { color: white; background: var(--ink); }
.contact-meta { display: flex; justify-content: center; gap: 2rem; margin-top: 3rem; }
.contact-meta a { color: #ded6f5; text-underline-offset: .3rem; }
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  background: var(--paper);
  font-size: .82rem;
}
footer p { margin: 0; color: var(--muted); }
footer p:last-child { text-align: right; }
.footer-brand { width: clamp(12rem, 18vw, 16rem); }

@media (max-width: 980px) {
  nav { display: none; }
  .menu-button {
    display: grid;
    gap: .38rem;
    width: 2.75rem;
    height: 2.75rem;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: white;
  }
  .menu-button span { display: block; width: 1.2rem; height: 1px; background: var(--ink); }
  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    gap: 0;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: white;
    box-shadow: 0 1rem 3rem rgba(20,18,26,.14);
  }
  .mobile-nav:not([hidden]) { display: flex; }
  .mobile-nav a { padding: .85rem 1rem; text-decoration: none; }
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { min-height: 31rem; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading.light h2 { grid-column: auto; }
  .section-heading > p:last-child { margin-bottom: 0; }
  summary { grid-template-columns: .2fr 1fr 2rem; }
  .service-note { display: none; }
  .service-body { grid-template-columns: 1fr; padding-left: calc(20% + .8rem); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .steps article:nth-child(2) { border-right: 0; }
  .steps article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .fit { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  .site-header { padding: .8rem 1rem; }
  .brand { width: min(13rem, 68vw); }
  .brand img { width: 100%; height: auto; }
  .hero { min-height: auto; padding-top: 4.5rem; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-visual { min-height: 24rem; margin: 1rem -.5rem 0; }
  .hero-milena { width: 46rem; transform: translate(-51%,-50%); }
  .statement { padding-top: 5rem; padding-bottom: 5rem; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .section-heading { margin-bottom: 2rem; }
  .section-heading h2, .fit h2, .contact h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  summary { grid-template-columns: 2rem 1fr 1.5rem; gap: .6rem; min-height: 6rem; }
  .service-title { font-size: 1.25rem; }
  .service-body { gap: 1rem; padding: 0 0 2.5rem 2.6rem; }
  .service-body > p { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 13rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .steps article:last-child { border-bottom: 0; }
  .steps h3 { margin-top: 2.8rem; }
  .contact-meta { flex-direction: column; gap: .8rem; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* BMW reference structure, adapted to Kolomo colors and Cyrillic typography. */
:root { --radius: 0; --section-space: 5rem; --gutter: clamp(1.25rem, 5vw, 5rem); }
body { font-weight: 300; }
.site-header { min-height: 64px; padding: .5rem max(var(--gutter), calc((100vw - 1440px) / 2)); background: var(--paper); backdrop-filter: none; }
nav a { font-size: .875rem; font-weight: 400; letter-spacing: .3px; }
.hero, .section, .statement { padding: var(--section-space) max(var(--gutter), calc((100vw - 1440px) / 2)); }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 720px; gap: 2rem; }
.hero-copy { position: relative; z-index: 1; }
h1, h2, h3 { font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.05; max-width: 17ch; }
h1 em, h2 em { font-family: inherit; font-style: normal; font-weight: 700; }
.hero-lead { font-size: 1.125rem; line-height: 1.55; }
.eyebrow { font-size: .875rem; letter-spacing: 1.5px; font-weight: 700; }
.button, .nav-cta { border-radius: 0; min-height: 48px; padding: 14px 32px; font-size: .875rem; font-weight: 700; line-height: 1.4; letter-spacing: .5px; }
.button:hover { transform: none; }
.button-primary { background: var(--violet); }
.button-primary:hover, .button-primary:active { background: var(--violet-dark); }
.text-link { font-size: .875rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hero-visual { min-height: 0; aspect-ratio: 1 / 1; isolation: auto; }
.hero-milena { width: 145%; height: auto; left: 50%; top: 50%; transform: translate(-56%, -50%); mix-blend-mode: normal; filter: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 87%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 87%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  mask-composite: intersect;
}
.statement p { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: 0; font-weight: 700; }
.statement strong { font-weight: 700; }
.section-heading h2, .fit h2, .contact h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; font-weight: 700; }
.section-heading { gap: 2rem; margin-bottom: 3rem; }
.section-heading > p:last-child, .fit > p, .contact > p:not(.eyebrow) { font-size: 1rem; }
.service-title { font-size: 1.5rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.service-number, .steps span { font-size: .875rem; }
summary { min-height: 6rem; }
.service-body { gap: 2rem; padding-bottom: 3rem; }
.service-body > p { font-size: 1rem; }
.steps article { padding: 1.5rem; }
.steps h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.contact::before { display: none; }
footer { padding: 4rem max(var(--gutter), calc((100vw - 1440px) / 2)); font-size: .875rem; }
.mobile-nav { border-radius: 0; box-shadow: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.approach :focus-visible, .contact :focus-visible { outline-color: var(--white); }
section[id] { scroll-margin-top: 80px; }
@media (max-width: 980px) {
 .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; }
 h1 { max-width: 22ch; }
 .hero-visual { width: 100%; max-width: 720px; margin: 0 auto; aspect-ratio: 1.4; }
 .hero-milena { width: 120%; transform: translate(-55%, -50%); }
 .menu-button { width: 48px; height: 48px; flex-shrink: 0; }
}
@media (max-width: 620px) {
 :root { --section-space: 3rem; }
 h1 { font-size: 2.5rem; line-height: 1.05; }
 .section-heading h2, .fit h2, .contact h2 { font-size: 2rem; }
 .hero-visual { aspect-ratio: 1.1; margin: 1rem 0 0; }
 .hero-milena { width: 146%; transform: translate(-57%, -50%); }
 .service-title { font-size: 1.25rem; }
 footer { padding-block: 3rem; }
}

/* Left-facing artwork: keep the figure centered and feather only outer margins. */
.hero-milena { transform: translate(-50%, -50%);
 -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
 mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
}
