.t-story-page {
  --story-anchor-offset: 176px;
  --story-space: clamp(60px, 7.5vw, 124px);
}

.t-story-main :is(section, article)[id] { scroll-margin-top: var(--story-anchor-offset); }
.t-story-section { padding-block: var(--story-space); }
.t-story-main img { display: block; width: 100%; }
.t-story-main figure { margin: 0; min-width: 0; }
.t-story-main p:not(.a-kicker) { line-height: 1.7; }
.t-story-main h1, .t-story-main h2, .t-story-main h3 {
  font-family: var(--editorial-display);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.t-story-main h1 { font-size: clamp(2.875rem, 5.15vw, 6.25rem); margin: 0; }
.t-story-main h2 { font-size: clamp(2.125rem, 4.25vw, 4.8rem); margin: 0 0 18px; }
.t-story-main h3 { font-size: clamp(1.5rem, 2.45vw, 2.7rem); margin: 0 0 10px; }

.t-story-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--brand-cream);
}
.t-story-hero .t-story-lead {
  align-self: center;
  padding: clamp(40px, 6.5vw, 108px) clamp(24px, 4.3vw, 68px);
  padding-inline-start: max(24px, calc((100vw - 1440px) / 2), 4.3vw);
}
.t-story-lead > p:not(.a-kicker) { color: var(--muted); max-width: 46ch; margin: 23px 0 25px; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.t-story-lead .a-text-link { font-weight: 650; }
.t-story-hero .t-story-hero-photo { position: relative; overflow: hidden; min-height: 490px; background: var(--brand-night); }
.t-story-hero-photo > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.t-story-hero-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px clamp(18px, 4vw, 56px) 17px;
  background: linear-gradient(transparent, #090f24b0);
  color: white;
  font-size: .8125rem;
}
.t-story-hero.is-landscape { display: block; background: var(--brand-night); color: var(--brand-cream); }
.t-story-hero.is-landscape .t-story-hero-photo { position: absolute; inset: 0; z-index: -2; min-height: 0; }
.t-story-hero.is-landscape .t-story-hero-photo > img { object-position: center 58%; }
.t-story-hero.is-landscape::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0a1026ef 0%,#0a1026bd 40%,#0a10262e 92%); }
.t-story-hero.is-landscape .t-story-lead { padding: clamp(72px, 10vw, 164px) 0; }
.t-story-hero.is-landscape h1 { max-width: 15ch; }
.t-story-hero.is-landscape .a-kicker { color: var(--brand-coral); }
.t-story-hero.is-landscape .t-story-lead > p:not(.a-kicker) { color: #fff9f1; }
.t-story-hero.is-landscape .a-text-link { border-color: var(--brand-coral); }
.t-story-hero.is-landscape .t-story-hero-credit { position: absolute; right: 4.3vw; bottom: 16px; color: #fff; font-size: .8125rem; text-shadow: 0 1px 6px #050919; }

.t-story-index { border-block: 1px solid var(--line); background: var(--paper); }
.t-story-index .a-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(16px, 4vw, 54px); padding-block: 14px; }
.t-story-index a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 650; }
.t-story-index a:hover { color: var(--brand-red); }
.t-story-index a span { color: var(--brand-red); }

.t-story-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 26px clamp(25px, 7vw, 100px); align-items: end; margin-bottom: clamp(28px, 5vw, 68px); }
.t-story-intro h2 { margin-bottom: 0; }
.t-story-main .t-story-intro > p, .t-story-text > p, .t-story-card p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.t-story-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 5vw, 68px); }
.t-story-card { min-width: 0; }
.t-story-picture { display: block; overflow: hidden; background: var(--brand-mist); }
.t-story-picture img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.t-story-picture.t-story-portrait img { aspect-ratio: 4 / 5; }
.t-story-card h3 { margin-top: 22px; }
.t-story-main figcaption:not(.t-story-hero-photo figcaption) { margin-top: 10px; color: var(--muted); font-size: .8125rem; }
.t-story-card .a-text-link { margin-top: 20px; font-weight: 650; }

