/* Design layer drawn from the logo: warm light surfaces, deep logo green, the open
   bracket and a fine line system. Loaded last so commerce hooks stay intact. */
.editorial-site {
  --yx-band: #f4f1e8;
  --yx-band-2: #ece8dc;
  --yx-mark: #1d302a;
  --yx-green: #1d302a;
  --yx-band-ink: #1d302a;
  --yx-band-muted: #5f6b63;
  --yx-band-line: #1d302a14;
  --pro-bg: #fbfaf6;
  --pro-paper: #f4f1e8;
  --pro-surface: #f4f1e8;
  --pro-ink: #1d302a;
  --pro-muted: #5f6b63;
  --pro-line: #dcd8cb;
  --pro-rule: #1d302a;
  --pro-accent: #1d302a;
  --pro-accent-ink: #fbfaf6;
  --pro-radius: 2px;
  --yx-mono: ui-monospace, Consolas, "SF Mono", Menlo, monospace;
}
html[theme=dark] .editorial-site {
  --yx-band: #18211d;
  --yx-band-2: #202b26;
  --yx-mark: #d9d4c3;
  --yx-green: #d9d4c3;
  --yx-band-ink: #eee9dc;
  --yx-band-muted: #a9b0a8;
  --yx-band-line: #ffffff14;
  --pro-bg: #121916;
  --pro-paper: #18211d;
  --pro-surface: #18211d;
  --pro-ink: #eee9dc;
  --pro-muted: #a9b0a8;
  --pro-line: #303a35;
  --pro-rule: #d9d4c3;
  --pro-accent: #d9d4c3;
  --pro-accent-ink: #121916;
}
.editorial-site.platform-body {
  --platform-bg: var(--pro-bg);
  --platform-paper: var(--pro-bg);
  --platform-ink: var(--pro-ink);
  --platform-muted: var(--pro-muted);
  --platform-line: var(--pro-line);
  --platform-soft: var(--pro-surface);
  --platform-accent: var(--pro-accent);
  --editorial-paper: var(--pro-bg);
  --editorial-ink: var(--pro-ink);
  --editorial-line: var(--pro-line);
  --editorial-wash: var(--pro-surface);
  --editorial-muted: var(--pro-muted);
  --editorial-accent: var(--pro-accent);
  background: var(--pro-bg);
  background-image: none;
  letter-spacing: 0;
}
html:has(.editorial-site) { scroll-padding-top: 84px; }
.editorial-site :is(a,button,summary,select):focus-visible { outline: 2px solid var(--pro-accent); outline-offset: 3px; }
.editorial-site .platform-wrap { width: min(1280px, calc(100% - 64px)); }

