
:root {
  --background: #F8F7F4;
  --surface: #FFFFFF;
  --ink: #17151A;
  --muted: #66626A;
  --line: #DEDAD7;

  --violet: #800080;
  --red: #FA090F;
  --gold: #F0BE39;

  --font: 'Sora', Arial, sans-serif;
  --container: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 5px;
}

.container {
  width: min(100% - 96px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 20px;
}

/* Header */

.site-header {
  background: var(--background);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-symbol {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--violet);
  position: relative;
}

.brand-symbol::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  top: -2px;
  right: -2px;
}

.brand-name,
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.brand-name span,
.footer-brand span {
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 42px);
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--violet);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  white-space: nowrap;
}

.language-switch a {
  color: var(--muted);
}

.language-switch a.active {
  color: var(--violet);
  font-weight: 700;
}

.language-divider {
  color: #B9B5B8;
}

/* Common */

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.accent-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 10px;
}

.section-pad {
  padding-block: clamp(88px, 11vw, 170px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  color: var(--violet);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 66px);
  line-height: 1.15;
  letter-spacing: -0.065em;
  font-weight: 500;
  max-width: 800px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 18px 25px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
      background 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 18px;
  line-height: 1;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--violet);
}

.button-light {
  background: var(--background);
  color: var(--ink);
}

.button-light:hover {
  background: var(--gold);
}

/* Hero */

section.hero {
  padding:
      clamp(65px, 7vw, 110px) 0
      clamp(65px, 8vw, 120px);  
}

/* .hero-inner {
  padding-block: clamp(110px, 12vw, 195px) 130px;
} */

.hero .eyebrow {
  color: var(--violet);
  margin-bottom: 38px;
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-weight: 400;

  max-width: 900px;
  margin: 0 0 55px;
  overflow-wrap: break-word;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 55px;
}

.hero-description {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.9;
}

/* Services */

.services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 25px;
  padding: 55px 45px 55px 0;
}

.service-item + .service-item {
  padding-left: 45px;
  border-left: 1px solid var(--line);
}

.service-number {
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
}

.service-content h3 {
  margin: 0 0 25px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.065em;
  font-weight: 500;
}

.service-content p {
  max-width: 420px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--violet);
  border-color: var(--violet);
}

.text-link span {
  font-size: 19px;
  line-height: 1;
}

/* Clients */

.clients {
  background: var(--background);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-logo {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #929098;
  text-align: center;
}

.client-logo span {
  font-size: clamp(13px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

/* CTA */

.contact-cta {
  background: var(--ink);
  color: white;
}

.cta-inner {
  padding-block: clamp(100px, 12vw, 180px);
}

.contact-cta .eyebrow {
  color: var(--gold);
  margin-bottom: 40px;
}

.cta-inner h2 {
  max-width: 1150px;
  font-size: clamp(40px, 6.5vw, 100px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.13;
  margin: 0 0 70px;
}

.cta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-bottom p {
  margin: 0;
  max-width: 480px;
  color: #BDB9C1;
  font-size: 14px;
}

/* Footer */

.site-footer {
  padding-top: 85px;
  background: var(--surface);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 95px;
}

.footer-brand {
  font-size: 28px;
}

.footer-top p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 18px 32px;
}

.footer-nav a {
  font-size: 12px;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.footer-languages {
  display: flex;
  gap: 22px;
}

/* Tablet */

@media (max-width: 1024px) {
  .container {
      width: min(100% - 64px, var(--container));
  }

  .header-inner {
      gap: 20px;
  }

  .main-nav {
      gap: 18px;
  }

  .service-item {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .service-item + .service-item {
      padding-left: 30px;
  }

  .hero-title {
      letter-spacing: -0.075em;
  }
}

/* Smartphone */

@media (max-width: 767px) {
  .container {
      width: calc(100% - 40px);
  }

  .header-inner {
      min-height: 78px;
      flex-wrap: wrap;
      gap: 16px;
      padding-block: 18px;
  }

  .brand-name {
      font-size: 16px;
  }

  .main-nav {
      order: 3;
      width: 100%;
      gap: 24px;
      overflow-x: auto;
      padding: 8px 0 3px;
      scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
      display: none;
  }

  .main-nav a {
      white-space: nowrap;
      font-size: 12px;
  }

  /* .hero-inner {
      padding-block: 100px 90px;
  } */

  .hero .eyebrow {
      margin-bottom: 28px;
  }

  .hero-title {
    font-size: clamp(30px, 7vw, 46px);
    margin-bottom: 35px;
  }

  .hero-bottom,
  .cta-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;
  }

  .button {
      width: 100%;
      max-width: 300px;
  }

  .section-pad {
      padding-block: 90px;
  }

  .section-heading {
      grid-template-columns: 1fr;
      gap: 22px;
      margin-bottom: 45px;
  }

  .section-heading h2 {
      font-size: clamp(32px, 8vw, 44px);
  }

  .services-grid {
      grid-template-columns: 1fr;
  }

  .service-item,
  .service-item + .service-item {
      padding: 38px 0;
      border-left: 0;
  }

  .service-item + .service-item {
      border-top: 1px solid var(--line);
  }

  .service-content h3 {
      font-size: 38px;
  }

  .service-content p {
      margin-bottom: 30px;
  }

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

  .client-logo {
      height: 118px;
      padding: 12px;
  }

  .client-logo span {
      font-size: 13px;
  }

  .cta-inner {
      padding-block: 100px;
  }

  .cta-inner h2 {
      font-size: clamp(37px, 9vw, 60px);
      margin-bottom: 45px;
  }

  .footer-top {
      flex-direction: column;
      gap: 45px;
      padding-bottom: 65px;
  }

  .footer-nav {
      gap: 18px 25px;
  }

  .footer-bottom {
      flex-direction: column;
      gap: 16px;
  }
}

/* Large Screens */

@media (min-width: 1600px) {
  .hero-inner {
      padding-block: 210px 155px;
  }

  .section-pad {
      padding-block: 180px;
  }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  html {
      scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
  }
}


/* ======================================
   Hero Animated Brand Typography
====================================== */

.hero-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  margin-bottom: clamp(50px, 7vw, 100px);

  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 8.5vw, 145px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.065em;

  color: var(--ink);
  white-space: nowrap;
}

.wordmark-letter {
  display: inline-block;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(35px);

  animation: wordmark-reveal 0.85s
      cubic-bezier(0.22, 1, 0.36, 1)
      forwards;

  animation-delay: calc(
      0.15s + var(--letter-index) * 0.095s
  );
}

@keyframes wordmark-reveal {
  from {
      opacity: 0;
      transform: translateY(24px);
  }

  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Tablet */

@media (max-width: 1024px) {
  .hero-wordmark {
      font-size: clamp(24px, 6.2vw, 65px);
  }
}

/* Smartphone */

@media (max-width: 767px) {
  .hero-wordmark {
      font-size: clamp(18px, 5.3vw, 42px);
      letter-spacing: -0.075em;
      margin-bottom: 55px;
  }

  .wordmark-letter {
      transform: translateY(20px);
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .wordmark-letter {
      opacity: 1;
      transform: none;
      animation: none;
  }
}
