@font-face {
  font-family: "Neue Montreal";
  src: url("assets/fonts/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("assets/fonts/NeueMontreal-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("assets/fonts/NeueMontreal-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("assets/fonts/NeueMontreal-Medium.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("assets/fonts/NeueMontreal-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #020202;
  --ink: #080808;
  --white: #f6f4ef;
  --muted: rgba(246, 244, 239, 0.68);
  --soft: rgba(246, 244, 239, 0.1);
  --line: rgba(246, 244, 239, 0.15);
  --glass: rgba(18, 18, 18, 0.62);
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --accent: #b750ff;
  --accent-cool: #7074ff;
  --purple-deep: #11051f;
  --purple-mid: #261039;
  --font-title: "Neue Montreal", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Montserrat", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 14%, rgba(112, 116, 255, 0.095), transparent 28vw),
    linear-gradient(180deg, #050505 0%, #000 44%, #030303 100%);
  color: var(--white);
  font-family: var(--font-text);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

button {
  border: 0;
  color: inherit;
  font: inherit;
}

::selection {
  background: rgba(203, 84, 255, 0.28);
  color: #fff;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.page-intro,
.hero-word {
  font-family: var(--font-title);
}

h1 strong,
h2 strong,
h3 strong,
.page-intro strong,
.typed-headline strong {
  font-weight: 700;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #000;
  color: var(--white);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.intro.is-loading .intro-type {
  opacity: 0;
  transform: translateY(-12px);
}

.intro.is-loading .intro-loader {
  opacity: 1;
  transform: translateY(0);
}

.intro.is-done {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5%);
}

.intro-type {
  min-height: 1.2em;
  padding: 0 24px;
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 5.5vw, 5.3rem);
  line-height: 0.95;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.intro-type::after {
  content: "";
  display: inline-block;
  width: 0.06em;
  height: 0.82em;
  margin-left: 0.12em;
  background: currentColor;
  animation: blink 0.75s steps(2, start) infinite;
  vertical-align: -0.08em;
}

.intro-loader {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.loader-ring {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.intro-loader span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.site-header {
  position: fixed;
  top: 18px;
  left: var(--pad);
  right: var(--pad);
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 0;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand-mark {
  width: clamp(148px, 14vw, 220px);
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: invert(1);
}

.glass-menu-button,
.contact-pill {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(10, 10, 10, 0.66);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 20px 80px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.glass-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  cursor: pointer;
}

.glass-menu-button:hover,
.contact-pill:hover {
  border-color: rgba(203, 84, 255, 0.36);
  background: rgba(18, 18, 18, 0.84);
  transform: translateY(-1px);
}

.menu-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  background:
    linear-gradient(currentColor 0 0) left top / 4px 4px no-repeat,
    linear-gradient(currentColor 0 0) right top / 4px 4px no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 4px 4px no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 4px 4px no-repeat;
}

.contact-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: var(--black);
  background: linear-gradient(135deg, rgba(246, 244, 239, 0.98), rgba(203, 84, 255, 0.72));
  font-size: 0.76rem;
  font-weight: 700;
}

.glass-menu {
  position: fixed;
  top: 70px;
  left: 50%;
  z-index: 60;
  width: min(340px, calc(100vw - 36px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(7, 7, 7, 0.82);
  color: var(--white);
  backdrop-filter: blur(28px) saturate(1.25);
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 36px 110px rgba(0, 0, 0, 0.54);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -14px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.glass-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.glass-menu-top {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.glass-menu > a {
  display: block;
  min-height: auto;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.glass-menu > a:hover {
  background: rgba(183, 80, 255, 0.065);
}

.glass-menu a span {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.menu-social {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.menu-social span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.82rem;
}

.menu-social a {
  color: var(--white);
}

.home-shell,
.page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    #000;
  background-size: 80px 80px, 80px 80px, auto;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  padding: 92px var(--pad) 0;
  scroll-margin-top: 120px;
  overflow: hidden;
}

.soft-glow {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 92px;
  bottom: 0;
  height: auto;
  background:
    radial-gradient(ellipse at 65% 42%, rgba(203, 84, 255, 0.15), transparent 18%),
    radial-gradient(ellipse at 38% 70%, rgba(112, 116, 255, 0.11), transparent 24%),
    radial-gradient(ellipse at 52% 76%, #000 0 34%, transparent 35%);
  filter: blur(22px);
  opacity: 0.72;
  animation: flow 12s ease-in-out infinite alternate;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.04) 26%, rgba(0,0,0,0.82) 100%),
    radial-gradient(circle at 50% 95%, rgba(255,255,255,0.08), transparent 34vw);
}

.hero-frame {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 0;
  background: transparent;
}

.hero-meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.095);
  color: rgba(246,244,239,0.62);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  width: min(1180px, 100%);
  align-self: center;
  margin: 0;
  padding: clamp(40px, 7vw, 92px) 0 18vh;
}

.typed-headline {
  font-family: var(--font-title);
  max-width: 920px;
  min-height: 2.05em;
  font-size: clamp(1.75rem, 4.45vw, 4.85rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: pre-line;
}

.typed-headline.is-complete strong {
  display: inline-block;
  font-weight: 760;
  text-shadow: none;
  animation: none;
}

.typed-headline.is-complete strong:nth-of-type(2) {
  animation-delay: 0.35s;
}

.typed-headline.is-complete strong:nth-of-type(3) {
  animation-delay: 0.7s;
}

.typed-headline::after {
  content: "";
  display: inline-block;
  width: 0.055em;
  height: 0.76em;
  margin-left: 0.08em;
  background: currentColor;
  animation: blink 0.8s steps(2, start) infinite;
  vertical-align: -0.05em;
}

.hero-support {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  line-height: 1.55;
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.primary-action {
  background: var(--white);
  color: var(--black);
}

.secondary-action {
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action:hover {
  background: var(--accent);
}

.secondary-action:hover {
  border-color: rgba(203,84,255,0.38);
  background: rgba(183,80,255,0.075);
}

.hero-system-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.095);
  border-bottom: 1px solid rgba(255,255,255,0.095);
}

.hero-system-bar span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,0.095);
  color: rgba(246,244,239,0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-system-bar span:last-child {
  border-right: 0;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 80px rgba(0, 0, 0, 0.28);
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 32px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
}

.section-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-overview,
.home-ai,
.home-statement,
.home-services,
.numbers-section,
.portfolio-preview,
.page-hero,
.service-index,
.case-stack,
.accordion-list,
.about-split,
.timeline-clean,
.tech-list {
  padding: 112px var(--pad);
  scroll-margin-top: 120px;
}

.home-statement {
  background: rgba(0, 0, 0, 0.38);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 8vw;
  margin-top: 34px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.statement-grid h1 {
  font-size: clamp(1.45rem, 3.2vw, 3.35rem);
  line-height: 1.05;
  font-weight: 400;
}

.statement-grid p {
  color: var(--muted);
  line-height: 1.65;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.operating-system {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: 6vw;
  padding: 112px var(--pad);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)),
    #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  scroll-margin-top: 120px;
}

.operating-system::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 calc(50% - 1px), rgba(183,80,255,0.14) 50%, transparent calc(50% + 1px)),
    radial-gradient(circle at 76% 28%, rgba(203,84,255,0.08), transparent 24vw);
  opacity: 0.62;
}

.os-copy,
.os-grid {
  position: relative;
  z-index: 1;
}

.os-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.os-copy h2 {
  margin-top: 24px;
  font-size: clamp(1.45rem, 2.75vw, 3rem);
  line-height: 1.06;
  font-weight: 400;
}

.os-copy p {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.os-grid article {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.os-grid article:nth-child(2n) {
  border-right: 0;
}

.os-grid article:nth-child(n + 3) {
  border-bottom: 0;
}

.os-grid article:hover {
  background: rgba(183,80,255,0.045);
  transform: translateY(-2px);
}

.os-grid span {
  color: rgba(203,84,255,0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.os-grid h3 {
  font-size: clamp(1.4rem, 2.3vw, 2.45rem);
  line-height: 1;
  font-weight: 400;
}

.os-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.institutional-sequence {
  background: #000;
}

.institution-section {
  position: relative;
  padding: 112px var(--pad);
  background: #000;
  overflow: hidden;
  scroll-margin-top: 120px;
}

.institution-copy,
.timeline-head,
.closing-copy {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.institution-copy h2,
.timeline-head h2,
.leader-copy h2,
.closing-copy h2 {
  margin-top: 24px;
  font-size: clamp(1.45rem, 3vw, 3.35rem);
  line-height: 1.08;
  font-weight: 400;
}

.institution-copy p,
.leader-copy p,
.closing-copy p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.65;
}

.institution-copy p,
.leader-copy p,
.closing-copy p {
  width: min(680px, 100%);
  margin-top: 26px;
}

.institution-orb {
  position: absolute;
  right: 10vw;
  bottom: -80px;
  width: clamp(180px, 28vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255,255,255,0.18), transparent 14%),
    radial-gradient(circle at 60% 64%, rgba(183,80,255,0.18), transparent 36%),
    rgba(255,255,255,0.025);
  filter: blur(18px);
  opacity: 0.45;
  animation: breathe 8s ease-in-out infinite;
}

.institution-orb.small {
  right: var(--pad);
  top: 34%;
  bottom: auto;
  width: clamp(82px, 9vw, 140px);
  filter: blur(0);
  opacity: 0.7;
}

.reveal-sequence > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}

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

.reveal-sequence.is-visible > *:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-sequence.is-visible > *:nth-child(3) {
  transition-delay: 0.24s;
}

.reveal-sequence.is-visible > *:nth-child(4) {
  transition-delay: 0.34s;
}

.build-timeline {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.75fr);
  gap: 8vw;
  align-items: start;
}

.timeline-head {
  position: sticky;
  top: 140px;
}

.timeline-scroll {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 28px;
  align-items: stretch;
}

.timeline-track {
  position: relative;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.timeline-track span {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: var(--timeline-progress, 0%);
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(183,80,255,0.68));
  transition: height 0.35s cubic-bezier(.22,.61,.36,1);
}

.timeline-items {
  display: grid;
  gap: 32px;
}

.timeline-item {
  min-height: 150px;
  display: grid;
  align-content: center;
  padding: 0 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0.28;
  transition: opacity 0.45s cubic-bezier(.22,.61,.36,1), transform 0.45s cubic-bezier(.22,.61,.36,1);
}

.timeline-item.is-active {
  opacity: 1;
  transform: translateX(8px);
}

.timeline-item span {
  color: rgba(255,255,255,0.42);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-top: 12px;
  font-size: clamp(1.25rem, 2.2vw, 2.35rem);
  line-height: 1;
  font-weight: 400;
}

.timeline-item p {
  margin-top: 14px;
  width: min(560px, 100%);
}

.leader-section,
.tech-lead-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.72fr);
  gap: 7vw;
  align-items: center;
}

.tech-lead-section {
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.42fr);
}

.leader-section .leader-copy,
.tech-lead-section .leader-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.leader-image {
  margin: 0;
  opacity: 1;
  transform: translateX(-28px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}

.tech-lead-section .leader-image {
  transform: translateX(28px);
}

.leader-image.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.leader-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.04);
}

.daniela-section .leader-image img {
  object-position: 50% 48%;
}

.tech-lead-section .leader-image img {
  object-position: 50% 12%;
}

.leader-copy a,
.closing-actions a {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
}

.capability-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -26px;
}

.leader-copy .capability-tags {
  margin-top: auto;
  padding-top: 18px;
}

.capability-tags button {
  position: relative;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.35s cubic-bezier(.22,.61,.36,1), color 0.35s cubic-bezier(.22,.61,.36,1);
}

.capability-tags button::after {
  content: attr(data-tag-copy);
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 3;
  width: min(280px, 72vw);
  padding: 12px;
  border: 1px solid rgba(183,80,255,0.32);
  background: rgba(6,6,6,0.94);
  color: var(--muted);
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(.22,.61,.36,1), transform 0.35s cubic-bezier(.22,.61,.36,1);
}

.capability-tags button:hover {
  border-color: rgba(183,80,255,0.72);
  color: #fff;
}

.capability-tags button:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.narrative-close {
  min-height: 72vh;
  display: grid;
  align-items: center;
}

.close-line {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 112px;
  height: 1px;
  background: linear-gradient(90deg, rgba(183,80,255,0.72), rgba(255,255,255,0.14), transparent);
}

.closing-copy h2 {
  font-size: clamp(1.85rem, 4vw, 4.6rem);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

.method-intro {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 88px var(--pad) 52px;
  background: linear-gradient(180deg, #000, #030303);
  text-align: center;
  scroll-margin-top: 120px;
}

.method-intro-inner {
  width: min(720px, 100%);
}

.method-intro span,
.future-copy span,
.global-copy span,
.who-columns span,
.transform-list span,
.transform-list strong {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.method-intro h2 {
  margin-top: 22px;
  font-size: clamp(1.35rem, 2.75vw, 3rem);
  line-height: 1.06;
  font-weight: 400;
}

.method-scroll {
  background: #000;
  display: grid;
  padding: 0;
}

.method-step {
  position: sticky;
  top: 0;
  min-height: 92vh;
  display: grid;
  align-content: center;
  padding: clamp(64px, 8vw, 104px) var(--pad);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    #000;
  background-size: 25vw 100%;
}

.method-step h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.8rem, 8.6vw, 9rem);
  line-height: 0.94;
  font-weight: 600;
  color: rgba(246, 244, 239, 0.92);
  letter-spacing: 0;
}

.method-step p {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.method-orb,
.future-orb,
.wire-globe {
  position: absolute;
  border-radius: 50%;
}

.method-orb {
  right: 10vw;
  top: 58%;
  width: clamp(150px, 22vw, 360px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.72), transparent 12%),
    radial-gradient(circle at 62% 62%, rgba(203, 84, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 44px rgba(255,255,255,0.12), 0 0 90px rgba(203,84,255,0.12);
  animation: breathe 5s ease-in-out infinite;
}

.method-orb span {
  position: absolute;
  inset: 18%;
  border-radius: 45% 55% 58% 42%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  animation: slowRotate 12s linear infinite;
}

.method-lines {
  position: absolute;
  inset: 0;
  opacity: 0.45;
}

.method-lines span {
  position: absolute;
  display: block;
  background: rgba(183,80,255,0.3);
  transform-origin: left center;
}

.method-lines span:nth-child(1) { left: 12%; top: 34%; width: 52%; height: 1px; transform: rotate(11deg); }
.method-lines span:nth-child(2) { left: 32%; top: 18%; width: 1px; height: 58%; }
.method-lines span:nth-child(3) { left: 58%; top: 28%; width: 32%; height: 1px; transform: rotate(-18deg); }
.method-lines span:nth-child(4) { left: 70%; top: 52%; width: 1px; height: 24%; }

.method-particles {
  position: absolute;
  inset: 0;
}

.method-particles span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(203,84,255,0.64);
  box-shadow: 0 0 24px rgba(203,84,255,0.2);
  animation: floatParticle 7s ease-in-out infinite alternate;
}

.method-particles span:nth-child(1) { left: 18%; top: 26%; }
.method-particles span:nth-child(2) { left: 74%; top: 18%; animation-delay: -1s; }
.method-particles span:nth-child(3) { left: 66%; top: 70%; animation-delay: -2s; }
.method-particles span:nth-child(4) { left: 38%; top: 58%; animation-delay: -3s; }
.method-particles span:nth-child(5) { left: 82%; top: 46%; animation-delay: -4s; }
.method-particles span:nth-child(6) { left: 52%; top: 32%; animation-delay: -5s; }

.transformations,
.who-section,
.future-section,
.global-presence {
  padding: 112px var(--pad);
  background: #000;
  scroll-margin-top: 120px;
}

.transform-head h2 {
  width: min(820px, 100%);
  margin-top: 34px;
  font-size: clamp(1.45rem, 2.95vw, 3.3rem);
  line-height: 1.06;
  font-weight: 400;
}

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

.transform-list div {
  display: grid;
  grid-template-columns: 84px minmax(0, 0.9fr) 84px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.28s ease, background 0.28s ease;
}

.transform-list div:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(183,80,255,0.05), transparent 58%);
}

.transform-list p {
  color: var(--white);
  font-family: var(--font-title);
  font-size: clamp(1.12rem, 1.75vw, 1.85rem);
  line-height: 1.14;
}

.who-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 7vw;
}

.who-copy h2 {
  position: sticky;
  top: 130px;
  font-size: clamp(1.45rem, 2.9vw, 3.2rem);
  line-height: 1.06;
  font-weight: 400;
}

.who-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.who-columns > div:first-child {
  padding-right: 50px;
  border-right: 1px solid var(--line);
}

.who-columns p {
  padding: 18px 0;
  color: var(--muted);
  line-height: 1.45;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.future-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: center;
  overflow: hidden;
}

.future-orb {
  right: 8vw;
  top: 16vh;
  width: clamp(260px, 42vw, 680px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,0.28), transparent 13%),
    radial-gradient(circle at 60% 54%, rgba(203,84,255,0.12), transparent 34%);
  filter: blur(0.2px);
  opacity: 0.5;
  animation: breathe 8s ease-in-out infinite;
}

.future-orb span {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(203,84,255,0.2);
  border-radius: 42% 58% 55% 45%;
  animation: slowRotate 18s linear infinite;
}

.future-orb span:nth-child(2) { inset: 28%; animation-duration: 24s; animation-direction: reverse; }
.future-orb span:nth-child(3) { inset: 38%; animation-duration: 15s; }

.future-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.future-copy h2 {
  margin-top: 26px;
  font-size: clamp(1.5rem, 3.1vw, 3.45rem);
  line-height: 1.06;
  font-weight: 400;
}

.future-copy p {
  width: min(620px, 100%);
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.6;
}

.floating-words span {
  position: absolute;
  color: rgba(203,84,255,0.24);
  font-family: var(--font-title);
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  animation: floatWord 10s ease-in-out infinite alternate;
}

.floating-words span:nth-child(1) { left: 12%; bottom: 18%; }
.floating-words span:nth-child(2) { right: 18%; bottom: 26%; animation-delay: -2s; }
.floating-words span:nth-child(3) { right: 32%; top: 18%; animation-delay: -4s; }
.floating-words span:nth-child(4) { left: 44%; bottom: 12%; animation-delay: -6s; }
.floating-words span:nth-child(5) { right: 8%; top: 44%; animation-delay: -8s; }

.global-presence {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 7vw;
  align-items: center;
}

.globe-wrap {
  min-height: 540px;
  position: relative;
}

.earth-canvas {
  width: min(620px, 82vw);
  aspect-ratio: 1;
  display: block;
  margin: 0 auto;
  cursor: grab;
  filter: drop-shadow(0 0 56px rgba(255,255,255,0.08));
  touch-action: none;
}

.earth-canvas:active {
  cursor: grabbing;
}

.wire-globe {
  inset: 50% auto auto 50%;
  width: min(520px, 76vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.18);
  background:
    repeating-radial-gradient(circle, transparent 0 44px, rgba(255,255,255,0.08) 45px 46px),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,0.08) 61px 62px);
  opacity: 0.72;
  transition: opacity 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.wire-globe::before,
.wire-globe::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}