/* Header: one row, closed by a solid rule. */
.editorial-site :is(.platform-header,.growth-header) { background: var(--pro-bg); border-bottom: 1px solid var(--pro-line); }
.editorial-site :is(.platform-header-inner,.growth-header-inner) { display: flex; flex-wrap: nowrap; align-items: center; width: min(1280px, calc(100% - 64px)); min-height: 64px; gap: 20px; margin-inline: auto; padding: 0; }
.editorial-site :is(.platform-header,.growth-header) .brand-commerce { grid-column: auto; width: auto; flex: none; margin-block: 0; margin-inline-start: auto; padding: 0; border: 0; gap: 4px; }
.editorial-site :is(.platform-tools,.growth-tools) { flex: none; margin-inline-start: 0; min-height: 0; }
.editorial-site :is(.platform-brand,.growth-brand) img { height: 34px; width: auto; }
.editorial-site :is(.platform-nav,.growth-nav) { gap: 2px; }
.editorial-site :is(.platform-nav,.growth-nav) a { min-height: 40px; padding: 8px 12px; border: 0; border-radius: 0; background: transparent; color: var(--pro-ink); font-size: 14px; font-weight: 500; }
.editorial-site :is(.platform-nav,.growth-nav) a[aria-current=page] { color: var(--pro-accent); box-shadow: inset 0 -2px 0 currentColor; }
.editorial-site :is(.platform-nav,.growth-nav) a:hover { color: var(--pro-accent); }
.editorial-site :is(.platform-nav,.growth-nav) a:last-child, .editorial-site :is(.platform-nav,.growth-nav) a:last-child:hover { margin-inline-start: 8px; padding-inline: 14px; border: 1px solid var(--pro-rule); background: transparent; color: var(--pro-ink); box-shadow: none; }
.editorial-site .platform-nav a:last-child > span[aria-hidden] { display: none; }
.editorial-site .growth-member-link { display: none; }
@media (max-width: 1180px) {
  .editorial-site [data-site-cart-label], .editorial-site [data-site-account-label], .editorial-site .brand-account-chevron { display: none; }
}
@media (max-width: 720px) {
  .editorial-site .platform-wrap, .editorial-site :is(.platform-header-inner,.growth-header-inner) { width: calc(100% - 32px); }
  .editorial-site :is(.platform-header-inner,.growth-header-inner) { min-height: 58px; gap: 4px; }
  .editorial-site :is(.platform-brand,.growth-brand), .editorial-site :is(.platform-brand,.growth-brand.yixiang-brand) img { width: auto; height: 34px; }
  .editorial-site :is(.platform-brand,.growth-brand) { margin-inline-end: auto; }
  .editorial-site :is(.platform-header,.growth-header) .brand-commerce { margin-inline-start: 0; }
  .editorial-site :is(.platform-tools .platform-theme,.growth-tools #theme-btn) { display: none; }
  .editorial-site .brand-account > summary { padding: 3px; border: 0; }
}

/* Buttons are squared, like the frame in the logo. */
.editorial-site .platform-button, .editorial-site .growth-button { --platform-inverse: var(--pro-bg); min-height: 48px; padding: 12px 22px; gap: 14px; border: 1px solid var(--pro-ink); border-radius: 0; background: var(--pro-ink); color: var(--pro-bg); font-size: 15px; font-weight: 500; box-shadow: none; }
.editorial-site .platform-button:hover, .editorial-site .growth-button:hover { transform: none; box-shadow: none; opacity: .86; }
.editorial-site .platform-text-link { font-size: 14px; font-weight: 500; color: var(--pro-ink); }
.editorial-site .yx-tone .platform-button { --platform-inverse: var(--yx-band); border-color: var(--yx-mark); background: var(--yx-mark); color: var(--yx-band); }
.editorial-site .yx-tone .platform-button.yx-button-ghost, .editorial-site .yx-tone .platform-button.yx-button-ghost:hover { --platform-inverse: var(--yx-band-ink); border-color: var(--yx-band-line); background: transparent; color: var(--yx-band-ink); box-shadow: none; }
.editorial-site .yx-tone .platform-button.yx-button-ghost:hover { border-color: var(--yx-band-ink); }
.yx-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The assistant stays reachable without covering content. */
.bs-launcher.bs-launcher { min-height: 0; padding: 3px; border-radius: 50%; gap: 0; box-shadow: 0 4px 14px #0b1d1633; }
.bs-launcher.bs-launcher .bs-launcher-portrait { width: 44px; height: 44px; flex-basis: 44px; border-radius: 50%; }
.bs-launcher.bs-launcher .bs-launcher-words, .bs-launcher.bs-launcher .bs-launcher-glyph { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Dark bands with the column grid drawn in. */

/* Home hero and film */

/* Sections */
.yx-head { display: grid; grid-template-columns: 1fr 3fr; align-items: baseline; gap: 32px; padding-block: 14px 32px; border-top: 2px solid var(--pro-rule); }
.yx-head-index { font-family: var(--yx-mono); font-size: 13px; font-weight: 600; color: var(--pro-muted); }
.editorial-site .yx-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; line-height: 1.2; letter-spacing: .01em; }



.yx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: yx-step; }
.yx-steps li { position: relative; counter-increment: yx-step; padding: 28px 24px 0 0; border-top: 1px solid var(--pro-rule); }
.yx-steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--pro-rule); }
.yx-steps li::after { content: "0" counter(yx-step); position: absolute; top: 8px; right: 24px; font-family: var(--yx-mono); font-size: 13px; color: var(--pro-muted); }
.yx-steps b { display: block; font-size: 17px; font-weight: 600; }
.yx-steps p { margin: 6px 0 0; color: var(--pro-muted); font-size: 14px; line-height: 1.7; }


/* Footer closes the page in the same dark. */
.editorial-site.platform-body .platform-footer { margin: 0; background: var(--pro-bg); }

