:root {
  /* Alias históricos del Brand Kit. Los valores de marca viven en
     iron-tokens.css; aquí solo permanecen nombres y medidas editoriales. */
  --petrol: var(--ic-color-petrol);
  --petrol-700: var(--ic-color-petrol-700);
  --petrol-950: var(--ic-color-petrol-950);
  --cream: var(--ic-color-cream);
  --cream-2: #f1e7d8;
  --paper: var(--ic-color-paper);
  --sage: var(--ic-color-sage);
  --mustard: var(--ic-color-mustard);
  --coral: var(--ic-color-coral);
  --coral-dark: var(--ic-color-coral-700);
  --coral-action: var(--ic-color-coral-action);
  --charcoal: var(--ic-color-charcoal);
  --divider: var(--ic-color-divider);
  --white: var(--ic-color-white);
  --display: var(--ic-font-display);
  --body: var(--ic-font-body);
  --mono: var(--ic-font-mono);
  --pad: clamp(20px, 4.75vw, 76px);
  --section-y: clamp(76px, 7.8vw, 100px);
  --line: rgb(46 93 99 / 0.16);
  --ease: var(--ic-ease-soft);
}

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

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--petrol-950);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  cursor: default;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

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

figure,
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button,
a[href] {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mustard);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--mustard);
  color: var(--petrol-950);
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mono,
.chapter-kicker,
.chapter-top,
.kit-index,
.kit-hero__label,
.kit-hero__links,
.kit-hero__scroll {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.kit-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #101313;
  color: var(--cream);
}

.kit-hero::before,
.kit-hero::after {
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  height: 36%;
  content: "";
  pointer-events: none;
}

.kit-hero::before {
  top: 0;
  background: linear-gradient(180deg, rgb(6 8 8 / 0.88), transparent);
}

.kit-hero::after {
  bottom: 0;
  background: linear-gradient(0deg, rgb(6 8 8 / 0.94), transparent);
}

.kit-hero__fur {
  position: absolute;
  z-index: -3;
  inset: -4%;
  background:
    linear-gradient(rgb(20 27 28 / 0.52), rgb(11 12 12 / 0.72)),
    url("assets/iron-cat/textures/fur-graphite-illustrated.webp") center / cover;
  animation: hero-breathe 20s linear infinite;
  filter: saturate(0.72) contrast(1.02);
  will-change: transform;
}

.kit-hero__grain {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.21;
  background-image: url("assets/iron-cat/textures/paper-grain.svg");
  mix-blend-mode: soft-light;
}

@keyframes hero-breathe {
  0%,
  100% { transform: translate3d(-2.2%, 0, 0) scale(1.105) rotate(-0.18deg); }
  12.5% { transform: translate3d(-1.56%, -0.86%, 0) scale(1.105) rotate(-0.06deg); }
  25% { transform: translate3d(0, -1.2%, 0) scale(1.105) rotate(0.09deg); }
  37.5% { transform: translate3d(1.56%, -0.86%, 0) scale(1.105) rotate(0.2deg); }
  50% { transform: translate3d(2.2%, 0, 0) scale(1.105) rotate(0.18deg); }
  62.5% { transform: translate3d(1.56%, 0.86%, 0) scale(1.105) rotate(0.06deg); }
  75% { transform: translate3d(0, 1.2%, 0) scale(1.105) rotate(-0.09deg); }
  87.5% { transform: translate3d(-1.56%, 0.86%, 0) scale(1.105) rotate(-0.2deg); }
}

.kit-hero__top {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand label"
    "brand links";
  align-items: start;
  padding: 38px var(--pad) 0;
}

.kit-hero__brand {
  grid-area: brand;
  width: clamp(112px, 9vw, 145px);
}

.kit-hero__brand img {
  width: 100%;
  height: auto;
}

.kit-hero__label {
  grid-area: label;
  justify-self: end;
}

.kit-hero__links {
  grid-area: links;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  justify-self: end;
  gap: 3px;
  margin-top: 5px;
  color: rgb(247 239 226 / 0.72);
}

.kit-hero__links a {
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.kit-hero__links a:hover {
  border-color: currentColor;
  color: var(--cream);
}

.kit-hero__title {
  position: absolute;
  top: 25.2svh;
  left: calc(var(--pad) + 10.85vw);
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: clamp(64px, 5.86vw, 75px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.kit-hero__title strong {
  color: inherit;
  font-style: normal;
  font-weight: 400;
}

.kit-hero__claim {
  position: absolute;
  right: clamp(42px, 9.5vw, 164px);
  top: 65.8%;
  font-size: clamp(30px, 3.75vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.16;
  text-align: right;
}

.kit-hero__claim-mobile {
  display: none;
}

.kit-index {
  position: absolute;
  bottom: 112px;
  left: calc(var(--pad) + 10.85vw);
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: rgb(247 239 226 / 0.5);
}

.kit-index a {
  display: grid;
  grid-template-columns: 26px auto;
  gap: 5px;
  width: max-content;
  transition: color 160ms ease, transform 160ms ease;
}

.kit-index a:hover {
  color: var(--cream);
  transform: translateX(4px);
}

.kit-index a[aria-current="true"] {
  color: var(--cream);
}

.kit-index span {
  color: rgb(247 239 226 / 0.3);
}

.kit-hero__actions {
  position: absolute;
  bottom: 22px;
  left: calc(var(--pad) + 10.85vw);
  display: flex;
  gap: 8px;
}

.kit-hero__actions .kit-button {
  min-height: 34px;
  padding-inline: 14px;
  border-radius: 4px;
}

.kit-button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 18px;
  border: 1px solid rgb(46 93 99 / 0.24);
  border-radius: 4px;
  background: var(--petrol-950);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 var(--coral);
  transition: box-shadow 120ms ease-out, color 120ms ease-out, transform 120ms ease-out;
}

.kit-button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -52px 0 var(--coral);
  color: var(--petrol-950);
}

.kit-button--ghost {
  background: transparent;
  color: var(--petrol-950);
}

.kit-button--outline-dark {
  border-color: rgb(247 239 226 / 0.26);
  background: rgb(8 12 12 / 0.32);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

.kit-hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: 20px;
  color: rgb(247 239 226 / 0.46);
}

.kit-hero__scroll span {
  display: inline-block;
  margin-left: 5px;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

.chapter {
  padding: var(--section-y) var(--pad);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.chapter--alt {
  background: var(--cream-2);
}

.chapter--tokens {
  padding-bottom: clamp(100px, 12vw, 180px);
}

.chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) auto minmax(160px, 4fr) auto;
  grid-template-areas:
    "kicker arrows . top"
    "title title . ."
    "lede lede . ."
    "actions actions . .";
  min-height: 348px;
  border-bottom: 1px solid var(--line);
}

.chapter-kicker {
  grid-area: kicker;
  color: var(--ic-color-coral-action);
}

.chapter-arrows {
  grid-area: arrows;
  display: flex;
  align-self: start;
}

.chapter-arrows a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  color: rgb(25 60 67 / 0.62);
  font-family: var(--mono);
  font-size: 12px;
}

.chapter-arrows a + a {
  margin-left: -1px;
}

.chapter-arrows a:hover {
  z-index: 1;
  border-color: var(--petrol);
  color: var(--petrol);
}

.chapter-arrows .is-disabled {
  pointer-events: none;
  opacity: 0.28;
}

.chapter-top {
  grid-area: top;
  justify-self: end;
  color: rgb(25 60 67 / 0.58);
}

.chapter-top:hover {
  color: var(--petrol-950);
}

.chapter-title {
  grid-area: title;
  align-self: end;
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(48px, 4.7vw, 60px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.chapter-lede {
  grid-area: lede;
  max-width: 440px;
  margin-top: 16px;
  color: rgb(25 60 67 / 0.76);
  font-size: 16px;
  line-height: 1.4;
}

.chapter-actions {
  grid-area: actions;
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.subsection,
.palette-wrap,
.type-roles,
.type-scale,
.voice-lines,
.voice-principles,
.voice-words,
.photo-categories,
.fur-motion-story,
.motion-notes,
.button-showcase,
.ui-directions,
.token-grid,
.resource-links,
.in-the-wild {
  margin-top: clamp(56px, 5vw, 72px);
}

.subsection--split {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(0, 2.1fr);
  gap: clamp(36px, 7vw, 110px);
}

.subsection-copy,
.subsection-intro {
  max-width: 480px;
}

.subsection-copy > p:last-child,
.subsection-intro > p:last-child {
  margin-top: 18px;
  color: rgb(25 60 67 / 0.72);
  line-height: 1.55;
}

.subsection-intro {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  max-width: none;
  gap: clamp(28px, 7vw, 120px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.subsection-intro > p:last-child {
  margin-top: 0;
}

.welcome-lab {
  position: relative;
  z-index: 0;
  min-height: 100svh;
  margin-top: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--cream);
  isolation: isolate;
  transition: background 500ms var(--ease), color 500ms var(--ease);
}

.welcome-lab::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.44;
  background-image: url("assets/iron-cat/textures/paper-grain.svg");
  mix-blend-mode: multiply;
}

.welcome-lab__paint {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.welcome-lab__tails {
  position: absolute;
  z-index: 9;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.welcome-lab__copy {
  position: absolute;
  z-index: auto;
  right: var(--pad);
  bottom: clamp(104px, 14svh, 150px);
  left: var(--pad);
  pointer-events: none;
}

.welcome-lab__copy > span {
  position: relative;
  z-index: 11;
  display: block;
  color: rgb(25 60 67 / 0.48);
  font-size: 10px;
  text-align: left;
}

.welcome-lab__copy > img {
  position: relative;
  z-index: 2;
  width: min(82vw, 1050px);
  height: auto;
  margin: clamp(12px, 1.6vw, 22px) auto 0;
  opacity: 0.12;
}

.welcome-lab__iron {
  position: absolute;
  z-index: 1;
  right: 6%;
  bottom: 4%;
  width: clamp(110px, 18vw, 260px);
  opacity: 0.17;
}

.yarn {
  --yarn: var(--petrol);
  position: absolute;
  z-index: 4;
  width: clamp(88px, 9.0625vw, 116px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  touch-action: pan-y;
  transition:
    left 420ms var(--ease),
    top 420ms var(--ease),
    transform 420ms var(--ease),
    filter 420ms var(--ease);
  animation: yarn-float 6s ease-in-out infinite alternate;
}

.yarn::before {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at 70% 28%, transparent 0 7px, rgb(255 255 255 / 0.23) 8px 10px, transparent 11px 19px),
    repeating-radial-gradient(ellipse at 34% 64%, transparent 0 10px, rgb(0 0 0 / 0.12) 11px 13px, transparent 14px 23px),
    var(--yarn);
  box-shadow: inset -9px -12px 18px rgb(0 0 0 / 0.1);
  content: "";
  transform: rotate(var(--yarn-roll, 0deg));
  will-change: transform;
}

.yarn::after {
  position: absolute;
  right: -18%;
  bottom: 1%;
  width: 66%;
  height: 52%;
  border-right: 3px solid var(--yarn);
  border-bottom: 3px solid var(--yarn);
  border-radius: 0 0 90% 0;
  content: "";
  transform:
    rotate(calc(18deg + var(--thread-angle, 0deg)))
    scaleX(var(--thread-stretch, 1))
    scaleY(var(--thread-sag, 1))
    skewX(var(--thread-flex, 0deg));
  transform-origin: 0 100%;
  transition: opacity 160ms ease;
  will-change: transform;
}

.welcome-lab.has-thread-physics .yarn::after {
  opacity: 0;
}

.yarn:hover,
.yarn:focus-visible {
  filter: saturate(1.2);
  transform: scale(1.08);
}

.yarn:focus-visible {
  outline: none;
}

.yarn:focus-visible::before {
  box-shadow:
    inset -9px -12px 18px rgb(0 0 0 / 0.1),
    0 0 0 3px var(--cream),
    0 0 0 5px var(--mustard);
}

.yarn.is-dragging {
  z-index: 8;
  animation: none;
  filter: saturate(1.12);
  transform: scale(1.04);
}

.yarn--petrol {
  --yarn: var(--petrol);
  top: 13%;
  left: 8%;
}

.yarn--mustard {
  --yarn: var(--mustard);
  top: 12%;
  right: 13%;
  width: clamp(90px, 9.375vw, 120px);
  animation-delay: -2.4s;
}

.yarn--coral {
  --yarn: var(--coral);
  bottom: 13%;
  left: 22%;
  width: clamp(112px, 12.8125vw, 164px);
  animation-delay: -4.1s;
}

.yarn--sage {
  --yarn: var(--sage);
  right: 24%;
  bottom: 10%;
  width: clamp(96px, 10vw, 128px);
  animation-delay: -1.1s;
}

.yarn--cream {
  --yarn: var(--cream);
  top: 36%;
  left: 48%;
  width: clamp(96px, 10.3125vw, 132px);
  border: 1px solid rgb(25 60 67 / 0.16);
  animation-delay: -3.2s;
}

.yarn--charcoal {
  --yarn: var(--charcoal);
  top: 34%;
  right: 5%;
  width: clamp(76px, 7.8125vw, 100px);
  animation-delay: -1.8s;
}

.yarn--petrol-small {
  --yarn: var(--petrol);
  bottom: 4%;
  left: 46%;
  width: clamp(42px, 3.90625vw, 50px);
  animation-delay: -4.8s;
}

.yarn--coral-small {
  --yarn: var(--coral);
  right: 40%;
  bottom: 26%;
  width: clamp(46px, 4.53125vw, 58px);
  animation-delay: -0.6s;
}

.welcome-lab.is-physics .yarn {
  z-index: 10;
  right: auto;
  bottom: auto;
  left: 0;
  top: 0;
  animation: none;
  transform:
    translate3d(var(--yarn-x, 0), var(--yarn-y, 0), 0)
    scale(var(--yarn-scale, 1));
  transition: filter 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}

.welcome-lab.is-physics .yarn:hover,
.welcome-lab.is-physics .yarn:focus-visible {
  --yarn-scale: 1.08;
}

.welcome-lab.is-physics .yarn.is-dragging {
  --yarn-scale: 1.04;
  z-index: 10;
  cursor: grabbing;
}

@keyframes yarn-float {
  from { translate: 0 -4px; rotate: -2deg; }
  to { translate: 5px 7px; rotate: 5deg; }
}

.paw-trail {
  position: absolute;
  z-index: 5;
  display: flex;
  gap: clamp(30px, 5vw, 74px);
  transform: rotate(-18deg);
}

.paw-trail--one {
  top: 23%;
  left: 50%;
}

.paw-trail--two {
  right: 9%;
  bottom: 28%;
  transform: rotate(26deg);
}

.paw-trail i {
  --paw-base-y: 0px;
  --paw-rotation: 8deg;
  position: relative;
  width: clamp(17px, 2vw, 28px);
  height: clamp(21px, 2.4vw, 34px);
  border-radius: 55% 55% 48% 48%;
  background: rgb(46 93 99 / 0.34);
  opacity: var(--paw-opacity, 0);
  transform:
    translateY(calc(var(--paw-base-y) + var(--paw-enter, 10px)))
    rotate(var(--paw-rotation))
    scale(var(--paw-scale, 0.84));
  transform-origin: center;
  will-change: opacity, transform;
}

.paw-trail i:nth-child(even) {
  --paw-base-y: 20px;
  --paw-rotation: -8deg;
}

.paw-trail i::before {
  position: absolute;
  top: -8px;
  left: 1px;
  width: 7px;
  height: 8px;
  border-radius: 50%;
  background: inherit;
  box-shadow: 9px -4px 0 rgb(46 93 99 / 0.34), 18px 0 0 rgb(46 93 99 / 0.34);
  content: "";
}

.welcome-lab[data-scene="sigue"] {
  background: var(--sage);
}

.welcome-lab[data-scene="observa"] {
  background: var(--mustard);
}

.welcome-lab[data-scene="cuida"] {
  background: var(--petrol);
  color: var(--cream);
}

.welcome-lab[data-scene="cuida"] .welcome-lab__copy > span {
  color: rgb(247 239 226 / 0.66);
}

.welcome-lab[data-scene="cuida"] .welcome-lab__copy > img {
  filter: brightness(0) invert(1);
  opacity: 0.11;
}

.welcome-lab[data-scene="cuida"] .welcome-lab__copy em {
  color: var(--mustard);
}

.welcome-lab[data-scene="cuida"] .paw-trail i,
.welcome-lab[data-scene="cuida"] .paw-trail i::before {
  background: rgb(247 239 226 / 0.34);
}

.welcome-lab[data-scene="cuida"] .paw-trail i::before {
  box-shadow: 9px -4px 0 rgb(247 239 226 / 0.34), 18px 0 0 rgb(247 239 226 / 0.34);
}

.welcome-controls {
  position: absolute;
  z-index: 40;
  right: auto;
  bottom: 24px;
  left: var(--pad);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - (2 * var(--pad)));
  margin-top: 0;
}

.welcome-controls > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.welcome-controls button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: rgb(25 60 67 / 0.64);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.welcome-controls button:hover,
.welcome-controls button.is-active {
  border-color: var(--petrol);
  background: var(--petrol);
  color: var(--cream);
}

.chapter--welcome[data-scene="cuida"] .welcome-controls button {
  border-color: rgb(247 239 226 / 0.38);
  color: rgb(247 239 226 / 0.82);
}

.chapter--welcome[data-scene="cuida"] .welcome-controls button:hover,
.chapter--welcome[data-scene="cuida"] .welcome-controls button.is-active {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--petrol-950);
}

.chapter--welcome[data-scene="cuida"] .welcome-controls p {
  color: rgb(247 239 226 / 0.72);
}

.welcome-controls p {
  display: none;
}

.chapter--welcome {
  position: relative;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  border-top: 0;
}

.chapter--welcome .chapter-head {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  min-height: 0;
  padding: clamp(76px, 9svh, 100px) var(--pad) 0;
  border-bottom: 0;
  color: var(--petrol-950);
  pointer-events: none;
  transition: color 350ms var(--ease);
}

.chapter--welcome .chapter-kicker,
.chapter--welcome .chapter-title,
.chapter--welcome .chapter-lede,
.chapter--welcome .welcome-intro {
  pointer-events: auto;
}

.welcome-intro {
  width: min(520px, 44vw);
  padding-bottom: 24px;
}

.chapter--welcome .chapter-title {
  max-width: none;
  margin-top: 28px;
  font-size: clamp(52px, 4.7vw, 64px);
  line-height: 1;
}

.chapter--welcome .chapter-lede {
  max-width: 500px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.5;
}

.chapter--welcome .chapter-lede strong,
.chapter--welcome .chapter-lede span {
  display: block;
}

.chapter--welcome .chapter-lede strong {
  margin-bottom: 7px;
  color: var(--petrol-950);
  font-weight: 600;
}

.chapter--welcome .chapter-lede span {
  color: rgb(25 60 67 / 0.72);
}

.chapter--welcome .chapter-arrows {
  position: absolute;
  top: clamp(76px, 9svh, 100px);
  left: 34.5%;
  pointer-events: auto;
}

.chapter--welcome .chapter-top {
  position: absolute;
  top: clamp(76px, 9svh, 100px);
  right: var(--pad);
  pointer-events: auto;
}

.chapter--welcome[data-scene="cuida"] .chapter-kicker {
  color: var(--mustard);
}

.chapter--welcome[data-scene="cuida"] .chapter-title,
.chapter--welcome[data-scene="cuida"] .chapter-lede strong {
  color: var(--cream);
}

.chapter--welcome[data-scene="cuida"] .chapter-lede span,
.chapter--welcome[data-scene="cuida"] .chapter-top,
.chapter--welcome[data-scene="cuida"] .chapter-arrows a {
  color: rgb(247 239 226 / 0.76);
}

.chapter--welcome[data-scene="cuida"] .chapter-arrows a {
  border-color: rgb(247 239 226 / 0.28);
}

@media (min-width: 769px) {
  .chapter--welcome,
  .chapter--welcome .welcome-lab {
    height: min(100svh, 1000px);
    min-height: 680px;
    max-height: 1000px;
  }
}

.brand-essence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(82px, 9vw, 136px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brand-essence article {
  min-height: 270px;
  padding: clamp(26px, 4vw, 56px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-essence h2 {
  max-width: 15ch;
  margin-top: 48px;
  font-family: var(--display);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-essence article > p {
  max-width: 430px;
  margin-top: 18px;
  color: rgb(25 60 67 / 0.65);
}

.logo-lockups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.logo-card {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 248 238 / 0.6);
}

.logo-card--wide {
  grid-column: auto;
}

.logo-card figcaption {
  color: rgb(25 60 67 / 0.56);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.logo-card img {
  width: 84%;
  max-height: 140px;
  margin: auto;
  object-fit: contain;
}

.logo-card--symbol img,
.logo-card--app img {
  width: 50%;
}

.logo-card--favicon img {
  width: 36px;
  image-rendering: auto;
}

.logo-variants,
.logo-misuse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 30px;
}

.variant {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.variant > img {
  width: 74%;
  height: 190px;
  margin: auto;
  object-fit: contain;
}

.variant figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgb(46 93 99 / 0.13);
  font-size: 12px;
}

.variant figcaption small {
  color: rgb(25 60 67 / 0.6);
  text-align: right;
}

.variant--cream { background: var(--cream); }
.variant--petrol { background: var(--petrol); color: var(--cream); }
.variant--petrol figcaption { border-color: rgb(247 239 226 / 0.16); }
.variant--petrol figcaption small { color: rgb(247 239 226 / 0.6); }
.variant--charcoal { background: var(--charcoal); color: var(--cream); }
.variant--charcoal figcaption { border-color: rgb(247 239 226 / 0.14); }
.variant--charcoal figcaption small { color: rgb(247 239 226 / 0.6); }
.variant--white { background: #fff; }

.logo-misuse figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 248 238 / 0.58);
}

.misuse-sample {
  display: grid;
  height: 150px;
  place-items: center;
  padding: 32px;
}

.misuse-sample img {
  width: 80%;
}

.misuse-sample--stretch img { transform: scaleX(1.42) scaleY(0.7); }
.misuse-sample--shadow img { filter: drop-shadow(6px 8px 6px rgb(25 60 67 / 0.38)); }
.misuse-sample--color img { filter: sepia(1) saturate(7) hue-rotate(285deg); }
.misuse-sample--rotate img { transform: rotate(-12deg); }

.logo-misuse figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: rgb(25 60 67 / 0.68);
  font-size: 12px;
}

.logo-misuse b {
  margin-right: 6px;
  color: var(--coral-dark);
  font-size: 18px;
}

.in-the-wild > .mono {
  display: block;
  margin-bottom: 24px;
}

.hero-application {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  padding: clamp(10px, 1.35vw, 18px);
  border-radius: clamp(18px, 2.2vw, 30px);
  background: var(--cream-2);
  color: var(--cream);
}

.hero-application__stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(14px, 1.8vw, 25px);
  background: var(--petrol-950);
}

.hero-application__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-application__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgb(25 60 67 / 0.94) 0%,
      rgb(25 60 67 / 0.76) 35%,
      rgb(25 60 67 / 0.38) 63%,
      rgb(25 60 67 / 0.68) 100%
    ),
    linear-gradient(0deg, rgb(14 47 53 / 0.52), rgb(46 93 99 / 0.18) 58%, rgb(14 47 53 / 0.2));
}

.hero-application__border {
  position: absolute;
  z-index: 1;
  inset: clamp(11px, 1.25vw, 18px);
  border: 1px solid rgb(247 239 226 / 0.28);
  border-radius: clamp(9px, 1.15vw, 16px);
  pointer-events: none;
}

.hero-application__marks {
  position: absolute;
  z-index: 3;
  top: clamp(23px, 3.4vw, 48px);
  right: clamp(25px, 3.5vw, 50px);
  display: grid;
  grid-template-columns: repeat(2, clamp(16px, 1.8vw, 24px));
  gap: clamp(5px, 0.8vw, 10px);
  color: rgb(242 194 78 / 0.72);
  pointer-events: none;
}

.hero-application__marks i {
  position: relative;
  display: block;
  aspect-ratio: 1;
}

.hero-application__marks i::before,
.hero-application__marks i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.hero-application__marks i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.hero-application__copy {
  position: absolute;
  z-index: 3;
  top: 18.5%;
  left: 5%;
  width: min(48%, 570px);
}

.hero-application__eyebrow {
  color: var(--mustard);
  font-family: var(--mono);
  font-size: clamp(8px, 0.82vw, 12px);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-application__copy h3 {
  margin: clamp(15px, 1.8vw, 24px) 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.7vw, 68px);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.hero-application__copy h3 span {
  color: var(--mustard);
}

.hero-application__subclaim {
  margin-top: clamp(14px, 1.7vw, 23px);
  color: rgb(247 239 226 / 0.9);
  font-size: clamp(11px, 1.12vw, 16px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.hero-application__cta {
  margin-top: clamp(18px, 2.2vw, 30px);
}

.hero-application__signals {
  right: clamp(58px, 8vw, 124px);
  bottom: clamp(112px, 17%, 148px);
  width: clamp(124px, 13vw, 180px);
}

.hero-application__nutrition {
  position: absolute;
  z-index: 3;
  top: 46%;
  left: 61.5%;
  width: clamp(122px, 14vw, 178px);
  color: var(--cream);
  font-size: clamp(9px, 0.86vw, 12px);
}

.hero-application__nutrition > p {
  margin-bottom: clamp(8px, 1vw, 13px);
  font-weight: 500;
}

.hero-application__nutrition dl {
  display: grid;
  gap: clamp(7px, 0.9vw, 12px);
}

.hero-application__nutrition dl > div {
  display: grid;
  gap: clamp(4px, 0.55vw, 7px);
}

.hero-application__nutrition dt {
  color: rgb(247 239 226 / 0.9);
}

.hero-application__nutrition dd {
  height: clamp(4px, 0.45vw, 6px);
  overflow: hidden;
  border-radius: 999px;
  background: rgb(247 239 226 / 0.34);
}

.hero-application__nutrition dd span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--mustard);
}

.hero-application__nutrition .is-low dt {
  color: #ffab9d;
}

.hero-application__nutrition .is-low dd span {
  background: var(--coral);
}

.hero-application__case {
  position: absolute;
  z-index: 3;
  top: 24%;
  right: 5%;
  width: clamp(112px, 13.5vw, 170px);
  color: var(--cream);
}

.hero-application__case > p {
  display: grid;
  gap: clamp(4px, 0.6vw, 8px);
  font-size: clamp(9px, 0.82vw, 12px);
}

.hero-application__case > p strong {
  font-size: clamp(10px, 0.88vw, 13px);
  font-weight: 500;
}

.hero-application__case figure {
  position: relative;
  margin: clamp(10px, 1.2vw, 16px) 0;
  overflow: hidden;
  border-radius: clamp(3px, 0.45vw, 6px);
  box-shadow: 0 20px 44px rgb(14 47 53 / 0.24);
}

.hero-application__case figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgb(242 194 78 / 0.08), rgb(25 60 67 / 0.22));
  content: "";
}

.hero-application__case img {
  width: 100%;
  aspect-ratio: 200 / 280;
  object-fit: cover;
}

.hero-application__proof {
  position: absolute;
  z-index: 3;
  bottom: 5.5%;
  left: 5%;
  display: flex;
  gap: clamp(5px, 0.75vw, 10px);
}

.palette-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.15fr 0.9fr 0.9fr;
  gap: 8px;
  min-height: 610px;
  margin-top: 22px;
}

