:root {
  color-scheme: light;

  --bg: #f4f1eb;
  --bg-deep: #e8e2d8;
  --paper: rgba(255, 252, 247, 0.8);
  --paper-strong: rgba(255, 252, 247, 0.94);
  --ink: #121214;
  --ink-soft: #62616b;
  --ink-faint: rgba(18, 18, 20, 0.5);
  --line: rgba(18, 18, 20, 0.1);
  --line-strong: rgba(18, 18, 20, 0.18);
  --accent: #bcc6d6;
  --accent-deep: #7f8fa9;
  --shadow-soft: 0 22px 50px -32px rgba(18, 18, 20, 0.18);
  --shadow-strong: 0 34px 90px -44px rgba(18, 18, 20, 0.26);

  /* Pivot tipográfico (abr 2026): familia única "Switzer" — Fontshare.
     Los tres tokens apuntan a la misma familia; los acentos editoriales
     usan italic o letter-spacing, no cambio de familia. */
  --font-sans: "Switzer", system-ui, sans-serif;
  --font-serif: "Switzer", system-ui, sans-serif;
  --font-mono: "Switzer", system-ui, sans-serif;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --space: clamp(56px, 8vw, 108px);
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 14% 16%, rgba(188, 198, 214, 0.26), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.7), transparent 20%),
    linear-gradient(180deg, #faf8f3 0%, var(--bg) 44%, var(--bg-deep) 100%);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(127, 143, 169, 0.26);
  color: var(--ink);
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-layer--grain {
  z-index: 0;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0.45'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

.bg-layer--halo {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.46), transparent 24%),
    radial-gradient(circle at 78% 32%, rgba(188, 198, 214, 0.22), transparent 26%);
}