/* Page headings: services, shop */
.editorial-site .platform-page-heading.editorial-page-heading { display: block; padding-block: clamp(48px, 6vw, 80px) clamp(36px, 4vw, 56px); border: 0; background: var(--yx-band); color: var(--yx-band-ink); box-shadow: 0 0 0 100vmax var(--yx-band); clip-path: inset(0 -100vmax); }
.editorial-site .editorial-page-heading h1 { color: inherit; font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: .01em; }
.editorial-site .editorial-page-heading .platform-lead { max-width: 40em; margin-top: 14px; color: var(--yx-band-muted); font-size: 16px; }

/* Services page: a ruled index, with the case study inside its service. */
.yx-services { padding-block: clamp(40px, 5vw, 72px) 24px; }
.yx-group { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; padding-block: 16px clamp(40px, 5vw, 64px); border-top: 2px solid var(--pro-rule); scroll-margin-top: 72px; }
.yx-group-side { position: sticky; top: 84px; align-self: start; }
.editorial-site .yx-group-side h2 { margin: 12px 0 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.yx-group-side p { margin: 8px 0 0; color: var(--pro-muted); font-size: 14px; line-height: 1.7; }
.yx-rows { margin: 0; padding: 0; list-style: none; }
.yx-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 1fr) 24px; align-items: center; gap: 20px; min-height: 76px; padding-block: 14px; border-bottom: 1px solid var(--pro-line); transition: padding .15s, background .15s; }
.yx-row:hover { padding-inline: 12px; background: var(--pro-paper); }
.yx-row-name { font-size: 18px; font-weight: 600; }
.yx-row-text { color: var(--pro-muted); font-size: 14px; line-height: 1.7; }
.yx-row-price { color: var(--pro-muted); font-family: var(--yx-mono); font-size: 13px; }
.yx-row-price strong { color: var(--pro-ink); font-size: 15px; font-weight: 600; }
.yx-row-go { text-align: end; color: var(--pro-accent); font-size: 18px; }

