@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --red: #ed0016;
  --ink: #080808;
  --carbon: #111111;
  --paper: #f4f4f4;
  --steel: #b8b8b8;
  --line: #242424;
  --logo-black: #231f20;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --soft-line-dark: rgba(8, 8, 8, 0.14);
  --soft-line-light: rgba(255, 255, 255, 0.14);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Inter", Arial, sans-serif;
  --motion-instant: 140ms;
  --motion-fast: 180ms;
  --motion-medium: 260ms;
  --motion-slow: 480ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: white;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: white;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--red);
  color: white;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(237, 0, 22, 0.22);
}

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 5rem;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.skip-link {
  position: fixed;
  z-index: 200;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  background: white;
  color: var(--ink);
  padding: 0.8rem 1rem;
  font-weight: 600;
  transition: transform var(--motion-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-pad {
  padding: clamp(6rem, 11vw, 11rem) var(--gutter);
}

.section-pad-x {
  padding-inline: var(--gutter);
}

.scroll-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 6.2rem;
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-inline: var(--gutter);
  isolation: isolate;
  background: rgba(5, 5, 5, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(0, 0, 0, 0.58);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.055);
  transition: background var(--motion-medium) ease, border-color var(--motion-medium) ease,
    box-shadow var(--motion-medium) ease, backdrop-filter var(--motion-medium) ease;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 23%, transparent 58%),
    linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.035) 38%, transparent 68%);
  opacity: 0.86;
  transition: opacity var(--motion-medium) ease;
}

.brand-lockup,
.desktop-nav,
.header-actions,
.menu-trigger {
  position: relative;
  z-index: 2;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.075);
}

.site-header.is-scrolled::before {
  opacity: 0.54;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(5, 5, 5, 0.68);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    backdrop-filter: blur(20px) saturate(125%);
  }

  .site-header.is-scrolled {
    background: rgba(5, 5, 5, 0.84);
    -webkit-backdrop-filter: blur(22px) saturate(118%);
    backdrop-filter: blur(22px) saturate(118%);
  }
}

.brand-lockup {
  position: relative;
  width: 7.2rem;
  height: 5.45rem;
  display: block;
}

.brand-lockup img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.22));
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.3vw, 2.8rem);
}

.nav-link {
  position: relative;
  padding-block: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 220ms ease, opacity 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: rgba(255, 255, 255, 0.95);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(237, 0, 22, 0.65);
  transition: transform 260ms var(--ease-out), opacity 260ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: #ffffff;
  font-weight: 700;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions,
.header-socials {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-self: end;
  gap: 0.9rem;
}

.header-socials {
  gap: 0.45rem;
}

.social-button {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: white;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease,
    opacity 200ms ease;
}

.social-button svg {
  width: 1.08rem;
  height: 1.08rem;
  overflow: visible;
}

.social-button rect,
.social-button circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-button .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-button path {
  fill: currentColor;
}

a.social-button:hover,
a.social-button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.social-button.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.8rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease,
    border-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out);
}

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

.button-red:focus-visible {
  outline-color: white;
}

.menu-trigger,
.mobile-menu {
  display: none;
}

/* Hero */
.hero-root {
  background: var(--ink);
}

.hero-scroll {
  position: relative;
  height: 100svh;
  min-height: 45rem;
}

.hero-stage {
  position: relative;
  height: 100%;
  min-height: 45rem;
  overflow: hidden;
  background: var(--ink);
}

.hero-ledger {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: min(50%, 54rem);
  background: transparent;
}

.hero-copy {
  position: absolute;
  top: calc(50% + 1.5rem);
  left: var(--gutter);
  right: clamp(4.5rem, 6vw, 7rem);
  bottom: auto;
  transform: translateY(-50%);
}

.hero-kicker {
  max-width: 34rem;
  margin: 0 0 clamp(1.4rem, 2.4vh, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero-kicker span:last-child {
  flex: none;
  color: white;
}

.hero-title {
  margin: 0;
  max-width: 7.6ch;
  font-family: var(--display);
  font-size: clamp(5rem, 7.5vw, 8rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.24em;
  margin-bottom: -0.1em;
}

.hero-line > span {
  display: block;
}

@keyframes textGleam {
  0%, 8% {
    background-position: 160% center;
  }
  72%, 100% {
    background-position: -160% center;
  }
}

.hero-line-red {
  color: var(--red);
}

.hero-line-red > span {
  display: inline-block;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  background-color: var(--red);
  background-image: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    #ff6e7b 46%,
    #ffffff 50%,
    #ff6e7b 54%,
    transparent 62%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGleam 2s 850ms linear infinite both;
}

.hero-support {
  max-width: 31rem;
  margin: clamp(1.3rem, 2.6vh, 2rem) 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.88rem, 0.9vw, 1rem);
  line-height: 1.6;
}

.hero-actions {
  width: min(100%, 27.65rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.7rem auto 0;
}

.hero-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 3.05rem;
  padding-inline: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

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

.hero-actions .button-red {
  box-shadow: 0 0.55rem 1.25rem rgba(237, 0, 22, 0.18);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(8, 8, 8, 0.32);
  backdrop-filter: blur(8px);
}

.hero-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(8, 8, 8, 0.72);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  border-color: white;
  background: white;
  color: var(--ink);
}

.hero-photo-shell {
  position: absolute;
  z-index: 1;
  inset: 0;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0);
  transform-origin: center right;
}

.hero-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 120%;
}

.hero-photo picture {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

.photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #080808 0 28%,
    rgba(8, 8, 8, 0.98) 34%,
    rgba(8, 8, 8, 0.86) 43%,
    rgba(8, 8, 8, 0.62) 53%,
    rgba(8, 8, 8, 0.32) 64%,
    rgba(8, 8, 8, 0.1) 74%,
    rgba(8, 8, 8, 0) 83%
  );
  pointer-events: none;
}

.hero-rights-note {
  position: absolute;
  z-index: 4;
  right: clamp(7.5rem, 8.5vw, 10rem);
  bottom: 1.25rem;
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.56rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.045em;
  text-align: right;
  text-shadow: 0 1px 10px rgba(8, 8, 8, 0.95), 0 1px 2px #080808;
}