#color .palette-wrap > .mono,
#color .secondary-palette > .mono {
  height: 12px;
  font-size: 10px;
  line-height: 12px;
}

#color .palette-hint {
  display: none;
}

.swatch-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.swatch-stack--motion {
  grid-template-rows: 1.39fr 1fr;
}

.swatch-stack--tones,
.swatch-stack--accents {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.swatch {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid rgb(25 60 67 / 0.08);
  border-radius: 4px;
  text-align: left;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.swatch:hover {
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgb(25 60 67 / 0.17);
}

.swatch > span {
  max-width: 14ch;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.swatch dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  width: 100%;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.swatch dt {
  opacity: 0.48;
}

.swatch dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.swatch--petrol {
  background: var(--petrol);
  color: var(--cream);
}

.swatch--cream { background: var(--cream); color: var(--petrol-950); }
.swatch--paper { background: var(--paper); color: var(--petrol-950); }
.swatch--cream-soft { background: var(--cream-2); color: var(--petrol-950); }
.swatch--sage { background: var(--sage); color: var(--petrol-950); }
.swatch--mustard { background: var(--mustard); color: var(--petrol-950); }
.swatch--charcoal { background: var(--charcoal); color: var(--cream); }
.swatch--coral { background: var(--coral); color: var(--petrol-950); }

.swatch--cream,
.swatch--paper,
.swatch--cream-soft {
  box-shadow: inset 0 0 0 1px rgb(25 60 67 / 0.12);
}

.swatch--fur-warm,
.swatch--fur-night,
.swatch--fur-taupe {
  position: relative;
  color: var(--cream);
  isolation: isolate;
}

.swatch--fur-warm::before,
.swatch--fur-night::before,
.swatch--fur-taupe::before {
  position: absolute;
  z-index: -2;
  inset: -8%;
  background-position: center;
  background-size: cover;
  animation: fur-surface-breathe 20s linear infinite;
  content: "";
  will-change: transform;
}

.swatch--fur-night::before {
  animation-direction: reverse;
  animation-duration: 23s;
}

.swatch--fur-warm::after,
.swatch--fur-night::after,
.swatch--fur-taupe::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 13 13 / 0.56), transparent 60%, rgb(10 13 13 / 0.25));
  content: "";
}

.swatch--fur-warm::before { background-image: url("assets/iron-cat/textures/fur-golden-illustrated.webp"); }
.swatch--fur-night::before { background-image: url("assets/iron-cat/textures/fur-graphite-illustrated.webp"); }
.swatch--fur-taupe::before {
  background-image: url("assets/iron-cat/textures/fur-taupe-illustrated.webp");
  animation: none;
}

.swatch--fur-motion::before {
  background-position: 54% 46%;
  background-size: 138%;
  animation: palette-fur-motion 14s linear -4s infinite;
  -webkit-mask-image: linear-gradient(112deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 118% 132%;
  mask-image: linear-gradient(112deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 118% 132%;
  opacity: 0.78;
  filter: brightness(1.055) contrast(1.035);
  will-change: transform;
}

.swatch--fur-motion {
  background: url("assets/iron-cat/textures/fur-golden-illustrated.webp") 48% 50% / 132% auto;
}

.swatch-stack--tones .swatch,
.swatch-stack--accents .swatch {
  padding: clamp(12px, 1.4vw, 17px);
}

.swatch-stack--tones .swatch dl,
.swatch-stack--accents .swatch dl {
  gap: 2px 9px;
  font-size: 8px;
}

.palette-hint {
  margin-top: 14px;
  color: rgb(25 60 67 / 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.fur-system__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 30px;
}

.fur-panel {
  --fur-x: 50%;
  --fur-y: 50%;
  position: relative;
  aspect-ratio: 0.78;
  height: auto;
  overflow: hidden;
  border-radius: 4px;
  background-position: var(--fur-x) var(--fur-y);
  background-size: 124%;
  animation: fur-background-drift 20s linear infinite;
  color: var(--cream);
  will-change: background-position;
}

.fur-panel:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 24s;
}

.fur-panel:nth-child(3) {
  animation-duration: 28s;
}

.fur-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(8 10 10 / 0.58), transparent 52%, rgb(8 10 10 / 0.68));
  content: "";
}

.fur-panel > span,
.fur-panel figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  left: 20px;
}

.fur-panel > span {
  top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fur-panel figcaption {
  bottom: 18px;
  font-size: 13px;
}

.fur-panel--graphite { background-image: url("assets/iron-cat/textures/fur-graphite-illustrated.webp"); }
.fur-panel--golden { background-image: url("assets/iron-cat/textures/fur-golden-illustrated.webp"); }
.fur-panel--sand { background-image: url("assets/iron-cat/textures/fur-sand-illustrated.webp"); }
.fur-panel--taupe { background-image: url("assets/iron-cat/textures/fur-taupe-illustrated.webp"); }

.color-wild {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(230px, 24vw, 330px);
  gap: 8px;
}

.color-poster {
  position: relative;
  grid-column: span 2;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.color-poster:nth-child(n + 4) {
  grid-column: span 3;
}

.color-poster--petrol {
  padding: clamp(24px, 3vw, 44px);
  background: var(--petrol);
  color: var(--cream);
}

.color-poster--petrol span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.color-poster--petrol h3 {
  position: absolute;
  right: 26px;
  bottom: 30px;
  left: 26px;
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 70px);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.color-poster--petrol img {
  position: absolute;
  top: 9%;
  right: 9%;
  width: 38%;
  opacity: 0.25;
  filter: brightness(0) invert(1);
}

.color-poster--photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-poster--photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(20 33 34 / 0.64), transparent 58%);
  content: "";
}

.color-poster--photo p,
.color-poster--fur p {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 78px);
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.color-poster--fur {
  background: url("assets/iron-cat/textures/fur-golden-illustrated.webp") center / cover;
  background-size: 124%;
  animation: fur-background-drift 22s linear infinite;
}

.color-poster--fur::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 12 12 / 0.56), transparent 58%, rgb(10 12 12 / 0.66));
  content: "";
}

.color-poster--fur > span {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 22px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.color-poster--app {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
  background: var(--cream-2);
}

.color-poster--app > span,
.color-poster--taupe > span {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.color-poster--app img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgb(25 60 67 / 0.12));
}

.color-poster--taupe {
  background: url("assets/iron-cat/textures/fur-taupe-illustrated.webp") center / cover;
  background-size: 124%;
  animation: fur-background-drift 26s linear infinite reverse;
  color: var(--cream);
}

.color-poster--taupe::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 12 12 / 0.55), transparent 50%, rgb(10 12 12 / 0.62));
  content: "";
}

.color-poster--taupe > p {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.type-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.type-role {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 248 238 / 0.52);
}

.type-role__name {
  margin-top: 28px;
  font-size: clamp(32px, 3.35vw, 46px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.type-role--display .type-role__name {
  font-family: var(--display);
  font-weight: 430;
}

.type-role--mono .type-role__name {
  font-family: var(--mono);
  font-size: clamp(23px, 2.6vw, 36px);
  letter-spacing: -0.06em;
}

.type-role > p:nth-of-type(2) {
  max-width: 43ch;
  margin-top: 14px;
  color: rgb(25 60 67 / 0.65);
}

.type-role > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.type-role > div span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--ic-chip-radius, 2px);
  font-size: 10px;
}

.type-scale > .mono {
  display: block;
  margin-bottom: 24px;
}

.type-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(30px, 3.8vw, 50px) 0;
  border-top: 1px solid var(--line);
}

.type-row:last-child {
  border-bottom: 1px solid var(--line);
}

.type-row > div > p {
  margin-top: 26px;
}

.type-row dl {
  display: grid;
  grid-template-columns: repeat(8, max-content);
  align-content: start;
  gap: 7px 14px;
  font-family: var(--mono);
  font-size: 10px;
}

.type-row dt { color: rgb(25 60 67 / 0.46); }
.type-row dd { margin-right: 10px; text-align: left; }

.type-row--hero > div > p {
  font-family: var(--display);
  font-size: clamp(54px, 7.5vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.type-row--hero em {
  color: var(--coral-dark);
  font-weight: 430;
}

.type-row--section > div > p {
  max-width: 15ch;
  font-family: var(--display);
  font-size: clamp(42px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.type-row--title > div > p {
  max-width: 24ch;
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.type-row--body > div > p {
  max-width: 760px;
  color: rgb(25 60 67 / 0.72);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
}

.type-row--label > div > p {
  font-family: var(--mono);
  font-size: clamp(13px, 1.6vw, 20px);
  letter-spacing: 0.07em;
}

.type-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--petrol);
}

.type-poster > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.72;
}

.type-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(20 42 45 / 0.84), transparent 72%);
  content: "";
}

.type-poster > div {
  position: absolute;
  z-index: 1;
  top: 9%;
  bottom: 9%;
  left: 6%;
  display: flex;
  flex-direction: column;
  color: var(--cream);
}

.type-poster > div > p {
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(58px, 9.3vw, 142px);
  letter-spacing: -0.065em;
  line-height: 0.76;
}

.type-poster em {
  color: var(--mustard);
  font-weight: 430;
}

.voice-lines {
  border-top: 1px solid var(--line);
}

