/* Layout: one 1240px column; full-width bands alternate light / mist / navy, cut on the diagonal of the Yamamori logo slash. */
:root {
  --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: 28px; }
.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: 960px) {
  .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; }

/* Toyama 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; }
}