@keyframes laserTravel {
  0% {
    transform: translate3d(-120%, 0, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(520%, 0, 0);
    opacity: 0;
  }
}

@keyframes beaconWave {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

@keyframes coreGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.trajectory-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.timeline-year {
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1;
  text-transform: uppercase;
  flex-shrink: 0;
}

.timeline-year.is-current {
  color: #ffffff;
}

.timeline-track {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 3.5rem;
  height: 1.6rem;
  margin-inline: 0.4rem;
}

.timeline-bar {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, var(--red) 45%, #ff2e3f 100%);
  box-shadow: 0 0 8px rgba(237, 0, 22, 0.65);
  overflow: hidden;
}

.timeline-bar::after {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  width: 25%;
  min-width: 60px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
  box-shadow: 0 0 14px 2px #ffffff, 0 0 24px 4px #ff1e32;
  animation: laserTravel 3.4s 200ms infinite linear;
  will-change: transform, opacity;
}

.timeline-node-start {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}

.timeline-beacon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.beacon-core {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ff172b;
  box-shadow: 0 0 10px 2px #ff172b;
  animation: coreGlow 2.8s infinite var(--ease-standard);
  z-index: 3;
  will-change: transform, opacity;
}

.beacon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #ff2e3f;
  background: rgba(237, 0, 22, 0.3);
  box-shadow: 0 0 12px rgba(237, 0, 22, 0.8);
  animation: beaconWave 3.2s infinite var(--ease-out);
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

.beacon-ring-delay {
  animation-delay: 1.6s;
}

.trajectory-meta.is-motion-paused .timeline-bar::after,
.trajectory-meta.is-motion-paused .beacon-core,
.trajectory-meta.is-motion-paused .beacon-ring,
.client-marquee.is-motion-paused .client-track,
.floating-whatsapp.is-motion-paused .wa-beacon-ring {
  animation-play-state: paused;
}

.trajectory-meta.is-motion-paused .timeline-bar::after,
.trajectory-meta.is-motion-paused .beacon-core,
.trajectory-meta.is-motion-paused .beacon-ring,
.client-marquee.is-motion-paused .client-track {
  will-change: auto;
}

/* Intro */
.intro-section {
  background: var(--paper);
  color: var(--ink);
}

.intro-grid {
  max-width: 100rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.intro-collage {
  --photo-mount: #fff;
  --photo-edge: clamp(0.42rem, 0.75vw, 0.72rem);
  --photo-foot: clamp(0.9rem, 1.45vw, 1.35rem);
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.06 / 1;
  overflow: visible;
  background: transparent;
}

.intro-collage::after {
  content: none;
}

.intro-collage-item {
  position: absolute;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: var(--photo-edge) var(--photo-edge) var(--photo-foot);
  overflow: hidden;
  background: var(--photo-mount);
  box-shadow: 0 1.35rem 2.8rem rgba(8, 8, 8, 0.22), 0 0.25rem 0.7rem rgba(8, 8, 8, 0.12);
  transform-origin: 50% 50%;
  transition: transform var(--motion-slow) var(--ease-out), filter 360ms ease,
    box-shadow var(--motion-slow) ease;
}

.intro-collage-item::after {
  content: "";
  position: absolute;
  inset: var(--photo-edge) var(--photo-edge) var(--photo-foot);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(8, 8, 8, 0.06);
}

.intro-collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.025);
  transform: none;
  transition: filter 420ms ease;
}

.intro-collage-hit {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.intro-collage-hit:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -0.45rem;
}

.intro-collage-yokohama {
  z-index: 1;
  top: 2%;
  right: 1%;
  width: 88%;
  height: 48%;
  transform: rotate(1.2deg);
}

.intro-collage-yokohama img {
  object-position: 50% 38%;
}

.intro-collage-crepes {
  z-index: 4;
  top: 24%;
  left: 1%;
  width: 39%;
  height: 70%;
  transform: rotate(-2.2deg);
}

.intro-collage-crepes img {
  object-position: 50% 48%;
}

.intro-collage-bodytech {
  z-index: 2;
  top: 44%;
  right: 2%;
  width: 68%;
  height: 32%;
  transform: rotate(1.4deg);
}

.intro-collage-bodytech img {
  object-position: 50% 48%;
}

.intro-collage-sumel {
  z-index: 5;
  right: 3%;
  bottom: 1%;
  width: 57%;
  height: 34%;
  transform: rotate(-1.5deg);
}

.intro-collage-sumel img {
  object-position: 50% 52%;
}

@media (hover: hover) and (pointer: fine) {
  .intro-collage:has(.intro-collage-item:hover) .intro-collage-item:not(:hover) {
    filter: saturate(0.88) contrast(0.94);
  }

  .intro-collage-item:hover {
    z-index: 8;
    transform: translateY(-0.3rem) rotate(0deg) scale(1.01);
    box-shadow: 0 2rem 3.8rem rgba(8, 8, 8, 0.25), 0 0.35rem 0.9rem rgba(8, 8, 8, 0.13);
  }

  .intro-collage-item:hover img {
    filter: saturate(1) contrast(1.04);
  }
}

@media (hover: none), (pointer: coarse) {
  .intro-collage-hit {
    display: block;
  }

  .intro-collage-item.is-active {
    z-index: 12;
    transform: translateY(-0.4rem) rotate(0deg) scale(1.025);
    filter: saturate(1) contrast(1.025);
    box-shadow: 0 2rem 3.8rem rgba(8, 8, 8, 0.26), 0 0.4rem 1rem rgba(8, 8, 8, 0.14);
  }
}

.intro-copy {
  position: relative;
  padding-top: 2.5rem;
}

.section-label {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.intro-copy h2,
.services-heading h2,
.projects-heading h2,
.process-heading h2,
.quality-copy h2,
.final-copy h2,
.clients-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.intro-copy > p:not(.section-label) {
  max-width: 33rem;
  margin: 2rem 0;
  color: #3a3a3a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Trajectory */
.trajectory {
  position: relative;
  min-height: auto;
  padding-block: clamp(5.5rem, 9vw, 9.5rem);
  background: var(--ink);
}

.trajectory-container {
  width: min(100%, 78rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.trajectory h2 {
  margin: 0;
  width: 100%;
  font-family: var(--display);
  font-size: clamp(4.2rem, 9vw, 8.8rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.trajectory h2 em {
  color: var(--red);
  font-style: normal;
}

.trajectory-meta {
  width: 100%;
  max-width: 100%;
  margin: 2.5rem 0 1.5rem;
  padding: 0.65rem 1.4rem;
  box-sizing: border-box;
}

.trajectory-container > p,
.trajectory > p {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--steel);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* Services */
.services-section {
  background: white;
  color: var(--ink);
}

.services-heading {
  max-width: 100rem;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  align-items: end;
  gap: 3rem;
  padding-bottom: clamp(1.5rem, 2.8vw, 2.25rem);
  border-bottom: 1px solid rgba(8, 8, 8, 0.14);
}

.services-heading p {
  margin: 0;
  max-width: 25rem;
  color: #555;
  line-height: 1.65;
}

.services-desktop {
  max-width: 100rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(25rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}

.service-index {
  border-top: 1px solid var(--soft-line-dark);
}

.service-index button {
  width: 100%;
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--soft-line-dark);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 320ms ease;
}

.service-index button > span {
  color: #787878;
  font-size: 0.68rem;
  transition:
    color 260ms ease,
    transform 420ms var(--ease-out);
}

.service-index button strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  text-transform: uppercase;
  transition:
    color 260ms ease,
    transform 440ms var(--ease-out),
    letter-spacing 440ms var(--ease-out);
}

.service-index button:is(:hover, .is-active, .is-locked) > span {
  color: var(--red);
  transform: translateX(0.2rem);
}

.service-index button:hover strong {
  transform: translateX(0.25rem);
}

.service-index button:is(.is-active, .is-locked) strong {
  color: var(--red);
  transform: translateX(0.5rem);
  letter-spacing: 0.012em;
}

.service-visual {
  align-self: start;
  position: sticky;
  top: 7rem;
}

.service-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink);
  border-radius: 0.75rem;
  isolation: isolate;
  cursor: pointer;
  outline: none;
}

.service-accordion-image {
  position: relative;
  cursor: pointer;
  outline: none;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.service-image:focus-visible,
.service-accordion-image:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.service-image::before,
.service-accordion-image::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -8%;
  background-image: var(--service-backdrop, none);
  background-position: center;
  background-size: cover;
  filter: blur(18px) brightness(0.54) saturate(0.86);
  opacity: 0.94;
  transform: scale(1.08);
  pointer-events: none;
}

.service-image img,
.service-accordion-image img {
  z-index: 1;
  object-fit: contain;
  transition: transform var(--motion-slow) var(--ease-out), filter 320ms ease;
}

.service-image:hover img,
.service-accordion-image:hover img {
  filter: brightness(1.035) saturate(1.02);
}

.service-image-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.76);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #ffffff;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out),
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
  pointer-events: none;
}

.service-image-badge svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: #ffffff;
  transition: transform 300ms var(--ease-out);
}

.service-image:hover .service-image-badge,
.service-image:focus-visible .service-image-badge,
.service-accordion-image:hover .service-image-badge,
.service-accordion-image:focus-visible .service-image-badge {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-image:hover .service-image-badge,
.service-accordion-image:hover .service-image-badge {
  background: var(--red);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 28px rgba(237, 0, 22, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.service-image:hover .service-image-badge svg,
.service-accordion-image:hover .service-image-badge svg {
  transform: scale(1.12);
}

.service-caption {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-top: 1.4rem;
}

.service-caption > span {
  color: var(--red);
  font-size: 0.7rem;
}

.service-caption h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.service-caption p {
  margin: 0;
  max-width: 34rem;
  color: #555;
  line-height: 1.55;
}

.services-mobile {
  display: none;
}

/* Projects */
.projects-section {
  padding-top: clamp(4.5rem, 8vw, 8rem);
  background: var(--ink);
}

.projects-heading {
  max-width: 100rem;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 2.5rem;
}

.projects-heading > div {
  padding-bottom: 0.3rem;
}

.projects-heading span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.projects-heading p {
  margin: 0.5rem 0 0;
  color: var(--steel);
  line-height: 1.5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.15vw, 1.2rem);
  width: min(100%, 100rem);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4.5rem, 7vw, 7rem);
}

.project-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 4.15;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: var(--carbon);
  cursor: pointer;
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.28);
  transition: border-color 380ms var(--ease-out),
    box-shadow 380ms var(--ease-out),
    transform 380ms var(--ease-out);
}

