/* Karina Braun · page layer on top of scrollcraft.css
   60 marfil rosado · 30 rosa nude · 10 rosa profundo. Cacao for ink. */

:root {
  --sc-canvas:     #FBF5F2;
  --sc-surface:    #F1E1DB;
  --sc-ink:        #3F2A26;
  --sc-ink-soft:   #7A5F59;
  --sc-accent:     #9C5A57;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sc-font-text:    "Jost", system-ui, sans-serif;

  /* light canvas: edge light turns white, shadows halve and warm up */
  --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.7);
  --sc-shadow-color: 10 30% 30%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.10), 0 2px 6px -1px hsl(var(--sc-shadow-color) / 0.08);
  --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.08), 0 10px 24px -6px hsl(var(--sc-shadow-color) / 0.14);
  --sc-e3: 0 4px 10px hsl(var(--sc-shadow-color) / 0.08), 0 24px 48px -12px hsl(var(--sc-shadow-color) / 0.18);

  --kb-wall: #E9CFC9;
  --kb-hair: color-mix(in oklab, var(--sc-ink) 16%, transparent);
  --kb-r-lg: 24px;
  --kb-bar: 64px;
}

body { font-weight: 300; }
.sc-grain { opacity: 0.035; mix-blend-mode: multiply; }
[data-sc-progress] { height: 1px; }

/* ------------------------------------------------------------------ bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--kb-bar);
  display: flex; align-items: center; gap: var(--sc-6);
  padding-inline: var(--sc-gutter);
  transition: background-color var(--sc-d-base) var(--sc-ease-out), box-shadow var(--sc-d-base) var(--sc-ease-out);
}
.bar--solid { background: color-mix(in oklab, var(--sc-canvas) 94%, transparent); box-shadow: 0 1px 0 var(--kb-hair); }
.bar__mark { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; margin-right: auto; color: var(--sc-ink); }
.bar__mono { display: block; width: auto; height: 44px; transform-origin: 0 0; view-transition-name: monograma; }
.bar__lockup { display: flex; flex-direction: column; gap: 0.3rem; line-height: 1; }
.bar__name {
  font-family: var(--sc-font-display); font-weight: 500; white-space: nowrap;
  font-size: 1.04rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.bar__sub { font-size: 0.56rem; font-weight: 400; letter-spacing: 0.52em; text-transform: uppercase; color: var(--sc-ink-soft); }
/* the logo's own lettering, only while it flies on the home page */
.bar__letras { display: none; position: absolute; left: 0; top: 0; width: 200px; max-width: none; height: auto; transform-origin: 0 0; pointer-events: none; }
html.vuelo[data-pagina="inicio"] .bar__letras { display: block; }
/* until the home page takes the logo into the hero, the bar keeps quiet there */
html.vuelo[data-pagina="inicio"] :is(.bar__mono, .bar__lockup, .bar__letras) { opacity: 0; }
html.marca-lista .hero-copy__logo img { opacity: 0; }
.bar__nav { display: flex; gap: var(--sc-6); }
.bar__nav a {
  font-size: 0.86rem; letter-spacing: 0.08em; text-decoration: none; color: var(--sc-ink);
  padding-block: var(--sc-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--sc-d-base) var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { background-size: 100% 1px; } }
.bar__cta, .cta {
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; text-decoration: none;
  font-weight: 400; letter-spacing: 0.04em;
  color: var(--sc-accent-ink); background: var(--sc-accent);
  border-radius: 999px;
  box-shadow: var(--sc-e1);
  transition: background-color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.bar__cta, .cta { gap: 0.55rem; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.bar__cta { font-size: 0.95rem; padding: 0.72rem 1.35rem; box-shadow: var(--sc-e2); }
@media (hover: hover) and (pointer: fine) {
  .bar__cta:hover, .cta:hover { background: color-mix(in oklab, var(--sc-accent) 88%, black); }
}
.bar__cta:active, .cta:active { transform: scale(0.97); }

/* hero actions */
.hero-copy__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4) var(--sc-6); margin-top: var(--sc-6); }
.cta--hero { min-height: 58px; padding: 0 2rem; font-size: 1.06rem; box-shadow: var(--sc-e3); }
.hero-copy__link {
  font-size: 0.98rem; letter-spacing: 0.03em; text-decoration: none; color: var(--sc-ink);
  padding-bottom: 0.2rem; border-bottom: 1px solid currentColor;
}
@media (hover: hover) and (pointer: fine) { .hero-copy__link:hover { color: var(--sc-accent); } }

/* the scroll invitation: a lipstick on the right edge draws a line down.
   Idle on the hero it repeats a short stroke; once the reader scrolls, the
   line becomes the page's progress. Driven from kb.js through transforms. */