.wire-globe::after {
  inset: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: slowRotate 24s linear infinite;
}

.wire-globe:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.32);
  box-shadow: 0 0 80px rgba(255,255,255,0.08);
}

.globe-point {
  position: absolute;
  color: rgba(255,255,255,0.68);
  font-size: 0.72rem;
  opacity: 0.42;
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.wire-globe:hover .globe-point {
  color: rgba(255,255,255,0.92);
  opacity: 1;
  transform: translateY(-2px);
}

.globe-point::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.point-br { left: 54%; top: 68%; }
.point-py { left: 44%; top: 72%; }
.point-ca { left: 42%; top: 24%; }
.point-be { left: 58%; top: 34%; }

.global-copy h2 {
  margin-top: 24px;
  font-size: clamp(1.5rem, 3vw, 3.35rem);
  line-height: 1.06;
  font-weight: 400;
}

.global-copy p {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.expansion-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 50px;
  color: var(--muted);
}

.expansion-line i {
  height: 1px;
  background: var(--line);
}

.home-services {
  background: #000;
}

.service-accordion {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.service-row {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.service-row:hover {
  background: rgba(255,255,255,0.025);
}

.service-toggle {
  width: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 0 10px;
}

.service-toggle span {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 3.3rem);
  line-height: 1;
}

.service-toggle strong {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--muted);
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.service-row:hover .service-toggle strong {
  border-color: rgba(203,84,255,0.4);
  color: var(--accent);
  transform: rotate(90deg);
}

.service-row.is-open .service-toggle strong {
  font-size: 0;
}

.service-row.is-open .service-toggle strong::after {
  content: "−";
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.service-content {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) auto;
  gap: 28px;
  padding-left: 10px;
  padding-right: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.service-row.is-open .service-content {
  max-height: 240px;
  opacity: 1;
  padding: 0 0 32px;
}

.service-content p {
  color: var(--muted);
  line-height: 1.65;
}

.service-content a,
.portfolio-head a,
.cases-head a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.service-content a:hover,
.portfolio-head a:hover,
.cases-head a:hover {
  color: var(--accent);
}

.numbers-section {
  background: #000;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.numbers-grid div {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}

.numbers-grid div:last-child {
  border-right: 0;
}

.numbers-grid strong {
  font-family: var(--font-title);
  font-size: clamp(2.55rem, 6.15vw, 7.1rem);
  line-height: 0.85;
  font-weight: 400;
}

.numbers-grid span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.selected-cases {
  padding: 112px 0;
  background: #000;
  scroll-margin-top: 120px;
}

.selected-cases > .section-label,
.cases-head {
  margin-left: var(--pad);
  margin-right: var(--pad);
}

.cases-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) auto;
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
  min-height: clamp(210px, 22vw, 320px);
}

.cases-head h2 {
  font-size: clamp(1.5rem, 3vw, 3.4rem);
  line-height: 1.06;
  font-weight: 400;
}

.cases-head a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  align-self: end;
  justify-self: end;
  margin-bottom: 2px;
}

.editorial-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.case-card {
  position: relative;
  height: clamp(330px, 33.333vw, 560px);
  overflow: hidden;
  cursor: pointer;
  display: block;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  border-right: 1px solid rgba(255,255,255,0.14);
  background: #050505;
  text-align: left;
  isolation: isolate;
}

.case-card:nth-child(3n) {
  border-right: 0;
}

.case-card > img,
.case-card > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.96;
  filter: saturate(0.94) contrast(1.04);
  transition: transform 0.8s cubic-bezier(.22,.61,.36,1), opacity 0.6s cubic-bezier(.22,.61,.36,1), filter 0.6s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.52)),
    linear-gradient(90deg, rgba(183,80,255,0.09), transparent 45%);
  opacity: 0.58;
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-card:hover > img,
.case-card:hover > video {
  transform: scale(1.06);
  opacity: 0.92;
  filter: saturate(0.95) contrast(1.08);
}

.case-card:hover::after {
  opacity: 0.42;
}

.case-category,
.case-title,
.case-arrow,
.case-logo {
  position: absolute;
  z-index: 2;
}

.case-category {
  left: 34px;
  top: 34px;
  color: rgba(246,244,239,0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1), transform 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-title {
  left: 34px;
  right: 82px;
  bottom: 34px;
  color: var(--white);
  font-family: var(--font-title);
  font-size: clamp(1.22rem, 2vw, 2.25rem);
  line-height: 0.98;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1), transform 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-arrow {
  right: 34px;
  bottom: 34px;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 2rem;
  opacity: 0;
  transform: translate(-12px, 10px);
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1), transform 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-card:hover .case-category,
.case-card:hover .case-title,
.case-card:hover .case-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.case-logo {
  left: 50%;
  top: 50%;
  width: min(44%, 280px);
  transform: translate(-50%, -50%);
  opacity: 0.82;
  mix-blend-mode: multiply;
  transition: transform 0.8s cubic-bezier(.22,.61,.36,1), opacity 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  animation: logoDrift 6s ease-in-out infinite alternate;
}

.carq-card:hover .case-logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(.22,.61,.36,1);
}

.case-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.case-modal-panel {
  width: min(980px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-modal.is-open .case-modal-panel {
  transform: translateY(0);
}

.case-modal-close {
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.case-modal-category,
.case-modal-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-modal h2 {
  clear: both;
  margin-top: 22px;
  font-size: clamp(1.55rem, 3.65vw, 3.8rem);
  line-height: 1;
  font-weight: 400;
}

.case-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255,255,255,0.12);
}

.case-modal-grid div {
  min-height: 190px;
  padding: 24px;
  background: #050505;
}

.case-modal-grid p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.project-page {
  background: #000;
  color: var(--white);
}

.project-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: 136px var(--pad) 76px;
  overflow: hidden;
  background: #000;
}

.project-hero > img,
.project-hero > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.9;
  filter: grayscale(0.08) contrast(1.02);
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.68));
}

.project-hero-copy {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
}

