/* ==========================================================================
   Loomkin, rediseño de la home
   Branding bloqueado (tomado de loomkinagency.com): Poppins, fondo violeta
   profundo, morado de marca, lavanda para texto, #8D8DEF para palabras
   destacadas, degradado #8D8DEF -> #4CC9F0 solo en cifras. Logo e imágenes
   originales. Lo nuevo es la composición, el ritmo y el movimiento.

   Radios: interactivos = pill (999px); contenedores = 28px (interior 22px).
   Capas z: grain 60, nav 50, menú 49.
   ========================================================================== */

:root {
  --ink: #120B28;
  --ink-2: #1C1035;
  --ink-3: #1A0E32;
  --violet: #6B3FD4;
  --violet-deep: #5234BE;
  --lilac: #E7DFFF;
  --muted: rgba(231, 223, 255, 0.68);
  --faint: rgba(231, 223, 255, 0.14);
  --hair: rgba(231, 223, 255, 0.10);
  --peri: #8D8DEF;
  --cyan: #4CC9F0;
  --pink: #F94A82;

  --grad: linear-gradient(135deg, var(--peri), var(--cyan));
  /* Corner glow shared by every dark tile; featured tiles use a stronger version. */
  --tile-glow: radial-gradient(75% 65% at 100% 0%, rgba(107, 63, 212, 0.3), transparent 70%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --r-outer: 28px;
  --r-inner: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(72px, 8.5vw, 120px);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* The nav is fixed: anchor jumps and keyboard focus land below it, not under it. */
  scroll-padding-top: 96px;
}
a, button, [role="tab"] { touch-action: manipulation; -webkit-tap-highlight-color: rgba(141, 141, 239, 0.18); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--lilac);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 600; color: var(--lilac); }

