.story-hero {
  --hero-action: #12675c;
  position: relative;
  width: 100%;
  background: #fff;
}
.story-opening {
  position: relative; isolation: isolate; display: grid; place-items: center;
  min-height: 100vh; min-height: 100svh; background: #2a241f;
}
.story-video {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.story-opening::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgb(8 26 22 / .65);
}
.story-intro {
  position: relative; z-index: 2; width: min(100%, 920px); padding: 76px 24px 56px;
  color: #fff; text-align: center;
}
.story-audience { margin: 0 0 16px; color: #e6f5ed; font-size: 18px; font-weight: 650; }
#story-title {
  margin: 0; font: 720 clamp(40px, 5.3vw, 70px)/1.12 var(--sans, sans-serif);
  letter-spacing: -.055em; text-wrap: balance;
}
.story-summary { margin: 20px auto 0; max-width: 30em; font-size: 18px; line-height: 1.55; }
.story-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.story-pill {
  display: inline-flex; justify-content: center; align-items: center;
  min-width: 126px; min-height: 44px; padding: 10px 20px; border-radius: 50px;
  font: 500 16px/24px var(--sans, sans-serif); background: #fff; color: #155e52;
  transition: background-color .18s ease;
}
.story-pill:hover { background: #e2f3ee; }
.story-pill-primary { min-width: 142px; color: #fff; background: var(--hero-action); }
.story-pill-primary:hover { background: #0b5048; }
.story-pill:focus-visible, .story-playback:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.story-playback {
  position: absolute; z-index: 3; right: 22px; bottom: 18px; width: 44px; height: 44px;
  border: 1px solid rgb(255 255 255 / .32); border-radius: 50%; background: rgb(0 0 0 / .57);
  display: grid; place-items: center; cursor: pointer; color: #fff;
}
.story-playback[hidden] { display: none; }
.playback-symbol {
  width: 0; height: 0; border: 7px solid transparent;
  border-right: 0; border-left: 11px solid currentColor; margin-left: 3px;
}
.story-playback[data-playing] .playback-symbol {
  width: 11px; height: 14px; border: 0; border-inline: 3px solid currentColor; margin-left: 0;
}

.story-gallery {
  position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh;
  overflow: hidden; background: #f6f8f3; color: #143530;
}
.story-mosaic {
  --gallery-gap: 20px;
  grid-area: 1/1; justify-self: center; display: grid; width: 100%; max-width: 2560px;
  min-height: 100vh; min-height: 100svh; padding: 20px; place-items: center;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto); gap: calc(var(--gallery-gap) * 3) var(--gallery-gap);
}
.story-mosaic::before {
  content: ""; grid-column: 1 / -1; grid-row: 3; min-height: 125px;
}
.story-mosaic > div {
  grid-column: var(--col); grid-row: var(--row); width: 100%; max-width: 180px; aspect-ratio: 1;
  border-radius: min(2rem, 16%); overflow: hidden; background-color: #f0eeea;
}
.story-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.story-mosaic .mosaic-dark, .story-mosaic .mosaic-brand, .story-mosaic .mosaic-print { display: grid; place-items: center; }
.story-mosaic .mosaic-dark { background: #164e47; }
.story-mosaic .mosaic-brand { background: #c7e7d3; }
.story-mosaic .mosaic-paper { background: #f7f6f1; }
.story-mosaic .mosaic-print { background: #f5df8a; }
.story-mosaic :is(.mosaic-dark,.mosaic-brand,.mosaic-print) img { width: 72%; height: 72%; object-fit: contain; }
.story-mosaic .mosaic-poster { background: #efeee9 url("assets/hero-poster.webp") center / cover; }
.story-statement {
  font-family: var(--display-font, Georgia, "AppleMyungjo", "Batang", serif);
  font-weight: 400; text-wrap: balance;
  grid-area: 1/1; z-index: 1; position: relative; margin: 0; padding: 28px 18px;
  text-align: center; font-size: 40px; line-height: 45px; letter-spacing: -.02em;
}
.story-statement span { display: inline-block; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .story-statement { font-size: clamp(36px, 3.23vw, 40px); line-height: 1.125; }
  .story-mosaic { width: 150%; }
}
@media (max-width: 1023px) {
  .story-statement { font-size: 32px; line-height: 36px; }
  .story-mosaic { width: 200%; }
}
@media (max-width: 739px) {
  .story-intro { padding: 76px 18px 48px; }
  .story-audience { font-size: 15px; margin-bottom: 10px; }
  #story-title { font-size: clamp(26px, 8.2vw, 48px); }
  .story-summary { margin: 12px auto 0; font-size: 16px; max-width: 23em; }
  .story-actions { gap: 8px; margin-top: 18px; }
  .story-opening::after { background: rgb(8 26 22 / .68); }
  .story-mosaic { --gallery-gap: 15px; width: 225%; }
  .story-mosaic::before { min-height: 160px; }
  .story-video { object-position: 42% center; }
  .story-playback { right: 12px; bottom: 10px; }
  .story-statement { max-width: 100%; font-size: 32px; line-height: 36px; padding-inline: 20px; }
}
@media (max-width: 373px) {
  .story-mosaic { width: 250%; }
  .story-pill { min-width: 0; padding-inline: 14px; }
}
@media (max-height: 480px) and (min-width: 560px) {
  .story-intro { padding: 72px 24px 28px; }
  #story-title { font-size: 32px; }
  .story-summary { font-size: 15px; }
}