.lipcue {
  position: fixed; z-index: 55; right: 18px; top: 50%; translate: 0 -50%;
  display: flex; align-items: flex-start; gap: 10px;
  pointer-events: none;
}
.lipcue__label {
  writing-mode: vertical-rl; margin-top: 6px;
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400; color: var(--sc-ink);
  transition: opacity 320ms var(--sc-ease-out);
}
.lipcue__track { position: relative; width: 22px; height: 36vh; }
.lipcue__track::before {
  content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px;
  background: color-mix(in oklab, var(--sc-ink) 20%, transparent);
}
.lipcue__line {
  position: absolute; left: 8.5px; top: 0; width: 4px; height: 100%; border-radius: 3px;
  background: var(--sc-accent); opacity: 0.85;
  transform-origin: 50% 0; transform: scaleY(0);
}
.lipcue__stick {
  position: absolute; left: 2px; top: 0;
  display: flex; flex-direction: column-reverse; align-items: center;
  transform-origin: 50% 100%;
  will-change: transform;
}
/* built tip-down: the bevelled bullet touches the end of the line */
.lipcue__bullet { width: 12px; height: 18px; background: var(--sc-accent); border-radius: 0 0 5px 5px; clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%); }
.lipcue__collar { width: 15px; height: 3px; background: #C9A15A; border-radius: 1px; }
.lipcue__case { width: 17px; height: 32px; background: var(--sc-ink); border-radius: 3px 3px 2px 2px; box-shadow: inset 2px 0 0 rgb(255 255 255 / 0.12); }

/* the booking button that travels with each service */
.cta--look { margin-top: var(--sc-6); min-height: 52px; }
.cta__look::before { content: "·"; margin: 0 0.4rem 0 -0.15rem; opacity: 0.7; }
.cta__look:empty { display: none; }

/* -------------------------------------------------------- mirror act ---- */
.mstage { background: var(--sc-canvas); }

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media :is(img, video) {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; max-width: none;
}
/* the poster stays painted under the clip: if a browser drops the clip's
   frame, her still frame shows instead of an empty wall */
.hero-video { opacity: 0; transition: opacity 380ms var(--sc-ease-out); }
.hero-media.is-live .hero-video { opacity: 1; }

.hero-copy {
  position: absolute; z-index: 20;
  left: var(--sc-gutter); top: 50%; translate: 0 -46%;
  max-width: min(33rem, 40vw);
}
.hero-copy__logo { position: relative; margin: 0 0 var(--sc-5); width: clamp(160px, 70px + 12vw, 260px); }
.hero-copy__logo img { position: relative; display: block; width: 100%; height: auto; }
/* a soft light behind the logo lifts her pink off the pink wall; it leaves
   with the logo (--halo is driven by the flight) */
.hero-copy__logo::before {
  content: ""; position: absolute; inset: -30% -22%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--sc-canvas) 70%, transparent), color-mix(in oklab, var(--sc-canvas) 30%, transparent) 58%, transparent);
  opacity: var(--halo, 1); pointer-events: none;
}
.hero-copy__kicker {
  margin: 0 0 var(--sc-4);
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400;
}
.hero-copy__title {
  margin: 0;
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(3rem, 1.6rem + 4.2vw, 6.2rem);
  line-height: 0.96; letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-copy__sub {
  margin: var(--sc-5) 0 0; max-width: 30ch;
  font-size: var(--sc-t-base); line-height: 1.55; font-weight: 400;
}

.mirror { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.mirror__win {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0;
  clip-path: inset(0);
}
.mirror__line {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  border: 1px solid color-mix(in oklab, #A0784A 62%, transparent);
  border-bottom: 0;
  opacity: 0; pointer-events: none;
}
/* her monogram in gold, set into the top of the arch like a maker's mark */
.mirror__firma {
  position: absolute; left: 50%; top: -0.5px; translate: -50% -50%;
  width: 52px; height: 35px; padding: 0 10px; background: var(--sc-canvas);
}
.mirror__firma::before {
  content: ""; position: absolute; inset: 0 10px;
  background: linear-gradient(160deg, #D2B07A 0%, #A57C48 52%, #8B6536 100%);
  -webkit-mask: url(/assets/logo-mono.png) center / contain no-repeat;
          mask: url(/assets/logo-mono.png) center / contain no-repeat;
}
.cam {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0; will-change: transform;
}
.cam .look { display: block; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
/* only while the portrait dissolves into the clip: soft side edges, so the
   crossfade never shows a seam where the 4K frame ends */
.cam.is-feather {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fe), #000 calc(100% - var(--fe)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fe), #000 calc(100% - var(--fe)), transparent 100%);
}
.brush { position: absolute; inset: 0; visibility: hidden; }
.brush.is-on { visibility: visible; }
.brush .cam .look { background: transparent; }

/* hotspots live in image space, so they ride the camera; --inv keeps them a
   constant size on screen at any zoom */
.spots { position: absolute; inset: 0; }
.spot {
  position: absolute; left: var(--x); top: var(--y);
  width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  transform: scale(var(--inv, 1)); transform-origin: 50% 50%;
  pointer-events: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 320ms var(--sc-ease-out), visibility 0s linear 320ms;
}
.mirror.spots-on .spot { opacity: 1; visibility: visible; transition: opacity 420ms var(--sc-ease-out), visibility 0s; }
.spot::before, .spot::after {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  translate: -50% -50%;
}
.spot::before { width: 10px; height: 10px; background: #fff; box-shadow: 0 1px 4px rgb(63 42 38 / 0.35); }
.spot::after { width: 30px; height: 30px; border: 1px solid rgb(255 255 255 / 0.85); animation: kb-breathe 2.8s var(--sc-ease-in-out) infinite; }
@keyframes kb-breathe { 0%, 100% { scale: 0.8; opacity: 0.9; } 50% { scale: 1.12; opacity: 0.35; } }
.spot span {
  position: absolute; left: 36px; top: 50%; translate: 0 -50%;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  background: color-mix(in oklab, var(--sc-canvas) 92%, transparent); color: var(--sc-ink);
  font-size: 0.8rem; letter-spacing: 0.06em; white-space: nowrap; box-shadow: var(--sc-e1);
  opacity: 0; translate: -4px -50%;
  transition: opacity var(--sc-d-fast) var(--sc-ease-out), translate var(--sc-d-fast) var(--sc-ease-out);
  pointer-events: none;
}
.spot[data-side="l"] span { left: auto; right: 36px; }
.spot:focus-visible { outline-offset: 0; border-radius: 50%; }
.spot:focus-visible span, .mirror.labels-on .spot span { opacity: 1; translate: 0 -50%; }
@media (hover: hover) and (pointer: fine) { .spot:hover span { opacity: 1; translate: 0 -50%; } }

/* panel: left column on desktop, under the mirror on phones */
.panel {
  position: absolute; z-index: 20;
  left: var(--sc-gutter); top: 50%;
  width: min(29rem, var(--colw, 40vw));
  translate: 0 -54%;
  opacity: 0; visibility: hidden;
  transition: opacity 360ms var(--sc-ease-out), visibility 0s linear 360ms;
}
.panel.is-on { opacity: 1; visibility: visible; transition: opacity 420ms var(--sc-ease-out), visibility 0s; }
.panel > div { animation: kb-in 520ms var(--sc-ease-out) both; }
@keyframes kb-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.panel__kicker {
  margin: 0 0 var(--sc-3);
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; color: var(--sc-ink-soft);
}
.panel__title {
  margin: 0;
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.3rem, 1.3rem + 2.6vw, 4rem);
  line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance;
}
.panel__lede {
  margin: var(--sc-4) 0 0;
  font-family: var(--sc-font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.25;
}
.panel__text { margin: var(--sc-4) 0 0; max-width: 40ch; color: var(--sc-ink-soft); line-height: 1.6; text-wrap: pretty; }
.panel__detail {
  margin: var(--sc-4) 0 0; padding-top: var(--sc-4); border-top: 1px solid var(--kb-hair);
  max-width: 40ch; line-height: 1.55;
}
.panel__detail b { font-weight: 500; }
.panel__ideal { margin: var(--sc-5) 0 0; font-size: 0.92rem; line-height: 1.5; }
.panel__ideal span:first-child {
  display: block; margin-bottom: var(--sc-1);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.panel__zones { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: var(--sc-5); }
.panel__zones button {
  min-height: 36px; padding: 0.35rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--kb-hair); background: transparent; color: var(--sc-ink);
  font-size: 0.84rem; letter-spacing: 0.02em; cursor: pointer;
  transition: background-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out), border-color var(--sc-d-fast) var(--sc-ease-out);
}
.panel__zones button[aria-pressed="true"] { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--sc-canvas); }
@media (hover: hover) and (pointer: fine) { .panel__zones button[aria-pressed="false"]:hover { border-color: var(--sc-ink-soft); } }
.panel__back {
  margin-top: var(--sc-3); padding: 0.5rem 0; border: 0; background: none; cursor: pointer;
  font-size: 0.9rem; letter-spacing: 0.04em; color: var(--sc-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}

.palette {
  position: absolute; z-index: 21;
  left: var(--sc-gutter); bottom: clamp(1.5rem, 6vh, 4rem);
  width: min(42rem, var(--colw, 46vw));
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  opacity: 0; visibility: hidden;
  transition: opacity 360ms var(--sc-ease-out), visibility 0s linear 360ms;
}
.palette.is-on { opacity: 1; visibility: visible; transition: opacity 420ms var(--sc-ease-out), visibility 0s; }
.chip {
  display: inline-flex; align-items: center; gap: 0.42rem;
  padding: 0.45rem 0.8rem 0.45rem 0.5rem; min-height: 40px;
  border: 1px solid var(--kb-hair); border-radius: 999px;
  background: color-mix(in oklab, var(--sc-canvas) 80%, transparent);
  font-size: 0.86rem; letter-spacing: 0.02em; color: var(--sc-ink); cursor: pointer;
  transition: background-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out), border-color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(63 42 38 / 0.15); }
.chip[aria-pressed="true"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.chip[aria-pressed="true"] i { box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9); }
.chip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip[aria-pressed="false"]:hover { border-color: var(--sc-ink-soft); } }

/* ------------------------------------------------------------- about ---- */
.about { padding-block: clamp(5rem, 11vw, 10rem); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.about__media { margin: 0; border-radius: 999px 999px var(--kb-r-lg) var(--kb-r-lg); overflow: hidden; box-shadow: var(--sc-e2); }
.about__media img { width: 100%; height: auto; aspect-ratio: 1600 / 1986; object-fit: cover; }
.about__kicker { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 400; margin: 0; }
.about__title {
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.4rem, 1.5rem + 2.8vw, 4.4rem); line-height: 0.98; letter-spacing: -0.012em;
  margin: var(--sc-4) 0 0 !important; text-wrap: balance;
}
.about__lede {
  font-family: var(--sc-font-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); line-height: 1.3;
  margin: var(--sc-5) 0 0 !important; max-width: 34ch;
}
.about__text { color: var(--sc-ink-soft); max-width: 46ch; margin: var(--sc-4) 0 0; line-height: 1.65; }
.about__list {
  list-style: none; padding: 0; margin: var(--sc-6) 0 0 !important;
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; max-width: 34rem;
}
.about__list li { font-size: 0.95rem; letter-spacing: 0.02em; position: relative; padding-left: 0.9rem; }
.about__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--sc-accent); }
.link {
  display: inline-block; margin-top: var(--sc-6) !important;
  font-size: 0.98rem; letter-spacing: 0.03em; color: var(--sc-ink); text-decoration: none;
  padding-bottom: 0.2rem; border-bottom: 1px solid var(--sc-accent);
  transition: color var(--sc-d-fast) var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--sc-accent); } }