.bg-layer--lines {
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(to right, rgba(18, 18, 20, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 18, 20, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(calc(100% - 20px), 1280px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 14px 16px;
  border: 1px solid rgba(18, 18, 20, 0.08);
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px -28px rgba(18, 18, 20, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}

.brand__mark {
  width: 34px;
  height: 34px;
}

.brand__word {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.topnav a {
  padding: 0.66rem 0.92rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.topnav a:hover {
  background: rgba(18, 18, 20, 0.05);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid rgba(18, 18, 20, 0.14);
  border-radius: 14px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.nav-toggle:hover {
  background: rgba(18, 18, 20, 0.05);
}

.nav-toggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.22s ease;
}

body[data-nav-open="true"] .nav-toggle__bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

body[data-nav-open="true"] .nav-toggle__bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 6vw, 3rem);
  padding: 110px clamp(24px, 8vw, 48px) clamp(32px, 8vw, 56px);
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.mobile-menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.mobile-menu[data-open="true"] .mobile-menu__nav a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(4) { transition-delay: 0.26s; }

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.mobile-menu__cta {
  align-self: flex-start;
  font-size: 1rem;
}

.mobile-menu__email {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
}

body[data-nav-open="true"] {
  overflow: hidden;
}

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space) var(--pad);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow strong {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
}

.eyebrow__sep {
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.section-headline {
  display: grid;
  gap: 0.9rem;
  max-width: 62rem;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

.section-headline h2,
.contact__intro h2 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.26rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.cta--dark {
  background: var(--ink);
  color: #f7f4ee;
  box-shadow: 0 16px 28px -18px rgba(18, 18, 20, 0.34);
}

.cta--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.5);
  color: var(--ink);
}

.cta--light {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f4ee;
}

.cta--lg {
  padding: 1rem 1.36rem;
}

.hero {
  padding-top: 118px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 1.15rem;
}

.hero__title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.hero__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}

.hero__lede,
.contact__lede {
  max-width: 36ch;
  margin: 0;
  font-size: clamp(1rem, 0.2vw + 0.96rem, 1.08rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero__actions,
.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__notes span {
  padding: 0.62rem 0.82rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.55);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__stage {
  position: relative;
  min-height: 560px;
  display: block;
  --mx: 0;
  --my: 0;
  transform: perspective(1200px) rotateX(calc(var(--my) * -3deg)) rotateY(calc(var(--mx) * 3deg));
  transition: transform 0.35s var(--ease);
}

.hero-spec {
  position: relative;
  border-radius: var(--radius-md);
  background: #fffaf3;
  border: 1px solid rgba(18, 18, 20, 0.08);
  box-shadow: 0 28px 80px -40px rgba(18, 18, 20, 0.22);
  padding: clamp(28px, 3.2vw, 44px) clamp(24px, 3vw, 40px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-spec__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(48px, 6vw, 76px);
}

.hero-spec__topbar span:first-child::before {
  content: "— ";
  color: var(--accent-deep);
}

.hero-spec__feature {
  position: relative;
}

.hero-spec__feature::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-deep), transparent);
  opacity: 0.32;
}

.hero-spec__word {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}

.hero-spec__dot {
  color: var(--accent-deep);
  font-style: normal;
}

.hero-spec__detail {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-spec__detail span + span {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(18, 18, 20, 0.15);
}

.hero-spec__grid {
  margin: clamp(40px, 5vw, 60px) 0 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 20px;
  row-gap: clamp(16px, 2vw, 22px);
  align-items: start;
}

.hero-spec__grid dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 5px;
}

.hero-spec__grid dd {
  margin: 0;
}

.hero-spec__line {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

/* Cada muestra renderiza en SU peso para ilustrar la escala viva */
.hero-spec__grid dd:nth-of-type(1) { font-weight: 400; color: var(--ink-soft); }
.hero-spec__grid dd:nth-of-type(2) { font-weight: 500; }
.hero-spec__grid dd:nth-of-type(3) { font-weight: 600; }

.hero-spec__line em {
  font-style: italic;
  font-weight: inherit;
  color: var(--accent-deep);
}

.hero__column {
  display: grid;
  gap: 1rem;
}

.hero__column--tall {
  padding-top: 56px;
}

.hero__column--wide {
  padding-bottom: 48px;
}

.hero__subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-block {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.hero-block--statement {
  min-height: 190px;
  padding: 1.4rem;
}

.hero-block__kicker,
.hero-block__label,
.service-card__num,
.services__kicker,
.services__count,
.case__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-block--statement p {
  margin: 0.75rem 0 0;
  max-width: 8ch;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero-block__meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.hero-block__meta span {
  padding: 0.45rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.72);
}

.hero-block--dark {
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.98), rgba(31, 33, 39, 0.96));
  color: #f7f4ee;
}

.hero-block--frame {
  min-height: 330px;
  padding: 1rem;
}

.hero-frame {
  height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(18, 18, 20, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(241, 238, 232, 0.74));
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 1rem;
}

.hero-frame__window {
  width: 100%;
  display: flex;
  gap: 0.34rem;
  align-items: center;
  padding-bottom: 0.3rem;
}

.hero-frame__window span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.18);
}

.hero-frame__hero {
  width: 100%;
  min-height: 92px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 20%, rgba(188, 198, 214, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(18, 18, 20, 0.08), rgba(18, 18, 20, 0.04));
  border: 1px solid rgba(18, 18, 20, 0.06);
}

.hero-frame__caption {
  width: 100%;
  display: grid;
  gap: 0.42rem;
}

.hero-frame__caption span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.12);
}

.hero-frame__caption span:first-child {
  width: 52%;
}

.hero-frame__caption span:last-child {
  width: 34%;
}

.hero-frame__bar {
  width: min(72%, 240px);
  height: 16px;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.86);
}

.hero-frame__bar--mid {
  width: 54%;
  height: 10px;
  background: rgba(18, 18, 20, 0.28);
}

.hero-frame__bar--short {
  width: 34%;
  height: 10px;
  background: rgba(18, 18, 20, 0.16);
}