.project-hero-copy span,
.project-intro span,
.project-text-block span {
  display: block;
  margin-bottom: 24px;
  color: rgba(246,244,239,0.62);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-text-block > span {
  align-self: center;
  margin-bottom: 0;
  color: rgba(246,244,239,0.78);
  font-size: clamp(0.78rem, 0.86vw, 0.92rem);
}

.project-hero-copy h1 {
  font-size: clamp(2rem, 4.8vw, 5.2rem);
  line-height: 1;
}

.project-text-block h2 {
  font-size: clamp(1.55rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.project-intro p {
  font-size: clamp(1.25rem, 2.4vw, 2.65rem);
  line-height: 1.18;
}

.project-hero-copy h1 strong,
.project-text-block h2 strong,
.institution-copy h2 strong,
.timeline-head h2 strong,
.leader-copy h2 strong,
.closing-copy h2 strong,
.culture-hero-copy h1 strong,
.sustainability-section h2 strong,
.culture-close h2 strong {
  font-weight: 700;
}

.project-hero-copy h1 {
  font-size: clamp(1.55rem, 3.05vw, 3.15rem);
  line-height: 1.05;
  font-weight: 700;
}

.project-hero-copy p {
  margin-top: 16px;
  color: var(--white);
  font-family: var(--font-text);
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.project-tags span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(246,244,239,0.2);
  border-radius: 999px;
  color: rgba(246,244,239,0.82);
  font-family: var(--font-text);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.project-intro {
  min-height: 44vh;
  display: grid;
  align-items: center;
  padding: 82px var(--pad);
}

.project-intro p {
  max-width: 700px;
  font-family: var(--font-text);
  font-size: clamp(0.98rem, 1.28vw, 1.32rem);
  line-height: 1.55;
}

.project-media {
  padding: 0 var(--pad);
  background: #000;
}

.project-media img,
.project-media video {
  width: 100%;
  min-height: 48vh;
  max-height: 82vh;
  display: block;
  object-fit: cover;
}

.project-media.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.project-media.split img,
.project-media.split video {
  min-height: 50vh;
}

.project-final-media img,
.project-final-media video {
  min-height: 58vh;
  max-height: none;
}

.project-text-block {
  display: grid;
  grid-template-columns: minmax(170px, 0.24fr) minmax(0, 0.76fr);
  gap: 6vw;
  align-items: center;
  padding: 92px var(--pad);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-text-block h2 {
  margin-bottom: 28px;
  font-size: clamp(1.35rem, 2.35vw, 2.6rem);
  line-height: 1.04;
  font-weight: 400;
}

.project-text-block p {
  max-width: 760px;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: clamp(0.86rem, 0.92vw, 0.98rem);
  line-height: 1.72;
}

.project-text-block p + p {
  margin-top: 20px;
}

.project-hero-cavali {
  min-height: 76vh;
  padding-bottom: 64px;
}

.project-hero-cavali > img {
  object-position: center 52%;
}

.project-hero-cavali .project-hero-copy h1 {
  font-size: clamp(1.95rem, 3.65vw, 3.95rem);
}

.project-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 56px var(--pad) 80px;
  font-weight: 700;
}

.portfolio-preview {
  background: #000;
}

.portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: 34px;
}

.portfolio-head h2 {
  font-size: clamp(1.65rem, 3.75vw, 4.25rem);
  line-height: 1;
  font-weight: 400;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.portfolio-grid a {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.portfolio-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.overview-grid {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.overview-grid article {
  min-height: auto;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.46fr) 1fr auto;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.overview-grid span,
.case-stack span {
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.overview-grid h2 {
  font-size: clamp(1.55rem, 2.9vw, 3rem);
  line-height: 0.98;
}

.overview-grid p,
.ai-mini p,
.service-lead,
.service-list p,
.case-stack p,
.accordion-item p,
.about-split p,
.timeline-clean span,
.tech-list p {
  color: var(--muted);
  line-height: 1.55;
}

.overview-grid a {
  font-size: 0.84rem;
  font-weight: 700;
}

.ai-mini {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
  margin-top: 42px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ai-mini p {
  padding: 30px 0;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
}

.ai-mini p span {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ai-mini div {
  display: grid;
}

.ai-mini button {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  padding: 18px 0;
  text-align: left;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px var(--pad);
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer img {
  width: 170px;
  filter: invert(1);
}

.site-footer a {
  color: var(--muted);
}

.ai-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
}

.ai-orb {
  width: 74px;
  height: 74px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.9);
  box-shadow: 0 0 34px rgba(203, 84, 255, 0.18), 0 18px 60px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  overflow: visible;
  animation: aiFloat 5s ease-in-out infinite;
}

.ai-orb::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(203, 84, 255, 0.14);
  filter: blur(14px);
  opacity: 0.7;
}

.ai-orb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  animation: aiImage 7s ease-in-out infinite alternate;
}

.ai-chat {
  position: absolute;
  right: 0;
  bottom: 92px;
  width: min(360px, calc(100vw - 40px));
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.86);
  color: var(--white);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ai-widget.is-open .ai-chat {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ai-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.ai-close {
  background: transparent;
  cursor: pointer;
  font-size: 1.3rem;
}

.ai-chat p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
  letter-spacing: 0;
}

.ai-chat p span {
  display: none;
}

.ai-chat-prompts {
  display: grid;
}

.ai-chat-prompts button {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  padding: 12px 0;
  text-align: left;
  cursor: pointer;
  color: var(--white);
}

.ai-chat-messages {
  max-height: 310px;
  overflow: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.ai-chat-messages::-webkit-scrollbar {
  width: 4px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(246,244,239,0.22);
  border-radius: 999px;
}

.ai-chat .ai-message {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.48;
}

.ai-chat .ai-message-assistant {
  justify-self: start;
  background: rgba(255,255,255,0.055);
  color: rgba(246,244,239,0.74);
}

.ai-chat .ai-message-user {
  justify-self: end;
  border-color: rgba(183,80,255,0.36);
  background: rgba(183,80,255,0.12);
  color: var(--white);
}

.page {
  padding-top: 76px;
}

.page-hero {
  min-height: 42vh;
  display: grid;
  align-content: center;
  gap: 12px;
}

.page-intro {
  width: min(720px, 100%);
  font-size: clamp(1.15rem, 2.15vw, 2.45rem);
  line-height: 1.16;
}

.service-index {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 10vw;
  background: #000;
}

.service-lead {
  max-width: 250px;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  gap: 48px;
}

.service-list h2 {
  font-size: clamp(1.85rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.case-hero {
  min-height: 30vh;
  align-content: end;
  padding-bottom: 34px;
  background: #000;
}

.case-hero .page-intro {
  width: min(560px, 100%);
  font-size: clamp(1.02rem, 1.72vw, 1.95rem);
  line-height: 1.18;
}

.case-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.case-stack a {
  position: relative;
  min-height: min(380px, 44vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(16px, 1.65vw, 22px);
  background: #050505;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.case-stack img,
.case-stack video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.96;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 0.8s cubic-bezier(.22,.61,.36,1), opacity 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-stack a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.48));
}

.case-stack a:hover img,
.case-stack a:hover video {
  opacity: 0.9;
  transform: scale(1.045);
}

.case-stack a div {
  position: relative;
  z-index: 2;
  max-width: 88%;
}

.case-stack h2 {
  margin: 10px 0 7px;
  font-size: clamp(0.96rem, 1.32vw, 1.62rem);
  line-height: 1.04;
  font-weight: 400;
}

.case-stack p {
  max-width: 300px;
  margin-bottom: 12px;
  color: rgba(246,244,239,0.76);
  font-size: 0.64rem;
  line-height: 1.42;
}

.case-stack small {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  margin: 0 5px 7px 0;
  padding: 0 7px;
  border: 1px solid rgba(246,244,239,0.2);
  border-radius: 999px;
  color: rgba(246,244,239,0.82);
  font-size: 0.48rem;
  font-weight: 600;
}

.accordion-list {
  background: #f4f2ed;
  color: #050505;
}

.accordion-item {
  width: 100%;
  display: grid;
  grid-template-columns: 0.35fr 1fr auto;
  gap: 24px;
  border-top: 1px solid #111;
  background: transparent;
  padding: 28px 0;
  text-align: left;
  cursor: pointer;
}

.accordion-item::after {
  content: "Read more ↓";
  font-weight: 600;
}

.accordion-item.is-open::after {
  content: "Close ↑";
}

.accordion-item span {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 3.65vw, 3.55rem);
}

.accordion-item p {
  max-height: 0;
  overflow: hidden;
  color: #111;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  transition: max-height 0.3s ease;
}

.accordion-item.is-open p {
  max-height: 220px;
}

.about-page {
  background: #000;
}

.about-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 7vw;
  align-items: center;
}

.about-split img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: 52% 18%;
  border-radius: var(--radius);
  filter: grayscale(0.05) contrast(1.04);
}

.about-split h1 {
  margin: 24px 0;
  font-size: clamp(2.95rem, 7.45vw, 7.45rem);
  line-height: 0.88;
}

.about-split p {
  max-width: 620px;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}

.timeline-clean {
  display: grid;
  background: #f4f2ed;
  color: #050505;
}

.timeline-clean span {
  padding: 26px 0;
  border-top: 1px solid #111;
  color: #050505;
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 3.65vw, 3.95rem);
  line-height: 0.98;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.tech-list article {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  background: #000;
}

.tech-list .wide {
  grid-column: 1 / -1;
  min-height: 360px;
}

.tech-list span {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 4.55vw, 5.3rem);
  line-height: 0.9;
}

.contact-page {
  min-height: 100vh;
}

.big-link {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-size: clamp(1.05rem, 2.65vw, 2.55rem);
}

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

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

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes flow {
  from { transform: translateX(-4vw) scale(1); }
  to { transform: translateX(6vw) scale(1.08); }
}

@keyframes aiPulse {
  0%, 100% { transform: scale(1); filter: saturate(1); }
  50% { transform: scale(1.05); filter: saturate(1.25); }
}

@keyframes aiInner {
  from { transform: rotate(0deg) scale(0.94); border-radius: 44% 56% 48% 52%; }
  to { transform: rotate(18deg) scale(1.08); border-radius: 58% 42% 54% 46%; }
}

@keyframes aiFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -8px, 0) scale(1.035); }
}

@keyframes aiImage {
  from { transform: rotate(-4deg) scale(1); filter: saturate(1.05) brightness(1); }
  to { transform: rotate(5deg) scale(1.08); filter: saturate(1.25) brightness(1.08); }
}

@keyframes headlineWordGlow {
  0%, 100% {
    color: var(--white);
    text-shadow: 0 0 0 rgba(203,84,255,0);
    transform: translateY(0);
  }
  45% {
    color: #fff;
    text-shadow: 0 0 26px rgba(203,84,255,0.34);
    transform: translateY(-2px);
  }
}

@keyframes logoDrift {
  from { transform: translate3d(-6px, 4px, 0) scale(0.98); opacity: 0.78; }
  to { transform: translate3d(7px, -5px, 0) scale(1.03); opacity: 1; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.58; }
  50% { transform: scale(1.055); opacity: 0.86; }
}

@keyframes slowRotate {
  to { transform: rotate(360deg); }
}

@keyframes floatParticle {
  from { transform: translate3d(0, 0, 0) scale(0.75); opacity: 0.3; }
  to { transform: translate3d(28px, -34px, 0) scale(1.18); opacity: 0.85; }
}

@keyframes floatWord {
  from { transform: translate3d(0, 0, 0); opacity: 0.18; }
  to { transform: translate3d(18px, -20px, 0); opacity: 0.36; }
}

.culture-page {
  background: #000;
  color: var(--white);
}

.culture-hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 150px var(--pad) 90px;
  background: #000;
  overflow: hidden;
}

.culture-hero-copy {
  width: min(840px, 100%);
  transform: translate3d(var(--culture-x, 0), var(--culture-y, 0), 0);
  transition: transform 0.7s cubic-bezier(.22,.61,.36,1);
}