.voice-lines article {
  display: grid;
  grid-template-columns: 0.65fr 1.5fr 1fr;
  align-items: baseline;
  gap: clamp(24px, 5vw, 80px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.voice-lines h3 {
  font-family: var(--display);
  font-size: clamp(29px, 3.7vw, 56px);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 1;
}

.voice-lines article:first-child h3 {
  color: var(--coral-dark);
  font-size: clamp(44px, 5vw, 64px);
}

.voice-lines article > p {
  color: rgb(25 60 67 / 0.62);
}

.voice-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.voice-principles article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voice-principles article > span {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.voice-principles b {
  color: var(--coral-dark);
  font-family: var(--display);
  font-weight: 500;
}

.voice-principles p {
  margin-top: 52px;
  color: rgb(25 60 67 / 0.68);
}

.voice-words {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.voice-words > div {
  min-height: 220px;
  padding: clamp(24px, 4vw, 50px);
  border-radius: 7px;
  background: var(--sage);
}

.voice-words > div + div {
  background: var(--charcoal);
  color: var(--cream);
}

.voice-words p {
  margin-top: 58px;
  font-family: var(--display);
  font-size: clamp(27px, 3.2vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.voice-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--charcoal);
}

.voice-poster > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 60% center;
}

.voice-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(19 33 34 / 0.87), transparent 70%);
  content: "";
}

.voice-poster > div {
  position: absolute;
  z-index: 1;
  top: 8%;
  bottom: 8%;
  left: 5%;
  display: flex;
  max-width: 58%;
  flex-direction: column;
  color: var(--cream);
}

.voice-poster > div > p {
  margin: auto 0 28px;
  font-family: var(--display);
  font-size: clamp(60px, 9.5vw, 148px);
  letter-spacing: -0.065em;
  line-height: 0.76;
}

.voice-poster small {
  max-width: 420px;
  font-size: clamp(14px, 1.35vw, 18px);
}

.photo-categories {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 7.5vw, 96px);
}

.photo-category {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.09fr) minmax(0, 1.09fr);
  gap: 9px;
}

.photo-category__copy {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding-right: clamp(22px, 4vw, 64px);
}

.photo-category__copy > p {
  margin-top: 28px;
  color: rgb(25 60 67 / 0.67);
  line-height: 1.45;
}

.photo-category__copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.photo-category__copy > div span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--ic-chip-radius, 2px);
  font-size: 10px;
}

.photo-category > img,
.photo-signature {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  object-fit: cover;
}

.photo-category:nth-child(2) > img:first-of-type {
  object-position: center;
}

.photo-category:first-child > img:first-of-type {
  object-position: 50% 32%;
}

.photo-category:nth-child(2) > img:last-of-type {
  object-position: 50% 20%;
}

.photo-category:nth-child(3) > img {
  object-position: center 22%;
}

.photo-category:nth-child(4) > img:first-of-type {
  padding: 8px;
  background: var(--paper);
  object-fit: contain;
}

.photo-signature {
  position: relative;
  overflow: hidden;
}

.photo-signature > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-signature > img:last-child {
  position: absolute;
  right: 8%;
  bottom: 7%;
  width: 42%;
  filter: brightness(0) invert(1);
}

.fur-motion-story {
  --fur-motion-progress: 0;
  position: relative;
  width: 100vw;
  height: 100svh;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background: #101313;
}

.fur-motion-story__stage {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #101313;
}

.fur-motion-story__stage::before {
  position: absolute;
  z-index: 0;
  inset: -6%;
  background: url("images/fur-european-dark.webp") center / cover no-repeat;
  animation: fur-surface-breathe 20s linear infinite;
  content: "";
  filter: brightness(1.16) contrast(1.03);
  will-change: transform;
}

.fur-motion-story__canvas,
.fur-motion-story__overlay {
  position: absolute;
  inset: 0;
}

.fur-motion-story__canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}

.fur-motion-story[data-motion-state="ready"] .fur-motion-story__canvas {
  opacity: 1;
}

.fur-motion-story__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.fur-motion-story__overlay {
  z-index: 2;
  background: rgb(5 9 10 / 0.16);
  pointer-events: none;
}

.fur-motion-story__content {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4.75vw, 76px);
  color: var(--cream);
}

.fur-motion-story__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(247 239 226 / 0.28);
}

.fur-motion-story__topline .mono,
.fur-motion-story__copy > .mono,
.fur-motion-story__progress .mono {
  color: rgb(247 239 226 / 0.68);
}

.fur-motion-story__copy {
  width: min(900px, 78vw);
  margin-top: auto;
  padding: clamp(56px, 10vh, 120px) 0 clamp(42px, 7vh, 82px);
}

.fur-motion-story__copy h3 {
  max-width: 850px;
  margin-top: clamp(18px, 2.5vh, 30px);
  font-family: var(--display);
  font-size: clamp(64px, 8.7vw, 140px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.fur-motion-story__copy > p:not(.mono) {
  max-width: 510px;
  margin-top: clamp(28px, 4vh, 46px);
  color: rgb(247 239 226 / 0.78);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.62;
}

.fur-motion-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.fur-motion-story__actions .kit-button {
  min-height: 42px;
  border-color: rgb(247 239 226 / 0.42);
  background: rgb(7 12 12 / 0.24);
  backdrop-filter: blur(8px);
}

.fur-motion-story__progress {
  position: absolute;
  right: clamp(28px, 4.75vw, 76px);
  bottom: clamp(28px, 4.75vw, 76px);
  display: grid;
  grid-template-columns: auto minmax(70px, 9vw) 24px;
  align-items: center;
  gap: 12px;
}

.fur-motion-story__progress i {
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgb(247 239 226 / 0.28);
}

.fur-motion-story__progress b {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--fur-motion-progress));
  transform-origin: left;
  background: var(--mustard);
  will-change: transform;
}

.motion-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.motion-notes article {
  min-height: 180px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.motion-notes article > .mono {
  color: var(--coral-dark);
}

.motion-notes article > p {
  max-width: 300px;
  margin-top: 44px;
  color: rgb(25 60 67 / 0.72);
  line-height: 1.55;
}

.button-showcase > .mono,
.ui-directions > .mono {
  display: block;
  margin-bottom: 24px;
}

.button-showcase__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.button-showcase__grid article {
  display: flex;
  min-width: 0;
  min-height: 140px;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.button-showcase__grid article > span {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
}

.button-showcase__grid article > small {
  margin-top: 4px;
  color: rgb(25 60 67 / 0.55);
  font-size: 10px;
}

.full-button-spec {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.full-button-spec dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 20px;
  align-content: center;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
}

.full-button-spec dt { color: rgb(25 60 67 / 0.48); }
.full-button-spec dd { text-align: right; }

.ui-directions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.health-card,
.health-log {
  min-height: 570px;
  border-radius: 6px;
}

.health-card {
  padding: clamp(24px, 4vw, 52px);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.health-card header,
.health-card header > div {
  display: flex;
  align-items: center;
}

.health-card header {
  justify-content: space-between;
}

.health-card header img {
  width: 50px;
  height: 50px;
  margin-right: 12px;
  border-radius: 50%;
  object-fit: cover;
}

.health-card header span {
  display: flex;
  flex-direction: column;
}

.health-card header small {
  color: rgb(25 60 67 / 0.52);
  font-size: 11px;
}

.health-card header em {
  padding: 5px 9px;
  border-radius: var(--ic-chip-radius, 2px);
  background: var(--sage);
  font-size: 10px;
  font-style: normal;
}

.health-card > p {
  margin-top: 60px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.health-score {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.health-score b {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 430;
  line-height: 1;
}

.health-score b small {
  color: rgb(25 60 67 / 0.45);
  font-family: var(--body);
  font-size: 13px;
}

.health-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  color: rgb(25 60 67 / 0.72);
  font-size: 13px;
}

.health-card li span {
  margin-right: 8px;
  color: var(--mustard);
}

.health-card__action {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-radius: 7px;
  background: var(--coral);
  color: var(--petrol-950);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 140ms ease-out,
    background-color 180ms ease-out,
    color 180ms ease-out;
}

.health-card__action > span {
  transition: transform 180ms ease-out;
}

.health-card__action:hover {
  transform: translateY(-1px);
  background: var(--coral-dark);
  color: var(--cream);
}

.health-card__action:hover > span {
  transform: translateX(4px);
}

.health-card__action:focus-visible {
  outline: 2px solid var(--petrol-950);
  outline-offset: 3px;
}

.health-card__action:active {
  transform: scale(0.99);
}

.health-log {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 52px);
  background: var(--petrol-950);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
}

.health-log header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgb(247 239 226 / 0.16);
  text-transform: uppercase;
}

.health-log header em {
  color: var(--mustard);
  font-style: normal;
}

.health-log > p {
  padding: 17px 0;
  border-bottom: 1px solid rgb(247 239 226 / 0.12);
  color: rgb(247 239 226 / 0.7);
}

.health-log time {
  margin-right: 17px;
  color: rgb(247 239 226 / 0.38);
}

.health-log b,
.health-log p span {
  color: var(--mustard);
  font-weight: 500;
}

.health-log footer {
  margin-top: auto;
  color: rgb(247 239 226 / 0.42);
  text-transform: uppercase;
}

.token-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.token-grid article {
  min-width: 0;
  min-height: 330px;
  padding: clamp(22px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgb(241 231 216 / 0.54);
}

.token-grid h3 {
  margin-bottom: 42px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 430;
}

.token-grid p,
.token-grid button {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
  text-align: left;
}

.token-grid button:hover span {
  color: var(--coral-dark);
}

.token-grid b {
  overflow-wrap: anywhere;
  text-align: right;
}

.resource-links {
  display: flex;
  gap: 8px;
}

.copy-toast {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  padding: 11px 15px;
  transform: translateY(20px);
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.brand-motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 620ms var(--ease) var(--reveal-delay, 0ms),
    transform 760ms var(--ease) var(--reveal-delay, 0ms);
}

.brand-motion-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kit-footer {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream-2);
  color: var(--petrol-950);
}

.kit-footer::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(247 239 226 / 0.2), rgb(247 239 226 / 0.38)),
    rgb(247 239 226 / 0.12);
  content: "";
}

.kit-footer__fur {
  position: absolute;
  z-index: -2;
  inset: -5%;
  background: url("assets/iron-cat/textures/fur-golden-illustrated.webp") center / cover;
  animation: hero-breathe 22s linear infinite reverse;
  will-change: transform;
}

@keyframes fur-surface-breathe {
  0%,
  100% { transform: translate3d(-3.4%, 0, 0) scale(1.13) rotate(-0.28deg); }
  12.5% { transform: translate3d(-2.4%, -1.34%, 0) scale(1.13) rotate(-0.09deg); }
  25% { transform: translate3d(0, -1.9%, 0) scale(1.13) rotate(0.14deg); }
  37.5% { transform: translate3d(2.4%, -1.34%, 0) scale(1.13) rotate(0.3deg); }
  50% { transform: translate3d(3.4%, 0, 0) scale(1.13) rotate(0.28deg); }
  62.5% { transform: translate3d(2.4%, 1.34%, 0) scale(1.13) rotate(0.09deg); }
  75% { transform: translate3d(0, 1.9%, 0) scale(1.13) rotate(-0.14deg); }
  87.5% { transform: translate3d(-2.4%, 1.34%, 0) scale(1.13) rotate(-0.3deg); }
}

@keyframes palette-fur-motion {
  0%,
  100% { transform: translate3d(-5.6%, 0, 0) scale(1.15) rotate(-0.34deg); }
  12.5% { transform: translate3d(-3.96%, -2.33%, 0) scale(1.15) rotate(-0.11deg); }
  25% { transform: translate3d(0, -3.3%, 0) scale(1.15) rotate(0.17deg); }
  37.5% { transform: translate3d(3.96%, -2.33%, 0) scale(1.15) rotate(0.36deg); }
  50% { transform: translate3d(5.6%, 0, 0) scale(1.15) rotate(0.34deg); }
  62.5% { transform: translate3d(3.96%, 2.33%, 0) scale(1.15) rotate(0.11deg); }
  75% { transform: translate3d(0, 3.3%, 0) scale(1.15) rotate(-0.17deg); }
  87.5% { transform: translate3d(-3.96%, 2.33%, 0) scale(1.15) rotate(-0.36deg); }
}

@keyframes fur-background-drift {
  0%,
  100% { background-position: 34% 50%; }
  12.5% { background-position: 38.7% 42.9%; }
  25% { background-position: 50% 40%; }
  37.5% { background-position: 61.3% 42.9%; }
  50% { background-position: 66% 50%; }
  62.5% { background-position: 61.3% 57.1%; }
  75% { background-position: 50% 60%; }
  87.5% { background-position: 38.7% 57.1%; }
}

.kit-footer > img {
  position: absolute;
  top: 50%;
  left: clamp(58px, 8.5vw, 138px);
  width: clamp(170px, 19vw, 280px);
  transform: translateY(-50%);
}

.kit-footer__nav {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.kit-footer__nav a {
  transition: color 120ms ease-out, transform 120ms ease-out;
}

.kit-footer__nav a:hover {
  color: var(--coral-dark);
  transform: translateX(3px);
}

.kit-footer > p {
  position: absolute;
  top: 50%;
  right: clamp(58px, 8.5vw, 138px);
  bottom: auto;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(42px, 4.8vw, 68px);
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-align: right;
}

.kit-footer > p span {
  color: var(--mustard);
}

.kit-footer > div:last-child {
  position: absolute;
  right: var(--pad);
  bottom: 24px;
  left: var(--pad);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgb(25 60 67 / 0.7);
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .kit-hero__title {
    left: var(--pad);
  }

  .kit-index {
    left: var(--pad);
  }

  .kit-hero__actions {
    left: var(--pad);
  }

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

  .logo-card--wide {
    grid-column: auto;
  }

  .palette-grid {
    grid-template-columns: 1.15fr 0.95fr 1.15fr 0.9fr 0.9fr;
    min-height: 610px;
  }

  .swatch--tall {
    grid-row: auto;
  }

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

  .color-wild {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .type-role {
    min-height: 280px;
  }

  .voice-principles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .button-showcase__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .kit-footer > img {
    top: 10%;
    left: 50%;
    width: 174px;
    transform: translateX(-50%);
  }

  .kit-footer__nav {
    top: 42%;
    gap: 17px;
  }

  .kit-footer > p {
    top: auto;
    right: var(--pad);
    bottom: 16%;
    left: var(--pad);
    transform: none;
    font-size: clamp(40px, 7vw, 56px);
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 76px;
  }

  .kit-hero {
    min-height: max(720px, 100svh);
  }

  .kit-hero__top {
    grid-template-columns: 1fr auto;
    padding-top: 20px;
  }

  .kit-hero__label {
    display: block;
  }

  .kit-hero__brand {
    width: 122px;
  }

  .kit-hero__links {
    gap: 2px;
  }

  .kit-hero__title {
    top: 112px;
    font-size: clamp(56px, 15vw, 64px);
    line-height: 0.98;
  }

  .kit-hero__claim {
    top: 45%;
    right: var(--pad);
    font-size: clamp(27px, 8vw, 34px);
  }

  .kit-index {
    right: 0;
    bottom: 104px;
    left: 0;
    flex-direction: row;
    gap: 5px;
    padding: 4px 20px 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .kit-index::-webkit-scrollbar {
    display: none;
  }

  .kit-index a {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgb(247 239 226 / 0.2);
    border-radius: 999px;
    color: rgb(247 239 226 / 0.72);
  }

  .kit-index a:hover {
    transform: none;
  }

  .kit-hero__actions {
    right: var(--pad);
    bottom: 42px;
    left: var(--pad);
  }

  .kit-hero__actions .kit-button {
    width: 50%;
  }

  .kit-hero__scroll {
    display: none;
  }

  .chapter-head {
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "kicker arrows top"
      "title title title"
      "lede lede lede"
      "actions actions actions";
    min-height: 300px;
  }

  .chapter-title {
    margin-top: 38px;
    font-size: clamp(36px, 10.5vw, 42px);
  }

  .chapter-lede {
    margin-top: 22px;
  }

  .subsection--split,
  .subsection-intro {
    grid-template-columns: 1fr;
  }

  .subsection-intro {
    gap: 16px;
  }

  .welcome-lab {
    min-height: max(820px, 100svh);
  }

  .welcome-lab__copy {
    right: 20px;
    bottom: 158px;
    left: 20px;
  }

  .welcome-lab__copy > span {
    max-width: 28ch;
    font-size: 9px;
    line-height: 1.35;
  }

  .welcome-lab__copy > img {
    width: 100%;
    margin-top: 10px;
  }

  .welcome-lab__iron {
    right: 8%;
    bottom: 118px;
    width: 78px;
    opacity: 0.14;
  }

  .yarn--petrol { top: 12%; left: 5%; width: 80px; }
  .yarn--mustard { top: 20%; right: 4%; width: 56px; }
  .yarn--coral { bottom: 12%; left: 9%; width: 68px; }
  .yarn--sage { right: 9%; bottom: 8%; width: 44px; }
  .yarn--cream,
  .yarn--charcoal,
  .yarn--petrol-small,
  .yarn--coral-small { display: none; }
  .paw-trail--one {
    top: clamp(330px, 42%, 390px);
    left: 10%;
  }
  .paw-trail--two { right: 6%; bottom: 30%; }

  .welcome-controls {
    right: var(--pad);
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: auto;
  }

  .welcome-controls > div {
    display: grid;
    width: 100%;
    gap: 5px;
  }

  .welcome-controls__scenes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .welcome-controls button {
    min-height: 44px;
    padding-inline: 8px;
  }

  .welcome-controls p {
    display: none;
  }

  .chapter--welcome,
  .chapter--welcome .welcome-lab {
    min-height: max(820px, 100svh);
  }

  .chapter--welcome .chapter-head {
    padding: 64px 20px 0;
  }

  .welcome-intro {
    width: 100%;
    max-width: 350px;
    padding-bottom: 18px;
  }

  .chapter--welcome .chapter-title {
    max-width: 330px;
    margin-top: 24px;
    font-size: clamp(38px, 11vw, 44px);
  }

  .chapter--welcome .chapter-lede {
    max-width: 335px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
  }

  .chapter--welcome .chapter-arrows {
    top: 64px;
    left: auto;
    right: 74px;
  }

  .chapter--welcome .chapter-top {
    top: 64px;
    right: 20px;
  }

  .brand-essence {
    grid-template-columns: 1fr;
  }

  .brand-essence article {
    min-height: 240px;
  }

  .logo-lockups,
  .logo-variants,
  .logo-misuse,
  .type-roles,
  .fur-system__grid,
  .color-wild,
  .voice-words,
  .photo-category,
  .ui-directions__grid,
  .token-grid {
    grid-template-columns: 1fr;
  }

  .logo-card--wide,
  .fur-panel:last-child,
  .color-poster:last-child {
    grid-column: auto;
  }

  .logo-card {
    min-height: 220px;
  }

  .logo-variants,
  .logo-misuse {
    gap: 10px;
  }

  .variant > img,
  .misuse-sample {
    height: 190px;
  }

  .hero-application {
    height: 520px;
    aspect-ratio: auto;
    min-height: 0;
  }

  .hero-application > p {
    bottom: 20%;
    font-size: clamp(54px, 17vw, 84px);
  }

  .hero-application > small {
    right: auto;
    bottom: 7%;
    left: 5%;
    text-align: left;
  }

  .palette-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .swatch--tall {
    min-height: 320px;
  }

  .swatch-stack {
    min-height: 420px;
  }

  .color-poster,
  .color-poster:nth-child(n + 4),
  .color-poster:last-child {
    grid-column: auto;
    height: 280px;
    min-height: 0;
  }

  .fur-panel,
  .fur-panel:last-child {
    height: 280px;
  }

  .type-role {
    min-height: 300px;
  }

  .type-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .type-row dl {
    max-width: 420px;
    grid-template-columns: auto 1fr;
  }

  .type-poster,
  .voice-poster {
    min-height: 520px;
    aspect-ratio: auto;
  }

  .type-poster > img,
  .voice-poster > img {
    min-height: 520px;
  }

  .voice-lines article {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .voice-principles,
  .button-showcase__grid {
    grid-template-columns: 1fr;
  }

  .voice-principles article {
    min-height: 230px;
  }

  .voice-principles p {
    margin-top: 44px;
  }

  .voice-poster > div {
    max-width: 85%;
  }

  .photo-category {
    gap: 10px;
  }

  .photo-category__copy {
    min-height: 230px;
    padding-right: 0;
  }

  .photo-category > img,
  .photo-signature {
    height: 260px;
    aspect-ratio: auto;
  }

  .fur-motion-story,
  .fur-motion-story__stage {
    min-height: 100svh;
  }

  .fur-motion-story__content {
    padding: 22px var(--pad) 26px;
  }

  .fur-motion-story__topline > span:last-child {
    display: none;
  }

  .fur-motion-story__copy {
    width: 100%;
    padding: 48px 0 72px;
  }

  .fur-motion-story__copy h3 {
    max-width: 94%;
    font-size: clamp(54px, 16vw, 78px);
    line-height: 0.86;
  }

  .fur-motion-story__copy > p:not(.mono) {
    max-width: 92%;
    margin-top: 24px;
    font-size: 14px;
  }

  .fur-motion-story__actions {
    margin-top: 24px;
  }

  .fur-motion-story__actions .kit-button {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 9px;
  }

  .fur-motion-story__progress {
    right: var(--pad);
    bottom: 26px;
    left: var(--pad);
    grid-template-columns: auto 1fr 24px;
  }

  .motion-notes {
    grid-template-columns: 1fr;
  }

  .full-button-spec {
    grid-template-columns: 1fr;
  }

  .health-card,
  .health-log {
    min-height: 540px;
  }

  .resource-links {
    flex-direction: column;
  }

  .kit-footer > img {
    top: 10%;
    left: 50%;
    width: 174px;
    transform: translateX(-50%);
  }

  .kit-footer__nav {
    top: 42%;
    gap: 17px;
  }

  .kit-footer > p {
    top: auto;
    right: var(--pad);
    bottom: 16%;
    left: var(--pad);
    transform: none;
    font-size: clamp(40px, 11vw, 56px);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .chapter-kicker,
  .chapter-top,
  .chapter-arrows a {
    font-size: 9px;
  }

  .chapter-arrows a {
    width: 27px;
    height: 27px;
  }

  .chapter-actions {
    flex-direction: column;
  }

  .palette-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .swatch-stack {
    min-height: 420px;
  }

  .swatch--tall {
    min-height: 320px;
  }

  .logo-card--wide {
    grid-column: auto;
  }

  .welcome-controls > div {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .welcome-controls > .welcome-controls__scenes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .welcome-controls > .welcome-controls__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kit-hero__actions .kit-button {
    padding-inline: 10px;
    font-size: 9px;
  }

  .type-poster > div > p,
  .voice-poster > div > p {
    font-size: clamp(54px, 17vw, 76px);
  }

  .kit-footer > div:last-child {
    align-items: flex-end;
    gap: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .fur-motion-story {
    height: 100svh;
  }

  .fur-motion-story__canvas {
    display: none;
  }

  .kit-hero__fur,
  .kit-footer__fur,
  .swatch--fur-warm::before,
  .swatch--fur-night::before,
  .fur-motion-story__stage::before,
  .fur-panel,
  .color-poster--fur,
  .color-poster--taupe {
    animation: none !important;
  }
}

/* Daylight-parity editorial pass
   The content stays unmistakably iron.cat; the rhythm, rails and component
   proportions follow the reference kit section by section. */

.chapter-head {
  position: relative;
  display: block;
  min-height: 0;
  border-bottom: 0;
}

.chapter-kicker,
.chapter-top {
  font-size: 12px;
  line-height: 16px;
}

.chapter-kicker {
  padding-top: 5px;
}

.chapter-arrows {
  position: absolute;
  top: 0;
  left: 33.15%;
}

.chapter-arrows a {
  width: 28px;
  height: 28px;
}

.chapter-top {
  position: absolute;
  top: 5px;
  right: 0;
}

.chapter-title {
  margin-top: 24px;
  font-size: 60px;
  line-height: 1.05;
}

.chapter-lede {
  max-width: 446px;
  margin-top: 18px;
  line-height: 1.4;
}

#logo > .subsection,
#logo > .in-the-wild,
#color > .palette-wrap,
#color > .subsection,
#color > .in-the-wild,
#tipografia > .type-roles,
#tipografia > .type-scale,
#tipografia > .in-the-wild,
#voz > .voice-lines,
#voz > .voice-principles,
#voz > .in-the-wild,
#fotografia > .photo-categories,
#fotografia > .in-the-wild,
#movimiento > .motion-editorial,
#componentes > .button-showcase,
#componentes > .ui-directions,
#recursos > .token-grid {
  margin-top: 0;
}

#logo .chapter-head { height: 348px; }
#color .chapter-head { height: 217px; }
#tipografia .chapter-head { height: 191px; }
#voz .chapter-head { height: 193px; }
#fotografia .chapter-head { height: 247px; }
#movimiento .chapter-head { height: 193px; }
#componentes .chapter-head { height: 108px; }
#recursos .chapter-head { height: 200px; }

#color > .palette-wrap,
#tipografia > .type-roles,
#recursos > .token-grid {
  margin-top: 64px;
}

#voz > .voice-lines,
#movimiento > .motion-editorial,
#componentes > .button-showcase {
  margin-top: 72px;
}

#logo .chapter-actions {
  margin-top: 20px;
}

/* 01 — Logo */

#logo > .subsection--split,
#logo > .logo-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
}

#logo > .subsection--split {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

#logo > .subsection--split > .subsection-copy {
  padding-top: 0;
}

#logo > .logo-block {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

#logo .subsection-copy {
  max-width: 300px;
}

