/* Additions to the approved charcoal style: real screens, logos, the capability directory and the timeline. */
.is-studio {
  --x-surface: #111215;
  --x-raised: #191b20;
  --x-line: #2c2e34;
  --x-soft: #ffffff14;
  --x-muted: #adb0ba;
  --x-ink: #f1f1f3;
  --x-silver: #c6d2da;
  --x-berry: #f2557a;
  --x-green: #6fd39a;
}

/* Product screens */
.shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #0b0b0c; box-shadow: 0 0 0 1px #ffffff1a, 0 40px 90px -50px #000; }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #101113; border-bottom: 1px solid #ffffff12; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #34363c; }
.shot-bar span { margin-inline: auto; transform: translateX(-20px); color: #8d9098; font-size: 12.5px; font-weight: 500; line-height: 1; letter-spacing: -0.01em; text-transform: lowercase; white-space: nowrap; }
.shot-zoom { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot-zoom img { display: block; width: 100%; height: auto; }
.shot-zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: #e2e7eb; color: #141519; font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.shot-zoom:hover .shot-zoom-hint, .shot-zoom:focus-visible .shot-zoom-hint { opacity: 1; transform: none; }
.shot-zoom:focus-visible { outline: 2px solid var(--x-silver); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4vmin; background: #000000e6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; border: 1px solid #ffffff1f; }
.lightbox-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #e2e7eb; color: #141519; cursor: pointer; }

/* Drawn panels for screens that need live providers */
.art { margin: 0; display: grid; gap: 10px; padding: 20px; border-radius: 18px; background: #0d0e10; border: 1px solid #ffffff1a; color: var(--x-ink); font-size: 14px; text-align: left; box-shadow: 0 30px 80px -40px #000; }
.art-title { margin: 0; padding: 2px 4px 8px; color: #8c8f99; font: 400 11.5px/1.3 ui-monospace, "SF Mono", Menlo, monospace; }
.art-row { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 12px; background: var(--x-raised); border: 1px solid #ffffff0f; }
.art-row img { flex: none; width: 30px; height: 30px; object-fit: contain; border-radius: 7px; }
.art-row span { display: grid; flex: 1; min-width: 0; }
.art-row b { font-weight: 500; }
.art-row small { color: #8c8f99; font-size: 12.5px; }
.art-row strong { font-size: 17px; font-weight: 450; white-space: nowrap; }
.art-row strong.is-in { color: var(--x-green); }
.art-row em { padding: 6px 9px; border-radius: 999px; background: #ffffff12; color: #c9ccd4; font: 500 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.05em; text-transform: uppercase; font-style: normal; white-space: nowrap; }
.art-row em.is-ok { background: #2e9e5b2e; color: var(--x-green); }
.art-row em.is-warn { background: #e9a23b2e; color: #f1bd6b; }
.art-row.is-picked { border-color: #f2557a99; background: #f2557a14; }
.art-row.is-picked em { padding: 0; background: none; color: var(--x-berry); }
.art-balance { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 15px 15px 17px; border-radius: 14px; background: linear-gradient(120deg, #2a2d35, #17181c); border: 1px solid #ffffff14; }
.art-balance span { display: grid; gap: 5px; }
.art-balance small { color: #9da0aa; font: 400 10.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.art-balance strong { font-size: 28px; font-weight: 350; letter-spacing: -0.02em; }
.art-actions { display: flex; align-items: center; gap: 8px; padding: 6px 4px 0; color: #8c8f99; font-size: 12.5px; }
.art-actions span { flex: 1; }
.art-actions b, .art-balance b { padding: 8px 13px; border-radius: 999px; background: #e2e7eb; color: #141519; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.art-actions i { padding: 7px 12px; border-radius: 999px; border: 1px solid #ffffff24; color: #d9dbe1; font-style: normal; white-space: nowrap; }
.art-actions.is-review { padding: 11px 13px; border-radius: 12px; background: #2e9e5b1f; border: 1px solid #2e9e5b59; color: #d9dbe1; }
.art-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 2px 0 6px; list-style: none; }
.art-steps li { padding: 7px 10px; border-radius: 999px; background: #ffffff0f; color: #80838d; font: 500 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.05em; text-transform: uppercase; }
.art-steps li.is-done { background: #2e9e5b2e; color: var(--x-green); }
.art-steps li.is-now { background: #e2e7eb; color: #141519; }
.art figcaption { padding-top: 2px; color: #6c6f78; font: 400 10px/1 ui-monospace, "SF Mono", Menlo, monospace; text-align: right; }
.art .chat-q { justify-self: end; max-width: 86%; margin: 0; padding: 11px 15px; border-radius: 16px 16px 4px 16px; background: #e2e7eb; color: #141519; }
.art .chat-a { display: grid; gap: 13px; padding: 15px; border-radius: 12px; background: var(--x-raised); border: 1px solid #ffffff0f; }
.art .chat-a p { margin: 0; color: #d9dbe1; }
.art--chat .chat-a { border-radius: 4px 16px 16px 16px; }
.art table { width: 100%; border-collapse: collapse; font-size: 13px; }
.art th { padding: 0 0 8px; color: #8c8f99; font: 400 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; }
.art td { padding: 9px 0; border-top: 1px solid #ffffff12; }
.art td:last-child, .art th:last-child { text-align: right; }

/* Shared small parts */
.badge-new { display: inline-flex; align-items: center; margin-bottom: 12px; padding: 5px 9px; border-radius: 999px; background: #2e9e5b24; color: var(--x-green); font: 500 10px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.logo-tile { display: inline-flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--x-surface); border: 1px solid var(--x-line); color: var(--x-ink); font-size: 14px; font-weight: 450; }
.logo-tile img { width: 34px; height: 34px; padding: 4px; object-fit: contain; border-radius: 9px; background: #fff; }
.carrier-row, .logo-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Home ---------- */
.is-studio .sky-page--clean { overflow-x: clip; }
.hero-news { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 6px 15px 6px 6px; border-radius: 999px; background: #ffffff0d; border: 1px solid #ffffff1c; color: #d6dade; font-size: 13px; text-decoration: none; transition: background 0.25s ease, border-color 0.25s ease; }
.hero-news:hover { background: #ffffff17; border-color: #ffffff3d; }
.hero-news b { padding: 4px 9px; border-radius: 999px; background: linear-gradient(120deg, #f2557a, #c9264f); color: #fff; font-size: 10.5px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.hero-news span { transition: transform 0.25s ease; }
.hero-news:hover span { transform: translateX(3px); }

.clean-logos { display: grid; justify-items: center; gap: 22px; padding-block: 44px 0; }
.clean-logos > .sky-text-link { margin: 0; }
.clean-logos > p { margin: 0; color: #757983; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.logo-map { width: 100%; max-width: 1080px; margin: 0; border-block: 1px solid #ffffff14; }
.logo-map > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px 6px; }
.logo-map > div + div { border-top: 1px solid #ffffff14; }
/* A long row breaks into two even lines instead of leaving a couple of logos stranded. */
.logo-break { flex-basis: 100%; height: 0; }
.logo-map dt { display: grid; gap: 4px; text-align: left; }
.logo-map dt b { color: #e4e6ea; font-size: 15px; font-weight: 450; }
.logo-map dt small { color: #6f737c; font-size: 12.5px; }
.logo-map dd { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin: 0; min-height: 34px; }
/* Wide pages lay the logos out as before; the wrappers only matter on a phone, where a long group runs as one row. */
.logo-run, .logo-set { display: contents; }
.logo-set[aria-hidden] { display: none; }
.brand-mark { display: inline-flex; align-items: center; gap: 9px; color: #a3a7af; font-size: 15px; white-space: nowrap; opacity: 0.8; transition: opacity 0.25s ease; }
.brand-mark:hover { opacity: 1; }
.brand-mark b { font-weight: 450; }
.logo-map .brand-mark img { width: auto; height: 24px; object-fit: contain; filter: grayscale(1) brightness(1.35) contrast(0.92); }
.logo-map .brand-mark.is-dark img { filter: grayscale(1) invert(1) brightness(1.5); }
/* Wordmarks are sized by area, not height, so a long thin logo and a compact one carry the same weight. */
.logo-map .brand-mark.is-word img { width: calc(40px * sqrt(var(--ratio)) * var(--scale, 1)); height: auto; max-width: none; filter: brightness(0) invert(1); opacity: 0.86; }
.logo-map .brand-mark.is-word.is-light img { filter: grayscale(1) brightness(1.1); }
.logo-map .brand-mark.is-word.is-shaded img { filter: grayscale(1) invert(1) brightness(1.25) contrast(0.95); }
.logo-map .brand-mark.is-word b { color: #c9ccd3; font-size: 14.5px; font-weight: 450; letter-spacing: -0.01em; }

.is-studio .clean-section { padding-block: clamp(90px, 11vw, 168px) 0; }
.clean-heading { display: grid; gap: 22px; justify-items: center; margin: 0 auto 52px; max-width: 860px; text-align: center; }
.is-studio .clean-heading h2 { margin: 0; }

@keyframes x-fade { from { opacity: 0; transform: translateY(10px); } }


.area-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; margin-bottom: 48px; }
.area-column h3 { margin: 0; padding-bottom: 14px; border-bottom: 1px solid #ffffff1f; color: #8d939b; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.area-column a { display: flex; align-items: center; gap: 15px; padding: 17px 10px 17px 0; border-bottom: 1px solid #ffffff12; color: inherit; text-decoration: none; transition: padding 0.3s ease, border-color 0.3s ease; }
.area-column a:hover { padding-left: 10px; padding-right: 0; border-color: #ffffff3d; }
.area-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #ffffff0d; color: var(--x-silver); transition: background 0.3s ease, color 0.3s ease; }
.area-column a:hover .area-icon { background: #e2e7eb; color: #141519; }
.area-column a > span:last-child { display: grid; gap: 3px; min-width: 0; }
.area-column b { font-size: 16px; font-weight: 450; letter-spacing: -0.01em; }
.area-column small { color: #8d939b; font-size: 13.5px; line-height: 1.45; }
#sky-areas { text-align: center; }
#sky-areas .area-columns { text-align: left; }

.is-studio .sky-page--clean .sky-pricing { padding-top: clamp(90px, 11vw, 168px); }

/* ---------- The story ---------- */
.story { padding-top: clamp(100px, 12vw, 190px); }
.story-opener, .story-close { display: grid; justify-items: center; gap: 26px; max-width: 900px; margin: 0 auto; text-align: center; }
.is-studio .story-opener h2, .is-studio .story-close h2 { margin: 0; font-size: clamp(36px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -0.05em; }
.story h2 span, .story h3 span { color: #7f858d; }
.story-opener > p, .story-close > p { max-width: 560px; margin: 0; color: var(--x-muted); font-size: 17px; line-height: 1.65; }
.story-object { position: relative; display: grid; place-items: end center; width: min(440px, 100%); height: 450px; margin: 4px 0 0; }
.story-object::before { content: ""; position: absolute; inset: 0 4% 10%; background: radial-gradient(46% 58% at 50% 44%, #c6d2da33, transparent 74%); filter: blur(14px); }
.story-object::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 14px; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, #ffffff24, transparent); }
img.story-bottle { position: relative; z-index: 1; display: block; flex: none; width: auto; max-width: none; object-fit: contain; }
.story-object > .story-bottle { height: 340px; margin-bottom: 46px; filter: drop-shadow(0 20px 16px #000000c7); -webkit-box-reflect: below 2px linear-gradient(transparent 76%, #ffffff26); }
.story-tag { position: absolute; z-index: 2; top: 104px; left: calc(50% + 62px); padding: 9px 15px 9px 24px; border-radius: 8px; background: #f3ead8; color: #17130d; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; transform-origin: -34px 50%; transform: rotate(13deg); box-shadow: 0 14px 30px -12px #000; }
.story-tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #17130d; }
.story-tag::after { content: ""; position: absolute; right: calc(100% - 12px); top: 50%; width: 40px; height: 1.5px; background: #f3ead8b3; }
.js .story-opener.is-in .story-tag { animation: x-swing 1.8s cubic-bezier(0.3, 1.4, 0.5, 1) 0.5s both; }
.js .story-opener[data-reveal] .story-bottle { opacity: 0; transform: translateY(46px); transition: opacity 1.1s ease 0.15s, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
.js .story-opener[data-reveal].is-in .story-bottle { opacity: 1; transform: none; }
@keyframes x-swing { 0% { transform: rotate(-30deg); opacity: 0; } 55% { transform: rotate(20deg); opacity: 1; } 78% { transform: rotate(9deg); } 100% { transform: rotate(13deg); } }
.story-chapters { margin: 0; padding: 0; list-style: none; }
.story-chapter { position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.28fr); gap: clamp(36px, 6vw, 92px); align-items: center; padding: clamp(80px, 10vw, 150px) 0 0; scroll-margin-top: 120px; }
.story-chapter::before { content: ""; position: absolute; left: 50%; top: clamp(18px, 3vw, 40px); width: 1px; height: clamp(36px, 5vw, 70px); background: linear-gradient(transparent, #ffffff3d); }
.story-chapter.is-flipped { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.82fr); }
.story-chapter.is-flipped .story-copy { order: 2; }
.story-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.story-when { display: inline-flex; align-items: center; gap: 12px; color: #8d939b; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.story-when b { display: grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 7px; background: #f2557a26; color: var(--x-berry); font-weight: 500; letter-spacing: 0.04em; }
.is-studio .story-copy h3 { margin: 0; font-size: clamp(28px, 3.3vw, 46px); font-weight: 300; line-height: 1.08; letter-spacing: -0.045em; }
.story-copy > p { max-width: 460px; margin: 0; color: var(--x-muted); font-size: 16px; line-height: 1.7; }
.story-count { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 16px; background: #ffffff0a; border: 1px solid #ffffff17; }
.story-count .story-bottle { height: 40px; margin: 0 4px; }
.story-count > span { display: grid; gap: 2px; }
.story-count small { color: #8d939b; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.story-count strong { font-size: 24px; font-weight: 350; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.story-count em { margin-left: 6px; padding: 6px 10px; border-radius: 999px; background: #2e9e5b24; color: var(--x-green); font-size: 12px; font-style: normal; white-space: nowrap; }
.story-media { position: relative; min-width: 0; }
.story-media::before { content: ""; position: absolute; z-index: 0; inset: 10% 6%; background: radial-gradient(closest-side, #c6d2da24, transparent); filter: blur(40px); }
.story-media > * { position: relative; z-index: 1; }
.story-media .art { max-width: 500px; margin-inline: auto; padding: 24px; border-radius: 22px; }
.js .story-chapter[data-reveal] .story-media { transform: translateY(34px) scale(0.975); opacity: 0; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s, opacity 1.1s ease 0.12s; }
.js .story-chapter[data-reveal].is-in .story-media { transform: none; opacity: 1; }
.story-close { position: relative; padding-top: clamp(110px, 13vw, 200px); }
/* The story ends on one bright button and one quiet link. The selectors carry the section so page link styles do not win. */
.story-cta { display: grid; justify-items: center; gap: 16px; margin-top: 10px; }
.story .story-cta a.story-cta-button { padding: 17px 34px; border-radius: 999px; background: #e2e7eb; color: #141519; font-size: 16px; font-weight: 500; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.story .story-cta a.story-cta-button:hover, .story .story-cta a.story-cta-button:focus-visible { background: #fff; color: #141519; transform: translateY(-1px); }
.story .story-cta a.story-cta-link { color: #8d939b; font-size: 14.5px; text-decoration: none; transition: color 0.2s ease; }
.story .story-cta a.story-cta-link:hover, .story .story-cta a.story-cta-link:focus-visible { color: #e4e6ea; }
.story-close::before { content: ""; position: absolute; left: 50%; top: clamp(30px, 4vw, 60px); width: 1px; height: clamp(46px, 6vw, 90px); background: linear-gradient(transparent, #ffffff3d); }
.story-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 272px; gap: 14px; margin-inline: calc(-1 * max(24px, (100vw - 1152px) / 2)); padding: 6px max(24px, (100vw - 1152px) / 2) 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.story-cards::-webkit-scrollbar { display: none; }
.story-cards a { display: grid; gap: 10px; align-content: start; justify-items: start; min-height: 232px; padding: 24px; border-radius: 22px; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -30%), #ffffff14, transparent 60%), #0d0e10; border: 1px solid #ffffff14; color: inherit; text-decoration: none; scroll-snap-align: start; transition: border-color 0.3s ease, transform 0.3s ease; }
.story-cards a:hover { border-color: #ffffff3d; transform: translateY(-4px); }
.story-cards small { margin-top: 6px; color: #8d939b; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.is-studio .story-cards h3 { margin: 0; font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.story-cards p { margin: 0; color: #9a9ea8; font-size: 14px; line-height: 1.55; }
.story-card-go { margin-top: auto; color: var(--x-silver); font-size: 13px; }

.story-strip-section { padding-bottom: 0; }
.story-strip-head { display: flex; align-items: center; gap: 22px; margin-bottom: 40px; }
.story-object--small { width: 84px; height: 84px; margin: 0; flex: none; border-radius: 24px; background: #ffffff0a; border: 1px solid #ffffff17; }
.story-object--small::before { display: none; }
.story-object--small { place-items: center; height: 84px; }
.story-object--small::after { display: none; }
.story-object--small .story-bottle { height: 66px; margin: 0; filter: none; -webkit-box-reflect: unset; opacity: 1; transform: none; }
.story-strip-head > div:last-child { display: grid; gap: 10px; min-width: 0; }
.is-studio .story-strip-head h2 { margin: 0; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -0.035em; }
.story-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #ffffff24; }
.story-strip li { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 26px 6px 0; }
.story-strip li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: #e2e7eb; box-shadow: 0 0 0 5px #050505; }
.is-studio .story-strip h3 { margin: 4px 0 0; font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.story-strip p { margin: 0; color: var(--x-muted); font-size: 14.5px; line-height: 1.6; }
.story-strip-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 36px 0 0; color: #8d939b; font-size: 14px; }

/* ---------- Feature pages ---------- */
.feature-hero-media { min-width: 0; }
.feature-hero-media .art { max-width: 520px; margin-inline: auto; }
.logo-strip { padding: 22px 0; border-block: 1px solid #ffffff12; }
.logo-strip .site-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.logo-strip p { margin: 0; color: #757983; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.logo-strip small { margin-left: auto; color: #757983; font-size: 12.5px; }
.clean-rows { display: grid; grid-template-columns: minmax(0, 1fr); }
.clean-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 84px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid #ffffff12; scroll-margin-top: 150px; }
.clean-row:first-child { border-top: 0; padding-top: 0; }
.clean-row.is-flipped { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.clean-row.is-flipped .clean-row-copy { order: 2; }
.clean-row:not(.has-media) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.clean-row-copy { display: grid; gap: 18px; align-content: center; }
.is-studio .clean-row-copy h2 { margin: 0; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -0.035em; }
.clean-row-copy p { margin: 0; color: var(--x-muted); font-size: 16px; line-height: 1.7; }
.clean-checks { display: grid; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.clean-checks li { display: flex; align-items: flex-start; gap: 12px; color: #d3d6dc; font-size: 15px; line-height: 1.5; }
.clean-checks svg { flex: none; margin-top: 3px; color: var(--x-silver); }
.clean-checks--panel { margin: 0; padding: 28px; border-radius: 20px; background: #0d0e10; border: 1px solid #ffffff12; }
.clean-row-media { position: relative; min-width: 0; }
.clean-row-media .art { max-width: 520px; margin-inline: auto; }
.clean-rows-section .feature-example { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- Every capability ---------- */
.directory-tools { position: sticky; top: 104px; z-index: 20; display: flex; align-items: center; gap: 14px; margin-bottom: 40px; padding: 8px; border-radius: 999px; background: #141416d9; border: 1px solid #ffffff1c; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.directory-search { display: flex; flex: 1; align-items: center; gap: 12px; height: 46px; padding: 0 18px; color: #757983; }
.directory-search input { width: 100%; border: 0; outline: 0; background: none; color: var(--x-ink); font: inherit; font-size: 15.5px; }
.directory-search input::placeholder { color: #757983; }
.directory-count { margin: 0 18px 0 0; color: #757983; font-size: 12.5px; white-space: nowrap; }
.directory-group { margin-bottom: 48px; }
.directory-group[hidden] { display: none; }
.is-studio .directory-group-title { margin: 0 0 6px; color: #8d939b; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.directory-area { border-bottom: 1px solid #ffffff12; }
.directory-area[hidden], .directory-area section[hidden], .directory-area li[hidden] { display: none; }
.directory-area > summary { display: flex; align-items: center; gap: 18px; padding: 22px 6px; cursor: pointer; list-style: none; transition: padding 0.3s ease; }
.directory-area > summary::-webkit-details-marker { display: none; }
.directory-area > summary:hover { padding-left: 14px; }
.directory-area > summary > svg { flex: none; color: #757983; transition: transform 0.3s ease; }
.directory-area[open] > summary > svg { transform: rotate(180deg); }
.directory-area-title { display: grid; flex: 1; gap: 3px; min-width: 0; }
.directory-area-title b { font-size: 19px; font-weight: 400; letter-spacing: -0.02em; }
.directory-area-title small { color: #8d939b; font-size: 14px; }
.directory-area-count { color: #757983; font-size: 12.5px; white-space: nowrap; }
.directory-sections { columns: 2 300px; column-gap: 44px; padding: 8px 6px 4px 70px; }
.directory-sections section { break-inside: avoid; padding-bottom: 26px; }
.is-studio .directory-sections h3 { margin: 0 0 10px; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.directory-sections ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.directory-sections li { display: flex; align-items: flex-start; gap: 9px; color: var(--x-muted); font-size: 14px; line-height: 1.5; }
.directory-sections li svg { flex: none; margin-top: 4px; color: #757983; }
.directory-sections mark { padding: 0 2px; border-radius: 4px; background: #e2e7eb; color: #141519; }
.directory-area > .text-link { display: inline-block; margin: 0 0 26px 70px; }
.directory-empty { padding: 60px 0; color: var(--x-muted); text-align: center; }

/* ---------- What's new ---------- */
.timeline-month + .timeline-month { margin-top: 72px; }
.timeline-month .directory-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.is-studio .timeline-month .directory-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.timeline-month .directory-heading span { color: #757983; font-size: 12.5px; }
.news-list { display: grid; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid #ffffff1f; }
.news-list li { display: grid; grid-template-columns: 84px minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: baseline; padding: 19px 0; border-bottom: 1px solid #ffffff12; }
.news-list time { color: #757983; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.news-list a { color: var(--x-ink); font-size: 17px; letter-spacing: -0.01em; text-decoration: none; }
.news-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-list p { margin: 0; color: var(--x-muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Tour ---------- */
/* The tour is one long scroll. The list on the left stays put and follows along; the screen nearest the
   middle of the window is in focus and the others fall back. */
.tour-scroll { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; align-items: start; margin-top: 50px; }
.tour-steps { position: sticky; top: 118px; display: grid; gap: 2px; max-height: calc(100vh - 150px); padding-left: 16px; overflow-y: auto; scrollbar-width: none; }
.tour-steps::-webkit-scrollbar { display: none; }
.tour-rail { position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: #ffffff14; }
.tour-rail b { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(var(--x-berry), var(--x-silver)); transform: scaleY(0.06); transform-origin: 50% 0; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tour-steps a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 12px; color: #8d919b; font-size: 14.5px; text-decoration: none; transition: color 0.25s ease, background 0.25s ease; }
.tour-steps a span { color: #5d6069; font-size: 11.5px; font-variant-numeric: tabular-nums; transition: color 0.25s ease; }
.tour-steps a:hover { color: #fff; }
.tour-steps a.is-current { background: #ffffff12; color: #fff; }
.tour-steps a.is-current span { color: var(--x-berry); }
.tour-track { display: grid; gap: clamp(90px, 15vh, 170px); padding-bottom: 8vh; }
.tour-stop { display: grid; gap: 24px; scroll-margin-top: 130px; transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tour-scroll.is-live .tour-stop:not(.is-current) { opacity: 0.3; transform: scale(0.975); }
.tour-stop header { display: grid; gap: 12px; max-width: 640px; }
.tour-stop header span { color: var(--x-berry); font: 500 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em; }
.is-studio .tour-stop h3 { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 300; line-height: 1.1; letter-spacing: -0.04em; }
.tour-stop header p { margin: 0; color: var(--x-muted); font-size: 16px; line-height: 1.65; }

/* ---------- Integrations ---------- */
.integration-block { padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid #ffffff12; }
.integration-block:first-child { border-top: 0; padding-top: 0; }
.integration-block > header { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.integration-block > header > div { flex: 1; min-width: 0; }
.is-studio .integration-block h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; }
.integration-block > header p { margin: 6px 0 0; color: var(--x-muted); font-size: 15px; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.logo-grid .logo-tile { padding: 14px 18px 14px 14px; background: #0d0e10; border-color: #ffffff12; transition: border-color 0.25s ease, transform 0.25s ease; }
.logo-grid .logo-tile:hover { border-color: #ffffff3d; transform: translateY(-2px); }
.integration-block small { display: block; margin-top: 18px; color: #757983; font-size: 12.5px; }

/* ---------- Header and motion ---------- */
.is-studio .site-header .site-nav > a, .is-studio .site-header .site-nav summary { white-space: nowrap; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes x-rise { from { opacity: 0; transform: translateY(26px); } }

@media (max-width: 1000px) {
  .clean-row.is-flipped .clean-row-copy { order: 0; }
  .area-columns { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .story-chapter, .story-chapter.is-flipped { grid-template-columns: minmax(0, 1fr); }
  .story-chapter.is-flipped .story-copy { order: 0; }
  .story-chapter::before { left: 0; }
  .story-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .tour-scroll { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tour-steps { top: 84px; z-index: 5; display: flex; gap: 4px; max-height: none; margin-inline: -20px; padding: 8px 20px; overflow: auto hidden; background: #050505eb; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid #ffffff14; }
  .tour-steps a { padding: 8px 12px; white-space: nowrap; }
  .tour-rail { display: none; }
  .tour-stop { scroll-margin-top: 150px; }
  .news-list li { grid-template-columns: 72px minmax(0, 1fr); }
  .news-list p { grid-column: 2; }
  .directory-tools { top: 96px; }
  .integration-block > header { flex-wrap: wrap; }
  .logo-strip small { margin-left: 0; }
}
@media (max-width: 640px) {
  .directory-area-count { display: none; }
  .story-strip { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid #ffffff24; }
  .story-strip li { padding: 0 0 26px 24px; }
  .story-strip li::before { left: -5px; top: 4px; }
  .story-strip-head { align-items: flex-start; }
  .story-object { height: 400px; }
  .story-object > .story-bottle { height: 300px; }
  .story-tag { top: 92px; left: calc(50% + 54px); font-size: 17px; }
  .directory-sections { padding-left: 6px; }
  .directory-area > .text-link { margin-left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-stop, .tour-rail b { transition: none; }
  .tour-scroll.is-live .tour-stop:not(.is-current) { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .story-chapter[data-reveal] .story-media { opacity: 1; transform: none; transition: none; }
  .js .story-opener.is-in .story-tag { animation: none; }
  .js .story-opener[data-reveal] .story-bottle { opacity: 1; transform: none; transition: none; }
}

/* ---------- Story scenes: the bottle on a lit stage, sized in cqi so each scales with its column ---------- */
.story-media { display: grid; justify-items: start; gap: 14px; }
.scene { position: relative; container-type: inline-size; width: 100%; margin: 0; aspect-ratio: 5 / 4; border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; background: radial-gradient(85% 75% at 50% -8%, #3b4147 0%, #17191c 48%, #0a0b0c 100%); border: 1px solid #ffffff1a; box-shadow: 0 50px 110px -60px #000, inset 0 1px 0 #ffffff14; }
.sc { position: absolute; inset: 0; color: var(--x-ink); font-size: max(10px, 2.35cqi); line-height: 1.35; text-align: left; }
.sc::before { content: ""; position: absolute; inset: auto 0 0; height: 21.6cqi; background: linear-gradient(#ffffff14, #ffffff00 75%); border-top: 1px solid #ffffff1f; }
.sc small { color: #9197a0; font-size: 0.82em; }
.sc b { font-weight: 500; }
.sc p { margin: 0; color: #aeb3bb; }
.sc ul { display: grid; gap: 0.62em; margin: 0; padding: 0; list-style: none; }
.sc dl { margin: 0; }
.sc dl div { display: flex; justify-content: space-between; gap: 2cqi; padding: 0.55em 0; border-top: 1px solid #ffffff17; }
.sc dt { color: #9aa0a9; }
.sc dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc dl .is-total dt, .sc dl .is-total dd { color: var(--x-ink); font-weight: 500; }
.sc-mono { color: #c9ccd4; font: 500 0.8em/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.05em; }
.sc-b { position: absolute; z-index: 2; bottom: 15cqi; height: 32cqi; }
.sc-b img { display: block; width: auto; height: 100%; filter: drop-shadow(0 1.6cqi 1.3cqi #000000b8); -webkit-box-reflect: below 0 linear-gradient(transparent 80%, #ffffff21); }
.sc-b.is-hero { bottom: 12cqi; height: 47cqi; }
.sc-b.is-dim img { opacity: 0.4; filter: grayscale(0.45); }
.sc-ghost { position: absolute; z-index: 1; bottom: 15cqi; height: 30cqi; aspect-ratio: 401 / 1113; background: repeating-linear-gradient(-45deg, #ffffff3d 0 1px, transparent 1px 5px), #ffffff0d; -webkit-mask: url("story/bottle.webp") center / contain no-repeat; mask: url("story/bottle.webp") center / contain no-repeat; opacity: 0.85; }
.sc-card { position: absolute; z-index: 3; display: grid; gap: 1.5cqi; padding: 2.7cqi; border-radius: 2.6cqi; background: #0f1114eb; border: 1px solid #ffffff26; box-shadow: 0 3cqi 6cqi -2cqi #000; }
.sc-card header { display: flex; align-items: center; justify-content: space-between; gap: 1cqi; }
.sc-chip { display: inline-flex; align-items: center; padding: 0.5em 0.85em; border-radius: 999px; background: #1d2024; border: 1px solid #ffffff24; color: #d9dbe1; font-size: 0.82em; font-style: normal; line-height: 1; white-space: nowrap; }
.sc-chip.is-ok { background: #14301f; border-color: #2e9e5b73; color: var(--x-green); }
.sc-chip.is-berry { background: #3a1420; border-color: #f2557a8c; color: #ff9db3; }
.sc-button { justify-self: start; padding: 0.72em 1.15em; border-radius: 999px; background: #e2e7eb; color: #141519; font-size: 0.86em; font-style: normal; font-weight: 500; line-height: 1; white-space: nowrap; }
.sc-icon { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; }
.sc-icon.is-warn { background: #e9a23b2e; color: #f1bd6b; }
.sc-icon svg { width: 1.2em; height: 1.2em; }
.sc-caption { position: absolute; z-index: 3; left: 5cqi; bottom: 4.6cqi; color: #8d939b; font: 400 0.78em/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.04em; }
.sc-bar { display: block; height: 1.3cqi; border-radius: 99px; background: #ffffff1f; overflow: hidden; }
.sc-bar i { display: block; width: var(--to); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6fd39a, #b9f0d0); }
.sc-big { font-size: 2.7em; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.sc-big span { margin-left: 0.2em; color: #9197a0; font-size: 0.38em; letter-spacing: 0; }

.sc--low .sc-b { height: 30cqi; }
.sc-alert { top: 7cqi; right: 5cqi; width: 52cqi; grid-template-columns: auto minmax(0, 1fr); column-gap: 2cqi; align-items: start; }
.sc-alert div { display: grid; gap: 0.3em; }
.sc-alert b { font-size: 1.08em; }
.sc-alert .sc-button { grid-column: 2; }

.sc-doc { top: 7cqi; right: 5cqi; width: 51cqi; }
.sc-doc > b { font-size: 1.1em; }
.sc-doc .sc-button { margin-top: 0.6cqi; opacity: 0.45; }
.sc-swap { display: inline-grid; }
.sc-swap em { grid-area: 1 / 1; justify-self: end; }
.sc-swap em:first-child { opacity: 0; }
.sc-times { position: absolute; z-index: 3; left: 30cqi; bottom: 47cqi; font-size: 0.95em; }

.sc-progress { top: 8cqi; right: 5cqi; width: 43cqi; gap: 1.8cqi; }
.sc-progress li { color: #d9dbe1; }
.sc-progress li::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.65em; border-radius: 50%; background: var(--x-green); }
.sc-progress li.is-warn::before { background: #f1bd6b; }

.sc--place::before { display: none; }
.sc-rack { position: absolute; inset: 6cqi 5cqi 19.5cqi; display: grid; grid-template: repeat(2, minmax(0, 1fr)) / repeat(3, minmax(0, 1fr)); gap: 1.6cqi; }
.sc-bin { position: relative; overflow: hidden; border-radius: 2cqi; background: linear-gradient(#ffffff0a, #ffffff03); border: 1px solid #ffffff1c; }
.sc-bin > .sc-mono { position: absolute; left: 1.7cqi; top: 1.7cqi; opacity: 0.75; }
.sc-bin > i { position: absolute; bottom: 1.4cqi; left: 3cqi; width: 9.5cqi; height: 8cqi; border-radius: 0.8cqi; background: #ffffff0d; border: 1px solid #ffffff14; }
.sc-bin > i + i { left: 14cqi; height: 11.5cqi; }
.sc-bin.is-ours { border-color: #c6d2daa6; background: radial-gradient(80% 95% at 50% 100%, #c6d2da33, #ffffff05); box-shadow: 0 0 6cqi -1.5cqi #c6d2da66; }
.sc-bin .sc-b { bottom: 1.3cqi; height: 19cqi; }
.sc-bin .sc-b img { -webkit-box-reflect: unset; }
.sc-bin > em { position: absolute; right: 1.4cqi; top: 1.3cqi; }
.sc-stats { position: absolute; left: 5cqi; right: 5cqi; bottom: 5cqi; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqi; }
.sc .sc-stats div { display: grid; justify-content: start; gap: 0.15em; padding: 1.5cqi 2.2cqi; border: 1px solid #ffffff17; border-radius: 1.8cqi; background: #ffffff08; }
.sc-stats dt { font-size: 0.8em; }
.sc-stats dd { font-size: 1.7em; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }

.sc-hold { position: absolute; z-index: 1; left: 7cqi; bottom: 11.5cqi; width: 42cqi; height: 40cqi; border: 1.5px dashed #f2557ab3; border-radius: 3cqi; background: #f2557a12; }
.sc-hold em { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); }
.sc-rest { position: absolute; z-index: 3; left: 57cqi; bottom: 6cqi; }
.sc-order { top: 6cqi; right: 5cqi; width: 39cqi; gap: 1cqi; }
.sc-order strong { font-size: 1.9em; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }

.sc-label { position: absolute; z-index: 4; left: 14%; top: 26%; display: grid; gap: 0.9cqi; width: 56%; padding: 1.7cqi; border-radius: 0.8cqi; background: #f6f1e6; color: #17130d; transform: rotate(-3deg); box-shadow: 0 1cqi 2cqi -0.6cqi #000000a6; }
.sc-label b { font-size: 0.72em; font-weight: 600; letter-spacing: 0.06em; }
.sc .sc-label small { color: #4b453a; font-size: 0.74em; line-height: 1.3; }
.sc-label i { display: block; height: 3.4cqi; background: repeating-linear-gradient(90deg, #17130d 0 2px, transparent 2px 3px, #17130d 3px 4px, transparent 4px 7px); }
.sc-rates { top: 7cqi; right: 5cqi; width: 47cqi; gap: 1.3cqi; }
.sc-rate { display: flex; align-items: center; gap: 1.7cqi; padding: 1.5cqi 1.8cqi; border-radius: 1.8cqi; background: #ffffff0a; border: 1px solid #ffffff14; }
.sc-rate img { flex: none; width: 4.8cqi; height: 4.8cqi; min-width: 20px; min-height: 20px; border-radius: 1cqi; object-fit: contain; }
.sc-rate span { display: grid; flex: 1; min-width: 0; }
.sc-rate strong { font-weight: 450; white-space: nowrap; }
.sc-rate.is-picked { border-color: #f2557aa6; background: #f2557a1a; }

.sc-checks { top: 6cqi; left: 5cqi; width: 45cqi; gap: 1.8cqi; }
.sc-checks.is-right { left: auto; right: 5cqi; width: 43cqi; }
.sc-checks li { display: flex; align-items: center; gap: 0.75em; color: #d9dbe1; }
.sc-checks li svg { flex: none; width: 1.55em; height: 1.55em; padding: 0.3em; border-radius: 50%; background: #2e9e5b33; color: var(--x-green); }
.sc-arc { position: absolute; z-index: 1; left: 51cqi; top: 12cqi; width: 30cqi; height: 20cqi; overflow: visible; }
.sc-arc path { fill: none; stroke: #ffffff66; stroke-width: 1.5px; stroke-dasharray: 3 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sc-plus { position: absolute; z-index: 3; left: 63cqi; bottom: 5.5cqi; }

.sc--profit .sc-b { height: 35cqi; }
.sc-receipt { position: absolute; z-index: 3; top: 6cqi; right: 8cqi; display: grid; gap: 1.2cqi; width: 43cqi; padding: 3cqi 3.2cqi 3.6cqi; background: #f6f1e6; color: #17130d; transform: rotate(2deg); box-shadow: 0 3cqi 6cqi -2cqi #000; }
.sc-receipt::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.5cqi; background: linear-gradient(135deg, #f6f1e6 50%, transparent 50%) 0 0 / 3cqi 100%, linear-gradient(225deg, #f6f1e6 50%, transparent 50%) 0 0 / 3cqi 100%; }
.sc .sc-receipt small, .sc .sc-receipt dt { color: #5b5548; }
.sc .sc-receipt .sc-mono { color: #5b5548; }
.sc .sc-receipt dl div { border-top: 1px dashed #17130d38; }
.sc .sc-receipt dl div:first-child { border-top: 0; }
.sc .sc-receipt dl div:first-child dt { color: #17130d; font-weight: 500; }
.sc .sc-receipt .is-total dt { color: #17130d; align-self: end; }
.sc .sc-receipt .is-total dd { color: #1b7443; font-size: 2em; line-height: 1; letter-spacing: -0.03em; }
.sc-receipt .sc-bar { background: #17130d24; }
.sc-receipt .sc-bar i { background: #1b7443; }

.scene-real { display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; border: 0; background: none; color: #8d939b; font: inherit; font-size: 13px; cursor: pointer; transition: color 0.2s ease; }
.scene-real:hover, .scene-real:focus-visible { color: var(--x-silver); }
.scene-real:focus-visible { outline: 2px solid var(--x-silver); outline-offset: 3px; border-radius: 6px; }

/* Boxes are drawn images (bin/story_box.py); the wrapper is the front face, the image overhangs it. */
.sc-box { position: absolute; z-index: 2; left: 8cqi; bottom: 13.5cqi; width: 38cqi; aspect-ratio: 800 / 480; }
.sc-box::after { content: ""; position: absolute; z-index: 0; left: -6%; right: -6%; bottom: -1.7cqi; height: 3.8cqi; border-radius: 50%; background: radial-gradient(closest-side, #000000eb, transparent); }
.sc img.sc-box-img { position: absolute; z-index: 1; left: -21.25%; top: -47.92%; width: 142.5%; max-width: none; height: auto; object-fit: fill; }
.sc img.sc-box-img.is-front { z-index: 3; filter: drop-shadow(0 1.6cqi 1.3cqi #000000b8); -webkit-box-reflect: below -1.1cqi linear-gradient(transparent 84%, #ffffff1c); }
.sc-box.is-closed { width: 34cqi; aspect-ratio: 720 / 500; }
.sc-box.is-closed img.sc-box-img { left: -2.78%; top: -16%; width: 105.56%; }
.sc-box.is-closed.is-small { left: auto; right: 10cqi; width: 25cqi; }
.sc-box .sc-b { z-index: 2; bottom: 38%; height: 27cqi; }
.sc-box .sc-b img { filter: none; -webkit-box-reflect: unset; }
.sc-box-tag { position: absolute; z-index: 4; left: 6%; bottom: 11%; padding: 0.5em 0.7em; border-radius: 0.4em; background: #f3ead8; color: #17130d; font-style: normal; }
.sc-scan { position: absolute; z-index: 4; left: -3cqi; right: -3cqi; top: -9cqi; height: 0.45cqi; border-radius: 99px; background: var(--x-berry); box-shadow: 0 0 2.4cqi 0.5cqi #f2557a99; opacity: 0; }
.sc-weight { position: absolute; z-index: 3; left: 13cqi; bottom: 5.5cqi; }

.sc-wires { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: 80cqi; overflow: visible; }
.sc-wires path { fill: none; stroke: #c6d2da80; stroke-width: 1.5px; stroke-dasharray: 3 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sc-shop { right: 5cqi; width: 43cqi; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 2cqi; padding: 2.3cqi 2.7cqi; }
.sc-shop img, .sc-listing header img { width: 5.4cqi; height: 5.4cqi; min-width: 20px; min-height: 20px; border-radius: 1.1cqi; object-fit: contain; }
.sc-shop span { display: grid; }
.sc-shop em { color: #9aa0a9; font-size: 0.86em; font-style: normal; white-space: nowrap; }
.sc-shop em strong { margin-right: 0.2em; color: var(--x-ink); font-size: 1.75em; font-weight: 300; letter-spacing: -0.03em; }
.sc-one { position: absolute; z-index: 3; left: 9cqi; bottom: 5cqi; }

.sc-forecast { top: 6cqi; right: 5cqi; width: 57cqi; gap: 1.7cqi; }
.sc-bars { display: flex; align-items: flex-end; gap: 0.7cqi; height: 14cqi; border-bottom: 1px solid #ffffff29; }
.sc-bars i { flex: 1; height: calc(var(--h) / 6 * 100%); border-radius: 0.6cqi 0.6cqi 0 0; background: #c6d2da; transform-origin: 50% 100%; }
.sc-bars i.is-next { background: repeating-linear-gradient(-45deg, #c6d2da8c 0 1.5px, transparent 1.5px 4px); box-shadow: inset 0 0 0 1px #c6d2da59; }
.sc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4cqi; }
.sc .sc-facts div { display: grid; justify-content: start; gap: 0.1em; padding: 1.3cqi 1.6cqi; border: 1px solid #ffffff17; border-radius: 1.5cqi; background: #ffffff08; }
.sc-facts dt { font-size: 0.78em; }
.sc-facts dd { font-size: 1.12em; font-weight: 450; }
.sc-suggest { display: flex; align-items: center; justify-content: space-between; gap: 2cqi; padding: 1.7cqi 2cqi; border-radius: 1.8cqi; background: #14301f; border: 1px solid #2e9e5b73; }
.sc-suggest span { display: grid; gap: 0.1em; }
.sc-suggest b { font-size: 1.5em; font-weight: 400; letter-spacing: -0.02em; }

.sc--everywhere::before { display: none; }
.sc-notice { position: absolute; z-index: 3; left: 50%; top: 6.5cqi; transform: translateX(-50%); }
.sc-listing { position: absolute; z-index: 3; bottom: 6cqi; display: grid; gap: 1cqi; width: 28cqi; padding: 2.2cqi; border-radius: 2.6cqi; background: #0f1114eb; border: 1px solid #ffffff26; box-shadow: 0 3cqi 6cqi -2cqi #000; }
.sc-listing header { display: flex; align-items: center; gap: 1.4cqi; }
.sc-listing header img { width: 4.4cqi; height: 4.4cqi; }
.sc-photo { display: grid; place-items: center; height: 29cqi; border-radius: 1.6cqi; background: linear-gradient(#f0ede6, #dcd8ce); }
.sc .sc-photo img { width: auto; height: 25cqi; object-fit: contain; filter: drop-shadow(0 0.8cqi 0.7cqi #00000040); }
.sc-listing .sc-swap em { justify-self: start; }

.sc-ship-label { position: absolute; z-index: 3; left: 7cqi; top: 5.5cqi; display: grid; gap: 1.3cqi; width: 37cqi; padding: 2.4cqi; border-radius: 0.9cqi; background: #f8f5ee; color: #111; font-size: 0.84em; line-height: 1.25; transform: rotate(-3deg); box-shadow: 0 3cqi 6cqi -2cqi #000; }
.sc-ship-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2cqi; }
.sc-ship-top b { width: 1.5em; border: 0.09em solid #111; font-size: 3.4em; font-weight: 800; line-height: 1.25; text-align: center; }
.sc-ship-top span { font-size: 0.7em; line-height: 1.35; text-align: right; text-transform: uppercase; }
.sc-ship-label > strong { padding: 0.45em 0; border-block: 0.18em solid #111; font-size: 1.22em; font-weight: 800; letter-spacing: 0.02em; text-align: center; }
.sc-ship-label sup { font-size: 0.5em; }
.sc .sc-ship-label p { color: #111; }
.sc .sc-ship-from { font-size: 0.78em; text-transform: uppercase; }
.sc .sc-ship-to { padding-left: 3cqi; font-size: 1.12em; font-weight: 600; line-height: 1.3; }
.sc .sc-ship-label small { display: block; color: #333; font-size: 0.62em; font-weight: 700; letter-spacing: 0.04em; }
.sc-ship-code { display: grid; gap: 0.7cqi; padding-top: 1.1cqi; border-top: 0.18em solid #111; text-align: center; }
.sc-ship-code i { display: block; height: 7cqi; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 7px, #111 7px 10px, transparent 10px 12px); }
.sc-ship-code span { font: 600 0.8em/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; }

.js .scene.is-playing .sc-wires { animation: sc-pop 0.6s ease 0.2s both; }
.js .scene.is-playing .sc-wires path { animation: sc-flow 1.4s linear infinite; }
.js .scene.is-playing .sc-bars i { animation: sc-grow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both; }
.js .scene.is-playing .sc-ship-label { animation: sc-print 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both; }
@keyframes sc-flow { to { stroke-dashoffset: -18; } }
@keyframes sc-grow { from { transform: scaleY(0); } }
@keyframes sc-print { from { opacity: 0; transform: translateY(12cqi) rotate(0deg); } }

/* The story's five parts: an index under the opener and a heading before each part's first chapter. */
.story-parts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.story-parts a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid #ffffff1f; background: #ffffff08; color: #d9dbe1; font-size: 14px; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.story-parts a:hover, .story-parts a:focus-visible { border-color: #c6d2da99; background: #ffffff12; }
.story-parts b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ffffff17; color: var(--x-silver); font-size: 12px; font-weight: 500; }
.story-part { position: relative; display: grid; justify-items: center; gap: 10px; padding-top: clamp(96px, 12vw, 170px); text-align: center; scroll-margin-top: 60px; }
.story-part::before { content: ""; position: absolute; left: 50%; top: clamp(30px, 4vw, 56px); width: 1px; height: clamp(40px, 5vw, 70px); background: linear-gradient(transparent, #ffffff3d); }
.story-part span { color: var(--x-berry); font: 500 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.is-studio .story-part h3 { margin: 0; font-size: clamp(34px, 4.4vw, 60px); font-weight: 300; line-height: 1; letter-spacing: -0.05em; }
.story-part p { margin: 0; color: var(--x-muted); font-size: 16px; }
.story-part + .story-chapter { padding-top: clamp(56px, 7vw, 100px); }
.story-part + .story-chapter::before { display: none; }
@media (max-width: 640px) {
  .scene[data-scene="channels"], .scene[data-scene="everywhere"], .scene[data-scene="label"], .scene[data-scene="forecast"] { aspect-ratio: 1 / 0.98; }
  .story-parts a { font-size: 13px; }
}

/* ---------- Episode scenes drawn from a description (ims_stage) ---------- */
.sc-sheet { top: 7cqi; right: 5cqi; width: 49cqi; }
.sc-sheet > b { font-size: 1.1em; }
.sc-sheet .sc-button { margin-top: 0.6cqi; }
.sc-chip.is-warn { background: #3a2a10; border-color: #e9a23b8c; color: #f1bd6b; }
.sc-float { position: absolute; z-index: 3; }
.sc-plus-sign { position: absolute; z-index: 2; bottom: 26cqi; color: #8d939b; font-size: 5cqi; font-weight: 300; line-height: 1; }
.sc-sweep { position: absolute; z-index: 3; left: 5cqi; bottom: 13cqi; width: 0.45cqi; height: 37cqi; border-radius: 99px; background: var(--x-berry); box-shadow: 0 0 2.4cqi 0.5cqi #f2557a99; opacity: 0; }
.sc-split { position: absolute; z-index: 1; bottom: 7cqi; height: 46cqi; border-left: 1px dashed #ffffff38; }
.sc-ledger .sc-rate em { flex: none; }
.sc-rates.sc-ledger { width: 55cqi; }
/* A stats strip along the bottom lifts the floor and everything standing on it. */
.sc--stage.has-stats::before { height: 30cqi; }
.sc--stage.has-stats .sc-b { bottom: 23cqi; }
.sc--stage.has-stats .sc-box { bottom: 21.5cqi; }
.sc--stage.has-stats .sc-float { bottom: 63cqi !important; }
.sc-ship-label.is-waybill .sc-ship-top b { width: auto; padding: 0 0.28em; font-size: 2.3em; }
.sc--stage .sc-box.is-small { right: auto; }
.sc--stage .sc-box.is-closed .sc-box-tag { left: 50%; bottom: 14%; transform: translateX(-50%); }
.sc-item img { width: auto; }
.js .scene.is-playing .sc-sweep { animation: sc-sweep 1.5s ease-in-out 0.5s both; }
@keyframes sc-sweep { 0% { left: 5cqi; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 57cqi; opacity: 0; } }

/* ---------- Season and episodes ---------- */
.season .clean-heading p { max-width: 640px; margin: 0; color: var(--x-muted); font-size: 17px; line-height: 1.65; }
.season { text-align: center; }
.season h2 span { color: #7f858d; }
.season > .sky-text-link { display: inline-block; margin-top: 34px; }
.episode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; text-align: left; }
.episode-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 24px; background: #0d0e10; border: 1px solid #ffffff14; color: inherit; text-decoration: none; transition: border-color 0.3s ease, transform 0.3s ease; }
.episode-card:hover, .episode-card:focus-visible { border-color: color-mix(in srgb, var(--ep) 60%, transparent); transform: translateY(-4px); }
.episode-thumb { position: relative; padding: 12px 12px 0; pointer-events: none; }
.episode-thumb .scene { border-radius: 14px; box-shadow: none; }
.episode-length { position: absolute; left: 22px; top: 22px; z-index: 4; padding: 5px 10px; border-radius: 999px; background: #000000b8; border: 1px solid #ffffff1f; color: #c9ccd4; font-size: 11.5px; }
.episode-meta { display: grid; align-content: start; gap: 9px; padding: 18px 22px 24px; }
.episode-number { color: var(--ep); font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.is-studio .episode-meta h3 { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -0.025em; }
.episode-meta p { margin: 0; color: #9a9ea8; font-size: 14.5px; line-height: 1.55; }
.episode-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.episode-topics i { padding: 5px 10px; border-radius: 999px; background: #ffffff0a; border: 1px solid #ffffff14; color: #b5b8c0; font-size: 12px; font-style: normal; }
.episode-card.is-compact { grid-template: auto / minmax(0, 300px) minmax(0, 1fr); width: 100%; max-width: 760px; text-align: left; }
.episode-card.is-compact .episode-thumb { padding: 12px 0 12px 12px; }
.episode-card.is-compact .episode-meta { align-content: center; }
.episode-page .scene, .episode-card .scene { background: radial-gradient(85% 75% at 50% -8%, color-mix(in srgb, var(--ep) 30%, #2a2e32) 0%, #17191c 48%, #0a0b0c 100%); }
.episode-page .story-when b { background: color-mix(in srgb, var(--ep) 18%, transparent); color: var(--ep); }

.season-intro { padding-bottom: 0; }
.season-section .site-wrap { display: grid; gap: 18px; }
.pilot-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 26px; padding: 20px 30px 20px 26px; border-radius: 24px; background: radial-gradient(60% 140% at 0% 50%, #c6d2da1f, transparent 70%), #0d0e10; border: 1px solid #ffffff14; color: inherit; text-decoration: none; transition: border-color 0.3s ease; }
.pilot-row:hover, .pilot-row:focus-visible { border-color: #c6d2da80; }
.pilot-bottle { display: grid; place-items: center; width: 70px; }
.pilot-bottle img.story-bottle { height: 96px; filter: drop-shadow(0 10px 10px #000000b3); }
.pilot-copy { display: grid; gap: 6px; }
.pilot-copy small { color: var(--x-silver); font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; }
.pilot-copy b { font-size: 24px; font-weight: 400; letter-spacing: -0.025em; }
.pilot-copy span { color: #9a9ea8; font-size: 15px; line-height: 1.55; }
.pilot-go { color: var(--x-silver); font-size: 14px; white-space: nowrap; }

.episode-hero { padding: clamp(130px, 12vw, 170px) 0 clamp(20px, 3vw, 40px); text-align: center; }
.episode-hero .site-wrap { display: grid; justify-items: center; gap: 22px; }
.episode-hero .breadcrumb { margin: 0; }
.episode-kicker { display: inline-flex; align-items: center; gap: 12px; color: #9a9ea8; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.episode-kicker b { padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--ep) 18%, transparent); color: var(--ep); font: 500 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.08em; }
.is-studio .episode-hero h1 { max-width: 900px; margin: 0; font-size: clamp(40px, 6.4vw, 88px); font-weight: 300; line-height: 1.02; letter-spacing: -0.055em; }
.episode-hero p { max-width: 620px; margin: 0; color: var(--x-muted); font-size: 18px; line-height: 1.6; }
.episode-about { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.episode-about span { margin-right: 6px; color: #757983; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.episode-about a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid #ffffff1f; background: #ffffff08; color: #d9dbe1; font-size: 14px; text-decoration: none; transition: border-color 0.2s ease; }
.episode-about a:hover, .episode-about a:focus-visible { border-color: color-mix(in srgb, var(--ep) 70%, transparent); }
.episode-story { padding-top: 0; }
.episode-story .story-chapter:first-child { padding-top: clamp(40px, 5vw, 70px); }
.episode-story .story-chapter:first-child::before { display: none; }
.episode-close { max-width: 1000px; }
.episode-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; width: 100%; margin-top: 10px; text-align: left; }
.episode-areas a { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 20px; background: #0d0e10; border: 1px solid #ffffff14; color: inherit; text-decoration: none; transition: border-color 0.2s ease; }
.episode-areas a:hover, .episode-areas a:focus-visible { border-color: color-mix(in srgb, var(--ep) 60%, transparent); }
.episode-areas b { margin-top: 6px; font-size: 17px; font-weight: 450; letter-spacing: -0.01em; }
.episode-areas small { color: #9a9ea8; font-size: 14px; line-height: 1.5; }
.episode-areas i { margin-top: 6px; color: var(--x-silver); font-size: 13px; font-style: normal; }
.episode-next { display: grid; justify-items: center; gap: 20px; padding-top: clamp(80px, 9vw, 130px); }
@media (max-width: 1000px) {
  .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .episode-grid { grid-template-columns: minmax(0, 1fr); }
  .episode-card.is-compact { grid-template: auto auto / minmax(0, 1fr); }
  .episode-card.is-compact .episode-thumb { padding: 12px 12px 0; }
  .pilot-row { grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 18px 20px; }
  .pilot-go { grid-column: 2; }
  .pilot-copy b { font-size: 20px; }
  .episode-hero p { font-size: 16px; }
}

/* A scene holds its first frame until most of it is on screen, then plays once at its own pace. */
.js .scene.is-armed:not(.is-playing) :is(.sc-pop, .sc-bin .sc-b, .sc-box.is-open .sc-b, .sc-label, .sc-b.is-back, .sc-hold, .sc-arc, .sc-rest, .sc-ship-label, .sc-wires) { opacity: 0; }
.js .scene.is-armed:not(.is-playing) .sc-bars i { transform: scaleY(0); }
.js .scene.is-armed:not(.is-playing) .sc-bar i { width: 0; }
.js .scene.is-armed:not(.is-playing) .sc-swap em:first-child { opacity: 1; }
.js .scene.is-armed:not(.is-playing) .sc-swap em:last-child { opacity: 0; }
.js .scene.is-armed:not(.is-playing) .sc-doc .sc-button { opacity: 1; }
.js .scene.is-playing .sc-pop { animation: sc-pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both; }
.js .scene.is-playing .sc-ghost { animation: sc-ghost 2.6s ease-in-out var(--d, 0s) infinite; }
.js .scene.is-playing .sc-swap em:first-child { animation: sc-out 0.35s ease var(--s, 1.9s) both; }
.js .scene.is-playing .sc-swap em:last-child { animation: sc-pop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--s, 1.9s) + 0.15s) both; }
.js .scene.is-playing .sc-doc .sc-button { animation: sc-press 0.6s ease 1.45s both; }
.js .scene.is-playing :is(.sc-box.is-open, .sc-bin) .sc-b { animation: sc-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both; }
.js .scene.is-playing .sc-scan { animation: sc-scan 1.4s ease-in-out 1s both; }
.js .scene.is-playing .sc-bar i { animation: sc-fill 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both; }
.js .scene.is-playing .sc-b.is-held { animation: sc-hop 0.55s ease var(--d, 0s) both; }
.js .scene.is-playing .sc-hold { animation: sc-pop 0.6s ease 1.05s both; }
.js .scene.is-playing .sc-rest { animation: sc-pop 0.6s ease 1.5s both; }
.js .scene.is-playing .sc-label { animation: sc-stick 0.6s cubic-bezier(0.3, 1.3, 0.5, 1) 1.5s both; }
.js .scene.is-playing .sc-arc { animation: sc-pop 0.6s ease 1.5s both; }
.js .scene.is-playing .sc-b.is-back { animation: sc-drop 0.9s cubic-bezier(0.3, 1.2, 0.5, 1) 1.7s both; }
@keyframes sc-pop { from { opacity: 0; transform: translateY(1.6cqi) scale(0.97); } }
@keyframes sc-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes sc-ghost { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.35; } }
@keyframes sc-press { from { opacity: 1; transform: none; } 40% { opacity: 1; transform: scale(0.92); } 70% { opacity: 1; transform: none; } to { opacity: 0.45; } }
@keyframes sc-rise { from { opacity: 0; transform: translateY(6cqi); } }
@keyframes sc-scan { 0% { top: -12cqi; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 12cqi; opacity: 0; } }
@keyframes sc-fill { from { width: 0; } }
@keyframes sc-hop { 50% { transform: translateY(-1.8cqi); } }
@keyframes sc-stick { from { opacity: 0; transform: translateY(-7cqi) rotate(-12deg) scale(1.12); } }
@keyframes sc-drop { from { opacity: 0; transform: translateY(-14cqi); } }
@media (max-width: 640px) {
  .scene { aspect-ratio: 1 / 1.1; }
  .sc { font-size: max(10px, 2.9cqi); }
}

@media (max-width: 720px) {
  .logo-map > div { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 2px; }
  .logo-break { display: none; }
  .logo-map dt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .logo-map dd { gap: 18px 28px; }
  /* Nineteen logos wrap into a ragged block on a phone. One row that keeps moving shows them all in a line's height. */
  .logo-map dd.is-running { display: block; overflow: hidden; margin-inline: -26px; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
  .logo-map dd.is-running .logo-run { display: flex; width: max-content; animation: logo-run calc(var(--n) * 2.8s) linear infinite; }
  .logo-map dd.is-running .logo-set { display: flex; flex: none; align-items: center; gap: 38px; padding-right: 38px; }
  .logo-map > div:nth-child(even) dd.is-running .logo-run { animation-direction: reverse; }
  .logo-map .brand-mark.is-word img { width: calc(34px * sqrt(var(--ratio)) * var(--scale, 1)); }
}
.sc-ship-code span { white-space: nowrap; }
@media (max-width: 640px) { .sc-ship-code span { font-size: 0.7em; letter-spacing: 0.02em; } }

/* Narrow screens: let drawn panels and check lists shrink instead of pushing the page wide. */
.art { box-sizing: border-box; width: 100%; min-width: 0; }
.art-actions { flex-wrap: wrap; }
.art-title { overflow-wrap: anywhere; }
.feature-hero-media, .clean-row-media, .story-media, .clean-row-copy, .story-copy { max-width: 100%; }
.clean-checks li span, .story-strip li, .directory-sections li span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .feature-hero-media { width: 100%; overflow: hidden; }
}
.art { grid-template-columns: minmax(0, 1fr); }
.art-row b, .art-row small { overflow-wrap: anywhere; }
.story-strip-foot .text-link { white-space: normal; }
.art-row { flex-wrap: wrap; }
.art-row span { flex: 1 1 8em; }
.art-actions span { flex: 1 1 9em; }
.art-balance { flex-wrap: wrap; gap: 10px; }
.tour-screens .text-link { white-space: normal; }
@media (max-width: 1000px) {
  .clean-row, .clean-row.is-flipped, .clean-row:not(.has-media) { grid-template-columns: minmax(0, 1fr); }
}

/* The season on the home page, as a streaming title page: a billboard, then a sideways rail of episodes. */
.show { padding-block: clamp(90px, 11vw, 168px) clamp(36px, 6vw, 96px); text-align: left; }
.show-bill { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(460px, 46vw, 620px); overflow: hidden; border-radius: 26px; background: #0b0c0e; border: 1px solid #ffffff12; }
.show-backdrop { position: absolute; inset: 0 0 0 auto; z-index: -2; width: min(57%, 700px); }
.show-backdrop .scene { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background: radial-gradient(85% 75% at 60% -8%, color-mix(in srgb, var(--ep) 36%, #2a2e32) 0%, #17191c 48%, #0a0b0c 100%); }
.show-bill::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0c0e 0, #0b0c0e 43%, #0b0c0e00 66%), linear-gradient(0deg, #0b0c0e 0, #0b0c0e00 30%); pointer-events: none; }
.show-copy { display: grid; justify-items: start; gap: 16px; max-width: 600px; padding: clamp(26px, 4.6vw, 64px); }
.show-badge { display: inline-flex; align-items: center; gap: 9px; color: #c9ccd4; font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.show-badge svg { flex: none; }
.is-studio .show-copy h2 { margin: 0; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -0.045em; }
.show-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; color: #b9bdc6; font-size: 14.5px; }
.show-meta b { color: #6fd39a; font-weight: 600; }
.show-meta i { padding: 1px 7px; border: 1px solid #ffffff59; border-radius: 4px; color: #e4e6ea; font-size: 12.5px; font-style: normal; }
.show-line { max-width: 440px; margin: 0; color: #d0d3d9; font-size: 16.5px; line-height: 1.55; }
.show-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.show .show-actions a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 9px; font-size: 16px; font-weight: 600; text-decoration: none; transition: background 0.2s ease; }
.show .show-actions a.show-play { padding-left: 20px; background: #fff; color: #0b0c0e; }
.show .show-actions a.show-play:hover, .show .show-actions a.show-play:focus-visible { background: #ffffffc7; color: #0b0c0e; }
.show-play svg { fill: currentColor; }
.show .show-actions a.show-more { background: #6d6d6e66; color: #fff; }
.show .show-actions a.show-more:hover, .show .show-actions a.show-more:focus-visible { background: #6d6d6e99; color: #fff; }
.show-cast { margin: 2px 0 0; color: #b9bdc6; font-size: 13.5px; }
.show-cast span { color: #777c85; }

.show-rail { margin-top: 38px; }
.show-rail header { display: flex; align-items: center; gap: 14px; }
.is-studio .show-rail h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.show-season { padding: 6px 12px; border: 1px solid #ffffff38; border-radius: 6px; color: #e4e6ea; font-size: 13px; }
.show-steps { display: flex; gap: 8px; margin-left: auto; }
.show-steps button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0 0 3px; border-radius: 50%; border: 1px solid #ffffff2e; background: #ffffff0a; color: #e4e6ea; font-size: 22px; line-height: 1; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.show-steps button:hover, .show-steps button:focus-visible { background: #ffffff1f; border-color: #ffffff66; }
.show-track { display: flex; gap: 14px; margin: 18px 0 0; padding: 8px 4px 20px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, #0000); mask-image: linear-gradient(90deg, #000 90%, #0000); }
.show-track::-webkit-scrollbar { display: none; }
.show-track li { flex: 0 0 clamp(250px, 27vw, 330px); scroll-snap-align: start; }
.show .show-track a.show-ep { display: grid; gap: 13px; color: inherit; text-decoration: none; }
.show-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 10px; outline: 2px solid transparent; outline-offset: 0; transition: transform 0.3s ease, outline-color 0.3s ease; }
.show-thumb .scene { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; pointer-events: none; background: radial-gradient(85% 75% at 50% -8%, color-mix(in srgb, var(--ep) 30%, #2a2e32) 0%, #17191c 48%, #0a0b0c 100%); }
.show-ep:hover .show-thumb, .show-ep:focus-visible .show-thumb { transform: scale(1.03); outline-color: var(--ep); }
.show-go { position: absolute; left: 50%; top: 50%; z-index: 5; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; padding-left: 3px; border-radius: 50%; background: #000000a6; border: 2px solid #fff; color: #fff; opacity: 0; scale: 0.86; transition: opacity 0.25s ease, scale 0.25s ease; }
.show-go svg { fill: currentColor; }
.show-ep:hover .show-go, .show-ep:focus-visible .show-go { opacity: 1; scale: 1; }
.show-len { position: absolute; right: 9px; bottom: 9px; z-index: 5; padding: 4px 8px; border-radius: 5px; background: #000000cc; color: #e4e6ea; font-size: 11.5px; }
.show-ep-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 14px; padding: 0 2px; }
.show-ep-meta b { grid-row: span 2; color: #7b8089; font-size: 38px; font-weight: 300; line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.is-studio .show-ep-meta h4 { margin: 0; align-self: end; font-size: 16.5px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.show-ep-meta p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; color: #9a9ea8; font-size: 13.5px; line-height: 1.5; }
@media (max-width: 760px) {
  .show-bill { min-height: 0; border-radius: 20px; }
  .show-backdrop { inset: 0 0 auto 0; width: 100%; height: 270px; }
  .show-bill::after { background: linear-gradient(0deg, #0b0c0e 0, #0b0c0e 52%, #0b0c0e00 86%); }
  .show-copy { padding: 214px 20px 26px; gap: 13px; }
  .show-line { font-size: 15px; }
  .show .show-actions a { flex: 1 1 auto; justify-content: center; padding: 13px 18px; font-size: 15px; }
  .show-steps { display: none; }
  .show-track li { flex-basis: 76%; }
  .show-rail { margin-top: 30px; }
}

/* On a phone the open menu fills the screen, and the privacy panel would sit on top of its lower half.
   The panel steps aside while the menu is open and returns when it closes. */
@media (max-width: 1000px) {
  .has-open-nav .sb-privacy, .has-open-nav .sb-privacy-open { visibility: hidden; }
}

/* On a feature page: links to the detail pages for that area (theme/inc/topics.php). */
.deeper-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.is-studio .deeper .deeper-links a { display: grid; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 18px; background: #0d0e10; border: 1px solid #ffffff14; color: inherit; text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.is-studio .deeper .deeper-links a:hover, .is-studio .deeper .deeper-links a:focus-visible { border-color: #a8c6d680; transform: translateY(-2px); }
.deeper-links b { color: #fff; font-size: 16.5px; font-weight: 500; }
.deeper-links span { color: #9a9ea8; font-size: 14.5px; line-height: 1.5; }

/* The closing call to action (ims_cta): one line, one button, and the brand's ship crossing a lit horizon.
   The horizon is the top of a circle far larger than the page; turning that circle slowly sails the ship along it. */
.finale { --finale-rise: clamp(130px, 16vw, 220px); position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 12vw, 160px) 0 calc(var(--finale-rise) + clamp(70px, 8vw, 110px)); background: #050505; text-align: center; }
.finale::before { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 70%; background: radial-gradient(52% 62% at 50% 100%, #f2557a24, #f2557a0a 46%, transparent 72%); pointer-events: none; }
.finale-copy { display: grid; justify-items: center; gap: 22px; }
.is-studio .finale h2 { max-width: 16ch; margin: 0; color: #fff; font-size: clamp(40px, 6.2vw, 88px); font-weight: 300; line-height: 1.03; letter-spacing: -0.05em; text-wrap: balance; }
.finale p { max-width: 520px; margin: 0; color: var(--x-muted); font-size: 17px; line-height: 1.65; text-wrap: balance; }
.finale-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 14px; }
.finale-button { display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px 18px 34px; border-radius: 999px; background: #eef1f4; box-shadow: 0 0 0 1px #ffffff26, 0 20px 60px -20px #f2557a99; color: #0b0c0e; font-size: 17px; font-weight: 500; line-height: 1; text-decoration: none; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, background 0.25s ease; }
.finale-button svg { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.finale-button:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 0 0 1px #fff, 0 26px 70px -18px #f2557acc; }
.finale-button:hover svg { transform: translateX(4px); }
.finale-button:focus-visible, .finale-link:focus-visible { outline: 2px solid var(--x-silver); outline-offset: 4px; }
.finale-link { padding-bottom: 4px; border-bottom: 1px solid #ffffff38; color: #d3d8de; font-size: 15.5px; text-decoration: none; transition: color 0.25s ease, border-color 0.25s ease; }
.finale-link:hover { border-color: #fff; color: #fff; }
.finale-note { color: #7d818b; font-size: 13px; }
.finale-sea { position: absolute; left: 50%; bottom: 0; z-index: -1; width: max(2600px, 260vw); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(#0d0f13, #050505 130px); transform: translate(-50%, calc(100% - var(--finale-rise))); pointer-events: none; }
/* The lit rim: berry where the ship's course is, silver to either side, gone before the page edge. */
.finale-sea::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from -25deg, transparent, #c6d2da66 9deg, #f2557a 25deg, #c6d2da66 41deg, transparent 50deg, transparent); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px)); mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px)); }
.finale-voyage { position: absolute; inset: 0; rotate: -7deg; animation: finale-sail 48s ease-in-out infinite alternate; }
.finale-ship { position: absolute; left: 50%; top: 0; line-height: 0; translate: -50% -82%; filter: drop-shadow(0 6px 14px #f2557a59); }
@keyframes finale-sail { from { rotate: -11deg; } to { rotate: 11deg; } }
@media (max-width: 640px) {
  .finale p { font-size: 16px; }
  .finale-button { padding: 16px 24px 16px 28px; font-size: 16px; }
  @keyframes finale-sail { from { rotate: -6deg; } to { rotate: 6deg; } }
  .finale-voyage { rotate: -4deg; }
}
@media (prefers-reduced-motion: reduce) {
  .finale-voyage { animation: none; }
  .finale-button, .finale-button svg { transition: none; }
}
@keyframes logo-run { to { transform: translateX(-50%); } }
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  /* Without motion the row is swiped by hand, and the second copy has no job. */
  .logo-map dd.is-running { overflow-x: auto; scrollbar-width: none; }
  .logo-map dd.is-running .logo-run { animation: none; padding-inline: 26px; }
  .logo-map dd.is-running .logo-set[aria-hidden] { display: none; }
}

/* ---------- Scenes of the Inventory feature page: the home story's stage, with one bottle at most in each ---------- */
.sc-tag { position: absolute; z-index: 3; }
.sc img.sc-carton { position: absolute; z-index: 2; width: auto; height: 13.4cqi; max-width: none; filter: drop-shadow(0 1cqi 1cqi #000000a6); }
.sc img.sc-carton.is-dim { opacity: 0.45; filter: grayscale(0.6); }
.sc-slot { position: absolute; z-index: 1; bottom: 0; height: 13.4cqi; aspect-ratio: 760 / 600; border: 1px dashed #ffffff47; border-radius: 0.8cqi; background: repeating-linear-gradient(-45deg, #ffffff14 0 1px, transparent 1px 6px); }
.sc--warehouses::before, .sc--alert::before, .sc--trace::before { display: none; }
.sc-shelf { position: absolute; left: 5cqi; right: 5cqi; top: calc(8cqi + var(--row) * 35cqi); height: 31cqi; border-bottom: 1px solid #ffffff33; background: linear-gradient(transparent 62%, #ffffff0d); }
.sc-shelf > .sc-mono { position: absolute; left: 0; top: 0; opacity: 0.8; }
.sc-shelf .sc-big { position: absolute; right: 1cqi; bottom: 3cqi; display: grid; justify-items: end; font-size: 3.4em; }
.sc-shelf .sc-big span { margin: 0.5em 0 0; font-size: 0.24em; }
.sc-bin img.sc-carton { left: 50%; bottom: 1.6cqi; height: 12cqi; translate: -50% 0; }
.sc-bin.is-held { border-color: #f2557a8c; background: radial-gradient(80% 95% at 50% 100%, #f2557a26, #ffffff05); }
.sc--count .sc-scan { left: 7cqi; right: auto; top: auto; bottom: 36cqi; width: 24cqi; }
.js .scene.is-playing .sc--count .sc-scan { animation: sc-read 2.4s ease-in-out 0.5s 2 both; }
@keyframes sc-read { 0% { translate: 0 -18cqi; opacity: 0; } 15%, 85% { opacity: 1; } 100% { translate: 0 18cqi; opacity: 0; } }
.sc-tally { top: 6cqi; right: 5cqi; width: 46cqi; gap: 1.6cqi; }
.sc-tally li, .sc-moves dt small { color: #9aa0a9; }
.sc-tally li.is-warn { color: #ff9db3; }
.sc-moves { top: 7cqi; right: 5cqi; width: 48cqi; gap: 1cqi; }
.sc-moves dt { display: grid; gap: 0.15em; color: var(--x-ink); }
.sc-moves dt small { font-size: 0.78em; }
.sc-moves dd { align-self: center; font-size: 1.35em; font-weight: 300; }
.sc--stock .sc-moves dd { font-size: 2.2em; letter-spacing: -0.03em; }
.sc-moves dd.is-in { color: var(--x-green); }
.sc-moves dd.is-out { color: #ff9db3; }
/* Cards that only feature pages use (ims_stage): a conversation, and a list of people. */
.sc-chat { position: absolute; z-index: 3; top: 7cqi; right: 5cqi; display: grid; gap: 1.6cqi; width: 54cqi; }
.sc-chat p { max-width: 86%; padding: 1.7cqi 2.2cqi; border-radius: 2.2cqi; background: #1d2024; border: 1px solid #ffffff24; color: #e6e8ec; }
.sc-chat p.is-me { justify-self: end; border-bottom-right-radius: 0.5cqi; background: #e2e7eb; border-color: #e2e7eb; color: #141519; }
.sc-chat p.is-ai { justify-self: start; border-bottom-left-radius: 0.5cqi; }
.sc-chat small { justify-self: start; padding-left: 0.6cqi; }
.sc-people { top: 7cqi; right: 5cqi; width: 54cqi; gap: 1.3cqi; }
.sc-person { display: flex; align-items: center; gap: 1.7cqi; padding: 1.5cqi 1.8cqi; border-radius: 1.8cqi; background: #ffffff0a; border: 1px solid #ffffff14; }
.sc-person i { display: grid; place-items: center; flex: none; width: 5.2cqi; height: 5.2cqi; min-width: 22px; min-height: 22px; border-radius: 50%; background: #ffffff1a; color: #d9dbe1; font: 500 0.72em/1 ui-monospace, "SF Mono", Menlo, monospace; font-style: normal; }
.sc-person span { display: grid; flex: 1; min-width: 0; }
.sc-person em { flex: none; }
