:root {
  --black: #080808;
  --white: #ffffff;
  --soft: #f2f2f0;
  --muted: #666666;
  --line: #d7d7d3;
  --page: min(calc(100% - 20px), 1500px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure { margin-top: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: -70px;
  left: 18px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
}
.skip-link:focus { top: 18px; }

.header {
  position: absolute;
  top: 24px;
  left: max(34px, calc((100vw - 1500px) / 2 + 26px));
  z-index: 30;
  width: min(calc(100vw - 68px), 1448px);
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.brand, .menu-button { pointer-events: auto; }
.brand {
  color: var(--white);
  white-space: nowrap;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.025em;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
}
.brand-word, .brand-and { display: block; white-space: nowrap; }
.brand-and {
  margin: 0 .22em;
  font-size: .66em;
  font-weight: 400;
  letter-spacing: 0;
}
.nav, .header-cta { display: none; }
.menu-button {
  width: 44px;
  height: 44px;
  padding: 10px 5px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}
.menu-button span {
  width: 100%;
  height: 1.5px;
  background: var(--black);
  transition: transform .18s ease;
}
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.mobile-menu {
  position: absolute;
  top: 58px;
  right: 0;
  width: min(310px, calc(100vw - 44px));
  padding: 10px 18px 16px;
  border: 1px solid var(--black);
  border-radius: 14px;
  background: var(--white);
  display: none;
  flex-direction: column;
  pointer-events: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.mobile-menu a:last-child { border-bottom: 0; }

main {
  width: var(--page);
  margin: 10px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.hero,
.section,
.contact {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero {
  grid-column: 1;
  min-height: 720px;
  background: var(--white);
  display: grid;
  grid-template-columns: 47% 53%;
}
.hero-photo {
  height: 100%;
  min-height: 720px;
  margin: 0;
  padding: 54px 34px 36px;
  overflow: hidden;
  background: linear-gradient(90deg, #141414 0 50%, #f2f1ef 50% 100%);
  display: grid;
  place-items: center;
}
.hero-photo img {
  width: min(76%, 590px);
  height: auto;
  max-height: calc(100% - 92px);
  object-fit: contain;
  object-position: center center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  margin: 0;
  padding: 92px 52px 52px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  max-width: 320px;
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: clamp(45px, 4.25vw, 66px);
  font-weight: 500;
  line-height: .91;
  letter-spacing: -.045em;
}
.hero-intro {
  max-width: 610px;
  margin-bottom: 24px;
  color: #3d3d3d;
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: -.018em;
}
.hero-intro p { margin-bottom: 10px; }
.hero-intro p:last-child { margin-bottom: 0; }
.hero-actions {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.button {
  min-height: 54px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  font-weight: 550;
  line-height: 1.1;
  transition: color .18s ease, background-color .18s ease;
}
.button-dark { color: var(--white); background: var(--black); border-color: var(--black); }
.button-dark:hover { color: var(--black); background: var(--white); }
.button-outline { color: var(--black); background: var(--white); }
.button-outline:hover { color: var(--white); background: var(--black); }
.button-light { color: var(--black); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--white); background: transparent; }

.section {
  padding: 34px;
  background: var(--white);
}
.section h2, .contact h2 {
  margin: 0;
  font-size: clamp(45px, 4vw, 64px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.04em;
}
.section-heading { margin-bottom: 36px; }
.section-heading > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.formats {
  grid-column: 1;
  min-height: 0;
  color: var(--black);
  background: var(--white);
}
.formats > h2 {
  max-width: 660px;
  margin-bottom: 30px;
}
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.format-card {
  position: relative;
  min-height: 300px;
  padding: 28px 72px 24px 98px;
  border: 0;
  border-radius: 16px;
  color: var(--black);
  background: var(--soft);
  display: flex;
  flex-direction: column;
}
.format-card-invert { color: var(--white); background: var(--black); }
.format-number {
  position: absolute;
  top: 21px;
  left: 22px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.05em;
}
.format-card h3 {
  max-width: 520px;
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.format-card > p:not(.format-price) {
  max-width: 470px;
  margin-bottom: 14px;
  color: #454545;
  font-size: 16px;
  line-height: 1.35;
}
.format-card-invert > p:not(.format-price) { color: rgba(255,255,255,.72); }
.format-price {
  margin: auto 0 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.format-price strong { font-size: 29px; font-weight: 600; letter-spacing: -.035em; }
.format-price span { color: var(--muted); font-size: 13px; }
.format-card-invert .format-price span { color: rgba(255,255,255,.62); }
.format-price-text {
  max-width: 350px;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.2;
}
.format-card a {
  position: absolute;
  bottom: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.consultation-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--black);
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 22px;
}
.consultation-note span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.consultation-note p { margin: 0; color: var(--muted); font-size: 14px; }

.team {
  grid-column: 1;
  min-height: 0;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.person {
  min-width: 0;
  padding: 0 32px 8px;
}
.person + .person {
  padding: 0 32px 8px;
  border-left: 1px solid var(--line);
}
.person-top {
  display: block;
  text-align: center;
}
.person figure {
  width: 168px;
  height: 168px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--black);
}
.person figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.person figure.marina img {
  object-fit: contain;
  transform: translateY(38px) scale(1.34);
  transform-origin: center center;
}
.person figure.ivan { background: var(--black); }
.person figure.ivan img {
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(2px) scale(1.22);
  transform-origin: center center;
}
.person h3 {
  margin-bottom: 9px;
  font-size: 29px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: -.045em;
}
.person h3 span { display: inline; }
.person-role {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.28;
}
.person-description {
  max-width: 540px;
  margin: 20px auto 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 1.48;
}

.person-project {
  margin-top: 18px;
}

.person-project-featured {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.person-project h4 {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.2;
}

.person-project p {
  margin: 0;
  color: #4d4d4d;
  font-size: 12px;
  line-height: 1.42;
}

.person-more {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.person-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 650;
}

.person-more summary::-webkit-details-marker { display: none; }
.person-more summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
.person-more[open] summary::after { content: "−"; }
.person-more-content { padding-top: 1px; }

.cases {
  grid-column: 1;
  min-height: 0;
  color: var(--white);
  background: var(--black);
}
.cases .section-heading { margin-bottom: 42px; }
.case-placeholder {
  padding-bottom: 8px;
  overflow-x: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 46%;
  gap: 10px;
  scrollbar-width: thin;
}
.case-placeholder div {
  min-height: 260px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  color: rgba(255,255,255,.55);
  background: transparent;
  display: grid;
  place-items: center;
}
.case-placeholder span {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.process {
  grid-column: 1;
  min-height: 0;
}
.process .section-heading h2 { font-size: clamp(36px, 3.2vw, 52px); }
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 42px;
}
.process-list li {
  position: relative;
  min-height: 102px;
  padding: 8px 0 18px 72px;
}
.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 58px;
  bottom: 5px;
  left: 26px;
  width: 1px;
  background: #aaa;
}
.process-list li > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  border: 1px solid var(--black);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.process-list h3 {
  margin-bottom: 5px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.process-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.3; }

.contact {
  grid-column: 1 / -1;
  padding: 52px;
  color: var(--white);
  background: var(--black);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 64px;
}
.contact-copy > p {
  max-width: 520px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.7);
  font-size: 18px;
}
.contact .button { width: 100%; justify-content: space-between; }
.contact-copy .contact-note {
  margin: 12px 0 0;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  text-align: center;
}

.footer {
  width: var(--page);
  margin: 0 auto;
  padding: 22px 12px 30px;
  color: rgba(255,255,255,.68);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .hero, .formats, .team, .cases, .process { grid-column: 1; }
  .process-list { gap: 0 28px; }
  .process-list li:nth-child(2)::after { display: none; }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 14px); --radius: 16px; }
  .header {
    top: 18px;
    left: 25px;
    right: 25px;
    width: auto;
  }
  main { margin: 7px auto; grid-template-columns: 1fr; gap: 7px; }
  .hero, .formats, .team, .cases, .process, .contact { grid-column: 1; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-photo {
    height: 330px;
    min-height: 330px;
    padding: 70px 18px 0;
    place-items: end center;
  }
  .hero-photo img {
    width: auto;
    height: auto;
    max-width: min(78%, 320px);
    max-height: 100%;
  }
  .hero-copy {
    margin: 0;
    padding: 30px 22px 22px;
    border-top: 1px solid var(--black);
    justify-content: flex-start;
  }
  h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 11.5vw, 54px);
    line-height: .94;
  }
  .hero-intro { font-size: 16px; }
  .hero-actions { margin-top: 24px; grid-template-columns: 1fr; }
  .section { padding: 27px 22px; }
  .section h2, .contact h2 { font-size: clamp(43px, 12vw, 58px); }
  .formats { min-height: 0; }
  .format-grid { grid-template-columns: 1fr; }
  .format-card { min-height: 280px; padding: 24px 58px 22px 80px; }
  .format-number { left: 18px; font-size: 34px; }
  .consultation-note { grid-template-columns: 1fr; gap: 9px; }
  .team, .cases, .process { min-height: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .person, .person + .person { padding: 0 0 28px; border-left: 0; }
  .person + .person { padding-top: 28px; border-top: 1px solid var(--line); }
  .person figure { width: 160px; height: 160px; }
  .process-list { display: block; }
  .process-list li:nth-child(2)::after { display: block; }
  .contact { padding: 40px 22px; grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 20px 10px 28px; }
}

@media (max-width: 430px) {
  .hero-photo {
    height: 315px;
    min-height: 315px;
    padding: 66px 12px 0;
  }
  .hero-photo img { max-width: min(80%, 300px); }
  .hero-copy { padding: 28px 18px 20px; }
  h1 { font-size: clamp(40px, 11.2vw, 46px); }
  .section { padding: 25px 18px; }
  .format-card { min-height: 270px; padding: 22px 54px 20px 68px; }
  .format-number { left: 14px; font-size: 30px; }
  .format-card h3 { font-size: 26px; }
  .person-top {
    display: block;
    text-align: center;
  }
  .person figure {
    width: 152px;
    height: 152px;
    margin: 0 auto 18px;
  }
  .person h3 { font-size: 27px; }
  .person-role { min-height: 0; }
  .person-description { margin-top: 14px; }
  .person-project-featured { margin-top: 18px; padding-top: 18px; }
  .person-project h4 { font-size: 15px; }
  .person-project p { font-size: 14px; line-height: 1.5; }
  .person-more summary { font-size: 15px; }
  .case-placeholder { grid-auto-columns: 92%; }
  .case-placeholder div { min-height: 230px; }
  .process .section-heading h2 { font-size: 39px; }
  .contact { padding-right: 18px; padding-left: 18px; }
  .footer { flex-direction: column; gap: 7px; }
}

@media (max-width: 340px) {
  .header { left: 20px; width: calc(100% - 40px); }
  .hero-photo { height: 300px; min-height: 300px; padding-top: 62px; }
  h1 { font-size: 33px; overflow-wrap: normal; }
  .section h2, .contact h2 { font-size: 38px; }
  .format-card { padding-left: 58px; }
  .format-number { font-size: 26px; }
  .process-list li { padding-left: 62px; }
}

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