/* Spectrum Colors — site styles */
:root {
  --ink: #0F1720;
  --ink-2: #131E28;
  --line-dark: #2A3540;
  --paper: #F5F4F0;
  --sand: #E9E6DE;
  --white: #FFFFFF;
  --line: #DEDBD3;
  --input: #BDB9AF;
  --muted: #55524A;
  --muted-dark: #A9B4BE;
  --soft-dark: #C9D1D8;
  --accent: #C2410C;
  --accent-hover: #A3360A;
  --cyan: #0096BE;
  --magenta: #C4007A;
  --magenta-light: #E0369A;
  --yellow: #F2C200;
  --display: Archivo, "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3, .h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3, .h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 16px; }
.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 12px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.narrow { max-width: 760px; }
.lead { font-size: 1.2rem; color: var(--soft-dark); max-width: 640px; }
.lead-dark { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.eyebrow--yellow { color: var(--yellow); }

/* CMYK stripe */
.cmyk { display: flex; height: 6px; }
.cmyk i { flex: 1; }
.cmyk i:nth-child(1) { background: var(--cyan); }
.cmyk i:nth-child(2) { background: var(--magenta); }
.cmyk i:nth-child(3) { background: var(--yellow); }
.cmyk i:nth-child(4) { background: #3A4651; }
.cmyk--short { width: 160px; margin-bottom: 32px; }
.c { color: var(--cyan); } .m { color: var(--magenta-light); } .y { color: var(--yellow); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.92rem; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-hover); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #26323D; color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Utility bar + header */
.utility { background: var(--ink); color: var(--soft-dark); font-family: var(--mono); font-size: 0.8rem; }
.utility__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.utility__group { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.utility a { color: var(--soft-dark); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.utility a:hover, .utility__strong { color: var(--white) !important; }
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { display: grid; grid-template-columns: repeat(2, 13px); gap: 3px; }
.brand__mark i { width: 13px; height: 13px; display: block; }
.brand__mark .c { background: var(--cyan); } .brand__mark .m { background: var(--magenta); } .brand__mark .y { background: var(--yellow); } .brand__mark .k { background: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand__sub { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }

/* Hero */
.hero, .page-hero, .section-dark { background: var(--ink); color: var(--white); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 80px; padding-bottom: 72px; }
.hero__copy { flex: 999 1 540px; min-width: 0; }
.hero__form { flex: 1 1 360px; min-width: 0; color: var(--ink); }
.proof { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.proof li { background: var(--ink); padding: 16px 18px; display: flex; flex-direction: column; }
.proof strong { font-family: var(--display); font-size: 1.25rem; }
.proof span { color: var(--muted-dark); font-size: 0.9rem; }
.page-hero__inner { padding-top: 72px; padding-bottom: 64px; }
.page-hero h1 { max-width: 900px; }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.section--tight { padding-top: 24px; }
.section--band { padding-top: 24px; padding-bottom: 24px; }
.section-sand { background: var(--sand); }
.section-dark .muted, .section-dark p { color: var(--soft-dark); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 36px; }
.section__head h2 { max-width: 680px; margin: 0; }
.section__aside { max-width: 420px; margin: 0; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split__main { flex: 1 1 400px; min-width: 0; }
.split__side { flex: 1.25 1 460px; min-width: 0; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--lined { gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.cell { background: var(--ink-2); padding: 24px; }
.cell h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cell p { color: var(--muted-dark) !important; margin: 0; font-size: 0.95rem; }
.card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card h3 { margin: 6px 0 0; }
.card--pad { padding: 30px; }
.card--link { text-decoration: none; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--ink); color: var(--ink); }
.card__more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__head .h3 { margin: 0; }

/* Equipment tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
.tile { background: var(--white); padding: 24px 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
a.tile:hover { background: #FBFAF7; color: var(--ink); }
.tile__code { font-size: 0.75rem; color: var(--muted); }
.tile__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.tile__desc { font-size: 0.92rem; color: var(--muted); }
.tile__offer { margin-top: auto; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.tile--dark { background: var(--ink); color: var(--white); }
a.tile--dark:hover { background: #1B2632; color: var(--white); }
.tile--dark .tile__code, .tile--dark .tile__offer { color: var(--yellow); }
.tile--dark .tile__desc { color: var(--soft-dark); }
.tiles--large .tile { min-height: 220px; }

/* Lists */
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.steps-list li { counter-increment: s; display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); color: var(--muted); min-width: 28px; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { padding: 8px 0 8px 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.process { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.process li { display: flex; flex-direction: column; gap: 6px; }
.process li span:last-child { color: var(--muted-dark); font-size: 0.95rem; }
.process--light li span:last-child { color: var(--muted); }
.process__n { font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: 1; }
.process--light .process__n:not(.c):not(.m):not(.y) { color: var(--ink); }
.process--light .process__n.y { color: #B08D00; }

/* Grades */
.grades { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
.grade { background: var(--white); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.grade span:last-child { color: var(--muted); font-size: 0.93rem; }
.grade--asis { border-style: dashed; border-color: #8C877C; }
.grade__badge { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.grade__badge--b { background: var(--muted); }
.grade__badge--outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); font-size: 1rem; }

/* Sell options */
.options { margin-top: 24px; gap: 12px; }
.option { background: var(--white); padding: 18px; display: flex; flex-direction: column; }
.option span { color: var(--muted); font-size: 0.9rem; }

/* Band / CTA */
.band, .cta { border: 2px solid var(--ink); padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band > div, .cta > div:first-child { flex: 999 1 480px; min-width: 0; }
.band p, .cta p { margin: 0; }
.h2-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta { background: var(--white); }

/* International points */
.points .point { border-top: 3px solid var(--ink); padding-top: 18px; }
.point h3 { font-size: 1.15rem; margin-bottom: 6px; }
.point p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.point--c { border-top-color: var(--cyan) !important; } .point--m { border-top-color: var(--magenta) !important; } .point--y { border-top-color: var(--yellow) !important; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid #3A4651; }
.timeline li { padding: 0 0 26px 28px; display: flex; flex-direction: column; gap: 3px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline strong { font-size: 1.1rem; }
.timeline li > span:last-child { color: var(--muted-dark); font-size: 0.95rem; }
.timeline-wrap { background: var(--ink); color: var(--white); padding: 32px; }

/* Service coverage */
.coverage { margin-top: 28px; border-top: 1px solid var(--line); }
.coverage__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.coverage__name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; flex: 0 0 220px; }
.coverage__desc { color: var(--muted); flex: 1 1 260px; }
.pill { font-family: var(--mono); font-size: 0.75rem; padding: 6px 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.pill--yes { background: var(--ink); color: var(--white); }
.pill--soft { background: var(--sand); color: var(--ink); }
.notice { margin-top: 28px; padding: 18px 20px; background: var(--white); border: 1px dashed #8C877C; color: var(--muted); }

/* Contact */
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 28px; font-size: 1.05rem; }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; }
.link-list { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.link-list a { text-decoration: none; color: var(--accent); }
.prose p { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 28px; }
.thanks { text-align: left; max-width: 820px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field .req { color: var(--accent); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--input); background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; border-radius: 0; }
.field textarea { resize: vertical; min-height: 96px; }
.field input[type="file"] { background: var(--paper); border-style: dashed; border-color: #8C877C; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--cyan); outline-offset: 0; }
.field--error input, .field--error select, .field--error textarea { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: 0.85rem; }
.field__help { color: var(--muted); font-size: 0.82rem; }
.form__alert { margin: 0; padding: 12px 14px; background: #FCEAE8; border: 1px solid #E8B4AF; color: #8C1D16; font-weight: 500; }
.form__note { margin: 0; font-size: 0.82rem; color: var(--muted); }
.form--compact .form__grid { grid-template-columns: 1fr; gap: 12px; }
#hpc, .hpc { display: none !important; }

/* Footer */
.footer { background: var(--ink); color: var(--soft-dark); font-size: 0.95rem; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-top: 60px; padding-bottom: 32px; }
.footer__grid a { color: var(--soft-dark); text-decoration: none; display: block; padding: 4px 0; }
.footer__grid a:hover { color: var(--white); }
.footer__contact a { display: inline !important; }
.footer__name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--white); display: block; margin-bottom: 10px; }
.footer__h { font-family: var(--body); font-size: 0.95rem; color: var(--white); margin: 0 0 8px; letter-spacing: 0; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 0.8rem; color: var(--muted-dark); }


/* ---------- Catalog (Phase 2) ---------- */
.section--catalog { padding-top: 48px; }
.section-sub { margin-top: 48px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.chip span { font-family: var(--mono); font-size: 0.75rem; background: var(--paper); padding: 2px 6px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding: 18px; background: var(--white); border: 1px solid var(--line); margin-bottom: 28px; }
.filters .field { flex: 1 1 180px; }
.filters__actions { display: flex; gap: 14px; align-items: center; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pcard { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .15s; }
.pcard:hover { border-color: var(--ink); }
.pcard--sold { opacity: .72; }
.pcard__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #F0EEE8; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.pcard__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--muted); background: repeating-linear-gradient(135deg, #ECEAE4 0 10px, #E3E0D8 10px 20px); }
.pcard__flag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; padding: 4px 8px; }
.pcard__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; align-items: center; }
.pcard__title { font-size: 1.12rem; margin: 2px 0 0; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; }
.pcard__sub { font-size: 0.88rem; color: var(--muted); }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); }
.pcard__avail { font-size: 0.8rem; color: var(--muted); }
.badge { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.badge--new { background: #E2F1F6; border-color: #B6DCE8; }
.badge--refurbished { background: var(--ink); color: var(--white); border-color: var(--ink); }
.badge--tested { background: #E9E6DE; }
.badge--used { background: #FFF4CC; border-color: #EBD27A; }
.badge--as_is { background: transparent; border-style: dashed; border-color: #8C877C; }
.badge--avail-available { background: #E3F2E7; border-color: #A9D3B4; }
.badge--avail-sold { background: var(--ink); color: var(--white); }
.empty { background: var(--white); border: 1px dashed #8C877C; padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.empty h3 { margin: 0; }
.pager { margin-top: 28px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pagination a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.pagination .active a { background: var(--ink); color: var(--white); border-color: var(--ink); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 18px; font-size: 0.85rem; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.page-hero .crumbs a, .page-hero .crumbs span { color: var(--soft-dark); }
.page-hero .crumbs a:hover { color: var(--white); }
.offer-tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.offer-tags li { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; padding: 6px 10px; border: 1px solid var(--line-dark); color: var(--soft-dark); }
.offer-tags .offer-tags--on { border-color: var(--yellow); color: var(--yellow); }
.intro-block { margin-bottom: 36px; }
.link-list--inline { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; }
.check-list--dark li::before { border-color: var(--yellow); }

/* Product page */
.product-top { padding-top: 28px; padding-bottom: 24px; }
.product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.product__media { flex: 1.25 1 520px; min-width: 0; }
.product__info { flex: 1 1 360px; min-width: 0; }
.gallery__main { margin: 0; background: #F0EEE8; border: 1px solid var(--line); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main--empty { color: var(--muted); background: repeating-linear-gradient(135deg, #ECEAE4 0 10px, #E3E0D8 10px 20px); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery__thumb { display: block; aspect-ratio: 4 / 3; border: 2px solid transparent; background: #F0EEE8; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--ink); }
.photo-note { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; margin: 12px 0 0; }
.product__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.product__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product__summary { font-size: 1.08rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 20px 0 24px; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; padding-right: 24px; font-size: 0.92rem; }
.facts__price { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.btn-col { display: flex; flex-direction: column; gap: 10px; }
.docs { list-style: none; padding: 0; margin: 20px 0 0; }
.docs a { display: inline-flex; gap: 8px; align-items: center; padding: 6px 0; font-weight: 500; }
.product-details { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 48px; }
.product-details__main { flex: 999 1 560px; min-width: 0; }
.product-details__main > h2 { font-size: 1.6rem; margin-top: 40px; }
.product-details__main > h2:first-child { margin-top: 0; }
.product-details__side { flex: 1 1 300px; min-width: 0; position: sticky; top: 100px; }
.prose h2 { font-size: 1.4rem; margin: 28px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.prose ul { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.record { display: grid; grid-template-columns: minmax(160px, max-content) 1fr; margin: 16px 0 0; background: var(--white); border: 1px solid var(--line); }
.record dt, .record dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.record dt { font-weight: 600; font-size: 0.92rem; background: #FBFAF7; }
.record__missing { color: var(--muted); font-style: italic; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.specs { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.specs th, .specs td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; font-weight: 600; background: #FBFAF7; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .record, .facts { grid-template-columns: 1fr; }
  .record dt { border-bottom: 0; padding-bottom: 2px; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .product-details__side { position: static; }
  .specs th { width: 45%; }
}

/* Mobile */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; gap: 0; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav__cta { margin-top: 14px; }
  .header__inner { position: relative; }
}
@media (max-width: 640px) {
  .section { padding-top: 60px; padding-bottom: 60px; }
  .hero__inner { padding-top: 48px; gap: 36px; }
  .band, .cta { padding: 24px; }
  .card--pad { padding: 22px; }
  .coverage__name { flex-basis: 100%; }
  .brand__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Back-to-top button */
.to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white); border: 2px solid var(--white); border-radius: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 32, .25); cursor: pointer;
  opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s, background .15s;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ---------- Content & case studies (Phase 3) ---------- */
.chip--on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip--on:hover { color: var(--white); }
.pcard__img img.cover { object-fit: cover; mix-blend-mode: normal; }
.post-card .pcard__sub { margin: 0; }
.article { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.article__body { flex: 999 1 600px; min-width: 0; max-width: 780px; font-size: 1.06rem; }
.article__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.side-img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #F0EEE8; margin-bottom: 8px; }
.figure { margin: 28px 0; }
.figure img { width: 100%; height: auto; display: block; background: #F0EEE8; border: 1px solid var(--line); }
.figure figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.figure--lead { margin-top: 0; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.article-gallery .figure { margin: 0; }
.article-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 28px 0; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story-link { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-left: 0; text-decoration: none; box-shadow: inset 4px 0 0 var(--accent); }
.story-link:hover { border-color: var(--ink); }
.prose a { color: var(--accent); }
.prose--faq h3 { font-size: 1.12rem; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose--faq h2 + h3 { border-top: 0; padding-top: 0; }
.updated { margin-top: 40px; }
@media (max-width: 640px) { .article__side { position: static; } }