h1, h2, h3 { font-weight: 800; color: #fff; text-wrap: balance; }
h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
p { text-wrap: pretty; }

.hl { color: var(--peri); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec { padding-block: var(--sec-y) calc(var(--sec-y) * 1.05); position: relative; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--lilac); font-weight: 300; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--peri);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* Accessibility --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  z-index: 70;
  background: var(--violet);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

:focus-visible {
  outline: 2px solid var(--peri);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Grain --------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 14px 40px -14px rgba(107, 63, 212, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 18px;
  transition: transform 0.5s var(--ease-spring), background-color 0.4s var(--ease);
}
.btn:hover { background: var(--violet-deep); box-shadow: 0 18px 50px -14px rgba(107, 63, 212, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn:hover .btn__icon { transform: translateX(3px) scale(1.06); background: rgba(255, 255, 255, 0.22); }
.btn:active { transform: scale(0.98); }
.btn--sm { font-size: 14px; padding: 5px 5px 5px 18px; gap: 10px; }
.btn--sm .btn__icon { width: 30px; height: 30px; font-size: 15px; }
/* Phones: keep the CTA label on one line ("Agenda una llamada de 30 minutos"). */
@media (max-width: 420px) {
  .btn { white-space: nowrap; font-size: 14px; gap: 10px; padding-left: 20px; }
  .btn__icon { width: 32px; height: 32px; }
}

.link {
  font-weight: 500;
  font-size: 15px;
  color: var(--lilac);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  white-space: nowrap;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}
.link:hover { color: var(--peri); background-size: 40% 1px; }

/* Nav ------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
}
.nav__bar {
  max-width: calc(var(--wrap) - 2 * 24px);
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: rgba(18, 11, 40, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 rgba(231, 223, 255, 0.06), 0 20px 50px -30px rgba(5, 2, 15, 0.9);
}
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav__links a:hover { color: #fff; background: rgba(231, 223, 255, 0.06); }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav__lang {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--faint);
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__lang:hover { color: #fff; border-color: var(--peri); }

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(231, 223, 255, 0.08);
}
.nav__burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.5s var(--ease-spring);
}
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(18, 11, 40, 0.94);
  overscroll-behavior: contain;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.menu[hidden] { display: none; }
.menu a {
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  animation: menuIn 0.7s var(--ease) forwards;
}
.menu a:nth-child(2) { animation-delay: 0.05s; }
.menu a:nth-child(3) { animation-delay: 0.1s; }
.menu a:nth-child(4) { animation-delay: 0.15s; }
.menu a:nth-child(5) { animation-delay: 0.2s; color: var(--peri); }
.menu a:nth-child(6) { animation-delay: 0.25s; font-size: 1rem; font-weight: 500; color: var(--muted); margin-top: 18px; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(120px, 15vh, 150px);
  padding-bottom: clamp(64px, 10vh, 120px);
  background:
    radial-gradient(70% 55% at 80% 8%, rgba(107, 63, 212, 0.42), transparent 70%),
    radial-gradient(40% 35% at 8% 70%, rgba(249, 74, 130, 0.08), transparent 70%),
    var(--ink);
  overflow: hidden;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.hero__title .line { display: block; }
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* About ----------------------------------------------------------------- */
.about { background: var(--ink-2); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about__head { position: sticky; top: 120px; }
.letter__dot { color: var(--peri); -webkit-text-stroke: 0; }
.about__body { display: grid; gap: 22px; color: var(--muted); padding-top: 8px; }
.about__body .lead { color: var(--lilac); }
.traits { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--hair); }
.trait {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair);
}
.trait i { grid-row: span 2; font-size: 30px; color: var(--peri); line-height: 1; padding-top: 2px; }
.trait dt { font-weight: 600; color: #fff; font-size: 1.05rem; line-height: 1.4; }
.trait dd { font-size: 15px; color: var(--muted); }

/* Shift ----------------------------------------------------------------- */
.shift {
  background:
    radial-gradient(45% 50% at 90% 60%, rgba(76, 201, 240, 0.07), transparent 70%),
    var(--ink);
}
.shift__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.shift__copy h2 { margin-bottom: 28px; }
.shift__copy p:not(.lead) { color: var(--muted); margin-top: 8px; }
.stat-panel {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-outer);
  background: var(--tile-glow), linear-gradient(160deg, rgba(141, 141, 239, 0.12), rgba(28, 16, 53, 0.4));
  border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 rgba(231, 223, 255, 0.08);
}
.stat-panel__num {
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}
.stat-panel__label { font-size: 1.1rem; color: var(--lilac); margin-bottom: 22px; max-width: 28ch; }
.stat-panel figcaption { font-size: 12.5px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--hair); padding-top: 16px; }

/* Cost list ------------------------------------------------------------- */
.cost { background: var(--ink-3); }
.cost__title { max-width: 22ch; margin-bottom: clamp(48px, 6vw, 80px); }
.costs { border-top: 1px solid var(--hair); }
.cost-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--hair);
}
.cost-row i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  font-size: 28px;
  color: var(--peri);
  background: rgba(141, 141, 239, 0.1);
}
.cost-row h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.1; }
.cost-row p { color: var(--muted); font-size: 1.05rem; max-width: 40ch; }

/* Reframe --------------------------------------------------------------- */
.reframe { background: var(--ink); }
.reframe__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}
.reframe__art {
  border-radius: var(--r-outer);
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 420px;
}
.reframe__art img, .reframe__art video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reframe__copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin-bottom: 28px; }
.reframe__copy p { color: var(--muted); max-width: 58ch; font-size: 1.08rem; }