.culture-hero-copy span,
.work-copy span,
.sustainability-section span {
  display: block;
  margin-bottom: 28px;
  color: rgba(246,244,239,0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.culture-hero-copy h1 {
  max-width: 880px;
  font-size: clamp(2.25rem, 5.2vw, 5.7rem);
  line-height: 1.02;
  font-weight: 400;
}

.culture-hero-copy p {
  width: min(650px, 100%);
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  line-height: 1.65;
}

.principle-scroll {
  background: #000;
}

.principle-word {
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 120px var(--pad);
}

.principle-word h2 {
  font-size: clamp(2.8rem, 9.2vw, 10.4rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.9s cubic-bezier(.22,.61,.36,1), transform 0.9s cubic-bezier(.22,.61,.36,1);
}

.principle-word.is-visible h2 {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.application-step [tabindex="-1"]:focus {
  outline: none;
}

.hero-method-title {
  font-size: 4rem;
}

@media (min-width: 901px) {
  .hero-line {
    white-space: nowrap;
  }
}

.work-method {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 120px var(--pad);
  background: #ededeb;
  color: #050505;
}

.work-copy {
  width: min(1120px, 100%);
}

.work-copy span {
  color: rgba(5,5,5,0.48);
}

.work-copy h2 {
  font-size: clamp(2.25rem, 5.4vw, 5.9rem);
  line-height: 1.02;
  font-weight: 400;
}

.work-copy strong {
  display: inline-block;
  font-weight: 700;
  transition: opacity 0.45s cubic-bezier(.22,.61,.36,1), transform 0.45s cubic-bezier(.22,.61,.36,1);
}

.work-copy strong.is-changing {
  opacity: 0;
  transform: translateY(18px);
}

.sustainability-section {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  align-items: center;
  gap: 12vw;
  padding: 130px var(--pad);
  background: #000;
}

.sustainability-section h2 {
  font-size: clamp(2rem, 4.4vw, 4.8rem);
  line-height: 1.04;
  font-weight: 400;
}

.sustainability-section p {
  align-self: center;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.7;
}

.culture-values {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.34fr);
  gap: 9vw;
  align-items: center;
  padding: 120px var(--pad);
  background: #000;
}

.values-list {
  display: grid;
  gap: 8px;
}

.values-list button {
  width: fit-content;
  padding: 0;
  background: transparent;
  color: rgba(246,244,239,0.28);
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.7vw, 5.2rem);
  line-height: 1;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.45s cubic-bezier(.22,.61,.36,1), transform 0.45s cubic-bezier(.22,.61,.36,1);
}

.values-list:hover button {
  color: rgba(246,244,239,0.14);
}

.values-list button:hover,
.values-list button.is-active {
  color: var(--white);
  transform: translateX(14px) scale(1.035);
}

.value-copy {
  min-height: 150px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.7;
  transition: opacity 0.35s cubic-bezier(.22,.61,.36,1), transform 0.35s cubic-bezier(.22,.61,.36,1);
}

.value-copy.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

.culture-close {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 120px var(--pad);
  background: #000;
  text-align: center;
}

.culture-close h2 {
  font-size: clamp(2.35rem, 5.6vw, 6.1rem);
  line-height: 1.02;
  font-weight: 400;
}

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

  .culture-hero,
  .principle-word,
  .work-method,
  .sustainability-section,
  .culture-values,
  .culture-close {
    padding-left: 20px;
    padding-right: 20px;
  }

  .culture-hero-copy h1,
  .work-copy h2,
  .sustainability-section h2,
  .culture-close h2 {
    font-size: clamp(2.15rem, 8.8vw, 4.15rem);
  }

  .principle-word h2 {
    font-size: clamp(2.45rem, 10vw, 5rem);
  }

  .sustainability-section,
  .culture-values {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .values-list button {
    font-size: clamp(2rem, 8.4vw, 3.9rem);
  }

  .glass-menu-button {
    justify-self: end;
  }

  .contact-pill {
    display: none;
  }

  .home-hero {
    padding: 84px 20px 0;
  }

  .soft-glow {
    left: 20px;
    right: 20px;
    top: 84px;
  }

  .hero-frame {
    min-height: calc(100vh - 84px);
  }

  .hero-meta {
    display: grid;
  }

  .hero-copy {
    padding: 38px 18px 18vh;
  }

  .scroll-cue {
    display: none;
  }

  .overview-grid,
  .ai-mini,
  .service-index,
  .about-split,
  .tech-list,
  .statement-grid,
  .operating-system,
  .who-section,
  .who-columns,
  .global-presence,
  .numbers-grid,
  .portfolio-head,
  .cases-head {
    grid-template-columns: 1fr;
  }

  .cases-head {
    min-height: 0;
  }

  .cases-head a {
    justify-self: start;
    margin-top: 24px;
  }

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

  .hero-system-bar,
  .os-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-system-bar span:nth-child(2n),
  .os-grid article:nth-child(2n) {
    border-right: 0;
  }

  .hero-system-bar span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255,255,255,0.095);
  }

  .os-copy {
    position: static;
  }

  .case-card,
  .case-card:nth-child(3n) {
    border-right: 1px solid rgba(255,255,255,0.14);
  }

  .case-card:nth-child(2n) {
    border-right: 0;
  }

  .case-card.large {
    grid-column: auto;
  }

  .method-step h2 {
    font-size: clamp(2.5rem, 11vw, 5.8rem);
  }

  .method-orb {
    right: -12vw;
    top: 18vh;
    opacity: 0.42;
  }

  .transform-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .who-copy h2 {
    position: static;
  }

  .who-columns > div:first-child {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .global-presence {
    gap: 26px;
  }

  .globe-wrap {
    min-height: 380px;
  }

  .service-content {
    grid-template-columns: 1fr;
  }

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

  .case-stack {
    grid-template-columns: 1fr;
  }

  .case-stack a {
    min-height: 340px;
    padding: 16px;
    border-right: 0;
  }

  .overview-grid article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 0;
  }

  .overview-grid p {
    max-width: 420px;
  }

  .overview-grid a {
    width: fit-content;
  }

  .page-intro {
    font-size: clamp(1.12rem, 5.2vw, 2rem);
  }

  .case-hero .page-intro {
    font-size: clamp(1.06rem, 5.4vw, 1.7rem);
  }

  .service-list h2 {
    font-size: clamp(1.95rem, 8.5vw, 3.8rem);
  }

  .case-stack h2 {
    font-size: clamp(1rem, 5.8vw, 1.55rem);
  }

  .accordion-item {
    grid-template-columns: 1fr;
  }

  .accordion-item::after {
    color: #555;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 118px;
  }

  .glass-menu {
    top: 76px;
  }

  .glass-menu > a {
    min-height: auto;
  }

  .home-overview,
  .home-ai,
  .home-statement,
  .home-services,
  .method-intro,
  .method-step,
  .operating-system,
  .transformations,
  .who-section,
  .future-section,
  .global-presence,
  .selected-cases,
  .numbers-section,
  .portfolio-preview,
  .page-hero,
  .service-index,
  .accordion-list,
  .about-split,
  .timeline-clean,
  .tech-list {
    padding: 96px 20px;
  }

  .selected-cases {
    padding: 96px 0;
  }

  .selected-cases > .section-label,
  .cases-head {
    margin-left: 20px;
    margin-right: 20px;
  }

  .method-intro {
    min-height: 58vh;
  }

  .method-step {
    min-height: 74vh;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-action,
  .secondary-action {
    min-height: 42px;
    padding: 0 15px;
  }

  .hero-system-bar {
    margin-bottom: 18px;
  }

  .hero-system-bar span {
    min-height: 58px;
    padding: 0 12px;
    font-size: 0.64rem;
  }

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

  .os-grid article,
  .os-grid article:nth-child(2n),
  .os-grid article:nth-child(n + 3) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .os-grid article:last-child {
    border-bottom: 0;
  }

  .future-section {
    min-height: 86vh;
  }

  .future-orb {
    right: -24vw;
    top: 18vh;
    opacity: 0.32;
  }

  .floating-words span {
    font-size: 0.72rem;
  }

  .wire-globe {
    width: min(320px, 82vw);
  }

  .hero-word {
    font-size: 30vw;
  }

  .hero-copy {
    margin-top: 18vh;
  }

  .numbers-grid div {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .editorial-case-grid {
    grid-template-columns: 1fr;
  }

  .case-card,
  .case-card.large,
  .case-card:nth-child(2n),
  .case-card:nth-child(3n) {
    grid-column: auto;
    height: 340px;
    border-right: 0;
  }

  .case-category,
  .case-title,
  .case-arrow {
    opacity: 1;
    transform: none;
  }

  .case-modal-grid {
    grid-template-columns: 1fr;
  }

  .project-hero,
  .project-intro,
  .project-text-block,
  .project-next {
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-hero {
    min-height: 86vh;
    padding-top: 124px;
    padding-bottom: 56px;
  }

  .project-hero-copy {
    width: min(480px, 100%);
  }

  .project-hero-copy h1 {
    font-size: clamp(1.9rem, 9.5vw, 3.1rem);
    line-height: 1.03;
  }

  .project-hero-copy p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .project-tags {
    gap: 7px;
    margin-top: 22px;
  }

  .project-tags span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  .project-text-block,
  .project-media.split {
    grid-template-columns: 1fr;
  }

  .project-media {
    padding: 0;
  }

  .project-media img,
  .project-media video,
  .project-media.split img,
  .project-media.split video {
    min-height: 420px;
  }

  .project-next {
    display: grid;
  }

  .ai-widget {
    right: 16px;
    bottom: 16px;
  }

  .ai-orb {
    width: 64px;
    height: 64px;
  }

  .site-footer {
    display: grid;
    gap: 18px;
  }
}

/* Editorial homepage rebuild */
.home-shell {
  --home-section-space: clamp(136px, 16vw, 220px);
  --home-block-space: clamp(96px, 11vw, 160px);
  background: #000;
  background-image:
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 96px 96px;
}

.site-header .contact-pill {
  min-height: 36px;
  padding: 0 18px;
  border-color: rgba(255,255,255,0.16);
  background: rgba(8,8,8,0.48);
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.editorial-hero {
  min-height: 100vh;
  padding: 98px var(--pad) 0;
}

.editorial-hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.78), rgba(0,0,0,0.02) 30%, rgba(0,0,0,0.86));
}

.editorial-frame {
  min-height: calc(100vh - 98px);
  grid-template-rows: auto 1fr;
}

.hero-meta {
  padding: 24px 0;
  border-bottom: 1px solid rgba(246,244,239,0.12);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.hero-copy {
  width: min(1180px, 100%);
  padding: clamp(84px, 12vh, 132px) 0 14vh;
  opacity: var(--hero-fade, 1);
}

.editorial-title {
  max-width: 1040px;
  min-height: auto;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: normal;
}

.editorial-title::after {
  display: none;
}

.editorial-title [data-hero-word="marcas"] {
  display: inline-block;
  transform: translate3d(0, var(--hero-shift-a, 0), 0);
}

.editorial-title.is-complete {
  animation: titleSettle 0.9s cubic-bezier(.22,.61,.36,1) both;
}

.hero-support,
.formula-head p,
.statement-grid p,
.global-copy p,
.service-content p,
.difference-grid p {
  max-width: 620px;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.7;
  color: rgba(246,244,239,0.68);
}

.hero-support {
  margin-top: 40px;
}

.hero-actions {
  margin-top: 40px;
}

.primary-action,
.secondary-action {
  min-height: 42px;
  border-radius: 0;
  padding: 0 20px;
  font-size: 0.86rem;
}

.primary-action {
  background: var(--white);
}

.secondary-action {
  background: transparent;
}

.editorial-section,
.home-statement,
.method-intro,
.transformations,
.home-services,
.global-presence {
  padding: var(--home-section-space) var(--pad);
}

.brand-philosophy {
  position: relative;
}

.section-label,
.method-intro span,
.global-copy span,
.future-copy span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.statement-grid,
.formula-head {
  margin-top: 40px;
}

.statement-grid h2,
.method-intro h2,
.formula-head h2,
.transform-head h2,
.global-copy h2,
.cases-head h2 {
  max-width: 980px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.statement-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.38fr);
  gap: 9vw;
}

.draw-line {
  width: 100%;
  height: 1px;
  margin-top: 72px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(203,84,255,0.72), rgba(246,244,239,0.2), transparent);
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1);
}

.draw-line.is-drawn {
  transform: scaleX(1);
}

.word-reveal h1 span,
.word-reveal h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(.22,.61,.36,1), transform 0.75s cubic-bezier(.22,.61,.36,1);
}

.word-reveal.is-visible h1 span,
.word-reveal.is-visible h2 span,
.word-reveal .is-visible span {
  opacity: 1;
  transform: translateY(0);
}

.method-intro {
  min-height: 58vh;
}

.method-step {
  min-height: 100vh;
  padding: clamp(84px, 9vw, 124px) var(--pad);
  background: #000;
}

.method-step h2 {
  font-size: clamp(52px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.22,.61,.36,1), transform 0.9s cubic-bezier(.22,.61,.36,1);
}

.method-step p {
  margin-top: 40px;
  max-width: 620px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(.22,.61,.36,1) 0.18s, transform 0.9s cubic-bezier(.22,.61,.36,1) 0.18s;
}

.method-step:hover h2,
.method-step:hover p,
.method-step.is-visible h2,
.method-step.is-visible p {
  opacity: 1;
  transform: translateY(0);
}

.formula-section {
  position: relative;
}

.formula-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 72px;
  border-top: 1px solid rgba(246,244,239,0.16);
  border-bottom: 1px solid rgba(246,244,239,0.16);
}

.formula-steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: rgba(203,84,255,0.46);
  transition: transform 1.35s cubic-bezier(.22,.61,.36,1);
}

.formula-steps.is-drawn::before {
  transform: scaleX(1);
}

.formula-steps article,
.difference-grid article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid rgba(246,244,239,0.12);
  background: rgba(255,255,255,0.018);
  transition: background 0.45s cubic-bezier(.22,.61,.36,1), transform 0.45s cubic-bezier(.22,.61,.36,1);
}

.formula-steps article:last-child,
.difference-grid article:last-child {
  border-right: 0;
}

.formula-steps span,
.difference-grid span,
.case-year {
  color: rgba(246,244,239,0.52);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.formula-steps h3,
.difference-grid h3 {
  margin-top: 72px;
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  font-weight: 500;
}

.formula-steps p,
.difference-grid p {
  margin-top: 18px;
  font-size: 1rem;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border: 1px solid rgba(246,244,239,0.12);
}

.difference-grid article:hover,
.formula-steps article:hover {
  background: rgba(255,255,255,0.045);
  transform: translateY(-4px);
}

.service-accordion {
  margin-top: 72px;
}

.service-row {
  transition: background 0.6s cubic-bezier(.22,.61,.36,1);
}

.service-toggle {
  min-height: 104px;
}

.service-toggle span {
  font-size: clamp(1.65rem, 3.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.service-content {
  transition: max-height 0.6s cubic-bezier(.22,.61,.36,1), opacity 0.6s cubic-bezier(.22,.61,.36,1), padding 0.6s cubic-bezier(.22,.61,.36,1);
}

.case-card > img,
.case-card > video {
  opacity: 1;
  filter: saturate(0.92) contrast(1.02);
}

.case-card::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.68));
  opacity: 0.4;
}

