/* A separate, optional chapter of the catalogue. All rules stay inside the component. */
.tea-journey {
  --tea-bg:#071b3f;
  --tea-surface:#10284e;
  --tea-ink:#fff;
  --tea-muted:#c1cee3;
  --tea-line:#ffffff32;
  --tea-accent:var(--acid,#d7ff16);
  background:var(--tea-bg);
  color:var(--tea-ink);
  padding:clamp(4.5rem,8vw,8rem) var(--pad) clamp(4rem,7vw,7rem);
  isolation:isolate;
  scroll-margin-top:100px;
}
.tea-journey__intro,.tea-journey__layout {max-width:calc(var(--max,1460px) - var(--pad)*2);margin-inline:auto}
.tea-journey__intro {display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2rem,7vw,7rem);align-items:end;margin-bottom:clamp(2.8rem,5vw,5rem)}
.tea-journey__eyebrow {font-size:.75rem;line-height:1.6;font-weight:700;letter-spacing:.14em;color:var(--tea-muted);margin:0 0 1.4rem}
.tea-journey__intro h2 {margin:0;font-size:clamp(4.1rem,8.4vw,8.5rem);font-weight:900;line-height:.98!important;letter-spacing:-.07em!important}
.tea-journey__intro h2 span {color:var(--tea-accent)}
.tea-journey__intro-copy {max-width:370px;padding-bottom:.5rem}
.tea-journey__intro-copy p {margin:0 0 1.6rem;font-size:clamp(1rem,1.25vw,1.15rem);line-height:1.75;color:var(--tea-muted)}
.tea-journey__skip {display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;font-weight:700;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.tea-journey__skip:hover {color:var(--tea-accent)}
.tea-journey__skip {margin-right:1.25rem;margin-bottom:.4rem}
.tea-journey__layout {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(2.5rem,7vw,7rem);align-items:start}
.tea-journey__scene-column {position:sticky;top:calc(var(--tea-header-height,84px) + 24px);padding-bottom:1.5rem}
.tea-journey__scene {background:var(--tea-surface);overflow:hidden;border:1px solid var(--tea-line)}
.tea-journey[data-enhanced="true"] .tea-journey__scene::after {content:"";display:block;height:3px;background:var(--tea-accent);transform:scaleX(var(--tea-progress,0));transform-origin:left;pointer-events:none}
.tea-journey__frames {position:relative;isolation:isolate;width:100%;height:clamp(330px,52svh,620px);overflow:hidden;background:var(--tea-surface)}
.tea-journey__frame {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:translateY(12px) scale(1.035);transition:opacity .55s ease,transform .95s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.tea-journey__frame.is-active {opacity:1;transform:translateY(var(--tea-frame-shift,0px)) scale(var(--tea-frame-scale,1))}
.tea-journey__frame--production {object-position:center 48%}
.tea-journey__frame--collection {object-fit:contain;background:#eef1fb;padding:clamp(.8rem,2vw,1.8rem)}
.tea-journey__scene-caption {min-height:86px;padding:1rem 1.3rem;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1.3rem;border-top:1px solid var(--tea-line)}
.tea-journey__scene-count {font-size:.75rem;letter-spacing:.06em;white-space:nowrap;font-weight:700;color:var(--tea-muted)}
.tea-journey__scene-count [data-tea-count] {font-size:1.65rem;color:var(--tea-accent);font-weight:900;letter-spacing:-.04em}
.tea-journey__scene-caption p {font-size:.875rem;line-height:1.5;margin:0;max-width:28ch}
.tea-journey__steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--tea-line)}
.tea-journey__steps a {min-height:62px;display:flex;align-items:center;justify-content:center;gap:.55rem;border-right:1px solid var(--tea-line);font-size:.75rem;font-weight:700;color:var(--tea-muted);padding:.75rem .4rem;transition:background .2s,color .2s}
.tea-journey__steps a:last-child {border-right:0}
.tea-journey__steps a span {font-size:.625rem;opacity:.75}
.tea-journey__steps a:is(:hover,[aria-current="step"]) {background:var(--tea-accent);color:#10204b}
.tea-journey__steps a:focus-visible,.tea-journey__skip:focus-visible,.tea-journey__finish:focus-visible {outline:3px solid var(--tea-accent);outline-offset:5px;box-shadow:none;position:relative;z-index:3}
.tea-journey__steps a:focus-visible {outline-offset:-5px}
.tea-journey__steps a[aria-current="step"]:focus-visible {outline-color:#10204b}
html[data-catalog-theme="light"] .tea-journey__steps a[aria-current="step"]:focus-visible {outline-color:#fff}
.tea-journey__chapters {min-width:0}
.tea-journey__chapter {min-height:clamp(360px,54svh,620px);display:flex;align-items:center;padding:2rem 0;border-bottom:1px solid var(--tea-line);scroll-margin-top:120px;outline:none}
.tea-journey__chapter:first-child {padding-top:0}
.tea-journey__chapter:last-child {border-bottom:0}
.tea-journey__chapter-number {font-size:.75rem;letter-spacing:.1em;font-weight:700;color:var(--tea-accent);margin:0 0 1.4rem}
.tea-journey__chapter h3 {font-size:clamp(2.1rem,3.6vw,4rem);font-weight:900;line-height:1.06!important;letter-spacing:-.06em!important;margin:0 0 1.5rem;color:var(--tea-ink)}
.tea-journey__chapter-copy>p:not(.tea-journey__chapter-number) {max-width:35ch;font-size:clamp(.95rem,1.15vw,1.075rem);line-height:1.8;color:var(--tea-muted);margin:0 0 1.4rem}
.tea-journey__chapter-note {display:block;font-size:.75rem;line-height:1.7;color:var(--tea-muted);padding-left:1rem;border-left:2px solid var(--tea-accent);max-width:36ch}
.tea-journey__chapter-image {display:none}
.tea-journey__finish {margin-top:.6rem}
html[data-catalog-theme="light"] .tea-journey {--tea-bg:#edf0fa;--tea-surface:#fff;--tea-ink:#10204b;--tea-muted:#43557b;--tea-line:#10204b30;--tea-accent:#1c26aa}
html[data-catalog-theme="light"] .tea-journey__steps a:is(:hover,[aria-current="step"]) {color:#fff}
html[data-catalog-theme="light"] .tea-journey__finish {background:var(--acid,#d7ff16);border-color:var(--acid,#d7ff16);color:#10204b}
@media(min-width:821px) and (max-height:760px) {
  .tea-journey__scene-column {top:calc(var(--tea-header-height,84px) + 16px)}
  .tea-journey__frames {height:42svh;min-height:230px}
  .tea-journey__scene-caption {min-height:72px;padding:.8rem 1rem}
  .tea-journey__steps a {min-height:52px}
}
@media(max-width:1100px) and (min-width:821px) {
  .tea-journey__intro,.tea-journey__layout {grid-template-columns:1fr 1fr;gap:2.5rem}
  .tea-journey__steps a {flex-direction:column;gap:.2rem}
  .tea-journey__chapter h3 {font-size:2.65rem}
}
@media(max-width:820px) {
  .tea-journey {padding-top:4rem;padding-bottom:3rem;scroll-margin-top:84px}
  .tea-journey__intro {grid-template-columns:1fr;gap:1.6rem;margin-bottom:2.6rem}
  .tea-journey__intro h2 {font-size:clamp(4rem,15vw,6.5rem)}
  .tea-journey__intro-copy {max-width:40ch}
  .tea-journey__intro-copy p {font-size:1rem;margin-bottom:.75rem}
  .tea-journey__layout {display:block}
  .tea-journey__scene-column {position:static;padding:0;margin-bottom:1.5rem}
  .tea-journey__scene {overflow:visible;border:0;background:transparent}
  .tea-journey__frames,.tea-journey__scene-caption {display:none}
  .tea-journey__steps {border:1px solid var(--tea-line)}
  .tea-journey__steps a {flex-direction:column;gap:.2rem;min-height:62px;font-size:.75rem}
  .tea-journey__chapter {display:block;min-height:0;padding:0 0 2.7rem;margin-bottom:2.7rem;scroll-margin-top:100px}
  .tea-journey__chapter:last-child {margin-bottom:0;padding-bottom:0}
  .tea-journey__chapter-image {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin-bottom:1.75rem;background:var(--tea-surface)}
  .tea-journey__chapter-image--production {object-position:center 45%;max-height:370px}
  .tea-journey__chapter-image--collection {object-fit:contain;background:#eef1fb;padding:1rem}
  .tea-journey__chapter-number {margin-bottom:.9rem}
  .tea-journey__chapter h3 {font-size:clamp(2.3rem,9.4vw,3.8rem);margin-bottom:1.1rem}
  .tea-journey__chapter-copy>p:not(.tea-journey__chapter-number) {max-width:43ch;font-size:1rem;line-height:1.75}
  .tea-journey__chapter-note {max-width:43ch}
}
/* A compact pinned scene keeps the story animated on portrait phones too.
   It occupies normal flow; only the following text passes beneath its opaque surface. */
@media(max-width:820px) and (min-height:621px) and (prefers-reduced-motion:no-preference) {
  .tea-journey[data-enhanced="true"] .tea-journey__scene-column {position:sticky;top:var(--tea-header-height,70px);z-index:3;padding:.5rem 0 .7rem;margin-bottom:0;background:var(--tea-bg)}
  .tea-journey[data-enhanced="true"] .tea-journey__scene {overflow:hidden;background:var(--tea-surface);border:1px solid var(--tea-line)}
  .tea-journey[data-enhanced="true"] .tea-journey__frames {display:block;height:clamp(150px,28vh,250px);height:clamp(150px,28svh,250px)}
  .tea-journey[data-enhanced="true"] .tea-journey__scene-caption {display:grid;min-height:44px;padding:.45rem .75rem;gap:.75rem}
  .tea-journey[data-enhanced="true"] .tea-journey__scene-count {font-size:.625rem}
  .tea-journey[data-enhanced="true"] .tea-journey__scene-count [data-tea-count] {font-size:1.25rem}
  .tea-journey[data-enhanced="true"] .tea-journey__scene-caption p {font-size:.6875rem;line-height:1.45;max-width:none}
  .tea-journey[data-enhanced="true"] .tea-journey__steps {border:0;border-top:1px solid var(--tea-line)}
  .tea-journey[data-enhanced="true"] .tea-journey__steps a {flex-direction:row;gap:.35rem;min-height:44px;padding:.5rem .2rem;font-size:.6875rem}
  .tea-journey[data-enhanced="true"] .tea-journey__steps a span {font-size:.5625rem}
  .tea-journey[data-enhanced="true"] .tea-journey__chapters {padding-top:1.5rem}
  .tea-journey[data-enhanced="true"] .tea-journey__chapter {min-height:clamp(340px,49vh,440px);min-height:clamp(340px,49svh,440px);margin-bottom:0;padding:1.5rem 0 2.5rem;scroll-margin-top:var(--tea-mobile-scroll-offset,430px)}
  .tea-journey[data-enhanced="true"] .tea-journey__chapter:first-child {padding-top:.25rem}
  .tea-journey[data-enhanced="true"] .tea-journey__chapter:last-child {min-height:340px}
  .tea-journey[data-enhanced="true"] .tea-journey__chapter-image {display:none}
  .tea-journey[data-enhanced="true"] .tea-journey__chapter h3 {font-size:clamp(2.05rem,8.8vw,3.5rem)}
  .tea-journey[data-enhanced="true"] .tea-journey__chapter-copy>p:not(.tea-journey__chapter-number) {font-size:.9375rem;line-height:1.7}
}
/* A short landscape window needs its vertical space for reading. */
@media(max-width:820px) and (max-height:620px) {
  .tea-journey__chapter-image {aspect-ratio:16/9;max-height:240px}
  .tea-journey__steps a {min-height:44px;flex-direction:row}
  .tea-journey[data-enhanced="true"] .tea-journey__scene::after {display:none}
}
@media(prefers-reduced-motion:reduce) {
  .tea-journey__frame,.tea-journey__steps a {transition:none;transform:none}
  .tea-journey__layout {display:block}
  .tea-journey__scene-column {position:static;padding:0;margin-bottom:2rem}
  .tea-journey__frames,.tea-journey__scene-caption,.tea-journey[data-enhanced="true"] .tea-journey__scene::after {display:none}
  .tea-journey__chapter {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:2rem;min-height:0;padding:2rem 0;margin-bottom:0}
  .tea-journey__chapter-image {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin:0}
  .tea-journey__chapter-image--collection {object-fit:contain;background:#eef1fb;padding:1rem}
}
@media(max-width:820px) and (prefers-reduced-motion:reduce) {
  .tea-journey__chapter {display:block;padding:0 0 2.7rem;margin-bottom:2.7rem}
  .tea-journey__chapter-image {margin-bottom:1.75rem}
}
