/* R3.24 — small details belong to their content.
   Presentation only: existing labels, numbers, selected states and links are
   used as-is. Heading covers, original artwork, avatars and forms stay intact. */

/* The lower home journey reads as three milestones, with a quieter policy
   shelf after contact. Numbers and open-state rules do the guiding. */
body.homepage-remaster #customer-journey .how-it-works__steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid #0b0b0b;
  border-radius:12px;
  background:#fff;
  box-shadow:4px 4px 0 #f7bed5;
}
body.homepage-remaster #customer-journey .how-it-works__steps li {
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  grid-template-rows:88px minmax(62px,auto) auto;
  align-items:start;
  align-content:start;
  gap:16px 18px;
  min-width:0;
  min-height:0;
  margin:0;
  padding:24px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.homepage-remaster #customer-journey .how-it-works__steps li+li {
  border-left:1px solid #d9bbc9;
}
body.homepage-remaster #customer-journey .how-it-works__steps li::after {
  content:none;
}
body.homepage-remaster #customer-journey .how-it-works__steps li>span {
  grid-column:1;
  grid-row:1;
  align-self:center;
  width:38px;
  height:38px;
  border:1px solid #0b0b0b;
  border-radius:12px;
  background:#fbd6e5;
  color:#0b0b0b;
  box-shadow:2px 2px 0 #f7bed5;
  font-variant-numeric:tabular-nums;
}
body.homepage-remaster #customer-journey .how-it-works__steps .r2-journey-art {
  grid-column:2;
  grid-row:1;
  justify-self:end;
  width:88px;
  height:88px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  object-fit:contain;
}
body.homepage-remaster #customer-journey .how-it-works__steps h3 {
  grid-column:1/-1;
  grid-row:2;
  max-width:24ch;
  min-height:0;
  margin:0;
  font-size:26px;
  line-height:1.16;
  text-wrap:balance;
}
body.homepage-remaster #customer-journey .how-it-works__steps p {
  grid-column:1/-1;
  grid-row:3;
  max-width:38ch;
  margin:0;
  color:#393939;
  font-size:14px;
  line-height:1.8;
}
body.homepage-remaster #customer-contact .policy-grid>details {
  border-radius:12px;
}
body.homepage-remaster #customer-contact .policy-grid>details[open] {
  border-color:#0b0b0b;
  background:#fff;
}
body.homepage-remaster #customer-contact .policy-grid>details[open]>summary {
  border-bottom:1px solid #d9bbc9;
}
body.homepage-remaster #customer-contact .policy-grid>details a {
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:#444444;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}