/* ------------------------------------------------------------- curso ---- */
.curso__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(270deg, color-mix(in oklab, var(--sc-canvas) 72%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 30%, transparent) 34%, transparent 52%);
}
.curso__copy {
  position: absolute; z-index: 20;
  right: var(--sc-gutter); top: 50%; translate: 0 -50%;
  width: min(27rem, 34vw);
}
.curso__kicker { margin: 0 0 var(--sc-4); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; }
.curso__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.4rem, 1.4rem + 2.8vw, 4.4rem); line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance;
}
.curso__text { margin: var(--sc-5) 0 0; line-height: 1.6; font-weight: 400; max-width: 36ch; }

/* -------------------------------------------------------------- cita ---- */
.cita__stage { display: flex; flex-direction: column; min-height: calc(100svh - 7rem); padding: calc(var(--kb-bar) + 4vh) var(--sc-gutter) 6vh; background: var(--sc-canvas); }
.cita__inner {
  flex: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  width: 100%; max-width: 70rem; margin: 0 auto;
}
.cita__look { display: flex; justify-content: center; }
.cita__thumb {
  width: min(100%, 22rem); aspect-ratio: 0.76;
  border-radius: 999px 999px var(--kb-r-lg) var(--kb-r-lg); overflow: hidden;
  box-shadow: var(--sc-e3); background: var(--kb-wall);
}
.cita__img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 22%; transform: scale(1.45); transform-origin: 44% 26%; transition: opacity 300ms var(--sc-ease-out); }
.cita__card {
  background: var(--sc-surface); border-radius: var(--kb-r-lg);
  padding: clamp(1.6rem, 3vw, 2.8rem); box-shadow: var(--sc-edge), var(--sc-e2);
}
.cita__title { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.8rem); line-height: 1; letter-spacing: -0.012em; }
.cita__lede { margin: var(--sc-3) 0 var(--sc-5); color: var(--sc-ink-soft); max-width: 40ch; line-height: 1.55; }
.field { display: grid; gap: 0.35rem; margin-bottom: var(--sc-4); }
.field label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400; }
.field label span { text-transform: none; letter-spacing: 0.02em; color: var(--sc-ink-soft); }
.field :is(select, input) {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 48px; padding: 0.7rem 1rem;
  border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); border-radius: 12px;
  background: var(--sc-canvas); color: var(--sc-ink); font-weight: 400; font-size: 1rem;
  transition: border-color var(--sc-d-fast) var(--sc-ease-out);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--sc-ink) 50%), linear-gradient(135deg, var(--sc-ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.6rem;
}
.field :is(select, input):focus-visible { border-color: var(--sc-accent); outline-offset: 2px; }
.cta { min-height: 54px; padding: 0 1.8rem; font-size: 1.02rem; box-shadow: var(--sc-e2); }
.cita__card .cta { width: 100%; margin-top: var(--sc-3); }
.cita__note { margin: var(--sc-3) 0 0; font-size: 0.84rem; color: var(--sc-ink-soft); text-align: center; }
/* ------------------------------------------------------------ footer ---- */
.foot {
  width: calc(min(100%, var(--sc-maxw)) - 2 * var(--sc-gutter)); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 max(var(--sc-5), env(safe-area-inset-bottom));
  border-top: 1px solid var(--kb-hair);
}
.foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sc-6); align-items: start;
}
.foot__marca { display: inline-block; justify-self: start; }
.foot__logo { display: block; width: min(100%, 15rem); height: auto; }
.foot__titulo {
  margin: 0 0 var(--sc-4); font-family: var(--sc-font-text); font-weight: 400;
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.foot__menu ul { list-style: none; margin: 0; padding: 0; display: grid; justify-items: start; }
.foot__menu a {
  display: inline-block; padding: 0.3rem 0;
  font-family: var(--sc-font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2;
  color: var(--sc-ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 88% / 0 1px no-repeat;
  transition: background-size var(--sc-d-base) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out);
}
.foot__menu a[aria-current="page"] { background-size: 100% 1px; }
@media (hover: hover) and (pointer: fine) { .foot__menu a:hover { background-size: 100% 1px; color: var(--sc-accent); } }
.foot__contacto p { margin: 0 0 0.45rem; font-size: 0.95rem; line-height: 1.5; }
.foot__contacto a { color: var(--sc-ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot__contacto a:hover { color: var(--sc-accent); text-decoration: underline; } }
.foot__legal {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding-top: var(--sc-4); border-top: 1px solid var(--kb-hair);
  font-size: 0.8rem; letter-spacing: 0.02em; color: var(--sc-ink-soft);
}
.foot__redes { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.5rem; }
.foot__redes a {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  color: var(--sc-ink); border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent);
  transition: color var(--sc-d-fast) var(--sc-ease-out), border-color var(--sc-d-fast) var(--sc-ease-out);
}
.foot__redes .ico { width: 21px; height: 21px; }
@media (hover: hover) and (pointer: fine) { .foot__redes a:hover { color: var(--sc-accent); border-color: var(--sc-accent); } }

@media (min-width: 861px) and (max-width: 1080px) {
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__marca { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------- menu ---- */
/* the three lines: phones only; on a computer the section links sit in the bar */
.bar__menu {
  display: none; position: relative; flex: none; width: 44px; height: 44px; margin-right: -11px; padding: 0;
  border: 0; background: none; color: var(--sc-ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bar__menu i {
  position: absolute; left: 11px; top: 15px; width: 22px; height: 1.5px; border-radius: 1px; background: currentColor;
  transition: transform 420ms var(--sc-ease-out), opacity 220ms var(--sc-ease-out);
}
.bar__menu i:nth-child(2) { top: 21.25px; }
.bar__menu i:nth-child(3) { top: 27.5px; }
.bar__menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.bar__menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.bar__menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

.menu {
  display: none; position: fixed; inset: 0; z-index: calc(var(--sc-z-chrome) - 1);
  background: var(--sc-canvas);
  padding: calc(var(--kb-bar) + 1.25rem) var(--sc-gutter) max(1.5rem, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path 420ms var(--sc-ease-out), visibility 0s linear 420ms;
}
html.menu-abierto .menu { visibility: visible; clip-path: inset(0); transition: clip-path 560ms var(--sc-ease-out), visibility 0s; }
.menu__inner { display: flex; flex-direction: column; gap: var(--sc-6); min-height: 100%; max-width: 34rem; }
.menu__lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--kb-hair); }
.menu__lista li { border-bottom: 1px solid var(--kb-hair); }
.menu__lista a {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sc-4);
  padding: 0.95rem 0 0.85rem; text-decoration: none; color: var(--sc-ink);
  font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2.1rem, 9.5vw, 2.7rem); line-height: 1;
}
.menu__lista small { font-family: var(--sc-font-text); font-size: 0.76rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft); }
.menu__lista a[aria-current="page"] { color: var(--sc-accent); }
.menu__lista a:active { color: var(--sc-accent); }
.menu__cta { width: 100%; min-height: 56px; box-shadow: var(--sc-e2); }
.menu__pie { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sc-4); flex-wrap: wrap; }
.menu__pie p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--sc-ink-soft); }
.menu__pie p a { color: var(--sc-ink); text-decoration: none; }
/* each row rises in after the curtain */
.menu__lista li, .menu__cta, .menu__pie { opacity: 0; translate: 0 14px; transition: opacity 200ms var(--sc-ease-out), translate 200ms var(--sc-ease-out); }
html.menu-abierto :is(.menu__lista li, .menu__cta, .menu__pie) {
  opacity: 1; translate: 0 0;
  transition: opacity 480ms var(--sc-ease-out) calc(140ms + var(--i) * 55ms), translate 620ms var(--sc-ease-out) calc(140ms + var(--i) * 55ms);
}
/* while it is open the bar is solid, the logo sits in it, and the page holds still */
html.menu-abierto, html.menu-abierto body { overflow: hidden; }
html.menu-abierto .bar { background: var(--sc-canvas); box-shadow: 0 1px 0 var(--kb-hair); }
html.menu-abierto .bar__cta { opacity: 0; pointer-events: none; }
html.menu-abierto .lipcue { opacity: 0; }
html.menu-abierto .bar__mono { transform: none !important; opacity: 1 !important; }
html.menu-abierto .bar__lockup { opacity: 1 !important; }
html.menu-abierto .bar__letras { opacity: 0 !important; }
html:is(.menu-abierto, .menu-cerrando) .bar__mono { transition: transform 520ms var(--sc-ease-out); }
html:is(.menu-abierto, .menu-cerrando) :is(.bar__lockup, .bar__letras, .bar__cta) { transition: opacity 360ms var(--sc-ease-out); }
/* leaving through a menu link: the view transition does the fading */
html.menu-sin-anim :is(.menu, .menu *, .bar, .bar__mono, .bar__lockup, .bar__letras, .bar__cta, .bar__menu i, .lipcue) { transition: none !important; }

