.story-motto {
  padding: clamp(56px, 6vw, 96px) 0 var(--section);
}

.story-motto-title {
  max-width: 12em;
  position: relative;
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.content.story-motto-text {
  max-width: 560px;
  margin-top: 32px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.content.story-motto-text strong {
  font-weight: 600;
  color: var(--ink);
}

.story-cell {
  position: relative;
  display: inline-block;
  padding: 0 0.12em;
  margin: 0 -0.02em;
}

.story-cell-frame {
  position: absolute;
  inset: -0.04em 0 -0.06em;
  border: max(2.5px, 0.032em) solid var(--red);
  border-radius: 0.18em;
  pointer-events: none;
}

.story-nowrap {
  white-space: nowrap;
}

html.motion .story-motto-title {
  color: #c6c4cc;
}

html.motion .story-motto :is(.story-cell-frame, .bang) {
  opacity: 0;
}

html.motion .story-motto-text {
  animation: page-rise 0.9s var(--ease) 0.35s backwards;
}

html.motion .story-motto:not(.is-split) .story-motto-title {
  visibility: hidden;
  animation: story-ink 0s 2.4s forwards;
}

html.motion .story-motto:not(.is-split) :is(.story-cell-frame, .bang) {
  animation: story-safe 0s 2.4s forwards;
}

@keyframes story-safe {
  to {
    opacity: 1;
  }
}

@keyframes story-ink {
  to {
    color: var(--ink);
    visibility: visible;
  }
}

:is(#name-title, #values-title, #cells-title) .word-mask {
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.story-name {
  position: relative;
  isolation: isolate;
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--paper);
}

.story-name::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0.8px, transparent 1.6px) 0 0 / 32px 32px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000, transparent);
  pointer-events: none;
}

@property --shut {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

html.motion .story-name {
  --shut: 1;
  --bleed-x: min(120px, max(4%, (100% - var(--container)) / 2));
  --bleed-r: 40px;
  clip-path: inset(0px calc(var(--bleed-x) * var(--shut)) 0px calc(var(--bleed-x) * var(--shut)) round calc(var(--bleed-r) * var(--shut)));
}

.story-name-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: stretch;
  gap: 56px clamp(48px, 6vw, 112px);
}

.story-name .h2 {
  max-width: 13em;
}

.story-name-text {
  max-width: 600px;
  margin-top: 32px;
}

.story-rail {
  max-width: calc(600px + 48px);
  margin: 30px -24px -2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-padding-inline: 24px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 96px), transparent);
}

.story-rail::-webkit-scrollbar {
  display: none;
}

.story-rail.is-glide {
  overflow: clip;
}

.story-chips {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 4px 96px 4px 24px;
}

.story-chips li {
  flex: none;
}

.story-chips a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, scale 0.15s var(--ease);
}

.story-chips i {
  flex: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.story-chips a:focus-visible i {
  color: var(--red);
}

.story-tally {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: var(--pad);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.story-tally::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  z-index: -1;
  width: 360px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 25, 72, 0.16), transparent);
  pointer-events: none;
}

.story-tally-line {
  width: 100%;
  max-width: 460px;
  margin-block: auto;
}

.story-tally-marks {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: rgba(246, 244, 238, 0.92);
  stroke-width: 4.2;
  stroke-linecap: round;
}

.story-chalk {
  filter: url(#story-chalk);
}

.story-tally-marks .is-now {
  stroke: var(--red);
}

.story-tally-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.5);
}

.story-tally-axis span {
  color: var(--red-on-dark);
}