.hero-frame__grid {
  width: min(70%, 250px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.hero-frame__grid span {
  aspect-ratio: 1;
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.08);
}

.hero-block--feature {
  min-height: 450px;
  background:
    radial-gradient(circle at 18% 18%, rgba(188, 198, 214, 0.26), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(240, 238, 233, 0.84));
}

.hero-block__top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(18, 18, 20, 0.08);
  background: rgba(255, 255, 255, 0.4);
}

.hero-block__top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.22);
}

.hero-block__top small {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero-block__body {
  height: calc(100% - 48px);
  display: grid;
  place-items: center;
  gap: 1.1rem;
  padding: 1.4rem;
}

.hero-block__mark {
  color: var(--accent-deep);
}

.hero-block__caption {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-block__stats {
  width: min(76%, 320px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.hero-block__stats span {
  min-height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(18, 18, 20, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(241, 238, 232, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-block__caption span {
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 20, 0.08);
  background: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-block--soft {
  min-height: 144px;
  padding: 1rem;
  display: grid;
  align-content: end;
  gap: 0.4rem;
}

.hero-block--soft strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.hero-block__mini-ui {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.7rem;
}

.hero-block__mini-ui span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.14);
}

.hero-block__mini-ui span:nth-child(1) {
  width: 86%;
}

.hero-block__mini-ui span:nth-child(2) {
  width: 64%;
}

.hero-block__mini-ui span:nth-child(3) {
  width: 42%;
}

.hero-block__mini-ui--split {
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.hero-block__mini-ui--split span {
  width: 100%;
  min-height: 52px;
  height: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(18, 18, 20, 0.06);
}

.hero-block--tint {
  background:
    radial-gradient(circle at 84% 14%, rgba(188, 198, 214, 0.32), transparent 24%),
    rgba(255, 252, 247, 0.8);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.hero__metrics article,
.proof-card {
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.56);
  box-shadow: var(--shadow-soft);
}

.proof-card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.proof-card__kicker {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 6px;
}

.hero__metrics strong,
.proof-card strong {
  display: block;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.hero__metrics span,
.proof-card p {
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
  margin: 0;
}

.proof-card__accent {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent-deep);
  margin-top: 10px;
  opacity: 0.7;
}

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: rgba(18, 18, 20, 0.98);
  color: #f7f4ee;
}

.marquee__track {
  display: inline-flex;
  min-width: max-content;
  gap: 1.6rem;
  padding: 0.9rem 0;
  animation: ticker 28s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 0.6vw + 0.92rem, 1.4rem);
  font-style: italic;
}

.marquee__track span::after {
  content: "•";
  color: rgba(255, 255, 255, 0.36);
}

/* Manifiesto centrado — rompe el ritmo title-left / cards-right. */
.signature {
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(80px, 12vw, 160px);
  text-align: center;
}

.signature__manifesto {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}

.signature .section-label {
  justify-content: center;
}

.signature__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}

.signature__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-deep);
}

.signature__title br {
  display: block;
}

.signature__lede {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
}

.signature__lede strong {
  color: var(--ink);
  font-weight: 600;
}

.signature__pillars {
  list-style: none;
  padding: 0;
  margin: clamp(20px, 3vw, 36px) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  max-width: 960px;
}

.signature__pillars li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1 1 240px;
  max-width: 280px;
  min-width: 200px;
  text-align: left;
}

.signature__pillar-num {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding-top: 2px;
  flex-shrink: 0;
}

.signature__pillar-text {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

/* Orphan: .signature__layout/grid/manifesto/sig-panel ya no se usan
   en el HTML. Se limpian en el chore issue #11. */
.signature__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.manifesto {
  padding: 1.35rem;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.64);
  box-shadow: var(--shadow-soft);
}