#logo .subsection-copy > p:last-child {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.55;
}

.logo-lockups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 16px;
}

.logo-card {
  min-height: 0;
  padding: 20px;
  border: 0;
  border-radius: 4px;
  background: rgb(255 248 238 / 0.78);
}

.logo-card--wide,
.logo-card--wordmark {
  grid-column: span 2;
}

.logo-card--symbol {
  grid-column: span 1;
}

.logo-card--app {
  grid-column: 3;
}

.logo-card--favicon {
  grid-column: 4;
}

.logo-card img {
  width: 76%;
  max-height: 122px;
}

.logo-card--symbol img,
.logo-card--app img {
  width: 58%;
}

.variant-groups {
  display: grid;
  gap: 20px;
}

.variant-group {
  height: 243px;
  padding-top: 0;
  border-top: 1px solid var(--line);
}

.variant-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.variant-group > header {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  height: 20px;
  min-height: 20px;
  color: rgb(25 60 67 / 0.58);
  font-size: 12px;
}

.logo-variants {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.variant {
  height: 211px;
  min-height: 211px;
  border: 0;
  border-radius: 4px;
}

.variant > img {
  height: 165px;
}

.variant figcaption {
  padding: 11px 13px;
  font-size: 11px;
}

.logo-variants--technical .variant {
  grid-column: span 1;
}

.variant--fur {
  --fur-variant-image: url("assets/iron-cat/textures/fur-graphite-illustrated.webp");
  --fur-variant-position: center;
  --fur-variant-size: 126%;
  --fur-variant-overlay: rgb(8 12 12 / 0.42);
  position: relative;
  isolation: isolate;
  background: var(--fur-variant-image) var(--fur-variant-position) / var(--fur-variant-size);
  color: var(--cream);
  animation: fur-background-drift 18s linear infinite;
}

.variant--fur-graphite {
  --fur-variant-image: url("assets/iron-cat/textures/fur-graphite-illustrated.webp");
}

.variant--fur-golden {
  --fur-variant-image: url("assets/iron-cat/textures/fur-golden-illustrated.webp");
  --fur-variant-position: 54% 48%;
  --fur-variant-size: 132%;
  --fur-variant-overlay: rgb(25 60 67 / 0.74);
}

.variant--fur-taupe {
  --fur-variant-image: url("assets/iron-cat/textures/fur-taupe-illustrated.webp");
  --fur-variant-position: 48% 52%;
  --fur-variant-size: 124%;
  --fur-variant-overlay: rgb(25 60 67 / 0.68);
}

.variant--fur::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--fur-variant-overlay);
  content: "";
}

.logo-variants--fur .variant > img {
  width: 78%;
  height: 100%;
  filter: grayscale(1) brightness(0) invert(1);
}

.variant--mustard { background: var(--mustard); }
.variant--sage { background: var(--sage); }
.variant--coral { background: var(--coral); }
.variant--white > img { filter: grayscale(1) brightness(0.32); }

.logo-misuse {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

.logo-misuse figure {
  position: relative;
  overflow: visible;
  border: 0;
  background: transparent;
}

.misuse-sample {
  height: 128px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 248 238 / 0.66);
}

.logo-misuse figcaption {
  padding: 12px 0 0;
  border: 0;
  font-size: 11px;
}

.logo-misuse b {
  position: absolute;
  top: 7px;
  right: 9px;
  z-index: 2;
  margin: 0;
}

#logo > .in-the-wild {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.hero-application {
  aspect-ratio: 2.032 / 1;
  border-radius: clamp(18px, 2.2vw, 30px);
}

/* 02 — Color */

.palette-grid {
  grid-template-columns: 1.16fr 1fr 1.16fr 1fr 1fr;
  height: 460px;
  min-height: 0;
  margin-top: 20px;
}

.swatch-stack {
  min-height: 0;
}

.swatch {
  padding: 20px;
  border: 0;
  border-radius: 6px;
}

.swatch:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px rgb(25 60 67 / 0.22);
}

.secondary-palette {
  margin-top: 64px;
}

.secondary-palette__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.secondary-swatch {
  display: flex;
  height: 148px;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.secondary-swatch b {
  font-weight: 500;
}

.secondary-swatch--deep { background: var(--petrol-700); color: var(--cream); }
.secondary-swatch--soft { background: var(--cream-2); }
.secondary-swatch--paper { background: var(--paper); }
.secondary-swatch--sage { background: var(--sage); }
.secondary-swatch--gold { background: var(--mustard); }
.secondary-swatch--coral { background: var(--coral-dark); color: var(--cream); }

#color > .fur-system {
  margin-top: 64px;
  padding-top: 0;
}

#color .subsection-intro {
  display: grid;
  height: auto;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 120px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

#color .subsection-intro > p:last-child {
  display: block;
}

.fur-system__grid {
  margin-top: 30px;
}

.fur-panel {
  --fur-image: url("assets/iron-cat/textures/fur-taupe-illustrated.webp");
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: none;
  animation: none;
  color: var(--cream);
}

.fur-panel--graphite { --fur-image: url("assets/iron-cat/textures/fur-graphite-illustrated.webp"); }
.fur-panel--golden { --fur-image: url("assets/iron-cat/textures/fur-golden-illustrated.webp"); }
.fur-panel--taupe { --fur-image: url("assets/iron-cat/textures/fur-taupe-illustrated.webp"); }

.fur-panel::after {
  display: none;
}

.fur-panel__surface {
  position: relative;
  display: grid;
  height: 460px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--fur-image) center / cover;
  isolation: isolate;
}

.fur-panel__surface::before,
.fur-panel__surface::after {
  position: absolute;
  inset: -6%;
  content: "";
}

.fur-panel__surface::before {
  z-index: -2;
  background: var(--fur-image) 54% 46% / 108% auto;
  animation: fur-surface-breathe 17s linear -5s infinite;
  -webkit-mask-image: linear-gradient(108deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 118% 132%;
  mask-image: linear-gradient(108deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 118% 132%;
  opacity: 0.7;
  filter: brightness(1.055) contrast(1.035);
  will-change: transform;
}

.fur-panel:nth-child(2) .fur-panel__surface::before {
  animation-direction: reverse;
  animation-duration: 20s;
  animation-delay: -11s;
}

.fur-panel:nth-child(3) .fur-panel__surface::before {
  animation-duration: 23s;
  animation-delay: -17s;
}

.fur-panel__surface::after {
  z-index: -1;
  background: linear-gradient(180deg, rgb(8 10 10 / 0.52), transparent 58%, rgb(8 10 10 / 0.45));
}

.fur-panel__surface > span {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fur-panel__surface > img {
  width: 68px;
  opacity: 0.86;
  filter: brightness(0) invert(1);
}

.fur-panel figcaption {
  position: static;
  margin-top: 16px;
  color: rgb(25 60 67 / 0.6);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
}

#color > .in-the-wild {
  margin-top: 64px;
}

.color-wild {
  grid-auto-rows: 300px;
}

.color-poster {
  border-radius: 8px;
}

.color-poster:nth-child(n + 4) {
  grid-column: span 2;
}

.color-poster:nth-child(4) {
  grid-column: 1 / span 2;
}

.color-poster:nth-child(5) {
  grid-column: 3 / span 2;
}

.color-poster:nth-child(6) {
  grid-column: 5 / span 2;
}

.color-poster--sand {
  background: url("assets/iron-cat/textures/fur-sand-illustrated.webp") center / 116%;
  color: var(--petrol-950);
  animation: fur-background-drift 24s linear infinite reverse;
}

.color-poster--app-splash {
  padding: clamp(18px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 50% 34%, rgb(255 248 238 / 0.62), transparent 48%),
    var(--cream-2);
}

.color-poster--app-splash img {
  width: auto;
  max-width: 100%;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 18px;
  box-shadow:
    0 26px 42px rgb(25 60 67 / 0.18),
    0 2px 6px rgb(25 60 67 / 0.12);
  object-fit: contain;
}

.color-poster--sand::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(247 239 226 / 0.18), transparent 45%, rgb(25 32 32 / 0.34));
  content: "";
}

.color-poster--sand > span,
.color-poster--sand > p {
  position: absolute;
  z-index: 1;
  left: 22px;
}

.color-poster--sand > span {
  top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.color-poster--sand > p {
  right: 22px;
  bottom: 24px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 56px;
  line-height: 0.9;
}

.color-poster--fur,
.color-poster--taupe,
.color-poster--sand {
  --poster-fur-image: url("assets/iron-cat/textures/fur-golden-illustrated.webp");
  --poster-fur-size: 124%;
  background: var(--poster-fur-image) center / var(--poster-fur-size);
  animation: none;
  isolation: isolate;
}

.color-poster--taupe {
  --poster-fur-image: url("assets/iron-cat/textures/fur-taupe-illustrated.webp");
}

.color-poster--sand {
  --poster-fur-image: url("assets/iron-cat/textures/fur-sand-illustrated.webp");
  --poster-fur-size: 116%;
}

.color-poster--fur::before,
.color-poster--taupe::before,
.color-poster--sand::before {
  position: absolute;
  z-index: 0;
  inset: -8%;
  background: var(--poster-fur-image) 54% 46% / calc(var(--poster-fur-size) + 6%);
  content: "";
  -webkit-mask-image: linear-gradient(112deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 118% 132%;
  mask-image: linear-gradient(112deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 118% 132%;
  opacity: 0.68;
  filter: brightness(1.055) contrast(1.035);
  will-change: transform;
}

.color-poster--fur::before {
  animation: fur-surface-breathe 18s linear -6s infinite;
}

.color-poster--taupe::before {
  animation: fur-surface-breathe 21s linear -12s infinite reverse;
}

.color-poster--sand::before {
  animation: fur-surface-breathe 24s linear -17s infinite;
}

.color-poster--fur::after,
.color-poster--taupe::after,
.color-poster--sand::after {
  z-index: 0;
  pointer-events: none;
}

/* 03 — Typography */

.type-roles {
  gap: 32px;
}

.type-role {
  height: 280px;
  min-height: 280px;
  padding: 24px 36px 32px;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
}

.type-role__name {
  margin-top: 24px;
  font-size: 36px;
}

.type-role--mono .type-role__name {
  font-size: 28px;
}

.type-role__name + p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.type-role > div {
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.type-role > div span {
  padding: 0;
  border: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.type-role > div span + span::before {
  margin-right: 6px;
  content: "·";
}

#tipografia > .type-scale {
  margin-top: 64px;
}

.type-scale > .mono {
  margin-bottom: 19px;
}

.type-row {
  position: relative;
  display: block;
  padding: 30px 0 24px;
}

.type-row > div > p {
  margin-top: 16px;
}

.type-row dl {
  position: absolute;
  bottom: 18px;
  left: 0;
  grid-template-columns: repeat(8, max-content);
  gap: 7px 12px;
  font-size: 10px;
}

.type-row--hero { height: 207px; }
.type-row--section { height: 180px; }
.type-row--title { height: 166px; }
.type-row--body { height: 202px; }
.type-row--label {
  height: 110px;
  padding-top: 20px;
}

.type-row--label dl {
  bottom: 10px;
}

.type-row--hero > div > p {
  font-size: clamp(49px, 6.45vw, 80px);
  line-height: 0.95;
  white-space: nowrap;
}

.type-row--section > div > p {
  max-width: none;
  font-size: 52px;
  line-height: 0.95;
}

.type-row--title > div > p {
  font-size: 30px;
  line-height: 1.16;
}

.type-row--body > div > p {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.4;
}

.type-row--label > div > p {
  font-size: 12px;
  line-height: 1.35;
}

#tipografia > .in-the-wild {
  margin-top: 64px;
}

#tipografia > .in-the-wild > .mono {
  margin-bottom: 52px;
}

.type-poster {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

/* 04 — Voice */

.voice-lines article {
  grid-template-columns: 140px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 5px 48px;
  padding: 32px 0;
}

.voice-lines article:first-child {
  height: 183px;
}

.voice-lines article:nth-child(2),
.voice-lines article:nth-child(3),
.voice-lines article:nth-child(4) {
  height: 148px;
}

.voice-lines article:last-child {
  height: 162px;
}

.voice-lines article > .mono {
  grid-row: 1 / span 2;
  width: max-content;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--ic-chip-radius, 2px);
}

.voice-lines h3 {
  grid-column: 2;
  font-size: 48px;
  line-height: 1;
}

.voice-lines article:first-child h3 {
  font-size: 80px;
}

.voice-lines article > p {
  grid-column: 2;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.52;
}

.voice-principles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border: 0;
}

.voice-principles article {
  height: 240px;
  min-height: 240px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.voice-principles article > span {
  font-size: 18px;
}

.voice-principles p {
  max-width: 440px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
}

#voz > .voice-principles {
  margin-top: 72px;
}

#voz > .in-the-wild {
  margin-top: 24px;
}