/* ------------------------------------------------------------ phones ---- */
/* narrow phones (360–380): the bar still has to hold the logo, the booking
   button and the three lines on one row */
@media (max-width: 380px) {
  .bar__mono { height: 30px !important; }
  .bar__name { letter-spacing: 0.12em !important; }
  .bar__sub { letter-spacing: 0.3em !important; }
  .bar__cta { font-size: 0.8rem !important; padding: 0.55rem 0.8rem !important; }
}
/* the smallest phones keep the monogram alone */
@media (max-width: 340px) {
  .bar__lockup { display: none; }
}
@media (max-width: 860px) {
  .bar__menu { display: block; }
  .menu { display: block; }
  :root { --kb-bar: 56px; }
  .bar { gap: 0.4rem; }
  .bar__nav { display: none; }
  .bar__mark { gap: 0.5rem; }
  .bar__mono { height: 32px; }
  .bar__lockup { gap: 0.22rem; }
  .bar__name { font-size: 0.74rem; letter-spacing: 0.16em; }
  .bar__sub { font-size: 0.47rem; letter-spacing: 0.4em; }
  .mirror__firma { width: 36px; height: 24px; padding: 0 7px; }
  .mirror__firma::before { inset: 0 7px; }
  .bar__cta { font-size: 0.84rem; padding: 0.58rem 0.95rem; }
  .bar__cta .ico { display: none; }

  .hero-copy { top: auto; bottom: max(2.2rem, 5svh); left: var(--sc-gutter); right: var(--sc-gutter); max-width: none; translate: none; }
  .hero-copy__kicker { display: none; }
  .hero-copy__logo { width: clamp(118px, 17svh, 150px); margin-bottom: var(--sc-4); }
  .hero-media::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, color-mix(in oklab, var(--sc-canvas) 90%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 70%, transparent) 26%, transparent 50%);
  }
  .hero-copy__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero-copy__sub { font-size: 0.98rem; max-width: 30ch; }
  .hero-copy__kicker { margin-bottom: var(--sc-3); }

  .panel { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: var(--panel-top, 64%); translate: none; }
  .panel__title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .panel__lede { font-size: 1.12rem; margin-top: var(--sc-2); }
  .panel__text { font-size: 0.95rem; margin-top: var(--sc-2); }
  .panel__detail { font-size: 0.95rem; margin-top: var(--sc-3); padding-top: var(--sc-3); }
  .panel__ideal { display: none; }
  .panel__look .panel__text { display: none; }
  .cta--look { margin-top: var(--sc-4); min-height: 46px; padding: 0 1.3rem; font-size: 0.95rem; }
  .hero-copy__actions { margin-top: var(--sc-5); gap: var(--sc-3) var(--sc-5); }
  .cta--hero { min-height: 52px; padding: 0 1.5rem; font-size: 1rem; }
  .lipcue { right: 5px; gap: 6px; }
  .lipcue__track { height: 28svh; width: 16px; }
  .lipcue__track::before { left: 7px; }
  .lipcue__line { left: 6px; width: 3px; }
  .lipcue__stick { left: 0; scale: 0.7; }
  .lipcue__label { font-size: 0.6rem; letter-spacing: 0.28em; }
  .panel__zone .panel__text { display: none; }
  .panel__zones { margin-top: var(--sc-3); gap: 0.3rem; }
  .panel__zones button { min-height: 34px; padding: 0.3rem 0.7rem; font-size: 0.8rem; }
  .panel__text, .panel__detail { font-size: 0.92rem; line-height: 1.5; }
  .panel__back { margin-top: var(--sc-2); }
  .panel__kicker { margin-bottom: var(--sc-2); }

  .palette {
    left: 0; right: 0; width: auto; bottom: max(0.8rem, env(safe-area-inset-bottom));
    flex-wrap: nowrap; overflow-x: auto; padding-inline: var(--sc-gutter);
    scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .palette::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 24rem; }

  .curso__veil { background: linear-gradient(0deg, color-mix(in oklab, var(--sc-canvas) 88%, transparent) 0%, color-mix(in oklab, var(--sc-canvas) 62%, transparent) 30%, transparent 55%); }
  .curso__copy { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: auto; bottom: max(2rem, 5vh); translate: none; }

  .cita__stage { padding-top: calc(var(--kb-bar) + 1rem); }
  .cita__inner { grid-template-columns: 1fr; gap: var(--sc-5); align-content: start; }
  .cita__look { display: none; }
  .cita__card { padding: 1.4rem; }
  /* phones: logo, profiles, contact, then the menu in large type */
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sc-6); }
  .foot__logo { width: 11.5rem; }
  .foot__sociales { order: 1; }
  .foot__contacto { order: 2; }
  .foot__menu { order: 3; }
  .foot__menu a { font-size: 1.9rem; padding: 0.35rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .spot::after { animation: none; }
  .panel > div { animation: none; }
}