/* Ladder (signature) ---------------------------------------------------- */
.ladder {
  background:
    radial-gradient(50% 60% at 25% 55%, rgba(107, 63, 212, 0.28), transparent 70%),
    var(--ink-2);
}
.ladder__title { max-width: 20ch; margin-bottom: clamp(48px, 6vw, 88px); }
.ladder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.rings { max-width: 520px; width: 100%; justify-self: center; }
.rings svg { width: 100%; height: auto; overflow: visible; }
.ring {
  fill: none;
  stroke: rgba(231, 223, 255, 0.16);
  stroke-width: 1.2;
  transition: stroke 0.6s var(--ease), stroke-width 0.6s var(--ease), fill 0.6s var(--ease);
}
.ring.is-past { stroke: rgba(141, 141, 239, 0.35); }
.ring.is-active { stroke: var(--peri); stroke-width: 2.2; fill: rgba(141, 141, 239, 0.06); }
.ring--core { fill: rgba(107, 63, 212, 0.18); }
.ring--core.is-active { fill: url(#core); stroke: var(--peri); }
.ring-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-anchor: middle;
  fill: rgba(231, 223, 255, 0.4);
  transition: fill 0.5s var(--ease);
}
.ring-label.is-active { fill: #fff; }
.person {
  transition: transform 1s var(--ease-spring);
  transform: translate(334.3px, 65.6px);
}
.person__dot { fill: #fff; }
.person__halo { fill: rgba(141, 141, 239, 0.35); animation: halo 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }

.stages { display: grid; gap: 4px; counter-reset: none; }
.stage {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 16px;
  text-align: left;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.stage:hover { background: rgba(231, 223, 255, 0.04); }
.stage[aria-selected="true"] {
  background: rgba(141, 141, 239, 0.08);
  border-color: rgba(141, 141, 239, 0.28);
}
.stage__n {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(231, 223, 255, 0.22);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s var(--ease);
}
.stage[aria-selected="true"] .stage__n { color: var(--peri); }
.stage__body { display: grid; gap: 2px; }
.stage__name { font-size: 1.2rem; font-weight: 700; color: #fff; }
.stage__desc { font-size: 15px; color: var(--muted); line-height: 1.55; }
.stage__zone {
  font-size: 13px;
  font-weight: 500;
  color: var(--peri);
  /* Space is always reserved, so switching stages only fades (no reflow). */
  display: block;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stage[aria-selected="true"] .stage__zone { opacity: 1; transform: none; }
.ladder__note {
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--muted);
}

/* Process --------------------------------------------------------------- */
.process { background: var(--ink); }
.process__head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.process__head h2 { margin-bottom: 24px; }
.process__head p { color: var(--muted); max-width: 58ch; }
.track { position: relative; }
.phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.phase { position: relative; padding-top: 28px; border-top: 1px solid var(--faint); }
.phase::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--peri);
  box-shadow: 0 0 0 6px rgba(141, 141, 239, 0.12);
}
.phase__n {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--peri);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.phase h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 12px; }
.phase p { color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.loop { margin-top: 24px; height: 90px; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop__path, .loop__head {
  fill: none;
  stroke: var(--peri);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.loop__path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.2s var(--ease); }
.loop__head { opacity: 0; transition: opacity 0.4s var(--ease) 1.9s; }
.track.is-in .loop__path { stroke-dashoffset: 0; }
.track.is-in .loop__head { opacity: 1; }
.loop__label {
  text-align: center;
  margin-top: -8px;
  font-size: 14px;
  color: var(--muted);
}
.loop__label span { color: var(--peri); font-weight: 600; }

/* PLACES ---------------------------------------------------------------- */
.places { background: var(--ink-3); }
.places__head { margin-bottom: clamp(48px, 6vw, 80px); }
.places__head h2 { margin-bottom: 16px; }
.places__head p { color: var(--muted); max-width: 50ch; font-size: 1.08rem; }
.letters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
}
.letter {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 28px 18px 8px;
  border-left: 1px solid var(--hair);
}
.letter:first-child { border-left: 0; padding-left: 0; }
.letter__glyph {
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(141, 141, 239, 0.7);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 100% 0%;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.8s var(--ease), -webkit-text-stroke-color 0.8s var(--ease);
  margin-bottom: 14px;
  padding-bottom: 4px;
}
.letter:hover .letter__glyph,
.letter.is-lit .letter__glyph { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.letter strong { color: #fff; font-weight: 600; font-size: 1.02rem; }
.letter > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Anchor + studios ------------------------------------------------------ */
.anchor { background: var(--ink); }
.anchor__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.anchor__copy h2 { margin-bottom: 28px; }
.anchor__copy > p { color: var(--muted); max-width: 56ch; }
.pull {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 2px solid var(--peri);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 26ch;
}
.studios {
  padding: 8px;
  border-radius: var(--r-outer);
  background: rgba(231, 223, 255, 0.04);
  border: 1px solid var(--hair);
}
.studios__inner {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-inner);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(107, 63, 212, 0.4), transparent 70%),
    var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(231, 223, 255, 0.08);
}
.studios h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.studios p { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.studio-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--faint);
  font-weight: 600;
  color: #fff;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-spring);
}
.studio-link + .studio-link { margin-top: 10px; }
.studio-link .btn__icon { background: rgba(141, 141, 239, 0.16); }
.studio-link:hover { background: rgba(141, 141, 239, 0.1); border-color: rgba(141, 141, 239, 0.4); }
.studio-link:hover .btn__icon { transform: translate(2px, -2px) scale(1.06); }
.studio-link:active { transform: scale(0.98); }
.services {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(24px, 4vw, 48px);
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}
.services h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.services p { font-size: 15px; color: var(--muted); }

/* Doors ----------------------------------------------------------------- */
.doors { background: var(--ink-2); }
.doors__head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.doors__head h2 { margin-bottom: 22px; }
.doors__head p { color: var(--muted); max-width: 58ch; }
.doors__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) auto minmax(0, 6fr);
  align-items: stretch;
  gap: 20px;
}
.door {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--r-outer);
  border: 1px solid var(--faint);
  background: var(--tile-glow), var(--ink-3);
}
.door__kicker { font-size: 13px; font-weight: 600; color: var(--peri); margin-bottom: 8px; }
.door h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; margin-bottom: 28px; }
.door li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  color: var(--lilac);
}
.door li i { color: var(--peri); font-size: 18px; transform: translateY(3px); }
.door--full {
  border-color: rgba(141, 141, 239, 0.35);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(107, 63, 212, 0.5), transparent 70%),
    var(--ink-3);
  box-shadow: 0 40px 80px -50px rgba(107, 63, 212, 0.8);
}
.doors__or {
  align-self: center;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--faint);
  background: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--peri);
}

