@font-face {
  font-family: "Studio Display";
  src: url("assets/editorial/display.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Studio Display";
  src: url("assets/editorial/display-italic.woff") format("woff");
  font-style: italic;
  font-display: swap;
}

body[data-edition-route] {
  --serif: "Studio Display", "Noto Serif CJK SC", Georgia, serif;
  --page: #111622;
  --surface: #1b2233;
  --card: #242d40;
  --ink: #f4edf7;
  --muted: #c9c5d3;
  --accent: #e2badb;
  --button-bg: #e5cadd;
  --button-ink: #25172c;
  --line: #bac8e233;
  --page-gutter: var(--gutter);
  --fg: var(--ink);
  --bg: var(--page);
  --hairline: var(--line);
  --header-height: 72px;
  --max: 1680px;
  --gutter: clamp(24px,4.4vw,96px);
}
body[data-edition-route][data-tone="mulberry"] {
  --page:#180f1b; --surface:#25182a; --card:#332135; --ink:#fcf3f6; --muted:#decbd8;
  --accent:#edbede; --button-bg:#ebc6dc; --line:#dba2bb3d;
}
body[data-edition-route]:is([data-tone="dawn"],[data-tone="paper"],[data-tone="pearl"],[data-tone="crystal"]) {
  color-scheme:light;
  --page:#e5deef; --surface:#efebf4; --card:#f7f3fa; --ink:#2c1e3a; --muted:#51455c;
  --accent:#673a6e; --button-bg:#694776; --button-ink:#fff9ff; --line:#6a4e8042;
}
body[data-edition-route][data-tone="paper"] {
  --page:#f7f6f7; --surface:#fff; --card:#efedf1; --ink:#211922; --muted:#4a404e;
  --accent:#a70858; --button-bg:#ae0a57; --line:#3e223c38;
}
body[data-edition-route][data-tone="pearl"] {
  --page:#eee9e7; --surface:#f8f5f2; --card:#e5dfe4; --ink:#2e232d; --muted:#514654;
  --accent:#6d4267; --button-bg:#563455; --line:#5d415445;
}
body[data-edition-route][data-tone="crystal"] {
  --page:#eae3f5; --surface:#f6f1fb; --card:#f2eaf8; --ink:#33233e; --muted:#514263;
  --accent:#72387b; --button-bg:#72437e; --line:#805a8f4a;
}
/* The same navigation sits over the home illustration and above chapter covers. */
body[data-edition-route] .masthead { background:var(--page); border-color:var(--line); }
body[data-page="home"] .masthead {
  position:absolute; inset:0 0 auto; z-index:9;
  background:linear-gradient(180deg,#0b10269c,#0b102613);
  border-color:#e9e4f119;
  color:#fff5fa;
  --ink:#fff5fa; --muted:#ebe2f0; --accent:#efb6d9; --line:#f4dbf044;
}
body[data-page="home"]:is([data-tone="paper"],[data-tone="pearl"],[data-tone="crystal"]) .masthead {
  color:var(--ink);
  --ink:#2a2033; --muted:#554459; --accent:#853f84; --line:#68466642;
  background:linear-gradient(180deg,#f9f5fae8,#f6edf7b5);
}
body[data-edition-route] .masthead-inner { min-height:var(--header-height); gap:clamp(18px,3.25vw,60px); }
body[data-edition-route] .brand { gap:3px; }
body[data-edition-route] .brand img { width:clamp(122px,12vw,181px); filter:brightness(0) invert(1); }
body[data-edition-route]:is([data-tone="dawn"],[data-tone="paper"],[data-tone="pearl"],[data-tone="crystal"]) .brand img { filter:brightness(0) opacity(.85); }
body[data-page="home"][data-tone="dawn"] .masthead .brand img,
body[data-edition-route="archive"] .brand img { filter:brightness(0) invert(1); }
body[data-edition-route] .brand span { font-size:.54rem; letter-spacing:.52em; }
body[data-edition-route] .primary-nav a { font-size:.83rem; padding:22px 0; }
body[data-edition-route] .primary-nav a[aria-current]::after { bottom:15px; box-shadow:0 0 7px var(--accent); }
body[data-edition-route] .atmosphere { background:#30263f25; font-size:.8rem; letter-spacing:.04em; border-radius:2px; padding-inline:11px; }
body[data-edition-route] .atmosphere:hover { border-color:var(--accent); }
body[data-edition-route] .languages { gap:7px; }
body[data-edition-route] .mobile-nav { background:var(--page); color:var(--ink); box-shadow:0 20px 45px #0a091e38; }
body[data-page="home"]:not([data-tone="paper"],[data-tone="pearl"],[data-tone="crystal"]) .mobile-nav { background:#171929; }
body[data-edition-route] .button { min-height:42px; border-radius:2px; font-weight:600; padding:10px 16px; }
body[data-edition-route] .button-primary:hover { background:color-mix(in srgb,var(--button-bg),white 18%); }
body[data-edition-route] .eyebrow { font-size:.73rem; letter-spacing:.23em; }

body[data-page="home"] .hero[data-layout] {
  --veil: #101726;
  --h1: #faf0f7;
  position:relative; isolation:isolate; min-height:0;
  height:clamp(560px, 44vw, 780px); max-height:none;
  overflow:hidden; color:var(--h1); background:var(--veil);
}
body[data-page="home"] .hero[data-layout] .hero-portrait {
  width:100%; height:100%; inset:0;
  mask-image:none; border:0; border-radius:0;
  position:absolute; z-index:-3;
}
body[data-page="home"] .hero[data-layout] .hero-portrait img {
  width:100%; height:100%; object-fit:cover; object-position:var(--plate-position,62% 46%);
  transform:scaleX(var(--plate-flip,1)); filter:none;
}
body[data-page="home"] .hero[data-layout] .hero-shade {
  z-index:-2; inset:0;
  background:linear-gradient(90deg,#0e13288c 0%,#11162833 35%,transparent 56%),
             linear-gradient(0deg,var(--veil) 0%,transparent 19%);
}
body[data-page="home"][data-tone="mulberry"] .hero[data-layout] { --veil:#180f1b; }
body[data-page="home"][data-tone="mulberry"] .hero:not([data-layout="mirror"]) .hero-shade {
  background:linear-gradient(90deg,#180d20b9,#1c0f2633 39%,transparent 56%),linear-gradient(0deg,var(--veil),transparent 18%);
}
body[data-page="home"] .hero:is([data-layout="mirror"],[data-layout="tram"]) .hero-shade {
  background:linear-gradient(270deg,#0e142e32,#121a3459 19%,transparent 59%),
             linear-gradient(0deg,var(--veil),transparent 18%);
}
body[data-page="home"][data-tone="dawn"] .hero[data-layout] { --veil:#d8cfe7; }
body[data-page="home"][data-theme="platform-dawn"] .hero-portrait img { filter:brightness(1.15) saturate(.80); }
body[data-page="home"] .hero[data-layout="dawn"] .hero-shade{
  background:linear-gradient(90deg,#171b369b,#171b3652 33%,transparent 55%),linear-gradient(0deg,var(--veil),transparent 20%);
}
body[data-page="home"] .hero[data-layout="tram"] .hero-shade {
  background:linear-gradient(270deg,#151b3545,#19214276 26%,transparent 57%),linear-gradient(0deg,var(--veil),transparent 20%);
}
body[data-page="home"] .hero[data-layout] .hero-content {
  width:min(46%,710px); max-width:none;
  margin:var(--header-height) 0 24px max(var(--gutter),calc((100vw - var(--max)) / 2));
}
body[data-page="home"] .hero:is([data-layout="mirror"],[data-layout="tram"]) .hero-content {
  width:min(46%,685px); margin:var(--header-height) max(var(--gutter),calc((100vw - var(--max)) / 2)) 24px auto;
}
.hero[data-layout] .hero-overline { color:#f2cdea; font-size:.76rem; letter-spacing:.40em; margin:0 0 20px; }
body[data-page="home"] .hero[data-layout] h1 {
  font-family:var(--serif); font-size:clamp(4.1rem,7.1vw,8.9rem);
  line-height:.92; letter-spacing:-.065em; text-wrap:nowrap;
  filter:drop-shadow(0 2px 14px #100e2a66);
}
body[data-page="home"] .hero[data-layout] h1 em { color:inherit; margin:0; }
body[data-page="home"] .hero:is([data-layout="feature"],[data-layout="editorial"],[data-layout="crystal"],[data-layout="atelier"]) h1 {
  font-size:clamp(2.85rem,5.4vw,6.7rem);
}
body[data-page="home"] .hero[data-layout="editorial"] h1 em,
body[data-page="home"] .hero[data-layout="atelier"] h1 em { margin-top:6px; }
body[data-page="home"] .hero[data-layout="feature"] h1 em { color:#f7d1f4; }
body[data-page="home"] .hero[data-layout] .hero-lead {
  margin:25px 0; border-left:1px solid #d3a4c7; padding:0 0 0 15px;
  max-width:32ch; color:#fff8fc; line-height:1.65; font-size:.93rem; text-wrap:pretty;
}
body[data-page="home"] .hero[data-layout] .hero-actions .button { min-width:0; }
body[data-page="home"] .hero[data-layout] .button-scene {
  background:#18132938; border-color:#fff1f478; color:#fff6fc;
}
body[data-page="home"] .hero[data-layout] .button-scene:hover { background:#18132999; }
body[data-page="home"] .hero[data-layout] .hero-caption {
  display:grid; gap:3px; justify-items:start; width:min(17vw,220px); min-width:140px;
  top:auto; bottom:clamp(90px,15%,145px); inset-inline:auto var(--gutter);
  color:#fff3fa; padding:5px 0 5px 15px; border-left:1px solid #eadbf65e;
  background:linear-gradient(90deg,#141322ab,transparent);
  text-shadow:0 1px 7px #120c23;
}
body[data-page="home"] .hero:is([data-layout="mirror"],[data-layout="tram"]) .hero-caption { inset-inline:var(--gutter) auto; }
body[data-page="home"] .hero[data-layout] .hero-caption span {
  background:none; padding:0; text-transform:uppercase; letter-spacing:.18em; font-size:.72rem;
}
.hero-caption small { color:inherit; font-size:.72rem; }
body[data-page="home"] .hero-caption .text-action { min-height:30px; font-size:.72rem; color:inherit; opacity:.94; }
body[data-page="home"] .idle-line { bottom:77px; }
body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) {
  color:var(--ink); --veil:var(--page);
}
body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .hero-shade {
  background:linear-gradient(90deg,#f8f5fc87,#faf5fb31 39%,transparent 59%),linear-gradient(0deg,var(--veil),transparent 21%);
}
body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) :is(.hero-overline,.hero-caption) { color:var(--accent); }
body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .hero-caption {
  background:linear-gradient(90deg,#f7edf8c4,transparent); text-shadow:none;
}
body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .hero-lead { color:var(--ink); }
body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) h1 { filter:none; }
body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .button-scene {
  color:var(--ink); background:#f9f6ff98; border-color:var(--line);
}
body[data-page="home"] .hero[data-layout="product"] h1 {
  font-family:var(--sans); font-weight:700; font-size:clamp(2.3rem,4.65vw,5.7rem); letter-spacing:-.067em;
}
body[data-page="home"] .hero[data-layout="product"] h1 em {
  display:inline-block; font-family:inherit; color:inherit; font-style:normal; margin-top:.08em;
}
body[data-page="home"] .hero[data-layout="product"] h1 em::after { content:" /"; color:var(--accent); }
body[data-page="home"] .hero[data-layout="crystal"] h1 { font-style:italic; color:#4c2757; }
body[data-page="home"] .hero[data-layout="crystal"] .button { border-radius:999px; }

/* The issue opens with three different panels. Each module has its own artwork and proportions. */
body[data-page="home"] .hero[data-layout]+.showcase {
  position:relative; z-index:2; max-width:var(--max); width:100%;
  margin:-40px auto 0; padding:0 clamp(14px,2vw,34px) 22px;
  display:grid; gap:10px; border:0; background:transparent;
  grid-template-columns:1.32fr 1.02fr .76fr;
}
body[data-page="home"] .hero[data-layout="feature"]+.showcase { grid-template-columns:1.55fr 1fr; }
body[data-page="home"] .hero[data-layout="editorial"]+.showcase { grid-template-columns:1.36fr 1fr; }
body[data-page="home"] .hero:is([data-layout="dawn"],[data-layout="salon"]) + .showcase { grid-template-columns:1fr 1fr; }
body[data-page="home"] .hero[data-layout="product"]+.showcase { grid-template-columns:1.52fr 1fr; margin-top:-12px; }
body[data-page="home"] .hero:is([data-layout="crystal"],[data-layout="atelier"]) + .showcase { grid-template-columns:repeat(3,minmax(0,1fr)); }
body[data-page="home"] .showcase .tile {
  min-height:174px; padding:20px clamp(16px,2vw,28px); overflow:hidden; isolation:isolate;
  display:flex; align-items:center; gap:10px;
  border:1px solid #e9d2f552; border-radius:10px; background:#121a2dce; color:#f5eefb;
  box-shadow:0 8px 26px #080b1731, inset 0 0 54px #a98cc00b;
  transition:border-color .25s, transform .25s;
}
body[data-page="home"] .showcase .tile:hover { transform:translateY(-3px); border-color:#f6d9efaa; }
body[data-page="home"][data-tone="mulberry"] .showcase .tile { background:#201423d6; }
body[data-page="home"]:is([data-tone="dawn"],[data-tone="paper"],[data-tone="pearl"],[data-tone="crystal"]) .showcase .tile {
  color:var(--ink); background:color-mix(in srgb,var(--surface),transparent 5%);
  border-color:color-mix(in srgb,var(--line),white 38%); box-shadow:0 13px 30px #44305425;
}
body[data-page="home"] .showcase .tile-copy { max-width:53%; position:relative; z-index:2; }
body[data-page="home"] .showcase .tile-copy p { color:inherit; letter-spacing:.22em; font-size:.67rem; opacity:.82; }
body[data-page="home"] .showcase .tile h2 { font:400 clamp(1.68rem,2.65vw,3.4rem)/.97 var(--serif); letter-spacing:-.035em; }
body[data-page="home"] .showcase :is(.tile-december,.tile-live) h2 { font-style:italic; }
body[data-page="home"] .showcase .tile-copy span { color:inherit; font-size:.78rem; line-height:1.45; opacity:.88; }
body[data-page="home"] .showcase .tile-december .tile-copy { max-width:40%; }
body[data-page="home"] .showcase .tile-art { opacity:1; }
body[data-page="home"] .showcase .december-reel {
  max-width:none; width:59%; height:133px; justify-content:flex-end; gap:4px; align-items:stretch;
}
body[data-page="home"] .showcase .december-reel img {
  transform:none; width:33%; height:100%; border-radius:2px; border:1px solid #e8dafa44;
  object-fit:cover; box-shadow:0 12px 20px #09051a62;
}
body[data-page="home"] .showcase .december-reel img:nth-child(2) { transform:scale(1.065); }
body[data-page="home"] .showcase .tile-portrait {
  position:absolute; inset:0 0 0 auto; width:83%; height:100%; max-width:none;
  mask-image:linear-gradient(90deg,transparent 0%,#000 54%);
}
body[data-page="home"] .showcase .tile-portrait img { object-position:center 38%; }
body[data-page="home"] .showcase .tile-archive-art { opacity:.72; width:94%; }
body[data-page="home"] .showcase .tile-archive-art span {
  position:absolute; inset:auto 10px 1px auto; font:400 clamp(2.5rem,6vw,5rem)/1 var(--serif); color:#e7c6c5af;
}
body[data-page="home"] .showcase .tile-archive { background:#1e1723; color:#f8ecf0; }
body[data-page="home"] .hero[data-layout="editorial"]+.showcase .tile-archive { display:none; }
body[data-page="home"] .hero[data-layout="salon"]+.showcase .tile-december,
body[data-page="home"] .hero[data-layout="dawn"]+.showcase .tile-december { justify-content:space-between; }
body[data-page="home"] .hero[data-layout="product"]+.showcase .tile {
  border-radius:0; border-width:1px 0 0; box-shadow:none;
}
body[data-page="home"] .hero[data-layout="product"]+.showcase .tile h2 { font:700 clamp(1.55rem,2.6vw,2.8rem)/1 var(--sans); }
body[data-page="home"] .hero[data-layout="crystal"]+.showcase .tile {
  flex-direction:row; align-items:center; padding-top:24px;
  background:linear-gradient(150deg,#f9f4fded,#f6ebfe9f);
}
body[data-page="home"] .hero[data-layout="crystal"]+.showcase .tile .tile-art { width:58%; }
body[data-page="home"] .hero[data-layout="atelier"]+.showcase .tile { border-radius:1px; }
body[data-page="home"] .home-content {
  padding-block:clamp(42px,6.2vw,105px);
  border-top:1px solid var(--line); background:none;
}
.archive-editorial {
  position:relative; isolation:isolate; gap:clamp(24px,5vw,82px);
  padding:clamp(30px,4.5vw,74px) var(--gutter);
  background:linear-gradient(90deg,#1d1724f0,#1d17245c),url("assets/editorial/archive-1080.webp") center 55%/cover;
  border-block:1px solid #e4cfac39; color:#fbefed;
}
.archive-editorial .file-link {
  min-height:105px; color:#432c37; text-align:center;
  border-color:#f2e4db; box-shadow:1px 5px 16px #150d18a9; background:#e8dbcd;
}
.archive-editorial .archive-editorial-copy p { color:#e9d3d4; }

/* Chapter covers all share the same type system, with distinct treatments for support, Live, and artwork. */
body[data-edition-route]:not([data-page="home"]) .masthead { position:relative; }
.chapter, .collections-banner {
  min-height:clamp(345px,39vw,620px); position:relative; isolation:isolate;
  display:grid; align-items:center; padding:clamp(48px,8vw,118px) var(--gutter); overflow:hidden;
  border-bottom:1px solid var(--line); background:var(--surface);
}
.chapter-art,.collections-banner>figure,.archive-door-art {
  position:absolute; inset:0; z-index:-3; margin:0; overflow:hidden; pointer-events:none;
}
.chapter-art img,.collections-banner>figure img,.archive-door-art img { width:100%; height:100%; object-fit:cover; object-position:center 45%; }
/* The ink follows the cover's own backdrop. Page themes still drive the header and surrounding content. */
:is(.chapter[data-chapter-art]:not([data-chapter-art="none"]),.collections-banner,.world-banner,.archive-door) {
  --ink:#fff6fb; --muted:#eee3ef; --accent:#f2c8ea;
  --button-bg:#efdbec; --button-ink:#281c31; --line:#e6cadd91;
  color:var(--ink);
}
:is(.chapter[data-chapter-art]:not([data-chapter-art="none"]),.collections-banner,.world-banner,.archive-door)
  :is(h1,.chapter-lead,p:not(.eyebrow),.text-action) {
  text-shadow:0 2px 12px #130d22bb;
}
.chapter[data-chapter-art]:not([data-chapter-art="none"])::after,.collections-banner::after {
  content:""; position:absolute; z-index:-2; inset:0;
  background:linear-gradient(90deg,#171323f5 0%,#1a172dc7 61%,#1a172d55 75%,transparent 91%),
             linear-gradient(0deg,#100d2255,transparent 40%);
}
.chapter-copy,.collections-banner>div { max-width:min(55vw,850px); position:relative; }
.chapter h1,.collections-banner h1,.watch-banner h1,.world-banner h1 {
  font-family:var(--serif); font-weight:400; line-height:.98;
  font-size:clamp(2.8rem,6.35vw,8.2rem); letter-spacing:-.059em; margin:12px 0 17px;
}
.chapter h1 em { color:inherit; font-weight:400; }
.chapter-live h1 em { color:#f1bfe6; display:block; }
.chapter-live .chapter-art img { object-position:65% 48%; }
.chapter-faq,.chapter-contacts,.chapter-privacy,.chapter-license { min-height:clamp(295px,34vw,515px); }
.chapter-faq .chapter-art img { object-position:60% 62%; }
.chapter-privacy .chapter-art img { object-position:80% 52%; }
.chapter-404 .chapter-art img { object-position:35% 46%; }
.chapter-studio .chapter-art img { object-position:65% 42%; }
.chapter-lead { font-size:clamp(.94rem,1.2vw,1.13rem); line-height:1.75; max-width:38ch; }
.chapter .eyebrow,.collections-banner .eyebrow { color:#efc4e0; }
.chapter[data-chapter-art="none"] .eyebrow { color:var(--accent); }
.chapter-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.chapter[data-chapter-art="none"] {
  min-height:clamp(260px,32vw,430px);
  background:radial-gradient(ellipse at 78% 85%,#895b9c39,transparent 52%),var(--surface);
}
.chapter[data-chapter-art="none"] h1 { font-style:italic; }
.chapter[data-chapter-art="none"] .chapter-copy { max-width:100%; }
.legacy-content {
  width:100%; max-width:none; padding:clamp(32px,5.4vw,76px) 0 clamp(50px,6.8vw,115px);
  color:var(--ink); background:var(--page);
}
.legacy-content.privacy-copy {
  max-width:880px; padding-inline:var(--gutter); margin:auto;
}
.legacy-content.privacy-copy h2 {
  border-bottom:1px solid var(--line); margin:35px 0 12px; padding-bottom:13px;
}
.legacy-content.privacy-copy :is(p,a),.legacy-content .studio-story p:not(.section-index),
.legacy-content .project-copy>p { color:var(--muted); }
.legacy-content .content-limit {
  max-width:var(--max); width:calc(100% - 2 * var(--gutter)); margin-inline:auto;
}
.legacy-content>.section { padding-block:clamp(40px,5.2vw,86px); }
.legacy-content>.section.soft-section { background:var(--surface); }
.legacy-content :is(.project-copy,.studio-story,.faq-layout,.workshop-copy) h2 {
  font-family:var(--serif); font-weight:400; color:var(--ink); letter-spacing:-.048em;
}
.legacy-content #live-demo {
  display:grid; grid-template-columns:minmax(240px,.78fr) minmax(0,1.25fr);
  gap:clamp(24px,6vw,110px); align-items:center; padding-bottom:40px;
}
.legacy-content #live3d-host {
  min-width:0; position:relative; color:#f5eef7;
  --ink:#f5eef7; --fg:#f5eef7; --muted:#c7bdcc; --hairline:#e2b4d84d;
}
.legacy-content .public-availability { padding-block:26px 44px; border-top:1px solid var(--line); margin-top:20px; }
.legacy-content .public-status-card { color:var(--ink); background:var(--surface); border:1px solid var(--line); box-shadow:none; }
.legacy-content .public-status-card :is(p,h3) { color:var(--ink); }
.legacy-content .faq-hub :is(input,.faq-search),.legacy-content .section {
  border-color:var(--line);
}
.legacy-content .faq-hub input, .legacy-content .faq-hub details {
  background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:0;
}
.legacy-content .faq-hub details { margin-bottom:8px; padding-inline:16px; }
.legacy-content .faq-hub :is(summary,h2,h3) { color:var(--ink); }
.legacy-content .faq-hub details p { color:var(--muted); }
.legacy-content .watch-work-preview,.legacy-content .snov-detail-stage { border:1px solid var(--line); background:var(--surface); }
.legacy-content .snov-detail-copy h2,.legacy-content .watch-work-copy h2 { font-family:var(--serif); }
.legacy-content .license-card,.legacy-content .contact-section,.legacy-content .studio-story {
  border-color:var(--line);
}
.legacy-content .license-card { background:var(--surface); }
.legacy-content .collection { padding-top:18px; }
.legacy-content .collection h2,.legacy-content .section h2 { color:var(--ink); }
.legacy-content .text-link { color:var(--accent); }
.legacy-content .next-project { border-top:1px solid var(--line); padding-block:26px; margin-top:30px; }
.legacy-content .next-project a { color:var(--ink); }
body[data-edition-route="404"] .legacy-content { padding-top:28px; }
.legacy-content .watch-records { max-width:100%; }

/* WatchFactory uses real face artwork in an illustrative studio case. */
.watch-banner {
  min-height:clamp(430px,39vw,620px); gap:6vw; padding:clamp(52px,7vw,106px) var(--gutter);
  background:radial-gradient(ellipse at 74% 81%,#8b75a653,transparent 54%),
             radial-gradient(ellipse at 84% 25%,#49597b3b,transparent 32%),var(--surface);
}
.watch-banner h1 em { font-weight:400; color:var(--accent); }
.watch-banner .banner-faces { display:block; width:min(52%,770px); margin:0; }
.watch-bank { display:flex; align-items:center; justify-content:center; gap:clamp(8px,2.15vw,32px); padding:32px 0 54px; perspective:760px; }
.banner-faces figcaption { text-align:center; margin-top:12px; font-size:.72rem; color:var(--muted); }
.showcase .watch-object { width:clamp(42px,6vw,106px); }
body[data-page="home"] .showcase .watch-reel { height:107px; width:54%; max-width:260px; gap:4px; }
body[data-page="watch"] #published-watchfaces,.product-page {
  padding-block:clamp(28px,6vw,96px);
}
.filter-bar { padding:18px; background:var(--surface); border-block:1px solid var(--line); }
.filter-bar :is(input,select) { border-radius:0; background:var(--page); color:var(--ink); }
.work-grid { gap:clamp(13px,2.2vw,34px); }
.work-card { background:var(--surface); border:1px solid var(--line); box-shadow:none; }
.work-art {
  aspect-ratio:1.47; max-height:none; min-height:0;
  background:radial-gradient(ellipse at 53% 86%,#78688a47,transparent 65%),linear-gradient(125deg,#22233a,#151825);
}
[data-tone="paper"] .work-art,[data-tone="pearl"] .work-art,[data-tone="crystal"] .work-art,[data-tone="dawn"] .work-art {
  background:radial-gradient(ellipse at 45% 80%,#8e719852,transparent 67%),var(--card);
}
.work-card .work-art img { max-height:78%; }
.work-copy h3,.collection-card h3 { font-family:var(--serif); font-weight:400; }
.work-copy { padding:20px clamp(12px,2vw,26px); }
.work-copy p { letter-spacing:.11em; text-transform:uppercase; }
.product-header h1 { font-family:var(--serif); font-weight:400; font-style:italic; }
.fitting-layout { margin-top:28px; gap:clamp(16px,4vw,72px); }
.fitting-stage {
  background:radial-gradient(ellipse at 55% 65%,#b78bc14a,transparent 60%),var(--surface);
  border-radius:3px; border-color:var(--line);
}
.fitting-controls { background:var(--surface); padding:clamp(17px,3vw,38px); border:1px solid var(--line); }
.fitting-controls h2 { font-family:var(--serif); font-weight:400; }
.fitting-controls select { background:var(--page); }

/* Collection index and individual editions are editorial spreads with a readable grid underneath. */
.collections-banner, .world-banner { min-height:clamp(360px,39vw,570px); }
.collections-banner>figure img { object-position:52% 44%; }
.collections-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(12px,2vw,32px); }
.collections-grid .collection-card { grid-column:span 2; }
.collections-grid .collection-december { grid-column:span 4; }
.collection-card { position:relative; background:var(--surface); overflow:hidden; border:1px solid var(--line); }
.collection-card .cover { aspect-ratio:1.45; width:100%; background:#1c1b2e; }
.collection-december .cover { aspect-ratio:2.35; }
.collection-card .cover img { object-fit:cover; width:100%; height:100%; object-position:center 35%; }
.collection-card:is(.collection-russian,.collection-creatures,.collection-neon) .cover img { object-fit:contain; }
.collection-card>div:last-child {
  position:relative; padding:17px clamp(13px,2.5vw,34px) 23px;
  background:linear-gradient(140deg,var(--surface),var(--card));
}
.collection-card h3 { font-size:clamp(1.55rem,2.8vw,2.8rem); letter-spacing:-.03em; }
.world-banner {
  position:relative; isolation:isolate; min-height:clamp(345px,36vw,550px);
  background-color:var(--surface); padding:clamp(34px,6vw,82px) var(--gutter);
}
.world-december.world-banner::after {
  content:""; position:absolute; z-index:-2; inset:0;
  background:linear-gradient(90deg,#111527f0,#1b2030c7 61%,#1b203059 75%,transparent 91%);
}
.world-december.world-banner>div:first-child { max-width:min(56vw,850px); }
.world-december.world-banner figure { position:absolute; inset:0; z-index:-3; height:100%; width:100%; padding:0; border:0; }
.world-december.world-banner figure img { width:100%; height:100%; max-height:none; object-position:center 50%; }
.art-grid { gap:10px; }
.art-grid a:nth-child(10n+1),.art-grid a:nth-child(10n+5) { grid-column:span 2; aspect-ratio:1.65; }
.art-grid a { border:1px solid var(--line); }
.art-grid img { object-position:center 44%; }

/* The archive recalls the parchment desk composition in reference 02. */
.archive-page {
  color-scheme:dark; --page:#170f16; --surface:#251a22; --card:#342631; --ink:#f6e9e4;
  --muted:#d9c4ce; --accent:#edcfb2; --button-bg:#efd8be; --button-ink:#30232d; --line:#e5c7af4d;
  background:var(--page); color:var(--ink);
}
.archive-door {
  --ink:#fff4e8; --muted:#edddd6; --accent:#f3d5b8;
  --button-bg:#efd8be; --button-ink:#30232d; --line:#e5c7af91;
  position:relative; isolation:isolate; display:grid; justify-items:start; align-items:center;
  text-align:left; min-height:clamp(390px,46vw,730px); padding:clamp(42px,7vw,102px) var(--gutter);
  background:var(--surface); border-bottom:1px solid var(--line);
}
.archive-door::after { content:""; position:absolute; inset:0; z-index:-2;
  background:linear-gradient(90deg,#17101bf5,#1f1423c7 61%,#1f14235c 75%,transparent 91%),
             linear-gradient(0deg,var(--page),transparent 19%);
}
.archive-door-copy { max-width:60%; }
.archive-door-copy > p:not(.eyebrow) { color:var(--muted); }
.archive-door h1 { font-size:clamp(3.1rem,8vw,9rem); margin:15px 0 18px; text-wrap:balance; }
.archive-door .button { color:var(--button-ink); background:var(--button-bg); border-color:var(--button-bg); }
.archive-door .button:hover { background:color-mix(in srgb,var(--button-bg),white 18%); }
.archive-index { padding-top:clamp(40px,6vw,80px); }
.archive-files { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; align-items:start; }
.archive-entry {
  color:#372431; background:linear-gradient(150deg,#ebdfce,#d3bdae);
  border:1px solid #f2e1c8; border-radius:3px; box-shadow:0 18px 20px #100b13aa;
  padding:4px;
}
.archive-entry summary { align-items:center; padding:18px 13px; min-height:85px; font:400 clamp(1.08rem,2vw,1.85rem)/1 var(--serif); }
.archive-entry summary i { border-color:#90627d; }
.archive-entry p { color:#432f34; padding:13px; font-size:.88rem; }
.archive-entry[open] summary { border-bottom-color:#774e6f54; }

body[data-edition-route] .site-footer { padding-block:35px; border-top:1px solid var(--line); width:100%; }
body[data-edition-route] .site-footer .brand { margin-right:10px; }
.panel .theme-option { border-radius:3px; }
.panel .theme-option:not(.theme-auto) { grid-template-rows:auto 1fr; gap:3px; }
.panel .theme-option img { height:auto; aspect-ratio:2.3; object-position:50% 40%; }
body[data-edition-route] .panel { border-radius:6px; }

@media(max-width:1100px) {
  body[data-edition-route] { --header-height:66px; }
  body[data-edition-route] .masthead-inner { gap:18px; }
  body[data-edition-route] .primary-nav { gap:17px; }
  body[data-page="home"] .hero[data-layout] .hero-caption { min-width:120px; }
  body[data-page="home"] .showcase .tile { min-height:145px; }
  body[data-page="home"] .showcase .tile-copy span { display:none; }
  body[data-page="home"] .showcase .december-reel { height:106px; }
  .watch-banner .banner-faces { width:50%; }
}
@media(max-width:780px) {
  body[data-edition-route] { --gutter:clamp(17px,4.7vw,33px); --header-height:63px; }
  body[data-edition-route] .masthead-inner { min-height:var(--header-height); padding-inline:var(--gutter); }
  body[data-edition-route] .brand img { width:125px; }
  body[data-page="home"] .hero[data-layout] {
    height:auto; min-height:clamp(610px,96svh,775px); align-items:end;
  }
  body[data-page="home"] .hero[data-layout] .hero-portrait { height:83%; }
  body[data-page="home"] .hero:is([data-layout="product"],[data-layout="atelier"],[data-layout="crystal"]) .hero-portrait {
    top:var(--header-height); height:calc(83% - var(--header-height));
  }
  body[data-page="home"] .hero[data-layout] .hero-shade {
    background:linear-gradient(0deg,var(--veil) 0%,var(--veil) 15%,color-mix(in srgb,var(--veil),transparent 20%) 29%,transparent 72%);
  }
  body[data-page="home"][data-tone="dawn"] .hero[data-layout] { --veil:#172035; }
  body[data-page="home"] .hero[data-layout] .hero-content {
    margin:var(--header-height) var(--gutter) 92px; width:calc(100% - 2 * var(--gutter)); max-width:none; align-self:end;
  }
  body[data-page="home"] .hero[data-layout] h1 { font-size:clamp(3.6rem,12vw,6.4rem); }
  body[data-page="home"] .hero:is([data-layout="editorial"],[data-layout="feature"],[data-layout="atelier"],[data-layout="crystal"]) h1 {
    font-size:clamp(2.65rem,8.3vw,5.1rem);
  }
  body[data-page="home"] .hero[data-layout="product"] h1 { font-size:clamp(1.87rem,8.5vw,4.1rem); }
  .hero[data-layout] .hero-overline { margin-bottom:12px; font-size:.63rem; letter-spacing:.30em; }
  body[data-page="home"] .hero[data-layout] .hero-lead { margin-block:17px; }
  body[data-page="home"] .hero[data-layout] .hero-caption {
    bottom:37px; left:var(--gutter); right:var(--gutter); width:auto; display:flex;
    align-items:center; justify-content:space-between; border:0; padding:0;
  }
  .hero-caption small { display:none; }
  body[data-page="home"] .hero[data-layout]+.showcase {
    grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:-18px; padding:0 10px 15px; gap:7px;
  }
  body[data-page="home"] .showcase .tile { min-height:123px; padding:12px 10px; border-radius:5px; }
  body[data-page="home"] .showcase .tile-copy p { font-size:.59rem; letter-spacing:.12em; }
  body[data-page="home"] .showcase .tile h2 { font-size:clamp(1.2rem,5.4vw,2.1rem); }
  body[data-page="home"] .showcase .tile-copy { max-width:73%; }
  body[data-page="home"] .showcase .tile-december { min-height:133px; }
  body[data-page="home"] .showcase .tile-december .tile-copy { max-width:42%; }
  body[data-page="home"] .showcase .december-reel { height:103px; }
  body[data-page="home"] .showcase .tile-portrait { width:86%; }
  body[data-page="home"] .hero[data-layout="editorial"]+.showcase .tile-archive { display:flex; grid-column:auto; }
  body[data-page="home"] .hero[data-layout="crystal"]+.showcase .tile-archive { grid-column:1/-1; }
  .chapter,.collections-banner { min-height:375px; padding-block:55px; }
  .chapter-copy,.collections-banner>div { max-width:88%; }
  .chapter .chapter-art img { object-position:64% 47%; }
  :is(.chapter[data-chapter-art]:not([data-chapter-art="none"]),.collections-banner,.world-december.world-banner,.archive-door)::after {
    background:linear-gradient(90deg,#181224ee,#1b1732cb 55%,#181327c0),
               linear-gradient(0deg,#19122192,transparent 27%);
  }
  .chapter h1,.collections-banner h1,.watch-banner h1,.world-banner h1 { font-size:clamp(2.65rem,9.9vw,5.7rem); }
  .chapter h1 { overflow-wrap:anywhere; }
  .chapter-watch-neon h1 :is(span,em) { display:block; }
  .legacy-content #live-demo { grid-template-columns:minmax(0,1fr); gap:25px; }
  .legacy-content #live3d-host { max-width:100%; }
  .legacy-content .content-limit { width:calc(100% - 2 * var(--gutter)); }
  .legacy-content .license-card,.legacy-content .license-art {
    box-sizing:border-box; width:100%; min-width:0; max-width:100%;
  }
  .watch-banner { min-height:auto; flex-direction:column; align-items:stretch; padding-block:35px; }
  .watch-banner .banner-faces { width:100%; }
  .watch-bank { padding-block:25px; gap:7%; }
  .watch-object { width:clamp(70px,20vw,146px); }
  .showcase .watch-object { width:clamp(30px,7vw,62px); }
  body[data-page="home"] .showcase .watch-reel { height:70px; width:52%; }
  .collections-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .collections-grid .collection-card { grid-column:auto; }
  .collections-grid .collection-december { grid-column:span 2; }
  .world-banner>div:first-child { max-width:70%; }
  .world-december.world-banner>div:first-child { max-width:90%; }
  .world-banner figure:not(.world-december figure) { width:28%; }
  .archive-door-copy { max-width:94%; }
  .archive-files { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .archive-entry summary { min-height:64px; padding:13px 7px; }
}
@media(max-width:400px) {
  body[data-edition-route] .brand img { width:113px; }
  body[data-edition-route] .masthead-inner { gap:7px; }
  .showcase .tile-archive h2 { overflow-wrap:anywhere; }
  body[data-page="home"] .hero[data-layout] .hero-content { margin-bottom:80px; }
  body[data-page="home"] .hero[data-layout] .hero-caption { bottom:31px; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-page="home"] .showcase .tile { transition:none; }
}
