:root {
  color-scheme: dark;
  --black: #020202;
  --ink: #f8f1e6;
  --soft: #d5c8b5;
  --muted: rgba(248, 241, 230, 0.64);
  --gold: #d8b76f;
  --line: rgba(248, 241, 230, 0.18);
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: Montserrat, "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.14;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(18px, 4vw, 56px);
  transition: opacity 220ms ease, transform 220ms ease, padding 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px clamp(12px, 2.8vw, 34px);
  z-index: -1;
  border: 1px solid transparent;
  border-radius: 999px;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.52)),
    linear-gradient(90deg, rgba(216, 183, 111, 0.18), rgba(248, 241, 230, 0.04) 22%, rgba(248, 241, 230, 0.04) 78%, rgba(216, 183, 111, 0.18));
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px) saturate(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.06);
  transform: translateY(-8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

body.is-scrolled .site-header {
  padding-top: 18px;
  padding-bottom: 18px;
}

body.is-scrolled .site-header::before {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(248, 241, 230, 0.09);
}

.is-footer .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.55));
}

.top-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.top-nav a,
.menu-button,
.side-index a,
.keyword-nav a,
.sound-toggle,
.bottom-bar a,
.footer-col a,
.footer-bottom a {
  transition: color 180ms ease, opacity 180ms ease, border-color 180ms ease;
}

.top-nav a:hover,
.menu-button:hover,
.side-index a:hover,
.side-index a.is-active,
.keyword-nav a:hover,
.sound-toggle:hover,
.bottom-bar a:hover,
.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
}

.sound-toggle svg,
.whatsapp-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-icon--on {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-icon--off {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-icon--on {
  display: block;
}

.menu-button {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.side-index {
  position: fixed;
  top: 50%;
  left: clamp(18px, 3.5vw, 54px);
  z-index: 60;
  display: grid;
  width: 168px;
  gap: 18px;
  transform: translateY(-50%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.is-footer .side-index {
  opacity: 0;
  pointer-events: none;
  transform: translate(-14px, -50%);
}

.is-excellence .side-index {
  opacity: 0;
  pointer-events: none;
  transform: translate(-14px, -50%);
}

.side-index a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: baseline;
  color: rgba(248, 241, 230, 0.52);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.side-index strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  place-items: center;
  background: rgba(2, 2, 2, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel div {
  display: grid;
  gap: 14px;
  text-align: center;
}

.menu-panel a {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.page-flow {
  scroll-snap-type: y proximity;
}

.chapter,
.legacy,
.contact {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  overflow: hidden;
}

.chapter-media,
.chapter-shade {
  position: absolute;
  inset: 0;
}

.chapter-media {
  background: #050505;
}

.chapter-media img,
.image-chapter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(0.94) contrast(1.08);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 1;
  pointer-events: none;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05);
}

#innovation .chapter-media img {
  object-position: center center;
  transform: scale(1.01);
}

#collaboration .chapter-media img {
  object-position: center center;
  transform: scale(1);
  filter: saturate(1.05) contrast(1.08) brightness(0.92);
}

.chapter-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.32) 48%, rgba(0, 0, 0, 0.7)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), #020202 100%);
}

.hero-chapter .chapter-shade {
  background:
    radial-gradient(circle at 50% 38%, rgba(216, 183, 111, 0.12), transparent 20rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), #020202 100%);
}

.chapter-copy {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(820px, calc(100vw - 390px));
  min-height: 100svh;
  align-content: center;
  margin-left: clamp(230px, 19vw, 330px);
  padding: 128px 0 92px;
}

.align-right .chapter-copy {
  margin-right: clamp(64px, 10vw, 160px);
  margin-left: auto;
}

