/* Editorial spreads use the existing Sidus type and palette. */
#brand-page { --story-chapter-space: clamp(72px, 9cqw, 132px); }
html:has(#brand-page:not([hidden])) { scroll-padding-top: 0; }
#brand-page .hero { height: clamp(610px, 54cqw, 860px); }
#brand-page .hero-title { bottom: 76px; }
.story-contents { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; padding: 8px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); }
.story-contents > .eyebrow { color: var(--muted); white-space: nowrap; }
.story-contents > div { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.story-contents a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.story-contents a:hover, .story-contents a[aria-current=location] { color: var(--blue); text-decoration: underline; }
.story-chapter { scroll-margin-top: 88px; }
.story-about { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6cqw, 88px); padding-block: var(--story-chapter-space); scroll-margin-top: 68px; }
.story-about-main { max-width: 44ch; padding-bottom: 30px; }
.story-about h2 { margin-top: 28px; font-size: clamp(44px, 5.4cqw, 72px); line-height: 1.04; }
.story-about-image img, .story-material-image img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.story-about-image figcaption, .story-material-image figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.story-deck { font-size: clamp(20px, 2.5cqw, 30px); line-height: 1.35; letter-spacing: -.025em; }
.story-about .story-deck { margin-block: 28px 24px; font-size: clamp(19px, 2cqw, 25px); line-height: 1.4; }
.story-prose { display: grid; gap: 18px; }
.story-prose p, .story-material-notes p, .story-process-steps p { font-size: 15px; line-height: 1.75; color: var(--muted); }
.story-materials { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6cqw, 88px); align-items: center; padding-block: 0 var(--story-chapter-space); }
.story-material-image { margin: 0; }
.story-caption, .story-process-image figcaption { color: var(--muted); font-size: 11px; line-height: 1.6; }
.story-material-copy { max-width: 46ch; }
.story-material-copy h2 { margin-block: 24px; font-size: clamp(44px, 5.4cqw, 72px); line-height: 1.04; }
.story-material-copy .story-deck { font-size: clamp(19px, 2cqw, 24px); max-width: 32ch; }
.story-material-notes { margin-block: 30px 22px; display: grid; gap: 20px; }
.story-material-notes section { border-top: 1px solid var(--line); padding-top: 16px; }
.story-material-notes h3 { margin-bottom: 6px; font-size: 16px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.story-material-copy > .story-caption { max-width: 48ch; }
.story-process { padding-block: 66px var(--story-chapter-space); background: var(--sidus-color-image-surface); }
.story-process-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: start; margin-bottom: 52px; }
.story-process-heading .eyebrow { padding-top: 8px; }
.story-process-heading h2 { font-size: clamp(44px, 6.6cqw, 96px); }
.story-process-image { margin-inline: var(--gutter); }
.story-process-image img { width: 100%; height: auto; }
.story-process-image figcaption { padding-top: 14px; }
.story-process-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 58px 0 0; }
.story-process-steps li { border-top: 1px solid var(--sidus-color-edge-muted); padding-top: 20px; }
.story-step-label { color: var(--muted); font-size: 11px; }
.story-process-steps h3 { font-size: clamp(20px, 2.4cqw, 30px); line-height: 1.1; letter-spacing: -.035em; font-weight: 500; margin-block: 26px 18px; }
#brand-page .story-studies { padding-block: var(--story-chapter-space); }
.story-studies .collection-grid { grid-template-columns: 1.2fr .82fr 1fr; align-items: start; gap: 3.4%; }
.story-studies .piece-photo { aspect-ratio: auto; border: 1px solid var(--line); }
.story-studies .piece-photo img { height: auto; object-fit: contain; }
.story-studies .piece-photo:hover img { transform: none; }
.story-studies .piece-orange { margin-top: 80px; }
.story-studies .piece-duo { margin-top: 26px; }
.story-studies .collection-disclosure { max-width: 62ch; margin-inline: auto; line-height: 1.7; }
.story-ending { padding-block: 80px 100px; border-top: 1px solid var(--line); text-align: center; }
.story-ending h2 { margin-block: 30px 24px; }
.story-ending > p:not(.eyebrow) { font-size: 16px; line-height: 1.6; color: var(--muted); }
.story-ending .create-section { margin: 40px auto 26px; width: min(820px, 100%); text-align: left; scroll-margin-top: 100px; }
.story-ending .create-form { border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.story-ending .prompt-field label { text-align: left; font-size: 10px; }
.site-footer { border-top: 1px solid var(--line); flex-wrap: wrap; }
.site-footer nav { flex-wrap: wrap; gap: 6px 24px; }

@media (max-width: 1100px) {
  .story-contents { gap: 16px; }
  .story-contents > div { gap: 4px 20px; }
  .story-process-heading { grid-template-columns: 1fr 3.5fr; gap: 28px; }
  .story-process-steps { gap: 24px; }
}
@media (max-width: 960px) {
  .story-contents { top: 78px; }
  .story-chapter { scroll-margin-top: 164px; }
  .story-about { scroll-margin-top: 146px; }
  .story-ending .create-section { scroll-margin-top: 176px; }
  #brand-page .hero { height: 660px; min-height: 0; }
  #brand-page .hero-title { bottom: 76px; }
  #brand-page .hero-caption { bottom: 28px; }
  .story-studies .piece-violet { grid-column: auto; width: 100%; }
  .story-studies .piece-orange { padding-top: 0; }
  .story-studies .piece-duo { align-self: start; }
}
@media (max-width: 700px) {
  .story-contents { display: block; padding-block: 6px; min-height: 58px; }
  .story-contents > .eyebrow { display: none; }
  .story-contents > div { flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  .story-contents a { font-size: 11px; white-space: nowrap; }
  .story-chapter { scroll-margin-top: 156px; }
  .story-about { grid-template-columns: 1fr; gap: 32px; scroll-margin-top: 136px; }
  .story-about-main { grid-row: 1; max-width: 48ch; padding-bottom: 0; }
  .story-about h2 { margin-top: 22px; font-size: clamp(44px, 10vw, 64px); }
  .story-about .story-deck { margin-block: 24px 20px; font-size: 21px; }
  .story-prose { gap: 16px; }
  .story-materials { grid-template-columns: 1fr; gap: 0; }
  .story-material-copy { display: contents; }
  .story-material-copy > .eyebrow { grid-row: 1; }
  .story-material-copy h2 { grid-row: 2; font-size: clamp(44px, 10vw, 64px); margin-block: 22px; }
  .story-material-copy > .story-deck { grid-row: 3; }
  .story-material-image { grid-row: 4; margin-top: 28px; }
  .story-material-notes { grid-row: 5; gap: 20px; margin-block: 28px 20px; }
  .story-material-copy > .story-caption { grid-row: 6; }
  .story-process { padding-top: 48px; }
  .story-process-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .story-process-heading h2 { font-size: clamp(44px, 10vw, 68px); }
  .story-process-image { margin-inline: 0; }
  .story-process-image figcaption { padding-inline: var(--gutter); }
  .story-process-steps { grid-template-columns: 1fr; gap: 30px; margin-top: 36px; }
  .story-process-steps h3 { margin-block: 15px 12px; font-size: 26px; }
  .story-studies .collection-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .story-studies .piece-violet { grid-column: 1 / -1; width: 84%; }
  .story-studies .piece-orange, .story-studies .piece-duo { margin-top: 0; width: 100%; }
  .story-studies .piece-caption { flex-direction: column; align-items: flex-start; gap: 4px; }
  .story-studies .piece-duo { align-self: end; }
  .story-studies .piece-credit { font-size: 11px; }
  .story-ending { padding-block: 60px; }
  .story-ending .create-form { gap: 12px; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .story-contents { padding-inline: 16px; }
  .story-contents > div { gap: 9px; }
  .story-contents a { font-size: 10px; }
  #brand-page .hero { height: 560px; }
  .story-studies .collection-grid { grid-template-columns: 1fr; }
  .story-studies .piece-violet { width: 100%; }
  .story-ending .attach-button { border-right: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