.project-card::before {
  content: attr(data-category);
  position: absolute;
  z-index: 4;
  top: 0.85rem;
  left: 0.85rem;
  max-width: calc(100% - 4.8rem);
  overflow: hidden;
  padding: 0.36rem 0.64rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.45);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease, transform 300ms var(--ease-out);
}

.project-card::after {
  content: "ALTA DIFUSIÓN";
  position: absolute;
  z-index: 4;
  top: 3.8rem;
  right: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  transition: color 300ms ease, opacity 300ms ease;
}

.project-image {
  position: absolute;
  inset: 0;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.02) 32%, rgba(8, 8, 8, 0.42) 68%, rgba(8, 8, 8, 0.96) 100%);
  transition: opacity 350ms ease, background 350ms ease;
}

.project-image img {
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out), filter 360ms ease;
}

.project-caption {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.project-caption > span {
  position: absolute;
  top: 1rem;
  right: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  transition: color 300ms ease;
}

.project-caption > div {
  position: absolute;
  right: 3.2rem;
  bottom: 0.95rem;
  left: 0.95rem;
  transition: transform 350ms var(--ease-out);
}

.project-caption h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.55vw, 1.75rem);
  line-height: 0.98;
  text-transform: uppercase;
  transition: color 300ms ease;
}

.project-caption p {
  margin: 0.35rem 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-caption i {
  position: absolute;
  right: 0.95rem;
  bottom: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 12, 12, 0.72);
  color: rgba(255, 255, 255, 0.95);
  font-style: normal;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.9;
  transform: translate(0, 0);
  transition: transform 350ms var(--ease-out),
    background-color 350ms ease,
    border-color 350ms ease,
    opacity 350ms ease,
    color 350ms ease,
    box-shadow 350ms ease;
}