.pro-case-feature { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); margin-top: 24px; border: 1px solid var(--pro-rule); color: var(--pro-ink); text-decoration: none; transition: box-shadow .15s; }
.pro-case-feature:hover { border-color: var(--pro-accent); background: var(--pro-paper); }
.pro-case-feature img { width: 100%; height: 100%; aspect-ratio: 1200 / 650; object-fit: cover; object-position: top; border-inline-end: 1px solid var(--pro-rule); }
.pro-case-feature-copy { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.pro-case-feature-copy strong { font-size: 24px; font-weight: 600; line-height: 1.25; }
.pro-case-feature-line { color: var(--pro-muted); font-size: 14px; line-height: 1.7; }
.pro-case-feature-link { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 500; }
.pro-case-feature-copy .pro-eyebrow { margin: 0; font-family: var(--yx-mono); font-size: 12px; font-weight: 600; color: var(--pro-accent); }
.editorial-site .platform-service-next { padding-block: 40px; border-top: 2px solid var(--pro-rule); }

/* Shop: every product card has the same ruled frame. */
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-grid { gap: 0; grid-auto-rows: 1fr; border-block-start: 1px solid var(--pro-rule); border-inline-start: 1px solid var(--pro-line); }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 0; border-inline-end: 1px solid var(--pro-line); border-block-end: 1px solid var(--pro-line); border-radius: 0; background: var(--pro-bg); box-shadow: none; transform: none; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card:hover { background: var(--pro-paper); }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-image { display: block; aspect-ratio: 4 / 3; margin: 0; border-radius: 0; overflow: hidden; background: var(--pro-surface); }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-image img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy h2 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-tag { margin: 0; color: var(--pro-accent); font-family: var(--yx-mono); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy > p:not(.platform-product-tag) { display: -webkit-box; margin: 0; overflow: hidden; color: var(--pro-muted); font-size: 14px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.editorial-site .platform-card-arrow { display: none; }
.editorial-site .platform-shop { padding-top: 32px; }
.editorial-site .platform-shop-filters button { border: 1px solid var(--pro-line); border-radius: 0; background: var(--pro-bg); box-shadow: none; font-size: 14px; }
.editorial-site .platform-shop-filters button[aria-pressed=true] { border-color: var(--pro-ink); background: var(--pro-ink); color: var(--pro-bg); }

/* Service detail pages share the same language. */
body.brand-redesign.editorial-site, html[theme=dark] body.brand-redesign.editorial-site {
  --growth-bg: var(--pro-bg);
  --growth-panel: var(--pro-bg);
  --growth-text: var(--pro-ink);
  --growth-muted: var(--pro-muted);
  --growth-border: var(--pro-line);
  --growth-accent: var(--pro-accent);
  --brand-paper: var(--pro-bg);
  --brand-soft: var(--pro-surface);
  --brand-mint: var(--pro-surface);
  --brand-ink: var(--pro-ink);
  --brand-accent: var(--pro-accent);
  --brand-on-ink: var(--pro-bg);
  --brand-radius: var(--pro-radius);
  background: var(--pro-bg);
}
.editorial-site .growth-breadcrumb { padding-block: 16px; }
.editorial-site .growth-breadcrumb :is(a,span) { color: var(--pro-muted); }
.editorial-site .growth-hero { position: relative; padding-block: clamp(48px, 6vw, 80px); border: 0; background: var(--yx-band); color: var(--yx-band-ink); box-shadow: 0 0 0 100vmax var(--yx-band); clip-path: inset(0 -100vmax); }
.editorial-site .growth-hero h1 { color: inherit; font-weight: 600; letter-spacing: .01em; }
.editorial-site .growth-hero :is(.growth-lead,.growth-live,figcaption) { color: var(--yx-band-muted); }
.editorial-site .growth-hero :is(.growth-link,a:not(.growth-button)) { color: var(--yx-band-ink); }
.editorial-site .growth-hero .growth-kicker { color: var(--yx-mark); font-family: var(--yx-mono); letter-spacing: 0; text-transform: none; }
.editorial-site .growth-hero .growth-dot { background: var(--yx-mark); box-shadow: none; }
.editorial-site .growth-hero .growth-button { --platform-inverse: var(--yx-band); border-color: var(--yx-mark); background: var(--yx-mark); color: var(--yx-band); }
.editorial-site .growth-section-heading { padding-top: 14px; border-top: 2px solid var(--pro-rule); }
.editorial-site .growth-section-heading h2 { font-weight: 600; letter-spacing: .01em; }
.editorial-site .growth-kicker { color: var(--pro-accent); letter-spacing: 0; text-transform: none; }
.editorial-site .growth-dot { background: var(--pro-accent); }
.editorial-site .business-member-entry, html[theme=dark] .editorial-site .business-member-entry { background: var(--pro-paper); border: 0; border-block: 1px solid var(--pro-rule); border-radius: 0; }
.editorial-site .business-member-caption > span { border-radius: 0; background: var(--pro-bg); color: var(--pro-accent); }
.editorial-site .business-member-caption strong, .editorial-site .business-member-auth, html[theme=dark] .editorial-site .business-member-caption strong, html[theme=dark] .editorial-site .business-member-auth { color: var(--pro-ink); }
.editorial-site .business-member-actions > a { border-radius: 0; }
.editorial-site .business-member-actions > a.business-member-create { background: var(--pro-ink); border-color: var(--pro-ink); color: var(--pro-bg); }
.pro-case-section { scroll-margin-top: 72px; }
.pro-case-section .pro-case-feature { margin-top: 0; }

@media (max-width: 1023px) {
  .yx-steps li { margin-bottom: 24px; }
  .yx-head, .yx-group { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .yx-group-side { position: static; }
  .yx-row { grid-template-columns: minmax(0, 1fr) auto 24px; }
  .yx-row-text { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 720px) {
  .pro-case-feature { grid-template-columns: minmax(0, 1fr); }
  .pro-case-feature img { height: auto; border-inline-end: 0; border-block-end: 1px solid var(--pro-rule); }
  
}
@media (prefers-reduced-motion: reduce) {
}

/* Refinements after review */
.yx-head { align-items: start; }
.yx-head-index { padding-top: 8px; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-image { aspect-ratio: 1 / 1; }
.editorial-site .growth:not(.brand-home) .growth-hero .growth-lead { color: var(--yx-band-muted); }
.editorial-site.growth-body .growth-header .brand-account > summary, .editorial-site.growth-body .growth-tools select { border-radius: 0; }
.editorial-site .brand-account > summary { border-radius: 0; }
.editorial-site .platform-catalog-skeleton, .editorial-site .platform-catalog-skeleton > div { border-radius: 0; }

/* Each page carries one kind of content. */
.editorial-site.platform-body .platform-footer { border-top: 1px solid var(--pro-rule); }
.yx-contact-process { padding-block: clamp(48px, 6vw, 80px); }
.editorial-site .yx-contact-process h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: .01em; }
.yx-group > .yx-rows { border-top: 1px solid var(--pro-line); }
.pro-case-section { margin-top: clamp(32px, 5vw, 64px); }
.editorial-site.brand-redesign .growth-nav > a:last-child, .editorial-site.brand-redesign .growth-nav > a:last-child:hover { margin-inline-start: 8px; padding-inline: 14px; border: 1px solid var(--pro-rule); border-radius: 0; background: transparent; color: var(--pro-ink); box-shadow: none; }
.editorial-site .pro-case-section .growth-section-heading { max-width: none; }

/* Every remaining page heading is the same dark band. */
.editorial-site .platform-page-heading { display: block; padding-block: clamp(48px, 6vw, 80px) clamp(36px, 4vw, 56px); border: 0; background: var(--yx-band); color: var(--yx-band-ink); box-shadow: 0 0 0 100vmax var(--yx-band); clip-path: inset(0 -100vmax); }
.editorial-site .platform-page-heading h1 { color: inherit; font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: .01em; }
.editorial-site .platform-page-heading .platform-lead, .editorial-site .platform-page-heading .platform-policy-date { color: var(--yx-band-muted); }
.editorial-site .platform-page-heading .platform-eyebrow { color: var(--yx-mark); font-family: var(--yx-mono); letter-spacing: 0; text-transform: none; }

/* Contact */
.editorial-site .platform-contact-layout { padding-top: clamp(32px, 4vw, 56px); }
.editorial-site .platform-contact-card, .editorial-site .platform-contact-services button { border: 1px solid var(--pro-rule); border-radius: 0; background: var(--pro-bg); box-shadow: none; }
.editorial-site .platform-contact-card.platform-contact-line { background: var(--pro-paper); color: var(--pro-ink); }
.editorial-site .platform-contact-line :is(h2, strong) { color: inherit; }
.editorial-site .platform-contact-line p { color: var(--pro-muted); }
.editorial-site .platform-contact-icon { width: auto; padding: 2px 10px; border: 1px solid var(--pro-rule); border-radius: 0; background: transparent; color: var(--pro-ink); font-family: var(--yx-mono); font-size: 12px; }
.editorial-site .platform-contact-services button:hover { background: var(--pro-paper); }

/* Quiet light surfaces: hero and headings breathe, film sits on a fine frame. */
.editorial-site .platform-button, .editorial-site .growth-button { font-weight: 500; }
.editorial-site .yx-tone .platform-button.yx-button-ghost, .editorial-site .yx-tone .platform-button.yx-button-ghost:hover { border-color: var(--pro-rule); opacity: 1; }
.editorial-site :is(.platform-page-heading,.growth-hero) { border-bottom: 1px solid var(--pro-line); }
.editorial-site .growth-hero .growth-kicker, .editorial-site .platform-page-heading .platform-eyebrow { color: var(--pro-muted); font-weight: 400; }
.editorial-site .growth-hero .growth-dot { background: var(--pro-rule); }
.yx-group { border-top: 1px solid var(--pro-rule); }
.editorial-site .growth-section-heading { border-top: 1px solid var(--pro-rule); }
.yx-head { border-top: 1px solid var(--pro-rule); }
.editorial-site .platform-service-next { border-top: 1px solid var(--pro-rule); }
.editorial-site .platform-shop-filters button[aria-pressed=true] { font-weight: 500; }
.bs-launcher.bs-launcher { box-shadow: 0 2px 10px #1d302a22; }
.editorial-site .platform-contact-icon { align-self: flex-start; }
.editorial-site .growth-hero + .template-library-entry, .editorial-site .growth-hero ~ .template-library-entry { margin-top: 32px; }

/* The home film opens on a quiet logo cover; playback is the original film. */

@media (max-width: 1023px) {
  .yx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .yx-steps { grid-template-columns: minmax(0, 1fr); }
}

/* Home: one clear statement, an index of services, then who we are. */
.hm-kicker { margin: 0; color: var(--pro-muted); font-family: var(--yx-mono); font-size: 13px; letter-spacing: .02em; }
.hm-lead { margin: 0; color: var(--pro-muted); font-size: 16px; line-height: 1.85; }
.hm-hero { position: relative; overflow: hidden; background: var(--pro-paper); border-bottom: 1px solid var(--pro-line); }
.hm-hero-mark { position: absolute; top: -8%; left: -7%; width: min(62vw, 860px); height: auto; pointer-events: none; }
.hm-hero-mark path { fill: none; stroke: var(--pro-ink); stroke-opacity: .07; stroke-width: .35; }
.hm-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 88px); }
.editorial-site .hm-hero h1 { margin: 20px 0 0; color: var(--pro-ink); font-size: clamp(32px, 3.9vw, 54px); font-weight: 500; line-height: 1.3; letter-spacing: .01em; white-space: pre-line; }
.hm-hero .hm-lead { max-width: 34em; margin-top: 20px; }
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.hm-link { display: inline-flex; gap: 8px; padding-block: 6px; border-bottom: 1px solid var(--pro-rule); color: var(--pro-ink); font-size: 15px; font-weight: 500; }
.hm-link:hover { color: var(--pro-muted); }
.hm-index { padding: 20px 24px 8px; border: 1px solid var(--pro-line); background: var(--pro-bg); }
.hm-index-title { margin: 0 0 8px; color: var(--pro-muted); font-family: var(--yx-mono); font-size: 12px; }
.hm-index ol { margin: 0; padding: 0; list-style: none; }
.hm-index li + li { border-top: 1px solid var(--pro-line); }
.hm-index a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: baseline; gap: 8px; padding-block: 13px; transition: padding .15s; }
.hm-index a:hover { padding-inline-start: 6px; }
.hm-index-no { color: var(--pro-muted); font-family: var(--yx-mono); font-size: 12px; }
.hm-index-body { display: grid; gap: 2px; min-width: 0; }
.hm-index-body strong { font-size: 16px; font-weight: 500; }
.hm-index-body small { color: var(--pro-muted); font-size: 13px; line-height: 1.6; }
.hm-index-go { text-align: end; }

.hm-about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: clamp(56px, 8vw, 112px); scroll-margin-top: 64px; }
.editorial-site .hm-about h2, .editorial-site .hm-contact h2 { margin: 14px 0 16px; font-size: clamp(26px, 3vw, 40px); font-weight: 500; line-height: 1.3; letter-spacing: .01em; }
.hm-origin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0 0; border-top: 1px solid var(--pro-rule); }
.hm-origin > div { display: flex; align-items: center; gap: 14px; padding-block: 18px; }
.hm-origin > div + div { padding-inline-start: 20px; border-inline-start: 1px solid var(--pro-line); }
.hm-origin dt img { display: block; width: 52px; height: 52px; object-fit: contain; }
.hm-origin dd { margin: 0; font-size: 14px; line-height: 1.6; }
html[theme=dark] .hm-origin dt img { filter: brightness(0) invert(.9); }
.editorial-site .hm-film .brand-film-stage { overflow: visible; border: 0; border-radius: 0; outline: 1px solid var(--pro-line); background: #f8f6ef; }
.editorial-site .hm-film .brand-film-stage::before, .editorial-site .hm-film .brand-film-stage::after { content: ""; position: absolute; z-index: 2; width: 24px; height: 24px; border: 1px solid var(--pro-rule); pointer-events: none; }
.editorial-site .hm-film .brand-film-stage::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.editorial-site .hm-film .brand-film-stage::after { right: -6px; bottom: -6px; border-left: 0; border-top: 0; }
.editorial-site .hm-film .brand-film-start { background: #f8f6ef; }
.editorial-site .hm-film .brand-film-play { left: 14px; bottom: 14px; transform: none; padding: 9px 14px; border-radius: 0; background: var(--yx-mark); color: var(--pro-bg); box-shadow: none; font-size: 13px; font-weight: 500; }
.editorial-site .hm-film .brand-film figcaption { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; font-size: 12px; }

.hm-process { padding-block: clamp(48px, 6vw, 80px); background: var(--pro-paper); }
.editorial-site .hm-process h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: .01em; }
.yx-head { align-items: baseline; }
.yx-head-index { padding-top: 0; font-weight: 400; }

.hm-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(32px, 6vw, 88px); padding-block: clamp(56px, 8vw, 104px); }
.hm-contact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pro-rule); }
.hm-contact-list a { display: grid; grid-template-columns: 96px minmax(0, 1fr) 20px; align-items: baseline; gap: 12px; padding-block: 15px; border-bottom: 1px solid var(--pro-line); transition: padding .15s; }
.hm-contact-list a:hover { padding-inline-start: 6px; }
.hm-contact-list span:first-child { color: var(--pro-muted); font-size: 13px; }
.hm-contact-list strong { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }

