/* Chronoix detail: published description, photographs and the app's feature cards. */
.design-hero { align-items: start; }
.design-intro { text-align: left; min-width: 0; }
.face-description { margin-block: 24px 28px; max-width: 60ch; font-size: 17px; line-height: 1.65; color: #c6c6c6; }
.face-description p { margin: 0 0 14px; }
.face-description p:first-child { color: #f0f0f0; font-size: 20px; line-height: 1.5; }
.face-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.face-actions .btn { max-width: 100%; }
.face-gallery, .face-scroller { min-width: 0; }
.face-gallery__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; gap: 16px; }
.face-gallery figure { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; }
.face-gallery img { width: 100%; height: auto; display: block; border-radius: 16px; }
.face-scroll-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.face-scroll-controls[hidden] { display: none; }
.face-scroll-controls button { width: 44px; height: 44px; border: 1px solid #444; border-radius: 50%; color: #fff; background: #1c1c1c; font-size: 22px; cursor: pointer; }
.face-scroll-controls button:disabled { opacity: .35; cursor: default; }
.face-scroll-controls button:hover:enabled { background: #333; }
.face-scroll-controls button:focus-visible, .face-gallery__rail:focus-visible, .face-explore__rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.face-features { padding-block: 20px 72px; }
.face-features h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.025em; margin: 0 0 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.feature-card { text-align: center; background: #151515; border: 1px solid #292929; border-radius: 20px; padding: 18px 12px 22px; }
.feature-card img { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0 auto 10px; }
.feature-card h3 { font-size: 17px; line-height: 1.3; margin: 0 0 10px; font-weight: 600; }
.feature-card p { font-size: 13px; line-height: 1.5; color: #aaa; margin: 0; }
.face-additional { margin-top: 24px; color: #b5b5b5; }
.design-details { grid-template-columns: 1fr; padding-block: 36px; }
.face-explore { padding-block: 60px 24px; background: radial-gradient(ellipse at 55% 80%, #6e3419 0, #29170f 30%, #0d0d0d 65%); }
.face-explore h2 { color: var(--accent); font-size: 18px; line-height: 1.3; text-transform: uppercase; font-weight: 600; margin: 0 0 32px; }
.face-styles { display: grid; gap: 2px; margin-bottom: 52px; }
.face-styles a { width: fit-content; color: #fff; font-size: clamp(38px, 5vw, 62px); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; }
.face-styles a:hover { color: var(--accent-hover); }
/* The shared cover canvas includes 37px of side transparency (394 - 357).
   Include it in the 30% visible-gap reduction; card widths stay unchanged. */
.face-explore > .container { container-type: inline-size; }
.face-explore__rail { --explore-card-width: 38cqw; display: flex; gap: max(0px, calc(16.8px - var(--explore-card-width) * 0.028172589)); overflow-x: auto; list-style: none; padding: 8px 0 16px; margin: 0; scroll-snap-type: x proximity; scrollbar-width: thin; }
.face-explore__rail li { flex: 0 0 38%; min-width: 0; scroll-snap-align: start; }
.face-explore .related-design { text-align: left; }
.face-explore .related-design img { width: 100%; max-width: 280px; margin: 0 0 16px; }
.face-explore .related-design span { font-size: 17px; }
.face-editorial { padding-block: 56px 88px; }
.face-editorial > div { max-width: 78ch; }
.face-editorial p { color: #999; font-size: 14px; line-height: 1.75; margin: 0 0 20px; }
.face-missing { padding-block: 72px 96px; }
.face-missing .design-intro { max-width: 620px; margin-inline: auto; text-align: center; }
.face-missing .btn { margin: 6px; }
@media (min-width: 760px) {
  .design-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 52px; }
  .face-gallery { position: sticky; top: 110px; }
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .feature-card { padding: 22px 20px 28px; }
  .feature-card img { width: 112px; height: 112px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card p { font-size: 14px; }
  .face-styles { grid-template-columns: 1fr 1fr; gap: 4px 40px; max-width: 850px; }
  .face-explore__rail { --explore-card-width: 23cqw; }
  .face-explore__rail li { flex-basis: 23%; }
  .face-explore .related-design span { font-size: 20px; }
  .face-missing { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  .feature-grid { grid-template-columns: 1fr; }
  .face-actions .btn { font-size: 14px; padding-inline: 12px; }
}

/* 6 Oct: published cover above the name and unmodified official App Store badge.
   Apple: minimum onscreen height 40px, clear space >= one quarter badge height. */
.face-title-cover { display: block; width: 140px; height: auto; margin: 0 0 22px; }
.face-actions { align-items: center; }
.app-store-badge { display: inline-flex; flex: 0 0 auto; padding: 13px; line-height: 0; }
.app-store-badge img { display: block; width: auto; height: 52px; }
.app-store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hierarchy: product identity → photographs → decision → features → installation → exploration → optional compatibility.
   DOM order is also the reading/focus order; no CSS order or duplicated mobile content. */
.face-product { display: flex; flex-direction: column; gap: 32px; padding-block: 24px 64px; }
.face-product > * { width: 100%; min-width: 0; }
.face-product .face-title-cover { width: min(72vw, 280px); max-width: 100%; margin: 0 auto 24px; }
.face-product .face-identity { text-align: center; }
.face-product .face-lead { margin: 20px auto 0; max-width: 48ch; }
.face-product .face-lead p { margin: 0; }
.face-product .face-gallery { position: static; }
.face-product .face-story { margin: 0 0 24px; }
.face-product .face-story p:first-child { color: #c6c6c6; font-size: 17px; line-height: 1.65; }
.face-product .face-decision { max-width: 68ch; }
.face-practical { display: grid; gap: 40px; padding-block: 48px 64px; border-top: 1px solid var(--border); }
.face-practical .design-how { padding: 0; max-width: 68ch; }
.face-practical h2 { margin: 0 0 20px; font-size: clamp(23px, 2.3vw, 30px); letter-spacing: -.025em; line-height: 1.2; }
.face-practical .design-purchase { margin: 0 0 24px; }
/* Secondary help stays at the end of every face page, closed by default. */
.face-compatibility { padding-block: 0 32px; }
.face-compatibility details { border-top: 1px solid var(--border); padding-top: 8px; scroll-margin-top: 110px; }
.face-compatibility summary { width: fit-content; min-height: 44px; padding-block: 12px; font-size: 14px; line-height: 20px; color: var(--text-2); cursor: pointer; }
.face-compatibility summary:hover { color: var(--text); }
.face-compatibility summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.face-compatibility__content { max-width: 68ch; padding-block: 8px 12px; }
.face-compatibility h2 { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.face-compatibility p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: var(--text-2); }
@media (min-width: 760px) {
  .face-product { gap: 40px; padding-block: 40px 72px; }
  .face-product .face-title-cover { width: 280px; }
  .face-product .face-gallery { max-width: 880px; align-self: center; }
  .face-product .face-decision { align-self: center; }
}
@media (min-width: 1100px) {
  .face-product { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); column-gap: 64px; row-gap: 32px; align-items: start; }
  .face-product .face-identity { grid-column: 1; grid-row: 1; text-align: left; }
  .face-product .face-title-cover { width: 240px; margin-inline: 0; }
  .face-product .face-lead { margin-inline: 0; }
  .face-product .face-gallery { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .face-product .face-decision { grid-column: 1; grid-row: 2; align-self: start; }
  .face-product--no-gallery .face-decision { grid-column: 2; grid-row: 1; padding-top: 40px; }
}

/* El título cálido de Explore comparte pigmento con los CTA del sitio. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .face-explore h2 {
    width: fit-content;
    background-image: var(--accent-grad);
    background-size: var(--accent-size);
    background-blend-mode: var(--accent-blend);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
@media (forced-colors: active) {
  .face-explore h2 { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
@media print {
  .face-explore { background: #fff; }
  .face-explore a { color: #000; }
  .face-explore h2 { background: none; color: #000; -webkit-text-fill-color: #000; }
}
