/* About-only chronological reading path. Shared navigation and footer stay unchanged. */
.about-history {
  --story-heading: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
  --story-date: clamp(1.4rem, 1.1rem + 1.1vw, 2.2rem);
  --story-gold: #947020;
  --story-ink: #0b1c28;
}
.about-history .about-title {
  padding-block: clamp(var(--space-8), 4vw, var(--space-16)) var(--space-8);
}
.about-history .about-title__h {
  font-size: clamp(3.4rem, 7.5vw, 7rem);
  line-height: 1;
}
.story-eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--story-gold);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.story-intro {
  max-width: 64ch;
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}
.about-history .story-hero {
  min-height: 0;
  height: clamp(18rem, 31vw, 30rem);
  padding-block: var(--space-10);
}
.story-hero__line {
  margin: 0;
  color: #fff;
  font-size: var(--story-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.story-chapter {
  padding-block: clamp(var(--space-12), 6.5vw, var(--space-24));
  border-bottom: 1px solid var(--color-divider);
  scroll-margin-top: 6rem;
}
.story-chapter--surface {
  background: var(--color-surface);
}
.story-era {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-6);
  margin: 0 0 var(--space-8);
  color: var(--story-gold);
}
.story-era > :first-child {
  font-size: var(--story-date);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.story-era > :last-child:not(:first-child) {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}
.story-chapter h2 {
  margin: 0;
  max-width: 21ch;
  font-size: var(--story-heading);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.story-chapter h3 {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xl);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.story-copy {
  max-width: 67ch;
}
.story-copy p,
.story-first > p:last-child {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}
.story-copy p + p {
  margin-top: var(--space-4);
}
.story-chapter h2 + .story-copy,
.story-copy h3 + p {
  margin-top: var(--space-6);
}
.story-copy a,
.story-caption a,
.story-chapter figcaption a,
.story-text-link {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.story-chapter a:focus-visible,
.story-project summary:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 5px;
}
.story-deck {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.4;
}
.story-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  list-style: none;
  padding: var(--space-5) 0 0;
  margin: var(--space-6) 0 0;
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}
.story-capabilities--large {
  margin-top: var(--space-10);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.story-tv {
  width: min(100%, 24rem);
  justify-self: center;
  margin: 0;
}
.story-tv img {
  display: block;
  width: 100%;
  height: auto;
}
.story-tv figcaption,
.story-caption,
.story-copy p.story-caption {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.5;
}
.story-tv figcaption {
  text-align: center;
}
.story-first {
  max-width: 70rem;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.story-first .story-era {
  margin-bottom: var(--space-5);
}
.story-first > p:last-child {
  max-width: 72ch;
}
.story-chapter .about-commerce,
.story-chapter .about-acxiom-proof {
  margin-top: var(--space-10);
}
.story-client-note {
  display: grid;
  gap: var(--space-6);
  padding-top: var(--space-10);
}
.story-nitelite-logo {
  display: block;
  width: 150px;
  height: auto;
}
.story-chapter .about-story-art__frame {
  aspect-ratio: 4 / 3;
}
.story-project {
  border-bottom: 1px solid var(--color-divider);
}
.story-production-reel {
  margin: var(--space-8) 0 0;
  scroll-margin-top: 6rem;
}
.story-production-reel video {
  background: var(--story-ink);
}
.story-project:first-child,
.story-chapter > .shell > .story-project {
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.story-project summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 5rem;
  padding-block: var(--space-5);
  cursor: pointer;
  list-style: none;
  font-size: var(--text-lg);
  line-height: 1.35;
  font-weight: 600;
}
.story-project summary::-webkit-details-marker {
  display: none;
}
.story-project .story-eyebrow {
  display: block;
  margin-bottom: var(--space-2);
}
.story-project__plus {
  position: relative;
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
}
.story-project__plus::before,
.story-project__plus::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  width: 100%;
  height: 2px;
  background: currentColor;
}
.story-project__plus::after {
  transform: rotate(90deg);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), opacity .4s ease;
}
.story-project[open]:not(.is-closing) .story-project__plus::after {
  transform: rotate(0deg);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .story-project__plus::after { transition: none; }
}
.story-project__body {
  display: grid;
  align-items: start;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
}
.story-project__body > img {
  width: 100%;
  height: auto;
}
.story-project__body .about-story-art__frame {
  aspect-ratio: 4 / 3;
}
.story-project__body .about-story-art__frame--uams {
  aspect-ratio: 8 / 5;
}
.story-project__body .story-copy {
  align-self: center;
}
/* A project told without archive imagery: the steps stand in for the picture. */
.story-project__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: story-step;
  border-top: 1px solid var(--color-border, rgb(19 31 40 / 0.15));
}
.story-project__steps li {
  counter-increment: story-step;
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border, rgb(19 31 40 / 0.15));
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
}
.story-project__steps li::before {
  content: counter(story-step, decimal-leading-zero);
  flex: none;
  min-width: 2ch;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold, #b8860b);
}
.story-portal__panel {
  display: grid;
  gap: var(--space-8);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  margin-top: var(--space-10);
  color: #fff;
  background: var(--story-ink);
}
.story-knot {
  display: block;
  width: 3.5rem;
  aspect-ratio: 1;
  margin-bottom: var(--space-6);
  background: #d8bb7b;
  -webkit-mask: url('/assets/img/matmon-mark.svg') center / contain no-repeat;
  mask: url('/assets/img/matmon-mark.svg') center / contain no-repeat;
}
.story-portal__brand h3 {
  color: #fff;
}
.story-portal__brand p,
.story-portal__features dd {
  color: #c1cfd5;
  font-size: var(--text-base);
  line-height: 1.6;
}
.story-portal__features {
  display: grid;
  gap: var(--space-6);
}
.story-portal__features > div + div {
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / .2);
}
.story-portal__features dt {
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.4;
}
.story-portal__features dd {
  margin: 0;
}
.about-history .about-team-section {
  padding-block: var(--space-12);
}
.story-team-note {
  max-width: 76ch;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}