#voz > .in-the-wild > .mono {
  margin-bottom: 47px;
}

.voice-poster {
  border-radius: 8px;
}

/* 05 — Photography */

.photo-categories {
  gap: 0;
}

.photo-category {
  grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 43px 0;
  border-top: 1px solid var(--line);
}

.photo-category__copy {
  padding-right: 56px;
}

.photo-category__copy > p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.55;
}

.photo-category__copy > div {
  margin-top: 20px;
}

.photo-category > img,
.photo-signature {
  border-radius: 4px;
}

.photo-insitu {
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}

.photo-insitu > figure {
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
}

.photo-insitu > figure > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  object-fit: cover;
}

.photo-contact-sheet {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.photo-contact {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream-2);
}

.photo-contact::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgb(12 24 26 / 0.58));
  content: "";
  pointer-events: none;
}

.photo-contact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.photo-contact:hover img {
  transform: scale(1.025);
}

.photo-contact figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 13px;
  left: 14px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.photo-contact--hero {
  grid-column: 1 / 8;
  grid-row: 1 / 4;
}

.photo-contact--iron {
  grid-column: 8 / 11;
  grid-row: 1 / 4;
}

.photo-contact--eva {
  grid-column: 11 / 13;
  grid-row: 1 / 4;
}

.photo-contact--home {
  grid-column: 1 / 5;
  grid-row: 4 / 7;
}

.photo-contact--natural {
  grid-column: 5 / 9;
  grid-row: 4 / 7;
}

.photo-contact--kibble {
  grid-column: 9 / 13;
  grid-row: 4 / 7;
}

.photo-contact--hero img { object-position: 56% center; }
.photo-contact--iron img { object-position: 50% 32%; }
.photo-contact--eva img { object-position: 52% center; }
.photo-contact--home img { object-position: 72% center; }
.photo-contact--natural img {
  padding: 8px;
  background: var(--paper);
  object-fit: contain;
}

/* 06 — Motion */

.motion-editorial {
  border-top: 1px solid var(--line);
}

.motion-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
}

.motion-row__copy > p:not(.mono) {
  margin-top: 20px;
  color: rgb(25 60 67 / 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.motion-row__copy dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
}

.motion-row__copy dt {
  color: rgb(25 60 67 / 0.48);
}

.motion-media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: var(--cream);
  isolation: isolate;
}

.motion-media::before,
.motion-media::after {
  position: absolute;
  z-index: -2;
  inset: -7%;
  content: "";
}

.motion-media::after {
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(7 10 10 / 0.28),
    transparent 60%,
    rgb(7 10 10 / 0.18)
  );
}

.motion-media--direction::before {
  background: url("assets/iron-cat/textures/fur-graphite-illustrated.webp") center / cover;
  animation: motion-fur-direction 14s linear -5s infinite;
  opacity: 0.82;
}

.motion-media--direction {
  background: url("assets/iron-cat/textures/fur-graphite-illustrated.webp") center / cover;
}

.motion-media--direction::before {
  -webkit-mask-image: linear-gradient(110deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 118% 132%;
  mask-image: linear-gradient(110deg, transparent 2%, rgb(0 0 0 / 0.08) 14%, rgb(0 0 0 / 0.72) 34%, #000 47% 57%, rgb(0 0 0 / 0.72) 71%, rgb(0 0 0 / 0.08) 87%, transparent 98%);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 118% 132%;
  clip-path: none;
  filter: brightness(1.055) contrast(1.035);
  will-change: transform;
}

.motion-media > .mono {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--cream);
}

.motion-media > img {
  width: 72px;
  opacity: 0.88;
  filter: brightness(0) invert(1);
}

/* 03 · Expansión por scroll
   La superficie completa es el target: nace como cápsula de pelo, crece durante
   el primer tramo y solo después aparece la pantalla de Salud. Separar ambos
   relojes evita que el resize se lea como un simple fundido. */
.motion-resize-story {
  --ic-resize-radius: 8px;
  position: relative;
  height: 280svh;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.motion-resize-story__pin {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  width: 100%;
  height: 100svh;
  align-items: center;
  padding: 24px 0;
}

.motion-resize-story__copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.motion-resize-story__copy h3 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.7vw, 52px);
  font-weight: 440;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.motion-resize-story__copy > p:not(.mono) {
  max-width: 32ch;
  margin: 22px 0 0;
  color: rgb(25 60 67 / 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.motion-resize-story__copy dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin: 24px 0 0;
  font-family: var(--mono);
  font-size: 10px;
}

.motion-resize-story__copy dt { color: rgb(var(--ic-petrol-950-rgb) / 0.78); }
.motion-resize-story__copy dd { text-align: right; }

.motion-resize-story__progress {
  height: 2px;
  margin-top: 28px;
  overflow: hidden;
  background: rgb(25 60 67 / 0.14);
}

.motion-resize-story__progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--ic-resize-raw-progress));
  transform-origin: 0 50%;
  background: var(--coral);
}

.motion-resize-story__hint {
  margin-top: 10px;
  color: rgb(var(--ic-petrol-950-rgb) / 0.78);
  font-size: 9px;
}

.motion-resize-story__media {
  position: relative;
  display: grid;
  height: min(82svh, 720px);
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgb(var(--ic-petrol-rgb) / 0.1);
  background: var(--paper);
}

.motion-resize-story__media::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--ic-petrol-rgb) / 0.07) 1px, transparent 1px),
    linear-gradient(rgb(var(--ic-petrol-rgb) / 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  opacity: 0.7;
}

.motion-resize-stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: var(--ic-resize-clip-radius, var(--ic-resize-radius));
  background: var(--petrol-950);
  box-shadow: 0 28px 70px rgb(4 12 14 / 0.38);
  isolation: isolate;
}

.motion-resize-stage__fur {
  --ic-fur-veil: linear-gradient(180deg, rgb(7 10 10 / 0.38), rgb(7 10 10 / 0.12) 48%, rgb(7 10 10 / 0.42));
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.motion-resize-stage__fur > img {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(44%, 320px);
  max-height: 68px;
  object-fit: contain;
  opacity: calc(1 - var(--ic-resize-screen-progress));
  transform: translate(-50%, -50%) scale(var(--ic-resize-logo-scale));
  transform-origin: 50% 50%;
}

.motion-resize-device {
  position: relative;
  z-index: 3;
  height: min(78%, 650px);
  aspect-ratio: 780 / 1688;
}

.motion-resize-device__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--ic-resize-radius);
  background: var(--petrol-950);
  box-shadow: 0 28px 70px rgb(4 12 14 / 0.42);
  isolation: isolate;
}