.micro,
.keyword-nav,
.bottom-bar,
.button,
.section-number {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.micro {
  margin: 0 0 18px;
  color: var(--gold);
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
  overflow-wrap: normal;
}

h1 {
  font-size: clamp(5rem, 10vw, 10.6rem);
}

h2 {
  font-size: clamp(3.8rem, 8vw, 8.8rem);
}

.chapter-copy p:not(.micro),
.split-copy p {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--soft);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(248, 241, 230, 0.38);
  border-radius: 2px;
  padding: 0 18px;
  background: rgba(248, 241, 230, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.button.ghost {
  background: rgba(2, 2, 2, 0.24);
}

.keyword-nav {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  top: 50%;
  z-index: 4;
  display: grid;
  gap: 16px;
  transform: translateY(-50%);
  color: rgba(248, 241, 230, 0.58);
  text-align: right;
}

.bottom-bar {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  color: rgba(248, 241, 230, 0.68);
}

.bottom-bar > span {
  justify-self: center;
  text-align: center;
}

.bottom-bar .whatsapp-link {
  justify-self: end;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.whatsapp-link svg {
  fill: none;
}

.section-number {
  position: absolute;
  right: clamp(20px, 5vw, 74px);
  bottom: clamp(28px, 6vw, 82px);
  z-index: 3;
  color: rgba(248, 241, 230, 0.22);
  font-family: var(--serif);
  font-size: clamp(7rem, 18vw, 19rem);
  line-height: 0.8;
}

.split-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #060606;
}

.split-visual {
  display: grid;
  justify-items: center;
  align-items: start;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(216, 183, 111, 0.08), rgba(0, 0, 0, 0.14)),
    #050505;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-visual .excellence-visual,
.split-visual .excellence-video {
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  object-fit: contain;
  object-position: top center;
  filter: saturate(1.03) contrast(1.05) brightness(0.92);
}

.split-visual .excellence-video {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.split-copy {
  display: grid;
  align-content: center;
  padding: 120px clamp(24px, 7vw, 96px);
  background:
    radial-gradient(circle at 100% 0, rgba(216, 183, 111, 0.1), transparent 24rem),
    #050505;
}

.split-copy h2 {
  font-size: clamp(3.8rem, 8.2vw, 9.4rem);
}

dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: baseline;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
}

dd {
  margin: 0;
  color: var(--soft);
}

.legacy {
  --logo-gap: 14px;
  --logo-gap-half: 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 18px;
  padding: 112px clamp(18px, 4vw, 56px) 84px clamp(210px, 18vw, 320px);
  background:
    radial-gradient(circle at 50% 0, rgba(216, 183, 111, 0.12), transparent 28rem),
    #030303;
}

.legacy h2 {
  font-size: clamp(4.6rem, 12vw, 12.8rem);
}

.legacy-cta {
  display: inline-flex;
  width: min(100%, 1120px);
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-size: clamp(0.78rem, 1vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.legacy-cta::before {
  content: "";
  flex: 0 0 42px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(216, 183, 111, 0.38);
}

.legacy-cta span,
.legacy-clients-link {
  width: fit-content;
  transition: color 180ms ease;
}

.legacy-cta:hover span,
.legacy-clients-link:hover {
  color: var(--gold);
}

.logo-carousel {
  position: relative;
  width: min(100%, 1120px);
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-carousel-track,
.logo-carousel-set {
  display: flex;
  gap: var(--logo-gap);
  width: max-content;
}

.logo-carousel-track {
  will-change: transform;
  animation: logoDrift 54s linear infinite;
}

.logo-carousel:hover .logo-carousel-track,
.logo-carousel:focus-within .logo-carousel-track {
  animation-play-state: paused;
}

.logo-card {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: clamp(150px, 14vw, 212px);
  height: clamp(82px, 7vw, 108px);
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 241, 230, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0, rgba(216, 183, 111, 0.11), transparent 76%),
    rgba(248, 241, 230, 0.045);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  transition: opacity 180ms ease, transform 520ms ease;
}

.logo-card img {
  position: relative;
  z-index: 1;
  width: clamp(118px, 11.5vw, 174px);
  height: clamp(46px, 4.8vw, 66px);
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.22) contrast(0.94) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.logo-card--tall img {
  width: clamp(84px, 7.5vw, 118px);
  height: clamp(62px, 5.8vw, 78px);
}

.logo-card--mcoi img {
  width: clamp(132px, 12.5vw, 190px);
  height: clamp(66px, 5.9vw, 84px);
}

.logo-card:hover {
  border-color: rgba(216, 183, 111, 0.46);
  background:
    radial-gradient(circle at 50% 0, rgba(216, 183, 111, 0.2), transparent 76%),
    rgba(248, 241, 230, 0.07);
  transform: translateY(-4px);
}

.logo-card:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

.logo-card:hover img {
  opacity: 1;
  filter: grayscale(0.6) brightness(1.5) contrast(1.02) drop-shadow(0 16px 30px rgba(216, 183, 111, 0.22));
  transform: scale(1.06);
}

.legacy-clients-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-size: clamp(1.42rem, 2.45vw, 2.55rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

@keyframes logoDrift {
  to {
    transform: translateX(calc(-50% - var(--logo-gap-half)));
  }
}

.subpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(216, 183, 111, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 24%, rgba(216, 183, 111, 0.08), transparent 28rem),
    linear-gradient(180deg, #050505, #020202 38%, #030303);
}

.subpage .site-header::before {
  opacity: 1;
  border-color: rgba(248, 241, 230, 0.09);
  transform: translateY(0);
}

.subpage .top-nav a.is-current {
  color: var(--gold);
}

.subpage-main {
  position: relative;
  z-index: 1;
  padding: 132px clamp(18px, 5vw, 72px) 42px;
}

.subpage-main::before {
  content: "";
  position: fixed;
  inset: auto -10vw 0;
  z-index: -1;
  height: 38vh;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(216, 183, 111, 0.13), transparent 68%);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  min-height: 56vh;
  padding-bottom: clamp(42px, 7vw, 92px);
}

.page-hero h1,
.studio-soon h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 10.5vw, 11.2rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.84;
  text-transform: uppercase;
}

.page-hero p:not(.micro),
.studio-soon p:not(.micro) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.page-hero-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(248, 241, 230, 0.06), rgba(248, 241, 230, 0.02)),
    rgba(2, 2, 2, 0.38);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.page-hero-card strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 600;
  line-height: 0.88;
}

.page-hero-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 6vw, 92px);
  align-items: start;
  padding: clamp(26px, 4.4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}