/* =========================================================== sections == */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#contenido:focus { outline: none; }
.bar__nav a[aria-current="page"] { background-size: 100% 1px; }

/* sections open in place: the bar and the lipstick stay, the page crossfades */
.bar { view-transition-name: barra; }
.lipcue { view-transition-name: labial; transition: opacity 300ms var(--sc-ease-out); }
.lipcue.is-off { opacity: 0; visibility: hidden; }
::view-transition-old(root) { animation: kb-vt-out 240ms var(--sc-ease-out) both; }
::view-transition-new(root) { animation: kb-vt-in 620ms var(--sc-ease-out) 70ms both; }
@keyframes kb-vt-out { to { opacity: 0; } }
@keyframes kb-vt-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* inicio: the index of sections after the mirror */
.secciones { padding: clamp(5rem, 10vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem); }
.secciones__titulo {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem); max-width: 16ch;
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.3rem, 1.4rem + 2.6vw, 4rem); line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance;
}
.secciones__lista {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.2rem);
}
.tile { display: flex; flex-direction: column; gap: 0.35rem; text-decoration: none; color: var(--sc-ink); }
.tile__foto {
  display: block; aspect-ratio: 3 / 4; margin-bottom: 0.7rem; overflow: hidden;
  border-radius: 999px 999px var(--kb-r-lg) var(--kb-r-lg);
  background: var(--kb-wall); box-shadow: var(--sc-e1);
}
.tile__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 24%; transition: transform 700ms var(--sc-ease-out); }
.tile__nombre { font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem); line-height: 1.05; }
.tile__texto { font-size: 0.92rem; line-height: 1.45; color: var(--sc-ink-soft); max-width: 24ch; }
.tile__foto--cita { display: flex; align-items: center; justify-content: center; background: var(--sc-accent); color: var(--sc-accent-ink); }
.ico--grande { width: 3.2rem; height: 3.2rem; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile__foto img { transform: scale(1.045); }
  .tile:hover .tile__nombre { color: var(--sc-accent); }
}
.tile:focus-visible { outline-offset: 6px; border-radius: 999px 999px var(--kb-r-lg) var(--kb-r-lg); }