/* Proof ----------------------------------------------------------------- */
.proof { background: var(--ink); }
.proof h2 { max-width: 18ch; margin-bottom: clamp(48px, 6vw, 88px); }
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.proof__item:nth-child(2) { margin-top: 48px; }
.proof__item:nth-child(4) { margin-top: 48px; }
.proof__item dt {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  padding-bottom: 4px;
}
.proof__item:last-child dt { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; }
.proof__item dd { color: var(--muted); font-size: 15px; max-width: 26ch; border-top: 1px solid var(--hair); padding-top: 16px; }

/* Final CTA: full-bleed, the sheep photo is the section background ------ */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(860px, 100dvh);
  display: flex;
  align-items: center;
  padding-block: clamp(120px, 14vw, 200px);
  background: var(--ink);
}
.final > .wrap { width: 100%; }
.final__shell { display: contents; }
.final__core {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: end;
}
.final__bg { position: absolute; inset: 0; z-index: -1; }
/* The sheep's face must sit in the gap between the copy and the right column at every width. */
.final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 5% 38%; }
@media (max-width: 1359px) { .final__bg img { object-position: 30% 38%; } }
@media (max-width: 1099px) { .final__bg img { object-position: 50% 38%; } }
.final__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(18, 11, 40, 0) 22%, rgba(18, 11, 40, 0) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(18, 11, 40, 0.94) 0%, rgba(18, 11, 40, 0.8) 40%, rgba(18, 11, 40, 0.45) 68%, rgba(18, 11, 40, 0.7) 100%),
    radial-gradient(55% 80% at 0% 100%, rgba(107, 63, 212, 0.4), transparent 70%);
}
.final__copy > p:not(.eyebrow):not(.final__mail) { color: var(--lilac) !important; }
.final__copy { max-width: min(30rem, 36vw); } /* stay left of the sheep's face */
.final__copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 22px; text-wrap: balance; }
.final__copy > p:not(.eyebrow):not(.final__mail) { color: var(--muted); max-width: 44ch; margin-bottom: 36px; font-size: 1.08rem; }
.final__mail { margin-top: 22px; font-size: 15px; color: var(--muted); }
.final__mail a { color: var(--lilac); border-bottom: 1px solid var(--faint); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.final__mail a:hover { color: var(--peri); border-color: var(--peri); }
.final__takeaways {
  align-self: end;
  padding-left: 28px;
  border-left: 1px solid rgba(231, 223, 255, 0.28);
}
.final__takeaways h3 { font-size: 1rem; font-weight: 600; color: var(--peri); margin-bottom: 14px; }
.final__takeaways li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(231, 223, 255, 0.18);
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(18, 11, 40, 0.6);
}
.final__takeaways li i { font-size: 22px; color: var(--peri); }
.final__fine { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* Footer ---------------------------------------------------------------- */
.footer { background: var(--ink); border-top: 1px solid var(--hair); padding-top: 72px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { height: 52px; width: auto; margin-bottom: 22px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 15px; }
.footer__city { margin-top: 16px; font-size: 13px !important; letter-spacing: 0.08em; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--peri); margin-bottom: 6px; }
.footer__col a { overflow-wrap: anywhere; font-size: 15px; color: var(--muted); transition: color 0.3s var(--ease); width: fit-content; }
.footer__col a:hover { color: #fff; }
.footer__legal { border-top: 1px solid var(--hair); padding-block: 24px 32px; }
.footer__legal p { font-size: 12.5px; color: var(--muted); }

/* Reveal ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* The hero holds the LCP (its headline): paint it at once and only slide it in. */
  .js .hero .reveal { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .loop__path { stroke-dashoffset: 0; }
  .loop__head { opacity: 1; }
  .person__halo { display: none; }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__end .btn--sm { display: none; }
  .letters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .letter:nth-child(4) { border-left: 0; padding-left: 0; }
  .letter:nth-child(n + 4) { border-top: 1px solid var(--hair); }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item:nth-child(n) { margin-top: 0; }
}

@media (max-width: 860px) {
  .cost-row { grid-template-columns: 56px minmax(0, 1fr); row-gap: 8px; }
  .cost-row p { grid-column: 2; }
  .about__grid,
  .shift__grid,
  .reframe__grid,
  .ladder__grid,
  .anchor__grid,
  .final__core { grid-template-columns: minmax(0, 1fr); }
  .final__copy { max-width: none; }
  /* Phones: the sheep becomes a band above the copy, so no text ever sits on its face. */
  .final { align-items: flex-start; min-height: 0; padding-top: clamp(280px, 72vw, 420px); padding-bottom: 80px; }
  .final__bg { inset: 0 0 auto 0; height: clamp(340px, 88vw, 500px); }
  .final__bg img { object-position: 50% 32%; }
  .final__bg::after { background: linear-gradient(180deg, rgba(18, 11, 40, 0.55) 0%, rgba(18, 11, 40, 0) 28%, rgba(18, 11, 40, 0) 50%, var(--ink) 96%); }

  .about__head { position: static; }
  .reframe__art { max-width: 280px; }
  .rings { max-width: 360px; }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .loop { display: none; }
  .loop__label { text-align: left; margin-top: 32px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .doors__grid { grid-template-columns: minmax(0, 1fr); }
  .doors__or { justify-self: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(2.1rem, 9.6vw, 2.6rem); }
  .btn { white-space: normal; text-align: left; }
  .nav__bar { padding-left: 16px; height: 60px; }
  .nav__logo img { height: 34px; }
  .letters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .letter:nth-child(n) { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); }
  .letter:nth-child(even) { border-left: 1px solid var(--hair); padding-left: 16px; }
  .letters { border-top: 0; }
  .proof__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .stage { padding: 14px 12px; grid-template-columns: 40px 1fr; }
}
