/* HopeValley — site stylesheet
   Visual direction: industrial hardware catalogue. Bone paper, ink panels,
   oxide-red signal colour, hairline rules, Archivo / IBM Plex. */

:root {
  --ink: #12171b;
  --ink-soft: #1d252a;
  --steel: #65707a;
  --steel-light: #8d969d;
  --bone: #f2f0ea;
  --bone-deep: #e8e5dd;
  --paper: #ffffff;
  --line: #d7d3c9;
  --line-dark: #2c353b;
  --accent: #c54422;
  --accent-dark: #963214;
  --accent-pale: #f6e6df;
  --ok: #2f6b4f;

  --font-display: "Archivo", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", "SFMono-Regular", monospace;

  --shell: 1360px;
  --gut: clamp(20px, 4vw, 56px);
  --radius: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.06;
  margin: 0;
}
h1 { font-size: clamp(38px, 5.4vw, 68px); }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.2; }
h4 { font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--steel);
}

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex: 0 0 auto; }
.brand-logo { height: 28px; width: auto; display: block; }
.brand-tag { font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #8b949a; line-height: 1; }
.brand svg { width: 34px; height: 34px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--steel-light);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 14.5px;
  color: #e7e6e1;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link svg { width: 10px; height: 10px; opacity: .65; }
.nav-link[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); cursor: pointer; color: #fff;
}
.search-btn:hover { border-color: #fff; }
.search-btn svg { width: 16px; height: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-arrow { font-family: var(--font-mono); font-size: 13px; }

/* mega menu */
.mega-wrap { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  width: min(760px, 78vw);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 28px 30px 24px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px 34px;
  box-shadow: 0 22px 44px rgba(10, 15, 20, .16);
}
.mega-wrap:hover .mega,
.mega-wrap:focus-within .mega,
.mega.is-open { display: grid; }
.mega-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--bone-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.015em;
}
.mega-item span.en { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--steel); text-align: right; }
.mega-item:hover { color: var(--accent); }
.mega-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--steel);
}

/* search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(13, 18, 21, .96);
  display: none;
  padding: 14vh var(--gut) 0;
}
.search-overlay.is-open { display: block; }
.search-overlay form { max-width: 760px; margin: 0 auto; }
.search-overlay label { color: #fff; font-family: var(--font-display); font-size: 22px; display: block; margin-bottom: 14px; }
.search-overlay .search-row { display: flex; gap: 10px; }
.search-overlay input[type="search"] {
  flex: 1 1 auto; min-width: 0;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: 26px; padding: 10px 0;
}
.search-overlay input[type="search"]::placeholder { color: rgba(255,255,255,.45); }
.search-close {
  position: absolute; top: 22px; right: 26px;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.search-hint { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 18px; max-width: 620px; }

/* burger */
.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid rgba(255,255,255,.24);
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 1.5px; background: #fff; margin: 3px 0; }

