/* ============================================================================
   NEWDITAI  - V21 BRIDGE LAYER
   Loaded last on every pre-v21 page. Visual language only: colour, type,
   spacing, surfaces, header/footer, buttons, cards, image mounts.
   NOTHING here removes, reorders or rewrites content.
   Tokens mirror assets/ai-v21.css:
     paper #f4f0e8  -  ink #22222b  -  quiet #59565e  -  gold #f4d77d
     dark #252432  -  cream #fff8ee  -  Arial  -  square corners  -  flat surfaces
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
:root,
body.studio-v18,
body.premium,
body.redesign,
.inner-premium {
  --v21-paper: #f4f0e8;
  --v21-ink: #22222b;
  --v21-quiet: #59565e;
  --v21-gold: #f4d77d;
  --v21-gold-hover: #ffea9b;
  --v21-gold-deep: #7d620a;
  --v21-dark: #252432;
  --v21-cream: #fff8ee;
  --v21-cream-dim: #c9c3b8;
  --v21-line: #d8d2c8;
  --v21-mount: #eae4dd;
  --v21-mount-soft: #efeae2;
  --v21-field: #faf7f1;
  --v21-frame-max: 1360px;
  /* remap the legacy token families */
  --paper: var(--v21-paper);
  --studio-paper: var(--v21-paper);
  --ink: var(--v21-ink);
  --studio-ink: var(--v21-ink);
  --muted: var(--v21-quiet);
  --studio-dim: var(--v21-quiet);
  --line: var(--v21-line);
  --night: var(--v21-dark);
  --studio-dark: var(--v21-dark);
  --lavender: var(--v21-mount);
  --studio-panel: var(--v21-mount);
  --chapter: var(--v21-mount);
  --chapter-soft: var(--v21-mount-soft);
  --orange: var(--v21-gold-deep);
  --studio-accent: var(--v21-gold);
  --studio-margin: clamp(20px, 5vw, 80px);
  --studio-head: clamp(31px, 4.2vw, 61px);
  --studio-body: 17px;
}

/* ---------------------------------------------------------------------------
   2. BASE  - Arial everywhere, v21 paper + ink
   ------------------------------------------------------------------------- */
html {
  background: var(--v21-paper);
}

body.studio-v18,
body.studio-v18 *:not(svg):not(path):not(rect):not(circle):not(g):not(use) {
  font-family: Arial, Helvetica, sans-serif !important;
}

body.studio-v18 {
  background: var(--v21-paper) !important;
  color: var(--v21-ink) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

body.studio-v18 main {
  color: var(--v21-ink);
}

body.studio-v18 ::selection {
  background: var(--v21-gold);
  color: var(--v21-ink);
}

body.studio-v18 a:focus-visible,
body.studio-v18 button:focus-visible,
body.studio-v18 select:focus-visible,
body.studio-v18 input:focus-visible,
body.studio-v18 textarea:focus-visible,
body.studio-v18 summary:focus-visible {
  outline: 3px solid #8b5c12 !important;
  outline-offset: 4px !important;
}

body.studio-v18 a {
  color: inherit;
  text-underline-offset: .18em;
}

/* ---------------------------------------------------------------------------
   3. TYPE SCALE  - v21 sizes, weights, tracking
   ------------------------------------------------------------------------- */
body.studio-v18 h1,
body.studio-v18 h2,
body.studio-v18 h3,
body.studio-v18 h4,
body.studio-v18 h5,
body.studio-v18 h6 {
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--v21-ink) !important;
  text-wrap: balance;
}

body.studio-v18 h1 {
  font-size: clamp(43px, 6.2vw, 100px) !important;
  font-weight: 700 !important;
  letter-spacing: -.06em !important;
  line-height: 1.02 !important;
  margin: 0 0 18px !important;
  max-width: 18ch;
}

body.studio-v18 h2 {
  font-size: clamp(31px, 4.2vw, 61px) !important;
  font-weight: 700 !important;
  letter-spacing: -.06em !important;
  line-height: 1.02 !important;
  margin: 0 0 16px !important;
  max-width: 22ch;
}

body.studio-v18 h3 {
  font-size: clamp(19px, 1.55vw, 25px) !important;
  font-weight: 700 !important;
  letter-spacing: -.028em !important;
  line-height: 1.16 !important;
  margin: 0 0 8px !important;
}

body.studio-v18 h4 {
  font-size: clamp(17px, 1.2vw, 20px) !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
}

body.studio-v18 h5,
body.studio-v18 h6 {
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
  margin: 0 0 6px !important;
}

/* long headings inside narrow inner-hero copy must still breathe */
body.studio-v18 .inner-hero-copy h1,
body.studio-v18 .studio-hero-copy h1 {
  max-width: 16ch;
}

body.studio-v18 p,
body.studio-v18 li,
body.studio-v18 dd,
body.studio-v18 dt,
body.studio-v18 td,
body.studio-v18 th {
  font-size: 16.5px;
  line-height: 1.6;
}

body.studio-v18 .intro,
body.studio-v18 .hero p,
body.studio-v18 .detail-lead,
body.studio-v18 .solution-lead,
body.studio-v18 .article-deck,
body.studio-v18 .inner-hero-copy > p,
body.studio-v18 .studio-hero-copy > p {
  color: var(--v21-quiet) !important;
  font-size: clamp(17px, 1.35vw, 19px) !important;
  line-height: 1.55 !important;
  max-width: 55ch;
}

/* small labels: v21 .card-copy span / footer copy */
body.studio-v18 .eyebrow {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #59565e !important;
  margin-bottom: 14px !important;
}

body.studio-v18 .eyebrow::before {
  display: none !important;
}