/* The catalogue's dark index remains a navigation rail. A thin inset line
   carries the selected state without adding another card or moving text. */
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs a[aria-current="page"] {
  background:#fbd6e5;
  color:#0b0b0b;
  box-shadow:inset 3px 0 0 #0b0b0b;
}
body.atelier-catalogue.r318-editorial-discovery .atelier-catalogue-toolbar__heading strong {
  letter-spacing:0;
}
body.atelier-catalogue.r318-editorial-discovery .atelier-catalogue-toolbar__count {
  font-variant-numeric:tabular-nums;
}
body.atelier-catalogue.r318-editorial-discovery .r319-shop-start__links a {
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
body.atelier-catalogue.r318-editorial-discovery .r319-shop-start__links a:hover strong {
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Gallery footers should be as legible as the art labels. The character
   exhibition keeps its dark opening and existing Regular/Collector filters. */
body.character-showcase .gallery-section-heading>p,
body.sfw-homes-page .gallery-section-heading>p {
  color:#474747;
  font-size:13px;
  line-height:1.75;
}
body.character-showcase .portrait-edition-toolbar {
  padding-bottom:15px;
  border-bottom:1px solid #d9bbc9;
}
body.character-showcase .portrait-edition-filters button {
  border-radius:12px;
}
body.character-showcase .portrait-edition-filters button[aria-pressed="true"] {
  box-shadow:0 3px 0 #f7bed5;
}
body.character-showcase .portrait-editorial-mark {
  font-size:11px;
  line-height:1.6;
  letter-spacing:0;
}
body.character-showcase .exhibition-card-copy>span {
  border-top-color:#d9bbc9;
  color:#444444;
  font-size:12px;
}
body.character-showcase .exhibition-card>a:is(:hover,:focus-visible) .exhibition-card-copy>span {
  text-decoration:underline;
  text-underline-offset:5px;
}
body.sfw-homes-page .homes-notebook-heading {
  border-bottom-color:#0b0b0b;
}
body.sfw-homes-page .homes-published .sfw-studio-embedded__heading>a,
body.sfw-homes-page .house-furniture a,
body.sfw-homes-page .homes-field-notes a {
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}
body.sfw-homes-page .house-studio-card__description {
  color:#f0e3eb;
  font-size:13px;
  line-height:1.8;
}

/* Support has working index tabs, not more boxes around its illustration.
   Existing topic numbers become readable, small pink markers. */
body.sfw-care-studio .care-support-hub #help-topics.sfw-help-cards .sfw-help-card {
  grid-template-columns:34px minmax(0,1fr);
  column-gap:16px;
  border-bottom-color:#d9bbc9;
}
body.sfw-care-studio .care-support-hub #help-topics.sfw-help-cards .sfw-help-card::before {
  display:grid;
  align-content:center;
  justify-content:center;
  align-self:start;
  width:32px;
  height:32px;
  margin-top:0;
  border:1px solid #0b0b0b;
  border-radius:12px;
  background:#fbd6e5;
  color:#0b0b0b;
  font-size:13px;
  font-variant-numeric:tabular-nums;
  line-height:1;
  letter-spacing:0;
}
body.sfw-care-studio .care-support-hub #help-topics.sfw-help-cards .sfw-help-card p {
  color:#474747;
  font-size:14px;
  line-height:1.75;
}
body.sfw-care-studio .care-support-hub #help-topics.sfw-help-cards .sfw-help-card>a {
  min-height:36px;
  color:#444444;
  font-size:13px;
}
body.sfw-care-studio .care-support-hub #help-topics.sfw-help-cards .sfw-help-card[data-help-number="03"] {
  border-color:#0b0b0b;
  background:#fbd6e5;
}
body.sfw-care-studio .care-support-hub #help-topics.sfw-help-cards .sfw-help-card[data-help-number="03"]::before {
  background:#fff;
}
body.sfw-care-studio .care-desk-visual figcaption>span {
  color:#474747;
  font-size:14px;
}

/* Journal controls read as a small index above the notes. The selected
   button has a pink edge; the count remains a neutral factual status. */