.motion-resize-device__screen > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.motion-resize-device__screen > img,
.motion-resize-device__screen > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.motion-resize-device__label {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid rgb(247 239 226 / 0.24);
  border-radius: 4px;
  background: rgb(25 60 67 / 0.9);
  color: var(--cream);
  font: 400 8px var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.motion-resize-device__label strong {
  color: var(--mustard);
  font-weight: 500;
}

@keyframes motion-fur-direction {
  0%,
  100% { transform: translate3d(-4.8%, 0, 0) scale(1.14) rotate(-0.34deg); }
  12.5% { transform: translate3d(-3.4%, -1.91%, 0) scale(1.14) rotate(-0.11deg); }
  25% { transform: translate3d(0, -2.7%, 0) scale(1.14) rotate(0.17deg); }
  37.5% { transform: translate3d(3.4%, -1.91%, 0) scale(1.14) rotate(0.36deg); }
  50% { transform: translate3d(4.8%, 0, 0) scale(1.14) rotate(0.34deg); }
  62.5% { transform: translate3d(3.4%, 1.91%, 0) scale(1.14) rotate(0.11deg); }
  75% { transform: translate3d(0, 2.7%, 0) scale(1.14) rotate(-0.17deg); }
  87.5% { transform: translate3d(-3.4%, 1.91%, 0) scale(1.14) rotate(-0.36deg); }
}

/* 07 — Components */

.button-showcase > .mono,
.ui-directions > .mono {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.button-showcase > .mono {
  height: 12px;
  font-size: 10px;
  line-height: 12px;
}

.ui-directions > .mono {
  height: 12px;
  margin-bottom: 26px;
  font-size: 10px;
  line-height: 12px;
}

.button-showcase > .mono::after,
.ui-directions > .mono::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.button-showcase__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.button-showcase__grid {
  display: flex;
  min-height: 100px;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.button-showcase__grid article {
  display: flex;
  width: max-content;
  min-width: 0;
  min-height: 100px;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.button-sample__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.button-sample__meta > span,
.button-sample__meta > small {
  margin: 0;
  font-family: var(--mono);
  font-weight: 400;
}

.button-sample__meta > span {
  color: rgb(25 60 67 / 0.48);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 12px;
  text-transform: uppercase;
}

.button-sample__meta > small {
  color: rgb(25 60 67 / 0.78);
  font-size: 11px;
  line-height: 1.4;
}

.full-button-spec {
  display: flex;
  height: auto;
  min-height: 172px;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  margin-top: 0;
}

.full-button-spec__sample {
  display: flex;
  width: min(480px, 100%);
  flex-direction: column;
  gap: 14px;
}

.full-button-spec dl {
  display: flex;
  min-height: 0;
  align-items: flex-start;
  gap: 40px;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  flex-wrap: wrap;
}

.full-button-spec dl > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.full-button-spec dt,
.full-button-spec dd {
  color: rgb(25 60 67 / 0.78);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.full-button-spec dt {
  color: rgb(25 60 67 / 0.48);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 12px;
  text-transform: uppercase;
}

.component-library {
  margin-top: 80px;
}

.component-library__intro {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
}

.component-library__intro > .mono {
  color: rgb(25 60 67 / 0.72);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 14px;
  text-transform: uppercase;
}

.component-library__intro > p:last-child {
  max-width: 446px;
  color: rgb(25 60 67 / 0.72);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.component-library__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.component-spec {
  display: flex;
  min-width: 0;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgb(255 248 238 / 0.72);
}

.component-spec > header {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: rgb(25 60 67 / 0.74);
}

.component-spec > header .mono,
.component-spec > header small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 12px;
  text-transform: uppercase;
}

.component-spec > header small {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.component-spec > h4 {
  margin: 32px 0 0;
  color: var(--petrol-950);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.component-spec > h4 + p {
  max-width: 36ch;
  margin-top: 8px;
  color: rgb(25 60 67 / 0.74);
  font-size: 13px;
  line-height: 1.45;
  text-wrap: pretty;
}

.component-spec--wide {
  grid-column: 1 / -1;
}

[data-component-id="button-compact"] > .ic-button {
  align-self: flex-start;
  margin-top: auto;
}

.stroke-icon-spec {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding-top: 30px;
}

.stroke-icon-spec > span {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.component-spec--review .ic-review-card,
.component-spec--subscription .ic-subscription-ticket,
.component-spec--accordion .ic-accordion {
  margin-top: 28px;
}

.component-spec--review .ic-review-card {
  margin-top: auto;
}

.component-spec--subscription {
  min-height: 0;
  background: rgb(241 231 216 / 0.42);
}

.component-spec--subscription .ic-subscription-ticket {
  width: 100%;
}

.component-spec--accordion {
  min-height: 0;
}

.component-spec--accordion .ic-accordion {
  width: 100%;
}

.spec-chip-set,
.spec-tag-set {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 30px;
  flex-wrap: wrap;
}

.spec-chip-set {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.spec-segmented button:focus-visible {
  z-index: 1;
  outline: 2px solid var(--coral-dark);
  outline-offset: 2px;
}

.spec-segmented {
  display: grid;
  min-height: 44px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--cream-2);
}

.spec-segmented button {
  appearance: none;
  display: grid;
  min-width: 0;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgb(25 60 67 / 0.74);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.spec-segmented button.is-selected {
  background: var(--charcoal);
  color: var(--cream);
}

.spec-segmented button:not(.is-selected):hover {
  background: rgb(46 93 99 / 0.07);
  color: var(--petrol-950);
}

.component-spec--alert {
  min-height: 260px;
  background: var(--petrol-950);
  color: var(--cream);
}

.component-spec--alert > header {
  color: rgb(247 239 226 / 0.7);
}

.spec-alert {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

.spec-alert__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--charcoal);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
}

.spec-alert > div > .mono {
  color: var(--mustard);
  font-size: 9px;
  line-height: 12px;
}

.spec-alert h4 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.spec-alert p {
  max-width: 58ch;
  margin-top: 10px;
  color: rgb(247 239 226 / 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.spec-alert__action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgb(247 239 226 / 0.5);
  border-radius: 4px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.spec-alert__action:hover {
  border-color: var(--mustard);
  color: var(--mustard);
}

.spec-alert__action:focus-visible {
  outline: 2px solid var(--mustard);
  outline-offset: 3px;
}

.component-spec--progress {
  min-height: 260px;
}

.component-spec--progress > h4 {
  margin-top: 26px;
}

.spec-progress__value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  color: rgb(25 60 67 / 0.72);
  font-size: 12px;
}

.spec-progress__value b {
  color: var(--petrol-950);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.spec-progress__bar {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(46 93 99 / 0.12);
}

.spec-progress__bar i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: var(--petrol);
}

.spec-progress__footer {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  color: rgb(25 60 67 / 0.74);
  font-size: 10px;
  line-height: 14px;
}

.spec-progress__footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.spec-progress__footer i {
  width: 12px;
  color: var(--coral-dark);
  font-style: normal;
  text-align: center;
}

.component-spec--field {
  min-height: 260px;
}

/* Formulario canónico: los controles viven en form-kit.css; aquí solo se
   compone el ejemplo editorial dentro del capítulo de componentes. */
.component-spec--forms {
  min-height: 0;
  overflow: visible;
  background:
    radial-gradient(circle at 92% 8%, rgb(183 200 190 / 0.34), transparent 28%),
    rgb(241 231 216 / 0.58);
}

.component-spec--forms > p {
  max-width: 58ch;
}

.brand-form-demo {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 26px;
  margin-top: 30px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgb(46 93 99 / 0.2);
  border-radius: 12px;
  background: rgb(255 248 238 / 0.94);
  box-shadow: 0 26px 70px -44px rgb(25 60 67 / 0.58);
}

.brand-form-demo__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand-form-demo__head .mono {
  color: rgb(25 60 67 / 0.62);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 13px;
  text-transform: uppercase;
}

.brand-form-demo__head h5 {
  max-width: none;
  margin: 8px 0 0;
  color: var(--petrol-950);
  font-family: var(--display);
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.brand-form-demo__step {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(46 93 99 / 0.24);
  border-radius: 50%;
  background: var(--sage);
  color: var(--petrol-950);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.brand-form-demo > .ds-progress {
  margin-top: -10px;
}

.brand-form-demo > .ds-progress .ds-progress__track {
  height: 5px;
}

.brand-form-demo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.brand-form-demo__group {
  display: grid;
  gap: 11px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.brand-form-demo__legend {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  color: var(--petrol-950);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.brand-form-demo__legend span {
  color: rgb(25 60 67 / 0.56);
  font-weight: 400;
}

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

.brand-form-demo__choices .ds-choice {
  min-width: 0;
  padding: 14px;
}

.brand-form-demo__grid--selectors {
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.brand-form-demo .ds-field__label,
.brand-form-demo .ds-choice__title,
.brand-form-demo .ds-choice__desc,
.brand-form-demo .ds-field__hint,
.brand-form-demo .ds-input,
.brand-form-demo .ds-control,
.brand-form-demo .ds-chip {
  font-family: var(--body);
}

.brand-form-demo__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.brand-form-demo__footer > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(25 60 67 / 0.62);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 13px;
  text-transform: uppercase;
}

.brand-form-demo__footer > span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mustard);
  content: "";
}

@media (max-width: 760px) {
  .brand-form-demo {
    gap: 22px;
    padding: 22px 18px;
  }

  .brand-form-demo__grid,
  .brand-form-demo__choices {
    grid-template-columns: 1fr;
  }

  .brand-form-demo__head h5 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .brand-form-demo__step {
    width: 42px;
    height: 42px;
  }

  .brand-form-demo .ds-segmented__option {
    padding-inline: 8px;
    font-size: 13px;
  }

  .brand-form-demo__footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .brand-form-demo__footer .ic-button {
    width: 100%;
  }
}

.spec-field {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
  color: rgb(25 60 67 / 0.76);
  font-size: 11px;
  line-height: 14px;
}

.spec-field > span:first-child {
  font-weight: 500;
}

.spec-field__control {
  display: grid;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(46 93 99 / 0.22);
  border-radius: 4px;
  background: var(--paper);
}

.spec-field__control:focus-within {
  border-color: var(--petrol);
  box-shadow: 0 0 0 2px rgb(46 93 99 / 0.12);
}

.spec-field__control input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--petrol-950);
  font: 500 16px/1 var(--body);
}

.spec-field__control b {
  display: grid;
  height: 30px;
  min-width: 42px;
  place-items: center;
  border-left: 1px solid var(--line);
  color: rgb(25 60 67 / 0.74);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.spec-field > small {
  color: rgb(25 60 67 / 0.74);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  line-height: 12px;
  text-transform: uppercase;
}

#componentes > .ui-directions {
  margin-top: 80px;
}

.ui-directions__grid {
  gap: 20px;
}

.ui-directions__grid > figure {
  min-width: 0;
}

.ui-directions__grid figcaption {
  display: flex;
  height: 48px;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  color: rgb(25 60 67 / 0.58);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ui-directions__grid figcaption strong {
  color: var(--petrol-950);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 18px;
  text-transform: none;
}

.ui-directions__grid figcaption small {
  overflow: hidden;
  color: rgb(25 60 67 / 0.58);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 16px;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.health-card,
.health-log {
  height: 340px;
  min-height: 340px;
  overflow: hidden;
  border-radius: 16px;
}

.health-card,
.health-log {
  padding: 24px 28px 28px;
}

.health-card > p {
  margin-top: 24px;
}

.health-score {
  padding: 14px 0;
}

.health-score b {
  font-size: 48px;
}

.health-card ul {
  gap: 6px;
  margin: 12px 0;
}

.health-card__action {
  min-height: 42px;
  border-radius: 4px;
}

.health-log header {
  padding-bottom: 14px;
}

.health-log > p {
  padding: 10px 0;
}

/* Quick reference */

.token-grid {
  height: 682px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  border: 0;
}

.token-column {
  display: grid;
  height: 100%;
  gap: 24px;
}

.token-grid article {
  min-height: 0;
  padding: 32px;
  border: 0;
  border-radius: 6px;
  background: var(--cream-2);
}

.token-grid h3 {
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.token-grid p,
.token-grid button {
  margin-top: 8px;
  padding: 8px 12px;
  border: 0;
  border-radius: 2px;
  background: var(--cream);
  font-size: 11px;
  line-height: 16px;
}

/* Closing frame */

.kit-footer {
  color: var(--cream);
}

.kit-footer::after {
  background: rgb(9 13 13 / 0.56);
}

.kit-footer > img {
  width: clamp(210px, 20.5vw, 262px);
}

.kit-footer__nav {
  gap: 27px;
  font-size: 12px;
}

.kit-footer > p {
  max-width: 340px;
  color: var(--cream);
  font-size: clamp(35px, 3.5vw, 50px);
  line-height: 0.95;
}

.kit-footer > div:last-child {
  color: rgb(247 239 226 / 0.72);
  font-size: 11px;
}

@media (min-width: 769px) {
  #tipografia,
  #voz,
  #movimiento {
    padding-right: 80px;
    padding-left: 80px;
  }

  #fotografia {
    padding-bottom: 0;
  }

  #logo,
  #color {
    padding-bottom: 80px;
  }

  #componentes {
    padding-top: 101px;
    padding-bottom: 40px;
  }

  #recursos {
    padding-bottom: 100px;
  }

  #tipografia {
    padding-bottom: 120px;
  }

  #voz {
    padding-top: 101px;
  }

  #movimiento {
    padding-bottom: 99px;
  }
}

@media (max-width: 1050px) and (min-width: 769px) {
  #logo > .subsection--split,
  #logo > .logo-block,
  .motion-row {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }

  .motion-resize-story__pin {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }

  .logo-lockups {
    gap: 10px;
  }

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

  .button-showcase__grid article {
    width: 100%;
  }

  .component-library__intro {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }

  .spec-alert {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
  }

  .spec-alert__action {
    grid-column: 2;
    justify-self: start;
  }

  .hero-application__copy {
    width: 58%;
  }

  .hero-application__case {
    display: none;
  }

  .hero-application__nutrition {
    right: 5%;
    left: auto;
  }

  .motion-resize-story {
    --ic-resize-radius: 18px;
    height: 250svh;
    margin-top: 48px;
  }

  .motion-resize-story__pin {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
  }

  .motion-resize-story__copy h3 {
    margin-top: 12px;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1;
  }

  .motion-resize-story__copy > p:not(.mono) {
    max-width: 36ch;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
  }

  .motion-resize-story__copy dl,
  .motion-resize-story__hint {
    display: none;
  }

  .motion-resize-story__progress { margin-top: 14px; }

  .motion-resize-story__media {
    height: 100%;
    min-height: 0;
  }

  .motion-resize-device {
    height: min(53svh, 510px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-resize-story {
    height: auto;
  }

  .motion-resize-story__pin {
    position: relative;
    height: auto;
    min-height: min(760px, 92svh);
  }

  .motion-resize-story__progress span { transform: scaleX(1); }
  .motion-resize-story__hint { display: none; }
}

@media (max-width: 768px) {
  :root {
    --section-y: 64px;
  }

  .motion-resize-story {
    --ic-resize-radius: 16px;
    height: 210svh;
    margin-top: 40px;
  }

  .motion-resize-story__pin {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
    height: 100svh;
    padding: 16px 0;
  }

  .motion-resize-story__copy {
    width: 100%;
  }

  .motion-resize-story__copy h3 {
    margin-top: 10px;
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1;
  }

  .motion-resize-story__copy > p:not(.mono) {
    max-width: 38ch;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
  }

  .motion-resize-story__copy dl,
  .motion-resize-story__hint {
    display: none;
  }

  .motion-resize-story__progress {
    margin-top: 12px;
  }

  .motion-resize-story__media {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .motion-resize-device {
    height: min(51svh, 430px);
  }

  .full-button-spec {
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .full-button-spec dl {
    min-height: 0;
  }

  .component-library {
    margin-top: 56px;
  }

  .component-library__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 32px 0 24px;
  }

  .component-library__intro > p:last-child {
    max-width: 40rem;
  }

  .component-library__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .component-spec {
    min-height: 244px;
    padding: 22px;
  }

  .spec-alert {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .spec-alert__action {
    grid-column: 2;
    justify-self: start;
  }

  #componentes > .ui-directions {
    margin-top: 56px;
  }

  .chapter {
    padding: 64px 20px 56px;
  }

  .chapter.chapter--welcome {
    padding: 0;
  }

  #tipografia,
  #voz,
  #movimiento {
    padding-right: 20px;
    padding-left: 20px;
  }

  .chapter-head,
  #logo .chapter-head,
  #color .chapter-head,
  #tipografia .chapter-head,
  #voz .chapter-head,
  #fotografia .chapter-head,
  #movimiento .chapter-head,
  #componentes .chapter-head,
  #recursos .chapter-head {
    height: auto;
    min-height: 0;
    padding-bottom: 56px;
  }

  .chapter-arrows {
    display: none;
  }

  .chapter-kicker {
    padding-top: 0;
    font-size: var(--ic-type-caption-size);
  }

  .chapter-top {
    top: 0;
    font-size: 10px;
  }

  .chapter-title {
    margin-top: 24px;
    font-size: 36px;
    line-height: 40px;
  }

  .chapter-lede {
    margin-top: 16px;
    font-size: var(--ic-type-body-size);
  }

  #color > .palette-wrap,
  #tipografia > .type-roles,
  #voz > .voice-lines,
  #movimiento > .motion-editorial,
  #componentes > .button-showcase,
  #recursos > .token-grid {
    margin-top: 0;
  }

  #logo > .subsection--split,
  #logo > .logo-block,
  .motion-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #logo > .subsection--split > .subsection-copy {
    padding: 0;
  }

  #logo > .subsection--split {
    padding: 40px 0;
  }

  #logo > .logo-block {
    padding: 40px 0;
  }

  .logo-lockups {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 12px;
  }

  .logo-card--wide,
  .logo-card--wordmark,
  .logo-card--symbol,
  .logo-card--app,
  .logo-card--favicon {
    grid-column: auto;
  }

  .variant-group > header {
    grid-template-columns: 1fr;
    height: auto;
    gap: 6px;
  }

  .variant-group {
    height: auto;
    padding-top: 20px;
  }

  .variant-group:first-child {
    padding-top: 0;
  }

  .logo-variants {
    grid-template-columns: 1fr;
  }

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

  #logo > .in-the-wild {
    padding-top: 40px;
  }

  .hero-application {
    height: 520px;
    padding: 8px;
    border-radius: 18px;
  }

  .hero-application__stage {
    border-radius: 13px;
  }

  .hero-application__media {
    object-position: 58% center;
  }

  .hero-application__scrim {
    background:
      linear-gradient(180deg, rgb(25 60 67 / 0.7), rgb(25 60 67 / 0.48) 42%, rgb(25 60 67 / 0.84)),
      linear-gradient(90deg, rgb(25 60 67 / 0.84), rgb(25 60 67 / 0.24));
  }

  .hero-application__border {
    inset: 10px;
    border-radius: 9px;
  }

  .hero-application__marks,
  .hero-application__nutrition,
  .hero-application__case,
  .hero-application__signals {
    display: none;
  }

  .hero-application__copy {
    top: 11%;
    bottom: 76px;
    left: 24px;
    display: flex;
    width: calc(100% - 48px);
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-application__eyebrow {
    font-size: 8px;
  }

  .hero-application__copy h3 {
    max-width: 9ch;
    margin-top: 16px;
    font-size: clamp(39px, 12vw, 50px);
    line-height: 0.96;
  }

  .hero-application__subclaim {
    max-width: 29ch;
    margin-top: 16px;
    font-size: 12px;
  }

  .hero-application__cta {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin-top: auto;
  }

  .hero-application__proof {
    right: clamp(10px, 3.2vw, 24px);
    bottom: 20px;
    left: clamp(10px, 3.2vw, 24px);
    display: grid;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
    justify-content: start;
    gap: clamp(3px, 0.7vw, 6px);
  }

  .palette-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .swatch--tall {
    min-height: 300px;
  }

  .swatch-stack {
    min-height: 360px;
  }

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

  #color .subsection-intro {
    display: grid;
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  #color .subsection-intro > p:last-child {
    display: block;
  }

  .fur-system__grid {
    grid-template-columns: 1fr;
  }

  .fur-panel__surface {
    height: 300px;
  }

  .color-wild {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .color-poster,
  .color-poster:nth-child(n + 4),
  .color-poster:nth-child(4),
  .color-poster:nth-child(5),
  .color-poster:nth-child(6) {
    grid-column: auto;
  }

  .type-roles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .type-role {
    height: auto;
    min-height: 280px;
  }

  .type-scale {
    margin-top: 48px;
  }

  .type-row {
    display: grid;
    height: auto;
    min-height: 0;
    gap: 20px;
    padding: 32px 0;
  }

  .type-row dl {
    position: static;
    grid-template-columns: auto 1fr;
  }

  .type-row--hero > div > p {
    font-size: 54px;
    white-space: normal;
  }
  .type-row--section > div > p { font-size: 40px; }
  .type-row--title > div > p { font-size: 26px; }

  .type-poster {
    aspect-ratio: 3 / 4;
  }

  .voice-lines article {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
    padding: 28px 0;
  }

  .voice-lines article > .mono,
  .voice-lines h3,
  .voice-lines article > p {
    grid-column: 1;
    grid-row: auto;
  }

  .voice-lines h3 {
    font-size: 36px;
  }

  .voice-lines article:first-child h3 {
    font-size: 48px;
  }

  .voice-lines article > p {
    font-size: 15px;
  }

  .voice-principles {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
  }

  .voice-principles article {
    height: auto;
    min-height: 230px;
  }

  #voz > .voice-principles,
  #voz > .in-the-wild {
    margin-top: 48px;
  }

  #voz > .in-the-wild > .mono {
    margin-bottom: 24px;
  }

  .photo-category {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 40px 0;
  }

  .photo-category__copy {
    min-height: 0;
    padding: 0 0 24px;
  }

  .photo-category__copy > div {
    margin-top: 20px;
  }

  .photo-category > img,
  .photo-signature {
    height: 260px;
  }

  .photo-insitu > figure {
    padding: 12px;
  }

  .photo-insitu {
    padding-bottom: 56px;
  }

  .photo-insitu > figure > img {
    aspect-ratio: 3 / 4;
  }

  .photo-contact-sheet {
    aspect-ratio: 3 / 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .photo-contact--hero {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .photo-contact--iron {
    grid-column: 1;
    grid-row: 2;
  }

  .photo-contact--eva {
    grid-column: 2;
    grid-row: 2;
  }

  .photo-contact--eva img {
    object-position: 52% 24%;
  }

  .photo-contact--home {
    grid-column: 1;
    grid-row: 3;
  }

  .photo-contact--natural {
    grid-column: 2;
    grid-row: 3;
  }

  .photo-contact--kibble {
    grid-column: 1 / 3;
    grid-row: 4;
  }

  .photo-contact figcaption {
    right: 9px;
    bottom: 8px;
    left: 9px;
    font-size: 7px;
  }

  .motion-row {
    padding: 40px 0;
  }

  .motion-media {
    aspect-ratio: 4 / 3;
  }

  .button-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .button-showcase__grid article {
    width: 100%;
  }

  .ui-directions__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .health-card,
  .health-log {
    height: 340px;
    min-height: 340px;
  }

  .token-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .token-column {
    height: auto;
  }

  .kit-footer > img {
    width: 200px;
  }

  .kit-footer__nav {
    font-size: 11px;
  }
}

/* En móviles horizontales la demo conserva el mismo relato, pero reparte copy
   y dispositivo en columnas. Así el componente completo permanece dentro del
   escenario incluso en alturas de 320–390 px. */
@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  .motion-resize-story {
    height: 210svh;
    margin-top: 32px;
  }

  .motion-resize-story__pin {
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.45fr);
    grid-template-rows: minmax(0, 1fr);
    gap: clamp(12px, 3vw, 28px);
    height: 100svh;
    padding: 12px 0;
  }

  .motion-resize-story__copy h3 {
    margin-top: 8px;
    font-size: clamp(24px, 4.2vw, 34px);
  }

  .motion-resize-story__copy > p:not(.mono),
  .motion-resize-story__copy dl,
  .motion-resize-story__hint {
    display: none;
  }

  .motion-resize-story__progress {
    margin-top: 10px;
  }

  .motion-resize-story__media {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .motion-resize-device {
    height: min(66svh, 320px);
  }
}

@media (max-width: 520px) {
  .button-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .component-spec {
    min-height: 0;
  }

  .component-spec > h4 {
    margin-top: 26px;
  }

  .spec-chip-set,
  .spec-tag-set {
    margin-top: 26px;
    padding-top: 0;
  }

  .spec-segmented,
  .spec-field {
    margin-top: 26px;
  }

  .spec-alert h4 {
    font-size: 27px;
  }
}

@media (max-width: 360px) {
  .button-showcase__grid {
    grid-template-columns: 1fr;
  }

  .hero-application__proof {
    right: 8px;
    left: 8px;
    gap: 3px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .variant--fur,
  .fur-panel__surface::before,
  .color-poster--sand,
  .color-poster--fur::before,
  .color-poster--taupe::before,
  .color-poster--sand::before,
  .motion-media::before,
  .motion-media--system > i {
    animation: none !important;
  }
}

.kit-hero__fur.fur-field-surface,
.kit-footer__fur.fur-field-surface {
  position: absolute;
}

.swatch--fur-motion.fur-field-ready::before,
.swatch--fur-taupe.fur-field-ready::before,
.fur-panel__surface.fur-field-ready::before,
.color-poster--fur.fur-field-ready::before,
.color-poster--taupe.fur-field-ready::before,
.color-poster--sand.fur-field-ready::before,
.motion-media.fur-field-ready::before,
.motion-media--system.fur-field-ready > i {
  opacity: 0 !important;
}

.variant--fur.fur-field-ready::before,
.swatch--fur-motion.fur-field-ready::after,
.swatch--fur-taupe.fur-field-ready::after,
.fur-panel__surface.fur-field-ready::after,
.color-poster--fur.fur-field-ready::after,
.color-poster--taupe.fur-field-ready::after,
.color-poster--sand.fur-field-ready::after,
.motion-media.fur-field-ready::after {
  z-index: 1;
}

.variant--fur.fur-field-ready::before {
  background: var(--fur-variant-overlay);
}

/*
 * Preserve the editorial positioning of labels and headlines layered over
 * WebGL fur. The generic stacking rule above must not turn these absolutely
 * positioned children into normal-flow content.
 */
.fur-panel__surface > span,
.color-poster--fur > span,
.color-poster--taupe > span,
.color-poster--sand > span,
.color-poster--fur > p,
.color-poster--taupe > p,
.color-poster--sand > p {
  position: absolute;
}

/* UX, responsive and accessibility consolidation */

.kit-hero__links a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}

.chapter-arrows a,
.chapter-arrows > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  color: rgb(25 60 67 / 0.68);
  font-family: var(--mono);
  font-size: 12px;
}

.chapter-arrows a + a,
.chapter-arrows a + span,
.chapter-arrows span + a {
  margin-left: -1px;
}

.chapter-arrows > .is-disabled {
  cursor: default;
  opacity: 0.28;
  pointer-events: none;
}

.chapter-top {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}

.proof-label--compact {
  display: none;
}