body.studio-v18 .count {
  color: var(--v21-gold-deep) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

body.studio-v18 .textlink,
body.studio-v18 .quiet-link {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  padding-bottom: 2px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: normal !important;
  color: inherit !important;
}

body.studio-v18 .textlink:hover,
body.studio-v18 .quiet-link:hover {
  color: #000 !important;
}

body.studio-v18 .notice,
body.studio-v18 small,
body.studio-v18 figcaption,
body.studio-v18 .article-meta,
body.studio-v18 .editorial-note,
body.studio-v18 .formnote,
body.studio-v18 .formstatus {
  color: #59565e !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.studio-v18 main .section > p:not(.notice),
body.studio-v18 main .sectionhead + p {
  max-width: 74ch;
}

/* ---------------------------------------------------------------------------
   4. FRAME  - v21 measures
   ------------------------------------------------------------------------- */
body.studio-v18 .wrap {
  max-width: calc(var(--v21-frame-max) + 2 * clamp(20px, 5vw, 80px)) !important;
  padding-inline: clamp(20px, 5vw, 80px) !important;
}

body.studio-v18 main.wrap {
  padding-top: 0;
}

/* section rhythm */
body.studio-v18 main .section,
body.studio-v18 .studio-pad,
body.studio-v18 .charm-section,
body.studio-v18 .premium-insights,
body.studio-v18 .premium-heading {
  padding-block: clamp(38px, 6vw, 88px) !important;
}

body.studio-v18 main .section:first-child {
  padding-top: 0 !important;
}

body.studio-v18 .sectionhead,
body.studio-v18 .catalog-heading,
body.studio-v18 .charm-heading,
body.studio-v18 .premium-heading {
  margin-bottom: clamp(20px, 2.6vw, 34px) !important;
  align-items: end;
}

body.studio-v18 .sectionhead p,
body.studio-v18 .catalog-heading p {
  color: var(--v21-quiet) !important;
}

/* ---------------------------------------------------------------------------
   5. HEADER / NAV  - v21 minimal editorial bar
   ------------------------------------------------------------------------- */
body.studio-v18 > header,
body.studio-v18 header {
  background: var(--v21-paper) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  color: var(--v21-ink) !important;
  position: static !important;
}

body.studio-v18 header .nav {
  background: var(--v21-paper) !important;
  height: auto !important;
  min-height: 78px !important;
  padding-block: 12px !important;
  gap: 20px !important;
}

body.studio-v18 header .brand,
body.studio-v18 header .xdt-brand {
  color: var(--v21-ink) !important;
  font-size: 1.48rem !important;
  font-weight: 900 !important;
  letter-spacing: -.055em !important;
  gap: 8px !important;
  text-decoration: none !important;
}

body.studio-v18 header .xdt-wordmark {
  font-size: 1.48rem !important;
  font-weight: 900 !important;
  letter-spacing: -.055em !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 header .xdt-wordmark > span {
  color: #94702c !important;
}

body.studio-v18 header .brand small {
  font-size: 10px !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--v21-quiet) !important;
  font-weight: 400 !important;
}

body.studio-v18 header .navlinks,
body.studio-v18 header .navlinks > a,
body.studio-v18 header .locale,
body.studio-v18 header .menu,
body.studio-v18 header .mega-toggle {
  color: var(--v21-ink) !important;
}

body.studio-v18 header .navlinks {
  gap: 10px 25px !important;
  font-size: 15px !important;
}

body.studio-v18 header .navlinks > a {
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

body.studio-v18 header .navlinks > a:hover,
body.studio-v18 header .navlinks > a:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 header .navlinks a.active,
body.studio-v18.studio-v18 > header .navlinks a.active {
  color: var(--v21-ink) !important;
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
}

body.studio-v18 header .locale {
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 15px !important;
  min-height: 0 !important;
  padding: 4px 0 !important;
  width: auto !important;
  max-width: 130px !important;
  color: var(--v21-quiet) !important;
}

body.studio-v18 header .menu {
  background: transparent !important;
  border: 0 !important;
  font-size: 22px !important;
}

body.studio-v18 header .mega-toggle {
  border: 1px solid #c3bdb1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--v21-ink) !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  font-size: 13px !important;
}

body.studio-v18 header .mega-toggle:hover,
body.studio-v18 header .mega-toggle[aria-expanded="true"] {
  background: var(--v21-gold) !important;
  border-color: var(--v21-gold) !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 header .mega-panel {
  background: var(--v21-paper) !important;
  border: 1px solid var(--v21-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 header .mega-heading {
  color: var(--v21-ink) !important;
}

body.studio-v18 header .mega-heading a {
  color: var(--v21-ink) !important;
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
}

body.studio-v18 header .mega-products > a {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
  color: var(--v21-ink) !important;
  font-size: 15px !important;
}

body.studio-v18 header .mega-products > a:hover {
  background: var(--v21-gold) !important;
}

/* header CTA behaves like v21 .button */
body.studio-v18 header .navcta.btn {
  background: var(--v21-gold) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--v21-ink) !important;
  box-shadow: none !important;
  min-height: 45px !important;
  padding: 12px 17px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  gap: 12px !important;
}

body.studio-v18 header .navcta.btn:hover {
  background: var(--v21-gold-hover) !important;
  color: var(--v21-ink) !important;
}

/* ---------------------------------------------------------------------------
   6. FOOTER  - v21 dark slab
   ------------------------------------------------------------------------- */
body.studio-v18 footer,
body.studio-v18 .premium footer,
body.studio-v18 .redesign footer {
  background: var(--v21-dark) !important;
  color: var(--v21-cream) !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-block: clamp(28px, 4vw, 44px) !important;
  border-radius: 0 !important;
}

body.studio-v18 footer .footergrid {
  gap: clamp(24px, 5vw, 70px) !important;
}

body.studio-v18 footer .brand,
body.studio-v18 footer .xdt-wordmark,
body.studio-v18 footer .footergrid a,
body.studio-v18 footer .footergrid a:not(.brand),
body.studio-v18 footer .footer-knowledge a,
body.studio-v18 footer .textlink,
body.studio-v18 footer > .business-contacts a {
  color: var(--v21-cream) !important;
}

body.studio-v18 footer .xdt-wordmark > span {
  color: var(--v21-gold) !important;
}

body.studio-v18 footer .footergrid p,
body.studio-v18 footer .entity-line,
body.studio-v18 footer .bottom,
body.studio-v18 footer .bottom span,
body.studio-v18 footer .footergrid h4,
body.studio-v18 footer .brand small {
  color: var(--v21-cream-dim) !important;
}

body.studio-v18 footer .footergrid h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

body.studio-v18 footer .footergrid a:not(.brand) {
  font-size: 14px !important;
  margin: 5px 0 !important;
}

body.studio-v18 footer .footergrid a:hover,
body.studio-v18 footer .footer-knowledge a:hover {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
}

body.studio-v18 footer .entity-line {
  border-color: #453f52 !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
}

body.studio-v18 footer .bottom {
  border-top-color: #453f52 !important;
  font-size: 12px !important;
}

body.studio-v18 footer .footer-knowledge {
  border-top-color: #453f52 !important;
}

body.studio-v18 footer .footer-knowledge a {
  font-size: 12.5px !important;
}

body.studio-v18 footer .business-contacts {
  border-top-color: #453f52 !important;
  color: var(--v21-cream-dim) !important;
  font-size: 13px !important;
}

/* ---------------------------------------------------------------------------
   7. BUTTONS / LINKS / FORMS  - v21 flat gold
   ------------------------------------------------------------------------- */
body.studio-v18 .btn,
body.studio-v18 .button,
body.studio-v18 .studio-button,
body.studio-v18 .studio-primary,
body.studio-v18 .catalog-prev,
body.studio-v18 .catalog-next,
body.studio-v18 .config-next,
body.studio-v18 button.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 12px 17px !important;
  min-height: 45px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--v21-gold) !important;
  color: var(--v21-ink) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer;
}

body.studio-v18 .btn:hover,
body.studio-v18 .button:hover,
body.studio-v18 .studio-button:hover,
body.studio-v18 .studio-primary:hover,
body.studio-v18 .catalog-prev:hover:not(:disabled),
body.studio-v18 .catalog-next:hover:not(:disabled),
body.studio-v18 .config-next:hover {
  background: var(--v21-gold-hover) !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 .btn.light,
body.studio-v18 .studio-button:not(.studio-primary) {
  background: transparent !important;
  color: var(--v21-ink) !important;
  border: 1px solid var(--v21-ink) !important;
}

body.studio-v18 .btn.light:hover,
body.studio-v18 .studio-button:not(.studio-primary):hover {
  background: var(--v21-ink) !important;
  color: var(--v21-paper) !important;
}

body.studio-v18 .catalog-prev:disabled,
body.studio-v18 .catalog-next:disabled {
  background: transparent !important;
  border: 1px solid var(--v21-line) !important;
  color: #59565e !important;
  cursor: default;
}

/* buttons on dark slabs stay gold */
body.studio-v18 .studio-close .studio-button,
body.studio-v18 .studio-process .studio-button,
body.studio-v18 .inner-archive .studio-button,
body.studio-v18 .inner-archive .btn,
body.studio-v18 .cta .btn,
body.studio-v18 .company-film .btn {
  background: var(--v21-gold) !important;
  color: var(--v21-ink) !important;
  border: 0 !important;
}

/* chips / filters */
body.studio-v18 .filter,
body.studio-v18 .cat-choice {
  border: 1px solid #c3bdb1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--v21-ink) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 9px 14px !important;
  min-height: 40px !important;
  box-shadow: none !important;
}

body.studio-v18 .filter.active,
body.studio-v18 .cat-choice.active {
  background: var(--v21-gold) !important;
  border-color: var(--v21-gold) !important;
  color: var(--v21-ink) !important;
  font-weight: 700 !important;
}

body.studio-v18 .cat-choice > span {
  color: var(--v21-quiet) !important;
}

body.studio-v18 .cat-choice.active > span {
  color: var(--v21-ink) !important;
}

/* form controls */
body.studio-v18 input,
body.studio-v18 select,
body.studio-v18 textarea {
  background: var(--v21-field) !important;
  border: 1px solid #b6b0a5 !important;
  border-radius: 0 !important;
  color: var(--v21-ink) !important;
  padding: 10px 12px !important;
  min-height: 42px !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

body.studio-v18 textarea {
  min-height: 130px !important;
}

body.studio-v18 label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--v21-ink) !important;
  gap: 6px !important;
}

body.studio-v18 input[type="checkbox"],
body.studio-v18 input[type="radio"] {
  min-height: 0 !important;
  width: 18px !important;
  height: 18px !important;
  accent-color: #7d620a;
}

body.studio-v18 .consent {
  color: var(--v21-quiet) !important;
}

body.studio-v18 .consent a {
  color: var(--v21-gold-deep) !important;
  text-decoration: underline !important;
}

/* ---------------------------------------------------------------------------
   8. HERO FAMILIES
   ------------------------------------------------------------------------- */
/* index hero: v21 dark slab */
body.studio-v18 .studio-hero {
  background: var(--v21-dark) !important;
  color: var(--v21-cream) !important;
}

body.studio-v18 .studio-hero h1 {
  color: var(--v21-cream) !important;
}

body.studio-v18 .studio-hero p,
body.studio-v18 .studio-hero .studio-hero-copy p {
  color: #efe7de !important;
}

body.studio-v18 .studio-hero .studio-button:not(.studio-primary) {
  color: var(--v21-cream) !important;
  border-color: var(--v21-cream) !important;
  background: transparent !important;
}

body.studio-v18 .studio-hero .studio-button:not(.studio-primary):hover {
  background: var(--v21-cream) !important;
  color: var(--v21-dark) !important;
}

body.studio-v18 .studio-mosaic {
  background: #ded5d2 !important;
  border-radius: 0 !important;
}

body.studio-v18 .studio-mosaic > div {
  border-radius: 0 !important;
}

body.studio-v18 .studio-mosaic-main,
body.studio-v18 .charm-image {
  border-radius: 0 !important;
}

body.studio-v18 .studio-mosaic figcaption,
body.studio-v18 .studio-plate figcaption,
body.studio-v18 .studio-inner-art figcaption {
  color: #59565e !important;
  font-size: 12.5px !important;
}

/* inner-page hero: paper + split, v21 detail rhythm */
body.studio-v18 .inner-hero,
body.studio-v18 .studio-inner-hero.inner-hero {
  background: var(--v21-paper) !important;
  color: var(--v21-ink) !important;
  border-radius: 0 !important;
}

body.studio-v18 .inner-hero .inner-hero-copy,
body.studio-v18 .studio-inner-hero .inner-hero-copy {
  color: var(--v21-ink) !important;
  padding: clamp(38px, 6vw, 88px) 0 clamp(30px, 4vw, 56px) !important;
}

body.studio-v18 .studio-inner-art {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 .studio-inner-art h2 {
  font-size: clamp(22px, 2.4vw, 34px) !important;
  max-width: none;
}

body.studio-v18 .studio-inner-art li {
  border-top: 1px solid #d5cfc4 !important;
  font-size: 15px !important;
  padding: 12px 0 !important;
}

body.studio-v18 .studio-inner-art li a {
  color: var(--v21-ink) !important;
  text-decoration: none !important;
}

body.studio-v18 .studio-inner-art li a:hover {
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
}

/* inner ribbon */
body.studio-v18 .inner-ribbon {
  background: transparent !important;
  border-top: 1px solid var(--v21-line) !important;
  border-bottom: 1px solid var(--v21-line) !important;
  color: #59565e !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding-block: 12px !important;
}

body.studio-v18 .inner-ribbon span {
  color: #59565e !important;
}

/* 404 / page hero */
body.studio-v18 .page-hero {
  background: var(--v21-paper) !important;
}

/* ---------------------------------------------------------------------------
   9. LIGHT SURFACES / PANELS / CARDS  - square, warm mount, no shadow
   ------------------------------------------------------------------------- */
body.studio-v18 .route-cards article,
body.studio-v18 .editorial-card,
body.studio-v18 .v12-reference,
body.studio-v18 .answer-box,
body.studio-v18 .article-toc,
body.studio-v18 .article-practice,
body.studio-v18 .article-project,
body.studio-v18 .v12-practical-grid article,
body.studio-v18 .v10-steps > div,
body.studio-v18 .v10-form-note,
body.studio-v18 .v10-format-art,
body.studio-v18 .catalog-sidebar,
body.studio-v18 .resource,
body.studio-v18 .band,
body.studio-v18 .cta,
body.studio-v18 .contactgrid aside,
body.studio-v18 .configurator,
body.studio-v18 .config-fields,
body.studio-v18 .quality-split,
body.studio-v18 .solution-detail,
body.studio-v18 .development,
body.studio-v18 .development-grid > *,
body.studio-v18 .faq-library details,
body.studio-v18 .charm-selection li,
body.studio-v18 .charm-advice li,
body.studio-v18 .buyer,
body.studio-v18 .audiences article,
body.studio-v18 .collection-notes,
body.studio-v18 .note-columns > *,
body.studio-v18 .related-products,
body.studio-v18 .spec-list > *,
body.studio-v18 .v12-practical-grid article,
body.studio-v18 .premium .editorial-card > div,
body.studio-v18 .premium .photo-gallery,
body.studio-v18 .premium .configurator {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 .guide li,
body.studio-v18 .charm-selection li,
body.studio-v18 .charm-advice li,
body.studio-v18 .answer-box,
body.studio-v18 .article-toc,
body.studio-v18 .article-practice,
body.studio-v18 .v10-steps > div,
body.studio-v18 .contactgrid aside,
body.studio-v18 .route-cards article {
  padding: clamp(16px, 2.4vw, 30px) !important;
}

body.studio-v18 .editorial-card,
body.studio-v18 .v12-reference {
  padding: clamp(14px, 2vw, 26px) !important;
}

body.studio-v18 .editorial-card small,
body.studio-v18 .v12-reference small,
body.studio-v18 .article-meta,
body.studio-v18 .editorial-note {
  color: #59565e !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

body.studio-v18 .editorial-card h3,
body.studio-v18 .v12-reference h3 {
  margin-top: 6px !important;
}

body.studio-v18 .editorial-card > span:last-child,
body.studio-v18 .v12-reference span,
body.studio-v18 .v12-format-notes a {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  padding-bottom: 2px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--v21-ink) !important;
}

/* dark slabs */
body.studio-v18 .inner-archive,
body.studio-v18 .inner-dossier,
body.studio-v18 .studio-process,
body.studio-v18 .studio-close,
body.studio-v18 .company-film,
body.studio-v18 .premium-factory,
body.studio-v18 .feature,
body.studio-v18 .premium-hero,
body.studio-v18 .usecase-grid article:nth-child(2),
body.studio-v18 .v10-context th,
body.studio-v18 .quality-split {
  background: var(--v21-dark) !important;
  color: var(--v21-cream) !important;
  border-radius: 0 !important;
  border: 0 !important;
}

body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, strong, em) {
  color: var(--v21-cream) !important;
}

body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature) :is(.notice, small, figcaption, .eyebrow) {
  color: #d9d3c7 !important;
}

body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory) p,
body.studio-v18 .studio-process li p,
body.studio-v18 .dossier-points p {
  color: #d9d3c7 !important;
}

body.studio-v18 .studio-process li::before {
  color: var(--v21-gold) !important;
}

/* the dark "stage" product cards keep their dark slab and cream copy */
body.studio-v18 .ref-stage .v12-reference {
  background: var(--v21-dark) !important;
  color: var(--v21-cream) !important;
  padding: 0 !important;
  border: 0 !important;
}

body.studio-v18 .ref-stage .v12-reference figure {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
}

body.studio-v18 .ref-stage .v12-reference > div {
  padding: clamp(14px, 2vw, 24px) !important;
}

body.studio-v18 .ref-stage .v12-reference h3 {
  color: var(--v21-cream) !important;
}

body.studio-v18 .ref-stage .v12-reference p {
  color: #d9d3c7 !important;
}

body.studio-v18 .ref-stage .v12-reference small {
  color: #c9c3b8 !important;
}

body.studio-v18 .ref-stage .v12-reference span {
  color: var(--v21-cream) !important;
  border-bottom-color: currentColor !important;
}

/* the samples matrix dark section (inline-styled in the source pages) */
body.studio-v18 .smp {
  background: var(--v21-dark) !important;
  color: var(--v21-cream) !important;
}

body.studio-v18 .smp-head h2 {
  color: var(--v21-cream) !important;
}

body.studio-v18 .smp-head p,
body.studio-v18 .smp-foot p {
  color: #d9d3c7 !important;
}

body.studio-v18 .smp-kicker {
  color: var(--v21-gold) !important;
}

body.studio-v18 .smp-card {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.studio-v18 .smp-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

body.studio-v18 .smp-card img,
body.studio-v18 .smp-art img {
  transform: none !important;
}

body.studio-v18 .smp-art {
  background: var(--v21-mount-soft) !important;
}

body.studio-v18 .smp-meta b {
  color: var(--v21-ink) !important;
}

body.studio-v18 .smp-meta span {
  color: var(--v21-quiet) !important;
}

body.studio-v18 .smp-foot {
  border-top-color: #453f52 !important;
}

body.studio-v18 .smp-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 17px !important;
  min-height: 45px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--v21-gold) !important;
  color: var(--v21-ink) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
}

body.studio-v18 .smp-btn:hover {
  background: var(--v21-gold-hover) !important;
}

/* every legacy hover lift / hover shadow is flattened in v21 */
body.studio-v18 .v12-reference,
body.studio-v18 .pm-card,
body.studio-v18 .smp-card,
body.studio-v18 .catalog-card,
body.studio-v18 .editorial-card,
body.studio-v18 .v12-reference:hover,
body.studio-v18 .pm-card:hover,
body.studio-v18 .smp-card:hover,
body.studio-v18 .catalog-card:hover,
body.studio-v18 .editorial-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* FAQ accordions */
body.studio-v18 .faq details,
body.studio-v18 .studio-faq details,
body.studio-v18 .faq-library details {
  background: var(--v21-mount) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 16px 20px !important;
  margin-bottom: 8px !important;
}

body.studio-v18 .faq summary,
body.studio-v18 .studio-faq summary,
body.studio-v18 .faq-library summary {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 .faq details p,
body.studio-v18 .studio-faq details p,
body.studio-v18 .faq-library details p {
  color: var(--v21-quiet) !important;
  font-size: 16px !important;
}

/* tables */
body.studio-v18 .v10-context table,
body.studio-v18 table {
  border-color: var(--v21-line) !important;
  border-radius: 0 !important;
}

body.studio-v18 th {
  background: var(--v21-dark) !important;
  color: var(--v21-cream) !important;
}

body.studio-v18 td {
  border-color: var(--v21-line) !important;
  color: var(--v21-ink) !important;
}

/* definition lists (solution / quality pages) */
body.studio-v18 dt {
  color: #59565e !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

body.studio-v18 dd {
  color: var(--v21-ink) !important;
}

/* ---------------------------------------------------------------------------
   10. IMAGE MOUNTS  - flat v21 plates
   ------------------------------------------------------------------------- */
body.studio-v18 .v15-product-frame,
body.studio-v18 .catalog-photo,
body.studio-v18 .product-image,
body.studio-v18 .gallery-main,
body.studio-v18 .detail-art,
body.studio-v18 .photo-gallery,
body.studio-v18 .article-lead-image,
body.studio-v18 .article-inline-photo,
body.studio-v18 .editorial-card > div,
body.studio-v18 .v12-reference > div,
body.studio-v18 .v12-reference > figure,
body.studio-v18 .solution-art,
body.studio-v18 .hero-art,
body.studio-v18 .studio-visual,
body.studio-v18 .premium .photo-stage,
body.studio-v18 .inner-hero-art,
body.studio-v18 .charm-image,
body.studio-v18 .quality-split figure,
body.studio-v18 .band figure,
body.studio-v18 .article-project figure,
body.studio-v18 .exploded {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.studio-v18 .v15-product-frame,
body.studio-v18 .catalog-photo,
body.studio-v18 .product-image,
body.studio-v18 .gallery-main,
body.studio-v18 .article-lead-image,
body.studio-v18 .article-inline-photo,
body.studio-v18 .editorial-card > div,
body.studio-v18 .v12-reference > div,
body.studio-v18 .v12-reference > figure {
  background: var(--v21-mount) !important;
}

body.studio-v18 .catalog-card .catalog-photo,
body.studio-v18 .catalog-card:nth-child(3n) .catalog-photo,
body.studio-v18 .catalog-card:nth-child(3n+1) .catalog-photo,
body.studio-v18 .catalog-card:nth-child(3n+2) .catalog-photo,
body.studio-v18 .product .product-image {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
}

body.studio-v18 .gallery-main,
body.studio-v18 .detail-art,
body.studio-v18 .photo-gallery {
  background: var(--v21-mount) !important;
}

body.studio-v18 .factory-grid figure {
  background: #e9e4d9 !important;
  border-radius: 0 !important;
  border: 0 !important;
}

body.studio-v18 .factory-grid figure figcaption {
  position: static !important;
  color: var(--v21-ink) !important;
  background: transparent !important;
  padding: 8px 12px 12px !important;
  font-size: 12.5px !important;
  letter-spacing: 0 !important;
}

body.studio-v18 .factory-grid figure img {
  transform: none !important;
}

body.studio-v18 .factory-grid figure:hover img {
  transform: none !important;
}

/* catalogue card body: v21 card-copy */
body.studio-v18 .catalog-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.studio-v18 .catalog-card > a {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

body.studio-v18 .catalog-card > a:hover h3 {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

body.studio-v18 .catalog-card > a > small,
body.studio-v18 .catalog-card > a > p {
  color: var(--v21-quiet) !important;
  font-size: 15px !important;
}

body.studio-v18 .catalog-card > a > small {
  font-size: 13px !important;
}

body.studio-v18 .catalog-card h3 {
  font-size: clamp(18px, 1.5vw, 23px) !important;
  margin-top: 6px !important;
}

body.studio-v18 .catalog-card h3 span[aria-hidden] {
  font-weight: 400 !important;
  color: var(--v21-quiet) !important;
}

body.studio-v18 .catalog-badge,
body.studio-v18 .catalog-card .catalog-badge {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #59565e !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  padding: 0 !important;
}

body.studio-v18 .catalog-grid,
body.studio-v18 .cards,
body.studio-v18 .related-products {
  gap: clamp(16px, 2.6vw, 40px) !important;
}

/* product detail page */
body.studio-v18 .product-detail {
  gap: clamp(24px, 4vw, 64px) !important;
}

body.studio-v18 .breadcrumbs {
  color: #59565e !important;
  font-size: 13px !important;
  padding-block: 18px 26px !important;
}

body.studio-v18 .breadcrumbs a {
  color: var(--v21-ink) !important;
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
}

body.studio-v18 .detail-art,
body.studio-v18 .gallery-main {
  padding: clamp(10px, 2vw, 22px) !important;
}

body.studio-v18 .detail-lead {
  margin-bottom: 20px !important;
}

body.studio-v18 .actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-block: 24px !important;
}

/* ---------------------------------------------------------------------------
   11. CATALOGUE (products / collection pages)
   ------------------------------------------------------------------------- */
body.studio-v18 .catalog-layout {
  gap: clamp(22px, 3.4vw, 52px) !important;
}

body.studio-v18 .catalog-sidebar {
  padding: clamp(16px, 2vw, 26px) !important;
  align-self: start;
}

body.studio-v18 .catalog-sidebar h3 {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #59565e !important;
  margin-bottom: 14px !important;
}

body.studio-v18 .catalog-sidebar .cat-choice {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
  text-align: left !important;
  margin: 0 0 6px !important;
  padding: 10px 12px !important;
}

body.studio-v18 .catalog-search input,
body.studio-v18 .catalog-tools select,
body.studio-v18 .catalog-status {
  background: var(--v21-field) !important;
  border: 1px solid #b6b0a5 !important;
  border-radius: 0 !important;
}

body.studio-v18 .catalog-resultline {
  color: #59565e !important;
  font-size: 13px !important;
}

body.studio-v18 .catalog-reset {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--v21-ink) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 0 0 2px !important;
}

body.studio-v18 .catalog-pagination {
  border-color: var(--v21-line) !important;
  color: var(--v21-quiet) !important;
}

/* ---------------------------------------------------------------------------
   12. GUIDE / ARTICLE LAYOUTS
   ------------------------------------------------------------------------- */
body.studio-v18 .knowledge-jump {
  border-color: var(--v21-line) !important;
  gap: 0 !important;
}

body.studio-v18 .knowledge-jump a {
  color: var(--v21-ink) !important;
  border-color: var(--v21-line) !important;
  font-size: 15px !important;
  padding: 12px 0 !important;
}

body.studio-v18 .knowledge-jump a:hover {
  text-decoration: underline !important;
  text-underline-offset: .18em !important;
}

body.studio-v18 .solution-nav {
  border-color: var(--v21-line) !important;
}

body.studio-v18 .solution-nav a {
  color: var(--v21-ink) !important;
  font-size: 15px !important;
}

body.studio-v18 .solution-detail {
  margin-block: 10px !important;
}

body.studio-v18 .solution-detail:nth-of-type(odd) {
  background: var(--v21-mount-soft) !important;
}

body.studio-v18 .longread-layout {
  gap: clamp(24px, 4vw, 56px) !important;
}

body.studio-v18 .article-toc {
  border: 0 !important;
}

body.studio-v18 .article-body h2 {
  margin-top: 40px !important;
}

body.studio-v18 .article-body h2:first-child {
  margin-top: 0 !important;
}

body.studio-v18 .article-body p,
body.studio-v18 .article-body li {
  max-width: 70ch;
}

/* ---------------------------------------------------------------------------
   13. CONTACT / FORM PAGES
   ------------------------------------------------------------------------- */
body.studio-v18 .contactgrid {
  gap: clamp(24px, 4vw, 62px) !important;
}

body.studio-v18 .contactgrid aside {
  padding: clamp(18px, 2.6vw, 34px) !important;
}

body.studio-v18 .contactgrid aside h2 {
  font-size: clamp(22px, 3vw, 36px) !important;
  max-width: none;
}

body.studio-v18 #project-form,
body.studio-v18 form {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: clamp(18px, 2.6vw, 32px) !important;
  gap: 16px !important;
}

body.studio-v18 .briefsteps {
  color: var(--v21-quiet) !important;
}

body.studio-v18 .v10-form-note {
  background: var(--v21-paper) !important;
  border-left: 0 !important;
  border: 1px solid var(--v21-line) !important;
  border-radius: 0 !important;
  color: var(--v21-quiet) !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
}

/* ---------------------------------------------------------------------------
   14. MISC CHROME
   ------------------------------------------------------------------------- */
body.studio-v18 .topbar {
  background: transparent !important;
  color: var(--v21-quiet) !important;
  font-size: 10px !important;
  letter-spacing: .1em !important;
  padding: 8px 20px !important;
}

body.studio-v18 .topbar span {
  opacity: 1 !important;
  color: var(--v21-quiet) !important;
}

body.studio-v18 .skiplink {
  background: var(--v21-ink) !important;
  color: var(--v21-paper) !important;
  border-radius: 0 !important;
}

body.studio-v18 .back-top {
  background: var(--v21-paper) !important;
  color: var(--v21-ink) !important;
  border: 1px solid var(--v21-line) !important;
  box-shadow: none !important;
}

body.studio-v18 .back-top:hover {
  background: var(--v21-gold) !important;
  border-color: var(--v21-gold) !important;
}

body.studio-v18 .dev-note,
body.studio-v18 .sr-only {
  color: inherit;
}

body.studio-v18 .table-scroll {
  border-color: var(--v21-line) !important;
}

body.studio-v18 .selected-catalog-label {
  color: var(--v21-quiet) !important;
  font-size: 13px !important;
}

/* remove decorative gradients left by earlier layers */
body.studio-v18 .factory-grid figure figcaption,
body.studio-v18 .hero-art::before,
body.studio-v18 .hero-art::after,
body.studio-v18 .premium-hero::before,
body.studio-v18 .premium-hero::after {
  background-image: none !important;
}

/* keep the floating WhatsApp bubble round (inline style) */
body.studio-v18 a[style*="border-radius"] {
  border-radius: inherit;
}

/* ---------------------------------------------------------------------------
   15. RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1050px) {
  body.studio-v18 .wrap {
    padding-inline: clamp(20px, 4vw, 44px) !important;
  }

  body.studio-v18 .catalog-layout,
  body.studio-v18 .contactgrid,
  body.studio-v18 .longread-layout {
    gap: 26px !important;
  }
}

@media (max-width: 900px) {
  body.studio-v18 .studio-hero {
    min-height: 0 !important;
  }

  body.studio-v18 .studio-hero-copy {
    padding-block: 36px 30px !important;
  }

  body.studio-v18 .studio-mosaic {
    max-height: 62svh !important;
  }

  body.studio-v18 .catalog-layout {
    grid-template-columns: 1fr !important;
  }

  body.studio-v18 .catalog-sidebar {
    position: static !important;
  }
}

@media (max-width: 720px) {
  body.studio-v18 header .nav {
    min-height: 64px !important;
    height: auto !important;
    gap: 10px !important;
  }

  body.studio-v18 header .navlinks {
    gap: 6px 16px !important;
  }

  body.studio-v18 header .navcta.btn {
    min-height: 40px !important;
    padding: 9px 13px !important;
    font-size: 14px !important;
  }

  body.studio-v18 .inner-hero .inner-hero-copy,
  body.studio-v18 .studio-inner-hero .inner-hero-copy {
    padding-block: 28px 24px !important;
  }

  body.studio-v18 .studio-inner-art {
    padding: 26px 22px !important;
  }

  body.studio-v18 .catalog-grid,
  body.studio-v18 .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
  }

  body.studio-v18 .catalog-sidebar .cat-choice {
    min-height: 38px !important;
  }

  body.studio-v18 .footer-knowledge a {
    font-size: 12px !important;
  }

  body.studio-v18 .business-contacts {
    padding: 14px 0 8px !important;
  }
}

@media (max-width: 560px) {
  body.studio-v18 h1 {
    max-width: none;
  }

  body.studio-v18 .catalog-grid,
  body.studio-v18 .cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.studio-v18 .textlink {
    font-size: 14px !important;
  }

  body.studio-v18 footer .footergrid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.studio-v18 *,
  body.studio-v18 *::before,
  body.studio-v18 *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------------------------------------------------------------------------
   16. DARK-CONTEXT AND MOUNT CONTRAST FIXES
   ------------------------------------------------------------------------- */
/* the dark stage cards keep a dark text panel (the whole card is the slab) */
body.studio-v18 .ref-stage .v12-reference > div {
  background: transparent !important;
}

/* dark slab families: all copy turns cream, metadata turns warm grey */
body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature, .quality-split, .premium-hero) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, strong, em, blockquote) {
  color: var(--v21-cream) !important;
}

body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature, .quality-split, .premium-hero) :is(.notice, small, figcaption, .eyebrow, .article-meta, .editorial-note) {
  color: #d9d3c7 !important;
}

body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature, .quality-split, .premium-hero) .count {
  color: var(--v21-gold) !important;
}