body.sfw-studio-page.sfw-updates-page[data-sfw-refinement="r318"] .sfw-studio-filters {
  gap:9px;
}
body.sfw-studio-page.sfw-updates-page[data-sfw-refinement="r318"] .sfw-studio-filters button {
  min-height:44px;
  border-radius:12px;
  font-size:12px;
}
body.sfw-studio-page.sfw-updates-page[data-sfw-refinement="r318"] .sfw-studio-filters button[aria-pressed="true"] {
  box-shadow:0 3px 0 #f7bed5;
}
body.sfw-studio-page.sfw-updates-page[data-sfw-refinement="r318"] .sfw-studio-count {
  color:#474747;
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
body.sfw-studio-page.sfw-updates-page[data-sfw-refinement="r318"] .sfw-studio-state h2 {
  color:#0b0b0b;
  text-wrap:balance;
}
body.sfw-studio-page.sfw-updates-page[data-sfw-refinement="r318"] .sfw-studio-state p {
  max-width:60ch;
}

/* The resource guide stays a dark opening and plain instructional rows.
   Raise the very small route labels and mark the real anchor destination. */
body.atelier-guide-page.r318-editorial-discovery .r320-guide-route {
  font-size:12px;
  line-height:1.7;
}
body.atelier-guide-page.r318-editorial-discovery .r320-guide-route li>span {
  color:#f7bed5;
  font-size:11px;
}
body.atelier-guide-page.r318-editorial-discovery .r319-guide-contents>span {
  font-size:11px;
  letter-spacing:.04em;
}
body.atelier-guide-page.r318-editorial-discovery .r319-guide-contents a {
  font-size:13px;
}
body.atelier-guide-page.r318-editorial-discovery .customer-guide-steps a {
  font-size:12px;
}
body.atelier-guide-page.r318-editorial-discovery .customer-guide-section:target {
  border-top-color:#0b0b0b;
  box-shadow:inset 3px 0 0 #0b0b0b;
}

/* The brief is a compact numbered process; the world folio remains an
   image-led spread. Their labels become readable without changing the art. */
body.studio-character-preview .studio-brief-process>li>span {
  color:#444444;
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
body.studio-character-preview .studio-brief-process strong {
  font-size:14px;
}
body.studio-character-preview .studio-brief-process p {
  font-size:13px;
  line-height:1.75;
}
body.studio-character-preview .studio-character-study figcaption>span,
body.studio-world-preview .studio-world-art figcaption>span {
  font-size:12px;
  line-height:1.75;
}
body.studio-world-preview .studio-world-explore>a:hover {
  color:#444444;
  text-decoration:underline;
  text-underline-offset:5px;
}

/* Reading-room navigation already owns a complete anchor state. Keep it
   quiet, with the same corner vocabulary and a stronger target underline. */
body[data-sfw-surface="r317"].sfw-policy-editorial .customer-article-contents>a {
  border-radius:12px;
}
body[data-sfw-surface="r317"].sfw-policy-editorial .policy-document :is(h2,h3):target {
  text-decoration-color:#f7bed5;
  text-decoration-thickness:4px;
}

/* These two narrow editorial spreads start their useful copy near the left
   edge. Keep Dream Cat in a fixed 64px tab so its label cannot cover a CTA.
   The original art sizes, accessible button name and dialog are unchanged. */
body.collection-discovery:is(.studio-character-preview,.studio-world-preview) .sfw-cat-launcher {
  box-sizing:border-box;
  left:max(14px,env(safe-area-inset-left));
  bottom:max(14px,env(safe-area-inset-bottom));
  right:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  width:64px;
  min-width:64px;
  max-width:64px;
  height:64px;
  min-height:64px;
  max-height:64px;
  margin:0;
  padding:0;
  border:1px solid #0b0b0b;
  border-radius:12px;
  background:#fff;
  box-shadow:none;
  transform:none;
  transition:background-color .15s ease;
}
body.collection-discovery:is(.studio-character-preview,.studio-world-preview) .sfw-cat-launcher__label {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  border:0;
  clip-path:inset(50%);
  white-space:nowrap;
}
body.collection-discovery:is(.studio-character-preview,.studio-world-preview) .sfw-cat-launcher:is(:hover,:active) {
  border-color:#0b0b0b;
  background:#fbd6e5;
  box-shadow:none;
  transform:none;
}
body.collection-discovery:is(.studio-character-preview,.studio-world-preview) .sfw-cat-launcher:focus-visible {
  outline:2px solid #0b0b0b;
  outline-offset:-4px;
  background:#fbd6e5;
  box-shadow:none;
}

/* Focus follows the exact interactive areas refined above. Dark rails
   receive a light ring. No hover translation, image zoom or new animation. */
body.homepage-remaster :is(#customer-journey,#customer-contact) :is(a,button,summary):focus-visible,
body.atelier-catalogue.r318-editorial-discovery :is(.r319-shop-start,.atelier-catalogue-toolbar) a:focus-visible,
body.character-showcase :is(.exhibition-card>a,.portrait-edition-filters button):focus-visible,
body.sfw-homes-page :is(.homes-published,.homes-studio-grid) :is(a,button):focus-visible,
body.sfw-care-studio #help-topics a:focus-visible,
body.sfw-updates-page .sfw-studio-filters button:focus-visible,
body.atelier-guide-page .r319-guide-contents a:focus-visible,
body.studio-character-preview .customer-closed-actions a:focus-visible,
body.studio-world-preview .studio-world-explore>a:focus-visible {
  outline:2px solid #0b0b0b;
  outline-offset:4px;
}
body.atelier-catalogue.r318-editorial-discovery .commerce-showroom #showroom-tabs :is(a,button):focus-visible,
body[data-sfw-surface="r317"].sfw-policy-editorial .customer-article-contents>a:focus-visible {
  outline:2px solid #f7bed5;
  outline-offset:3px;
}

@media(max-width:1050px) {
  body.homepage-remaster #customer-journey .how-it-works__steps {
    grid-template-columns:minmax(0,1fr);
  }
  body.homepage-remaster #customer-journey .how-it-works__steps li {
    grid-template-columns:38px 88px minmax(0,1fr);
    grid-template-rows:auto auto;
    gap:8px 20px;
    padding:22px;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps li+li {
    border-left:0;
    border-top:1px solid #d9bbc9;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps li>span {
    grid-row:1/3;
    align-self:center;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps .r2-journey-art {
    grid-column:2;
    grid-row:1/3;
    align-self:center;
    justify-self:center;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps h3 {
    grid-column:3;
    grid-row:1;
    max-width:none;
    font-size:25px;
    text-wrap:pretty;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps p {
    grid-column:3;
    grid-row:2;
    max-width:65ch;
  }
}
@media(max-width:600px) {
  body.homepage-remaster #customer-journey .how-it-works__steps li {
    grid-template-columns:34px 68px minmax(0,1fr);
    grid-template-rows:minmax(68px,auto) auto;
    column-gap:13px;
    row-gap:13px;
    padding:19px;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps li>span {
    grid-row:1;
    width:34px;
    height:34px;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps .r2-journey-art {
    grid-row:1;
    width:68px;
    height:68px;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps h3 {
    align-self:center;
    font-size:22px;
    line-height:1.2;
  }
  body.homepage-remaster #customer-journey .how-it-works__steps p {
    grid-column:1/-1;
    grid-row:2;
  }
}
@media(max-width:760px) {
  body.sfw-care-studio .care-support-hub #help-topics.sfw-help-cards .sfw-help-card {
    grid-template-columns:32px minmax(0,1fr);
    column-gap:13px;
  }
  body.atelier-guide-page.r318-editorial-discovery .r319-guide-contents {gap:2px 20px;}
  body.atelier-guide-page.r318-editorial-discovery .r319-guide-contents a {font-size:12px;}
  body.character-showcase .portrait-edition-toolbar {row-gap:15px;}
}
@media(prefers-reduced-motion:reduce) {
  body.homepage-remaster #customer-contact .policy-grid>details a,
  body.atelier-catalogue.r318-editorial-discovery #showroom-tabs a,
  body.character-showcase .exhibition-card>a,
  body.sfw-updates-page .sfw-studio-filters button,
  body.collection-discovery:is(.studio-character-preview,.studio-world-preview) .sfw-cat-launcher,
  body.sfw-policy-editorial .customer-article-contents>a {transition:none;}
}
@media(forced-colors:active) {
  body.character-showcase .portrait-edition-filters button[aria-pressed="true"],
  body.sfw-updates-page .sfw-studio-filters button[aria-pressed="true"],
  body.atelier-catalogue.r318-editorial-discovery #showroom-tabs a[aria-current="page"] {
    outline:2px solid Highlight;
    outline-offset:2px;
  }
}
