:root {
  --bg: #050505;
  --bg-soft: #0d0d0f;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #fbfbfb;
  --muted: #b5b5bc;
  --muted-strong: #8e8e97;
  --accent: #ffffff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #070707 0%, #050505 42%, #0a0a0c 100%);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 40;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #050505;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
  pointer-events: none;
  z-index: -2;
}

.page-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
  z-index: -1;
  pointer-events: none;
}

.page-glow-top {
  top: -10rem;
  right: -8rem;
  background: rgba(255, 255, 255, 0.4);
}

.page-glow-bottom {
  bottom: -12rem;
  left: -10rem;
  background: rgba(94, 125, 255, 0.22);
}

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

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 1rem;
  transition: padding-top 0.3s ease;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  transition:
    padding 0.3s ease,
    border-radius 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 0 0 auto;
  min-width: 0;
}

.header-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  margin-left: auto;
}

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

.brand-logo {
  display: block;
  width: auto;
  max-width: min(11.25rem, 24vw);
  height: 2.45rem;
  transition:
    max-width 0.3s ease,
    height 0.3s ease;
}

.header-meta,
.section-kicker,
.card-label,
.pill-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
}

.header-meta,
.section-kicker,
.card-label {
  color: var(--muted-strong);
  transition:
    font-size 0.3s ease,
    letter-spacing 0.3s ease;
}