body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature, .quality-split, .premium-hero) .btn.light,
body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature, .quality-split, .premium-hero) .studio-button:not(.studio-primary) {
  background: transparent !important;
  color: var(--v21-cream) !important;
  border: 1px solid var(--v21-cream) !important;
}

body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature, .quality-split, .premium-hero) .btn.light:hover,
body.studio-v18 :is(.inner-archive, .inner-dossier, .studio-process, .studio-close, .company-film, .premium-factory, .feature, .quality-split, .premium-hero) .studio-button:not(.studio-primary):hover {
  background: var(--v21-cream) !important;
  color: var(--v21-dark) !important;
}

/* small taxonomy labels on warm mounts (legacy sage-green on #eae4dd) */
body.studio-v18 .tags {
  color: var(--v21-quiet) !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body.studio-v18 .v12-reference p,
body.studio-v18 .editorial-card p {
  color: var(--v21-quiet) !important;
}

/* ---------------------------------------------------------------------------
   17. HERO FRAMING AND WARM MOUNTS
   ------------------------------------------------------------------------- */
/* the legacy inner hero was a 100vw dark band; v21 keeps everything on the frame */
body.studio-v18 .inner-hero {
  width: auto !important;
  margin-left: 0 !important;
  min-height: 0 !important;
  background: var(--v21-paper) !important;
  color: var(--v21-ink) !important;
}

body.studio-v18 .inner-hero .inner-hero-copy,
body.studio-v18 .studio-inner-hero .inner-hero-copy {
  padding: clamp(28px, 4vw, 58px) clamp(24px, 4vw, 64px) clamp(26px, 3.6vw, 50px) 0 !important;
  min-height: 0 !important;
}

body.studio-v18 .inner-hero .studio-inner-art {
  min-height: clamp(320px, 40vw, 540px) !important;
}

/* index hero: let the dark slab carry the collage, warm mounts per tile */
body.studio-v18 .studio-mosaic {
  background: transparent !important;
}

body.studio-v18 .studio-mosaic figcaption {
  color: #d9d3c7 !important;
}

body.studio-v18 .charm-image {
  --mount: var(--v21-mount) !important;
  background-color: var(--v21-mount) !important;
}

body.studio-v18 .studio-mosaic-main {
  background: var(--v21-mount) !important;
}

body.studio-v18 .studio-mosaic .studio-mosaic-top {
  background: #efe4e6 !important;
}

body.studio-v18 .studio-mosaic .studio-mosaic-bottom {
  background: #f2ead2 !important;
}

body.studio-v18 .studio-plate {
  background: var(--v21-mount) !important;
}

body.studio-v18 .studio-duet {
  background: var(--v21-mount-soft) !important;
}

body.studio-v18 .charm-home,
body.studio-v18 .charm-section {
  background: var(--v21-paper) !important;
}

body.studio-v18 .charm-intro {
  background: var(--v21-mount) !important;
}

body.studio-v18 .charm-selection,
body.studio-v18 .charm-advice {
  background: var(--v21-mount-soft) !important;
}

body.studio-v18 .charm-selection li {
  background: var(--v21-mount) !important;
}

/* v21 numbered guide blocks instead of bare columns */
body.studio-v18 .custom-grid {
  gap: clamp(12px, 2vw, 24px) !important;
}

body.studio-v18 .custom-grid article {
  background: var(--v21-mount) !important;
  padding: clamp(16px, 2.4vw, 30px) !important;
  border-radius: 0 !important;
}

body.studio-v18 .customicon {
  color: var(--v21-gold-deep) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

/* index "develop" list + step rows sit on warm panels */
body.studio-v18 .studio-formats li {
  background: var(--v21-mount) !important;
  border-radius: 0 !important;
}

body.studio-v18 .studio-formats li:nth-child(odd) {
  background: var(--v21-mount-soft) !important;
}

body.studio-v18 .studio-formats li a {
  padding: 15px 18px !important;
}

/* ---------------------------------------------------------------------------
   18. MOBILE LAYOUT GUARDS (390px-first)
   ------------------------------------------------------------------------- */
@media (max-width: 1050px) {
  body.studio-v18 header .navcta.btn {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body.studio-v18 .buyer-grid,
  body.studio-v18 .audiences,
  body.studio-v18 .route-cards,
  body.studio-v18 .v10-steps,
  body.studio-v18 .custom-grid,
  body.studio-v18 .quality-gates,
  body.studio-v18 .quality-full,
  body.studio-v18 .development-grid,
  body.studio-v18 .editorial-grid,
  body.studio-v18 .specs,
  body.studio-v18 .timeline,
  body.studio-v18 .related-products,
  body.studio-v18 .note-columns,
  body.studio-v18 .collection-notes,
  body.studio-v18 .charm-grid,
  body.studio-v18 .smp-grid,
  body.studio-v18 .v12-practical-grid,
  body.studio-v18 .v12-reference-grid,
  body.studio-v18 .ref-wide,
  body.studio-v18 .ref-wide-r,
  body.studio-v18 .ref-stage,
  body.studio-v18 .ref-tiles,
  body.studio-v18 .ref-rows,
  body.studio-v18 .ref-duo,
  body.studio-v18 .factory-grid,
  body.studio-v18 .premium-insights .editorial-grid,
  body.studio-v18 .catalog-grid,
  body.studio-v18 .cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.studio-v18 .catalog-sidebar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  body.studio-v18 .catalog-sidebar h3 {
    width: 100% !important;
  }

  body.studio-v18 .catalog-sidebar .cat-choice {
    width: auto !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
  }

  body.studio-v18 .buyer-grid {
    gap: 10px !important;
  }

  body.studio-v18 .buyer {
    width: 100% !important;
  }

  body.studio-v18 .buyer h3 {
    padding-right: 0 !important;
  }

  body.studio-v18 .buyer .count {
    position: static !important;
  }

  body.studio-v18 .inner-hero .inner-hero-copy,
  body.studio-v18 .studio-inner-hero .inner-hero-copy {
    padding-right: 0 !important;
  }

  body.studio-v18 .studio-inner-art {
    min-height: 280px !important;
  }

  body.studio-v18 .studio-mosaic {
    max-height: none !important;
  }
}

@media (max-width: 560px) {
  body.studio-v18 header .nav {
    flex-wrap: wrap !important;
    row-gap: 6px !important;
  }

  body.studio-v18 header .brand,
  body.studio-v18 header .xdt-brand {
    font-size: 1.28rem !important;
  }

  body.studio-v18 header .locale {
    max-width: 110px !important;
  }

  body.studio-v18 header .menu {
    margin-left: auto !important;
  }

  body.studio-v18 .catalog-sidebar .cat-choice {
    font-size: 13px !important;
    padding: 8px 11px !important;
  }

  body.studio-v18 .inner-hero .inner-hero-copy h1,
  body.studio-v18 .studio-inner-hero .inner-hero-copy h1 {
    max-width: none !important;
  }
}

/* longread article layout must collapse to one column on phones */
@media (max-width: 900px) {
  body.studio-v18 .longread-layout,
  body.studio-v18 .inner-article-cover,
  body.studio-v18 .article-header,
  body.studio-v18 .article-body,
  body.studio-v18 .article-toc,
  body.studio-v18 .sheet-spec-grid,
  body.studio-v18 .v10-prose,
  body.studio-v18 .v12-family-guide,
  body.studio-v18 .contactgrid,
  body.studio-v18 .band,
  body.studio-v18 .solution-detail,
  body.studio-v18 .quality-split,
  body.studio-v18 .studio-duet,
  body.studio-v18 .studio-intro,
  body.studio-v18 .studio-process,
  body.studio-v18 .studio-proof,
  body.studio-v18 .studio-faq,
  body.studio-v18 .studio-close {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.studio-v18 .article-toc,
  body.studio-v18 .article-body,
  body.studio-v18 .article-header,
  body.studio-v18 .answer-box {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}


/* ============================================================
   布局修复：main 容器居中 / 首页全宽
   ============================================================ */
/* 1) 所有内页 main.wrap 左右居中，避免右侧留白 */
body:not(.page-index) main.wrap {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 2) 首页（page-index）用全宽，深色首屏铺满 */
body.page-index main.wrap,
.studio-v18.page-index main.wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 3) 首页首屏左右留安全边距（内边距由 hero 自己控制） */
body.page-index .studio-hero {
  width: 100% !important;
  max-width: none !important;
}

/* 4) 兜底：任何 100% 宽容器不产生横向滚动 */
html, body { overflow-x: clip; }


/* ============================================================
   文章页首屏对比度修复
   v21 换了浅色底，但文章封面文字仍是白色 → 看不清
   ============================================================ */
.inner-article-cover {
  background: #f4f0e8 !important;
  color: #22222b !important;
}
.inner-article-cover .article-header,
.inner-article-cover .article-header h1,
.inner-article-cover h1 {
  color: #22222b !important;
}
.inner-article-cover .eyebrow {
  color: #7d620a !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
}
.inner-article-cover .article-meta,
.inner-article-cover .article-meta span,
.inner-article-cover .article-meta time {
  color: #59565e !important;
}
.inner-article-cover .article-deck {
  color: #3a3840 !important;
}
/* 文章封面右侧图片区给个柔和底色 */
.inner-article-cover .article-lead-image,
.inner-article-cover .article-lead-image.v15-product-frame {
  background: #e8e4d9 !important;
}
/* 文章内部正文行宽与颜色 */
.longread .longread-body p,
.longread .article-body p {
  color: #2e2d35 !important;
}


/* ============================================================
   products 首屏：八款合集横图（替换原竖版小狐）
   ============================================================ */
body.studio-v18 .studio-inner-art .charm-image.charm-image-set {
  aspect-ratio: 2 / 1 !important;
  background-image: url(studio-v18/charm-set.webp) !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #f2ece2 !important;
  width: 100% !important;
}
/* 容器高度跟随图片比例，避免过大留白 */
body.studio-v18 .inner-hero .studio-inner-art {
  min-height: clamp(260px, 30vw, 420px) !important;
}
/* 移动端 */
@media (max-width: 860px) {
  body.studio-v18 .studio-inner-art .charm-image.charm-image-set {
    aspect-ratio: 16 / 10 !important;
  }
}


/* ============================================================
   products 首屏：八颗星球 4x2 铺满
   ============================================================ */
body.studio-v18 .studio-inner-art .planet-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: clamp(4px, 0.9vw, 14px) !important;
  width: 100% !important;
  align-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.studio-v18 .studio-inner-art .planet-grid img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
  background: transparent !important;
  transition: transform .45s cubic-bezier(.16,1,.3,1) !important;
}
body.studio-v18 .studio-inner-art .planet-grid img:hover {
  transform: scale(1.06) !important;
}
/* 容器：让八宫格尽量撑满 */
body.studio-v18 .inner-hero .studio-inner-art {
  min-height: 0 !important;
  padding: clamp(14px, 2.2vw, 34px) !important;
}
body.studio-v18 .studio-inner-art figure { margin: 0 !important; }
/* 移动端改 2 列 */
@media (max-width: 860px) {
  body.studio-v18 .studio-inner-art .planet-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
  }
}


/* 八宫格：容器贴合网格，不留空白 */
body.studio-v18 .inner-hero .studio-inner-art {
  min-height: 0 !important;
  height: auto !important;
  align-self: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: clamp(10px, 1.4vw, 22px) !important;
  background: transparent !important;
}
body.studio-v18 .inner-hero .studio-inner-art figure {
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
}
body.studio-v18 .inner-hero .studio-inner-art .planet-grid {
  width: 100% !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: clamp(4px, 0.7vw, 10px) !important;
}
body.studio-v18 .inner-hero .studio-inner-art figcaption {
  padding-top: 10px !important;
  text-align: center !important;
}
/* 让整个 hero 两列顶部对齐 */
body.studio-v18 .inner-hero {
  align-items: center !important;
}



/* ============================================================
   products 首屏：2 列 x 4 行，正方形格，高度对齐左栏
   ============================================================ */
body.studio-v18 .inner-hero {
  align-items: center !important;
}
body.studio-v18 .inner-hero .studio-inner-art {
  justify-self: center !important;
  align-self: center !important;
  width: min(100%, 520px) !important;
  max-width: 520px !important;
  aspect-ratio: 1 / 2 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #efe9df !important;
}
body.studio-v18 .inner-hero .studio-inner-art figure {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
body.studio-v18 .inner-hero .studio-inner-art .planet-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: repeat(4, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  height: 100% !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}
body.studio-v18 .inner-hero .studio-inner-art .planet-grid img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: block !important;
  background: #f7f4ee !important;
}
body.studio-v18 .inner-hero .studio-inner-art figcaption { display: none !important; }

/* 窄屏 */
@media (max-width: 860px) {
  body.studio-v18 .inner-hero .studio-inner-art {
    width: min(100%, 460px) !important;
    max-width: 460px !important;
  }
}






/* ============================================================
   products 首屏：4 列 x 2 行，块=2:1，零留空
   ============================================================ */
body.studio-v18 .inner-hero {
  align-items: center !important;
}
body.studio-v18 .inner-hero .studio-inner-art {
  justify-self: stretch !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 1 !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #efe9df !important;
}
body.studio-v18 .inner-hero .studio-inner-art figure {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
body.studio-v18 .inner-hero .studio-inner-art .planet-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: repeat(2, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  height: 100% !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}
body.studio-v18 .inner-hero .studio-inner-art .planet-grid img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  display: block !important;
  background: #f7f4ee !important;
}
body.studio-v18 .inner-hero .studio-inner-art figcaption { display: none !important; }
/* 左栏文案收紧，避免右块显矮 */
body.studio-v18 .inner-hero .inner-hero-copy h1 { margin-bottom: 18px !important; }
body.studio-v18 .inner-hero { padding-top: clamp(20px, 3vw, 46px) !important; padding-bottom: clamp(20px, 3vw, 46px) !important; }
@media (max-width: 860px) {
  body.studio-v18 .inner-hero .studio-inner-art .planet-grid { gap: 4px !important; padding: 4px !important; }
}


/* ============================================================
   products 首屏：右图区 62%（左文 38%）
   ============================================================ */
body.page-products .inner-hero.studio-inner-hero {
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr) !important;
  gap: clamp(16px, 2.4vw, 48px) !important;
}
body.page-products .inner-hero .inner-hero-copy h1 {
  font-size: clamp(38px, 5vw, 76px) !important;
}
@media (max-width: 1024px) {
  body.page-products .inner-hero.studio-inner-hero {
    grid-template-columns: 1fr !important;
  }
}
