@import './mission.css';

/* The story leads. Product navigation appears only after the explanation. */
.story-header {
  padding: 7px 0;
  background: var(--surface);
}
.story-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.story-header .selected-logo {
  width: 270px;
  height: auto;
}
.story-header-note {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.story-footer {
  padding: 25px 0;
  background: var(--inverse);
  color: var(--on-inverse);
}
.story-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
.story-page {
  background: var(--surface);
}
.story-page .wrap {
  max-width: 1200px;
}
.story-hero-copy {
  padding-top: 65px;
  padding-bottom: 60px;
}
.story-hero h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.06;
  letter-spacing: -4px;
  margin-top: 22px;
}
.story-hero-copy > p:not(.eyebrow) {
  font-size: 23px;
  line-height: 1.55;
  margin-top: 30px;
  color: var(--ink);
}
.story-intro {
  color: var(--muted);
  max-width: 650px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.8;
}
.story-scroll {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: var(--primary);
  font-size: 14px;
  padding: 22px 0 0;
  min-height: 44px;
}
.story-landscape {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--inverse);
}
.story-landscape > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.story-landscape::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0b3442d9, #0b344210 80%);
}
.landscape-caption {
  position: absolute;
  z-index: 1;
  left: max(56px, calc((100% - 1200px) / 2));
  bottom: 92px;
  color: #fff;
}
.landscape-caption span {
  display: block;
  font-size: 15px;
  margin-bottom: 10px;
}
.landscape-caption strong {
  display: block;
  font-size: clamp(25px, 3.3vw, 44px);
  font-weight: 500;
  letter-spacing: -1.4px;
}
.data-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 19px 24px;
  border-top: 1px solid #ffffff40;
  color: #fff;
}
.data-ribbon > span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.data-ribbon .icon {
  width: 19px;
  height: 19px;
}
.story-section {
  padding-block: 105px;
}
.story-page h2 {
  font-size: clamp(35px, 4vw, 53px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 500;
  margin-top: 20px;
}
.story-page h3 {
  font-weight: 500;
  line-height: 1.2;
}
.story-problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.story-prose {
  padding-top: 38px;
}
.story-prose p,
.story-context p:not(.eyebrow),
.story-foundation p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.85;
}
.story-prose p + p,
.story-context p + p,
.story-foundation p + p {
  margin-top: 22px;
}
.story-prose .story-emphasis {
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.story-context {
  padding: 85px 0;
  background: var(--background);
}
.story-context-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  align-items: center;
  gap: 70px;
}
.story-context h2 {
  margin-bottom: 28px;
}
.story-context figure {
  margin: 0;
  min-width: 0;
}
.story-screen {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.story-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: left;
  border-radius: 3px;
}
.story-context figcaption {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
}
.story-section-intro {
  max-width: 750px;
  margin-bottom: 55px;
}
.story-section-intro > p:last-child {
  font-size: 18px;
  margin-top: 25px;
}
.story-audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.story-audiences article {
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.story-audience-icon {
  color: var(--primary);
  display: block;
  margin-bottom: 20px;
}
.story-audience-icon .icon {
  width: 33px;
  height: 33px;
}
.story-audiences h3 {
  font-size: 32px;
  margin: 15px 0 24px;
  letter-spacing: -1px;
}
.story-audiences p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.85;
}
.story-audiences ul {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
}
.story-audiences li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.7;
}
.story-process {
  padding: 85px 0;
  background: var(--inverse);
  color: var(--on-inverse);
}
.story-process .eyebrow {
  color: var(--accent);
}
.story-process ol {
  list-style: none;
  padding: 0;
  margin: 55px 0 35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}