.manifesto__index {
  display: inline-flex;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.manifesto p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.1vw, 2.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.manifesto strong {
  color: var(--accent-deep);
}

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

.sig-panel {
  min-height: 220px;
  padding: 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.62);
  box-shadow: var(--shadow-soft);
}

.sig-panel span {
  display: inline-flex;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sig-panel h3 {
  margin: 0;
  max-width: 12ch;
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.sig-panel__ui {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.sig-panel__ui span {
  min-height: 62px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 18, 20, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.sig-panel__ui span:first-child {
  grid-column: span 2;
  min-height: 16px;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.12);
}

.sig-panel__ui--dark span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.sig-panel__ui--dark span:first-child {
  background: rgba(255, 255, 255, 0.18);
}

.sig-panel--dark {
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.98), rgba(31, 33, 39, 0.96));
  color: #f7f4ee;
}

.sig-panel--light {
  background:
    radial-gradient(circle at 80% 18%, rgba(188, 198, 214, 0.28), transparent 24%),
    rgba(255, 252, 247, 0.72);
}

.sig-panel--image {
  padding: 0;
  overflow: hidden;
}

.sig-panel__art {
  height: 100%;
  min-height: 220px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(236, 232, 226, 0.9));
}

.sig-panel__art span {
  position: absolute;
  border-radius: 24px;
  background: rgba(18, 18, 20, 0.08);
}

.sig-panel__art span:nth-child(1) {
  inset: 12% 52% 58% 12%;
}

.sig-panel__art span:nth-child(2) {
  inset: 12% 12% 58% 52%;
  background: rgba(188, 198, 214, 0.32);
}

.sig-panel__art span:nth-child(3) {
  inset: 34% 12% 40% 12%;
  background: rgba(18, 18, 20, 0.14);
}

.sig-panel__art span:nth-child(4) {
  inset: 64% 12% 22% 12%;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.12);
}

.sig-panel__art span:nth-child(5) {
  inset: 76% 12% 12% 38%;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.08);
}

.sig-panel--quote {
  display: grid;
  place-items: end start;
}

.sig-panel--quote p {
  margin: 0;
  max-width: 10ch;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2vw, 2.7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.work__layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
}

.case {
  display: grid;
  gap: 1rem;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.68);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.case--feature {
  grid-row: span 2;
}

/* Frame interno: el "mockup teaser" — cada caso tiene su paleta propia */
.case__frame {
  position: relative;
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 36px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
  background: var(--case-bg, #1a1210);
  color: var(--case-fg, #f4e8d5);
  overflow: hidden;
  isolation: isolate;
}

.case--feature .case__frame {
  min-height: 360px;
}

.case__meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.case__brandmark {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-transform: none;
  opacity: 1;
}

.case__industry {
  font-weight: 500;
}

.case__hero {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 14ch;
  text-wrap: balance;
}

.case--feature .case__hero {
  font-size: clamp(2rem, 3vw, 3rem);
}

.case__hero em {
  font-style: italic;
  font-weight: 600;
  color: var(--case-accent, #c8974a);
}

.case__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  opacity: 0.65;
}

.case__year {
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.case__copy {
  padding: 6px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case__copy h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.case__copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 40ch;
}

/* ── Paletas por caso ───────────────────────── */
.case--atico {
  --case-bg: #1c140f;
  --case-fg: #f4e8d5;
  --case-accent: #d4a056;
}
.case--atico .case__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--case-accent), transparent);
  opacity: 0.42;
}

.case--morea {
  --case-bg: #e6e3dc;
  --case-fg: #1a1f2b;
  --case-accent: #45556f;
}
.case--morea .case__frame::before {
  content: "";
  position: absolute;
  left: clamp(22px, 2.6vw, 36px);
  right: clamp(22px, 2.6vw, 36px);
  top: 50%;
  height: 1px;
  background: rgba(26, 31, 43, 0.14);
  z-index: -1;
}

