
/* TimyBear Brand Story — Editorial v3.1.1.1
   This page shares the home system, but uses a page-specific editorial grammar:
   chapter rail, long-form text, flush photography, product forms and concept notes. */

:root {
  --story-sticky-header: var(--header-h);
  --story-chapter-h: 59px;
  --story-anchor-gap: 24px;
}

/* Brand-story anchors must clear both fixed navigation layers.
   The actual header height is synchronized by brand-story.js while it compacts. */
html {
  scroll-padding-top: calc(var(--story-sticky-header) + var(--story-chapter-h) + var(--story-anchor-gap));
}

.story-page {
  /* The WordPress navigation owns the live header height and shell width. */
  --header-h: var(--nav-header-h, 82px);
  --shell: var(--nav-shell, min(1280px, calc(100vw - 96px)));
  --story-paper: #f8f4ed;
  --story-paper-2: #efe5d9;
  --story-cream: #fffaf4;
  --story-dark: #2b211b;
  --story-dark-2: #392a22;
  background: var(--story-paper);
}

@media (max-width: 1180px) {
  .story-page {
    --shell: min(920px, calc(100vw - 48px));
  }
}

@media (max-width: 760px) {
  .story-page {
    --shell: calc(100vw - 36px);
  }
}

@media (max-width: 420px) {
  .story-page {
    --shell: calc(100vw - 28px);
  }
}

.story-page main { overflow: clip; }
.story-page .desktop-nav a.is-active::after { right: 0; }
.story-page .mobile-drawer a.is-active { color: var(--red); }

.story-hero {
  position: relative;
  min-height: clamp(620px, 42.7vw, 820px);
  margin-top: var(--header-h);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #f2ede7;
  isolation: isolate;
}
.story-hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  margin: 0;
}
.story-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.story-hero-copy {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(72px, 7vw, 118px) 0;
}
.story-hero-copy-inner { width: min(820px, 57vw); }
.story-kicker {
  margin-bottom: 28px;
  color: var(--red);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .2em;
  font-weight: 800;
}
.story-hero-title-row { position: relative; display: block; width: max-content; max-width: 100%; }
.story-hero-title-row h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 4.8vw, 78px);
  line-height: 1.08;
  letter-spacing: -.06em;
  font-weight: 700;
  white-space: nowrap;
}
.story-mobile-break { display: none; }
.story-hero-title-row > img {
  position: absolute;
  width: clamp(42px, 4vw, 60px);
  right: -78px;
  top: 10px;
  transform: rotate(7deg);
}
.story-hero-lead {
  max-width: 570px;
  margin-top: 30px;
  color: #5f534c;
  font-size: 16px;
  line-height: 1.95;
}
.story-hero-copy .button { margin-top: 34px; }
.story-hero-caption {
  position: absolute;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  bottom: 22px;
  left: max(24px, calc((100vw - var(--shell)) / 2));
  display: flex;
  justify-content: space-between;
  color: rgba(47, 36, 30, .58);
  font-size: 9px;
  letter-spacing: .16em;
  font-weight: 760;
}