.header-meta {
  flex: 1 1 auto;
  justify-self: center;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.9rem;
  padding: 0 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font: inherit;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle-box {
  display: grid;
  gap: 0.26rem;
  width: 1rem;
}

.menu-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle-text {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header.menu-open .menu-toggle-line:nth-child(1) {
  transform: translateY(3.8px) rotate(45deg);
}

.site-header.menu-open .menu-toggle-line:nth-child(2) {
  transform: translateY(-3.8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  gap: 0.55rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 2.35rem;
  min-width: 5.2rem;
  padding: 0 0.85rem 0 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.language-toggle-value {
  line-height: 1;
}

.language-toggle-icon {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.language-switcher.is-open .language-toggle-icon {
  transform: rotate(-135deg) translate(-0.08rem, -0.08rem);
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 0.2rem;
  min-width: 100%;
  padding: 0.28rem;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0s;
}

.language-option {
  min-height: 2.2rem;
  padding: 0 0.82rem;
  border: 0;
  border-radius: 0.8rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.language-option:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.language-option.active {
  background: #ffffff;
  color: #050505;
}

.nav-link {
  padding: 0.72rem 0.98rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.nav-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-link.active {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
}

.section {
  padding: 5rem 0;
}

.hero-section {
  padding-top: 3rem;
}

.hero-grid,
.process-grid,
.service-top,
.why-section {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
}

.hero-copy {
  max-width: 42rem;
  padding-top: 2rem;
}

.pill-label {
  display: inline-flex;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: #d6d6dc;
  margin-bottom: 1.5rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.1rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.16;
}

p,
li {
  line-height: 1.8;
}

.lead,
.sublead,
.section-copy,
.metric-copy,
.mission-copy,
.service-card p,
.why-copy p {
  color: var(--muted);
}

.lead {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.sublead {
  margin: 1rem 0 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.button-primary {
  background: #ffffff;
  color: #050505;
}

.button-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: rgba(255, 255, 255, 0.9);
}

.hero-aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card,
.mission-card,
.client-card,
.process-card,
.audience-card,
.service-card,
.contact-simple,
.why-section {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.metric-card,
.mission-card,
.process-card,
.audience-card,
.service-card,
.contact-simple {
  border-radius: var(--radius-xl);
  padding: 1.7rem;
}

.metric-card-grid {
  display: grid;
  gap: 1rem;
}

.hero-aside .metric-card:nth-child(1),
.hero-aside .metric-card:nth-child(2) {
  min-height: 15rem;
}

.mission-card {
  grid-column: 1 / -1;
  min-height: 14rem;
}

.metric-value {
  margin: 0.65rem 0 0;
  font-size: clamp(3.1rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
}

.metric-title {
  margin: 0.65rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 600;
}

.metric-copy,
.mission-copy {
  margin: 0.85rem 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.section-copy {
  max-width: 34rem;
  margin: 0;
}

.client-grid,
.process-grid,
.service-grid {
  display: grid;
  gap: 1rem;
}

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

.client-card {
  display: grid;
  align-content: end;
  gap: 0.35rem;
  min-height: 7.8rem;
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  text-align: left;
  color: #ebebef;
}

.client-wordmark,
.client-meta {
  display: block;
}

.client-wordmark {
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.client-meta {
  color: var(--muted-strong);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.client-dg .client-wordmark,
.client-roberto .client-wordmark,
.client-just .client-wordmark {
  font-family: Georgia, serif;
  letter-spacing: 0.03em;
}

.client-loro .client-wordmark,
.client-fendi .client-wordmark {
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: 0.01em;
}

.client-etro .client-wordmark,
.client-ducati .client-wordmark,
.client-ferre .client-wordmark,
.client-ea7 .client-wordmark {
  letter-spacing: 0.18em;
}

.client-card:hover,
.process-card:hover,
.service-card:hover,
.audience-list li:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

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

.process-index {
  margin: 0 0 0.75rem;
  color: var(--muted-strong);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
}

.service-top {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: start;
  margin-bottom: 1.7rem;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.audience-list li {
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #efeff3;
  transition: background 0.3s ease;
}

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

.service-card p,
.why-copy p,
.process-card p,
.contact-simple p {
  margin-bottom: 0;
}

.why-section {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-radius: 2rem;
  padding: 2rem;
  margin-top: 1.8rem;
}

.why-copy p {
  max-width: 50rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-simple {
  max-width: 42rem;
}

.contact-email {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.contact-email:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.contact-note {
  min-height: 1.5rem;
  margin: 0;
  color: #e7e7eb;
  font-size: 0.92rem;
}

.contact-dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.75rem;
  width: min(calc(100% - 1.2rem), 34rem);
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  z-index: 25;
}

.contact-dock-link {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.92rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-dock-copy {
  flex: 0 0 auto;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.site-footer {
  padding-bottom: 2.5rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-link:focus-visible,
.language-toggle:focus-visible,
.language-option:focus-visible,
.menu-toggle:focus-visible,
.button:focus-visible,
.contact-email:focus-visible,
.contact-dock-link:focus-visible,
.contact-dock-copy:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .header-meta {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .process-grid,
  .service-top,
  .why-section,
  .section-heading,
  .footer-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .site-header {
    padding-top: 0.8rem;
  }

  .header-shell {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 28px;
  }

  .site-header.is-scrolled {
    padding-top: 0.45rem;
  }

  .site-header.is-scrolled .header-shell {
    padding: 0.72rem 0.85rem;
    border-radius: 20px;
  }

  .site-header.is-scrolled .brand-logo {
    max-width: min(13.5rem, 50vw);
    height: 2.45rem;
  }

  .header-main,
  .cta-row {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .header-meta {
    display: none;
  }

  .header-side {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.85rem;
    margin-left: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    padding-top: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding-top 0.25s ease,
      visibility 0s linear 0.35s;
  }

  .site-header.menu-open .header-side {
    max-height: 26rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding-top 0.25s ease,
      visibility 0s linear 0s;
  }

  .language-switcher {
    width: 100%;
  }

  .language-toggle {
    width: 100%;
  }

  .language-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.45rem;
    box-shadow: none;
  }

  .language-option {
    width: 100%;
    min-height: 2.35rem;
    padding: 0 0.8rem;
    font-size: 0.74rem;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    padding-bottom: 0;
    gap: 0.5rem;
  }

  .nav-link {
    width: 100%;
    padding: 0.82rem 1rem;
    font-size: 0.88rem;
    text-align: left;
  }

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

  .hero-aside {
    grid-template-columns: 1fr 1fr;
  }

  .contact-dock {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--content-width));
  }

  .section {
    padding: 3.4rem 0;
  }

  .cta-row,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-aside,
  .process-grid,
  .client-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-dock {
    flex-direction: column;
    border-radius: 28px;
  }

  .contact-dock-link,
  .contact-dock-copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