/* looks: the one-screen studio */
.studio__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--sc-canvas); }
.studio .mirror__win { opacity: 1; }
.studio .mirror__line { opacity: 1; }
.studio__nav {
  position: absolute; z-index: 22; top: calc(var(--ay, 50%) + var(--ah, 0px) * 0.5); translate: 0 -50%;
  width: 46px; height: 46px; border-radius: 50%; padding: 0; cursor: pointer; pointer-events: auto;
  border: 1px solid var(--kb-hair); background: color-mix(in oklab, var(--sc-canvas) 88%, transparent); color: var(--sc-ink);
  font-family: var(--sc-font-display); font-size: 1.9rem; line-height: 1; box-shadow: var(--sc-e1);
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.studio__nav span { margin-top: -0.2rem; }
.studio__nav--prev { left: calc(var(--ax, 0px) - 23px); }
.studio__nav--next { left: calc(var(--ax, 0px) + var(--aw, 0px) - 23px); }
.studio__nav:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .studio__nav:hover { background: var(--sc-canvas); } }

/* karina, curso, cita as their own pages */
.about--pagina { padding-top: calc(var(--kb-bar) + clamp(3rem, 7vw, 6rem)); min-height: 100svh; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4) var(--sc-6); margin-top: var(--sc-6) !important; }
.about__actions .link { margin-top: 0 !important; }
.curso-cierre { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.curso-cierre__inner { max-width: 44rem; }
.curso-cierre__titulo { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -0.012em; }
.curso-cierre__texto { margin: var(--sc-4) 0 0; color: var(--sc-ink-soft); line-height: 1.6; max-width: 40ch; }
.curso-cierre__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4) var(--sc-6); margin-top: var(--sc-6); }
.curso-cierre__acciones .link { margin-top: 0 !important; }
/* redes: Instagram and Facebook as quiet outline buttons; the one filled
   button on any screen stays the booking CTA */