.project-caption i svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  transition: transform 350ms var(--ease-out);
}

.project-open {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.project-open:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -4px;
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(237, 0, 22, 0.45);
  box-shadow: 0 1.6rem 3.5rem -0.5rem rgba(0, 0, 0, 0.5),
    0 0 1.8rem -0.3rem rgba(237, 0, 22, 0.2);
  transform: translateY(-0.22rem);
}

.project-card:hover .project-image img,
.project-card:focus-within .project-image img {
  transform: scale(1.035);
  filter: contrast(1.06) brightness(1.02);
}

.project-card:hover::before,
.project-card:focus-within::before {
  border-color: rgba(237, 0, 22, 0.6);
  background: rgba(237, 0, 22, 0.25);
  color: #ffffff;
}

.project-card:hover .project-caption i,
.project-card:focus-within .project-caption i {
  opacity: 1;
  transform: scale(1.1);
  border-color: var(--red);
  background: var(--red);
  color: white;
  box-shadow: 0 6px 18px rgba(237, 0, 22, 0.55);
}

.project-card:hover .project-caption i svg,
.project-card:focus-within .project-caption i svg {
  transform: scale(1.12);
}

.project-card:hover .project-caption h3,
.project-card:focus-within .project-caption h3 {
  color: #ffffff;
}

/* Project lightbox */
.project-lightbox[hidden] {
  display: none;
}

.project-lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2vw, 2rem);
  background: rgba(3, 3, 3, 0.94);
  opacity: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: opacity 200ms ease;
}

.project-lightbox.is-open {
  opacity: 1;
}

.project-lightbox-panel {
  width: min(100%, 96rem);
  height: min(100%, 66rem);
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  transform: translateY(0.8rem) scale(0.99);
  opacity: 0;
  transition: transform var(--motion-medium) var(--ease-out), opacity 200ms ease;
}

.project-lightbox.is-open .project-lightbox-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.project-lightbox-header,
.project-lightbox-navigation,
.project-lightbox-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-lightbox-header > div {
  min-width: 0;
}

.project-lightbox-header span,
.project-lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-lightbox-header h2 {
  margin: 0.15rem 0 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 0.95;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-lightbox-button {
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-lightbox-button:hover,
.project-lightbox-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: white;
  color: var(--ink);
}

.project-lightbox-figure {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: #050505;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.46);
}

.project-lightbox-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.project-lightbox-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
}

.project-lightbox-media img.is-transitioning {
  opacity: 0;
  transform: scale(0.985);
}

.project-lightbox-figure figcaption {
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.project-lightbox-navigation {
  justify-content: center;
}

/* Process */
/* Process */
.process-section {
  padding-block: clamp(4.5rem, 7vw, 7.5rem);
  background: var(--paper);
  color: var(--ink);
}

.process-heading {
  max-width: 100rem;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 3rem;
}

.process-heading p {
  max-width: 29rem;
  margin: 0;
  color: #4a4a4a;
  line-height: 1.6;
}

.process-list {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-list li {
  position: relative;
  min-height: 0;
  padding: 1.75rem 1.6rem;
  background: #ffffff;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(237, 0, 22, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.process-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 2px;
  background: var(--red);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 220ms ease, transform 220ms ease;
}

.process-list li:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.process-list span {
  display: inline-block;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.process-list h3 {
  margin: 0.75rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.process-list p {
  max-width: none;
  margin: 0;
  color: #5a5a5a;
  font-size: 0.88rem;
  line-height: 1.5;
}

.safety-note {
  max-width: 100rem;
  margin: 1.75rem auto 0;
  padding: 1.15rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
}

.safety-note strong {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.safety-note p {
  max-width: 52rem;
  margin: 0;
  font-size: 0.86rem;
  color: #555;
  line-height: 1.5;
}

/* Clients */
.clients-section {
  padding-block: clamp(6rem, 11vw, 11rem);
  overflow: hidden;
  background: #ffffff;
  color: var(--ink);
}

.clients-heading {
  max-width: 100rem;
  margin: 0 auto 4.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 3rem;
}

.clients-heading p {
  max-width: 27rem;
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.client-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.client-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 46s linear infinite;
}

.client-marquee:hover .client-track,
.client-marquee:focus-visible .client-track {
  animation-play-state: paused;
}

.client-marquee.is-paused .client-track {
  animation-play-state: paused;
  will-change: auto;
}

.clients-intro {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}

.marquee-toggle {
  padding: 0 0 0.35rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 200ms ease;
}

.marquee-toggle:hover {
  opacity: 0.65;
}

.client-strip {
  min-width: max-content;
  height: 11.5rem;
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(4rem, 6vw, 7.5rem);
  padding: 2rem clamp(3rem, 5vw, 6rem);
}

.client-logo {
  width: auto;
  height: 3.8rem;
  max-width: 11.5rem;
  flex: none;
  object-fit: contain;
  filter: grayscale(12%) opacity(0.85);
  transition: filter var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out);
  transform: translateZ(0);
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.045);
}

.client-logo-wide {
  max-width: 13rem;
  height: 3.6rem;
}

.client-logo-xwide {
  width: 14.5rem;
  max-width: 15rem;
  height: 3.4rem;
}

.client-logo-tall {
  height: 4.8rem;
  max-width: 9.5rem;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Quality */
.quality-section {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  background: var(--ink);
}

.quality-code {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.quality-copy h2 {
  margin-top: 1.5rem;
}

.quality-copy p {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: var(--steel);
  line-height: 1.7;
}

.quality-media {
  position: relative;
  aspect-ratio: 1832 / 1462;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: white;
}

.quality-media img {
  object-fit: contain;
}

/* Final CTA */
.final-cta {
  position: relative;
  isolation: isolate;
  min-height: clamp(48rem, 56vw, 58rem);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(23rem, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) var(--gutter) 0;
  background:
    radial-gradient(circle at 73% 42%, rgba(255, 255, 255, 0.17), transparent 19rem),
    linear-gradient(116deg, #f51a2d 0%, var(--red) 42%, #b80012 73%, #650009 100%);
  color: white;
}

.final-cta::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(128deg, rgba(8, 8, 8, 0) 32%, rgba(8, 8, 8, 0.24) 58%, rgba(8, 8, 8, 0.92) 100%);
  clip-path: polygon(47% 0, 100% 0, 100% 100%, 64% 100%);
}

.final-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.36) 0.45px, transparent 0.55px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.final-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 60rem;
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.final-copy h2 {
  font-size: clamp(4.5rem, 9vw, 8.6rem);
  text-shadow: 0 0.12em 0.5em rgba(92, 0, 9, 0.2);
}

.button-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  min-height: 3.85rem;
  padding: 0.55rem 0.65rem 0.55rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow:
    0 1.2rem 3.5rem rgba(0, 0, 0, 0.28),
    0 0.35rem 0.9rem rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform var(--motion-medium) var(--ease-out),
    background-color var(--motion-medium) ease, border-color var(--motion-medium) ease,
    box-shadow var(--motion-medium) ease;
}

.button-white .btn-text {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.btn-action-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 260ms var(--ease-out), background-color 200ms ease;
}

.btn-action-circle svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  transition: transform 260ms var(--ease-out);
}

.button-white:hover {
  transform: translateY(-2px) scale(1.01);
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  box-shadow:
    0 1.6rem 4rem rgba(0, 0, 0, 0.38),
    0 0.5rem 1.4rem rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.button-white:hover .btn-action-circle {
  background: var(--red);
  transform: scale(1.05);
}

.button-white:hover .btn-action-circle svg {
  transform: translateX(3px);
}

.button-white:active {
  transform: translateY(-1px) scale(0.99);
}

.button-white:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.mascot-frame {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: min(100%, 35rem);
  aspect-ratio: 1086 / 1448;
  min-height: 0;
  overflow: visible;
  background: transparent;
  filter: drop-shadow(0 2rem 2.8rem rgba(51, 0, 5, 0.38));
}

.mascot-frame .mascot-image {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 1.15rem rgba(255, 255, 255, 0.15));
}

/* Footer */
.footer {
  position: relative;
  padding: 6.5rem var(--gutter) 2.5rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(237, 0, 22, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 100%, rgba(237, 0, 22, 0.03) 0%, transparent 50%),
    var(--ink);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  max-width: 100rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.35fr 1.25fr;
  gap: 3.5rem;
  padding-bottom: 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  position: relative;
  width: 10.5rem;
  height: 7.5rem;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.footer-tagline {
  margin: 1.2rem 0 0;
  color: var(--steel);
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-heading {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-nav-list a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.4;
  transition: color 200ms ease, transform 200ms var(--ease-out);
}

.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-nav-list a::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.2rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease-out);
}

.footer-nav-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
}

.footer-subheading {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.15rem;
}

.footer-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  stroke-width: 1.75;
  color: rgba(255, 255, 255, 0.55);
  transition: color 200ms ease;
}

