/* Whole photographic scenes carry their own lighting and contact shadows. */
html[data-design] .hero { min-height: 0; }
html[data-design] .hero-inner.page-width { display: flex; flex-direction: column; min-height: 0; width: min(calc(100% - 64px), 1376px); max-width: 1376px; }
html[data-design] .hero-copy { width: 100%; min-height: 0; padding: 64px 0 42px; align-items: center; text-align: center; }
html[data-design] .hero-kicker, html[data-design] .hero-actions { justify-content: center; }
html[data-design] .hero h1 { max-width: none; font-size: clamp(46px, 5.4vw, 84px); }
html[data-design] .hero h1 br { display: none; }
html[data-design] .hero h1 br::after { content: ' '; }
html[data-design] .hero h1 span { display: block; }
html[data-design] .hero-lead { margin: 24px auto; max-width: 650px; }
html[data-design] .hero-stage { position: relative; inset: auto; transform: none; width: 100%; height: auto; min-height: 0; margin: 0; background: none; border-radius: 18px; overflow: hidden; }
html[data-design] .hero-stage::before, html[data-design] .hero-stage::after { display: none; }
html[data-design] .hero-photograph { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
html[data-design] .hero-bottom { padding-top: 22px; padding-bottom: 24px; }
html[data-design="cinematic"] .hero-inner.page-width { width: min(calc(100% - 64px), 1376px); }
html[data-design="cinematic"] .hero-copy { align-items: center; padding-top: 52px; }
html[data-design="cinematic"] .hero-stage { border-radius: 0; }
html[data-design] .line-card { min-height: 0; }
html[data-design] .line-card-display { position: relative; display: block; flex: none; min-height: 0; height: auto; padding: 0; background: none; overflow: hidden; }
html[data-design] .line-card-display::before, html[data-design] .line-card-display::after { display: none; }
html[data-design] .line-scene-photo { position: static; display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 8 / 5; object-fit: cover; transform: none; filter: none; transition: filter .35s ease; }
html[data-design] .line-card:hover .line-scene-photo { transform: none; filter: brightness(1.035); }
html[data-design] .line-scene-photo.is-changing { animation: photo-enter .45s ease; }
html[data-design] .chooser-panel { min-height: 0; align-items: center; }
html[data-design] .chooser-image { display: block; min-height: 0; max-height: none; height: auto; aspect-ratio: 4 / 5; padding: 0; background: none; }
html[data-design] .chooser-image::before, html[data-design] .chooser-image::after { display: none; }
html[data-design] .chooser-image img, html[data-design] .chooser-panel[data-line] .chooser-image img, html[data-design] .chooser-image img[data-photo-size="small"] { position: absolute; top: 0; right: 0; display: block; width: 200%; max-width: none; height: 100%; max-height: none; margin: 0 !important; aspect-ratio: 8 / 5; object-fit: fill; filter: none; transform: none; }
html[data-design] .chooser-panel.switch-in .chooser-image img { animation: photo-enter .45s ease; }
/* Give the caption its own space above the photograph, away from the cat. */
html[data-design] .cat-interlude { display: flex; flex-direction: column; height: auto; min-height: 0; padding: 0; overflow: hidden; background: #eeeae7; }
html[data-design] .cat-interlude-copy { position: static; inset: auto; transform: none; z-index: auto; width: min(calc(100% - 64px), 1376px); max-width: 1376px; order: -1; padding: 48px 0 32px; }
html[data-design] .cat-interlude-copy span { display: block; margin-bottom: 16px; font-size: 15px; letter-spacing: .05em; }
html[data-design] .cat-interlude-copy p { max-width: none; margin: 0; font-size: clamp(32px, 4vw, 62px); line-height: 1.08; letter-spacing: -.025em; }
html[data-design] .cat-interlude-copy p br { display: none; }
html[data-design] .cat-interlude > img { position: static; display: block; width: min(calc(100% - 64px), 1376px); height: auto; max-height: none; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 55%; margin: 0 auto 48px; filter: none; opacity: 1; }
html[data-design] .cat-interlude::before, html[data-design] .cat-interlude::after { display: none; }
html[data-design="cinematic"] .cat-interlude { background: #050505; }
html[data-design="cinematic"] .cat-interlude-copy p { color: white; }
html[data-design="editorial"] .cat-interlude { background: #f5f5f5; }
@keyframes photo-enter { from { opacity: .5; } to { opacity: 1; } }
@media (max-width: 700px) {
 html[data-design] .hero-inner.page-width, html[data-design="cinematic"] .hero-inner.page-width, html[data-design] .cat-interlude-copy, html[data-design] .cat-interlude > img { width: calc(100% - 32px); }
 html[data-design] .hero-copy { padding: 38px 0 28px; }
 html[data-design] .hero h1 { font-size: clamp(36px, 9vw, 54px); }
 html[data-design] .hero-stage { border-radius: 10px; }
 html[data-design] .hero-lead { font-size: 16px; }
 html[data-design] .cat-interlude-copy { padding: 32px 0 24px; }
 html[data-design] .cat-interlude-copy p { font-size: 34px; }
 html[data-design] .cat-interlude > img { aspect-ratio: 3 / 2; margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { html[data-design] .line-scene-photo.is-changing, html[data-design] .chooser-panel.switch-in .chooser-image img { animation: none; } }

/* Readable spaces at display sizes; card titles remain subordinate to sections. */
html[data-design] h1, html[data-design] h2, html[data-design] h3 { word-spacing: .09em; }
html[data-design="cinematic"] .hero h1,
html[data-design="cinematic"] .section-heading h2,
html[data-design="cinematic"] .mineral-copy h2,
html[data-design="cinematic"] .care h2,
html[data-design="cinematic"] .benefits-heading h2 { letter-spacing: -.035em; word-spacing: .16em; }
html[data-design="cinematic"] .line-card h3 { font-size: clamp(36px, 3.5vw, 54px); line-height: 1.02; letter-spacing: -.025em; word-spacing: .08em; font-weight: 500; }
html[data-design="cinematic"] .line-card-copy { padding-bottom: 8px; }
html[data-design="cinematic"] .line-subtitle { margin-bottom: 18px; }

/* The photo's empty upper-left area carries the caption; the tail stays clear. */
html[data-design] .cat-interlude { position: relative; width: min(calc(100% - 64px), 1376px); margin: 0 auto; display: block; background: none; }
html[data-design] .cat-interlude > img { width: 100%; aspect-ratio: 16 / 9; margin: 0; object-position: center; }
html[data-design] .cat-interlude-copy { position: absolute; left: 5%; top: 9%; width: 34%; max-width: 450px; padding: 0; margin: 0; z-index: 2; }
html[data-design] .cat-interlude-copy span { font-size: 14px; color: #514a42; margin-bottom: 18px; }
html[data-design] .cat-interlude-copy p { color: #252321; font-size: clamp(30px, 3.3vw, 49px); line-height: 1.12; letter-spacing: -.025em; word-spacing: .06em; font-weight: 500; }
html[data-design] .cat-interlude-copy p br { display: block; }
html[data-design] .cat-interlude::before { display: block; content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(249,246,240,.7), rgba(249,246,240,.3) 32%, transparent 49%); pointer-events: none; }
html[data-design="cinematic"] .cat-interlude-copy p { text-transform: none; }

.care-visual { max-width: 440px; margin-top: 30px; --care-line: #74677e; --care-shell: #c8bfd0; --care-mineral: #faf9f5; }
.care-diagram { display: block; width: 100%; height: auto; overflow: visible; }
.care-tray { fill: var(--care-shell); stroke: var(--care-line); stroke-width: 1.5; }
.care-bed { fill: #e5dfd7; }
.care-granules path { fill: var(--care-mineral); stroke: #b9b2a8; stroke-width: .6; }
.care-rim { fill: none; stroke: var(--care-line); stroke-width: 2; }
.care-depth { fill: var(--care-line); font-size: 16px; font-weight: 600; }
.care-depth path { fill: none; stroke: var(--care-line); stroke-width: 1.5; }
.care-scoop { opacity: 0; }
.care-scoop-body { fill: var(--care-shell); stroke: var(--care-line); stroke-width: 2; }
.care-scoop-slots { fill: none; stroke: var(--care-line); stroke-width: 2; }
.care-clump path { fill: var(--care-mineral); stroke: #b9b2a8; stroke-width: 1; }
.care-pour { opacity: 0; fill: var(--care-mineral); stroke: var(--care-line); stroke-width: 1.5; }
.care-visual[data-step="1"] .care-scoop, .care-visual[data-step="2"] .care-pour { opacity: 1; }
.care-visual[data-step="1"] .care-depth { opacity: 0; }
.care-visual.is-playing[data-step="1"] .care-scoop { animation: care-lift .95s cubic-bezier(.22,1,.36,1) both; }
.care-visual.is-playing[data-step="2"] .care-pour { animation: care-refill .8s ease both; }
.care-visual-caption { margin: 6px 0 0; color: #61566a; font-size: 15px; line-height: 1.5; }
html[data-design] .care-steps { padding-top: 12px; }
html[data-design] .care-step { display: grid; grid-template-columns: 38px 1fr 20px; gap: 16px; width: 100%; border: 0; border-top: 1px solid #a69bae; padding: 26px 12px; background: transparent; text-align: left; color: inherit; font: inherit; cursor: pointer; transition: background .25s, border-color .25s; }
html[data-design] .care-step:last-of-type { border-bottom: 1px solid #a69bae; }
html[data-design] .care-step > span:first-child { color: #604a70; font-size: 13px; padding-top: 4px; }
html[data-design] .care-step .care-step-text { font-size: 19px; line-height: 1.5; color: inherit; font-weight: 400; }
html[data-design] .care-step .care-step-arrow { color: inherit; opacity: .3; transition: opacity .25s, transform .25s; }
html[data-design] .care-step.is-active, html[data-design] .care-step:hover { background: rgba(255,255,255,.3); border-color: #74677e; }
html[data-design] .care-step.is-active .care-step-arrow { opacity: 1; transform: translate(2px,-2px); }
html[data-design] .care-step:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html[data-design] .care-warning { grid-column: 2; display: flex; align-items: flex-start; gap: 14px; margin: 30px 0 0; padding: 20px; border: 1px solid #aea2b7; font-size: 17px; line-height: 1.55; color: #423a4b; background: rgba(255,255,255,.18); }
.care-warning > span:first-child { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid currentColor; border-radius: 50%; font-weight: 600; }
html[data-design="cinematic"] .care-visual { --care-line: #b6a98c; --care-shell: #514b40; }
html[data-design="cinematic"] .care-step { border-color: #555; }
html[data-design="cinematic"] .care-step > span:first-child { color: var(--gold); }
html[data-design="cinematic"] .care-step.is-active, html[data-design="cinematic"] .care-step:hover { background: rgba(255,205,80,.06); border-color: var(--gold); }
html[data-design="cinematic"] .care-visual-caption { color: #d1c9b9; }
html[data-design="cinematic"] .care-warning { color: #f3eee3; border-color: #9f8c5c; background: rgba(255,205,80,.05); }
html[data-design="editorial"] .care-visual { --care-line: #827a6d; --care-shell: #dbd6ce; }
html[data-design="editorial"] .care-warning { color: #48423b; border-color: #c4beb4; background: #eeebe6; }
@keyframes care-lift { from { transform: translate(-12px,36px) rotate(-3deg); } to { transform: translate(0,0) rotate(0); } }
@keyframes care-refill { from { opacity: .2; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 850px) {
 html[data-design] .care-inner { grid-template-columns: 1fr; }
 html[data-design] .care-warning { grid-column: 1; }
 .care-visual { max-width: 380px; margin: 22px auto 30px; }
}
@media (max-width: 700px) {
 html[data-design] .cat-interlude { width: calc(100% - 32px); display: flex; flex-direction: column; }
 html[data-design] .cat-interlude-copy { position: static; width: 100%; max-width: none; padding: 28px 0 24px; }
 html[data-design] .cat-interlude-copy p { font-size: 32px; }
 html[data-design] .cat-interlude-copy p br { display: none; }
 html[data-design] .cat-interlude-copy p br::after { content: ' '; }
 html[data-design] .cat-interlude::before { display: none; }
 html[data-design="cinematic"] .cat-interlude-copy p, html[data-design="cinematic"] .cat-interlude-copy span { color: #fff; }
 html[data-design] .cat-interlude > img { aspect-ratio: 16 / 9; }
 html[data-design] .care-step .care-step-text { font-size: 17px; }
 html[data-design] .care-warning { padding: 16px; font-size: 16px; }
 html[data-design="cinematic"] .line-card h3 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .care-visual.is-playing .care-scoop, .care-visual.is-playing .care-pour { animation: none; } }


/* Keep the warning directly beneath the steps, independent of the illustration. */
html[data-design] .care { padding-block: clamp(52px, 5vw, 76px); }
html[data-design] .care-inner { align-items: start; }
html[data-design] .care-visual { max-width: 340px; margin-top: 18px; }
html[data-design] .care-step { padding-block: 22px; }
html[data-design] .care-steps .care-warning { margin: 18px 0 0; max-width: none; width: 100%; }
html[data-design] .care-warning > span { color: inherit; font-size: inherit; font-weight: 400; }
html[data-design] .care-warning > span:first-child { font-weight: 600; }
html[data-design] .chooser-panel[data-line="smart"] .chooser-image img { width: 210%; height: 105%; top: -2.5%; right: -17.1%; }
html[data-design="editorial"] .benefits { background: #d9d2c8; }
html[data-design="editorial"] .benefits::before { display: none; }
html[data-design="editorial"] .benefits-heading > p:last-child,
html[data-design="editorial"] .benefits-foot { color: #514b43; }
/* Light mineral scenes keep the white chips visible against a tinted surface. */
html[data-design="classic"] .mineral-section { --mineral-paper: #f5f6f3; --mineral-surface: #dce3df; --mineral-ink: #293b35; --mineral-muted: #52685f; --mineral-rule: #adbcb4; }
html[data-design="editorial"] .mineral-section { --mineral-paper: #f1ede6; --mineral-surface: #ded5c8; --mineral-ink: #3d362e; --mineral-muted: #736351; --mineral-rule: #bbae9d; }
html[data-design="classic"] .mineral-section,
html[data-design="editorial"] .mineral-section { color: var(--mineral-ink); background: var(--mineral-paper); }
html[data-design]:not([data-design="cinematic"]) .mineral-copy h2 { color: var(--mineral-ink); }
html[data-design]:not([data-design="cinematic"]) .mineral-copy h2 span,
html[data-design]:not([data-design="cinematic"]) .mineral-copy .section-label,
html[data-design]:not([data-design="cinematic"]) .mineral-copy > p:not(.section-label) { color: var(--mineral-muted); }
html[data-design]:not([data-design="cinematic"]) .absorption-stage { background: radial-gradient(ellipse at 68% 38%, var(--mineral-paper), var(--mineral-surface) 78%); border-color: var(--mineral-rule); }
html[data-design]:not([data-design="cinematic"]) .absorption-stage::before { background: none; }
html[data-design]:not([data-design="cinematic"]) .absorption-stage::after { background: linear-gradient(transparent, var(--mineral-surface)); }
html[data-design]:not([data-design="cinematic"]) .absorption-caption { border-color: var(--mineral-rule); }
html[data-design]:not([data-design="cinematic"]) .absorption-caption p { color: var(--mineral-ink); }
html[data-design]:not([data-design="cinematic"]) .absorption-caption span { color: var(--mineral-muted); }
html[data-design]:not([data-design="cinematic"]) .absorption-diagram { filter: drop-shadow(0 8px 6px rgba(56,62,54,.18)); }
html[data-design]:not([data-design="cinematic"]) .absorption-diagram polygon { stroke: #92988e; stroke-opacity: .65; }
html[data-design]:not([data-design="cinematic"]) .absorption-timeline { background: var(--mineral-rule); }
html[data-design]:not([data-design="cinematic"]) .absorption-timeline-fill { background: var(--mineral-muted); box-shadow: none; }
html[data-design]:not([data-design="cinematic"]) .absorption-replay { color: var(--mineral-ink); border-color: var(--mineral-muted); background: transparent; }
html[data-design]:not([data-design="cinematic"]) .absorption-replay:hover { background: var(--mineral-ink); color: var(--mineral-paper); }
/* Keep the tray below the smaller heading in every theme. */
html[data-design] .care-heading { grid-column: 1; grid-row: 1; }
html[data-design] .care-visual { grid-column: 1; grid-row: 2; }
html[data-design] .care-steps { grid-column: 2; grid-row: 1 / span 2; }
html[data-design="cinematic"] .care-inner { column-gap: 8%; row-gap: 12px; }
html[data-design="cinematic"] .care h2 { font-size: clamp(44px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -.025em; word-spacing: .08em; }
html[data-design="cinematic"] .care-heading { grid-row: 1; }
html[data-design="cinematic"] .care-steps { grid-row: 1 / span 2; }
html[data-design="cinematic"] .care-visual { grid-column: 1; grid-row: 2; max-width: 340px; width: 100%; margin: 18px 0 0; }
html[data-design] .cat-interlude-copy { left: 5%; top: 12%; width: 27%; max-width: 360px; }
html[data-design] .cat-interlude-copy p { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.15; }
html[data-design] .cat-interlude::before { background: linear-gradient(90deg, rgba(249,246,240,.35), transparent 38%); }
@media (max-width: 850px) {
  html[data-design] .care-heading, html[data-design] .care-visual, html[data-design] .care-steps { grid-column: 1; grid-row: auto; }
  html[data-design="cinematic"] .care-visual { grid-column: 1; grid-row: auto; margin: 18px auto; }
  html[data-design] .care-heading { margin-bottom: 0; }
}
@media (max-width: 700px) {
  html[data-design] .cat-interlude-copy { width: 100%; max-width: none; }
  html[data-design] .cat-interlude-copy p { font-size: 32px; }
  html[data-design="cinematic"] .care h2 { font-size: 42px; }
}
@media (max-width: 700px) {
  html[data-design] .care { padding-block: 44px; }
  html[data-design] .care-visual { max-width: 300px; }
  html[data-design] .care-step { padding-block: 20px; }
}
