/* A flat cinematic scene, scaled as one coordinate space at each breakpoint. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: 32px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 32px;
  min-height: 0;
}
.hero-copy {
  display: block;
  min-width: 0;
  padding-bottom: 0;
}
.hero-copy .eyebrow {
  margin: 0;
}
.hero h1 {
  font-size: clamp(64px, 6.5vw, 98px);
  margin: 25px 0;
}
.hero-description {
  max-width: 370px;
  font-size: 18px;
  margin: 0;
}
.hero-actions {
  margin-top: 28px;
}
.press-demo {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  container-type: inline-size;
}
/* A single, continuous paper moves from the browser into its collection. */
.story-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1000/650;
  overflow: hidden;
  isolation: isolate;
}
.story-world {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1000px;
  height: 650px;
  --browser-left: 120px;
  --paper-start-x: 377.6px;
  visibility: hidden;
  transform: scale(var(--story-scale, 1));
  transform-origin: top left;
}
.press-demo[data-story-ready="true"] .story-world {
  visibility: visible;
}
.story-grid {
  position: absolute;
  inset: 20px 0;
  opacity: 0.25;
  background-image: radial-gradient(#b3b7a64a 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.story-browser {
  visibility: inherit;
  position: absolute;
  left: var(--browser-left);
  top: 32px;
  width: 760px;
  height: 530px;
  border: 1px solid #9ba68a70;
  border-radius: 12px;
  overflow: hidden;
  background: #ece5d5;
  box-shadow: 0 28px 65px #0d140d50;
  transform-origin: 50% 30%;
}
.browser-tabs {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 16px;
  background: #343a30;
  color: #dfe2d3;
  font-size: 9px;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bc7b61;
}
.window-dots i:nth-child(2) {
  background: #bbaa72;
}
.window-dots i:nth-child(3) {
  background: #91a379;
}
.browser-tab {
  align-self: stretch;
  min-width: 180px;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 5px 5px 0 0;
  background: #505749;
}
.browser-tab b {
  font-weight: 400;
  float: right;
}
.browser-extra-tab {
  color: #adb6a0;
}
.browser-extra-tab b {
  margin-left: 20px;
  font-weight: 400;
  font-size: 15px;
}
.browser-toolbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-inline: 14px;
  background: #505749;
  color: #e5e8db;
  font-size: 10px;
}
.browser-arrows {
  font-size: 15px;
  color: #cbd2bf;
}
.browser-address {
  flex: 1;
  background: #333b2c;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 9px;
}
.browser-reader {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #98a78490;
  border-radius: 5px;
  font-size: 11px;
  white-space: nowrap;
}
.browser-reader b {
  font-weight: 400;
  min-width: 14px;
}
.reader-mini-track {
  width: 25px;
  height: 14px;
  display: block;
  border-radius: 20px;
  background: #777f69;
}
.reader-mini-track i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 2px;
  background: #f0e8d5;
  transform: translateX(0);
}
.browser-canvas {
  position: relative;
  height: 456px;
  background: #dce0d1;
}
.screen-masthead {
  position: absolute;
  top: 17px;
  inset-inline: 23px;
  color: #363f30;
  font: 23px var(--serif);
}
.screen-masthead span {
  float: right;
  font: 9px var(--sans);
  padding-top: 10px;
}
.screen-lines {
  position: absolute;
  left: 23px;
  top: 95px;
  width: 130px;
}
.screen-lines span {
  font-size: 8px;
  color: #707860;
  letter-spacing: 0.08em;
}
.screen-lines i {
  display: block;
  height: 3px;
  background: #8b957c40;
  margin-top: 13px;
}
.screen-lines i:nth-child(3n) {
  width: 75%;
}
.reader-watermark {
  opacity: 0;
  position: absolute;
  bottom: 16px;
  right: 22px;
  color: #8e968149;
  font: 26px var(--serif);
}
.story-noise {
  visibility: inherit;
  position: absolute;
  z-index: 7;
  color: #293425;
  box-shadow: 0 9px 22px #0c150e30;
}
.screen-ad {
  left: calc(var(--browser-left) + 20px);
  top: 185px;
  width: 157px;
  height: 230px;
  padding: 16px;
  background: #b1c49f;
  transform: rotate(-3deg);
}
.screen-ad small {
  font-size: 8px;
  letter-spacing: 0.12em;
}
.screen-ad strong {
  display: block;
  font: 26px/0.98 var(--serif);
  letter-spacing: -0.035em;
  margin: 17px 0 14px;
}
.ad-object {
  position: relative;
  display: block;
  width: 62px;
  height: 67px;
  background: #3b5032;
  margin: 10px auto 12px;
  transform: rotate(9deg);
  border: 1px solid #293d24;
  box-shadow: 5px 5px #829875;
}
.ad-object i {
  position: absolute;
  left: 19px;
  top: -14px;
  width: 25px;
  height: 18px;
  border: 3px solid #536b45;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.ad-object b {
  display: block;
  padding-top: 15px;
  text-align: center;
  font: 14px/0.95 var(--serif);
  color: #e5e6c9;
}
.ad-cta {
  font-size: 8px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #65775a;
  padding-bottom: 4px;
}
.screen-notification {
  left: calc(var(--browser-left) + 485px);
  top: 118px;
  width: 245px;
  background: #f5efdf;
  border: 1px solid #b4bea7;
  border-radius: 6px;
  padding: 18px;
  transform: rotate(2deg);
}
.notification-icon {
  float: left;
  font-size: 27px;
  margin-right: 12px;
}
.screen-notification b {
  font-size: 14px;
}
.screen-notification p {
  font-size: 10px;
  line-height: 1.5;
  margin: 7px 0 18px;
}
.screen-notification div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 10px;
}
.screen-notification strong {
  padding: 7px 17px;
  border-radius: 4px;
  background: #526345;
  color: #f5f0e0;
  font-weight: 500;
}
.screen-popup {
  left: calc(var(--browser-left) + 365px);
  top: 302px;
  width: 344px;
  padding: 22px;
  background: #d68b68;
  transform: rotate(-2deg);
  border: 1px solid #edb28c;
}
.screen-popup small {
  font-size: 8px;
  letter-spacing: 0.12em;
}
.screen-popup > strong {
  display: block;
  font: 36px/0.98 var(--serif);
  letter-spacing: -0.045em;
  margin: 15px 0;
}
.popup-close {
  position: absolute;
  right: 13px;
  top: 10px;
  font-size: 19px;
}
.popup-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f2ddc8;
  padding: 6px 6px 6px 12px;
  font-size: 9px;
}
.popup-field b {
  padding: 9px;
  background: #35402d;
  color: #f1e9d7;
  font-weight: 500;
}
.popup-fine {
  display: block;
  font-size: 8px;
  margin-top: 10px;
}
.screen-cookie {
  left: calc(var(--browser-left) + 26px);
  top: 447px;
  width: 648px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 17px;
  background: #34412e;
  color: #e7ecd9;
  border: 1px solid #adba9760;
  border-radius: 5px;
}
.cookie-symbol {
  font-size: 28px;
}
.screen-cookie b {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.screen-cookie small {
  display: block;
  font-size: 9px;
  color: #bcc9ac;
  margin-top: 4px;
}
.screen-cookie i {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  background: #c9d3b3;
  color: #293622;
  padding: 10px 18px;
  border-radius: 4px;
}
/* Editorial specimens: real copy and imagery, with a shared print grid. */
.story-page {
  position: absolute;
  left: 0;
  top: 0;
  width: 360px;
  height: 560px;
  padding: 22px 24px;
  color: #30392d;
  background: #f5eedf;
  border: 1px solid #796a492e;
  transform-origin: top left;
  z-index: 4;
  isolation: isolate;
  --page-stack: 0;
  --mark: 0;
  opacity: 0;
  visibility: hidden;
  box-shadow:
    0 1px 2px #14180d25,
    0 14px 30px #111a0c30;
}
.story-page::before,
.story-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  border: 1px solid #594d3026;
  z-index: -1;
  transform: translate(-3px, 5px) rotate(-0.7deg);
  opacity: var(--page-stack, 1);
  box-shadow: 0 1px 1px #31372115;
}
.story-page::after {
  transform: translate(-6px, 10px) rotate(-1.4deg);
  z-index: -2;
}
.story-page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #50583970;
  font: 7px var(--sans);
  letter-spacing: 0.08em;
  color: #6a705c;
}
.paper-publication {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #30392d;
  font-weight: 600;
}
.paper-section {
  display: flex;
  justify-content: space-between;
  font: 7px var(--sans);
  letter-spacing: 0.13em;
  color: #8c6345;
  margin-top: 9px;
}
.paper-section > span {
  font-size: 10px;
  line-height: 1;
}
.story-page h2 {
  font: 34px/1.02 var(--serif);
  letter-spacing: -0.045em;
  margin: 8px 0 7px;
  font-weight: 400;
}
.story-page h2 em {
  font-weight: 400;
}
.story-page .paper-deck {
  font: 12px/1.4 var(--serif);
  color: #636852;
  margin: 0;
  max-width: 300px;
}
.paper-byline {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 7px var(--sans);
  color: #686d5d;
  margin: 10px 0;
}
.paper-byline > span:last-child {
  margin-left: auto;
  font-size: 6px;
  letter-spacing: 0.06em;
}
.paper-author-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #d9ddc7;
  color: #35402d;
  font: 13px var(--serif);
  border-radius: 50%;
}
.paper-figure {
  margin: 0 0 8px;
}
.story-page .paper-figure img {
  display: block;
  width: 100%;
  height: 115px;
  object-fit: cover;
  border: 1px solid #69664720;
}
.paper-figure figcaption {
  margin-top: 4px;
  font: 6px/1.3 var(--sans);
  color: #777967;
  letter-spacing: 0.01em;
}
.paper-copy > p {
  font: 11.3px/1.48 var(--serif);
  margin: 8px 0;
}
.paper-copy .paper-lead::first-letter {
  font: 31px/0.8 var(--serif);
  float: left;
  margin: 4px 4px 0 0;
  color: #4b5b3e;
}
.paper-copy .paper-tail {
  font-size: 10.6px;
  color: #666c58;
  margin-top: 8px;
}
.story-page .story-highlight {
  font: 15px/1.32 var(--serif);
  margin: 9px 0;
  letter-spacing: -0.01em;
}
.story-highlight span {
  background: linear-gradient(#ddc477, #ddc477) left
    center/calc(var(--mark, 1) * 100%) 100% no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 1px 2px;
}
.paper-pullquote {
  font: italic 15px/1.2 var(--serif);
  letter-spacing: -0.015em;
  border-left: 2px solid #8b9974;
  padding-left: 9px;
  margin: 10px 0;
  color: #4a5941;
}
.story-page-footer {
  position: absolute;
  bottom: 14px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #6f715743;
  padding-top: 9px;
  font: 6px var(--sans);
  letter-spacing: 0.07em;
  color: #6c715e;
}
.story-page-footer i {
  padding-inline: 4px;
  font-style: normal;
}
.paper-folio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
}
.story-page-footer svg {
  width: 11px;
  height: 11px;
}
.story-page-one {
  opacity: 1;
  visibility: inherit;
  z-index: 5;
  transform: translate(var(--paper-start-x), 144px) scale(0.68);
}
.story-page-two {
  background: #f1edda;
}
.story-page-three {
  background: #eaf0e8;
}
.story-page-five {
  background: #f3ead8;
}
.story-page-six {
  background: #ebeee5;
}
.story-page-two .paper-publication {
  font: italic 16px/1 var(--serif);
  letter-spacing: -0.025em;
}
.story-page-three .paper-publication {
  font: 10px var(--sans);
  letter-spacing: 0.19em;
}
.story-page-five .paper-publication {
  font-size: 7px;
  letter-spacing: 0.08em;
}
.story-page-six .paper-publication {
  font: 10px var(--sans);
  letter-spacing: 0.17em;
}
.story-page-four .paper-figure img {
  object-position: 50% 63%;
}
.story-page-two .paper-figure img {
  object-position: 50% 44%;
}
.story-page-three .paper-figure img {
  object-position: 50% 65%;
}
.story-page-one .paper-figure img {
  object-position: 50% 68%;
}
.story-page-six .paper-figure img {
  object-position: 50% 63%;
}
.story-highlight-saved {
  position: absolute;
  left: 630px;
  top: 340px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #394a31;
  border: 1px solid #a9bb8d;
  padding: 15px 18px;
  box-shadow: 0 10px 25px #10201840;
  border-radius: 5px;
  color: #eee8d6;
  opacity: 0;
  visibility: hidden;
}
.story-highlight-saved > svg {
  width: 22px;
  height: 22px;
}
.story-highlight-saved b {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.story-highlight-saved small {
  font-size: 10px;
  color: #bdcca9;
  display: block;
  margin-top: 4px;
}
.story-collection-title {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  text-align: center;
}
.story-collection-title > span {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #b6bda7;
}
.story-collection-title strong {
  display: block;
  font: 42px/1.02 var(--serif);
  letter-spacing: -0.04em;
  font-weight: 400;
  margin-top: 18px;
}
.story-collection-title em {
  color: #c9bfa7;
}
.story-box {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 240px;
  color: #293622;
}
.box-sunday {
  left: 70px;
  --box-back: #788864;
  --box-front: #b1bf94;
}
.box-ideas {
  left: 380px;
  --box-back: #a06a4b;
  --box-front: #d28d69;
}
.box-design {
  left: 690px;
  --box-back: #6f8883;
  --box-front: #b0c3b9;
}
.box-back {
  top: 453px;
  height: 156px;
  background: var(--box-back);
  border: 1px solid #e5ecd82b;
  border-radius: 5px;
  z-index: 2;
}
.box-back > span {
  position: absolute;
  top: -22px;
  left: -1px;
  width: 97px;
  height: 25px;
  background: inherit;
  border-radius: 7px 15px 0 0;
  padding: 7px 15px;
  font-size: 9px;
  color: #e9e6d7;
}
.box-front {
  z-index: 6;
  top: 500px;
  height: 112px;
  background: var(--box-front);
  border: 1px solid #e4ebd53b;
  border-radius: 5px 5px 8px 8px;
  padding: 19px 19px 15px;
  box-shadow: 0 15px 27px #111c1640;
}
.box-front::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  height: 1px;
  background: #293a2518;
}
.box-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.box-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.box-label strong {
  font: 23px/1.05 var(--serif);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.box-front > small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.09em;
  margin-top: 8px;
}
.box-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
}
.box-count {
  font-size: 10px;
}
.box-arrived svg {
  width: 15px;
  height: 15px;
}
.story-cursor {
  position: absolute;
  z-index: 12;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
}
.story-cursor > svg {
  width: 25px;
  height: 31px;
  fill: #f6e7ce;
  stroke: #263320;
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 2px #0003);
}
.story-cursor > i {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid #e9b582;
  border-radius: 50%;
  left: -13px;
  top: -13px;
  opacity: 0;
}
.story-outcome {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 630px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #b6c1a8;
}
@container (max-width:520px) {
  .story-stage {
    aspect-ratio: 680/720;
  }
  .story-world {
    width: 680px;
    height: 720px;
    --browser-left: 20px;
    --paper-start-x: 217.6px;
  }
  .story-browser {
    width: 640px;
  }
  .browser-extra-tab {
    display: none;
  }
  .browser-address {
    font-size: 8px;
  }
  .screen-masthead span {
    font-size: 8px;
  }
  .screen-notification {
    left: 415px;
    width: 230px;
  }
  .screen-ad {
    width: 145px;
  }
  .screen-popup {
    left: 300px;
    width: 330px;
  }
  .screen-cookie {
    width: 590px;
  }
  .story-highlight-saved {
    left: 393px;
    top: 385px;
    padding: 12px;
  }
  .story-highlight-saved b {
    font-size: 12px;
  }
  .story-highlight-saved small {
    font-size: 9px;
  }
  .story-box {
    width: 200px;
  }
  .box-sunday {
    left: 20px;
  }
  .box-ideas {
    left: 240px;
  }
  .box-design {
    left: 460px;
  }
  .box-back {
    top: 507px;
  }
  .box-front {
    top: 550px;
    height: 112px;
    padding-inline: 12px;
  }
  .box-label {
    gap: 5px;
  }
  .box-label strong {
    font-size: 21px;
  }
  .box-label svg {
    width: 13px;
    height: 13px;
  }
  .box-front > small {
    font-size: 6px;
  }
  .story-outcome {
    top: 684px;
  }
}
.story-caption {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 64px;
  padding: 8px 12px 0;
  text-align: center;
  /* Early scenes end above the folder scene; keep their caption close without
     changing the hero's height as the animation progresses. */
  transform: translateY(-6.5cqw);
  transition: transform 600ms ease;
}
.press-demo[data-chapter="4"] .story-caption {
  transform: translateY(0);
}
#story-caption {
  max-width: 48ch;
  margin: 0;
  font: 20px/1.35 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