.footer-icon-wa {
  width: 1.18rem;
  height: 1.18rem;
  flex-shrink: 0;
  color: #25d366;
  fill: currentColor;
}

.footer-phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  text-decoration: none;
  transition: transform 200ms var(--ease-out);
}

.footer-phone-link:hover {
  transform: translateX(4px);
}

.footer-phone-link:hover .footer-icon {
  color: #ffffff;
}

.footer-phone-link .phone-number {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
}

.footer-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms var(--ease-out);
}

.footer-item-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-item-link:hover .footer-icon {
  color: #ffffff;
}

.footer-whatsapp-link {
  color: #ffffff;
  font-weight: 600;
}

.footer-whatsapp-link .footer-icon-wa {
  color: #25d366;
}

.footer-bottom {
  max-width: 100rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.74rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-back-to-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  transition: color 200ms ease, transform 200ms ease;
}

.footer-back-to-top:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.intro-section {
  background:
    radial-gradient(circle at 16% 56%, rgba(8, 8, 8, 0.055), transparent 31rem),
    linear-gradient(135deg, #f4f4f4 0%, #ffffff 54%, #ececec 100%);
}

.service-image::after,
.service-accordion-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 -3rem 5rem rgba(8, 8, 8, 0.12);
}

.trajectory {
  background:
    radial-gradient(circle at 82% 24%, rgba(237, 0, 22, 0.13), transparent 28rem),
    radial-gradient(circle at 22% 82%, rgba(255, 255, 255, 0.045), transparent 24rem),
    var(--ink);
}

.trajectory-meta {
  color: #cecece;
}

.trajectory > p {
  color: #c6c6c6;
}

.services-section {
  background:
    radial-gradient(circle at 92% 28%, rgba(8, 8, 8, 0.07), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #f4f4f4 58%, #ffffff 100%);
}

.services-heading p,
.service-caption p {
  color: #3f3f3f;
}

.service-index button {
  position: relative;
}

.service-index button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237, 0, 22, 0.075), rgba(237, 0, 22, 0));
  opacity: 0;
  transform: scaleX(0.88);
  transform-origin: left;
  transition:
    opacity 260ms ease,
    transform 440ms var(--ease-out);
  pointer-events: none;
}

.service-index button.is-active::before,
.service-index button:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-index button > * {
  position: relative;
  z-index: 1;
}

.service-visual {
  filter: drop-shadow(0 2.6rem 3.6rem rgba(8, 8, 8, 0.16));
}

.projects-section {
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.065), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(237, 0, 22, 0.1), transparent 28rem),
    var(--ink);
}

.projects-grid {
  gap: clamp(0.8rem, 1.25vw, 1.35rem);
}

.project-card {
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.22);
}

.project-caption {
  background: transparent;
}

.process-section {
  background:
    radial-gradient(circle at 8% 28%, rgba(8, 8, 8, 0.075), transparent 30rem),
    linear-gradient(145deg, #f4f4f4 0%, #ffffff 54%, #eaeaea 100%);
}

.process-heading p,
.process-list p {
  color: #3f3f3f;
}

.process-list li {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34));
}

