/* Layout only. Typography, colours, buttons, media and themes belong to the
   original stylesheets. The homepage now follows demonstration → work → setup. */
:root { --gap-chapter: 112px; --gap-band: 96px; }
.hero { margin-bottom: 72px; }
.demo-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.demo-intro h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.12; }
.demo-intro .chapter-mark { margin-bottom: 24px; }
.demo-intro .lead { max-width: 44ch; }
.demo-section .demo-film { margin-top: 40px; }
.demo-section .demo-film figcaption { max-width: 85ch; }
.working-day .chapter-title { margin-bottom: 48px; }
.work-story { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; padding-block: 64px; align-items: center; }
.story-copy { min-width: 0; }
.story-copy .story-title { padding-left: 0; }
.story-copy .story-number { position: static; display: block; margin-bottom: 18px; font-size: 18px; }
.story-copy .story-title .eyebrow { margin-top: 0; }
.story-copy .story-question { display: none; }
.story-copy .story-body { margin-top: 24px; }
.story-copy .story-body > .lead { font-size: 18px; line-height: 1.65; margin-bottom: 18px; }
.story-copy .story-body > p:not(.lead) { font-size: 14px; line-height: 1.75; }
.story-film { position: relative; aspect-ratio: 1432 / 1080; border: 1px solid var(--border); border-radius: var(--r-shot); overflow: hidden; background: var(--sunk); }
.work-story:nth-of-type(2) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.work-story:nth-of-type(2) .story-copy { order: 2; }
.work-story:nth-of-type(2) .story-film { order: 1; }
.configuration-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.configuration-list > div { display: block; padding-top: 24px; }
.configuration-list dt { margin-bottom: 16px; }
.configuration-list dd { font-size: 15px; }
.footer-field { margin-top: 0; }
.gallery-slide[hidden] { display: none; }
@media (max-width: 1000px) {
  .demo-intro, .work-story { gap: 36px; }
  .configuration-list { gap: 24px; }
}
@media (max-width: 760px) {
  :root { --gap-chapter: 80px; --gap-band: 64px; }
  .hero { margin-bottom: 48px; }
  .demo-intro { grid-template-columns: 1fr; gap: 24px; }
  .demo-intro .lead { font-size: 17px; }
  .demo-section .demo-film { margin-top: 28px; }
  .work-story, .work-story:nth-of-type(2) { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .work-story:nth-of-type(2) .story-copy, .work-story:nth-of-type(2) .story-film { order: initial; }
  .story-copy .story-number { margin-bottom: 12px; }
  .story-copy .story-body > .lead { font-size: 17px; }
  .configuration-list { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .configuration-list dt { margin-bottom: 10px; }
}