.service-row h2 {
  margin: 0;
  font-family: var(--serif);
  max-width: 11ch;
  font-size: clamp(2.25rem, 4.15vw, 4.65rem);
  font-weight: 600;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.service-row p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  justify-content: flex-start;
  gap: 8px;
  margin-top: -22px;
}

.service-tags span,
.placeholder-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(248, 241, 230, 0.14);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(248, 241, 230, 0.7);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: clamp(46px, 8vw, 92px) 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-metrics div {
  padding: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(circle at 50% 0, rgba(216, 183, 111, 0.12), transparent 70%),
    #050505;
}

.service-metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.9;
}

.service-metrics span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: clamp(54px, 8vw, 96px);
}

.placeholder-card {
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(216, 183, 111, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(248, 241, 230, 0.06), rgba(248, 241, 230, 0.015));
}

.placeholder-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px) 0 20px;
  border-top: 1px solid var(--line);
}

.service-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.8vw, 6rem);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

.studio-soon {
  min-height: calc(100vh - 174px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.42fr);
  gap: clamp(44px, 8vw, 132px);
  align-items: center;
}

.studio-soon > div:first-child {
  max-width: 880px;
}

.studio-soon h1 {
  max-width: 8.8ch;
  font-size: clamp(3.6rem, 7.5vw, 8.4rem);
  line-height: 0.86;
}

.studio-soon .actions {
  margin-top: 26px;
}

.studio-logo-card {
  display: grid;
  place-items: center;
  min-height: min(52vh, 420px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 34%, rgba(216, 183, 111, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(248, 241, 230, 0.05), rgba(248, 241, 230, 0.015));
}

.studio-logo-card img {
  width: min(72%, 300px);
  filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.52));
}

