html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --black: #000;
  --white: #fff;
  --light: #fff;
  --text-dark: #0f0f0f;
  --soft-dark: #5a5a5a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.about-header {
  position: fixed;
  top: 40px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
}

.about-header::before {
  content: "";
  position: absolute;
  top: -40px;
  bottom: -36px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #000000;
  z-index: -1;
}

.logo img {
  width: 120px;
  display: block;
}

.menu-trigger {
  display: flex;
  gap: 24px;
  font-size: 14px;
  line-height: 1;
}

.menu-trigger a {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.menu-trigger a:hover {
  opacity: 1;
}

.about-page {
  width: 100%;
}

.about-hero {
  min-height: 100vh;
  background: var(--black);
  padding: 180px 40px 80px;
  display: flex;
  align-items: center;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 620px);
  align-items: start;
  column-gap: 72px;
  row-gap: 64px;
}

.hero-title h1 {
  max-width: 620px;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.hero-copy {
  display: flex;
  justify-content: flex-end;
  padding-top: 180px;
}

.hero-copy p {
  max-width: 620px;
  font-size: clamp(28px, 2.6vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-align: right;
}

.services-section {
  background: var(--black);
  color: var(--white);
  padding: 48px 40px 110px;
}

.services-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 54px;
}

.services-head h2 {
  font-size: clamp(56px, 7vw, 118px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: left;
}

.services-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.service-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.service-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 64px;
  align-items: start;
  column-gap: 28px;
  padding: 28px 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-index {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(32px, 3vw, 54px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.service-main {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(280px, 520px);
  justify-content: space-between;
  align-items: start;
  column-gap: 64px;
  row-gap: 22px;
}

.service-main h3 {
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}

.service-content {
  max-width: 520px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.28s ease,
    max-height 0.38s ease,
    transform 0.28s ease;
}

.service-content p {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(18px, 1.5vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.service-content p + p {
  margin-top: 22px;
}

.service-arrow {
  display: inline-flex;
  justify-content: flex-end;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1;
  color: #ffffff;
  transform: rotate(0deg);
  transition: transform 0.28s ease;
}

.service-item.is-open .service-content {
  opacity: 1;
  max-height: 420px;
  transform: translateY(0);
}

.service-item.is-open .service-arrow {
  transform: rotate(45deg);
}

.clients-section {
  background: #ffffff;
  color: var(--text-dark);
  padding: 108px 40px 120px;
}

.clients-top {
  width: 100%;
  margin: 0 0 64px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 620px);
  justify-content: space-between;
  align-items: start;
  column-gap: 72px;
  row-gap: 40px;
}

.clients-title h2 {
  max-width: 760px;
  font-size: clamp(44px, 5vw, 82px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.clients-copy {
  display: flex;
  justify-content: flex-end;
}

.clients-copy p {
  max-width: 560px;
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.38;
  letter-spacing: -0.02em;
  text-align: right;
}

.logos-shell {
  width: 100%;
}

.logo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.logo-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.logo-cell:not(:nth-child(5n))::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  right: 0;
  width: 1px;
  background: rgba(15, 15, 15, 0.08);
}

.logo-cell img {
  max-width: 70%;
  max-height: 40%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.22s ease;
}

.logo-cell:hover img {
  transform: scale(1.03);
}

.about-footer {
  padding: 80px 40px 88px;
  background: #ffffff;
  color: rgba(0, 0, 0, 0.68);
}

.about-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.about-footer-contact {
  font-size: 13px;
  line-height: 1.55;
}

.about-footer-contact a {
  text-decoration: none;
}

.about-footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.about-footer-links a {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.68);
  text-decoration: none;
}

.about-footer-line {
  margin-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.about-footer-bottom {
  padding-top: 36px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.68);
}

.about-footer-bottom-left,
.about-footer-bottom-right {
  display: block;
}

.about-footer-bottom-right {
  margin-top: 8px;
}

.about-footer-bottom a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.about-footer-bottom a:hover {
  opacity: 1;
}

@media (max-width: 1200px) {
  .hero-copy {
    padding-top: 120px;
  }

  .clients-top {
    margin-bottom: 56px;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 500px);
    column-gap: 56px;
  }

  .logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .logo-cell {
    min-height: 180px;
    padding: 28px 24px;
  }

  .logo-cell img {
    max-height: 44px;
  }
}

@media (max-width: 900px) {
  .about-header {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .about-header::before {
    top: -20px;
    bottom: -20px;
  }

  .about-hero {
    min-height: 100svh;
    padding: 0 24px;
    display: flex;
    align-items: center;
  }
  
  .hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 56px;
    align-content: center;
  }
  
  .hero-title {
    width: 100%;
  }
  
  .hero-title h1 {
    max-width: 720px;
  }
  
  .hero-copy {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 0;
  }
  
  .hero-copy p {
    width: min(90%, 760px);
    margin-left: auto;
    text-align: right;
    font-size: clamp(24px, 7vw, 10px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .services-section {
    padding: 36px 24px 72px;
  }

  .services-head h2 {
    text-align: left;
    font-size: clamp(46px, 14vw, 78px);
  }

  .service-trigger {
    grid-template-columns: 72px 1fr 36px;
    column-gap: 18px;
    padding: 22px 0;
  }

  .service-index {
    font-size: clamp(24px, 8vw, 42px);
  }

  .service-main {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .service-main h3 {
    font-size: clamp(28px, 9vw, 46px);
  }

  .service-content p {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.16;
  }

  .service-arrow {
    font-size: 32px;
  }

  .clients-section {
    padding: 56px 24px 72px;
  }

  .clients-top {
    margin-bottom: 36px;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .clients-copy {
    justify-content: flex-start;
    padding-top: 0;
  }

  .clients-copy p {
    max-width: 100%;
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.3;
    text-align: left;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cell {
    aspect-ratio: 1 / 1;
    padding: 18px;
  }

  .logo-cell::after {
    content: none;
  }

  .logo-cell:not(:nth-child(2n))::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 0;
    bottom: 14px;
    width: 1px;
    background: rgba(15, 15, 15, 0.08);
  }

  .logo-cell img {
    max-width: 75%;
    max-height: 45%;
  }

  .about-footer {
    padding: 80px 20px 64px;
  }

  .about-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-footer-links {
    gap: 18px 22px;
  }

  .about-footer-line {
    margin-top: 28px;
  }

  .about-footer-bottom {
    padding-top: 28px;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .about-header {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .about-header::before {
    top: -20px;
    bottom: -20px;
  }

  .logo img {
    width: 112px;
  }

  .about-hero {
    min-height: 100svh;
    padding: 0 20px;
    display: flex;
    align-items: center;
  }
  
  .hero-grid {
    row-gap: 44px;
  }
  
  .hero-copy {
    padding-top: 0;
  }
  
  .hero-copy p {
    width: min(100%, 92vw);
    margin-left: auto;
    text-align: right;
    line-height: 1.04;
  }

  .services-section {
    padding: 28px 20px 60px;
  }

  .service-trigger {
    grid-template-columns: 54px 1fr 28px;
    column-gap: 14px;
  }

  .service-main h3 {
    font-size: clamp(24px, 9vw, 38px);
  }

  .service-content p {
    font-size: 17px;
    line-height: 1.2;
  }

  .service-content p + p {
    margin-top: 16px;
  }

  .service-arrow {
    font-size: 28px;
  }

  .clients-section {
    padding: 48px 20px 60px;
  }

  .logo-cell {
    min-height: 112px;
    padding: 16px 14px;
  }

  .logo-cell:not(:nth-child(2n))::after {
    top: 12px;
    bottom: 12px;
  }

  .logo-cell img {
    max-width: 70%;
    max-height: 40%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .about-footer-contact {
    font-size: 12px;
  }

  .about-footer-links a {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .about-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .about-footer-bottom-left {
    text-align: left;
  }

  .about-footer-bottom-right {
    margin-top: 0;
    text-align: right;
  }
}

.menu-trigger a.is-active {
  opacity: 1;
}

.mobile-menu-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
}

.mobile-menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #ffffff;
}

.mobile-menu-toggle span:first-child {
  top: 6px;
}

.mobile-menu-toggle span:last-child {
  bottom: 6px;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: #f3f3f1;
  color: #111111;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 24px 32px;
  position: relative;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mobile-menu-close {
  width: 28px;
  height: 28px;
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
}

.mobile-menu-close span {
  position: absolute;
  top: 13px;
  left: 2px;
  width: 24px;
  height: 1.5px;
  background: #111111;
}

.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-nav {
  position: absolute;
  right: 24px;
  bottom: max(42px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mobile-menu-link {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  font-size: clamp(72px, 16vw, 112px);
  line-height: 0.9;
  color: #8a8a8a;
  letter-spacing: -0.02em;
}

.mobile-menu-link + .mobile-menu-link {
  margin-top: 8px;
}

.mobile-menu-link .number {
  font-size: 15px;
  min-width: 28px;
  letter-spacing: 0.12em;
  text-align: right;
  color: #8a8a8a;
}

.mobile-menu-link:hover,
.mobile-menu-link.is-active,
.mobile-menu-link.is-active .text,
.mobile-menu-link.is-active .number {
  color: #111111;
}

@media (max-width: 900px) {
  .menu-trigger {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 560px) {
  .mobile-menu-inner {
    padding: 20px 20px 28px;
  }

  .mobile-menu-nav {
    right: 20px;
    bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .mobile-menu-link {
    font-size: clamp(64px, 15vw, 96px);
    gap: 14px;
  }

  .mobile-menu-link .number {
    font-size: 11px;
  }
}