/* Layout: one 1240px column; full-width bands alternate light / mist / navy, cut on the diagonal of the Yamamori logo slash. */
:root {
  color-scheme: light dark;
  --bg: #F3F4F6;        /* polished-silver ground */
  --mist: #E6E8EC;      /* alternate band */
  --surface: #FFFFFF;
  --ink: #11131A;
  --muted: #4C5563;
  --line: #CDD2D9;
  --accent: #121C78;    /* Yamamori navy (from logo) */
  --logo: #0B1466;
  --on-accent: #FFFFFF;
  --band: #0C1243;      /* deep Yamamori navy band */
  --band-ink: #F3F4F6;
  --band-muted: #AEB6D8;
  --band-line: #2A3270;
  --studio: #070A22;    /* product studio backdrop */
  --gold: #C9A447;      /* GOS plating */
  --rhodium: #C8CCD2; --kplating: #ECE8DE; --gos: #C9A447; --rosegold: #C98F74;
  --ok: #2F6B4F;
  --error: #A33A2C;
  --display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121417; --mist: #181C20; --surface: #1D2227; --ink: #E8EBEE; --muted: #A3ADB6;
    --line: #2C3238; --accent: #B4BEEA; --on-accent: #0E1230; --logo: #E8EBEE; --band: #080B26; --band-ink: #E8EBEE;
    --band-muted: #A3ADB6; --band-line: #252B5A; --studio: #05071A; --ok: #7CC4A0; --error: #F0907F; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121417; --mist: #181C20; --surface: #1D2227; --ink: #E8EBEE; --muted: #A3ADB6;
  --line: #2C3238; --accent: #B4BEEA; --on-accent: #0E1230; --logo: #E8EBEE; --band: #080B26; --band-ink: #E8EBEE;
  --band-muted: #A3ADB6; --band-line: #252B5A; --studio: #05071A; --ok: #7CC4A0; --error: #F0907F; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); }
h3 { margin: 0; font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(64px, 9vw, 104px); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--band); color: var(--band-ink); }
.band-ink .muted, .band-ink .lead { color: var(--band-muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.eyebrow { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.band-ink .eyebrow { color: var(--band-muted); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.head-row > * { min-width: 0; }
.head-row .stack { max-width: 680px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 2px;
  font: 600 0.95rem/1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); transition: opacity .15s, background .15s; }
.btn:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); opacity: 1; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { flex: none; }
.brand-name { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.1; }
.brand-sub { display: block; font-size: 0.6rem; letter-spacing: 0.26em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
.nav a, .header-tools .btn { white-space: nowrap; }
@media (max-width: 1360px) { .brand .brand-sub { display: none; } }
.nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; }
.lang button { min-height: 40px; min-width: 44px; border: 0; background: transparent; color: var(--muted); font: 600 0.8rem var(--body); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 2px; cursor: pointer; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 16px var(--gutter-l); }
  .nav.open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .header-tools .btn { display: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: clamp(48px, 8vw, 88px); }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-media { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-media img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-media img:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); display: flex; flex-direction: column; gap: 20px; max-width: 820px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; padding-block: 44px; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact b { font-family: var(--display); font-weight: 500; font-size: 2.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { font-size: 0.85rem; color: var(--band-muted); }

/* Grid of services */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { background: var(--surface); padding: 34px 28px; display: flex; flex-direction: column; gap: 12px; }
.tile p { color: var(--muted); font-size: 0.95rem; }
.tile-mark { font-family: var(--display); font-size: 1.1rem; font-style: italic; color: var(--muted); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 0.75rem; letter-spacing: 0.2em; font-weight: 700; color: var(--muted); }
.steps h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 600; }
.steps p { font-size: 0.9rem; color: var(--muted); }

.process-detail { display: flex; flex-direction: column; gap: 72px; }
.pd-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pd-row:nth-child(even) { flex-direction: row-reverse; }
.pd-row img { flex: 1 1 380px; min-width: 0; width: 100%; object-fit: cover; }
.pd-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pd-copy ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.stage-no { font-size: 0.75rem; letter-spacing: 0.2em; font-weight: 700; color: var(--muted); text-transform: uppercase; }

/* Collections */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
.cat-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.cat-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.cat-card .img-box { overflow: hidden; }
.cat-card:hover img { transform: scale(1.03); }
.cat-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cat-name { font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; font: 500 0.88rem var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product { display: flex; flex-direction: column; gap: 12px; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.product h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 0.85rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.add-btn[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: var(--on-accent); }
.sample-note { font-size: 0.85rem; color: var(--muted); border: 1px dashed var(--line); padding: 12px 16px; }

/* Quality */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > img { flex: 1 1 400px; min-width: 0; width: 100%; object-fit: cover; }
.split > .stack { flex: 1 1 440px; min-width: 0; gap: 26px; }
.qlist { display: flex; flex-direction: column; }
.qlist div { padding-block: 18px; border-bottom: 1px solid var(--band-line); display: flex; flex-direction: column; gap: 4px; }
.qlist div:last-child { border-bottom: 0; }
.qlist p { color: var(--band-muted); font-size: 0.95rem; }

/* Order steps */
.order { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; counter-reset: o; }
.order li { counter-increment: o; background: var(--surface); border: 1px solid var(--line); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.order li::before { content: counter(o); font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--muted); }
.order b { font-size: 1rem; }
.order span { font-size: 0.9rem; color: var(--muted); }
.terms { font-size: 0.9rem; color: var(--muted); }

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.values div { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.values p { color: var(--muted); }
.kanji { font-family: var(--display); font-size: 2rem; }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta h2 { max-width: 18ch; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info dt { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-info dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 0.75rem var(--body); border-radius: 2px; cursor: pointer; }
.form { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.82rem; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 10px 12px; font: 400 0.95rem var(--body); border-radius: 2px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field .err { font-size: 0.8rem; color: var(--error); }
.field [aria-invalid="true"] { border-color: var(--error); }
.req { color: var(--muted); font-weight: 400; }
.inq-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.inq-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); padding: 8px 8px 8px 14px; font-size: 0.9rem; }
.inq-list button { min-height: 36px; min-width: 36px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 600 0.8rem var(--body); }
.notice { border: 1px solid var(--ok); color: var(--ink); background: var(--bg); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.notice b { color: var(--ok); }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: 56px 40px; }
.footer-inner .brand-name { color: var(--band-ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { text-decoration: none; color: var(--band-ink); }
.footer-legal { width: 100%; font-size: 0.78rem; border-top: 1px solid var(--band-line); padding-top: 20px; }

/* Language switch: paired spans */
:root[data-lang="id"] [data-l="en"], :root:not([data-lang="id"]) [data-l="id"] { display: none !important; }

/* Chain catalog */
.style-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.style-list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.style-list span { font-family: var(--body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-group { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.chain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.chain { background: var(--surface); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.chain img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg); }
.chain .code { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.chain h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.chain .btn { margin-top: auto; align-self: flex-start; }

/* Factories */
.factories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.factories figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.factories img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.factories figcaption { display: flex; flex-direction: column; gap: 4px; }
.factories figcaption b { font-family: var(--display); font-size: 1.6rem; font-weight: 600; }

/* Logo (mask so it follows the theme colour) */
.logo { display: block; flex: none; align-self: flex-start; background: var(--logo); -webkit-mask: var(--logo-src) no-repeat center / contain; mask: var(--logo-src) no-repeat center / contain; }
.logo-wordmark { --logo-src: url("../img/logo-wordmark.png"); height: 28px; aspect-ratio: 995 / 144; }
.logo-full { --logo-src: url("../img/logo-full.png"); height: 56px; aspect-ratio: 995 / 205; background: var(--band-ink); }
.brand .brand-sub { line-height: 1.35; padding-left: 12px; border-left: 1px solid var(--line); }
@media (max-width: 520px) { .brand .brand-sub { display: none; } .logo-wordmark { height: 22px; } }

/* ===== v2 character: logo slash, spec sheet, plating ===== */
.btn { border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%); padding-left: 32px; }
.btn-ghost { clip-path: none; padding-left: 26px; }
.slash-u { display: block; width: 56px; height: 6px; background: var(--accent); transform: skewX(-40deg); }
.slash-u.gold { background: var(--gold); }
.cut { position: relative; display: inline-block; }
.cut::after { content: ""; position: absolute; left: -4%; right: -4%; top: 58%; height: 0.07em; background: var(--band); transform: rotate(-3.2deg); }
.slant-top { clip-path: polygon(0 clamp(24px, 4vw, 56px), 100% 0, 100% 100%, 0 100%); }
.slant-img { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.mono { font-family: var(--mono); }
.fig { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; background: var(--bg); color: var(--ink); padding: 6px 10px; }
.brand-sub { font-family: var(--mono); letter-spacing: 0.12em; }
.site-footer { background: var(--band); }
.eyebrow.on-dark, .band-ink .eyebrow { color: var(--band-muted); }

/* Hero: product studio */
.hero-v2 { background: var(--studio); color: #F3F4F6; }
.hero-v2-inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: stretch; padding-left: var(--gutter-l); }
@media (min-width: 700px) { .hero-v2-inner { padding-left: max(32px, env(safe-area-inset-left, 0px)); } }
.hero-v2-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-block: clamp(48px, 8vw, 96px); padding-right: var(--gutter-r); }
.hero-v2-copy .lead { color: #C9CEDF; }
.hero-v2-copy .eyebrow { color: #AEB6D8; }
.hero-v2 .btn { background: #F3F4F6; border-color: #F3F4F6; color: #0C1243; font-weight: 700; }
.hero-v2 .btn-ghost { background: transparent; border-color: #AEB6D8; color: #F3F4F6; }
.hero-v2-media { flex: 1 1 520px; min-width: 0; margin: 0; position: relative; min-height: clamp(320px, 52vw, 640px); }
.hero-v2-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero-v2-media .tag { position: absolute; display: flex; align-items: center; gap: 8px; right: max(16px, 4%); }
.hero-v2-media .tag i { display: block; width: clamp(30px, 6vw, 80px); height: 1px; background: #F3F4F6; }
.hero-v2-media .tag.gold i { background: var(--gold); }
.hero-v2-media .tag span { font-family: var(--mono); font-size: 0.7rem; padding: 6px 10px; background: #F3F4F6; color: #11131A; }
.hero-v2-media .tag.gold span { background: var(--gold); }
.hero-v2-media .note { position: absolute; left: 18%; bottom: 14px; font-family: var(--mono); font-size: 0.62rem; color: #8C93B8; letter-spacing: 0.06em; }
@media (max-width: 760px) { .hero-v2-media { margin-left: calc(-1 * var(--gutter-l)); } .hero-v2-media img { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); } .hero-v2-media .note { left: 16px; } }

/* Chain divider */
.chain-line { display: block; width: 100%; height: 26px; color: var(--accent); }

/* Facts with the logo cut */
.facts-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding-block: clamp(80px, 10vw, 120px) clamp(56px, 7vw, 72px); }
.facts-v2 b { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 7vw, 5.2rem); line-height: 1; }
.facts-v2 span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--band-muted); text-transform: uppercase; }

/* Factory band with timeline card */
.heritage { position: relative; background: var(--band); }
.heritage > img { width: 100%; height: clamp(360px, 42vw, 560px); object-fit: cover; }
.heritage .fig { position: absolute; top: 20px; right: max(16px, 2vw); background: #11131A; color: #F3F4F6; }
.heritage-card { background: var(--bg); padding: clamp(24px, 4vw, 40px); max-width: 680px; display: flex; flex-direction: column; gap: 22px; }
.heritage-pos { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vw, 64px); }
@media (max-width: 760px) { .heritage-pos { position: static; padding-block: 0 32px; } .heritage-card { margin-top: -40px; position: relative; } }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.timeline div { border-top: 2px solid var(--accent); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.timeline b { font-family: var(--display); font-size: 1.9rem; font-weight: 600; }
.timeline span { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* Process cards */
.proc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.proc figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.proc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.proc figcaption { display: flex; flex-direction: column; gap: 6px; }
.proc .n { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.proc b { font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.proc figcaption > span:last-child { font-size: 0.9rem; color: var(--muted); }

/* Spec-sheet chain cards */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.spec { background: var(--surface); border: 1px solid var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; text-align: left; font: inherit; }
.spec-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.75rem; }
.spec-top b { color: var(--accent); font-weight: 500; }
.spec-top span { color: var(--muted); }
.spec svg { width: 100%; height: 52px; color: var(--ink); }
.spec .dim { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.62rem; color: var(--muted); }
.spec .dim i { flex: 1; height: 1px; background: currentColor; }
.spec h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 600; }
.dots { display: flex; gap: 6px; align-items: center; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.dots small { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); margin-left: 4px; }
.d-rh { background: var(--rhodium); } .d-k { background: var(--kplating); } .d-gos { background: var(--gos); } .d-rg { background: var(--rosegold); }

/* Plating band */
.plating-v2 { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.plating-v2 > .stack { flex: 1 1 340px; min-width: 0; }
.swatch-row { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.swatch-row div { display: flex; flex-direction: column; gap: 12px; }
.swatch-row i { display: block; height: clamp(120px, 18vw, 220px); clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
.swatch-row span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 520px) { .swatch-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; } }

/* CTA navy */
.cta-v2 { background: var(--accent); color: var(--on-accent); }
.cta-v2 h2 { max-width: 20ch; }
.cta-v2 .btn { background: var(--on-accent); border-color: var(--on-accent); color: var(--accent); font-weight: 700; }

/* Chain builder (catalog) */
.builder { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.builder-pick { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.builder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.builder-grid .spec { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; min-height: 44px; }
.builder-grid .spec[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); background: var(--mist); }
.builder-grid .spec h3 { font-size: 1.35rem; }
.step-label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
.builder-panel { flex: 1 1 320px; min-width: 0; background: var(--surface); border: 1px solid var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
@media (max-width: 960px) { .builder-panel { position: static; } }
.builder-panel .sel-name { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1.15; }
.builder-panel svg { width: 100%; height: 60px; color: var(--ink); }
.len-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.len-chips button { min-height: 44px; min-width: 64px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 400 0.82rem var(--mono); cursor: pointer; }
.len-chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fin-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.fin-row button { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--ink); padding: 6px 2px; min-height: 44px; font: 500 0.6rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.fin-row i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.fin-row button[aria-pressed="true"] i { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.summary { border-top: 1px dashed var(--muted); padding-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.summary output { font-family: var(--mono); font-size: 0.82rem; line-height: 1.6; }
.added { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.added li { font-family: var(--mono); font-size: 0.75rem; background: var(--bg); padding: 8px 10px; }

/* ===== Phone refinements ===== */
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.lang button { min-height: 44px; }

/* Sticky specification bar (catalog, phones and tablets) */
.spec-bar { display: none; }
@media (max-width: 960px) {
  .spec-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: var(--band); color: var(--band-ink); border-top: 1px solid var(--band-line); transition: transform .2s ease; }
  .spec-bar[data-hidden="true"] { transform: translateY(110%); }
  .spec-bar output { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.75rem; line-height: 1.4; }
  .spec-bar button { flex: none; min-height: 44px; padding: 0 16px 0 22px; border: 0; background: var(--band-ink); color: var(--band); font: 700 0.85rem var(--body); cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
  .has-spec-bar .site-footer { padding-bottom: 72px; }
}

@media (max-width: 700px) {
  /* Facts 2 x 2 */
  .facts-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 72px 48px; }
  .facts-v2 b { font-size: 3rem; }
  .facts-v2 span { font-size: 0.66rem; }
  /* Spec cards and builder in two columns */
  .spec-grid, .builder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid { gap: 12px; }
  .spec { padding: 14px; gap: 8px; }
  .spec svg { height: 34px; }
  .spec h3, .builder-grid .spec h3 { font-size: 1.15rem; }
  .spec .dim, .dots small { display: none; }
  .spec-top span { display: none; }
  /* Shorter plating swatches */
  .swatch-row i { height: 72px; }
  /* Compact order steps */
  .order { grid-template-columns: 1fr; gap: 8px; }
  .order li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 14px 16px; }
  .order li::before { grid-row: span 2; font-size: 1.6rem; }
  /* Process: tighter images */
  .proc img { aspect-ratio: 16 / 9; }
  .section { padding-block: 56px; }
  .stack-lg { gap: 32px; }
  h2 { font-size: 1.9rem; }
}
.brand { min-height: 44px; }

/* ===== Motion & modern touches ===== */
/* 1. Marquee */
.marquee { overflow: hidden; background: var(--bg); border-block: 1px solid var(--line); padding-block: 14px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--ink); white-space: nowrap; }
.marquee-track i { display: block; width: 18px; height: 4px; background: var(--accent); transform: skewX(-40deg); }
.marquee-track i:nth-of-type(4n+3) { background: var(--gold); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 3. Statement with word-by-word reveal */
.statement { background: var(--studio); color: #F3F4F6; padding-block: clamp(80px, 12vw, 160px); }
.statement .wrap { display: flex; flex-direction: column; gap: 28px; }
.statement .eyebrow { color: #AEB6D8; }
.reveal-words { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.15; max-width: 22ch; text-wrap: balance; }
.reveal-words .w { transition: opacity .35s ease, color .35s ease; }
.js-motion .reveal-words .w { opacity: 0.18; }
.js-motion .reveal-words .w.on { opacity: 1; }

/* 4. Reveal on scroll (only below the first screen, only when JS runs) */
.js-motion .reveal.pending, .js-motion .reveal-stagger.pending > * { opacity: 0; transform: translateY(18px); }
.reveal, .reveal-stagger > * { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger > *:nth-child(2) { transition-delay: .08s; } .reveal-stagger > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .24s; } .reveal-stagger > *:nth-child(5) { transition-delay: .32s; }
.js-motion .slant-img.pending, .js-motion .proc img.pending { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.slant-img, .proc img { transition: clip-path 1.1s cubic-bezier(.6,0,.2,1); }

/* 5. Button hover: a slash sweeps across */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: currentColor; opacity: .14; transform: skewX(-30deg) translateX(-120%); transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.btn:hover::after, .btn:focus-visible::after { transform: skewX(-30deg) translateX(520%); }
.btn:hover { opacity: 1; }

/* 6. Chain carousel */
.carousel { display: flex; flex-direction: column; gap: 16px; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { height: 4px; } .carousel-track::-webkit-scrollbar-thumb { background: var(--line); }
@media (min-width: 1000px) { .carousel-track { grid-auto-columns: calc((100% - 48px) / 4); } }
.carousel-track .spec { scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; gap: 8px; }
.car-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.car-btn:hover { background: var(--ink); color: var(--bg); }
.car-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.car-count { margin-left: 8px; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); }
@media (max-width: 700px) {
  .carousel-track { grid-auto-columns: 62%; gap: 12px; margin-right: calc(-1 * var(--gutter-r)); padding-right: var(--gutter-r); }
  .carousel-track .spec .dim, .carousel-track .spec-top span { display: flex; }
  .carousel-nav { display: none; }
}

/* 7. Floating quick actions */
.float-ui { position: fixed; z-index: 25; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; pointer-events: none; }
.float-ui > * { pointer-events: auto; opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
.float-ui.show > * { opacity: 1; transform: none; }
.float-ui:not(.show) > * { visibility: hidden; }
.to-top { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--band); color: var(--band-ink); cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
.float-quote { display: none; }
@media (max-width: 960px) {
  .float-quote { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px 0 26px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 0.9rem; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); box-shadow: 0 8px 24px rgba(7,10,34,.25); }
  .has-spec-bar .float-ui { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .has-spec-bar .float-quote { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js-motion .reveal.pending, .js-motion .reveal-stagger.pending > * { opacity: 1; transform: none; }
  .js-motion .slant-img.pending, .js-motion .proc img.pending { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .js-motion .reveal-words .w { opacity: 1; }
  .btn::after { display: none; }
}

/* Process: 7 stages */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 620px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stage-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.stage-card > img, .stage-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.stage-ph { position: relative; background: #0C1243; color: #fff; overflow: hidden; }
.stage-ph svg { position: absolute; inset: 18% -10% auto -10%; width: 120%; height: 40%; color: rgba(255,255,255,.14); }
.stage-ph b { position: absolute; left: 20px; bottom: 10px; font-family: var(--display); font-weight: 600; font-size: clamp(4rem, 9vw, 6rem); line-height: 1; letter-spacing: -.02em; }
.stage-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.stage-body h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.stage-body p { font-size: .92rem; }
.stage-check { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: .82rem; display: flex; gap: 8px; }
.stage-check::before { content: "✓"; color: var(--accent); font-weight: 700; }
.stage-cta { background: #121C78; border-color: #121C78; color: #fff; justify-content: flex-end; }
.stage-cta .stage-no, .stage-cta p { color: rgba(255,255,255,.75); }
.stage-cta .link-arrow { color: #fff; margin-top: 8px; }

/* Catalog hero with photo */
.hero-split { display: grid; grid-template-columns: 1fr; gap: 8px 56px; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); padding-bottom: 48px; } }
.range-fig { margin: 0 0 40px; display: flex; flex-direction: column; gap: 10px; }
.range-fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.range-fig figcaption { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .range-fig { margin: 56px 0 0; } }

/* Chain cards: real photos (dark fabric), glyph fallback on the same dark ground */
.spec-media { display: block; width: 100%; aspect-ratio: 4 / 3; background: #141414; overflow: hidden; }
.spec-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.spec-media.glyph { display: grid; place-items: center; }
.spec .spec-media svg, .builder-panel .spec-media svg, .spec-media.glyph svg { width: 82%; height: auto; aspect-ratio: 220 / 60; color: #C8CCD2; }
.spec:hover .spec-media img { transform: scale(1.04); }
.builder-panel .sel-media { margin-block: 6px; }
@media (max-width: 700px) { .spec .spec-media svg { height: auto; } }
@media (prefers-reduced-motion: reduce) { .spec:hover .spec-media img { transform: none; } }

/* Product specification card */
.builder-panel { border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(12,18,67,.45); padding: clamp(20px, 3vw, 30px); gap: 22px; }
.builder-panel .sel-media { border-radius: 10px; aspect-ratio: 16 / 10; }
.spec-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .8rem; font-variant-numeric: tabular-nums; margin-top: 4px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; border-color: var(--accent); }
.spec-table tbody th { font-weight: 400; color: var(--muted); width: 48%; }
.spec-table tbody tr:nth-child(even) { background: var(--mist); }
.spec-table td small { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.spec-note { font-size: .78rem; color: var(--muted); margin: -8px 0 0; }
.len-chips button { border-radius: 10px; }
.fin-row i { width: 42px; height: 42px; border: 0; }
.fin-row i.d-rh { --c: var(--rhodium); } .fin-row i.d-k { --c: var(--kplating); } .fin-row i.d-gos { --c: var(--gos); } .fin-row i.d-rg { --c: var(--rosegold); }
.fin-row i.d-rh, .fin-row i.d-k, .fin-row i.d-gos, .fin-row i.d-rg {
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95) 0, rgba(255,255,255,0) 30%),
              radial-gradient(circle at 50% 50%, var(--c) 0 48%, color-mix(in srgb, var(--c) 55%, #000) 100%);
  box-shadow: 0 6px 10px -4px rgba(0,0,0,.35), inset -3px -4px 8px rgba(0,0,0,.18); }
.fin-row button[aria-pressed="true"] i { box-shadow: 0 6px 10px -4px rgba(0,0,0,.35), inset -3px -4px 8px rgba(0,0,0,.18), 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.builder-panel .summary { border-top: 1px dashed var(--line); padding-top: 18px; }

/* Size variants (e.g. Cable SK 30–55) */
.size-chips button { min-width: 0; padding: 0 12px; }
.size-fig { margin: 2px 0 0; display: flex; flex-direction: column; gap: 6px; }
.size-fig img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 8px; background: #3a3a3a; }
.size-fig figcaption { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Catalog search */
.cat-search { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; padding: 0 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); }
.cat-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.cat-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 .95rem var(--body); min-height: 46px; }
.cat-search input::placeholder { color: var(--muted); }
.cat-search span { font-size: .72rem; white-space: nowrap; }
.search-empty { margin: 0 0 16px; padding: 16px; border: 1px dashed var(--line); color: var(--muted); font-size: .9rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Leadership page */
.team-head { display: flex; align-items: baseline; gap: 16px; }
.team-no { font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.team-head h2 { white-space: nowrap; }
.team-rule { flex: 1; height: 1px; background: var(--line); transform-origin: left; transition: transform 1.2s cubic-bezier(.6,0,.2,1) .2s; }
.js-motion .team-head.pending .team-rule { transform: scaleX(0); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); margin-bottom: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } .team-head h2 { white-space: normal; } }
.person { display: flex; flex-direction: column; gap: 18px; }
.person-photo { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--mist); clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease; filter: saturate(.92); }
.person-photo::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: right; transition: transform 1s cubic-bezier(.7,0,.2,1); transform: scaleX(0); }
.js-motion .reveal-stagger.pending .person-photo::after { transform: scaleX(1); transform-origin: left; }
.person:hover .person-photo img { transform: scale(1.05); filter: saturate(1.05); }
.person-body { display: flex; flex-direction: column; gap: 6px; }
.person-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.person h3 { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.2; position: relative; padding-bottom: 12px; }
.person h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--gos); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: width .5s ease; }
.person:hover h3::after { width: 72px; }
.person p { color: var(--muted); font-size: .95rem; }
.lead-person .person-tag::before { content: "★ "; color: var(--gos); }
@media (prefers-reduced-motion: reduce) { .person-photo::after { display: none; } .team-rule { transition: none; } }

/* Export markets: globe + map */
.globe-band { background: var(--studio); color: #E8EBEE; padding-block: clamp(36px, 6vw, 64px) clamp(40px, 6vw, 72px); clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%); margin-top: -8px; }
.globe-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: clamp(16px, 3vw, 32px); }
.globe-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); }
.globe-stats b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; }
.globe-stats span { display: block; margin-top: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #A3ADB6; }
.globe-replay { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #333A70; background: transparent; color: #E8EBEE; font: 500 .8rem var(--mono); cursor: pointer; border-radius: 999px; }
.globe-replay:hover { border-color: #C9A447; color: #C9A447; }
.globe-stage { position: relative; margin-top: 24px; }
.globe-stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.globe-caption { margin: 8px 0 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #A3ADB6; text-align: center; }
.g-sphere { fill: #0E1440; stroke: #2B3480; stroke-width: 1; }
.g-grat { fill: none; stroke: rgba(180,190,234,.12); stroke-width: .6; }
.g-land { fill: #1A2366; stroke: #0E1440; stroke-width: .4; }
.g-hit { fill: #4A5DE0; stroke: #0E1440; stroke-width: .4; }
.g-origin { fill: #C9A447; stroke: #fff; stroke-width: 1.5; }
.g-globe, .g-map { transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); transform-origin: 480px 260px; transform-box: view-box; }
.g-map { opacity: 0; transform: scale(.94); pointer-events: none; }
.is-map .g-globe { opacity: 0; transform: scale(1.25); }
.is-map .g-map { opacity: 1; transform: none; }
.m-sphere { fill: #0B1136; stroke: #232B6B; stroke-width: 1; }
.m-grat { fill: none; stroke: rgba(180,190,234,.08); stroke-width: .6; }
.m-land { fill: #161D52; stroke: #0B1136; stroke-width: .4; }
.m-hit { fill: #4457D8; stroke: #0B1136; stroke-width: .4; }
.m-arc { fill: none; stroke: #C9A447; stroke-width: 1.6; stroke-linecap: round; opacity: .95; transition: stroke-dashoffset 1.4s cubic-bezier(.5,0,.2,1); }
.m-dot { fill: #C9A447; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity .3s ease 1.1s, transform .5s cubic-bezier(.3,1.6,.5,1) 1.1s; }
.m-label { fill: #E8EBEE; font: 500 13px var(--mono); letter-spacing: .04em; opacity: 0; transition: opacity .5s ease 1.3s; paint-order: stroke; stroke: #070A22; stroke-width: 3px; }
.routes-on .m-dot { opacity: 1; transform: scale(1); }
.routes-on .m-label { opacity: 1; }
.m-origin { fill: #fff; stroke: #C9A447; stroke-width: 2; }
.m-origin-label { fill: #fff; font-weight: 500; opacity: 1; }
.m-plane { fill: #FFFFFF; stroke: #C9A447; stroke-width: .7; stroke-linejoin: round; }
.m-pulse { fill: none; stroke: #fff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: mpulse 2.2s ease-out infinite; }
@keyframes mpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.no-map svg { display: none; }
@media (max-width: 640px) { .m-label { font-size: 22px; } .m-label:not(.m-origin-label) { display: none; } .m-dot { r: 6; } .m-arc { stroke-width: 2.4; } }
@media (prefers-reduced-motion: reduce) { .m-pulse { animation: none; opacity: 0; } .m-arc, .m-dot, .m-label, .g-globe, .g-map { transition: none !important; } }

.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.region { background: var(--surface); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.region-no { font-family: var(--mono); font-size: .72rem; color: var(--accent); letter-spacing: .1em; }
.region h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.region ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.region li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.region li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gos); flex: none; }
.region li:has(> ul.sub) { flex-wrap: wrap; row-gap: 6px; }
.region ul.sub { flex-basis: 100%; padding-left: 17px; gap: 4px; }
.region ul.sub li { font-size: .88rem; color: var(--muted); }
.region ul.sub li::before { width: 5px; height: 5px; background: transparent; border: 1px solid var(--gos); }

/* Plating samples: plain box so the labels are never cut */
.sample-img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }

/* Design items (SD series) with photos */
.chain-grid:has(.design-item) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .chain-grid:has(.design-item) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .chain-grid:has(.design-item) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.design-item { padding: 0 0 18px; overflow: hidden; }
.design-item > :not(.design-photo) { margin-inline: 18px; }
.design-photo { overflow: hidden; background: #A9AAB3; }
.design-item .design-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: none; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.design-item:hover .design-photo img { transform: scale(1.05); }
.design-item .code { margin-top: 6px; }
.design-item h3 { font-size: 1.35rem; }
@media (prefers-reduced-motion: reduce) { .design-item:hover .design-photo img { transform: none; } }

/* Catalog: full-width style grid + product popup */
.builder-full { display: flex; flex-direction: column; gap: 14px; }
.builder-full .builder-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.builder-full .spec { position: relative; transition: background .2s ease; }
.builder-full .spec:hover { background: var(--mist); }
.builder-full .spec-media { position: relative; }
.size-badge { position: absolute; top: 10px; right: 10px; background: var(--gos); color: #14161C; font-size: .66rem; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; }
.spec-cta { font-size: .82rem; font-weight: 600; color: var(--accent); }
html.dlg-lock { overflow: hidden; }
.spec-dialog { border: 0; padding: 0; width: calc(100% - 48px); max-width: 1160px; max-height: calc(100dvh - 48px); overflow: auto; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.spec-dialog::backdrop { background: rgba(7,10,34,.62); backdrop-filter: blur(4px); }
.spec-dialog[open] { animation: dlgIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.dlg-inner { display: flex; flex-wrap: wrap; }
.dlg-gallery { flex: 1 1 540px; min-width: 0; background: #101114; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.dlg-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #000; cursor: zoom-in; }
.dlg-stage img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.dlg-stage.is-strip img { object-fit: contain; }
.dlg-stage.zoomed { cursor: zoom-out; touch-action: none; }
.dlg-stage.zoomed img { transform: scale(2.4); }
.dlg-hint { position: absolute; left: 12px; bottom: 12px; background: rgba(16,17,20,.8); color: #E8EBEE; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; pointer-events: none; }
.dlg-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.dlg-thumb { width: 96px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #222; cursor: pointer; }
.dlg-thumb.wide { width: 170px; }
.dlg-thumb[aria-pressed="true"] { border-color: var(--gos); }
.dlg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlg-cap { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8C93A6; }
.dlg-body { flex: 1 1 380px; min-width: 0; padding: 26px 30px 24px; display: flex; flex-direction: column; gap: 18px; }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dlg-head h2 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.1; }
.dlg-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.dlg-close:hover { border-color: var(--accent); }
.dlg-select { min-height: 50px; padding: 0 14px; border: 1px solid var(--muted); border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 .92rem var(--mono); width: 100%; }
.dlg-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.dlg-none { margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: .85rem; }
.dlg-summary { border-top: 1px dashed var(--line); padding-top: 16px; }
.dlg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.dlg-actions .btn { flex: 1 1 220px; justify-content: center; }
.dlg-actions .link-arrow { font-size: .8rem; }
.dlg-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.dlg-nav button { min-height: 44px; border: 0; background: transparent; color: var(--accent); font: 600 .85rem var(--body); cursor: pointer; }
@media (max-width: 700px) {
  .spec-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .dlg-gallery { padding: 14px 16px 16px; }
  .dlg-body { padding: 18px 16px 0; }
  .dlg-close { position: fixed; top: 12px; right: 12px; z-index: 5; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
  .dlg-summary { position: sticky; bottom: 0; background: var(--surface); margin-inline: -16px; padding: 12px 16px 16px; box-shadow: 0 -10px 24px -16px rgba(0,0,0,.25); z-index: 2; }
  .dlg-nav { padding-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .spec-dialog[open] { animation: none; } .dlg-stage img { transition: none; } }

/* popup: short product video */
.dlg-stage video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.dlg-stage.is-video { cursor: default; }
.dlg-thumb.is-video { position: relative; }
.dlg-thumb.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: rgba(12,18,67,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l8 5-8 5z' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* design items open the spec popup like chain cards */
button.design-item { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
button.design-item .design-photo { display: block; position: relative; }
button.design-item .spec-cta { margin-top: 4px; }
button.design-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* search suggestions */
.cat-search { position: relative; }
.search-results { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(12,18,67,.45); max-height: min(70vh, 520px); overflow-y: auto; }
.search-results li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.search-results li[aria-selected="true"], .search-results li:hover { background: var(--mist); }
.search-results img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; background: #111; }
.search-results b { display: block; font-weight: 600; font-size: .92rem; }
.search-results small { display: block; font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 2px; }
.search-results i { font-style: normal; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.search-results .sr-more { display: block; cursor: default; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.search-results .sr-more:hover { background: none; }
@media (max-width: 560px) { .search-results li { grid-template-columns: 44px 1fr; } .search-results i { display: none; } }