.case--sola {
  --case-bg: #e9e7d4;
  --case-fg: #1b1f15;
  --case-accent: #6e7856;
}
.case--sola .case__frame::after {
  content: "";
  position: absolute;
  top: clamp(22px, 2.6vw, 36px);
  right: clamp(22px, 2.6vw, 36px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--case-accent);
  opacity: 0.55;
}

/* CTA banner debajo del grid */
.work__cta {
  margin-top: clamp(32px, 5vw, 48px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.72);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.work__cta p {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.case__visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(18, 18, 20, 0.08);
}

.case__chrome,
.case__paper,
.case__footer-band,
.case__product-base,
.case__studio-panel {
  position: absolute;
}

.case__chrome {
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.52);
  border-bottom: 1px solid rgba(18, 18, 20, 0.06);
}

.case__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.16);
}

.case__chrome--dark {
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.case__chrome--dark span {
  background: rgba(255, 255, 255, 0.22);
}

.case__paper {
  top: 58px;
  left: 10%;
  right: 10%;
  bottom: 14%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 30px -24px rgba(18, 18, 20, 0.22);
}

.case--feature .case__visual {
  min-height: 520px;
}

.case__copy {
  display: grid;
  gap: 0.45rem;
  max-width: 28ch;
}

.case__copy h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.6vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.case__copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.case--dark .case__copy p,
.case--dark .case__tag {
  color: rgba(247, 244, 238, 0.72);
}

.case__visual--legal {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 232, 226, 0.92)),
    radial-gradient(circle at 84% 14%, rgba(188, 198, 214, 0.24), transparent 20%);
}

.case__line,
.case__seal,
.case__tile,
.case__orbit,
.case__center-mark {
  position: absolute;
}

.case__line {
  left: 12%;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.86);
}

.case__line--a {
  top: 28%;
  width: 52%;
  height: 18px;
}

.case__line--b {
  top: 37%;
  width: 68%;
  height: 10px;
  background: rgba(18, 18, 20, 0.26);
}

.case__seal {
  right: 12%;
  top: 18%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px dashed rgba(18, 18, 20, 0.22);
}

.case__footer-band {
  left: 10%;
  right: 10%;
  bottom: 9%;
  height: 18px;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.08);
}

.case__visual--product {
  background:
    radial-gradient(circle at 18% 20%, rgba(188, 198, 214, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(236, 232, 226, 0.92));
}

.case__tile {
  width: 34%;
  aspect-ratio: 1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 18, 20, 0.08);
  box-shadow: 0 14px 22px -18px rgba(18, 18, 20, 0.18);
}

.case__tile:nth-child(1) {
  top: 22%;
  left: 10%;
}

.case__tile:nth-child(2) {
  top: 22%;
  right: 10%;
  background: rgba(188, 198, 214, 0.34);
}

.case__tile:nth-child(3) {
  left: 28%;
  bottom: 20%;
}

.case__product-base {
  left: 18%;
  right: 18%;
  bottom: 10%;
  height: 20px;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.08);
}

.case__visual--studio {
  background:
    radial-gradient(circle at 20% 18%, rgba(188, 198, 214, 0.2), transparent 22%),
    radial-gradient(circle at 82% 80%, rgba(255, 255, 255, 0.12), transparent 18%),
    rgba(15, 16, 20, 0.98);
}

.case__studio-panel {
  top: 72px;
  width: 22%;
  bottom: 18%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.case__studio-panel--left {
  left: 9%;
}

.case__studio-panel--right {
  right: 9%;
}

.case__orbit {
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: translate(-50%, -50%);
}

.case__orbit--one {
  width: 64%;
  aspect-ratio: 1;
  animation: spin 18s linear infinite;
}

.case__orbit--two {
  width: 42%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: spinReverse 14s linear infinite;
}

.case__center-mark {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(247, 244, 238, 0.82);
}

.services__layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.services__display {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 14%, rgba(188, 198, 214, 0.24), transparent 22%),
    rgba(255, 252, 247, 0.74);
  box-shadow: var(--shadow-soft);
}