.story-tally-count {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.story-tally-count strong {
  font-size: clamp(64px, 6vw, 104px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.story-tally-count span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.story-values {
  --story-gap: clamp(48px, 6vw, 96px);
  padding: var(--section) 0;
}

.story-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}

.story-head .h2 {
  max-width: 22em;
}

.story-head p {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.story-deck {
  --card-h: clamp(400px, 54vh, 500px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-value {
  --i: 0;
  position: sticky;
  isolation: isolate;
  overflow: hidden;
  top: calc(var(--header) + 16px + var(--i) * 14px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  height: var(--card-h);
  padding: var(--pad);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06), 0 -18px 44px -30px rgba(17, 17, 17, 0.28), 0 24px 60px -36px rgba(17, 17, 17, 0.22);
  transform-origin: 50% 0;
}

.story-value:nth-child(2) {
  --i: 1;
}

.story-value:nth-child(3) {
  --i: 2;
}

.story-value:nth-child(4) {
  --i: 3;
}

.story-value + .story-value {
  margin-top: 24px;
}

.story-value-art {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: calc(var(--radius) - 8px);
  background: radial-gradient(circle at 50% 44%, rgba(255, 25, 72, 0.1), transparent 62%), radial-gradient(circle at 14px 14px, rgba(255, 255, 255, 0.1) 1px, transparent 1.6px) 0 0 / 28px 28px, #141416;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.story-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-focus .grid {
  display: none;
}

.is-focus .person {
  stroke: rgba(255, 255, 255, 0.3);
}

.is-focus .you {
  stroke: #fff;
  stroke-width: 1.8;
}

.is-focus .ring {
  stroke: var(--red);
  opacity: 0;
}

.is-focus .br {
  stroke: var(--red);
  stroke-width: 2.4;
}

.is-quality .guides {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.is-quality .frame {
  stroke: rgba(255, 255, 255, 0.45);
}

.is-quality .lamps {
  fill: rgba(255, 255, 255, 0.3);
  stroke: none;
}

.is-quality .is-cta {
  fill: var(--red);
  stroke: none;
}

.is-quality .seal {
  stroke: var(--red);
  stroke-width: 2.2;
}

.is-clear .eye {
  stroke: #fff;
}

.is-clear .pupil {
  fill: var(--red);
  stroke: none;
}

.is-clear .layer rect {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.35);
}

.is-clear .lit {
  stroke: rgba(255, 255, 255, 0.28);
}

.is-clear circle.lit {
  fill: rgba(255, 255, 255, 0.28);
  stroke: none;
}

.is-clear .scan {
  opacity: 0;
}

.is-clear .beam {
  stroke: var(--red);
  stroke-width: 2;
}

.is-growth .axis {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1;
}

.is-growth .tick {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-dasharray: 3 5;
}

.is-growth .ghost {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-dasharray: 4 6;
}

.is-growth .curve {
  stroke: #fff;
  stroke-width: 2;
}

.is-growth .marks circle {
  fill: #141416;
  stroke: #fff;
}

.is-growth .marks .top {
  fill: var(--red);
  stroke: var(--red);
}

.is-growth .pulse {
  stroke: var(--red);
  opacity: 0;
}

.story-value-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-right: clamp(0px, 2vw, 32px);
}

.story-value-glyph {
  position: absolute;
  right: -12px;
  bottom: -56px;
  z-index: -1;
  font-size: clamp(120px, 12vw, 180px);
  line-height: 1;
  color: rgba(17, 17, 17, 0.06);
  mask-image: linear-gradient(to bottom, #000 25%, transparent 90%);
  transform-origin: 80% 100%;
  transition: color 0.6s var(--ease), translate 0.6s var(--ease), rotate 0.6s var(--ease);
}

.story-value.is-on .story-value-glyph {
  color: rgba(255, 25, 72, 0.16);
  translate: 0 -8px;
  rotate: -4deg;
}

.story-value h3 {
  font-size: clamp(24px, 1.4vw + 16px, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.story-value p {
  max-width: 46ch;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

.story-cells {
  padding-bottom: var(--section);
}

.story-cells-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.story-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  padding: var(--pad);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.story-card-main {
  grid-column: span 2;
  justify-content: space-between;
}

.story-card-main .h2 {
  max-width: 11em;
  font-size: min(var(--h2), 46px);
}

.story-card-main p {
  max-width: 460px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.story-keyhole {
  position: absolute;
  top: -56px;
  right: -56px;
  z-index: -1;
  width: 280px;
  height: auto;
  fill: rgba(17, 17, 17, 0.06);
  mask-image: linear-gradient(to bottom left, #000 55%, transparent 100%);
  transform-origin: 50% 0;
}

.story-trace {
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-dasharray: 0 1;
}

.story-office-pin {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--red);
  font-size: 22px;
}

.story-office h3 {
  margin-top: 28px;
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.story-office address {
  margin: -8px 0 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.story-map {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  height: 40px;
  margin-top: auto;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), scale 0.15s var(--ease);
}

.story-map i {
  font-size: 14px;
  transition: translate 0.25s var(--ease);
}

.story-brands {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 32px;
}

.story-brands-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.story-brands-more {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.story-brands-num {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.story-brands-num strong {
  font-size: clamp(56px, 4.6vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.story-brands-num span {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-2);
}

.story-brands-num.is-small {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.story-brands-num.is-small strong {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.story-brands .hero-link {
  min-height: 36px;
}

.story-logos {
  --base: 48px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  background: #e8e7eb;
}

.story-logos li {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 12px;
  background: var(--paper);
}

.story-logos img {
  width: auto;
  height: calc(var(--base) * var(--f, 0.8));
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease);
}

.story-logos .story-logos-more {
  padding: 0;
}

.story-logos-more a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 16px;
  border-bottom-right-radius: calc(var(--radius) - 8px);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.4s var(--ease), scale 0.15s var(--ease);
}

.story-logos-more a:focus-visible {
  outline-offset: -4px;
}

.story-go {
  display: grid;
  place-items: center;
  align-self: flex-end;
  overflow: hidden;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2);
  font-size: 16px;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.story-go i {
  grid-area: 1 / 1;
  transition: translate 0.5s var(--ease);
}

.story-go i:last-child {
  translate: -160% 160%;
}

@media (min-width: 1500px) {
  .story-motto .container {
    display: grid;
    grid-template-columns: max-content minmax(0, 520px);
    justify-content: space-between;
    align-items: end;
    column-gap: clamp(56px, 5vw, 88px);
  }

  .content.story-motto-text {
    max-width: 560px;
    margin-top: 0;
    padding-bottom: 0.3em;
    font-size: clamp(16px, 1.1vw, 19px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .story-chips a:hover {
    border-color: rgba(255, 25, 72, 0.4);
    background: rgba(255, 25, 72, 0.07);
    color: #fff;
  }

  .story-chips a:hover i {
    color: var(--red);
  }

  .story-map:hover {
    background: var(--ink);
    color: var(--paper);
  }

  html.motion .story-map:hover i {
    translate: 2px -2px;
  }

  .story-logos li:not(.story-logos-more):hover img {
    opacity: 1;
    filter: grayscale(0);
  }

  .story-logos-more a:is(:hover, :focus-visible) {
    background: #000;
  }

  .story-logos-more a:is(:hover, :focus-visible) .story-go {
    background: var(--red);
    box-shadow: inset 0 0 0 1.5px var(--red);
  }

  html.motion .story-logos-more a:is(:hover, :focus-visible) .story-go i:first-child {
    translate: 160% -160%;
  }

  html.motion .story-logos-more a:is(:hover, :focus-visible) .story-go i:last-child {
    translate: 0 0;
  }
}

html.motion :is(.story-chips a, .story-map, .story-logos-more a):active {
  scale: 0.97;
}

@media (pointer: coarse) {
  .story-chips a {
    min-height: 40px;
  }

  .story-brands .hero-link {
    min-height: 44px;
  }

  .story-chips a::after,
  .story-map::after {
    content: "";
    position: absolute;
    inset: -2px;
  }
}

@media (hover: hover) and (pointer: fine) {
  html:not(.motion) .story-rail {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  }
}

@media (max-width: 1279px) {
  .story-name-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-value {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .story-name-copy {
    max-width: 720px;
  }

  .story-tally {
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    column-gap: 48px;
  }

  .story-tally-line {
    flex: 1 1 360px;
    max-width: 520px;
    margin-block: 0;
  }

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

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

  .story-card-main {
    min-height: 260px;
  }
}

@media (max-width: 1023px) {
  .story-brands {
    grid-template-columns: minmax(0, 1fr);
  }

  html.motion .story-name {
    --bleed-x: min(64px, 4%);
    --bleed-r: 32px;
  }

  .story-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-value {
    top: calc(var(--header) + 12px + var(--i) * 12px);
    gap: 32px;
    height: auto;
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  html.motion .story-name {
    --bleed-x: 10px;
    --bleed-r: 20px;
  }

  .story-name-grid {
    row-gap: 40px;
  }

  .story-name-text {
    margin-top: 24px;
  }

  .story-rail {
    margin-inline: -16px;
    scroll-padding-inline: 16px 40px;
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 40px), transparent);
  }

  .story-chips {
    padding-inline: 16px 40px;
  }

  .story-tally {
    gap: 24px;
    padding: 24px;
  }

  .story-head p {
    font-size: 16px;
  }

  .story-card-main p {
    font-size: 16px;
  }

  .story-value {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
    padding: 16px 16px 24px;
  }

  .story-value-art {
    width: 100%;
    max-height: 40vh;
    aspect-ratio: 16 / 11;
  }

  .story-value-copy {
    justify-content: flex-start;
    padding: 0 4px;
  }

  .story-value-glyph {
    bottom: -40px;
    font-size: 96px;
  }

  .story-value p {
    margin-top: 10px;
    font-size: 15px;
  }

  .story-cells-grid {
    gap: 12px;
  }

  .story-card-main,
  .story-office {
    grid-column: span 2;
    gap: 24px;
    min-height: 0;
    padding: 24px;
  }

  .story-office h3 {
    margin-top: 0;
  }

  .story-office address {
    margin: -16px 0 0;
  }

  .story-brands {
    gap: 24px;
    padding: 24px;
  }

  .story-brands-num strong {
    font-size: 52px;
  }

  .story-keyhole {
    top: -40px;
    right: -44px;
    width: 170px;
  }

  .story-logos {
    --base: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-logos li {
    min-height: 80px;
    padding: 8px;
  }

  .story-logos-more a {
    padding: 12px;
    font-size: 13px;
  }
}

@media (max-width: 399px) {
  .story-logos-more a {
    padding: 10px;
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  .story-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .story-name-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .story-value {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-value-art {
    aspect-ratio: 16 / 9;
  }

  .story-value-copy {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .story-head {
    margin-bottom: 36px;
  }
}

@media (max-height: 639px) {
  .story-value {
    position: relative;
    top: auto;
  }
}
