/* Readable copy in the immediate text area keeps the image's wider color and light. */
.hero[data-layout] .hero-content { isolation:isolate; }
.hero-content::before {
  position:absolute; z-index:-1; inset:-52px -80px -46px -52px;
  content:""; pointer-events:none;
  background:radial-gradient(ellipse at 34% 48%,#100e20a6 0%,#15122644 52%,transparent 73%);
}
[data-tone="frost"] .hero-content::before,
.hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .hero-content::before {
  background:radial-gradient(ellipse at 34% 52%,color-mix(in srgb,var(--page),white 25%) 0%,transparent 73%);
  opacity:.62;
}
body[data-page="home"] .hero[data-layout] .hero-lead {
  max-width:38ch; font-size:clamp(.98rem,1.35vw,1.17rem); line-height:1.6;
}
body[data-page="home"] .hero[data-layout] :is(.hero-lead,.hero-caption) {
  text-shadow:0 2px 12px #120e22b0;
}
body[data-page="home"] .hero:is([data-layout="day"],[data-layout="product"],[data-layout="atelier"],[data-layout="crystal"])
  :is(.hero-lead,.hero-caption) { text-shadow:0 1px 5px #fff8; }
.hero-portrait .plate-fade { position:absolute; inset:0; pointer-events:none; }
.scene-motion { pointer-events:none; opacity:0; }
.scene-motion[data-playing] { opacity:1; }
:is(.hero-portrait,.scene-dialog-picture):has(.scene-motion[data-playing]) .iris-light { opacity:0; }
body[data-page="home"] .hero[data-layout] .hero-portrait .scene-motion {
  object-position:var(--plate-position,62% 46%); transform:scaleX(var(--plate-flip,1));
}
body[data-page="home"][data-theme="platform-dawn"] .hero-portrait .scene-motion {
  filter:brightness(1.15) saturate(.80);
}
.scene-dialog-picture :is(img,.scene-motion) { transform:scaleX(var(--plate-flip,1)); }
@media (max-width:780px) and (orientation:portrait) {
  .scene-dialog .scene-dialog-picture {
    inset:clamp(20px,6dvh,58px) 0 auto;
    height:min(129vw,72dvh);
    overflow:hidden;
    mask-image:linear-gradient(180deg,transparent,#000 5%,#000 81%,transparent);
  }
  .scene-dialog .scene-dialog-picture :is(img,.scene-motion) {
    object-fit:cover; object-position:var(--scene-focus,50%) center;
  }
  .scene-dialog-backdrop {
    background:radial-gradient(ellipse at 50% 21%,var(--scene-matte,#3c304e),#131321 76%);
  }
}
.hero[data-ambience="mulberry"] .winter-glow { animation-duration:13s; }
.hero[data-ambience="midnight"] .winter-glow { animation-duration:9s; }
.hero[data-ambience="dawn"] .winter-glow { animation-duration:17s; }
.hero:is([data-ambience="paper"],[data-ambience="pearl"],[data-ambience="crystal"]) .winter-glow { animation-duration:22s; }

/* A line from the scene, on the same typographic axis as the artwork. */
.ambient-quote {
  --quote-ink:#fff1f9; --quote-edge:#f0bfdf; --quote-ground:#1b1029;
  position:relative; isolation:isolate; display:grid; justify-items:start; gap:8px;
  margin-top:clamp(14px,2vw,26px); width:min(100%,43ch);
  padding:12px 32px 11px clamp(15px,2vw,25px);
  border-left:1px solid var(--quote-edge);
  background:linear-gradient(90deg,color-mix(in srgb,var(--quote-ground),transparent 23%),transparent);
  color:var(--quote-ink);
}
body[data-page="home"] .hero[data-layout]:has(#idle-line:not([hidden])) {
  height:auto;
  min-height:clamp(720px,50vw,940px);
}
body[data-page="home"] .hero[data-layout]:has(#idle-line:not([hidden])) .hero-content {
  margin-bottom:76px;
}
body[data-page="home"] .hero[data-layout]:has(#idle-line:not([hidden]))+.showcase {
  margin-top:0;
}
.ambient-quote blockquote { margin:0; }
.ambient-quote p {
  margin:0; font:italic 400 clamp(1.16rem,1.65vw,1.65rem)/1.27 var(--serif);
  letter-spacing:.004em; text-wrap:pretty;
}
.ambient-signature { width:clamp(83px,11vw,142px); height:auto; opacity:.94; filter:brightness(0) invert(1); }
.ambient-dismiss {
  position:absolute; top:0; right:0;
  width:36px; min-height:36px; border:0; background:none; color:inherit;
  font-size:1.25rem; opacity:.73;
}
.ambient-dismiss:hover,.ambient-dismiss:focus-visible { opacity:1; }
.hero:is([data-layout="day"],[data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .ambient-quote {
  --quote-ink:#25263f; --quote-edge:#796280; --quote-ground:#faf3fc;
}
.hero:is([data-layout="day"],[data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .ambient-signature {
  filter:brightness(0) opacity(.82);
}
body[data-winter-effects="on"] .ambient-quote { animation:quote-arrive .9s cubic-bezier(.18,.66,.27,1) both; }
body[data-winter-effects="on"] #idle-line { animation-delay:.48s; }
@keyframes quote-arrive { from { opacity:0; translate:0 8px; } to { opacity:1; translate:0 0; } }
.scene-dialog #scene-line {
  position:absolute; inset:auto auto clamp(78px,11vh,120px) var(--gutter); z-index:2; max-width:calc(100% - 2 * var(--gutter));
}

/* Consent lives in the reading flow, using each atmosphere's ink, paper and accent. */
.analytics-slot:empty { display:none; }
.analytics-slot { width:min(100%,var(--max)); padding-inline:var(--gutter); margin:0 auto; }
body[data-edition-route] .analytics-slot .snov-statistics {
  position:relative; inset:auto; z-index:auto; isolation:isolate;
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:20px 44px;
  width:100%; max-width:none; margin:12px auto 26px; padding:clamp(17px,2.5vw,32px);
  border:0; border-top:1px solid color-mix(in srgb,var(--accent),transparent 55%); border-radius:0;
  box-shadow:none; color:var(--ink);
  background:linear-gradient(115deg,color-mix(in srgb,var(--surface),var(--accent) 7%),var(--page) 92%);
}
body[data-edition-route] .snov-statistics-copy h2 { font:400 clamp(1.4rem,2.7vw,2.02rem)/1.16 var(--serif); }
body[data-edition-route] .snov-statistics-copy p { color:var(--muted); font: .9rem/1.58 var(--sans); }
body[data-edition-route] .snov-statistics-copy a { font-size:.85rem; }
body[data-edition-route] .snov-statistics-actions { margin:0; }
body[data-edition-route] .snov-statistics-actions button {
  min-height:44px; border-radius:2px; color:var(--ink); border-color:var(--accent); background:transparent;
  font-size:.9rem; font-family:var(--sans);
}
body[data-edition-route] .snov-statistics-actions button:hover { background:var(--card); }
body[data-edition-route] .snov-statistics-actions button:focus-visible { outline-color:var(--accent); }

/* Live has a portrait edge and saturated shadows of its own in every edition. */
body[data-page="home"] .showcase .tile.tile-live {
  min-height:clamp(156px,15vw,212px); border-radius:3px 17px 3px 3px; color:#fff3fb;
  background:radial-gradient(ellipse at 90% 12%,#a6577e 0%,#39233d 48%,#1a152c 83%);
  border-color:#d589b888; box-shadow:0 16px 32px #160d2746;
}
body[data-page="home"] .showcase .tile-live .tile-copy { max-width:61%; }
body[data-page="home"] .showcase .tile-live .tile-portrait {
  width:76%; opacity:1; mask-image:linear-gradient(90deg,transparent,#000 48%);
}
body[data-page="home"] .showcase .tile-live .tile-portrait img {
  object-position:55% 33%; filter:saturate(1.14) brightness(.88);
}
body[data-page="home"] .showcase .tile-live :is(h2,p,span) { text-shadow:0 2px 12px #150c28; }
body[data-page="home"] .showcase .tile-live .tile-copy span {
  display:inline-block; margin-top:13px; padding-bottom:3px; border-bottom:1px solid #f4bbde92; opacity:1; font-size:.85rem;
}
body[data-page="home"] .showcase .tile-december { border-radius:18px 3px 3px 3px; }
body[data-page="home"] .showcase .tile-archive { border-radius:3px 18px 18px 3px; }
@media (hover:hover) and (pointer:fine) {
  body[data-winter-effects="on"] .showcase .tile-portrait {
    translate:var(--parallax-x,0) var(--parallax-y,0); transition:translate .5s ease-out,scale .5s ease-out;
  }
}

.work-art.work-art-cased {
  background:radial-gradient(ellipse at 52% 58%,#58608270,transparent 65%),linear-gradient(145deg,#282537,#111726);
  padding:15px;
}
.work-art-cased .hardware-watch {
  width:44%; max-width:156px; filter:drop-shadow(0 16px 12px #0b081cb8); transition:rotate .45s ease, scale .45s ease;
}
.work-card .work-art-cased .hardware-watch img { max-height:none; transform:none; }
.work-card .work-art-cased .hardware-watch .hardware-screen img { width:100%; height:100%; object-fit:cover; }
body[data-winter-effects="on"] .work-card:hover .work-art-cased .hardware-watch { rotate:-2deg; scale:1.045; }
.device-controls .device-format { margin:6px 0 12px; font-size:.81rem; letter-spacing:.06em; }
.watch-december-link { padding-top:0; }
#published-watchfaces .filter-bar { grid-template-columns:1.3fr 1fr 1fr; }

.collection-card.collection-december { --series-edge:#9aafda; }
.collection-card.collection-signature { --series-edge:#d898a8; }
.collection-card.collection-russian { --series-edge:#d29b80; }
.collection-card.collection-creatures { --series-edge:#bca886; }
.collection-card.collection-neon { --series-edge:#c08ccd; }
.collection-card :is(h3) { text-wrap:balance; }
.collection-card { border-top:2px solid var(--series-edge,var(--line)); }
.collections-grid .collection-december .cover { aspect-ratio:2.55; }
.world-banner:not(.world-december) {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  align-items:center; gap:clamp(20px,5vw,78px);
  padding-inline:max(var(--gutter),calc((100vw - var(--max)) / 2 + var(--gutter)));
  min-height:clamp(390px,37vw,610px);
}
.world-banner:not(.world-december)>div:first-child { max-width:none; }
.world-banner:not(.world-december)>figure { margin:0; width:auto; min-width:0; border:0; padding:0; }
.world-banner:not(.world-december)>figure img { display:block; width:100%; max-height:clamp(210px,28vw,370px); object-fit:contain; }
.world-banner:not(.world-december) :is(h1,p,.text-action) { color:var(--series-ink); }
.world-banner:not(.world-december) .text-action { text-underline-offset:5px; }
.world-banner.world-signature {
  --series-ink:#ffedf0;
  background:radial-gradient(ellipse at 88% 60%,#5e263b,#21111f 65%,#160c17);
}
.world-banner.world-signature>figure img {
  aspect-ratio:1.52; object-fit:cover; object-position:56% 14%;
  border-radius:48% 48% 3px 3px / 29% 29% 3px 3px;
  outline:1px solid #df9bac6b; outline-offset:7px;
}
.world-banner.world-russian {
  --series-ink:#fff1df;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  background:linear-gradient(108deg,#241b24,#483237 57%,#292333);
}
.world-banner.world-russian>figure { background:#130e176a; border-block:1px solid #dfc2aa76; padding:12px; }
.world-banner.world-creatures {
  --series-ink:#26273a;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  background:radial-gradient(ellipse at 74% 47%,#f8efe3,#e7d8c6 48%,#b3a4b9);
}
.world-banner.world-creatures>figure img { max-height:clamp(200px,24vw,320px); filter:drop-shadow(0 9px 18px #39325177); }
.world-banner.world-neon {
  --series-ink:#fbe9ff;
  background:radial-gradient(ellipse at 84% 55%,#4f284f,#261c39 48%,#121425 78%);
}
.world-banner.world-neon>figure {
  background:linear-gradient(160deg,#221929,#0d101a); border-radius:2px 22px 2px 22px;
  outline:1px solid #c186ce68; padding:21px;
}
.archive-toc {
  display:flex; flex-wrap:wrap; gap:8px 24px; margin:0 0 24px; padding-block:11px; border-block:1px solid #ddbaa848;
}
.archive-toc a { min-height:44px; display:inline-grid; align-items:center; font-size:.92rem; color:#efd8bc; }
.archive-toc a:hover { text-decoration:underline; text-underline-offset:5px; }
.archive-entry { scroll-margin-top:18px; }
.archive-entry summary { display:grid; gap:14px; align-content:center; }
.archive-classification {
  width:max-content; padding:.16rem .32rem; border:1px solid #8a4b52;
  color:#692e36; font:700 .72rem/1.2 var(--sans); letter-spacing:.075em; text-transform:uppercase; rotate:-2deg;
}
.archive-entry:target { box-shadow:0 0 0 2px #f3ceae,0 15px 38px #09060a8f; }

@media (max-width:780px) {
  .hero-content::before { inset:-42px -25px -30px; }
  .ambient-quote { margin-block:13px 0; padding-block:8px; }
  body[data-page="home"] .hero[data-layout]:has(#idle-line:not([hidden])) { min-height:clamp(740px,110svh,900px); }
  body[data-page="home"] .hero[data-layout]:has(#idle-line:not([hidden])) .hero-content { margin-bottom:92px; }
  body[data-edition-route] .analytics-slot .snov-statistics { grid-template-columns:minmax(0,1fr); gap:12px; margin-block:8px 18px; }
  body[data-page="home"] .showcase .tile-live .tile-copy span { margin-top:7px; font-size:.77rem; }
  #published-watchfaces .filter-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #published-watchfaces .filter-bar > label:first-child { grid-column:1/-1; }
  .work-art.work-art-cased { padding:9px; }
  .work-art-cased .hardware-watch { width:52%; }
  .world-banner.world-banner:not(.world-december) { grid-template-columns:minmax(0,1fr); padding-block:30px 36px; gap:22px; }
  .world-banner.world-banner:not(.world-december)>figure { width:min(100%,460px); }
  .world-banner.world-banner:not(.world-december)>figure img { max-height:250px; }
}

@media (prefers-reduced-motion:reduce) {
  .ambient-quote { animation:none !important; }
}

@media (max-width:780px) {
  body[data-theme="platform-west"] .hero[data-layout] .hero-portrait { --plate-position:24% 44%; }
}