.hero-application__proof > span {
  min-height: 30px;
  padding-inline: clamp(10px, 1.3vw, 16px);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero-application__proof b {
  font: inherit;
}

.type-role > p:nth-of-type(2) {
  color: rgb(25 60 67 / 0.76);
}

.type-role {
  height: auto;
  min-height: 300px;
}

.type-role > div {
  gap: 8px;
}

.type-role > div span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgb(25 60 67 / 0.24);
  border-radius: var(--ic-chip-radius, 2px);
  color: rgb(25 60 67 / 0.78);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.type-role > div span + span::before {
  content: none;
}

.type-row dt,
.full-button-spec dt {
  color: rgb(25 60 67 / 0.68);
}

.button-sample__meta > span {
  color: rgb(25 60 67 / 0.7);
}

.button-sample__meta > small {
  color: rgb(25 60 67 / 0.84);
}

.ui-directions__grid figcaption,
.ui-directions__grid figcaption small {
  color: rgb(25 60 67 / 0.72);
}

.swatch dt {
  opacity: 0.68;
}

.swatch-stack--tones .swatch dl,
.swatch-stack--accents .swatch dl {
  font-size: 9px;
}

.fur-panel figcaption,
.palette-hint {
  color: rgb(25 60 67 / 0.7);
}

.health-score b small {
  color: rgb(25 60 67 / 0.68);
}

.health-card ul {
  color: rgb(25 60 67 / 0.82);
}

.health-card__action {
  min-height: 46px;
  background: var(--coral);
  color: var(--charcoal);
}

.health-card__action:hover,
.health-card__action:focus-visible {
  background: var(--charcoal);
  color: var(--cream);
}

.token-grid button {
  min-height: 40px;
}

.welcome-controls button {
  min-height: 44px;
}

@media (min-width: 769px) {
  .kit-index {
    gap: 7px;
  }

  .kit-index a {
    min-height: 24px;
    grid-template-columns: 28px auto;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    line-height: 16px;
  }

}

@media (min-width: 769px) and (max-width: 940px) {
  .type-row--hero {
    height: 240px;
  }

  .type-row--hero > div > p {
    font-size: clamp(50px, 6.4vw, 60px);
    white-space: normal;
  }
}

@media (min-width: 769px) and (max-width: 1050px) {
  .type-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .type-role {
    height: auto;
    min-height: 300px;
  }

  .type-role:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .kit-hero__claim {
    top: auto;
    right: var(--pad);
    bottom: 118px;
    max-width: 16ch;
  }

  .kit-hero__claim-desktop {
    display: none;
  }

  .kit-hero__claim-mobile {
    display: inline;
  }

  .kit-index {
    bottom: max(24px, env(safe-area-inset-bottom));
    padding: 0 20px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
  }

  .kit-index a {
    min-height: 40px;
    align-items: center;
    padding: 0 12px;
    line-height: 16px;
    scroll-snap-align: start;
  }

  .kit-hero__actions {
    display: none;
  }

  .proof-label--full {
    display: none;
  }

  .proof-label--compact {
    display: inline;
  }

  .hero-application__proof {
    grid-template-columns: repeat(3, max-content);
    gap: 4px;
  }

  .hero-application__proof > span {
    min-height: 30px;
    padding-inline: 8px;
    font-size: 9px;
    letter-spacing: 0.055em;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  .palette-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .palette-grid > .swatch--tall,
  .palette-grid > .swatch-stack {
    min-height: 360px;
  }

  .palette-grid > .swatch-stack--accents {
    min-height: 180px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }
}

/* Final motion, focus and legibility safeguards */

button:focus-visible,
a:focus-visible {
  outline-color: var(--petrol-950);
}

.kit-hero a:focus-visible,
.kit-footer a:focus-visible,
.chapter--welcome[data-scene="cuida"] a:focus-visible,
.chapter--welcome[data-scene="cuida"] button:focus-visible {
  outline-color: var(--cream);
}

.type-role > p:nth-of-type(2) {
  font-size: 16px;
}

@keyframes fur-fallback-flow {
  0%,
  100% {
    background-position: 48% 50%;
  }
  34% {
    background-position: 53% 47%;
  }
  68% {
    background-position: 46% 54%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .kit-hero__fur[data-fur-state="static-fallback"],
  .kit-footer__fur[data-fur-state="static-fallback"],
  .variant--fur[data-fur-state="static-fallback"] {
    animation: fur-fallback-flow 17s ease-in-out infinite !important;
  }

  .swatch--fur-motion[data-fur-state="static-fallback"]::before,
  .swatch--fur-taupe[data-fur-state="static-fallback"]::before,
  .fur-panel__surface[data-fur-state="static-fallback"]::before,
  .color-poster--fur[data-fur-state="static-fallback"]::before,
  .color-poster--taupe[data-fur-state="static-fallback"]::before,
  .color-poster--sand[data-fur-state="static-fallback"]::before,
  .motion-media[data-fur-state="static-fallback"]::before,
  .motion-media--system[data-fur-state="static-fallback"] > i {
    animation: fur-surface-breathe 18s ease-in-out infinite alternate !important;
  }
}

/* Editorial text geometry
   Daylight uses one dependable rule for image-led cards: metadata belongs to
   the upper rail and the display line belongs to the lower rail. Keep those
   rails explicit so WebGL/fallback states can never return either text block
   to normal flow. */

.chapter-title {
  text-wrap: balance;
}

.chapter-lede,
.subsection-copy > p:last-child,
.subsection-intro > p:last-child,
.motion-row__copy > p:not(.mono),
.photo-category__copy > p {
  text-wrap: pretty;
}

.color-poster {
  --poster-gutter: clamp(20px, 2vw, 28px);
  container-type: inline-size;
}

.color-wild .color-poster > span {
  position: absolute;
  z-index: 3;
  top: var(--poster-gutter);
  right: var(--poster-gutter);
  bottom: auto;
  left: var(--poster-gutter);
  display: block;
  width: auto;
  max-width: calc(100% - var(--poster-gutter) * 2);
  margin: 0;
  line-height: 1.35;
}

.color-wild .color-poster > :is(p, h3) {
  position: absolute;
  z-index: 3;
  top: auto;
  right: var(--poster-gutter);
  bottom: var(--poster-gutter);
  left: var(--poster-gutter);
  width: auto;
  max-width: calc(100% - var(--poster-gutter) * 2);
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.color-wild .color-poster--petrol > h3 {
  font-size: clamp(34px, 10cqi, 54px);
  line-height: 0.94;
}

.color-wild :is(
  .color-poster--sand,
  .color-poster--fur,
  .color-poster--taupe
) > p {
  font-size: clamp(38px, 12cqi, 64px);
  line-height: 0.92;
}

@media (max-width: 768px) {
  .color-poster {
    --poster-gutter: 22px;
  }

  .color-wild .color-poster--petrol > h3 {
    font-size: clamp(34px, 8cqi, 48px);
  }

  .color-wild :is(
    .color-poster--sand,
    .color-poster--fur,
    .color-poster--taupe
  ) > p {
    font-size: clamp(38px, 10cqi, 58px);
  }
}

/* Content cards must grow with their copy. The previous fixed heights were
   tuned to a single desktop line-break and could clip or overlap as soon as a
   heading wrapped at tablet/mobile widths. */

@media (min-width: 769px) and (max-width: 1050px) {
  .voice-lines article,
  .voice-lines article:first-child,
  .voice-lines article:nth-child(2),
  .voice-lines article:nth-child(3),
  .voice-lines article:nth-child(4),
  .voice-lines article:last-child {
    height: auto;
    min-height: 0;
  }

  .type-row {
    display: grid;
    height: auto;
    min-height: 0;
    gap: 20px;
    padding: 30px 0;
  }

  .type-row dl {
    position: static;
    margin-top: 4px;
  }

  .type-row--hero > div > p {
    white-space: normal;
  }

  .variant-group {
    height: auto;
    min-height: 243px;
  }

  .variant-group > header {
    height: auto;
    min-height: 32px;
    align-items: start;
  }

  .logo-variants {
    margin-top: 12px;
  }

  .logo-variants--technical .variant figcaption {
    flex-wrap: wrap;
    align-content: center;
    gap: 2px 8px;
  }

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

  .voice-principles article {
    height: auto;
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .fur-panel,
  .fur-panel:last-child {
    height: auto;
    min-height: 0;
  }

  .voice-lines article,
  .voice-lines article:first-child,
  .voice-lines article:nth-child(2),
  .voice-lines article:nth-child(3),
  .voice-lines article:nth-child(4),
  .voice-lines article:last-child {
    height: auto;
    min-height: 0;
  }

  .voice-principles article {
    height: auto;
    min-height: 0;
  }
}

/* Chapter headers follow Daylight's natural-flow contract. Content spacing is
   carried by one shared gap instead of per-section fixed heights. */

@media (min-width: 769px) {
  :root {
    --pad: 61px;
  }

  .kit-hero__title,
  .kit-index,
  .kit-hero__actions {
    left: 200px;
  }

  .kit-hero__title {
    font-size: 75px;
    line-height: 1;
  }

  .kit-hero__claim {
    width: min(450px, calc(100vw - 261px));
    font-size: 48px;
  }

  .chapter-head,
  #logo .chapter-head,
  #color .chapter-head,
  #tipografia .chapter-head,
  #voz .chapter-head,
  #fotografia .chapter-head,
  #movimiento .chapter-head,
  #componentes .chapter-head,
  #recursos .chapter-head {
    height: auto;
    min-height: 0;
  }

  #logo .chapter-head {
    padding-bottom: 64px;
  }

  #fotografia .chapter-head {
    padding-bottom: 56px;
  }

  #componentes .chapter-head {
    padding-bottom: 8px;
  }

  #voz > .voice-lines,
  #movimiento > .motion-editorial {
    margin-top: 64px;
  }

  .voice-lines article {
    row-gap: 10px;
  }
}

@media (max-width: 768px) {
  .chapter-kicker,
  .chapter-top {
    font-size: 12px;
    line-height: 16px;
  }

  .chapter-lede {
    font-size: 16px;
    line-height: 1.4;
  }
}

/* Fraunces has generous ascenders/descenders. A display leading below 80%
   makes adjacent lines visually collide even when their boxes technically fit. */

.type-poster > div > p {
  line-height: 0.94;
}

.voice-poster > div > p {
  margin-bottom: 32px;
  line-height: 0.9;
}

.voice-poster small {
  margin-top: 0;
}

.ui-directions__grid figcaption {
  height: auto;
  min-height: 48px;
}

.ui-directions__grid figcaption strong,
.ui-directions__grid figcaption small {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ui-directions__grid figcaption small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

/* Componentes de cuidado · tickets compartidos + perfil real
   Este bloque es deliberadamente final: consolida las capas históricas del kit
   sin volver a duplicar el componente que comparte con Home V3. */

.component-spec--receipt {
  min-height: 650px;
  background: rgb(241 231 216 / 0.42);
}

.component-spec--receipt > .ic-receipt {
  --ic-receipt-canvas: var(--cream-2);
  height: auto;
  min-height: 430px;
  margin-top: 28px;
}

.ui-directions__grid {
  align-items: stretch;
}

.ui-directions__grid > figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.health-card--warm,
.health-log--context {
  height: auto;
  min-height: 590px;
  border-radius: 8px;
}

.health-card--warm {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 42px);
  overflow: visible;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.34), transparent 44%),
    var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 42px rgb(25 60 67 / 0.07);
}

.health-card--warm .health-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.health-card--warm .health-card__head > div {
  display: flex;
  min-width: 0;
  align-items: center;
}

.health-card--warm .health-card__head img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  margin-right: 12px;
  border-radius: 50%;
  object-fit: cover;
}

.health-card--warm .health-card__head span:not(.health-card__review) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.health-card--warm .health-card__head b {
  color: var(--petrol-950);
  font-size: 14px;
  font-weight: 600;
}

.health-card--warm .health-card__head small {
  color: rgb(25 60 67 / 0.82);
  font-size: 11px;
}

.health-card--warm .health-card__review {
  min-height: 30px;
  padding: 0 10px;
  background: rgb(183 200 190 / 0.56);
  color: var(--petrol-950);
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.health-card__intro {
  display: grid;
  gap: 6px;
  margin-top: clamp(26px, 3.2vw, 38px);
}

.health-card__intro > p {
  margin: 0;
  color: rgb(25 60 67 / 0.82);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 12px;
  text-transform: uppercase;
}

.health-card__intro h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--petrol-950);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.health-card__intro > small,
.health-card__intro > time {
  color: rgb(25 60 67 / 0.82);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  font-style: normal;
  text-transform: uppercase;
}

.health-card__context {
  display: grid;
  grid-template-columns: minmax(145px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.health-card__context > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.health-card__context > span b {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 0.85;
}

.health-card__context > span small {
  max-width: 9ch;
  color: rgb(25 60 67 / 0.82);
  font-size: 9px;
  line-height: 1.15;
  text-transform: uppercase;
}

.health-card__context > p {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: rgb(25 60 67 / 0.86);
  font-size: 11px;
  line-height: 1.4;
}

.health-card--warm .health-card__signals {
  display: grid;
  gap: 0;
  margin: 12px 0 20px;
  padding: 0;
  color: var(--petrol-950);
  list-style: none;
}

.health-card--warm .health-card__signals li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
}

.health-card--warm .health-card__signals .health-card__signal-dot {
  width: 7px;
  height: 7px;
  margin: 0;
  border-radius: 50%;
  background: var(--petrol);
}

.health-card--warm .health-card__signals li.is-stable > .health-card__signal-dot { background: var(--sage); }
.health-card--warm .health-card__signals li.is-watch > .health-card__signal-dot { background: var(--coral); }

.health-card--warm .health-card__signals p {
  display: grid;
  gap: 1px;
  margin: 0;
}

.health-card--warm .health-card__signals strong {
  font-size: 11px;
  font-weight: 600;
}

.health-card--warm .health-card__signals small {
  color: rgb(25 60 67 / 0.82);
  font-size: 9px;
}

.health-card--warm .health-card__signals .health-card__signal-state {
  color: rgb(25 60 67 / 0.86);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  text-align: right;
  text-transform: uppercase;
}

.health-card--warm .health-card__signals li.is-watch .health-card__signal-state { color: var(--coral-dark); }

.health-card--warm .health-card__action {
  min-height: 48px;
  margin-top: auto;
  border-radius: 4px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
}

.health-card--warm .health-card__action:hover,
.health-card--warm .health-card__action:focus-visible {
  background: var(--charcoal);
  color: var(--sage);
}

.health-log--context {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 42px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgb(183 200 190 / 0.17), transparent 30%),
    var(--petrol-950);
  color: var(--cream);
}

.health-log--context > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(247 239 226 / 0.16);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.health-log--context > header h3 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: inherit;
  line-height: inherit;
}

.health-log--context > header .health-log__status {
  color: var(--sage);
  font-size: 9px;
  font-style: normal;
}

.health-log__summary {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 3vw, 34px) 0 20px;
}

.health-log__summary strong {
  max-width: 15ch;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.health-log__summary p {
  max-width: 38ch;
  margin: 0;
  color: rgb(247 239 226 / 0.78);
  font-family: var(--body);
  font-size: 11px;
  line-height: 1.45;
}

.health-log__timeline {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(247 239 226 / 0.14);
  list-style: none;
}

.health-log__timeline li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgb(247 239 226 / 0.12);
}

.health-log__timeline time {
  margin-right: 0;
  color: rgb(247 239 226 / 0.7);
  font-family: var(--mono);
  font-size: 9px;
}

.health-log__timeline p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.health-log__timeline strong {
  color: var(--cream);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
}

.health-log__timeline small {
  color: rgb(247 239 226 / 0.76);
  font-family: var(--body);
  font-size: 9px;
}

.health-log__timeline li.is-watch strong,
.health-log__timeline li.is-watch small { color: var(--mustard); }

.health-log--context > footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  color: rgb(247 239 226 / 0.72);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.health-log--context > footer strong {
  color: var(--sage);
  font-weight: 500;
}

@media (max-width: 768px) {
  .component-spec--receipt { min-height: 0; }

  .component-spec--receipt > .ic-receipt {
    min-height: 0;
  }

  .health-card--warm,
  .health-log--context {
    min-height: 0;
  }

  .health-card__context {
    grid-template-columns: 1fr;
  }

  .health-card__context > span small { max-width: none; }

  .health-card__context > p {
    padding-left: 0;
    border-left: 0;
  }
}

/* --------------------------------------------------------------------------
   2026-07 · Canonical polish layer
   The historical page contains several visual iterations. These rules define
   the public contract for geometry, interaction and legibility in one place.
   -------------------------------------------------------------------------- */

.chapter-title {
  font-size: var(--ic-type-chapter-size);
  line-height: var(--ic-type-chapter-line);
  letter-spacing: -0.025em;
}

.chapter-arrows a,
.chapter-top,
.welcome-controls button {
  color: rgb(25 60 67 / 0.78);
}

.health-card--warm .health-card__action {
  background: var(--coral);
  color: var(--white);
}

.button-sample__meta > span,
.button-sample__meta > small,
.component-spec > header .mono,
.component-spec > header small {
  font-size: 12px;
  line-height: 1.35;
}

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

.component-principles > p {
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 22px 24px 24px 0;
}