@container (max-width: 520px) {
  .story-caption { transform: translateY(-18.5cqw); }
  #story-caption { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-caption { transition: none; }
}

@media (min-width: 701px) and (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    row-gap: 38px;
    padding-top: 32px;
  }
  .hero-copy {
    max-width: 620px;
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(68px, 9vw, 90px);
  }
  .hero-description {
    max-width: 440px;
  }
  .press-demo {
    max-width: 760px;
    justify-self: center;
  }
}
@media (max-width: 700px) {
  .hero {
    display: block;
    padding-top: 30px;
    padding-bottom: 24px;
  }
  .hero-copy {
    display: block;
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(62px, 14vw, 90px);
    margin: 22px 0;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-actions {
    margin-top: 25px;
  }
  .press-demo {
    margin: 38px auto 20px;
    max-width: none;
  }

  }
/* Handled as illustrations, without introducing extra controls in the story. */
.notification-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.4;
}
.cookie-symbol svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
}
.ad-photo {
  display: block;
  width: 100%;
  height: 86px;
  object-fit: cover;
  margin: 13px 0 12px;
  box-shadow: 0 2px 4px #33432420;
}
.screen-ad > strong {
  font-size: 25px;
}
.box-label {
  border-bottom: 1px solid #3e4b2d30;
  padding-bottom: 6px;
}
.box-front {
  padding-top: 16px;
}
.box-bottom {
  margin-top: 12px;
}
.box-front > small {
  margin-top: 7px;
}
.box-back > span {
  font-family: var(--sans);
  border: 1px solid #e5ecd82b;
  border-bottom: 0;
}

.screen-ad > strong {
  font-size: 22px;
  line-height: 1.05;
  margin: 12px 0;
}
.ad-photo {
  height: 72px;
  margin: 10px 0 8px;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; }
  .hero h1 { font-size: clamp(58px, 6.3vw, 70px); }
  .hero-description { font-size: 16px; }
  .hero-actions .button { font-size: 14px; padding-inline: 12px; gap: 8px; }
}