.redes { display: flex; flex-wrap: wrap; gap: var(--sc-3); }
.red {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.25rem; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--sc-ink) 24%, transparent);
  color: var(--sc-ink); text-decoration: none; white-space: nowrap;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0.03em;
  transition: color var(--sc-d-fast) var(--sc-ease-out), border-color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.red .ico { width: 1.25em; height: 1.25em; }
.red:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .red:hover { color: var(--sc-accent); border-color: var(--sc-accent); } }
.about__redes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-4); margin-top: var(--sc-5) !important; }
.about__redes-titulo { margin: 0; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-ink-soft); }

/* karina: her bio in her own words. Cormorant carries what she says, Jost the
   detail, and her sign-off is the one place a script face appears */
.bio__titulo { line-height: 1; }
.bio__soy { display: block; font-size: clamp(3rem, 2rem + 3.4vw, 5.2rem); line-height: 0.95; }
.bio__soy em { font-style: italic; font-weight: 400; color: var(--sc-accent); }
.bio__rol {
  display: block; margin-top: var(--sc-3); max-width: 30ch;
  font-size: clamp(1.45rem, 1.15rem + 0.9vw, 2.05rem); line-height: 1.16; letter-spacing: 0;
}
.bio__cita {
  margin: var(--sc-6) 0 0 !important; max-width: 31ch;
  padding-left: 1.25rem; border-left: 1px solid var(--sc-accent);
  font-family: var(--sc-font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); line-height: 1.32;
}
.bio__texto, .forma__texto { max-width: 46ch; font-size: 1.05rem; line-height: 1.72; color: var(--sc-ink-soft); }
.bio__texto { margin: var(--sc-5) 0 0 !important; }
.bio__diploma {
  display: flex; align-items: flex-start; gap: var(--sc-4);
  max-width: 34rem; margin-top: var(--sc-6) !important; padding: var(--sc-5);
  background: var(--sc-surface); border-radius: var(--kb-r-lg);
}
.bio__diploma .ico { width: 2.1rem; height: 2.1rem; color: #8B6536; }
.bio__diploma p { margin: 0; font-size: 0.98rem; line-height: 1.62; color: var(--sc-ink); }
.bio__diploma strong { font-weight: 500; }

.forma { background: var(--sc-surface); padding-block: clamp(4.5rem, 10vw, 9rem); }
.forma__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: start;
}
.forma__foto {
  margin: var(--sc-7) 0 0; overflow: hidden; border-radius: var(--kb-r-lg); box-shadow: var(--sc-e2);
  aspect-ratio: 1 / 1.08; max-width: 30rem;
}
.forma__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.forma__lema {
  margin: var(--sc-4) 0 0; max-width: 12ch; text-wrap: balance;
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4.4rem); line-height: 0.98; letter-spacing: -0.012em;
}
.forma__intro { margin: 0; font-family: var(--sc-font-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); line-height: 1.3; }
.forma__pasos { list-style: none; padding: 0; margin: var(--sc-5) 0 0; border-top: 1px solid var(--kb-hair); }
/* each step fills in as the reader reaches it (kb.js sets --p, 0 to 1): the
   number takes the rose and a rose line draws over its hairline */
