.identity-page {
  --id-ink: #222323;
  --id-muted: #555357;
  --id-line: #dedde2;
  --id-lilac: #ede6fb;
  --id-plum: #654486;
  color: var(--id-ink);
  background-color: #fff;
  font: 400 1rem/1.55 "Manrope", Arial, sans-serif;
  margin: 0;
}
.identity-page *, .identity-page ::before, .identity-page ::after { box-sizing: border-box; }
.identity-bound { width: min(100% - 2 * clamp(1.25rem, 4.8vw, 5.25rem), 85rem); margin-inline: auto; }
.identity-top { border-bottom: 1px solid var(--id-line); }
.identity-top-inner, .identity-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.identity-top-inner { min-height: clamp(5rem, 7vw, 6.5rem); }
.identity-home { display: block; width: clamp(9rem, 18vw, 16rem); flex: 0 1 auto; }
.identity-home img, .identity-signature img { display: block; width: 100%; height: auto; }
.identity-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 2.75rem;
  border: 1px solid var(--id-ink);
  border-radius: 3rem;
  color: white;
  background: var(--id-ink);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  padding: .7rem 1.25rem;
}
.identity-return:hover, .identity-return:focus-visible { background: var(--id-plum); border-color: var(--id-plum); }
.identity-page :focus-visible { outline: 3px solid #654486; outline-offset: 4px; }
.identity-skip { position: absolute; left: 1rem; top: 0; background: #fff; z-index: 5; padding: .75rem; transform: translateY(-150%); }
.identity-skip:focus { transform: translateY(0); }
.identity-page h1, .identity-page h2, .identity-specimen { font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif; font-weight: 500; }
.identity-intro, .identity-heading { display: grid; align-items: end; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(1.5rem, 6vw, 7rem); }
.identity-intro { padding: clamp(3.8rem, 7vw, 7.8rem) 0 clamp(1.6rem, 3.3vw, 3.2rem); }
.identity-label, .identity-type-label { margin: 0; font-weight: 600; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.identity-label { display: flex; gap: .7rem; align-items: center; margin-bottom: 1.4rem; }
.identity-label::before { content: ""; width: 1.7rem; height: .73rem; background: #405e9d; border-radius: 1rem; transform: rotate(-19deg); }
.identity-page h1 { margin: 0; max-width: 10ch; font-size: clamp(4.25rem, 9.7vw, 10rem); line-height: .85; letter-spacing: -.046em; }
.identity-page h1 em, .identity-specimen em { font-style: normal; }
.identity-page h1 em { display: block; color: var(--id-plum); }
.identity-intro > p { max-width: 29ch; font-size: clamp(1.12rem, 1.7vw, 1.55rem); line-height: 1.4; margin: 0 0 .1em; }
.identity-index { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 4rem); }
.identity-index a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem 1.1rem; border: 1px solid var(--id-line); border-radius: 3rem; color: var(--id-ink); text-decoration: none; font-size: .875rem; font-weight: 600; }
.identity-index a:hover, .identity-index a:focus-visible { background: var(--id-lilac); }
.identity-chapter { border-top: 1px solid var(--id-line); padding: clamp(2rem, 4.8vw, 4.6rem) 0 clamp(3rem, 7vw, 6.5rem); }
.identity-heading { align-items: start; margin-bottom: clamp(1.7rem, 3.4vw, 3rem); }
.identity-page h2 { margin: 0; font-size: clamp(2.75rem, 5.45vw, 5.6rem); letter-spacing: -.038em; line-height: .96; scroll-margin-top: 1rem; }
.identity-heading > p { margin: 0; max-width: 43ch; color: var(--id-muted); font-size: clamp(1rem, 1.35vw, 1.15rem); }
.identity-logostage { background: #eef5f5; display: grid; place-items: center; padding: clamp(1.65rem, 5.7vw, 5.7rem); border-radius: 1.5rem; }
.identity-signature { width: min(83%, 61rem); padding: clamp(2rem, 5.4vw, 5.3rem) clamp(1.6rem, 5.3vw, 5rem); background: #fff; border: 1px solid #d5e0e3; border-radius: .35rem; box-shadow: .38rem .38rem 0 #c0d5d9; }
.identity-caption { margin: .85rem 0 0; color: var(--id-muted); font-size: .875rem; line-height: 1.5; }
.identity-typegrid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 1rem; }
.identity-typesample { padding: clamp(1.65rem, 3.8vw, 4rem); border-radius: 1.5rem; }
.identity-typesample-title { color: #312442; background: var(--id-lilac); }
.identity-specimen { font-size: clamp(2.9rem, 6.4vw, 6.3rem); line-height: .96; letter-spacing: -.04em; margin: clamp(2rem, 4.5vw, 4rem) 0 .2rem; }
.identity-specimen em { color: var(--id-plum); }
.identity-typesample-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; color: #362f26; background: #fff1ce; }
.identity-type-label { line-height: 1.5; letter-spacing: .04em; }
.identity-body-lead { font-size: clamp(1.5rem, 2.35vw, 2.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; margin: 1.8rem 0 1rem; }
.identity-typesample-copy > p:nth-last-child(2) { line-height: 1.65; max-width: 37ch; margin: 0; }
.identity-diacritics { margin: 1.6rem 0 0; font-size: .875rem; }
.identity-palette { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: clamp(.5rem, 1.15vw, 1.15rem); margin: 0; padding: 0; list-style: none; }
.identity-palette li { display: flex; flex-direction: column; }
.identity-palette i { display: block; aspect-ratio: 1; background: var(--sample); border-radius: 50% 50% .42rem .42rem; }
.identity-palette li:nth-child(3n + 2) i { border-radius: 50%; }
.identity-palette li:nth-child(3n) i { border-radius: .47rem 50% .47rem 50%; }
.identity-palette b, .identity-palette span { font-size: .875rem; line-height: 1.45; overflow-wrap: anywhere; }
.identity-palette b { font-weight: 600; margin-top: 1rem; }
.identity-palette span { margin-top: .18rem; color: var(--id-muted); }
.identity-last { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; column-gap: clamp(2.5rem, 6vw, 6rem); }
.identity-last .identity-heading { grid-template-columns: 1fr; gap: 1.4rem; }
.identity-art { margin: 0; }
.identity-art img { display: block; width: 100%; height: auto; border-radius: 1.5rem; }
.identity-footer { border-top: 1px solid var(--id-line); padding: 1.6rem 0 2.4rem; flex-wrap: wrap; }
.identity-footer p { font-size: .875rem; color: var(--id-muted); margin: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .identity-palette i { transform-origin: 50% 75%; transition: transform .25s ease; }
  .identity-palette li:hover i { transform: translateY(-.3rem) rotate(-4deg); }
}
@media (max-width: 60rem) {
  .identity-palette { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.65rem 1rem; }
}
@media (max-width: 46rem) {
  .identity-intro, .identity-heading, .identity-last, .identity-typegrid { grid-template-columns: 1fr; }
  .identity-intro { row-gap: 1.6rem; }
  .identity-heading { row-gap: .9rem; }
  .identity-intro > p { max-width: 39ch; }
  .identity-signature { width: 92%; }
  .identity-top-inner { min-height: 4.65rem; gap: .65rem; }
  .identity-home { max-width: 44%; }
  .identity-return { font-size: .875rem; padding-inline: .95rem; }
}
@media (max-width: 34rem) {
  .identity-palette { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.35rem .65rem; }
  .identity-logostage, .identity-typesample, .identity-art img { border-radius: 1rem; }
  .identity-index { gap: .4rem; }
}