.t-story-flowers { background: var(--brand-cream); border-block: 1px solid var(--line); }
.t-story-flower-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.t-story-flower-grid img { aspect-ratio: 5 / 6; }
.t-story-flower-grid figure:nth-child(even) { margin-top: 25px; }
.t-story-flower-grid figcaption strong { display: block; color: var(--ink); font: 650 clamp(1rem, 1.8vw, 1.6rem)/1.2 var(--editorial-sans); letter-spacing: -.025em; overflow-wrap: anywhere; }
.t-story-details { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(25px, 7vw, 96px); align-items: start; }
.t-story-details .t-company-details { margin: 0; }
.t-story-details .t-company-details > .a-kicker { display: none; }
.t-story-details .t-company-details dl > div:first-child { border-top-color: var(--brand-red); }
.t-story-details .t-company-details dl > div { grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); }
.t-story-details .a-button { margin-top: 24px; }
.t-story-details .t-logo-frame { width: min(150px, 45%); margin-top: 24px; }

.t-story-scenes { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.t-story-scenes + .t-story-scenes { margin-top: clamp(45px, 7vw, 100px); }
.t-story-scenes.is-reversed { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.t-story-scenes.is-reversed figure { order: 2; }
.t-story-scenes .t-story-picture img { aspect-ratio: 5 / 3.7; }
.t-story-scenes .t-story-picture.t-story-portrait img { aspect-ratio: 5 / 4; object-position: center 54%; }
.t-story-plan { background: var(--brand-navy); color: var(--brand-cream); }
.t-story-plan .a-kicker { color: var(--brand-coral); }
.t-story-main .t-story-plan .t-story-intro > p, .t-story-plan .t-story-card p { color: var(--brand-slate); }
.t-story-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 54px); margin: 0; padding-left: 0; list-style: none; counter-reset: story-step; }
.t-story-steps > li { counter-increment: story-step; border-top: 1px solid var(--brand-border-dark); padding-top: 20px; }
.t-story-steps > li::before { content: counter(story-step, decimal-leading-zero); display: block; color: var(--brand-coral); font-size: .875rem; font-weight: 650; margin-bottom: 20px; }
.t-story-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(17px, 3vw, 40px); }
.t-story-gallery img { aspect-ratio: 4 / 5; }
.t-story-note { font-size: .875rem; color: var(--muted); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .t-story-picture img { transition: transform .65s cubic-bezier(.2,.66,.35,1); }
  .t-story-picture:hover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: no-preference) {
  .t-story-hero .t-story-lead { animation: t-story-intro .65s cubic-bezier(.2,.65,.3,1) both; }
  .t-story-hero-photo > img { animation: t-story-crop 1.2s cubic-bezier(.2,.65,.3,1) both; }
}
@keyframes t-story-intro { from { opacity: .45; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes t-story-crop { from { transform: scale(1.045); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html:has(.t-story-page) { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .t-story-page { --story-anchor-offset: 154px; }
  .t-story-hero .t-story-hero-photo { min-height: 410px; }
  .t-story-hero .t-story-lead { padding-inline: 24px; }
  .t-story-hero.is-landscape .t-story-lead { padding-block: 74px; }
  .t-story-details .t-company-details dl > div { gap: 15px; }
}
@media (max-width: 700px) {
  .t-story-hero, .t-story-intro, .t-story-pair, .t-story-scenes, .t-story-scenes.is-reversed, .t-story-details, .t-story-steps { grid-template-columns: 1fr; }
  .t-story-hero .t-story-lead { padding: 43px 20px 36px; }
  .t-story-hero .t-story-hero-photo { min-height: 0; aspect-ratio: 5 / 4; }
  .t-story-hero.is-landscape .t-story-hero-photo { aspect-ratio: auto; }
  .t-story-hero.is-landscape::after { background: linear-gradient(90deg,#0a1026ec,#0a10267d); }
  .t-story-hero.is-landscape .t-story-lead { padding-block: 64px 77px; }
  .t-story-hero.is-landscape .t-story-hero-credit { right: 20px; }
  .t-story-main h1 { font-size: clamp(2.25rem, 9.4vw, 4.25rem); }
  .t-story-scenes.is-reversed figure { order: initial; }
  .t-story-flower-grid, .t-story-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-story-flower-grid figure:nth-child(even) { margin-top: 0; }
  .t-story-gallery figure:first-child { grid-column: 1 / -1; }
  .t-story-gallery figure:first-child img { aspect-ratio: 5 / 3; }
  .t-story-steps > li::before { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  .t-story-page { --story-anchor-offset: 135px; }
  .t-story-details .t-company-details dl > div { grid-template-columns: 1fr; gap: 7px; }
}