.case-card:hover > img,
.case-card:hover > video {
  transform: scale(1.035);
  opacity: 1;
}

.case-category,
.case-year,
.case-title,
.case-arrow {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(.22,.61,.36,1), transform 0.55s cubic-bezier(.22,.61,.36,1);
}

.case-year {
  position: absolute;
  z-index: 2;
  right: 34px;
  top: 34px;
}

.case-card:hover .case-category,
.case-card:hover .case-year,
.case-card:hover .case-title,
.case-card:hover .case-arrow {
  opacity: 1;
  transform: translateY(0);
}

.global-presence {
  min-height: 84vh;
}

.earth-canvas {
  filter: none;
  opacity: 0.86;
}

.ai-orb {
  width: 38px;
  height: 38px;
  box-shadow: 0 0 16px rgba(203,84,255,0.16), 0 12px 36px rgba(0,0,0,0.46);
}

.ai-orb::before {
  inset: -5px;
  opacity: 0.24;
  filter: blur(9px);
}

.ai-orb:hover::after {
  content: "Revee Intelligence\aAnalise sua marca";
  white-space: pre;
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  width: max-content;
  color: rgba(246,244,239,0.82);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: right;
  letter-spacing: 0;
}

.smart-cursor {
  position: fixed;
  left: var(--cursor-x, -40px);
  top: var(--cursor-y, -40px);
  z-index: 999;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(246,244,239,0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  mix-blend-mode: difference;
}

.smart-cursor.is-active {
  width: 30px;
  height: 30px;
  border-color: rgba(203,84,255,0.72);
  background: rgba(203,84,255,0.08);
}

@keyframes titleSettle {
  from { opacity: 0.82; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1440px) {
  .editorial-title {
    font-size: 84px;
  }
}

@media (max-width: 900px) {
  .editorial-title {
    font-size: 56px;
  }

  .statement-grid,
  .formula-steps,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .formula-steps article,
  .difference-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(246,244,239,0.12);
  }
}

@media (max-width: 560px) {
  .editorial-title {
    font-size: 40px;
  }

  .editorial-section,
  .home-statement,
  .method-intro,
  .transformations,
  .home-services,
  .global-presence {
    padding-top: 128px;
    padding-bottom: 128px;
  }

  .smart-cursor {
    display: none;
  }
}

/* Hero method sequence */
.hero-method-title {
  max-width: 980px;
  min-height: auto;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero-method-title.is-complete {
  animation: heroTitleArrive 0.75s cubic-bezier(.22,.61,.36,1) both;
}

.hero-focus-word {
  display: inline-block;
  position: relative;
  transform-origin: center bottom;
  font-weight: 400;
  will-change: transform, filter;
}

.hero-copy.is-sequencing .hero-focus-brand {
  animation: heroWordFocus 9s cubic-bezier(.22,.61,.36,1) 1s infinite both;
}

.hero-copy.is-sequencing .hero-focus-growth {
  animation: heroWordFocus 9s cubic-bezier(.22,.61,.36,1) 2s infinite both;
}

.hero-connection {
  display: inline-grid;
  grid-template-columns: auto clamp(86px, 12vw, 180px) auto;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  color: rgba(246,244,239,0.56);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
}

.hero-connection i {
  display: block;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(246,244,239,0.18), rgba(203,84,255,0.72), rgba(246,244,239,0.18));
}

.hero-method-flow {
  margin-top: 18px;
  color: rgba(246,244,239,0.62);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(8px);
}

.hero-copy.is-sequencing .hero-connection {
  animation: heroConnectionIn 9s cubic-bezier(.22,.61,.36,1) 3s infinite both;
}

.hero-copy.is-sequencing .hero-connection i {
  animation: heroLineGrow 9s cubic-bezier(.22,.61,.36,1) 3s infinite both;
}

.hero-copy.is-sequencing .hero-method-flow {
  animation: heroFlowIn 9s cubic-bezier(.22,.61,.36,1) 4s infinite both;
}

.hero-method-title + .hero-support {
  max-width: 760px;
  margin-top: 34px;
}

.hero-method-flow + .hero-actions,
.hero-actions {
  margin-top: 34px;
}

@keyframes heroTitleArrive {
  from { opacity: 0.9; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroWordFocus {
  0%, 8% {
    font-weight: 400;
    transform: scale(1);
    text-shadow: none;
  }
  14%, 78% {
    font-weight: 700;
    transform: scale(1.04);
    text-shadow: 0 0 22px rgba(203,84,255,0.18);
  }
  88%, 100% {
    font-weight: 600;
    transform: scale(1.015);
    text-shadow: 0 0 14px rgba(203,84,255,0.1);
  }
}

@keyframes heroConnectionIn {
  0%, 18% {
    opacity: 0;
    transform: translateY(8px);
  }
  24%, 84% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.72;
    transform: translateY(0);
  }
}

@keyframes heroLineGrow {
  0%, 18% { transform: scaleX(0); }
  28%, 100% { transform: scaleX(1); }
}

@keyframes heroFlowIn {
  0%, 18% {
    opacity: 0;
    transform: translateY(8px);
  }
  26%, 84% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.66;
    transform: translateY(0);
  }
}

@media (min-width: 1440px) {
  .hero-method-title {
    font-size: 84px;
  }
}

@media (max-width: 900px) {
  .hero-method-title {
    font-size: 56px;
  }

  .hero-connection {
    grid-template-columns: auto clamp(54px, 16vw, 120px) auto;
    gap: 10px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 560px) {
  .hero-method-title {
    font-size: 40px;
    line-height: 1.08;
  }

  .hero-connection {
    font-size: 0.66rem;
  }

  .hero-method-flow {
    font-size: 0.74rem;
    line-height: 1.45;
  }
}

/* Final hero timing: text appears whole, then emphasis connects the ideas. */
.hero-copy.is-sequencing .hero-focus-brand {
  animation:
    heroWordFocusIn 0.8s cubic-bezier(.22,.61,.36,1) 1s forwards,
    heroFocusedBreath 7s ease-in-out 4.8s infinite;
}

.hero-copy.is-sequencing .hero-focus-growth {
  animation:
    heroWordFocusIn 0.8s cubic-bezier(.22,.61,.36,1) 2s forwards,
    heroFocusedBreath 7s ease-in-out 5.2s infinite;
}

.hero-copy.is-sequencing .hero-connection {
  animation: heroConnectionReveal 0.75s cubic-bezier(.22,.61,.36,1) 3s forwards;
}

.hero-copy.is-sequencing .hero-connection i {
  animation: heroLineReveal 0.95s cubic-bezier(.22,.61,.36,1) 3s forwards;
}

.hero-copy.is-sequencing .hero-method-flow {
  animation: heroFlowReveal 0.75s cubic-bezier(.22,.61,.36,1) 4s forwards;
}

@keyframes heroWordFocusIn {
  from {
    font-weight: 400;
    transform: scale(1);
    text-shadow: none;
  }
  to {
    font-weight: 700;
    transform: scale(1.04);
    text-shadow: 0 0 22px rgba(203,84,255,0.18);
  }
}

@keyframes heroFocusedBreath {
  0%, 100% {
    font-weight: 700;
    transform: scale(1.04);
    text-shadow: 0 0 18px rgba(203,84,255,0.14);
  }
  50% {
    font-weight: 700;
    transform: scale(1.025);
    text-shadow: 0 0 10px rgba(203,84,255,0.08);
  }
}

@keyframes heroConnectionReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLineReveal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes heroFlowReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero compact rhythm so the CTAs stay in the first viewport. */
.hero-copy {
  padding: clamp(48px, 7vh, 92px) 0 10vh;
}

.hero-method-title {
  font-size: 64px;
  line-height: 1.02;
}

.hero-method-title + .hero-support {
  margin-top: 26px;
}

.hero-connection {
  margin-top: 20px;
}

.hero-method-flow {
  margin-top: 14px;
}

.hero-method-flow + .hero-actions,
.hero-actions {
  margin-top: 26px;
}

@media (min-width: 1440px) {
  .hero-method-title {
    font-size: 78px;
  }
}

@media (max-width: 900px) {
  .hero-method-title {
    font-size: 52px;
  }
}

@media (max-width: 560px) {
  .hero-method-title {
    font-size: 38px;
  }

  .editorial-hero {
    min-height: auto;
  }

  .editorial-frame {
    min-height: auto;
  }

  .hero-copy {
    align-self: start;
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 72px;
  }
}

/* Minimal hero variation requested: no connector captions, just the headline motion. */
.hero-connection,
.hero-method-flow {
  display: none;
}

.hero-method-title {
  min-height: 4.1em;
}

.hero-focus-word {
  font-weight: 400;
}

.hero-method-title.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.055em;
  height: 0.76em;
  margin-left: 0.08em;
  background: currentColor;
  animation: blink 0.8s steps(2, start) infinite;
  vertical-align: -0.05em;
}

.hero-method-title.is-typing {
  font-weight: 400;
}

.hero-method-title.is-complete {
  animation: titleSettle 0.85s cubic-bezier(.22,.61,.36,1) both;
}

.hero-copy.is-sequencing .hero-focus-brand,
.hero-copy.is-sequencing .hero-focus-growth {
  font-weight: 760;
  transform: none;
  text-shadow: none;
  animation: none;
}

.hero-copy.is-sequencing .hero-focus-growth {
  animation-delay: 0s;
}

.hero-actions {
  margin-top: 34px;
}

@keyframes heroWordThicken {
  0%, 100% {
    font-weight: 400;
    transform: scale(1);
    text-shadow: 0 0 0 rgba(203,84,255,0);
  }
  38%, 66% {
    font-weight: 760;
    transform: scale(1.035);
    text-shadow: 0 0 24px rgba(203,84,255,0.22);
  }
}

/* Home tightening and sequential cards */
.home-shell {
  --home-section-space: clamp(82px, 9vw, 132px);
  --home-block-space: clamp(64px, 8vw, 118px);
}

.editorial-section,
.home-statement,
.transformations,
.home-services,
.global-presence {
  padding-top: var(--home-section-space);
  padding-bottom: var(--home-section-space);
}

.brand-philosophy {
  padding-bottom: clamp(64px, 7vw, 104px);
}

.draw-line,
.formula-steps::before {
  display: none;
}

.method-scroll {
  display: grid;
}

.method-step {
  min-height: 72vh;
  padding-top: clamp(76px, 8vw, 112px);
  padding-bottom: clamp(76px, 8vw, 112px);
}

.method-step h2 {
  font-size: clamp(48px, 8vw, 112px);
}

.formula-section {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(76px, 8vw, 116px);
}

.formula-steps {
  gap: 14px;
  margin-top: 44px;
  border: 0;
}

.formula-steps article,
.difference-grid article {
  border: 1px solid rgba(246,244,239,0.12);
  background: rgba(255,255,255,0.02);
}

.formula-steps article:last-child,
.difference-grid article:last-child {
  border-right: 1px solid rgba(246,244,239,0.12);
}

.formula-steps h3,
.difference-grid h3 {
  margin-top: 54px;
}

.difference-grid {
  gap: 14px;
  margin-top: 44px;
  border: 0;
}

.formula-steps.reveal-sequence > *,
.difference-grid.reveal-sequence > * {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
}

.formula-steps.reveal-sequence.is-visible > *,
.difference-grid.reveal-sequence.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-accordion,
.editorial-case-grid {
  margin-top: 42px;
}

.selected-cases {
  padding-top: clamp(76px, 8vw, 118px);
  padding-bottom: clamp(76px, 8vw, 118px);
}

.cases-head {
  min-height: auto;
  margin-top: 28px;
}

.global-presence {
  min-height: auto;
  gap: clamp(42px, 6vw, 90px);
}

.global-copy .expansion-line span:last-child {
  min-width: 0;
}

/* Revee AI: larger living orb and glass chat input */
.ai-widget {
  right: 28px;
  bottom: 28px;
}

.ai-orb {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,10,12,0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 22px rgba(203,84,255,0.38),
    0 0 58px rgba(123,70,255,0.2),
    0 18px 60px rgba(0,0,0,0.58);
  animation: aiLivingFloat 6s ease-in-out infinite;
}

.ai-orb::before {
  inset: -14px;
  opacity: 0.64;
  filter: blur(18px);
  background:
    conic-gradient(from 0deg, rgba(203,84,255,0), rgba(203,84,255,0.48), rgba(112,116,255,0.38), rgba(203,84,255,0));
  animation: aiLivingFlow 5.8s linear infinite;
}

.ai-orb::after,
.ai-orb:hover::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203,84,255,0.16), transparent 64%);
  filter: blur(16px);
  opacity: 0.72;
  animation: aiPulseField 4.8s ease-in-out infinite;
}

.ai-orb img {
  width: 92%;
  height: 92%;
  animation: aiOrbImageFlow 7s ease-in-out infinite alternate;
}

.ai-chat {
  bottom: 96px;
  width: min(410px, calc(100vw - 38px));
  max-height: min(620px, calc(100vh - 150px));
  overflow: auto;
  padding: 22px;
  border-color: rgba(255,255,255,0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035)),
    rgba(6,6,8,0.62);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
}