.contact {
  min-height: auto;
  display: grid;
  gap: 54px;
  padding: 88px clamp(18px, 5vw, 72px) 34px;
  background:
    radial-gradient(circle at 0% 50%, rgba(216, 183, 111, 0.18), transparent 28rem),
    linear-gradient(180deg, #030303, #010101);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  grid-template-columns: 94px minmax(0, 560px);
  gap: 26px;
  align-items: center;
  width: min(100%, 980px);
}

.footer-brand img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(216, 183, 111, 0.18));
}

.footer-brand p:not(.micro) {
  margin: 0;
  color: var(--soft);
  font-size: clamp(0.95rem, 1.4vw, 1.18rem);
  text-transform: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 5vw, 74px);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--soft);
}

.footer-col h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span,
.footer-bottom {
  color: rgba(248, 241, 230, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-col .long-link {
  overflow-wrap: anywhere;
  text-transform: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1180px) {
  .side-index,
  .keyword-nav {
    display: none;
  }

  .chapter-copy {
    width: min(720px, calc(100vw - 96px));
    margin-left: clamp(48px, 8vw, 96px);
  }

  .align-right .chapter-copy {
    margin-right: clamp(48px, 8vw, 96px);
  }

  h1 {
    font-size: 7.2rem;
  }

  h2,
  .split-copy h2 {
    font-size: 5.8rem;
  }

  .legacy {
    padding-left: clamp(48px, 8vw, 96px);
  }

  .legacy h2 {
    font-size: 8.4rem;
  }

  .logo-card {
    width: 178px;
    height: 98px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header::before {
    inset: 10px 14px;
  }

  .top-nav {
    display: none;
  }

  .chapter-copy,
  .align-right .chapter-copy {
    width: auto;
    margin: 0;
    padding: 124px 20px 86px;
  }

  #innovation .chapter-media img {
    transform: scale(1.01);
  }

  h1 {
    font-size: 6.2rem;
  }

  h2,
  .split-copy h2 {
    font-size: 5.4rem;
  }

  .legacy h2 {
    font-size: 7rem;
  }

  .split-chapter {
    grid-template-columns: 1fr;
  }

  .split-visual {
    min-height: 45svh;
  }

  .split-visual .excellence-visual,
  .split-visual .excellence-video {
    object-position: top center;
  }

  .split-visual .excellence-video {
    object-position: center center;
  }

  .split-copy {
    min-height: 55svh;
    padding: 64px 20px;
  }

  .legacy {
    padding: 92px 20px 72px;
  }

  .logo-carousel {
    width: 100%;
  }

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

  .page-hero,
  .studio-soon {
    grid-template-columns: 1fr;
  }

  .studio-soon {
    gap: 38px;
  }

  .studio-soon h1 {
    max-width: 9.5ch;
    font-size: clamp(3.5rem, 10vw, 6.8rem);
  }

  .page-hero {
    min-height: auto;
    padding-top: 42px;
  }

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

  .service-tags {
    grid-column: auto;
    justify-content: flex-start;
    margin-top: 0;
  }

  .visual-placeholders {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 4.8rem;
  }

  h2,
  .split-copy h2 {
    font-size: 3.65rem;
  }

  .legacy h2 {
    font-size: 5.2rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    --mobile-header-progress: 0;
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    right: 24px;
    left: 24px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 34px;
    min-height: 58px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateY(calc(var(--mobile-header-progress) * -7px))
      scale(calc(1 - (var(--mobile-header-progress) * 0.045)));
    transform-origin: top center;
    transition:
      opacity 220ms ease,
      transform 160ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  body.is-scrolled .site-header {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: 20px;
    left: 20px;
    min-height: 58px;
    padding: 7px 22px 7px 16px;
    border-color: rgba(248, 241, 230, 0.17);
    background:
      linear-gradient(180deg, rgba(31, 27, 22, 0.9), rgba(20, 18, 15, 0.78)),
      rgba(2, 2, 2, 0.48);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      inset 0 -1px 0 rgba(216, 183, 111, 0.1);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
  }

  .menu-panel a {
    font-size: 3.35rem;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 48px;
    transition: width 180ms ease, height 180ms ease;
  }

  body.is-scrolled .brand img {
    width: 40px;
    height: 40px;
  }

  .chapter-copy,
  .align-right .chapter-copy {
    min-height: 100svh;
    padding: 112px 18px 76px;
  }

  .site-header::before {
    content: none;
  }

  #innovation .chapter-media img {
    transform: scale(1.01);
  }

  h1 {
    font-size: 4.1rem;
  }

  h2,
  .split-copy h2 {
    font-size: 2.85rem;
    line-height: 0.92;
  }

  .legacy h2 {
    font-size: 4.2rem;
  }

  .chapter-copy p:not(.micro),
  .split-copy p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .split-visual {
    min-height: 50svh;
  }

  .split-visual .excellence-visual,
  .split-visual .excellence-video {
    object-position: top center;
  }

  .split-visual .excellence-video {
    object-position: center center;
  }

  .actions {
    display: grid;
    width: min(100%, 360px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
  }

  .button {
    width: auto;
    min-height: 44px;
    justify-content: center;
    padding-inline: 12px;
    text-align: center;
  }

  .bottom-bar {
    left: 16px;
    right: 16px;
    bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 0;
    min-height: 76px;
    padding: 0;
    border-top: 1px solid rgba(248, 241, 230, 0.15);
    border-bottom: 1px solid rgba(248, 241, 230, 0.12);
    background:
      linear-gradient(90deg, rgba(2, 2, 2, 0.52), rgba(2, 2, 2, 0.26)),
      rgba(2, 2, 2, 0.18);
  }

  .bottom-bar > span {
    position: relative;
    display: inline-flex;
    justify-self: stretch;
    width: 100%;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(248, 241, 230, 0.12);
    border-right: 1px solid rgba(248, 241, 230, 0.12);
    color: var(--ink);
    font-size: 0;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .bottom-bar > span::before {
    content: "NEXT";
    font-size: 0.76rem;
  }

  .bottom-bar > span::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 14px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: 0.86;
    transform: rotate(45deg);
  }

  .sound-toggle,
  .whatsapp-link {
    width: 100%;
    min-height: 76px;
    justify-content: center;
  }

  .sound-toggle {
    justify-self: stretch;
  }

  .whatsapp-link {
    justify-self: stretch;
    border-right: 0;
  }

  .sound-toggle span,
  .whatsapp-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .bottom-bar::after {
    content: none;
  }

  .section-number {
    display: none;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .logo-card {
    width: 142px;
    height: 82px;
  }

  .contact {
    padding: 72px 18px 28px;
  }

  .subpage-main {
    padding: 104px 18px 34px;
  }

  .page-hero {
    gap: 28px;
    padding-bottom: 54px;
  }

  .page-hero h1,
  .studio-soon h1 {
    font-size: 4.05rem;
  }

  .studio-soon h1 {
    max-width: 8.8ch;
    font-size: 3.55rem;
  }

  .page-hero-card {
    padding: 18px;
  }

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

  .service-tags {
    grid-column: auto;
    margin-top: 0;
  }

  .service-metrics,
  .visual-placeholders,
  .service-cta {
    grid-template-columns: 1fr;
  }

  .placeholder-card {
    min-height: 168px;
  }

  .studio-logo-card {
    min-height: 270px;
  }

  .footer-brand,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    gap: 18px;
  }

  .footer-brand img {
    width: 76px;
    height: 76px;
  }

  .footer-bottom {
    display: grid;
  }

}

@media (max-width: 420px) {
  h1 {
    font-size: 3.55rem;
  }

  h2,
  .split-copy h2 {
    font-size: 2.48rem;
  }

  .legacy h2 {
    font-size: 3.55rem;
  }

  .micro,
  .button,
  .footer-col a,
  .footer-col span,
  .footer-bottom {
    font-size: 0.7rem;
  }

  .actions {
    width: min(100%, 250px);
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .button {
    width: 100%;
    min-height: 43px;
  }
}

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

  .logo-carousel-track {
    animation: none !important;
    transform: none !important;
  }
}