.story-chapter-nav {
  position: sticky;
  z-index: 80;
  top: var(--story-sticky-header);
  border-bottom: 1px solid rgba(65, 47, 36, .13);
  background: rgba(255, 253, 249, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.story-chapter-inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.story-chapter-inner::-webkit-scrollbar { display: none; }
.story-chapter-inner a {
  position: relative;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 0 clamp(18px, 2vw, 30px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6e625a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.story-chapter-inner a:first-child { padding-left: 0; }
.story-chapter-inner a span { color: #aaa097; font-size: 9px; letter-spacing: .12em; }
.story-chapter-inner a::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease);
}
.story-chapter-inner a:first-child::after { left: 0; }
.story-chapter-inner a.is-active { color: var(--ink); }
.story-chapter-inner a.is-active::after { transform: scaleX(1); }

.story-opening { padding: clamp(120px, 10vw, 170px) 0 clamp(100px, 8vw, 140px); }
.story-opening-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1.3fr) minmax(280px, .62fr);
  align-items: start;
  gap: clamp(38px, 6vw, 88px);
}
.story-margin-label {
  padding-top: 12px;
  color: #9a8d82;
  font-size: 9px;
  line-height: 1.65;
  letter-spacing: .2em;
  font-weight: 800;
}
.story-opening-main h2 {
  font-family: var(--serif);
  font-size: clamp(50px, 5vw, 78px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: 700;
}
.story-opening-main > p {
  max-width: 760px;
  margin-top: 28px;
  font-family: var(--serif);
  color: #8d4b43;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.6;
}
.story-opening-note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.story-opening-note strong { display: block; font-size: 15px; line-height: 1.7; }
.story-opening-note p { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.story-opening-photo {
  width: min(1540px, calc(100vw - 64px));
  margin: clamp(70px, 7vw, 110px) auto 0;
}
.story-opening-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.story-opening-photo figcaption,
.origin-media figcaption,
.why-media figcaption,
.family-panorama figcaption {
  min-height: 44px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #796e66;
  font-size: 11px;
  line-height: 1.6;
}
.story-opening-photo figcaption em,
.origin-media figcaption em,
.why-media figcaption em,
.family-panorama figcaption em { font-style: normal; letter-spacing: .13em; white-space: nowrap; }

.story-section {
  position: relative;
  padding: clamp(110px, 9vw, 160px) 0;
  scroll-margin-top: calc(var(--story-sticky-header) + var(--story-chapter-h) + var(--story-anchor-gap));
}
.story-opening {
  scroll-margin-top: calc(var(--story-sticky-header) + var(--story-chapter-h) + var(--story-anchor-gap));
}
.story-editorial-grid {
  display: grid;
  grid-template-columns: 78px minmax(0, 1.08fr) minmax(350px, .82fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}
.chapter-marker {
  position: sticky;
  top: calc(var(--story-sticky-header) + var(--story-chapter-h) + 28px);
  padding-top: 8px;
}
.chapter-marker span {
  display: block;
  font-family: var(--serif);
  color: var(--red);
  font-size: 32px;
  line-height: 1;
}
.chapter-marker p {
  margin-top: 18px;
  color: #9a8e85;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: .16em;
  font-weight: 800;
}
.origin-media { margin: 0; }
.origin-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.origin-media figcaption { padding-right: 10px; }
.story-copy { padding-top: clamp(8px, 2vw, 28px); }
.story-copy h2,
.why-copy h2,
.colors-heading h2,
.forms-heading h2,
.life-heading h2,
.criteria-heading h2,
.vision-heading h2,
.story-closing-copy h2 {
  font-family: var(--serif);
  font-size: clamp(46px, 4.5vw, 70px);
  line-height: 1.14;
  letter-spacing: -.055em;
  font-weight: 700;
}
.story-copy-lead {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.92;
}
.story-step-list { margin-top: 40px; padding: 0; list-style: none; }
.story-step-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
}
.story-step-list li:last-child { border-bottom: 1px solid var(--line); }
.story-step-list > li > span { padding-top: 4px; color: var(--red); font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.story-step-list strong { display: block; font-size: 16px; }
.story-step-list p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.why-section { color: #fff8ef; background: var(--story-dark); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(58px, 8vw, 124px);
}
.why-copy h2 { color: #fffaf3; }
.why-quote {
  max-width: 560px;
  margin-top: 34px;
  font-family: var(--serif);
  color: #f0b19f;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.55;
}
.why-copy > p:last-of-type { max-width: 600px; margin-top: 25px; color: rgba(255,248,239,.7); font-size: 15px; line-height: 1.95; }
.why-notes { margin-top: 48px; }
.why-notes > div {
  min-height: 66px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.17);
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  align-items: start;
}
.why-notes > div:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.why-notes dt { color: #ef9b88; font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.why-notes dd { margin: 0; display: flex; justify-content: space-between; gap: 22px; }
.why-notes strong { font-size: 15px; }
.why-notes span { color: rgba(255,248,239,.56); font-size: 13px; text-align: right; }
.why-media { margin: 0; }
.why-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why-media figcaption { border-color: rgba(255,255,255,.18); color: rgba(255,248,239,.58); }

.colors-section { background: var(--story-cream); }
.colors-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .7fr);
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
}
.colors-title-row { position: relative; display: inline-block; }
.colors-title-row > img { position: absolute; width: 54px; right: -72px; top: 18px; }
.colors-intro { padding-bottom: 8px; }
.colors-intro p { color: var(--muted); font-size: 15px; line-height: 1.95; }
.colors-intro .underlined-link { margin-top: 24px; }
.family-panorama { width: min(1540px, calc(100vw - 64px)); margin: clamp(60px, 6vw, 92px) auto 0; }
.family-panorama-scroll { overflow-x: auto; scrollbar-width: none; }
.family-panorama-scroll::-webkit-scrollbar { display: none; }
.family-panorama img { width: 100%; max-width: none; aspect-ratio: 2400 / 620; object-fit: cover; }
.family-panorama figcaption span:first-child { display: none; }
.color-ledger {
  margin-top: clamp(48px, 5vw, 72px);
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}
.color-ledger li {
  min-height: 112px;
  padding: 20px 20px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
}
.color-ledger li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--swatch);
  grid-row: 1 / 3;
  align-self: start;
}
.color-ledger span { display: none; }
.color-ledger strong { font-size: 13px; }
.color-ledger em { margin-top: 6px; color: #8b7f76; font-size: 11px; font-style: normal; }

.forms-section { background: var(--story-paper); }
.forms-heading {
  max-width: 840px;
  margin-left: min(8vw, 110px);
}
.forms-heading > p:last-child { max-width: 680px; margin-top: 30px; color: var(--muted); font-size: 16px; line-height: 1.95; }
.form-editorial-grid {
  margin-top: clamp(66px, 7vw, 105px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(58px, 6vw, 90px) 24px;
  align-items: start;
}
.form-item { display: block; min-width: 0; }
.form-item figure { margin: 0; overflow: hidden; background: #eadfd4; }
.form-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.form-item:hover img { transform: scale(1.025); }
.form-plush { grid-column: 1 / 8; }
.form-blindbox { grid-column: 9 / 13; margin-top: 100px; }
.form-keychain { grid-column: 2 / 6; }
.form-magnet { grid-column: 6 / 10; margin-top: 72px; }
.form-pvc { grid-column: 10 / 13; }
.form-plush figure { aspect-ratio: 4 / 3; }
.form-blindbox figure,
.form-keychain figure,
.form-magnet figure,
.form-pvc figure { aspect-ratio: 4 / 3; }
.form-caption { padding-top: 16px; border-top: 1px solid var(--line); }
.form-caption span { color: #a85f51; font-size: 9px; letter-spacing: .16em; font-weight: 800; }
.form-caption h3 { margin-top: 10px; font-family: var(--serif); font-size: clamp(21px, 2vw, 29px); line-height: 1.35; letter-spacing: -.025em; }
.form-caption p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.life-section { background: var(--story-paper-2); }
.life-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .68fr);
  align-items: end;
  gap: clamp(58px, 8vw, 120px);
}
.life-heading > p { padding-bottom: 10px; color: #6e625a; font-size: 15px; line-height: 1.95; }
.life-editorial-grid {
  margin-top: clamp(64px, 7vw, 100px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 70px 22px;
  align-items: start;
}
.life-item { margin: 0; min-width: 0; }
.life-image { position: relative; overflow: hidden; background: #e2d5c8; }
.life-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.life-item:hover img { transform: scale(1.02); }
.life-home { grid-column: 1 / 8; }
.life-commute { grid-column: 9 / 13; margin-top: 90px; }
.life-work { grid-column: 1 / 5; }
.life-gifting { grid-column: 5 / 9; margin-top: 76px; }
.life-collecting { grid-column: 9 / 13; }
.life-home .life-image { aspect-ratio: 16 / 9; }
.life-commute .life-image,
.life-work .life-image,
.life-gifting .life-image,
.life-collecting .life-image { aspect-ratio: 16 / 9; }
.life-item figcaption { padding-top: 15px; border-top: 1px solid #cfc0b1; }
.life-item figcaption > span { color: #9e6956; font-size: 9px; letter-spacing: .15em; font-weight: 800; }
.life-item figcaption strong { display: block; margin-top: 9px; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.life-item figcaption p { margin-top: 8px; color: #746960; font-size: 13px; line-height: 1.75; }
.concept-badge,
.vision-image > span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  background: rgba(43,33,27,.86);
  color: #fff8ef;
  font-size: 8px;
  letter-spacing: .13em;
  font-weight: 800;
}

.criteria-section { background: #fffaf4; }
.criteria-grid {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
  gap: clamp(70px, 9vw, 140px);
  align-items: start;
}
.criteria-heading {
  position: sticky;
  top: calc(var(--story-sticky-header) + var(--story-chapter-h) + 22px);
}
.criteria-heading > p:last-child { max-width: 520px; margin-top: 30px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.criteria-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.criteria-list li {
  min-height: 134px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 54px 42px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.criteria-list img { width: 42px; height: 42px; }
.criteria-list > li > span { padding-top: 8px; color: #b36a4d; font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.criteria-list strong { display: block; font-size: 16px; line-height: 1.65; }
.criteria-list p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.vision-section { color: #fff8ef; background: var(--story-dark); }
.vision-heading { max-width: 900px; }
.vision-heading > p:last-child { max-width: 780px; margin-top: 30px; color: rgba(255,248,239,.66); font-size: 14px; line-height: 1.95; }
.vision-grid {
  margin-top: clamp(60px, 7vw, 100px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.vision-grid figure { margin: 0; min-width: 0; }
.vision-image { position: relative; overflow: hidden; background: #45352b; }
.vision-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .65s var(--ease); }
.vision-grid figure:hover img { transform: scale(1.02); }
.vision-grid figcaption { padding-top: 17px; border-top: 1px solid rgba(255,255,255,.18); }
.vision-grid figcaption em { color: #e69a87; font-size: 9px; letter-spacing: .15em; font-style: normal; font-weight: 800; }
.vision-grid figcaption strong { display: block; min-height: 62px; margin-top: 10px; font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.vision-grid figcaption p { color: rgba(255,248,239,.56); font-size: 13px; line-height: 1.75; }

.story-closing {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #efc59f;
  isolation: isolate;
}
.story-closing-media { position: absolute; z-index: -1; inset: 0; margin: 0; }
.story-closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-closing-inner { min-height: 420px; display: flex; align-items: center; }
.story-closing-copy { width: min(690px, 58vw); padding: 68px 0; }
.story-closing-copy > p:nth-of-type(2) { max-width: 560px; margin-top: 22px; color: #6b5142; font-size: 15px; line-height: 1.85; }
.story-closing-actions { margin-top: 30px; display: flex; gap: 14px; }
.story-closing .button-outline { border-color: rgba(48,36,30,.45); background: rgba(255,255,255,.12); }

@media (max-width: 1200px) {
  .story-opening-grid { grid-template-columns: 90px minmax(0,1.2fr) minmax(260px,.7fr); gap: 44px; }
  .story-editorial-grid { grid-template-columns: 60px minmax(0,1fr) minmax(320px,.78fr); gap: 38px; }
  .why-grid { gap: 62px; }
  .form-blindbox { margin-top: 72px; }
  .form-magnet { margin-top: 50px; }
  .life-commute { margin-top: 60px; }
  .life-gifting { margin-top: 52px; }
}

@media (max-width: 1060px) {
  .story-hero-copy-inner { width: min(660px, 62vw); }
  .story-hero-title-row h1 { font-size: clamp(52px, 5.6vw, 64px); }
  .story-hero-title-row > img { right: -58px; width: 44px; }
  .story-opening-grid { grid-template-columns: minmax(0,1fr) minmax(250px,.52fr); }
  .story-margin-label { display: none; }
  .story-editorial-grid { grid-template-columns: minmax(0,1fr) minmax(300px,.8fr); }
  .chapter-marker { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .colors-heading, .life-heading { grid-template-columns: 1fr 1fr; gap: 48px; }
  .form-editorial-grid { gap-block: 62px; }
  .form-blindbox { grid-column: 8 / 13; }
  .form-keychain { grid-column: 1 / 5; }
  .form-magnet { grid-column: 5 / 9; }
  .form-pvc { grid-column: 9 / 13; }
  .criteria-grid { grid-template-columns: .85fr 1.15fr; gap: 58px; }
  .vision-grid { gap: 16px; }
  .vision-grid figcaption strong { font-size: 19px; }
}

@media (max-width: 900px) {
  .story-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--story-paper);
  }
  .story-hero-media {
    position: relative;
    order: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .story-hero-media img { object-position: center; }
  .story-hero-copy { order: 2; padding: 58px 0 76px; }
  .story-hero-copy-inner { width: min(720px, 100%); }
  .story-hero-title-row h1 { font-size: clamp(52px, 8.2vw, 70px); }
  .story-hero-title-row > img { right: -62px; }
  .story-hero-lead { max-width: 650px; }
  .story-hero-caption { top: calc((100vw * .75) - 26px); bottom: auto; color: rgba(255,255,255,.86); text-shadow: 0 1px 6px rgba(0,0,0,.22); }
  .story-opening-grid,
  .story-editorial-grid,
  .why-grid,
  .colors-heading,
  .life-heading,
  .criteria-grid { grid-template-columns: 1fr; }
  .story-opening-note { max-width: 560px; }
  .story-copy { padding-top: 0; }
  .why-copy { order: 2; }
  .why-media { order: 1; }
  .why-notes dd { justify-content: flex-start; }
  .colors-intro, .life-heading > p { max-width: 650px; padding-bottom: 0; }
  .criteria-heading { position: static; max-width: 720px; }
  .vision-grid { grid-template-columns: 1fr 1fr; }
  .vision-grid figure:last-child { grid-column: 1 / 3; width: calc(50% - 8px); }
}

@media (max-width: 760px) {
  :root {
    --story-chapter-h: 51px;
    --story-anchor-gap: 18px;
  }

  .story-hero { margin-top: var(--header-h); }
  .story-hero-copy { padding: 46px 0 68px; }
  .story-kicker { margin-bottom: 20px; font-size: 9px; }
  .story-hero-title-row { display: block; }
  .story-mobile-break { display: inline; }
  .story-hero-title-row h1 { font-size: clamp(43px, 11.7vw, 55px); line-height: 1.1; }
  .story-hero-title-row > img { width: 34px; right: 0; top: -4px; }
  .story-hero-lead { margin-top: 25px; font-size: 14px; line-height: 1.88; }
  .story-hero-copy .button { width: 100%; margin-top: 28px; }
  .story-hero-caption { right: 14px; left: 14px; top: calc((100vw * .75) - 24px); font-size: 7px; }

  .story-chapter-nav { top: var(--story-sticky-header); }
  .story-chapter-inner { width: 100%; padding: 0 12px; }
  .story-chapter-inner a { min-height: 50px; padding: 0 14px; font-size: 11px; }
  .story-chapter-inner a:first-child { padding-left: 6px; }
  .story-chapter-inner a::after { right: 12px; left: 12px; }
  .story-chapter-inner a:first-child::after { left: 6px; }

  .story-opening { padding: 92px 0 84px; }
  .story-opening-grid { gap: 36px; }
  .story-opening-main h2 { font-size: clamp(40px, 11.2vw, 52px); }
  .story-opening-main > p { margin-top: 20px; font-size: 22px; }
  .story-opening-note { padding-top: 18px; }
  .story-opening-photo { width: 100%; margin-top: 58px; }
  .story-opening-photo img { aspect-ratio: 4 / 3; object-position: 65% center; }
  .story-opening-photo figcaption { margin-inline: 18px; }

  .story-section { padding: 92px 0; }
  .story-copy h2,
  .why-copy h2,
  .colors-heading h2,
  .forms-heading h2,
  .life-heading h2,
  .criteria-heading h2,
  .vision-heading h2,
  .story-closing-copy h2 { font-size: clamp(39px, 11vw, 52px); line-height: 1.17; }
  .origin-media figcaption, .why-media figcaption { padding-right: 2px; }
  .story-copy-lead { margin-top: 24px; font-size: 15px; }
  .story-step-list { margin-top: 30px; }

  .why-section { padding-top: 0; }
  .why-grid { gap: 52px; }
  .why-media { width: calc(100% + 36px); margin-left: -18px; }
  .why-media figcaption { margin-inline: 18px; }
  .why-copy > p:last-of-type { font-size: 14px; }
  .why-notes { margin-top: 36px; }
  .why-notes dd { flex-direction: column; gap: 5px; }
  .why-notes span { text-align: left; }

  .colors-title-row > img { width: 38px; right: 0; top: -18px; }
  .colors-intro p { font-size: 14px; }
  .family-panorama { width: 100%; margin-top: 48px; }
  .family-panorama-scroll { padding: 0 14px; scroll-snap-type: x mandatory; }
  .family-panorama img { width: 1040px; height: auto; scroll-snap-align: start; }
  .family-panorama figcaption { margin-inline: 18px; }
  .family-panorama figcaption span:first-child { display: inline; }
  .color-ledger { margin-top: 42px; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .color-ledger li { min-height: 92px; padding: 16px 14px; }

  .forms-heading { margin-left: 0; }
  .forms-heading > p:last-child { margin-top: 24px; font-size: 14px; }
  .form-editorial-grid {
    margin-top: 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 12px;
  }
  .form-plush, .form-blindbox { grid-column: 1 / 3; margin-top: 0; }
  .form-keychain { grid-column: 1; }
  .form-magnet { grid-column: 2; margin-top: 38px; }
  .form-pvc { grid-column: 1 / 3; width: calc(50% - 6px); margin-left: auto; }
  .form-caption { padding-top: 13px; }
  .form-caption h3 { font-size: 20px; }
  .form-caption p { font-size: 12px; }

  .life-editorial-grid {
    width: 100%;
    margin-top: 48px;
    padding: 0 18px 12px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .life-editorial-grid::-webkit-scrollbar { display: none; }
  .life-item,
  .life-home,
  .life-commute,
  .life-work,
  .life-gifting,
  .life-collecting {
    flex: 0 0 82vw;
    width: auto;
    margin-top: 0;
    scroll-snap-align: start;
  }
  .life-home { flex-basis: 88vw; }
  .life-item figcaption strong { font-size: 19px; }
  .life-item figcaption p { font-size: 12px; }

  .criteria-grid { gap: 48px; }
  .criteria-heading > p:last-child { font-size: 13px; }
  .criteria-list li { min-height: 0; grid-template-columns: 42px 30px minmax(0,1fr); gap: 12px; padding: 23px 0; }
  .criteria-list img { width: 34px; height: 34px; }
  .criteria-list strong { font-size: 14px; }
  .criteria-list p { font-size: 12px; }

  .vision-heading > p:last-child { font-size: 13px; }
  .vision-grid { grid-template-columns: 1fr; gap: 46px; }
  .vision-grid figure:last-child { grid-column: auto; width: auto; }
  .vision-grid figcaption strong { min-height: 0; font-size: 19px; }

  .story-closing { min-height: 0; background: #efc7a5; }
  .story-closing-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 7; }
  .story-closing-media img { object-position: 72% center; }
  .story-closing-inner { min-height: 0; padding: 58px 0 72px; }
  .story-closing-copy { width: 100%; padding: 0; }
  .story-closing-copy > p:nth-of-type(2) { font-size: 14px; }
  .story-closing-actions { flex-direction: column; }
  .story-closing-actions .button { width: 100%; }
}

@media (max-width: 420px) {
  .story-hero-title-row h1 { font-size: clamp(40px, 11.5vw, 48px); }
  .story-hero-title-row > img { width: 30px; }
  .color-ledger strong { font-size: 12px; }
  .form-caption h3 { font-size: 18px; }
  .form-pvc { width: 100%; }
  .life-item, .life-home { flex-basis: 86vw; }
}

/* Brand Story v4 — the origin film is the hero, and the second screen begins
   the story immediately instead of repeating a decorative opening spread. */
.story-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Fail open: all brand-story copy remains readable when scripts are slow,
   unavailable, or motion has been reduced by the visitor. */
.story-page [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.story-hero {
  min-height: clamp(600px, calc(100dvh - var(--header-h)), 720px);
  grid-template-columns: minmax(390px, 42%) minmax(0, 58%);
  align-items: stretch;
  background: #f3eadf;
}

.story-hero-media {
  position: relative;
  z-index: auto;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: inherit;
  overflow: hidden;
  background: #cdb79d;
}

.story-hero-fallback,
.story-origin-video {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  transform: translateY(-50%);
}

.story-hero-fallback { z-index: 0; margin: 0; }
.story-hero-fallback img,
.story-origin-video {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.story-origin-video { z-index: 1; display: block; background: transparent; }
.story-hero-media.is-video-failed .story-origin-video { display: none; }

.story-video-controls {
  position: absolute;
  z-index: 3;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(12px, 2vw, 26px);
  display: flex;
  gap: 8px;
}

.story-video-control {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 0;
  display: grid;
  place-items: center;
  color: #fffaf4;
  background: rgba(38, 29, 23, .72);
  box-shadow: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.story-video-control:hover { background: rgba(38, 29, 23, .9); border-color: rgba(255, 255, 255, .58); }
.story-video-control:focus-visible { outline: 2px solid #fffaf4; outline-offset: 3px; }
.story-video-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

[data-story-video-play]::before {
  content: "";
  width: 12px;
  height: 14px;
  border-right: 4px solid currentColor;
  border-left: 4px solid currentColor;
}
[data-story-video-play].is-paused::before {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: 0;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}
[data-story-video-sound]::before {
  content: "";
  width: 7px;
  height: 9px;
  border-left: 5px solid currentColor;
  box-shadow: -4px 0 0 -1px currentColor;
  clip-path: polygon(0 28%, 42% 28%, 100% 0, 100% 100%, 42% 72%, 0 72%);
}
[data-story-video-sound]::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}
[data-story-video-sound]:not(.is-muted)::after {
  width: 6px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: transparent;
  transform: translateX(7px);
}

.story-hero-copy {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  margin: 0;
  padding: clamp(72px, 7vw, 106px) clamp(42px, 4.4vw, 70px) clamp(72px, 7vw, 106px) max(48px, calc((100vw - var(--shell)) / 2));
  display: flex;
  align-items: center;
}
.story-hero-copy-inner { width: min(520px, 100%); }
.story-kicker { margin-bottom: 24px; letter-spacing: .1em; }
.story-hero-title-row { width: auto; }
.story-hero-title-row h1 {
  font-size: clamp(54px, 4.8vw, 72px);
  line-height: 1.1;
  white-space: normal;
}
.story-hero-lead { max-width: 500px; margin-top: 28px; }
.story-hero-copy .button { min-height: 48px; }

.origin-section {
  padding: clamp(72px, 7vw, 102px) 0 clamp(96px, 8vw, 128px);
  background: #fffaf4;
}
.origin-section .story-editorial-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  gap: clamp(52px, 6.5vw, 92px);
  align-items: center;
}
.origin-media img { aspect-ratio: 4 / 3; }
.origin-section .story-copy { padding-top: 0; }
.origin-section .story-copy-lead { margin-top: 24px; }
.origin-section .story-step-list { margin-top: 34px; }

@media (max-width: 1180px) {
  .story-hero { grid-template-columns: minmax(340px, 40%) minmax(0, 60%); }
  .story-hero-copy {
    padding-right: clamp(32px, 4vw, 52px);
    padding-left: max(24px, calc((100vw - var(--shell)) / 2));
  }
  .story-hero-title-row h1 { font-size: clamp(48px, 5.1vw, 62px); }
  .origin-section .story-editorial-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 48px; }
}

@media (max-width: 900px) {
  .story-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .story-hero-media {
    order: 1;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .story-hero-fallback,
  .story-origin-video {
    top: 0;
    height: 100%;
    transform: none;
  }
  .story-hero-copy {
    order: 2;
    width: var(--shell);
    margin-inline: auto;
    padding: 50px 0 66px;
  }
  .story-hero-copy-inner { width: min(680px, 100%); }
  .story-hero-title-row h1 { font-size: clamp(48px, 8.2vw, 66px); }
  .origin-section .story-editorial-grid { grid-template-columns: 1fr; gap: 42px; }
  .origin-media { order: 1; }
  .origin-section .story-copy { order: 2; max-width: 720px; }
}

@media (max-width: 760px) {
  .story-hero-media { aspect-ratio: 16 / 9; }
  .story-video-controls { right: 12px; bottom: 12px; }
  .story-video-control { width: 44px; height: 44px; }
  .story-hero-copy { padding: 38px 0 52px; }
  .story-kicker { margin-bottom: 18px; }
  .story-hero-title-row h1 { font-size: clamp(40px, 11.4vw, 50px); }
  .story-hero-lead { margin-top: 22px; }
  .story-hero-copy .button { margin-top: 26px; }
  .origin-section { padding: 68px 0 84px; }
  .origin-section .story-editorial-grid { gap: 34px; }
  .origin-section .story-copy h2 { font-size: clamp(39px, 11vw, 50px); }
  .origin-section .story-copy-lead { margin-top: 22px; }
  .origin-section .story-step-list { margin-top: 28px; }
}

/* Restore the approved immersive mobile opening: the film remains the hero
 * background and the story copy sits on the same visual plane. */
@media (max-width: 900px) {
  .story-hero {
    position: relative;
    min-height: clamp(620px, calc(100dvh - var(--header-h)), 720px);
    margin-top: var(--header-h);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    overflow: hidden;
    background: #2b201a;
    isolation: isolate;
  }

  .story-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 22, 17, .02) 18%, rgba(32, 22, 17, .24) 43%, rgba(32, 22, 17, .9) 78%, #241914 100%);
    pointer-events: none;
  }

  .story-hero-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    grid-column: 1;
    grid-row: 1;
    order: initial;
    width: auto;
    min-height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .story-hero-fallback,
  .story-origin-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
    object-fit: cover;
    object-position: center;
  }

  .story-video-controls {
    z-index: 4;
    top: 12px;
    right: 12px;
    bottom: auto;
  }

  .story-hero-copy {
    position: relative;
    z-index: 2;
    order: initial;
    width: var(--shell);
    min-height: inherit;
    margin-inline: auto;
    padding: clamp(270px, 39vh, 340px) 0 40px;
    display: flex;
    align-items: flex-end;
  }

  .story-hero-copy-inner { width: min(560px, 100%); }
  .story-kicker { margin-bottom: 16px; color: #ff8178; }
  .story-hero-title-row { width: auto; }
  .story-hero-title-row > img { display: none; }
  .story-hero-title-row h1 { color: #fffaf4; font-size: clamp(44px, 8.2vw, 60px); line-height: 1.08; text-wrap: balance; }
  .story-hero-lead { max-width: 580px; margin-top: 20px; color: rgba(255, 250, 244, .82); font-size: 14px; line-height: 1.82; }
  .story-hero-copy .button { width: 100%; margin-top: 24px; border-color: #fffaf4; background: #fffaf4; color: #30241e; }
  .story-hero-caption { display: none; }
}

@media (max-width: 760px) {
  .story-hero-copy { padding-top: clamp(250px, 37vh, 315px); padding-bottom: 34px; }
  .story-hero-title-row h1 { font-size: clamp(40px, 11.4vw, 50px); }
  .story-video-control { width: 42px; height: 42px; }
}