.ai-chat::-webkit-scrollbar {
  width: 4px;
}

.ai-chat::-webkit-scrollbar-thumb {
  background: rgba(246,244,239,0.24);
  border-radius: 999px;
}

.ai-chat p {
  line-height: 1.48;
}

.ai-chat-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.ai-chat-input input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  padding: 10px 12px;
}

.ai-chat-input input::placeholder {
  color: rgba(246,244,239,0.46);
}

.ai-chat-input button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(246,244,239,0.92);
  color: #050505;
  font-weight: 700;
}

@keyframes aiLivingFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  42% { transform: translate3d(-5px, -8px, 0) scale(1.035); }
  72% { transform: translate3d(4px, -3px, 0) scale(0.985); }
}

@keyframes aiLivingFlow {
  to { transform: rotate(360deg); }
}

@keyframes aiPulseField {
  0%, 100% { opacity: 0.38; transform: scale(0.92); }
  50% { opacity: 0.82; transform: scale(1.08); }
}

@keyframes aiOrbImageFlow {
  0% { transform: rotate(-4deg) scale(1); filter: saturate(1.05) brightness(1); }
  100% { transform: rotate(7deg) scale(1.08); filter: saturate(1.24) brightness(1.08); }
}

@media (max-width: 900px) {
  .formula-steps,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .formula-steps article,
  .difference-grid article {
    min-height: 210px;
  }

  .method-step {
    min-height: 62vh;
  }
}

@media (max-width: 560px) {
  .home-shell {
    --home-section-space: 72px;
  }

  .ai-widget {
    right: 18px;
    bottom: 18px;
  }

  .ai-orb {
    width: 62px;
    height: 62px;
  }
}

/* Services interaction refresh */
.services-hero {
  position: relative;
  min-height: 50vh;
  padding-bottom: 42px;
}

.page-hero-cta,
.culture-contact {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid rgba(246,244,239,0.18);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.045);
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.page-hero-cta:hover,
.culture-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(203,84,255,0.46);
  background: rgba(203,84,255,0.12);
}

.service-lab {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding-top: clamp(60px, 7vw, 104px);
  padding-bottom: clamp(70px, 8vw, 116px);
}

.service-orbit {
  position: absolute;
  inset: auto 8vw 10% auto;
  width: clamp(260px, 32vw, 560px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.52;
  transform: translate3d(var(--service-x, 0), var(--service-y, 0), 0);
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
}

.service-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(203,84,255,0.16);
  border-radius: 42% 58% 54% 46%;
  animation: serviceOrbit 11s linear infinite;
}

.service-orbit span:nth-child(2) {
  inset: 12%;
  animation-duration: 8s;
  animation-direction: reverse;
}

.service-orbit span:nth-child(3) {
  inset: 25%;
  border-color: rgba(246,244,239,0.12);
  animation-duration: 13s;
}

.service-list {
  gap: 14px;
}

.service-list article {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 128px;
  padding: 22px 26px;
  border: 1px solid rgba(246,244,239,0.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    rgba(255,255,255,0.016);
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(.22,.61,.36,1), border-color 0.38s ease, background 0.38s ease;
}

.service-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(203,84,255,0.18), transparent 32%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-list article span {
  position: relative;
  z-index: 1;
  color: rgba(246,244,239,0.42);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-list article h2,
.service-list article p {
  position: relative;
  z-index: 1;
  grid-column: 2;
}

.service-list article span {
  grid-row: 1 / span 2;
}

.service-list article:hover {
  transform: translateY(-5px);
  border-color: rgba(203,84,255,0.42);
  background: rgba(255,255,255,0.04);
}

.service-list article:hover::before {
  opacity: 1;
}

.service-list.reveal-sequence > * {
  opacity: 0;
  transform: translateY(22px);
}

.service-list.reveal-sequence.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

@keyframes serviceOrbit {
  to { transform: rotate(360deg); }
}

/* Culture copy and motion refresh */
.culture-hero {
  position: relative;
  min-height: 76vh;
}

.culture-hero::before {
  content: "";
  position: absolute;
  right: 10vw;
  top: 24%;
  width: clamp(180px, 26vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203,84,255,0.13), transparent 66%);
  filter: blur(12px);
  animation: cultureGlow 8s ease-in-out infinite;
}

.culture-hero-copy {
  position: relative;
  z-index: 1;
}

.culture-hero-copy h1 {
  max-width: 980px;
}

.work-method {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
}

.work-method::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -24vw;
  width: clamp(320px, 48vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 40%, rgba(5,5,5,0.08), transparent 18%),
    conic-gradient(from 120deg, transparent, rgba(5,5,5,0.07), transparent);
  animation: cultureStrategyTurn 16s linear infinite;
}

.work-copy {
  position: relative;
  z-index: 1;
}

.sustainability-section {
  position: relative;
  overflow: hidden;
  min-height: 68vh;
}

.sustainability-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sustainability-flow span {
  position: absolute;
  width: clamp(180px, 24vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(203,84,255,0.16);
  border-radius: 50%;
  opacity: 0.48;
  filter: blur(0.2px);
  animation: sustainabilityFloat 10s ease-in-out infinite;
}

.sustainability-flow span:nth-child(1) {
  left: 8%;
  top: 18%;
}

.sustainability-flow span:nth-child(2) {
  right: 18%;
  top: 16%;
  animation-delay: -3s;
  animation-duration: 13s;
}

.sustainability-flow span:nth-child(3) {
  left: 42%;
  bottom: -14%;
  border-color: rgba(246,244,239,0.1);
  animation-delay: -5s;
}

.sustainability-section > div:not(.sustainability-flow),
.sustainability-section > p {
  position: relative;
  z-index: 1;
}

.culture-close {
  gap: 28px;
}

.culture-contact {
  margin-top: 0;
}

@keyframes cultureGlow {
  0%, 100% { opacity: 0.42; transform: translate3d(0, 0, 0) scale(0.96); }
  50% { opacity: 0.78; transform: translate3d(-22px, 16px, 0) scale(1.08); }
}

@keyframes cultureStrategyTurn {
  to { transform: rotate(360deg); }
}

@keyframes sustainabilityFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(28px, -24px, 0) scale(1.08); }
}

@media (max-width: 900px) {
  .service-index {
    grid-template-columns: 1fr;
  }

  .service-lead {
    max-width: 520px;
  }

  .service-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }
}

/* Home breathing correction */
.home-shell {
  --home-section-space: clamp(108px, 12vw, 172px);
  --home-block-space: clamp(82px, 9vw, 136px);
}

.hero-copy {
  padding-top: clamp(64px, 8vh, 112px);
  padding-bottom: 13vh;
}

.hero-method-title + .hero-support {
  margin-top: 34px;
}

.hero-actions {
  margin-top: 42px;
}

.brand-philosophy {
  padding-top: clamp(118px, 12vw, 170px);
  padding-bottom: clamp(104px, 11vw, 156px);
}

.statement-grid {
  gap: clamp(54px, 8vw, 124px);
}

.method-step {
  min-height: 84vh;
  padding-top: clamp(96px, 10vw, 142px);
  padding-bottom: clamp(96px, 10vw, 142px);
}

.formula-section,
.selected-cases,
.global-presence {
  padding-top: clamp(104px, 11vw, 158px);
  padding-bottom: clamp(104px, 11vw, 158px);
}

.formula-steps,
.difference-grid,
.service-accordion,
.editorial-case-grid {
  margin-top: 56px;
}

.home-services {
  padding-top: clamp(104px, 11vw, 156px);
  padding-bottom: clamp(104px, 11vw, 156px);
}

.global-presence {
  min-height: 78vh;
}

@media (max-width: 560px) {
  .home-shell {
    --home-section-space: 92px;
  }

  .hero-copy {
    padding-bottom: 86px;
  }

  .brand-philosophy,
  .formula-section,
  .selected-cases,
  .global-presence,
  .home-services {
    padding-top: 92px;
    padding-bottom: 92px;
  }
}

/* About hero scale aligned with Culture */
.about-revee {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 110px;
}

.about-revee .institution-copy {
  width: min(1180px, 100%);
}