.clients-section {
  background:
    radial-gradient(circle at 84% 32%, rgba(237, 0, 22, 0.05), transparent 30rem),
    linear-gradient(135deg, #ffffff 0%, #f2f2f2 48%, #ffffff 100%);
}

.clients-heading p {
  color: #3f3f3f;
}

.client-marquee {
  border-block: 0;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 1px 0 rgba(8, 8, 8, 0.08), inset 0 -1px 0 rgba(8, 8, 8, 0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.quality-section {
  background:
    radial-gradient(circle at 72% 35%, rgba(255, 255, 255, 0.075), transparent 28rem),
    radial-gradient(circle at 12% 82%, rgba(237, 0, 22, 0.16), transparent 30rem),
    var(--ink);
}

.quality-copy p {
  color: #c6c6c6;
}

.quality-media {
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.34);
}

.footer {
  background:
    radial-gradient(circle at 18% 8%, rgba(237, 0, 22, 0.11), transparent 28rem),
    var(--ink);
}

.footer-bottom {
  border-top-color: var(--soft-line-light);
}

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

  .desktop-nav {
    gap: 1rem;
  }

  .header-actions {
    gap: 0.65rem;
  }

  .header-socials {
    gap: 0.3rem;
  }

  .social-button {
    width: 2.45rem;
    height: 2.45rem;
  }

  .nav-link {
    font-size: 0.67rem;
  }

  .hero-ledger {
    width: 54%;
  }

  .hero-title {
    font-size: clamp(4rem, 8vw, 5.4rem);
  }

  .trajectory h2,
  .final-copy h2 {
    font-size: clamp(4.3rem, 10vw, 7rem);
  }

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

@media (max-width: 900px) {
  .site-header {
    height: 5rem;
    grid-template-columns: 5.4rem 1fr auto;
    background: rgba(5, 5, 5, 0.88);
    -webkit-backdrop-filter: blur(14px) saturate(116%);
    backdrop-filter: blur(14px) saturate(116%);
  }

  .site-header.is-scrolled {
    background: rgba(5, 5, 5, 0.94);
    -webkit-backdrop-filter: blur(16px) saturate(112%);
    backdrop-filter: blur(16px) saturate(112%);
  }

  .brand-lockup,
  .is-scrolled .brand-lockup {
    width: 4.7rem;
    height: 3.6rem;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-trigger {
    grid-column: 3;
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: background-color var(--motion-fast) ease,
      border-color var(--motion-fast) ease,
      transform var(--motion-fast) var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }

  .menu-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .menu-trigger:active {
    transform: scale(0.94);
    background: rgba(255, 255, 255, 0.12);
  }

  .menu-trigger span {
    display: block;
    height: 1.5px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform var(--motion-medium) var(--ease-out),
      width var(--motion-medium) var(--ease-out),
      background-color var(--motion-fast) ease;
  }

  .menu-trigger span:first-child {
    width: 1.15rem;
  }

  .menu-trigger span:last-child {
    width: 0.75rem;
  }

  .menu-trigger:hover span:last-child {
    width: 1.15rem;
  }

  .menu-trigger[aria-expanded="true"] {
    border-color: rgba(237, 0, 22, 0.45);
    background: rgba(237, 0, 22, 0.12);
  }

  .menu-trigger[aria-expanded="true"] span:first-child {
    width: 1.15rem;
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-trigger[aria-expanded="true"] span:last-child {
    width: 1.15rem;
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 90;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    display: block;
    padding:
      calc(5rem + env(safe-area-inset-top))
      var(--gutter)
      calc(1.25rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 88% 14%, rgba(237, 0, 22, 0.14), transparent 23rem),
      #080808;
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateY(-0.45rem);
    transition: opacity var(--motion-medium) ease, transform var(--motion-medium) var(--ease-out),
      visibility var(--motion-medium) ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu nav {
    width: min(100%, 32rem);
    min-height: calc(100dvh - 6.25rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mobile-menu nav > a:not(.mobile-quote) {
    min-height: 3.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--display);
    font-size: clamp(1.5rem, 5.6vw, 1.8rem);
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }

  .mobile-menu nav > a:not(.mobile-quote) > span {
    width: 1.5rem;
    flex: 0 0 1.5rem;
    color: var(--red);
    font-family: var(--sans);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .mobile-menu .mobile-quote {
    width: min(100%, 17rem);
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    margin: 1.6rem auto 0;
    min-height: 3.15rem;
    padding-inline: 1.15rem;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 0.65rem 1.4rem rgba(237, 0, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.045em;
    text-align: center;
  }

  .mobile-menu .mobile-quote:focus-visible {
    outline-color: white;
  }

  .mobile-socials {
    width: 100%;
    max-width: 20rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.85rem auto 0;
  }

  .mobile-menu .mobile-socials a,
  .mobile-menu .mobile-socials button {
    min-height: 3.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    color: white;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  }

  .mobile-menu .mobile-socials a:hover,
  .mobile-menu .mobile-socials a:focus-visible {
    border-color: var(--red);
    background: var(--red);
    transform: translateY(-1px);
  }

  .mobile-menu .mobile-socials button {
    opacity: 0.42;
    cursor: not-allowed;
  }

  .mobile-socials svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
  }

  .mobile-socials rect,
  .mobile-socials circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .mobile-socials .social-icon-dot,
  .mobile-socials path {
    fill: currentColor;
    stroke: none;
  }

  .mobile-menu .mobile-socials span {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
  }

  .mobile-socials small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.48rem;
    font-weight: 500;
    opacity: 0.7;
  }

  .hero-scroll {
    height: auto !important;
  }

  .hero-stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 48rem;
    display: block;
    overflow: hidden;
  }

  .hero-photo-shell {
    position: absolute;
    inset: 0;
    height: 100%;
    clip-path: none !important;
    transform: none !important;
  }

  .hero-photo {
    inset: 0;
    width: 100%;
  }

  .hero-photo img {
    object-position: 52% 0%;
  }

  .photo-scrim {
    background:
      linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.82) 0%,
        rgba(8, 8, 8, 0.6) 46%,
        rgba(8, 8, 8, 0.18) 78%,
        rgba(8, 8, 8, 0) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.08) 0%,
        rgba(8, 8, 8, 0.2) 24%,
        rgba(8, 8, 8, 0.56) 42%,
        rgba(8, 8, 8, 0.9) 58%,
        #080808 68%,
        #080808 100%
      );
  }

  .hero-ledger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-copy {
    top: calc(50% + 1.25rem);
    right: var(--gutter);
    bottom: auto;
    transform: translateY(-50%);
  }

  .hero-title {
    max-width: 8ch;
    font-size: clamp(4.4rem, 13vw, 6.4rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
  }

  .hero-support {
    max-width: 32rem;
  }

  .intro-grid,
  .services-heading,
  .projects-heading,
  .process-heading,
  .clients-heading,
  .quality-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 42rem;
  }

  .intro-collage {
    width: 100%;
    max-width: 52rem;
    margin-inline: auto;
  }

  .trajectory {
    min-height: auto;
  }

  .trajectory-meta {
    margin: 1.8rem 0 1.2rem;
    padding: 0.5rem 0.9rem;
  }

  .services-desktop {
    display: none;
  }

  .services-mobile {
    display: block;
    max-width: 58rem;
    margin: 0 auto;
    border-top: 1px solid var(--soft-line-dark);
  }

  .service-accordion {
    border-bottom: 1px solid var(--soft-line-dark);
    scroll-margin-top: 5.75rem;
  }

  .service-accordion h3 {
    margin: 0;
  }

  .service-accordion button {
    width: 100%;
    min-height: 5rem;
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.9rem;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 260ms ease;
  }

  .service-accordion button span {
    color: var(--red);
    font-family: var(--sans);
    font-size: 0.65rem;
  }

  .service-accordion button i {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(8, 8, 8, 0.22);
    border-radius: 50%;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    font-style: normal;
    line-height: 1;
    transition:
      color 260ms ease,
      background-color 260ms ease,
      border-color 260ms ease,
      transform 420ms var(--ease-out);
  }

  .service-accordion.is-open button {
    color: var(--red);
  }

  .service-accordion.is-open button i {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
    transform: rotate(180deg);
  }

  .service-accordion-panel {
    padding: 0 0 1.5rem 3.5rem;
  }

  .service-accordion-panel p {
    max-width: 35rem;
    color: #555;
    line-height: 1.6;
  }

  .service-accordion-image {
    position: relative;
    aspect-ratio: 1;
    margin-top: 1.4rem;
    overflow: hidden;
    border-radius: 0.65rem;
    box-shadow: 0 1.25rem 2.75rem rgba(8, 8, 8, 0.14);
  }

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

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .safety-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .final-cta {
    min-height: auto;
    gap: 1rem;
    padding-bottom: 0;
  }

  .final-cta::before {
    opacity: 0.72;
    clip-path: polygon(0 59%, 100% 43%, 100% 100%, 0 100%);
  }

  .final-copy {
    max-width: 52rem;
    padding-bottom: 2rem;
  }

  .mascot-frame {
    width: min(100%, 31rem);
    min-height: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 900px) and (max-height: 680px) {
  .mobile-menu nav {
    justify-content: flex-start;
  }

  .mobile-menu nav > a:not(.mobile-quote) {
    min-height: 3rem;
  }

  .mobile-menu .mobile-quote {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding-block: 5.5rem;
  }

  .hero-scroll {
    height: auto !important;
  }

  .hero-stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0;
    overflow: hidden;
  }

  .hero-photo-shell {
    position: absolute;
    inset: 0 0 auto;
    height: 34rem;
    clip-path: none !important;
    transform: none !important;
  }

  .hero-photo img {
    object-position: 52% 0%;
  }

  .photo-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0) 0%,
        rgba(8, 8, 8, 0.04) 42%,
        rgba(8, 8, 8, 0.42) 60%,
        rgba(8, 8, 8, 0.9) 76%,
        #080808 90%,
        #080808 100%
      );
  }

  .hero-ledger {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 27.5rem 0 5.5rem;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-kicker {
    max-width: none;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 0.56rem;
  }

  .hero-copy {
    position: relative;
    inset: auto;
    margin-inline: var(--gutter);
    transform: none;
  }

  .hero-rights-note {
    right: var(--gutter);
    bottom: 1.35rem;
    left: var(--gutter);
    max-width: none;
    font-size: 0.54rem;
    line-height: 1.5;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(3.4rem, 16vw, 4.6rem);
    line-height: 0.78;
  }

  .hero-support {
    max-width: 23rem;
    margin: 0.85rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 1.2rem auto 0;
    gap: 0.5rem;
  }

  .hero-actions .button {
    width: 13.5rem;
    flex: 0 0 auto;
  }

  .intro-grid {
    gap: 1rem;
  }

  .intro-collage {
    --photo-edge: 0.32rem;
    --photo-foot: 0.68rem;
    aspect-ratio: 4 / 5;
    width: calc(100% - 0.8rem);
    margin-inline: auto;
  }

  .intro-collage-crepes {
    top: 20%;
    left: 0;
    width: 46%;
    height: 60%;
    transform: rotate(-1.4deg);
  }

  .intro-collage-yokohama {
    top: 1%;
    right: 0;
    width: 86%;
    height: 36%;
    transform: rotate(0.8deg);
  }

  .intro-collage-sumel {
    right: 0;
    bottom: 20%;
    width: 61%;
    height: 28%;
    transform: rotate(-0.8deg);
  }

  .intro-collage-bodytech {
    top: auto;
    right: 2%;
    bottom: 1%;
    width: 82%;
    height: 26%;
    transform: rotate(0.7deg);
  }

  .intro-copy h2,
  .services-heading h2,
  .projects-heading h2,
  .process-heading h2,
  .quality-copy h2,
  .clients-heading h2 {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .trajectory h2 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .services-heading,
  .projects-heading,
  .process-heading,
  .clients-heading {
    gap: 1.5rem;
  }

  .service-accordion button {
    font-size: 1.55rem;
  }

  .service-accordion-panel {
    padding-left: 0;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding-inline: clamp(0.75rem, 3vw, 1.25rem);
    padding-bottom: clamp(3.5rem, 6vw, 5rem);
  }

  .project-card {
    aspect-ratio: 1 / 1.05;
    border-radius: 0.6rem;
  }

  .project-card::before {
    top: 0.55rem;
    left: 0.55rem;
    padding: 0.28rem 0.5rem;
    font-size: 0.48rem;
    max-width: calc(100% - 2.8rem);
  }

  .project-card::after {
    display: none;
  }

  .project-caption > span {
    top: 0.6rem;
    right: 0.55rem;
    font-size: 0.52rem;
  }

  .project-caption > div {
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
  }

  .project-caption h3 {
    font-size: clamp(1rem, 3.8vw, 1.3rem);
    line-height: 0.95;
  }

  .project-caption p {
    font-size: 0.58rem;
    margin-top: 0.18rem;
  }

  .project-caption i {
    display: flex;
    width: 1.75rem;
    height: 1.75rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .project-caption i svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .project-lightbox {
    padding: 0.75rem;
  }

  .project-lightbox-panel {
    height: 100%;
    gap: 0.65rem;
  }

  .project-lightbox-header h2 {
    max-width: 12ch;
    font-size: 1.65rem;
  }

  .project-lightbox-header span {
    font-size: 0.55rem;
  }

  .project-lightbox-figure {
    border-radius: 0.75rem;
  }

  .project-lightbox-navigation .project-lightbox-button {
    flex: 1;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .process-list li,
  .process-list li:not(:first-child) {
    min-height: auto;
    padding: 1.4rem 1.3rem;
  }

  .process-list h3 {
    margin-top: 0.5rem;
  }

  .safety-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.1rem 1.3rem;
  }

  .client-strip {
    height: 9rem;
    gap: 3rem;
    padding: 1.5rem 2rem;
  }

  .client-logo {
    height: 3.5rem;
    max-width: 8rem;
  }

  .client-logo-xwide {
    width: 10rem;
    max-width: 10rem;
    height: 3rem;
  }

  .client-logo-tall {
    height: 5rem;
    max-width: 7rem;
  }

  .quality-section {
    gap: 2.5rem;
  }

  .quality-media {
    aspect-ratio: 1832 / 1462;
  }

  .final-cta {
    gap: 1rem;
    padding: 5rem var(--gutter) 0;
    text-align: center;
    background:
      radial-gradient(circle at 52% 63%, rgba(255, 255, 255, 0.15), transparent 13rem),
      linear-gradient(156deg, #f51a2d 0%, var(--red) 44%, #9b000f 100%);
  }

  .final-cta::before {
    opacity: 0.58;
    clip-path: polygon(0 68%, 100% 57%, 100% 100%, 0 100%);
  }

  .final-copy {
    width: 100%;
    padding-bottom: 1.5rem;
  }

  .final-copy h2 {
    font-size: clamp(4rem, 19vw, 5.5rem);
  }

  .final-copy .button-white {
    margin-top: 1.75rem;
  }

  .mascot-frame {
    width: min(92vw, 26rem);
    min-height: 0;
  }

  .footer {
    padding: 4rem var(--gutter) 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }

  .footer-brand {
    grid-column: auto;
    margin-bottom: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 1.25rem;
    flex-direction: column;
  }
}

@media (hover: none) {
  .project-caption {
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: var(--motion-instant) !important;
  }

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

  .timeline-bar::after,
  .beacon-core,
  .beacon-ring,
  .wa-beacon-ring {
    animation: none !important;
  }

  .intro-collage-item:hover,
  .project-card:hover,
  .project-card:focus-within,
  .button:hover,
  .button-white:hover,
  .floating-whatsapp:hover .wa-icon-shell {
    transform: none;
  }
}

/* Static error page */
.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.error-page main {
  width: min(100%, 70rem);
}

.error-brand {
  position: relative;
  display: block;
  width: 7rem;
  aspect-ratio: 1.3;
}

.error-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.error-code {
  margin: clamp(4rem, 10vh, 7rem) 0 0.5rem;
  color: var(--red);
  font: 600 1rem/1 var(--display);
  letter-spacing: 0.14em;
}

.error-page h1 {
  max-width: 10ch;
  margin: 0;
  font: 700 clamp(4rem, 10vw, 8rem)/0.82 var(--display);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.error-page main > p:not(.error-code) {
  margin: 2rem 0;
  color: var(--steel);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  text-decoration: none;
  touch-action: manipulation;
  user-select: none;
}

.wa-beacon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.4) 0%, rgba(37, 211, 102, 0) 70%);
  animation: waRadar 3.6s var(--ease-out) infinite;
  pointer-events: none;
}

.wa-icon-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.42);
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0.8rem 2.2rem rgba(37, 211, 102, 0.35),
    0 0.25rem 0.6rem rgba(0, 0, 0, 0.18),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.65),
    inset 0 -1.5px 1.5px rgba(0, 0, 0, 0.12);
  transition: transform 300ms var(--ease-out),
    background 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.wa-svg {
  width: 2.15rem;
  height: 2.15rem;
  display: block;
  fill: #ffffff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
  transition: transform 300ms var(--ease-out);
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 1.1rem);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  padding: 0.65rem 1.1rem;
  background: rgba(22, 22, 23, 0.78);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: opacity 260ms var(--ease-out),
    transform 260ms var(--ease-out);
}

.wa-tooltip-title {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #ffffff;
  line-height: 1.2;
}

.wa-tooltip-sub {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #30d158;
  line-height: 1.2;
}

.floating-whatsapp:hover .wa-icon-shell {
  transform: translateY(-2px) scale(1.035);
  background: rgba(37, 211, 102, 0.65);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 1.2rem 3rem rgba(37, 211, 102, 0.55),
    0 0.4rem 1rem rgba(0, 0, 0, 0.22),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.85);
}

.floating-whatsapp:hover .wa-svg {
  transform: scale(1.045) rotate(-2deg);
}

.floating-whatsapp:hover .wa-tooltip,
.floating-whatsapp:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.floating-whatsapp:active .wa-icon-shell {
  transform: translateY(0) scale(0.98);
}

.floating-whatsapp:focus-visible {
  outline: 2px solid #30d158;
  outline-offset: 4px;
}

@keyframes waRadar {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 1.4rem;
    right: 1.4rem;
    width: 3.4rem;
    height: 3.4rem;
  }

  .wa-svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .wa-tooltip {
    display: none;
  }
}