/* Shop: smaller cards, and search above the categories. */
.hm-shop-search { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 16px; padding-inline: 14px; border: 1px solid var(--pro-rule); background: var(--pro-bg); }
.hm-shop-search[hidden] { display: none; }
.hm-shop-search svg { flex: none; color: var(--pro-muted); }
.editorial-site .hm-shop-search input { flex: 1; min-width: 0; height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--pro-ink); font-size: 15px; box-shadow: none; }
.hm-shop-search input::-webkit-search-cancel-button { display: none; }
.hm-shop-search:focus-within { outline: 2px solid var(--pro-accent); outline-offset: 2px; }
.hm-shop-search button { flex: none; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: var(--pro-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.hm-shop-search button[hidden] { display: none; }
.hm-shop-count { flex: none; color: var(--pro-muted); font-family: var(--yx-mono); font-size: 12px; }
.hm-shop-empty { margin: 24px 0; color: var(--pro-muted); font-size: 15px; }
.hm-shop-empty[hidden] { display: none; }
.hm-shop-empty a { color: var(--pro-ink); text-decoration: underline; text-underline-offset: 3px; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card[hidden] { display: none !important; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-grid { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; grid-auto-rows: auto; margin-top: 8px; border: 0; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card { border: 1px solid var(--pro-line); border-radius: 0; transition: border-color .15s; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card:hover { border-color: var(--pro-rule); background: var(--pro-bg); }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-image { aspect-ratio: 1 / 1; border-bottom: 1px solid var(--pro-line); }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-image img { transition: transform .35s ease; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card:hover .platform-product-image img { transform: scale(1.03); }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy { gap: 4px; padding: 12px 14px 14px; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-tag { font-size: 11px; font-weight: 400; color: var(--pro-muted); }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy h2 { font-size: 16px; font-weight: 500; line-height: 1.45; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy > p:not(.platform-product-tag) { font-size: 13px; line-height: 1.6; -webkit-line-clamp: 2; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy .shop-client-help { display: none; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy .shop-client-card-price { margin-top: auto; padding-top: 8px; color: var(--pro-ink); font-size: 15px; font-weight: 500; -webkit-line-clamp: unset; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-image-disclosure { display: block; margin-top: 4px; color: var(--pro-muted); font-size: 11px; line-height: 1.5; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-text-link { min-height: 32px; margin-top: 4px; font-size: 13px; font-weight: 500; }
.editorial-site .platform-stamp-card-prices { gap: 4px 12px; margin-top: auto; padding-top: 8px; font-size: 13px; }

@media (max-width: 1023px) {
  .hm-hero-grid, .hm-about, .hm-contact { grid-template-columns: minmax(0, 1fr); }
  .hm-hero-mark { width: 92vw; left: -14%; }
}
@media (max-width: 720px) {
  .hm-origin { grid-template-columns: minmax(0, 1fr); }
  .hm-origin > div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--pro-line); }
  .hm-index { padding-inline: 16px; }
  .hm-contact-list a { grid-template-columns: 76px minmax(0, 1fr) 20px; }
  .editorial-site.platform-body[data-platform-page="shop"] .platform-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hm-shop-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-index a, .hm-contact-list a, .editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-image img { transition: none; }
  .editorial-site.platform-body[data-platform-page="shop"] .platform-product-card:hover .platform-product-image img { transform: none; }
}
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card { padding: 0; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy > p.shop-client-help { display: none; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-product-copy > p.shop-client-card-price { display: block; margin-top: auto; padding-top: 8px; overflow: visible; color: var(--pro-ink); font-size: 15px; font-weight: 500; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-stamp-card-prices { flex-direction: row; flex-wrap: wrap; }
.editorial-site.platform-body[data-platform-page="shop"] .platform-product-card .platform-stamp-card-prices p { -webkit-line-clamp: unset; }