.services__display h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1.6vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.services__display p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.54;
}

.services__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.services__chips li {
  padding: 0.48rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.services__list {
  display: grid;
  gap: 0.8rem;
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.58);
  transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.service-card:hover,
.service-card.is-active {
  transform: translateY(-2px);
  background: rgba(255, 252, 247, 0.8);
  border-color: var(--line-strong);
}

.service-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ink);
  color: #f7f4ee;
}

.service-card h3 {
  margin: 0 0 0.34rem;
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.48;
}

.service-card__tags {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-card__tags li {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.72);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.service-card.is-active .service-card__tags li,
.service-card:hover .service-card__tags li {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
}

/* orphan: .service-card__ui ya no se usa; se limpia en #11 */

.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: start;
}

.contact__intro {
  display: grid;
  gap: 1rem;
}

.contact__mail {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.contact-form {
  display: grid;
  gap: clamp(28px, 3vw, 36px);
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 32px);
}

.field {
  display: grid;
  gap: 8px;
  position: relative;
}

.field span {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.2s ease;
}

.field input,
.field textarea {
  width: 100%;
  padding: 8px 0 12px;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color 0.22s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
  font-weight: 400;
}

.field input:hover,
.field textarea:hover {
  border-bottom-color: rgba(18, 18, 20, 0.32);
}

.field:focus-within span {
  color: var(--accent-deep);
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--accent-deep);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.45;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-form__footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer {
  padding: clamp(80px, 10vw, 128px) var(--pad) 32px;
  background: linear-gradient(180deg, transparent, rgba(232, 226, 216, 0.6));
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 56px);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.footer__brandmark {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--ink);
}

.footer__statement {
  margin: 0;
  flex: 1;
  min-width: 260px;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.footer__statement em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-deep);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.footer__link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--accent-deep);
}

.footer__link--muted {
  color: var(--ink-soft);
  font-weight: 500;
  cursor: default;
}

.footer__link--muted:hover {
  color: var(--ink-soft);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--ink-faint);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.reveal,
.service-card,
.case,
.proof-card,
.sig-panel,
.manifesto,
.contact-form,
.contact__intro,
[data-reveal="words"] {
  opacity: 0;
  transform: translateY(24px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal="words"] {
  transform: none;
}

.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.word__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}

.is-visible .word__inner {
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinReverse {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1140px) {
  .hero__layout,
  .signature__layout,
  .services__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .hero__stage {
    min-height: 540px;
  }

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

  .case--feature {
    grid-row: auto;
  }

  .case--feature .case__visual {
    min-height: 300px;
  }

  .services__display {
    position: relative;
    top: auto;
  }

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

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .topnav {
    display: none;
  }

  .topbar__cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero__layout {
    gap: 1.2rem;
  }

  .hero__title {
    max-width: none;
  }

  .hero__stage {
    grid-template-columns: 1fr;
    min-height: auto;
    transform: none;
  }

  .hero__column--tall,
  .hero__column--wide {
    padding: 0;
  }

  .hero-block--feature {
    min-height: 340px;
  }

  .hero__metrics,
  .signature__grid,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__brandmark svg {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 560px) {
  .topbar {
    top: 10px;
    width: calc(100% - 14px);
    padding: 12px;
  }

  .brand__word {
    font-size: 1.55rem;
  }

  .hero {
    padding-top: 132px;
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.08;
  }

  .hero-block,
  .manifesto,
  .sig-panel,
  .case,
  .services__display,
  .contact-form {
    border-radius: 24px;
  }

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

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

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

  .reveal,
  .service-card,
  .case,
  .proof-card,
  .sig-panel,
  .manifesto,
  .contact-form,
  .contact__intro,
  [data-reveal="words"],
  .word__inner {
    opacity: 1 !important;
    transform: none !important;
  }
}