.about-revee .institution-copy h2 {
  max-width: 1120px;
  font-size: clamp(2.25rem, 5.2vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.about-revee .institution-copy p {
  width: min(760px, 100%);
  margin-top: 34px;
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  line-height: 1.65;
}

.about-revee .institution-orb {
  width: clamp(240px, 34vw, 560px);
  right: 7vw;
  bottom: 6vh;
  opacity: 0.52;
}

@media (max-width: 900px) {
  .about-revee {
    min-height: 74vh;
  }
}

/* Unified internal hero typing */
[data-type-hero] {
  min-height: 1.18em;
}

.page-intro[data-type-hero],
.case-hero .page-intro[data-type-hero] {
  min-height: 2.2em;
}

.culture-hero-copy [data-type-hero],
.about-revee [data-type-hero],
.work-copy [data-type-hero],
.global-copy [data-type-hero] {
  min-height: 2.05em;
}

[data-type-hero].is-typing::after {
  content: "";
  display: inline-block;
  width: 0.055em;
  height: 0.76em;
  margin-left: 0.08em;
  background: currentColor;
  animation: blink 0.8s steps(2, start) infinite;
  vertical-align: -0.05em;
}

[data-type-hero].is-complete strong {
  display: inline-block;
  font-weight: 760;
  transform: none;
  text-shadow: none;
  animation: none;
}

[data-type-hero].is-complete strong:nth-of-type(2) {
  animation-delay: 0s;
}

/* Internal pages should share the Culture hero scale and breathing. */
.page-hero,
.services-hero,
.case-hero {
  min-height: 76vh;
  align-content: center;
  padding-top: 150px;
  padding-bottom: 96px;
}

.page-intro,
.case-hero .page-intro {
  width: min(1180px, 100%);
  max-width: 1180px;
  font-size: clamp(2.25rem, 5.2vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.services-hero .page-hero-cta {
  margin-top: 36px;
}

.service-lab,
.case-stack {
  margin-top: clamp(42px, 6vw, 92px);
}

.case-stack {
  border-top: 0;
  border-bottom: 0;
  gap: 14px;
  padding: 0 var(--pad) clamp(108px, 12vw, 172px);
  background: #000;
}

.case-stack a {
  min-height: clamp(430px, 48vh, 620px);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1), border-color 0.45s ease;
}

.case-stack a:hover {
  transform: translateY(-6px);
  border-color: rgba(246,244,239,0.28);
}

.case-stack.reveal-sequence > * {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
}

.case-stack.reveal-sequence.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.case-stack h2 {
  font-size: clamp(1.25rem, 2.15vw, 2.6rem);
}

.case-stack p {
  max-width: 360px;
  font-size: 0.82rem;
}

/* Remove purple gradient/halo from About hero. */
.about-revee .institution-orb {
  display: none;
}

@media (max-width: 900px) {
  .page-hero,
  .services-hero,
  .case-hero {
    min-height: 68vh;
  }

  .case-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-hero,
  .services-hero,
  .case-hero {
    min-height: 62vh;
    padding-top: 118px;
    padding-bottom: 72px;
  }

  .page-intro,
  .case-hero .page-intro {
    font-size: clamp(2.25rem, 10vw, 3.9rem);
  }
}

/* Final polish: direct emphasis, clean shadows and clear AI/footer spacing. */
.hero-focus-word,
.hero-copy.is-sequencing .hero-focus-brand,
.hero-copy.is-sequencing .hero-focus-growth,
.typed-headline.is-complete strong,
[data-type-hero] strong,
[data-type-hero].is-complete strong {
  text-shadow: none !important;
}

.hero-copy.is-sequencing .hero-focus-brand,
.hero-copy.is-sequencing .hero-focus-growth,
.typed-headline.is-complete strong,
[data-type-hero].is-complete strong {
  font-weight: 760;
  transform: none;
  animation: none !important;
}

.global-copy [data-type-hero] {
  min-height: 1.15em;
}

.work-method::after {
  opacity: 0.18;
}

.site-footer {
  padding-right: clamp(150px, 14vw, 230px);
}

.site-footer a {
  white-space: nowrap;
}

.ai-widget {
  right: 34px;
  bottom: 34px;
}

@media (max-width: 700px) {
  .site-footer {
    padding-right: 104px;
  }

  .ai-widget {
    right: 18px;
    bottom: 18px;
  }

  .ai-chat {
    right: -6px;
    bottom: 84px;
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100vh - 126px);
    padding: 18px;
  }

  .ai-chat-messages {
    max-height: 260px;
  }

  .ai-chat-input {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .ai-chat-input button {
    width: 100%;
  }
}

/* Aplicar consultoria inicial application experience */
.application-page {
  min-height: 100vh;
  background: #000;
}

.application-flow {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 148px var(--pad) 80px;
}

.application-progress {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: 28px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  color: rgba(246,244,239,0.48);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

.application-progress i {
  height: 1px;
  background: rgba(246,244,239,0.12);
  overflow: hidden;
}

.application-progress em {
  display: block;
  width: 0;
  height: 100%;
  background: var(--white);
  transition: width 0.45s cubic-bezier(.22,.61,.36,1);
}

.application-form {
  width: min(1180px, 100%);
}

.application-step {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(18px);
}

.application-step.is-active {
  display: grid;
  gap: 30px;
  justify-items: start;
  opacity: 1;
  transform: translateY(0);
  animation: applicationStepIn 0.58s cubic-bezier(.22,.61,.36,1) both;
}

.application-step h1,
.application-step h2 {
  width: min(980px, 100%);
  font-family: var(--font-title);
  font-size: clamp(2.45rem, 5.8vw, 6.25rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.application-step p {
  width: min(720px, 100%);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.65;
}

.application-fields {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.application-fields label,
.application-wide {
  display: grid;
  gap: 12px;
  color: rgba(246,244,239,0.62);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.application-fields input,
.application-wide textarea {
  width: 100%;
  border: 1px solid rgba(246,244,239,0.14);
  border-radius: 0;
  outline: 0;
  background: rgba(255,255,255,0.035);
  color: var(--white);
  padding: 20px 22px;
  font: 500 clamp(1rem, 1.15vw, 1.12rem) var(--font-text);
  letter-spacing: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.application-wide {
  width: min(900px, 100%);
}

.application-wide textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.55;
}

.application-fields input:focus,
.application-wide textarea:focus {
  border-color: rgba(246,244,239,0.5);
  background: rgba(255,255,255,0.055);
}

.application-options {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.application-options label {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(246,244,239,0.12);
  background: rgba(255,255,255,0.026);
  padding: 18px 20px 18px 54px;
  color: rgba(246,244,239,0.74);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.application-options label::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(246,244,239,0.45);
  border-radius: 50%;
  transform: translateY(-50%);
}

.application-options label:hover {
  border-color: rgba(246,244,239,0.28);
  color: var(--white);
  transform: translateY(-2px);
}

.application-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.application-options input:checked + span {
  color: var(--white);
  font-weight: 700;
}

.application-options label:has(input:checked) {
  border-color: rgba(183,80,255,0.76);
  background: rgba(183,80,255,0.08);
}

.application-options label:has(input:checked)::before {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 0 42%, transparent 46%);
  box-shadow: 0 0 18px rgba(183,80,255,0.42);
}

.application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.application-step[data-step="0"] .application-next {
  width: fit-content;
  min-width: 168px;
}

.application-error {
  min-height: 1.4em;
  color: #ffb8c8;
  font-size: 0.92rem;
}

.application-step.has-error input:invalid,
.application-step.has-error textarea:invalid {
  border-color: rgba(255,184,200,0.8);
}

.application-success {
  min-height: 54vh;
  align-content: center;
}

.application-success p {
  max-width: 760px;
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

@keyframes applicationStepIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .application-flow {
    min-height: auto;
    align-items: start;
    padding-top: 122px;
    padding-bottom: 112px;
  }

  .application-fields,
  .application-options {
    grid-template-columns: 1fr;
  }

  .application-step h1,
  .application-step h2 {
    font-size: clamp(2.25rem, 12vw, 4.2rem);
  }

  .application-step.is-active {
    gap: 24px;
  }

  .application-actions {
    width: 100%;
  }

  .application-actions .primary-action,
  .application-actions .secondary-action,
  .application-step[data-step="0"] .application-next {
    width: 100%;
  }

  .application-progress {
    bottom: 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .contact-pill {
    max-width: 124px;
    padding: 0 12px;
    font-size: 0.64rem;
    line-height: 1.1;
    text-align: center;
  }

  .application-fields input,
  .application-wide textarea,
  .application-options label {
    min-height: 58px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .application-options label {
    padding-left: 48px;
  }

  .application-step p {
    font-size: 0.98rem;
  }
}

/* 2026 premium system: one visual language across the complete experience */
:root {
  --black: #000;
  --ink: #060606;
  --white: #f4f3ef;
  --muted: rgba(244, 243, 239, 0.62);
  --line: rgba(244, 243, 239, 0.14);
  --line-soft: rgba(244, 243, 239, 0.08);
  --accent: #b750ff;
  --content: 1400px;
  --pad: max(28px, calc((100vw - var(--content)) / 2));
  --section-space: 9rem;
  --display-xl: 5.4rem;
  --display-lg: 4.25rem;
  --display-md: 3rem;
}

html {
  background: var(--black);
}

body {
  overflow-x: clip;
  background: var(--black);
}

.home-shell,
.page,
.application-page {
  background: #000;
  background-image: none;
}

.section-label,
.hero-meta,
.culture-hero-copy > span,
.work-copy > span,
.sustainability-section > div > span,
.project-hero-copy > span,
.project-intro > span,
.project-text-block > span,
.institution-copy > .section-label,
.timeline-head > .section-label {
  color: rgba(244, 243, 239, 0.5);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  top: 0;
  left: 0;
  right: 0;
  min-height: 88px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-mark {
  width: 184px;
}

.glass-menu-button,
.contact-pill {
  min-height: 42px;
  border-color: rgba(244, 243, 239, 0.16);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: none;
}

.contact-pill {
  padding: 0 20px;
  background: var(--white);
  color: #050505;
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.glass-menu-button:hover,
.contact-pill:hover {
  border-color: rgba(244, 243, 239, 0.42);
  background: #fff;
  color: #050505;
}

.glass-menu {
  top: 74px;
  width: min(420px, calc(100vw - 32px));
  border-color: rgba(244, 243, 239, 0.14);
  background: rgba(5, 5, 5, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

.glass-menu > a {
  padding: 18px 20px;
}

.glass-menu > a:hover {
  background: rgba(255, 255, 255, 0.055);
}

.editorial-section,
.selected-cases,
.global-presence,
.service-index,
.institution-section,
.project-intro,
.project-text-block,
.culture-values,
.culture-close {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.home-hero {
  min-height: 100svh;
  padding: 88px var(--pad) 0;
  background: #000;
}

.home-hero::after,
.editorial-hero::before,
.culture-hero::before,
.service-orbit,
.institution-orb,
.sustainability-flow,
.work-method::after {
  display: none;
}

.hero-frame {
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-rows: auto 1fr;
  border-top: 0;
}

.hero-meta {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.hero-copy {
  display: grid;
  align-content: center;
  max-width: 1120px;
  padding: 56px 0 84px;
}

.editorial-title,
.hero-method-title {
  max-width: 1080px;
  font-size: var(--display-xl);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-method-title .hero-focus-word {
  color: inherit;
}

.hero-support {
  max-width: 650px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.page-hero-cta,
.culture-contact,
.closing-actions a,
.application-actions button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-action {
  background: var(--white);
  color: #050505;
}

.secondary-action,
.page-hero-cta,
.culture-contact {
  border-color: rgba(244, 243, 239, 0.24);
  background: transparent;
}

.scroll-cue {
  right: var(--pad);
  bottom: 24px;
  color: rgba(244, 243, 239, 0.36);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-philosophy,
.formula-section,
.differentials,
.home-services,
.selected-cases,
.global-presence {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.brand-philosophy,
.home-services,
.global-presence {
  border-top: 1px solid var(--line-soft);
}

.statement-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 7rem;
  margin-top: 5rem;
}

.statement-grid h2,
.transform-head h2,
.cases-head h2,
.formula-head h2,
.global-copy h2,
.culture-close h2,
.timeline-head h2,
.closing-copy h2 {
  max-width: 980px;
  font-size: var(--display-lg);
  line-height: 1.02;
  letter-spacing: 0;
}

.statement-grid p,
.formula-head p,
.global-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.method-scroll,
.principle-scroll {
  background: var(--white);
  color: #050505;
}

.method-step,
.principle-word {
  min-height: 68svh;
  padding: 7rem var(--pad);
  border-bottom: 1px solid rgba(5, 5, 5, 0.12);
}

.method-step h2,
.principle-word h2 {
  font-size: 6rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.method-step p {
  max-width: 520px;
  margin-top: 2rem;
  color: rgba(5, 5, 5, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.formula-head {
  margin-top: 5rem;
}

.formula-head p {
  max-width: 600px;
}

.formula-steps,
.difference-grid {
  gap: 0;
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.formula-steps article,
.difference-grid article {
  min-height: 300px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.formula-steps article:last-child,
.difference-grid article:last-child {
  border-right: 0;
}

.formula-steps h3,
.difference-grid h3 {
  margin-top: 5rem;
  font-size: 1.7rem;
  letter-spacing: 0;
}

.formula-steps p,
.difference-grid p {
  max-width: 280px;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.transform-head,
.cases-head {
  margin-top: 5rem;
}

.service-accordion {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
}

.service-row {
  border-bottom: 1px solid var(--line);
}

.service-toggle {
  min-height: 116px;
  padding: 0 18px;
  font-family: var(--font-title);
  font-size: 2.5rem;
  letter-spacing: 0;
}

.service-toggle strong {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 400;
}

.service-content {
  padding-left: 18px;
  padding-right: 18px;
}

.service-content p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.editorial-case-grid {
  gap: 18px;
  margin-top: 5rem;
}

.case-card {
  min-height: 560px;
  border: 0;
  overflow: hidden;
}

.case-card::after,
.case-stack a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.74));
  pointer-events: none;
}

.case-card img,
.case-card video,
.case-stack img,
.case-stack video {
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1), filter 0.6s ease;
}

.case-card:hover img,
.case-card:hover video,
.case-stack a:hover img,
.case-stack a:hover video {
  transform: scale(1.025);
}

.case-card > span {
  z-index: 2;
}

.global-presence {
  min-height: 86svh;
  align-items: center;
  gap: 7rem;
}

.globe-wrap {
  max-width: 680px;
}

.global-copy > span {
  color: rgba(244, 243, 239, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.global-copy h2 {
  margin-top: 2rem;
}

.global-copy p {
  max-width: 570px;
  margin-top: 2rem;
}

.expansion-line {
  margin-top: 4rem;
}

/* Internal hero system */
.page-hero,
.services-hero,
.case-hero,
.about-revee,
.culture-hero {
  min-height: 82svh;
  padding-top: 150px;
  padding-bottom: 7rem;
  align-content: center;
  background: #000;
}

.page-intro,
.case-hero .page-intro,
.about-revee .institution-copy h2,
.culture-hero-copy h1 {
  max-width: 1160px;
  margin-top: 3.5rem;
  font-size: var(--display-xl);
  line-height: 1;
  letter-spacing: 0;
}

.services-hero .page-hero-cta {
  margin-top: 3rem;
}

.service-lab {
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
  gap: 5rem;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line-soft);
}

.service-lead {
  position: sticky;
  top: 130px;
  align-self: start;
  max-width: 330px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

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

.service-list article {
  min-height: 260px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.service-list article::before {
  display: none;
}

.service-list article > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: 24px 50px;
  align-items: end;
}

.service-list article h2,
.service-list article p,
.service-list article small {
  grid-column: auto;
}

.service-list article h2 {
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.service-list article p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.service-list article small {
  grid-column: 1 / -1;
  color: rgba(244, 243, 239, 0.4);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-list article:hover {
  transform: none;
  border-color: rgba(244, 243, 239, 0.38);
}

.case-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 0;
  padding-top: 0;
}

.case-stack a {
  position: relative;
  min-height: 72svh;
  border: 0;
  overflow: hidden;
}

.case-stack a > img,
.case-stack a > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-stack a > div {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 38px;
  z-index: 2;
  max-width: 680px;
}

.case-stack h2 {
  margin-top: 0.8rem;
  font-size: 3.4rem;
  line-height: 1;
}

.case-stack p {
  max-width: 520px;
  margin: 1rem 0 1.25rem;
  color: rgba(244, 243, 239, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Culture */
.culture-hero {
  display: grid;
  align-items: center;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.culture-hero-copy {
  max-width: 1160px;
}

.culture-hero-copy p {
  max-width: 680px;
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.work-method,
.sustainability-section {
  min-height: 76svh;
  padding: var(--section-space) var(--pad);
}

.work-method {
  background: var(--white);
  color: #050505;
}

.work-copy h2,
.sustainability-section h2 {
  max-width: 1000px;
  margin-top: 3rem;
  font-size: var(--display-xl);
  line-height: 1;
  letter-spacing: 0;
}

.sustainability-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 6rem;
}

.sustainability-section p {
  max-width: 500px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.culture-values {
  min-height: 80svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  align-items: center;
  gap: 7rem;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line-soft);
}

.values-list button {
  font-size: 3.4rem;
  letter-spacing: 0;
}

.value-copy {
  color: var(--muted);
  line-height: 1.75;
}

.culture-close {
  min-height: 70svh;
  align-content: center;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line-soft);
}

/* About */
.institutional-sequence {
  background: #000;
}

.institution-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line-soft);
}

.about-revee {
  border-top: 0;
}

.about-revee .institution-copy p {
  max-width: 720px;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.timeline-head {
  max-width: 1120px;
}

.timeline-head h2 {
  margin-top: 3.5rem;
}

.timeline-items {
  margin-top: 5rem;
}

.leader-section,
.tech-lead-section {
  min-height: auto;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  gap: 7rem;
  align-items: center;
}

.tech-lead-section {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.leader-image {
  min-height: 680px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-copy h2 {
  margin-top: 2.5rem;
  font-size: var(--display-md);
  line-height: 1.05;
  letter-spacing: 0;
}

.leader-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.75;
}

.capability-tags {
  gap: 8px;
}

.capability-tags button {
  min-height: 38px;
  border-color: var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.72rem;
}

.narrative-close {
  min-height: 76svh;
  align-items: center;
}

/* Project case studies */
.project-page {
  background: #000;
}

.project-hero {
  min-height: 100svh;
}

.project-hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.84));
}

.project-hero-copy {
  left: var(--pad);
  right: var(--pad);
  bottom: 4rem;
  max-width: 900px;
}

.project-hero-copy h1 {
  font-size: var(--display-xl);
  line-height: 0.94;
  letter-spacing: 0;
}

.project-hero-copy p {
  max-width: 660px;
  font-size: 1rem;
  line-height: 1.7;
}

.project-tags span {
  border-radius: 999px;
  background: rgba(0,0,0,0.32);
}

.project-intro,
.project-text-block {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.project-intro p {
  max-width: 1050px;
  font-size: var(--display-md);
  line-height: 1.12;
  letter-spacing: 0;
}

.project-media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080808;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media.split {
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.project-media.split img {
  aspect-ratio: 1 / 1;
}

.project-text-block {
  grid-template-columns: minmax(160px, 0.25fr) minmax(0, 1fr);
  gap: 5rem;
}

.project-text-block > div {
  max-width: 850px;
}

.project-text-block h2 {
  font-size: var(--display-md);
  line-height: 1.06;
  letter-spacing: 0;
}

.project-text-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.project-next {
  min-height: 180px;
  padding: 0 var(--pad);
}

/* Footer */
.premium-footer {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 0.55fr 0.55fr;
  align-items: end;
  gap: 5rem;
  padding: 6rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-brand img {
  width: 210px;
  filter: invert(1);
}

.footer-brand p {
  max-width: 480px;
  margin-top: 2rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 1rem;
  align-content: end;
}

.footer-links a,
.footer-meta a,
.footer-meta span {
  color: rgba(244, 243, 239, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: #fff;
}

/* AI is a useful assistant, not the visual protagonist */
.ai-widget {
  right: 24px;
  bottom: 24px;
}

.ai-orb {
  width: 58px;
  height: 58px;
  border-color: rgba(244, 243, 239, 0.16);
  box-shadow: 0 0 28px rgba(183, 80, 255, 0.2), 0 12px 42px rgba(0,0,0,0.55);
}

.ai-orb::before,
.ai-orb::after,
.ai-orb:hover::after {
  opacity: 0.32;
}

.ai-chat {
  bottom: 74px;
  width: min(390px, calc(100vw - 32px));
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.86);
}

.ai-chat-input,
.ai-chat-input button {
  border-radius: 6px;
}

.ai-chat-prompts.is-hidden {
  display: none;
}

.ai-chat .ai-message {
  display: grid;
  gap: 9px;
}

.ai-chat .ai-message p {
  margin: 0;
  color: inherit;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ai-message-kicker {
  color: rgba(246, 244, 239, 0.48);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-message-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
}

/* Application */
.application-flow {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 132px;
}

.application-step h1,
.application-step h2 {
  max-width: 1050px;
  font-size: var(--display-lg);
  line-height: 1.02;
  letter-spacing: 0;
}

.application-fields label small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: none;
}

.application-subquestion {
  margin: 34px 0 16px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
}

.application-fields,
.application-wide,
.application-options {
  width: min(1040px, 100%);
}

.application-fields input,
.application-wide textarea,
.application-options label {
  border-color: var(--line);
  background: transparent;
}

.application-options label {
  min-height: 68px;
}

.application-options label:has(input:checked) {
  border-color: rgba(183,80,255,0.72);
  background: rgba(183,80,255,0.07);
}

/* Better keyboard and reduced-motion behavior */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 1200px) {
  :root {
    --display-xl: 4.5rem;
    --display-lg: 3.7rem;
    --display-md: 2.65rem;
    --section-space: 7.5rem;
    --pad: 40px;
  }

  .editorial-case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-case-grid .case-card:first-child {
    grid-column: 1 / -1;
  }

  .leader-section,
  .tech-lead-section {
    gap: 4rem;
  }
}

@media (max-width: 900px) {
  :root {
    --display-xl: 3.55rem;
    --display-lg: 3rem;
    --display-md: 2.25rem;
    --section-space: 6.5rem;
    --pad: 28px;
  }

  .site-header {
    min-height: 76px;
  }

  .brand-mark {
    width: 150px;
  }

  .hero-frame {
    min-height: calc(100svh - 76px);
  }

  .statement-grid,
  .global-presence,
  .sustainability-section,
  .culture-values,
  .service-lab,
  .leader-section,
  .tech-lead-section,
  .project-text-block {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .formula-steps,
  .difference-grid {
    grid-template-columns: 1fr 1fr;
  }

  .formula-steps article:nth-child(2),
  .difference-grid article:nth-child(2) {
    border-right: 0;
  }

  .formula-steps article,
  .difference-grid article {
    border-bottom: 1px solid var(--line);
  }

  .service-lead {
    position: static;
  }

  .service-list article > div {
    grid-template-columns: 1fr;
  }

  .service-list article h2,
  .values-list button {
    font-size: 2.5rem;
  }

  .leader-image {
    min-height: 0;
    width: min(620px, 100%);
  }

  .tech-lead-section .leader-copy {
    order: 2;
  }

  .tech-lead-section .leader-image {
    order: 1;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --display-xl: 2.65rem;
    --display-lg: 2.4rem;
    --display-md: 2rem;
    --section-space: 5.5rem;
    --pad: 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    min-height: 70px;
  }

  .brand-mark {
    width: 124px;
  }

  .glass-menu-button {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .glass-menu-button > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .contact-pill {
    width: 72px;
    max-width: 72px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 0;
  }

  .contact-pill::after {
    content: "Aplicar";
    font-size: 0.6rem;
    line-height: 1;
  }

  .application-body .contact-pill::after {
    content: "Site";
  }

  .home-hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-frame {
    min-height: calc(100svh - 70px);
  }

  .hero-meta {
    gap: 14px;
    padding: 18px 0;
    font-size: 0.56rem;
  }

  .hero-copy {
    padding: 44px 0 88px;
  }

  .editorial-title,
  .hero-method-title {
    font-size: var(--display-xl);
    line-height: 1.02;
  }

  .hero-support {
    font-size: 0.92rem;
  }

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

  .hero-actions a {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .statement-grid,
  .global-presence,
  .sustainability-section,
  .culture-values {
    gap: 2.5rem;
  }

  .statement-grid,
  .formula-head,
  .transform-head,
  .cases-head {
    margin-top: 3rem;
  }

  .method-step,
  .principle-word {
    min-height: 54svh;
    padding: 5rem var(--pad);
  }

  .method-step h2,
  .principle-word h2 {
    font-size: 3.15rem;
    overflow-wrap: anywhere;
  }

  .formula-steps,
  .difference-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .formula-steps article,
  .difference-grid article,
  .formula-steps article:nth-child(2),
  .difference-grid article:nth-child(2) {
    min-height: 220px;
    border-right: 0;
  }

  .formula-steps h3,
  .difference-grid h3 {
    margin-top: 3.5rem;
  }

  .service-toggle {
    min-height: 92px;
    gap: 16px;
    font-size: 1.7rem;
  }

  .editorial-case-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .editorial-case-grid .case-card:first-child {
    grid-column: auto;
  }

  .case-card {
    min-height: 66svh;
  }

  .global-presence {
    min-height: auto;
  }

  .global-copy {
    padding-bottom: 1rem;
  }

  .page-hero,
  .services-hero,
  .case-hero,
  .about-revee,
  .culture-hero {
    min-height: 72svh;
    padding-top: 120px;
    padding-bottom: 5rem;
  }

  .page-intro,
  .case-hero .page-intro,
  .about-revee .institution-copy h2,
  .culture-hero-copy h1 {
    margin-top: 2.5rem;
    font-size: var(--display-xl);
  }

  .service-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 240px;
    gap: 14px;
  }

  .service-list article h2,
  .values-list button {
    font-size: 2rem;
  }

  .case-stack {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .case-stack a {
    min-height: 68svh;
  }

  .case-stack a > div {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .case-stack h2 {
    font-size: 2.35rem;
  }

  .case-stack p {
    font-size: 0.8rem;
  }

  .work-method,
  .sustainability-section {
    min-height: 66svh;
  }

  .values-list button {
    min-height: 68px;
  }

  .leader-section,
  .tech-lead-section {
    gap: 3rem;
  }

  .leader-image {
    aspect-ratio: 4 / 5;
  }

  .project-hero {
    min-height: 88svh;
  }

  .project-hero-copy {
    bottom: 2rem;
  }

  .project-tags {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .project-tags span {
    flex: 0 0 auto;
  }

  .project-intro,
  .project-text-block {
    gap: 2rem;
  }

  .project-media {
    aspect-ratio: 4 / 3;
  }

  .project-next {
    min-height: 200px;
    display: grid;
    align-content: center;
    gap: 1.5rem;
  }

  .premium-footer {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 5rem;
    padding-bottom: 7rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    width: 170px;
  }

  .ai-widget {
    right: 14px;
    bottom: 14px;
  }

  .ai-orb {
    width: 52px;
    height: 52px;
  }

  .application-flow {
    padding-top: 106px;
  }

  .application-step h1,
  .application-step h2 {
    font-size: var(--display-lg);
  }

  .application-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final interaction and typography safeguards */
* {
  letter-spacing: 0 !important;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
}

.glass-menu > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.seo-faq {
  padding: var(--section-space) var(--pad);
  border-top: 1px solid var(--line-soft);
  background: #000;
}

.seo-faq > h2 {
  max-width: 820px;
  margin-top: 3rem;
  font-size: var(--display-lg);
  line-height: 1.02;
}

.seo-faq-list {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.seo-faq details {
  border-bottom: 1px solid var(--line);
}

.seo-faq summary {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.4rem;
  list-style: none;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 400;
}

.seo-faq details[open] summary::after {
  content: "−";
}

.seo-faq details p {
  max-width: 760px;
  padding: 0 0 32px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 620px) {
  .seo-faq summary {
    min-height: 76px;
    font-size: 1.1rem;
  }
}

.about-revee .institution-copy h1 {
  max-width: 1160px;
  margin-top: 3.5rem;
  font-size: var(--display-xl);
  line-height: 1;
  font-weight: 400;
}

/* Editorial weight: regular sentences with deliberate emphasis only */
h1,
h2,
h3,
.page-intro,
[data-type-hero],
.editorial-title,
.hero-method-title {
  font-weight: 400 !important;
}

h1 strong,
h2 strong,
h3 strong,
.page-intro strong,
[data-type-hero] strong,
.editorial-title strong,
.hero-method-title strong,
[data-type-hero].is-complete strong {
  font-weight: 700 !important;
}

@media (max-width: 620px) {
  .about-revee .institution-copy h1 {
    margin-top: 2.5rem;
    font-size: var(--display-xl);
  }
}

/* Portfolio proportions and calmer Culture principles */
.case-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.case-stack a {
  min-height: 680px;
  height: 72svh;
  max-height: 860px;
}

.case-stack a > div {
  left: 28px;
  right: 28px;
  bottom: 30px;
}

.case-stack h2 {
  font-size: 2.5rem;
}

.case-stack p {
  max-width: 390px;
  font-size: 0.82rem;
}

.project-media {
  min-height: 760px;
  height: 82svh;
  aspect-ratio: auto;
}

.project-media.split {
  min-height: 0;
  height: auto;
  padding: 2px 0;
}

.project-media.split img {
  min-height: 720px;
}

.project-final-media {
  min-height: 820px;
}

.project-next {
  min-height: 260px;
  margin-top: 70px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}

.principle-scroll {
  background: #000;
  color: var(--white);
}

.principle-word {
  min-height: 42svh;
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-color: var(--line-soft);
}

.principle-word h2 {
  color: rgba(244, 243, 239, 0.28);
  font-size: 5rem;
  font-weight: 400 !important;
  transition: color 0.5s ease, transform 0.5s ease;
}

.principle-word h2 strong {
  font-weight: 400 !important;
}

.principle-word.is-visible h2 {
  color: var(--white);
  transform: translateX(16px);
}

@media (max-width: 1100px) {
  .hero-method-title {
    font-size: 3.8rem;
  }

  .case-stack {
    grid-template-columns: 1fr;
  }

  .case-stack a {
    min-height: 620px;
    height: 72svh;
  }
}

@media (max-width: 620px) {
  .hero-method-title {
    font-size: 2.5rem;
  }

  .case-stack {
    gap: 16px;
  }

  .case-stack a {
    min-height: 560px;
    height: 70svh;
  }

  .project-media {
    min-height: 480px;
    height: 64svh;
  }

  .project-media.split img {
    min-height: 480px;
  }

  .project-final-media {
    min-height: 560px;
  }

  .project-next {
    min-height: 240px;
    margin-top: 44px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .principle-word {
    min-height: 34svh;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .principle-word h2 {
    font-size: 2.7rem;
  }
}