.about-history .about-team-section .sec-title {
  font-size: var(--story-heading);
  max-width: 22ch;
}
.story-community {
  background: #ede9e0;
}
.story-community__media {
  display: grid;
  align-items: start;
  gap: var(--space-8);
  margin-top: var(--space-10);
}
.story-community__media figure {
  margin: 0;
}
.story-community__gathering > a > img {
  display: block;
  width: 100%;
  height: auto;
}
.story-community__gathering figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--story-ink);
  color: #d6e1e6;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.story-community__gathering figcaption img {
  flex: none;
  width: 4rem;
  height: auto;
}
.story-community__gathering figcaption a {
  color: #fff;
}
.story-community__magazine {
  width: min(100%, 18rem);
  justify-self: center;
  scroll-margin-top: 6rem;
}
.story-community__magazine img {
  display: block;
  width: 100%;
  height: auto;
}
.story-community__magazine figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.story-community__credits {
  margin-top: var(--space-8);
  max-width: 80ch;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: 1.65;
}
.story-community__credits p + p {
  margin-top: var(--space-3);
}
.story-ending {
  color: #fff;
  background: var(--story-ink);
}
.story-ending .story-grid {
  align-items: start;
}
.story-ending .story-era,
.story-ending h2 span {
  color: #d8bb7b;
}
.story-ending h2 {
  color: #fff;
  overflow-wrap: normal;
}
.story-ending .story-copy p {
  color: #c1cfd5;
}
.story-ending__knot {
  width: clamp(5rem, 9vw, 9rem);
  margin-top: var(--space-8);
  margin-bottom: 0;
}
.story-ending .story-text-link {
  display: inline-block;
  padding-block: var(--space-3);
  margin-top: var(--space-5);
  color: #fff;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.story-ending__invitation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-8);
  margin-top: var(--space-10);
  border-top: 1px solid rgb(255 255 255 / .2);
}
.story-ending__invitation p {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
}
@media (min-width: 900px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(var(--space-8), 4vw, var(--space-16));
  }
  .story-grid--copy {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .story-origin .story-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  }
  .story-client-note {
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
    gap: var(--space-10);
  }
  .story-project__body {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }
  .story-portal__panel {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: var(--space-12);
  }
  .story-community__media {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr);
    gap: var(--space-10);
  }
}
@media (max-width: 767px) {
  .about-history .about-title__h {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }
  .story-hero__line {
    font-size: var(--text-2xl);
  }
  .story-era {
    display: grid;
    gap: var(--space-2);
  }
  .story-grid,
  .story-copy,
  .story-grid > *,
  .story-portal__panel > * {
    min-width: 0;
  }
  .story-chapter h2 {
    text-wrap: pretty;
  }
  .story-ending h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.5rem);
  }
  .story-portal__panel {
    padding: var(--space-6);
  }
  .story-portal__brand h3 {
    font-size: var(--text-lg);
  }
  .story-community__gathering figcaption {
    align-items: start;
    padding: var(--space-4);
    gap: var(--space-3);
    font-size: var(--text-xs);
  }
  .story-community__gathering figcaption img {
    width: 3rem;
  }
}