.forma__pasos li {
  --p: 1; position: relative;
  display: grid; grid-template-columns: 3.8rem minmax(0, 1fr); align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--kb-hair);
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.85rem); line-height: 1.18;
}
html.js .forma__pasos li { --p: 0; }
.forma__pasos li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: var(--sc-accent); transform-origin: 0 50%; transform: scaleX(var(--p));
}
.forma__num {
  font-family: var(--sc-font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 1.25rem + 0.9vw, 2.15rem); line-height: 1; letter-spacing: 0.02em;
  color: color-mix(in oklab, var(--sc-accent) calc(var(--p) * 100%), color-mix(in oklab, var(--sc-ink) 20%, var(--sc-surface)));
}
.forma__cuerpo { container-type: inline-size; align-self: center; }
.forma__texto { margin: var(--sc-6) 0 0; }
.firma { display: flex; align-items: center; gap: 1.1rem; margin: var(--sc-6) 0 0; }
.firma__mono {
  position: relative; flex: none; width: 44px; height: 30px; padding-right: 1.1rem; box-sizing: content-box;
  border-right: 1px solid color-mix(in oklab, #8B6536 40%, transparent);
}
.firma__mono::before {
  content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 30px;
  background: linear-gradient(160deg, #D2B07A 0%, #A57C48 52%, #8B6536 100%);
  -webkit-mask: url(/assets/logo-mono.png) center / contain no-repeat;
          mask: url(/assets/logo-mono.png) center / contain no-repeat;
}
.firma__nombre { font-family: "Pinyon Script", var(--sc-font-display); font-size: clamp(1.7rem, 1rem + 2vw, 3.1rem); font-size: clamp(1.6rem, (100cqi - 80px) / 9.2, 3.1rem); line-height: 1.25; color: var(--sc-accent); white-space: nowrap; }

.bio-cierre { padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem); text-align: center; }
.bio-cierre__inner { display: flex; flex-direction: column; align-items: center; }
.bio-cierre__titulo {
  margin: 0; max-width: 16ch; text-wrap: balance;
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1.02; letter-spacing: -0.012em;
}
.bio-cierre__lista { justify-content: center; max-width: 52rem; margin-inline: auto !important; }
.bio-cierre .about__actions, .bio-cierre .about__redes { justify-content: center; }
.cita__redes { margin-top: var(--sc-5); padding-top: var(--sc-4); border-top: 1px solid var(--kb-hair); text-align: center; }
.cita__redes p { margin: 0 0 var(--sc-3); font-size: 0.84rem; color: var(--sc-ink-soft); }
.cita__redes .redes { justify-content: center; }
.secciones__redes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4) var(--sc-5); margin-top: clamp(2.5rem, 5vw, 4rem); }
.secciones__redes p { margin: 0; font-family: var(--sc-font-display); font-style: italic; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); }
.cita__img.is-curso { transform: none; object-position: 50% 30%; }
.nada { min-height: 70svh; display: flex; align-items: center; padding: calc(var(--kb-bar) + 3rem) 0 3rem; }

@media (max-width: 860px) {
  .secciones__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile__texto { font-size: 0.85rem; }
  .studio__nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .studio__nav--prev { left: calc(var(--ax, 0px) - 16px); }
  .studio__nav--next { left: calc(var(--ax, 0px) + var(--aw, 0px) - 24px); }
  .about--pagina { padding-top: calc(var(--kb-bar) + 2rem); }
  .forma__grid { grid-template-columns: 1fr; gap: var(--sc-6); }
  .forma__foto { margin-top: var(--sc-5); aspect-ratio: 4 / 4.3; max-width: none; }
  .forma__pasos li { grid-template-columns: 3rem minmax(0, 1fr); }
  .bio__diploma { padding: var(--sc-4) var(--sc-5); }
  .bio__rol { max-width: none; }
  .firma { gap: 0.8rem; }
  .firma__mono { width: 36px; height: 24px; padding-right: 0.8rem; }
  .firma__mono::before { width: 36px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .tile__foto img { transition: none; }
}
