/* Capacitor Global. Light-only industrial B2B: white ground, deep blue accent, dark text. Amber appears only in the logo mark. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --band: #f3f6fa;
  --band-2: #e9eff6;
  --ink: #0f2a43;
  --text: #1d2c3b;
  --muted: #536476;
  --line: #d6dfe8;
  --blue: #1450a0;
  --blue-dark: #0e3c7a;
  --blue-soft: #e7eef8;
  --navy: #0f2a43;
  --on-navy: #f2f6fa;
  --amber: #f2a33a;
  --tbd-bg: #fff4d6;
  --tbd-ink: #7a4b00;
  --tbd-line: #e8c46a;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --brand: "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--navy); }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 800; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 23px; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 19px; color: var(--text); max-width: 38em; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 16px; align-content: start; }
.stack > * { min-width: 0; }

/* Placeholders */
.tbd { display: inline-block; font: 500 0.82em var(--mono); background: var(--tbd-bg); color: var(--tbd-ink); border: 1px dashed var(--tbd-line); border-radius: 3px; padding: 1px 6px; line-height: 1.5; }
.ph { margin: 0; border: 2px dashed var(--line); background: repeating-linear-gradient(135deg, var(--band) 0 14px, #eef3f8 14px 28px); border-radius: 6px; display: grid; place-items: center; text-align: center; padding: 20px; aspect-ratio: 4 / 3; max-width: 100%; }
.ph.ill { background: #f3f6fa; border-style: solid; display: grid; grid-template-rows: 1fr auto; gap: 10px; padding: 18px 18px 14px; }
.ph.ill > svg { width: 100%; height: 100%; max-height: 100%; min-height: 0; color: inherit; }
.ph.ill figcaption { display: grid; gap: 4px; justify-items: center; }
.ph.ill figcaption span { font-size: 13px; color: var(--muted); }
.photo { margin: 0; position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--band); max-width: 100%; }
.photo.sq { aspect-ratio: 1 / 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { display: none; }
.photo.noimg { display: grid; place-items: center; border: 2px dashed var(--line); padding: 16px; text-align: center; }
.photo.noimg img { display: none; }
.photo.noimg figcaption { display: block; font-size: 15px; color: var(--muted); }
.card .photo { border-radius: 0; border-bottom: 1px solid var(--line); }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.sq { aspect-ratio: 1 / 1; }
.ph div { display: grid; gap: 6px; justify-items: center; max-width: 30em; }
.ph svg { width: 34px; height: 34px; color: var(--muted); }
.ph b { font: 600 12px var(--mono); letter-spacing: .12em; color: var(--tbd-ink); background: var(--tbd-bg); padding: 2px 8px; border-radius: 3px; }
.ph span { font-size: 15px; color: var(--text); }

/* Header */
.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.topbar { background: var(--navy); color: var(--on-navy); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 6px 16px; flex-wrap: wrap; padding-block: 7px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tbd { font-size: 12px; }
header.site { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(15,42,67,.05); }
header.site .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo .word { display: grid; line-height: 1; }
.logo .word b { font-family: var(--brand); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.logo .word span { font-family: var(--brand); font-weight: 400; font-size: 10px; letter-spacing: 0.62em; color: var(--muted); margin-top: 5px; }
.mark-ring, .mark-lead { fill: none; stroke: currentColor; }
.mark-plate-a { fill: currentColor; }
.mark-plate-b { fill: var(--amber); }
nav.main { display: flex; gap: 22px; margin-left: auto; font-size: 16px; font-weight: 500; }
nav.main a { color: var(--text); text-decoration: none; white-space: nowrap; padding-block: 4px; border-bottom: 3px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--body); padding: 13px 24px; border-radius: 4px; text-decoration: none; cursor: pointer; border: 2px solid transparent; text-align: center; transition: background .15s, border-color .15s; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn.secondary:hover { background: var(--blue-soft); }
.btn.big { font-size: 18px; padding: 16px 30px; }
.btn.small { font-size: 15px; padding: 9px 16px; }
.btn svg { width: 18px; height: 18px; }
header.site .btn { flex: none; }
.pending-note { font-size: 14px; color: var(--tbd-ink); margin-top: 8px; }

@media (max-width: 980px) {
  header.site .wrap { flex-wrap: wrap; gap: 10px 16px; }
  header.site .btn { margin-left: auto; }
  nav.main { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 20px; font-size: 15px; padding-bottom: 2px; scrollbar-width: none; }
  nav.main::-webkit-scrollbar { display: none; }
}
@media (max-width: 520px) {
  .topbar .hide-sm { display: none; }
  .logo .word b { font-size: 20px; }
  .logo svg { width: 36px; height: 36px; }
  header.site .btn { padding: 8px 12px; font-size: 14px; }
}

/* Sections */
section.block { padding-block: 80px; }
section.block.tight { padding-block: 56px; }
section.band { background: var(--band); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 46em; }
.section-head p { color: var(--muted); font-size: 18px; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 > *, .grid-3 > * { min-width: 0; }

/* Hero */
.hero { padding-block: 56px 72px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--band) 0%, #fff 100%); }
.hero .grid-2 { align-items: center; }
.hero .sub { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 23px); color: var(--blue); line-height: 1.35; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.origin-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 14px var(--mono); padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--blue); box-shadow: 0 6px 20px rgba(20,80,160,.10); }
.card .ph { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.card .body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.card .more { color: var(--blue); font-weight: 600; font-size: 16px; }
.num { font: 600 13px var(--mono); color: var(--blue); letter-spacing: .1em; }

.why-list { display: grid; gap: 22px; }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.why-item svg { width: 40px; height: 40px; color: var(--blue); }
.why-item p { color: var(--muted); }

.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.apps a { padding: 22px 20px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; display: grid; gap: 4px; }
.apps a + a { border-left: 1px solid var(--line); }
.apps a span { font: 400 14px var(--body); color: var(--muted); }
.apps a:hover { background: var(--blue-soft); }

.catalog-band { background: var(--navy); color: var(--on-navy); }
.catalog-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-block: 44px; }
.catalog-band h2 { color: #fff; }
.catalog-band p { opacity: .85; margin-top: 6px; }
.catalog-band .btn.primary { background: #fff; color: var(--blue); }
.catalog-band .btn.primary:hover { background: var(--blue-soft); }
.catalog-band .pending-note { color: #ffd98a; }

/* Product page */
.gallery { display: grid; gap: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thumbs .ph { padding: 10px; }
.thumbs .ph span { font-size: 13px; }
.thumbs .ph svg { width: 24px; height: 24px; }
.keyfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.keyfacts div { padding: 14px 16px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.keyfacts div:nth-child(-n+2) { border-top: 0; }
.keyfacts div:nth-child(even) { border-left: 1px solid var(--line); }
.keyfacts .k { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.keyfacts .v { font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
table.spec caption { text-align: left; padding: 14px 18px; font: 500 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
table.spec th, table.spec td { text-align: left; padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.spec tr:first-child th, table.spec tr:first-child td { border-top: 0; }
table.spec thead th { background: var(--band); font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 0; }
table.spec tbody th { font-weight: 600; color: var(--ink); width: 38%; }
table.spec td { font-variant-numeric: tabular-nums; }
.certs { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.buying { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.buying div { padding: 18px; display: grid; gap: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.buying .k { font-weight: 600; color: var(--ink); }
ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 28px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.callout { border-left: 4px solid var(--blue); background: var(--blue-soft); padding: 18px 20px; border-radius: 0 6px 6px 0; }

/* Inquiry form */
.inquiry { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px; box-shadow: 0 8px 30px rgba(15,42,67,.06); }
.inquiry form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 22px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 16px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--blue); }
.field input, .field textarea { font: 17px var(--body); color: var(--ink); background: #fff; border: 1.5px solid #9fb1c3; border-radius: 4px; padding: 13px 14px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.inquiry .submit { grid-column: 1 / -1; width: 100%; padding: 17px; font-size: 18px; }
.inquiry .status { grid-column: 1 / -1; font-size: 18px; line-height: 1.5; margin: 0; }
.inquiry .status:empty { display: none; }
.inquiry .status.ok, .inquiry .status.err { padding: 18px 20px 18px 56px; border-radius: 6px; position: relative; font-weight: 600; }
.inquiry .status.ok { background: #e3f4e9; color: #0b4d29; border: 2px solid #2e9a5a; }
.inquiry .status.err { background: #fdecea; color: #8c1d18; border: 2px solid #d9534f; }
.inquiry .status.ok::before, .inquiry .status.err::before { position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 16px; line-height: 26px; text-align: center; font-weight: 700; }
.inquiry .status.ok::before { content: "✓"; background: #2e9a5a; }
.inquiry .status.err::before { content: "!"; background: #d9534f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { display: grid; gap: 16px; }
.contact-list div { display: grid; gap: 2px; justify-items: start; }
.contact-list .k { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; font-size: 19px; }

/* Footer */
footer.site { background: var(--navy); color: var(--on-navy); }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 52px 28px; }
footer.site .logo { color: #fff; }
footer.site .logo .word span { color: #fff; opacity: .7; }
footer.site h4 { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; opacity: .7; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site p { font-size: 15px; opacity: .8; margin-top: 14px; max-width: 30em; }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid rgba(242,246,250,.15); padding-top: 20px; font-size: 13px; opacity: .7; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps a:nth-child(3) { border-left: 0; }
  .apps a:nth-child(n+3) { border-top: 1px solid var(--line); }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  section.block { padding-block: 56px; }
}
@media (max-width: 560px) {
  .inquiry { padding: 20px; }
  .inquiry form { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .apps a + a { border-left: 0; border-top: 1px solid var(--line); }
  .keyfacts { grid-template-columns: 1fr; }
  .keyfacts div:nth-child(2) { border-top: 1px solid var(--line); }
  .keyfacts div:nth-child(even) { border-left: 0; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .hero { padding-block: 36px 48px; }
}

/* Email prominence */
.top-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700 !important; color: #fff; }
.top-mail svg, .head-mail svg, .big-mail svg, .foot-mail svg { width: 20px; height: 20px; flex: none; }
.head-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; font-size: 16px; white-space: nowrap; flex: none; }
.head-mail:hover { text-decoration: underline; }
@media (max-width: 1240px) { .head-mail span { display: none; } .head-mail { padding: 8px; border: 2px solid var(--blue); border-radius: 4px; } }
.big-mail { display: inline-flex; align-items: center; gap: 10px; font: 700 21px var(--body); color: var(--blue); text-decoration: none; background: var(--blue-soft); border: 2px solid var(--blue); border-radius: 6px; padding: 12px 18px; justify-self: start; max-width: 100%; word-break: break-all; }
.big-mail svg { width: 24px; height: 24px; }
.big-mail:hover { background: #d6e3f5; }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 19px; font-weight: 700; color: #fff !important; }
.form-mail { grid-column: 1 / -1; text-align: center; font-size: 17px; margin: 0; }
.form-mail a { font-weight: 700; font-size: 19px; }
/* Sent confirmation */
.thanks { text-align: center; display: grid; gap: 18px; justify-items: center; padding-block: 24px; }
.thanks .lead { margin: 0 auto; font-size: 21px; }
.sent-icon { width: 84px; height: 84px; border-radius: 50%; background: #2e9a5a; color: #fff; font-size: 46px; line-height: 84px; font-weight: 700; }
.thanks h1 { color: #0b4d29; }
@media (prefers-reduced-motion: no-preference) { .sent-icon { animation: pop .35s ease-out; } @keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } } }
.thanks .big-mail { justify-self: center; }

/* Live-site: unfilled values read as "On request" */
.tbd { all: unset; color: var(--muted); font-style: italic; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph.ill { grid-template-rows: 1fr; }