.component-principles > p + p {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.component-principles span {
  color: rgb(25 60 67 / 0.68);
  font-size: 12px;
}

.component-principles strong {
  font-size: 15px;
  font-weight: 600;
}

.component-principles small {
  max-width: 31ch;
  color: rgb(25 60 67 / 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.photo-guidance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.photo-guidance article {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 24px clamp(18px, 2vw, 30px) 28px 0;
}

.photo-guidance article + article {
  padding-left: clamp(18px, 2vw, 30px);
  border-left: 1px solid var(--line);
}

.photo-guidance .mono {
  color: rgb(25 60 67 / 0.72);
  font-size: 12px;
  text-transform: uppercase;
}

.photo-guidance strong {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.photo-guidance p {
  max-width: 34ch;
  color: rgb(25 60 67 / 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.photo-guidance .is-avoid { background: rgb(233 122 106 / 0.08); }

.hero-application__nutrition .ic-nutrition-compact {
  width: min(260px, 100%);
  color: var(--cream);
}

.hero-application__nutrition .ic-nutrition-compact li {
  border-color: rgb(247 239 226 / 0.28);
}

.health-card--warm .health-card__signals strong,
.health-card--warm .health-card__signals small,
.health-card--warm .health-card__signals .health-card__signal-state,
.health-log--context > header,
.health-log--context > header .health-log__status,
.health-log__timeline time,
.health-log__timeline strong,
.health-log__timeline small,
.health-log--context > footer {
  font-size: 12px;
}

.health-log__summary p { font-size: 14px; }

.yarn:disabled,
[data-welcome-launch]:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

@media (max-width: 768px) {
  .chapter-title {
    font-size: var(--ic-type-chapter-mobile-size);
    line-height: var(--ic-type-chapter-mobile-line);
  }

  .component-principles,
  .photo-guidance {
    grid-template-columns: 1fr;
  }

  .component-principles > p,
  .component-principles > p + p,
  .photo-guidance article,
  .photo-guidance article + article {
    padding: 20px 0;
    border-left: 0;
  }

  .component-principles > p + p,
  .photo-guidance article + article {
    border-top: 1px solid var(--line);
  }

  .brand-motion-ready .ui-directions__grid > figure[data-reveal] {
    transform: none;
  }
}

.health-card--warm {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Homepage V3 · proyección editorial en el Brand Kit
   -------------------------------------------------------------------------- */

.type-row--feature {
  height: 232px;
}

.type-row--feature > div > p {
  max-width: 19ch;
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.038em;
  line-height: 1.06;
}

.voice-campaign {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(40px, 7vw, 112px);
  margin-top: clamp(64px, 9vw, 128px);
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voice-campaign > header {
  align-self: start;
}

.voice-campaign > header > .mono,
.motion-home-grammar > header > .mono,
.home-applications > header > .mono {
  color: rgb(25 60 67 / 0.66);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.voice-campaign > header h3,
.motion-home-grammar > header h3,
.home-applications > header h3 {
  max-width: 13ch;
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.voice-campaign > header > p:last-child,
.motion-home-grammar > header > p:last-child,
.home-applications > header > p:last-child {
  max-width: 43ch;
  margin-top: 20px;
  color: rgb(25 60 67 / 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.voice-campaign ol {
  list-style: none;
  border-top: 1px solid var(--line);
}

.voice-campaign li {
  display: grid;
  grid-template-columns: minmax(110px, 0.44fr) minmax(0, 1.56fr);
  align-items: baseline;
  gap: 24px;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}

.voice-campaign li span {
  color: rgb(25 60 67 / 0.56);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.voice-campaign li p {
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.photo-category:nth-child(3) .photo-signature > img:first-child {
  object-position: 50% 32%;
}

.motion-home-grammar {
  margin-top: clamp(72px, 10vw, 148px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.motion-home-grammar > header {
  display: grid;
  grid-template-columns: 0.72fr 0.9fr 1fr;
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(38px, 5vw, 68px);
}

.motion-home-grammar > header h3,
.motion-home-grammar > header > p:last-child {
  margin-top: 0;
}

.motion-home-grammar__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.motion-pattern {
  display: flex;
  min-height: 410px;
  min-width: 0;
  flex-direction: column;
  padding: clamp(18px, 2.3vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.motion-pattern > div {
  position: relative;
  display: grid;
  height: 188px;
  margin-bottom: 28px;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: var(--petrol);
  color: var(--cream);
}

.motion-pattern > .mono {
  color: rgb(25 60 67 / 0.56);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.motion-pattern h4 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.motion-pattern > p {
  max-width: 32ch;
  margin-top: 13px;
  color: rgb(25 60 67 / 0.72);
  font-size: 13px;
  line-height: 1.46;
}

.motion-pattern > small {
  margin-top: auto;
  padding-top: 22px;
  color: rgb(25 60 67 / 0.52);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.motion-pattern--intro > div i {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--mustard);
  animation: ic-motion-intro-demo 5.8s var(--ic-ease-page-intro, cubic-bezier(0.83, 0, 0.17, 1)) infinite;
}

.motion-pattern--intro > div b,
.motion-pattern--cut > div b,
.motion-pattern--resize > div b,
.motion-pattern--portrait > div b {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}

.motion-pattern--cut > div i {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--mustard);
  animation: ic-motion-cut-demo 4.8s var(--ic-ease-page-enter, cubic-bezier(0.16, 1, 0.3, 1)) infinite;
}

.motion-pattern--stack > div {
  isolation: isolate;
}

.motion-pattern--stack > div i {
  position: absolute;
  width: 42%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgb(247 239 226 / 0.72);
  border-radius: 3px;
  background: var(--coral);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.14);
  animation: ic-motion-stack-demo 6.2s var(--ic-ease-page-enter, cubic-bezier(0.16, 1, 0.3, 1)) infinite;
}

.motion-pattern--stack > div i:nth-child(1) { translate: -46% 12%; animation-delay: -1.2s; }
.motion-pattern--stack > div i:nth-child(2) { z-index: 1; background: var(--sage); animation-delay: -0.6s; }
.motion-pattern--stack > div i:nth-child(3) { z-index: 2; translate: 46% -12%; background: var(--mustard); }

.motion-pattern--resize > div i {
  position: absolute;
  width: 24%;
  aspect-ratio: 9 / 16;
  border: 1px solid rgb(247 239 226 / 0.8);
  border-radius: 4px;
  background: rgb(247 239 226 / 0.12);
  animation: ic-motion-resize-demo 5.6s cubic-bezier(0.83, 0, 0.17, 1) infinite;
}

.motion-pattern--portrait > div {
  background: var(--sage);
}

.motion-pattern--portrait > div i {
  position: absolute;
  inset: 0;
  background: url("assets/iron-cat/photos/fotoEva.webp") 50% 32% / cover;
  clip-path: inset(100% 0 0);
  animation: ic-motion-portrait-demo 6s var(--ic-ease-page-enter, cubic-bezier(0.16, 1, 0.3, 1)) infinite;
}

.motion-pattern--portrait > div b {
  align-self: end;
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.28);
}

.motion-pattern--stagger > div {
  grid-auto-flow: column;
  gap: 10px;
  place-content: center;
  background: var(--paper);
}

.motion-pattern--stagger > div i {
  width: 22px;
  height: 56px;
  border-radius: 2px;
  background: var(--petrol);
  transform-origin: bottom;
  animation: ic-motion-stagger-demo 3.8s var(--ic-ease-page-enter, cubic-bezier(0.16, 1, 0.3, 1)) infinite;
}

.motion-pattern--stagger > div i:nth-child(2) { height: 82px; animation-delay: 90ms; background: var(--coral); }
.motion-pattern--stagger > div i:nth-child(3) { height: 112px; animation-delay: 180ms; background: var(--mustard); }
.motion-pattern--stagger > div i:nth-child(4) { height: 72px; animation-delay: 270ms; background: var(--sage); }

.motion-pattern--header > div {
  display: block;
  background: var(--paper);
  animation: ic-motion-header-demo 7.2s var(--ic-ease-page-enter, cubic-bezier(0.16, 1, 0.3, 1)) infinite;
}

.motion-pattern--header > div i {
  position: absolute;
  top: 20px;
  right: 18px;
  left: 18px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: rgb(255 248 238 / 0.12);
}

.motion-pattern--header > div b,
.motion-pattern--header > div span {
  position: absolute;
  top: 31px;
  height: 10px;
  border-radius: 1px;
  background: currentColor;
}

.motion-pattern--header > div b { left: 30px; width: 52px; }
.motion-pattern--header > div span { right: 30px; width: 28px; }

.motion-pattern--screen > div {
  display: block;
  background: var(--petrol-950);
  color: var(--cream);
}

.motion-pattern--screen > div i {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(7 10 10 / 0.24), rgb(7 10 10 / 0.42)),
    url("assets/iron-cat/textures/fur-graphite-illustrated.webp") center / cover;
  animation: ic-motion-screen-wall 6.4s var(--ic-ease-page-intro, cubic-bezier(0.83, 0, 0.17, 1)) infinite;
}

.motion-pattern--screen > div b,
.motion-pattern--screen > div span,
.motion-pattern--screen > div em {
  position: absolute;
  z-index: 1;
  font-style: normal;
  animation: ic-motion-screen-phase 6.4s var(--ic-ease-page-enter, cubic-bezier(0.16, 1, 0.3, 1)) infinite;
}

.motion-pattern--screen > div b {
  top: 16px;
  left: 18px;
  font: 600 9px/1 var(--mono);
  animation-delay: 80ms;
}

.motion-pattern--screen > div span {
  top: 62px;
  right: 18px;
  left: 18px;
  padding: 10px 12px;
  border: 1px solid rgb(247 239 226 / 0.28);
  border-radius: 3px;
  background: rgb(247 239 226 / 0.14);
  font-size: 10px;
  animation-delay: 180ms;
}

.motion-pattern--screen > div em {
  right: 18px;
  bottom: 16px;
  left: 18px;
  padding: 13px 12px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--petrol);
  font-family: var(--display);
  font-size: 18px;
  animation-delay: 300ms;
}

.motion-home-grammar__fallback {
  padding: 18px 0;
  color: rgb(25 60 67 / 0.62);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-applications {
  margin-top: clamp(80px, 11vw, 164px);
  padding-top: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.home-applications > header {
  display: grid;
  grid-template-columns: 0.72fr 0.9fr 1fr;
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(40px, 6vw, 80px);
}

.home-applications > header h3,
.home-applications > header > p:last-child {
  margin-top: 0;
}

.home-applications__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-applications__grid figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgb(255 248 238 / 0.58);
}

.home-applications__grid figure > div {
  display: grid;
  height: clamp(420px, 48vw, 680px);
  place-items: end center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgb(25 60 67 / 0.12), rgb(25 60 67 / 0.34)),
    var(--sage);
}

.home-applications__grid figure:nth-child(2) > div { background-color: var(--cream-dark); }
.home-applications__grid figure:nth-child(3) > div { background-color: var(--mustard); }

.home-applications__grid picture {
  display: contents;
}

.home-applications__grid img {
  width: min(78%, 330px);
  max-height: 92%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 32px rgb(25 60 67 / 0.2));
}

.home-applications__grid figcaption {
  display: grid;
  min-height: 150px;
  gap: 8px;
  padding: 22px;
}

.home-applications__grid figcaption span {
  color: rgb(25 60 67 / 0.56);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-applications__grid figcaption strong {
  font-family: var(--display);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.home-applications__grid figcaption small {
  align-self: end;
  color: rgb(25 60 67 / 0.68);
  font-size: 12px;
  line-height: 1.45;
}

@keyframes ic-motion-intro-demo {
  0%, 12% { width: 0; }
  38%, 62% { width: 100%; }
  88%, 100% { width: 0; }
}

@keyframes ic-motion-cut-demo {
  0%, 12% { transform: translateY(-78px); }
  46%, 62% { transform: translateY(0); }
  88%, 100% { transform: translateY(78px); }
}

@keyframes ic-motion-stack-demo {
  0%, 14% { transform: translateY(38px) scale(0.94); opacity: 0.52; }
  38%, 70% { transform: translateY(0) scale(1); opacity: 1; }
  92%, 100% { transform: translateY(-22px) scale(0.96); opacity: 0.64; }
}

@keyframes ic-motion-resize-demo {
  0%, 14% { width: 24%; border-radius: 4px; }
  48%, 66% { width: 78%; border-radius: 2px; }
  94%, 100% { width: 24%; border-radius: 4px; }
}

@keyframes ic-motion-portrait-demo {
  0%, 14% { clip-path: inset(100% 0 0); transform: scale(1.08); }
  44%, 70% { clip-path: inset(0); transform: scale(1); }
  94%, 100% { clip-path: inset(0 0 100%); transform: scale(1.03); }
}

@keyframes ic-motion-stagger-demo {
  0%, 16% { transform: scaleY(0.08); opacity: 0.24; }
  42%, 72% { transform: scaleY(1); opacity: 1; }
  94%, 100% { transform: scaleY(0.08); opacity: 0.24; }
}

@keyframes ic-motion-header-demo {
  0%, 20% { background: var(--paper); color: var(--petrol); }
  38%, 58% { background: var(--petrol); color: var(--cream); }
  76%, 100% { background: var(--cream-dark); color: rgb(25 60 67 / 0.52); }
}

@keyframes ic-motion-screen-wall {
  0%, 22% { opacity: 1; transform: scale(1.08); }
  48%, 100% { opacity: 0.26; transform: scale(1); }
}

@keyframes ic-motion-screen-phase {
  0%, 22% { opacity: 0; transform: translateY(12px); }
  48%, 78% { opacity: 1; transform: translateY(0); }
  96%, 100% { opacity: 0; transform: translateY(-6px); }
}

@media (max-width: 980px) {
  .type-row--feature {
    height: auto;
    min-height: 0;
  }

  .motion-home-grammar > header,
  .home-applications > header {
    grid-template-columns: 1fr 1fr;
  }

  .motion-home-grammar > header > p:last-child,
  .home-applications > header > p:last-child {
    grid-column: 2;
  }

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

  .home-applications__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-applications__grid figure:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .type-row--feature {
    height: auto;
    min-height: 0;
  }

  .type-row--feature > div > p {
    font-size: 30px;
  }

  .voice-campaign,
  .motion-home-grammar > header,
  .home-applications > header {
    grid-template-columns: 1fr;
  }

  .motion-home-grammar > header > p:last-child,
  .home-applications > header > p:last-child {
    grid-column: auto;
  }

  .voice-campaign li {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
  }

  .motion-home-grammar__grid,
  .home-applications__grid {
    grid-template-columns: 1fr;
  }

  .motion-pattern {
    min-height: 378px;
  }

  .home-applications__grid figure:last-child {
    grid-column: auto;
  }

  .home-applications__grid figure > div {
    height: min(126vw, 620px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-pattern > div i {
    animation: none !important;
  }

  .motion-pattern--intro > div i { width: 100%; }
  .motion-pattern--cut > div i { transform: translateY(0); }
  .motion-pattern--resize > div i { width: 78%; }
  .motion-pattern--portrait > div i { clip-path: inset(0); transform: none; }
  .motion-pattern--stagger > div i { transform: none; opacity: 1; }
  .motion-pattern--header > div { animation: none; }
  .motion-pattern--screen > div i { opacity: 0.26; transform: none; }
  .motion-pattern--screen > div :is(b, span, em) { animation: none; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Homepage V3 projection · final parity pass
   -------------------------------------------------------------------------- */

/* The specimen must render the same body scale it documents: 18 px on wide
   canvases, easing to the 16 px mobile token without an abrupt breakpoint. */
.type-row--body > div > p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
}

/* The portrait is shown as a real Homepage V3 application, not as another
   contact-sheet tile. Its crop, quiet zone and left-only contrast veil mirror
   the production composition. */
.photo-eva-application {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: clamp(48px, 7vw, 96px) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-dark);
  color: var(--petrol-950);
  isolation: isolate;
}

.photo-eva-application > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 50%;
}

.photo-eva-application__scrim {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgb(247 239 226 / 0.76) 0%,
    rgb(247 239 226 / 0.52) 27%,
    rgb(247 239 226 / 0.12) 47%,
    transparent 60%
  );
  pointer-events: none;
}

.photo-eva-application figcaption {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(24px, 5vw, 72px);
  display: grid;
  width: min(42%, 520px);
  transform: translateY(-50%);
}

.photo-eva-application figcaption > span {
  color: rgb(25 60 67 / 0.7);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.photo-eva-application figcaption h3 {
  max-width: 13ch;
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.photo-eva-application figcaption > p {
  max-width: 42ch;
  color: rgb(25 60 67 / 0.78);
  font-size: clamp(12px, 1.15vw, 15px);
  line-height: 1.5;
}

.photo-eva-application figcaption dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 12px;
  margin-top: clamp(18px, 2.2vw, 30px);
  font-family: var(--mono);
  font-size: clamp(8px, 0.75vw, 10px);
  line-height: 1.35;
}

.photo-eva-application figcaption dt { color: rgb(25 60 67 / 0.5); }
.photo-eva-application figcaption dd { min-width: 0; overflow-wrap: anywhere; }

/* Home removes the diagnostic overlay as soon as its complete composition no
   longer has room. Keep the Brand specimen on the same breakpoint contract. */
@media (max-width: 1100px) {
  .hero-application__signals { display: none; }
}

@media (max-width: 900px) {
  .photo-eva-application {
    aspect-ratio: 4 / 5;
    min-height: 620px;
  }

  .photo-eva-application > img { object-position: 76% 50%; }

  .photo-eva-application__scrim {
    background: linear-gradient(
      180deg,
      rgb(247 239 226 / 0.88) 0%,
      rgb(247 239 226 / 0.66) 38%,
      rgb(247 239 226 / 0.08) 68%,
      transparent 82%
    );
  }

  .photo-eva-application figcaption {
    top: clamp(28px, 7vw, 56px);
    right: clamp(24px, 6vw, 48px);
    left: clamp(24px, 6vw, 48px);
    width: auto;
    transform: none;
  }

  .photo-eva-application figcaption h3 {
    max-width: 15ch;
    font-size: clamp(34px, 8vw, 52px);
  }
}

@media (max-width: 520px) {
  .photo-eva-application {
    min-height: 590px;
    aspect-ratio: auto;
  }

  .photo-eva-application figcaption > p { max-width: 34ch; }
  .photo-eva-application figcaption dl { display: none; }
}

/* Homepage V3 · navigation sheet and closing action. These specimens document
   the shell refinements without coupling Brand Kit layout to production header
   or footer selectors. */
.component-spec--mobile-menu { min-height: 610px; }

.mobile-menu-spec {
  position: relative;
  min-height: 330px;
  margin-top: auto;
  padding: 14px;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(rgb(7 10 10 / 0.52), rgb(7 10 10 / 0.52)),
    url("assets/iron-cat/textures/fur-graphite-illustrated.webp") center / cover;
}

.mobile-menu-spec__bar {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--cream);
}

.mobile-menu-spec__bar strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}

.mobile-menu-spec__bar span { font-size: 9px; }

.mobile-menu-spec__sheet {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 0 14px 14px;
  border: 1px solid rgb(25 60 67 / 0.16);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgb(7 10 10 / 0.24);
}

.mobile-menu-spec__sheet > span:not(.ic-button) {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--petrol-950);
  font-family: var(--display);
  font-size: 22px;
}

.mobile-menu-spec__sheet > span:not(.ic-button) i {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
}

.mobile-menu-spec__sheet .ic-button {
  width: 100%;
  margin-top: 14px;
  border-radius: 999px;
  clip-path: inset(0 round 999px);
}

.component-spec--final-cta { min-height: 0; }

.final-cta-spec {
  position: relative;
  display: grid;
  min-height: clamp(360px, 38vw, 520px);
  margin-top: 24px;
  overflow: hidden;
  place-items: center;
  border-radius: 4px;
  background: var(--petrol-950);
  color: var(--cream);
  isolation: isolate;
}

.final-cta-spec > img {
  position: absolute;
  z-index: -1;
  right: clamp(-36px, -2vw, -10px);
  bottom: -2px;
  width: clamp(180px, 26vw, 360px);
  max-height: 92%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.15;
}

.final-cta-spec__copy {
  display: grid;
  width: min(780px, calc(100% - 48px));
  justify-items: center;
  text-align: center;
}

.final-cta-spec__copy > span:first-child {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-cta-spec__copy h5 {
  max-width: 16ch;
  margin: 18px 0 26px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.final-cta-spec__copy h5 span { color: var(--mustard); }

.final-cta-spec__copy > p {
  max-width: 46ch;
  margin: -10px 0 24px;
  color: rgb(247 239 226 / 0.76);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.45;
  text-wrap: balance;
}

.final-cta-spec__copy .ic-button { width: min(100%, 320px); }

.final-cta-spec__copy > small {
  margin-top: 16px;
  color: rgb(247 239 226 / 0.68);
  font-size: 11px;
}

@media (max-width: 520px) {
  .component-spec--mobile-menu { min-height: 0; }
  .mobile-menu-spec { min-height: 314px; margin-top: 20px; }
  .final-cta-spec { min-height: 410px; }
  .final-cta-spec > img { right: -62px; width: 250px; opacity: 0.12; }
  .final-cta-spec__copy { width: calc(100% - 32px); }
  .final-cta-spec__copy > p { max-width: 30ch; margin-bottom: 20px; }
}

/* 01F · Dock glass de producto. El componente real vive en
   app-nav-system.css; aquí solo se construye el lienzo de documentación. */
.component-spec--app-nav {
  min-height: 610px;
  background: rgb(241 231 216 / 0.42);
}

.component-spec--app-nav > p { max-width: 56ch; }

.app-nav-spec {
  position: relative;
  min-height: 330px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgb(25 60 67 / 0.12);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgb(255 248 238 / 0.84), rgb(183 200 190 / 0.48)),
    var(--paper);
  isolation: isolate;
}

.app-nav-spec__backdrop {
  position: absolute;
  z-index: -1;
  inset: 24px;
}

.app-nav-spec__backdrop i {
  position: absolute;
  display: block;
  border: 1px solid rgb(25 60 67 / 0.08);
  border-radius: 8px;
  background: rgb(255 248 238 / 0.5);
  box-shadow: 0 16px 42px rgb(25 60 67 / 0.06);
}

.app-nav-spec__backdrop i:nth-child(1) { top: 10px; left: 2%; width: 27%; height: 124px; }
.app-nav-spec__backdrop i:nth-child(2) { top: 34px; left: 33%; width: 38%; height: 154px; background: rgb(183 200 190 / 0.42); }
.app-nav-spec__backdrop i:nth-child(3) { top: 4px; right: 2%; width: 22%; height: 108px; background: rgb(242 194 78 / 0.18); }

.app-nav-spec .ic-app-nav--dock {
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: min(620px, calc(100% - 40px));
}

.app-nav-spec__tokens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.app-nav-spec__tokens > div { min-width: 0; padding: 14px 16px; background: rgb(255 248 238 / 0.74); }
.app-nav-spec__tokens dt { color: rgb(25 60 67 / 0.62); font: 600 9px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.app-nav-spec__tokens dd { margin: 6px 0 0; color: var(--petrol-950); font-size: 11px; line-height: 1.35; }

@media (max-width: 640px) {
  .component-spec--app-nav { min-height: 0; }
  .app-nav-spec { min-height: 290px; }
  .app-nav-spec__backdrop { inset: 16px; }
  .app-nav-spec .ic-app-nav--dock { bottom: 30px; width: calc(100% - 16px); }
  .app-nav-spec__tokens { grid-template-columns: 1fr; }
}