/* ------------------------------------------------------------------ hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: stretch;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 72px) clamp(44px, 6vw, 80px) max(var(--gut), calc((100vw - var(--shell)) / 2 + var(--gut)));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--steel);
  margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: #3c454b;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; min-height: 420px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px 16px;
  max-width: 280px;
}
.hero-tag .mono { color: #b9c0c6; display: block; margin-bottom: 6px; }
.hero-tag span.txt { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.3; display: block; }

/* trust rail */
.rail { background: var(--ink); color: #eceae4; }
.rail-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line-dark);
}
.rail-item {
  padding: 22px 24px;
  border-right: 1px solid var(--line-dark);
}
.rail-item .mono { color: #9099a0; display: block; margin-bottom: 6px; }
.rail-item span { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--paper { background: var(--paper); }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: #f0eee8; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head .lead { max-width: 62ch; margin-top: 14px; color: #444d53; font-size: 16.5px; }
.section-head .aside { flex: 0 0 auto; }
.section--ink .section-head { border-color: var(--line-dark); }
.section--ink .section-head .lead { color: #b5bcc2; }
.section--ink .mono { color: #8b959c; }

/* about band */
.about-band {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}
.about-band .label { margin-bottom: 16px; }
.about-band h2 { max-width: 16ch; }
.about-copy { font-size: 17.5px; color: #394248; max-width: 62ch; }
.about-copy p:first-child { font-size: 19px; color: var(--ink); }

/* collection cards (2 x 2) */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.collection-card {
  display: grid;
  grid-template-columns: 46% minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 208px;
}
.collection-card .thumb { overflow: hidden; position: relative; }
.collection-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.collection-card .body {
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.collection-card h3 { margin-bottom: 10px; }
.collection-card p { color: #4b545a; font-size: 14.5px; margin-bottom: 18px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  border-bottom: 2px solid var(--ink); padding-bottom: 3px; align-self: flex-start;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.collection-card:hover { border-color: var(--ink); }

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 26px;
}
.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-card .media {
  background: #fff;
  padding: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.product-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .media img { transform: scale(1.035); }
.product-card .info { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.product-card .tagline { color: var(--steel); font-size: 13.5px; line-height: 1.45; }
.product-card .name {
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.015em;
  line-height: 1.25;
}
.product-card .foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.product-card .foot .enq {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.product-card .foot .enq:hover { color: var(--accent); }
.product-card .foot .mono { font-size: 10px; }

/* odm band */
.odm-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}
.odm-band .pic { border: 1px solid var(--line-dark); }
.odm-list { margin: 24px 0 30px; display: grid; gap: 0; }
.odm-list li {
  list-style: none;
  display: flex; gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  color: #cfd4d8;
}
.odm-list li b {
  font-family: var(--font-mono); font-weight: 400; font-size: 11px;
  letter-spacing: .1em; color: var(--accent); flex: 0 0 54px; padding-top: 3px;
}

/* why choose */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-item { padding: 30px 26px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-item:first-child { border-left: 1px solid var(--line); }
.why-item .ico { width: 34px; height: 34px; margin-bottom: 20px; color: var(--accent); }
.why-item h4 { margin-bottom: 10px; font-size: 17px; }
.why-item p { font-size: 14.5px; color: #4b545a; margin: 0; }

/* case placeholder */
.case-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.case-note {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  color: #4b545a;
  font-size: 15px;
}

/* ------------------------------------------------------------------ forms */
.inquiry {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.inquiry h2 { max-width: 14ch; }
.inquiry .side p { color: #454e54; font-size: 16px; max-width: 40ch; }
.contact-list { margin-top: 30px; display: grid; gap: 18px; }
.contact-list > div .mono { display: block; margin-bottom: 4px; }
.contact-list a { font-size: 16.5px; font-weight: 500; border-bottom: 1px solid var(--line); display: inline-block; padding-bottom: 2px; }
.contact-list a:hover { border-color: var(--accent); color: var(--accent); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--steel);
}
.field label .req { color: var(--accent); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.4;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); outline: none;
}
.field input[type="file"] {
  width: 100%; background: var(--paper); border: 1px dashed var(--line);
  padding: 11px 14px; font-size: 13.5px; color: var(--steel);
}
/* attached-file control: the native input is hidden so the label stays in brand styling
   instead of the browser's localised "choose file" chrome */
.file-drop {
  display: flex; align-items: center; gap: 12px;
  border: 1px dashed #c9c6bc; background: var(--paper);
  padding: 10px 12px; cursor: pointer;
  position: relative;
  font-family: var(--font-body); font-size: 13px;
  letter-spacing: 0; text-transform: none; color: var(--ink);
}
.file-drop:focus-within { border-color: var(--ink); }
.file-drop input[type="file"] {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
  padding: 0; border: 0;
}
.file-cta {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  border: 1px solid var(--ink); padding: 6px 12px; flex: 0 0 auto; color: var(--ink);
}
.file-name {
  font-size: 13px; color: var(--steel); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-drop:hover .file-cta { background: var(--ink); color: #fff; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 12.5px; color: var(--steel); max-width: 48ch; margin: 0; }
.form-status {
  grid-column: 1 / -1;
  display: none;
  background: var(--accent-pale);
  border: 1px solid #e2b3a4;
  padding: 12px 14px;
  font-size: 14px;
}
.form-status.is-visible { display: block; }

/* ------------------------------------------------------------------ page headers */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(34px, 4vw, 56px) 0 clamp(36px, 4vw, 56px); }
.page-head--ink { background: var(--ink); color: #f0eee8; border-color: var(--line-dark); }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line); }
.page-head--ink .breadcrumb { color: #9099a0; }
.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: end;
}
.page-head h1 { max-width: 18ch; }
.page-head .intro { color: #414a50; font-size: 16.5px; max-width: 56ch; }
.page-head--ink .intro { color: #b9c0c6; }
.page-head .meta-line { margin-top: 18px; display: flex; gap: 22px; flex-wrap: wrap; }
.page-head .meta-line .mono { color: var(--steel); }

/* filter chips */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  align-items: center;
}
.filters .mono { margin-right: 10px; }
.chip {
  border: 1px solid var(--line); background: var(--paper);
  padding: 7px 13px; border-radius: var(--radius);
  font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .count { font-family: var(--font-mono); font-size: 10.5px; opacity: .65; }
.filter-empty { display: none; padding: 40px 0; color: var(--steel); }
.filter-empty.is-visible { display: block; }

/* ------------------------------------------------------------------ product detail */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(34px, 4vw, 58px) 0 clamp(48px, 5vw, 72px);
  align-items: start;
}
.gallery-main {
  background: #fff;
  border: 1px solid var(--line);
  max-width: 460px;
  padding: 18px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; margin-top: 10px;
}
.gallery-thumbs button {
  padding: 0; border: 1px solid var(--line); background: #fff;
  aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button[aria-selected="true"] { border-color: var(--accent); }

.pdp-info .collection-label { margin-bottom: 14px; display: block; }
.pdp-info h1 { font-size: clamp(30px, 3vw, 42px); max-width: 22ch; }
.pdp-info .overview { margin-top: 16px; color: #3f484e; font-size: 16.5px; max-width: 52ch; }
.quick-specs { margin: 26px 0 0; border-top: 1px solid var(--line); }
.quick-specs div {
  display: grid; grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.quick-specs dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); padding-top: 3px; }
.quick-specs dd { margin: 0; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pdp-note { margin-top: 14px; font-size: 12.5px; color: var(--steel); }

.detail-block { padding: clamp(44px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.detail-block--paper { background: var(--paper); }
.detail-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.detail-grid h2 { font-size: clamp(26px, 2.4vw, 34px); }
.feature-list { display: grid; gap: 0; }
.feature-list li {
  list-style: none;
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.feature-list li .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); padding-top: 4px; }

.spec-wrap { border: 1px solid var(--line); background: var(--paper); }
.spec-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.spec-table colgroup col:first-child { width: 34%; }
.spec-table th, .spec-table td {
  text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; vertical-align: top;
}
.spec-table th {
  font-family: var(--font-mono); font-weight: 400; font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
  background: #fbfaf7;
}
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: 0; }
.spec-note { margin: 12px 0 0; font-size: 12.5px; color: var(--steel); }

.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.app-item {
  background: var(--paper); border: 1px solid var(--line);
  padding: 20px 22px;
}
.app-item h4 { font-size: 15px; margin-bottom: 6px; }
.app-item p { font-size: 13.5px; color: #4b545a; margin: 0; }

.custom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.custom-item { border-top: 2px solid var(--ink); padding-top: 14px; }
.custom-item .mono { display: block; margin-bottom: 8px; }
.custom-item p { font-size: 14px; color: #4b545a; margin: 0; }

/* ------------------------------------------------------------------ about page */
.stat-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.stat-band div { padding: 26px 28px; border-right: 1px solid var(--line); }
.stat-band div:last-child { border-right: 0; }
.stat-band .mono { display: block; margin-bottom: 8px; }
.stat-band strong { font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; display: block; }
.stat-band span.small { font-size: 13px; color: var(--steel); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.split .pic { border: 1px solid var(--line); overflow: hidden; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }

.what-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.what-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 30px 26px; }
.what-card .mono { display: block; margin-bottom: 14px; }
.what-card h3 { font-size: 21px; margin-bottom: 10px; }
.what-card p { font-size: 14.5px; color: #4b545a; margin: 0; }

.market-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.market-list div { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.market-list .mono { display: block; margin-bottom: 6px; }
.market-list span { font-family: var(--font-display); font-weight: 600; font-size: 16px; }

/* ------------------------------------------------------------------ odm page */
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cap-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 32px; }
.cap-card h3 { font-size: 20px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cap-card ul { display: grid; gap: 9px; }
.cap-card li { list-style: none; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 14.5px; color: #414a50; }
.cap-card li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--accent); }

.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mode-card { border: 1px solid var(--line); background: var(--paper); padding: 30px 30px 28px; display: flex; flex-direction: column; }
.mode-card .mono { display: block; margin-bottom: 16px; }
.mode-card h3 { font-size: 19px; margin-bottom: 12px; }
.mode-card p { font-size: 14.5px; color: #4b545a; }
.mode-card .fit { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--steel); }
.mode-card .fit b { color: var(--ink); font-weight: 600; }

/* workflow timeline — real sequence, numbered */
.workflow { display: grid; gap: 0; border-top: 1px solid var(--line); }
.wf-step {
  display: grid;
  grid-template-columns: 92px 44px minmax(0, 1fr) minmax(0, .8fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.wf-step .no { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--steel); padding-top: 4px; }
.wf-step .dot { width: 11px; height: 11px; border: 1.5px solid var(--ink); border-radius: 50%; margin-top: 6px; justify-self: center; background: var(--paper); }
.wf-step .dot.last { background: var(--accent); border-color: var(--accent); }
.wf-step h4 { font-size: 17px; margin-bottom: 6px; }
.wf-step p { font-size: 14px; color: #4b545a; margin: 0; }
.wf-step .out { font-family: var(--font-mono); font-size: 11.5px; color: var(--steel); line-height: 1.7; }

/* ------------------------------------------------------------------ contact / faq */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { border: 1px solid var(--line); background: var(--paper); padding: 26px 26px 24px; }
.contact-card .mono { display: block; margin-bottom: 10px; }
.contact-card .value { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; word-break: break-word; }
.contact-card p { font-size: 13px; color: var(--steel); margin: 8px 0 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 20px 0;
  display: flex; gap: 16px; align-items: baseline;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qno { font-family: var(--font-mono); font-size: 11px; color: var(--steel); flex: 0 0 30px; }
.faq summary .plus { margin-left: auto; font-family: var(--font-mono); font-size: 18px; color: var(--steel); }
.faq details[open] summary .plus { color: var(--accent); }
.faq .answer { padding: 0 0 22px 46px; max-width: 82ch; color: #404a50; font-size: 15.5px; }

/* ------------------------------------------------------------------ cta band */
.cta-band { background: var(--ink); color: #f1efe9; padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { max-width: 22ch; font-size: clamp(26px, 2.6vw, 38px); }
.cta-inner p { color: #b5bcc2; margin: 12px 0 0; max-width: 52ch; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: #cfd4d8; border-top: 1px solid var(--line-dark); padding: clamp(44px, 5vw, 68px) 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand .brand { color: #fff; margin-bottom: 16px; }
.foot-brand p { font-size: 14px; color: #9aa3a9; max-width: 34ch; }
.foot-col h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: #8b959c; font-weight: 500; margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 9px; }
.foot-col li { list-style: none; }
.foot-col a { font-size: 14px; color: #d6dade; }
.foot-col a:hover { color: #fff; border-bottom: 1px solid var(--accent); }
.foot-col .addr { font-size: 13.5px; color: #9aa3a9; line-height: 1.7; }
.foot-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #7d868c;
}

/* toast for demo form */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-left: 3px solid var(--accent);
  font-size: 14px; max-width: min(92vw, 520px);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 120;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* mobile navigation panel */
.mobile-nav {
  position: fixed;
  top: 74px; left: 0; right: 0; bottom: 0;
  z-index: 59;
  background: var(--ink);
  color: #fff;
  padding: 22px var(--gut) 40px;
  overflow-y: auto;
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.015em;
  color: #fff;
}
.mobile-nav a.sub { padding-left: 16px; font-size: 15px; font-weight: 400; color: #b9c0c6; }
.mobile-nav .block-label { margin: 26px 0 6px; color: #8b959c; }
.mobile-nav .mobile-cta { margin-top: 26px; }
.mobile-nav .mobile-cta .btn { width: 100%; justify-content: center; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(3) { border-left: 1px solid var(--line); }
  .custom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px var(--gut) 34px; }
  .hero-media { min-height: 340px; }
  .hero h1 { max-width: 20ch; }
  .rail-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-band, .collection-card, .odm-band, .case-band, .inquiry, .shared-form, .page-head-grid { grid-template-columns: 1fr; }
  .collection-card .thumb { min-height: 180px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp, .detail-grid, .split { grid-template-columns: 1fr; }
  .what-grid, .cap-grid, .app-grid { grid-template-columns: 1fr; }
  .mode-grid, .contact-cards { grid-template-columns: 1fr; }
  .market-list { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .wf-step { grid-template-columns: 60px minmax(0, 1fr); }
  .wf-step .dot { display: none; }
  .wf-step .out { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .rail-inner { grid-template-columns: 1fr; }
  .rail-item { border-bottom: 1px solid var(--line-dark); }
  .why-grid { grid-template-columns: 1fr; border-left: 0; }
  .why-item { border-left: 0; }
  .custom-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .quick-specs div { grid-template-columns: 96px minmax(0, 1fr); }
  .mega { display: none !important; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: 13.5px; }
  .faq .answer { padding-left: 0; }
}

/* narrow screens: the header keeps search + menu only, so the brand and the
   quote button never collide or get clipped at the viewport edge */
@media (max-width: 720px) {
  .header-inner { gap: 12px; }
  .header-tools { gap: 8px; margin-left: auto; }
  .header-tools .btn { display: none; }
  .brand-logo { height: 24px; }
.brand-name { font-size: 17px; }
  .brand svg { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card .media img { transition: none; }
}

/* print: quotation one-pager */
@media print {
  .site-header, .site-footer, .search-overlay, .cta-band, .mega { display: none !important; }
  body { background: #fff; }
  .section { padding: 18px 0; }
}

/* stacked mailbox card: keeps the three-card row balanced */
.contact-card .mono.secondary { margin-top: 18px; }

/* product grid: three-up row for the six featured items on the home page */
.product-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery-thumbs { max-width: 460px; }