.story-process li {
  border-top: 1px solid #ffffff40;
  padding-top: 22px;
}
.story-process li > span {
  font-size: 12px;
  color: var(--accent);
}
.story-process h3 {
  font-size: 23px;
  margin: 25px 0 14px;
  letter-spacing: -0.7px;
}
.story-process li p {
  color: var(--on-inverse);
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.8;
}
.story-process-note {
  color: var(--on-inverse);
  opacity: 0.75;
  font-size: 12px;
  max-width: 790px;
}
.story-live-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
}
.story-live-tools article {
  padding-top: 25px;
  border-top: 1px solid var(--border);
}
.story-live-tools .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
}
.story-live-tools h3 {
  font-size: 28px;
  margin: 18px 0;
  letter-spacing: -0.7px;
}
.story-live-tools h3 small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 7px;
}
.story-live-tools p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  min-height: 110px;
}
.story-live-tools a {
  font-size: 13px;
  margin-top: 23px;
  min-height: 44px;
}
.story-more {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 55px;
}
.story-more summary {
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  list-style: none;
  color: var(--primary);
}
.story-more summary::-webkit-details-marker {
  display: none;
}
.story-more[open] summary > span {
  transform: rotate(45deg);
}
.story-future {
  max-width: 840px;
  padding-bottom: 28px;
}
.story-future > div {
  padding: 20px 0;
}
.story-future h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.story-future p {
  font-size: 15px;
  line-height: 1.9;
}
.story-future strong {
  font-weight: 500;
  color: var(--ink);
}
.story-foundation {
  background: var(--background);
  padding: 85px 0;
}
.story-foundation .wrap {
  max-width: 850px;
}
.story-foundation h2 {
  margin-bottom: 28px;
}
.story-page .about-section {
  background: var(--surface);
  padding-block: 90px;
}
.story-page .about-copy h2 {
  font-size: 39px;
}
@media (max-width: 900px) {
  .story-problem {
    gap: 45px;
  }
  .story-context-grid {
    gap: 35px;
    grid-template-columns: 1fr;
  }
  .story-context figure {
    max-width: 650px;
  }
  .story-screen img {
    aspect-ratio: 1.7;
  }
  .story-audiences {
    gap: 45px;
  }
  .story-process ol {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-live-tools {
    gap: 25px;
  }
  .story-live-tools p:not(.eyebrow) {
    min-height: 165px;
  }
}
@media (max-width: 600px) {
  .story-header {
    padding: 21px 0;
  }
  .story-header-note {
    display: none;
  }
  .story-header .brand {
    font-size: 25px;
  }
  .story-hero-copy {
    padding-top: 40px;
    padding-bottom: 42px;
  }
  .story-hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .story-hero-copy > p:not(.eyebrow) {
    font-size: 20px;
    margin-top: 25px;
  }
  .story-intro {
    font-size: 15px;
    line-height: 1.85;
  }
  .story-scroll {
    font-size: 13px;
  }
  .story-landscape {
    height: 320px;
  }
  .landscape-caption {
    left: 20px;
    right: 20px;
    bottom: 88px;
  }
  .landscape-caption strong {
    font-size: 30px;
    line-height: 1.15;
  }
  .landscape-caption span {
    font-size: 13px;
  }
  .data-ribbon {
    gap: 0;
    justify-content: space-between;
    padding: 20px;
  }
  .data-ribbon > span {
    font-size: 10px;
    gap: 5px;
  }
  .data-ribbon .icon {
    width: 14px;
    height: 14px;
  }
  .story-section {
    padding-block: 62px;
  }
  .story-page h2 {
    font-size: 36px;
    letter-spacing: -1.6px;
  }
  .story-problem {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .story-prose {
    padding-top: 0;
  }
  .story-prose p,
  .story-context p:not(.eyebrow),
  .story-foundation p:not(.eyebrow) {
    font-size: 15px;
  }
  .story-context,
  .story-process,
  .story-foundation {
    padding-block: 60px;
  }
  .story-section-intro {
    margin-bottom: 35px;
  }
  .story-section-intro > p:last-child {
    font-size: 16px;
  }
  .story-audiences,
  .story-live-tools {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-audiences h3 {
    font-size: 29px;
  }
  .story-audiences p:not(.eyebrow) {
    font-size: 15px;
  }
  .story-process ol {
    gap: 30px 24px;
    margin-top: 35px;
  }
  .story-process h3 {
    font-size: 22px;
  }
  .story-process li p {
    font-size: 13px;
  }
  .story-live-tools p:not(.eyebrow) {
    min-height: 0;
  }
  .story-live-tools a {
    margin-top: 14px;
  }
  .story-more {
    margin-top: 35px;
  }
  .story-more summary {
    font-size: 15px;
  }
  .story-page .about-section {
    padding-block: 60px;
  }
  .story-page .about-copy h2 {
    font-size: 34px;
  }
  .story-footer .wrap {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .story-header {
    padding: 5px 0;
  }
  .story-header .selected-logo {
    width: 245px;
    height: auto;
  }
}
