/* Locke Sonics: shared styles for every page */

:root {
  --bg: #0c0c0d;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --line: rgba(236, 235, 231, 0.10);
  --line-strong: rgba(236, 235, 231, 0.18);
  --text: #ecebe7;
  --muted: #a3a19b;
  --dim: #6f6e6a;
  --signal: #ff6a2b;
  --signal-hover: #ff7d45;
  --ok: #7ee2a8;
  --danger: #ff8a7a;
  --max: 1200px;
  --gutter: 32px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.label .n { color: var(--signal); margin-right: 10px; }

.display {
  font-weight: 750;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1.display { font-size: clamp(44px, 7.6vw, 104px); }
h2.display { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; font-variation-settings: "wdth" 105; }

.lede { font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); line-height: 1.55; max-width: 34em; }
.muted { color: var(--muted); }
.signal { color: var(--signal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 3px;
  font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: 0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.btn-primary { background: var(--signal); color: #120802; }
.btn-primary:hover { background: var(--signal-hover); }
.btn-line { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--text); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn .arr { font-family: var(--mono); font-weight: 400; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

.link {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .15s ease, color .15s ease;
}
.link:hover { border-color: var(--signal); color: var(--text); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 12, 13, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand-name {
  font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  font-variation-settings: "wdth" 118;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--muted); transition: color .15s ease; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: var(--text); }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.crumb a:hover { color: var(--text); }

/* ---------- Sections ---------- */
section { border-bottom: 1px solid var(--line); }
.sec { padding: 120px 0; }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 64px; }
.sec-head .label { padding-top: 14px; }

.cols { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.col { padding: 32px 32px 8px 0; }
.cols > .col + .col { padding-left: 32px; border-left: 1px solid var(--line); }
.col .label { display: block; margin-bottom: 28px; }
.col p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* Framed product image */
.shot { position: relative; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; background: #08080a; }
.shot img { width: 100%; }
.shot-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }

/* Spec list (key/value rows) */
.spec { border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--dim); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 3px; }
.spec dd { text-align: right; }

/* ---------- Footer ---------- */
footer { padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.foot-grid ul a:hover { color: var(--text); }
.foot-blurb { color: var(--muted); font-size: 15px; max-width: 26em; margin-top: 18px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }

/* ---------- Forms ---------- */
.field-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 3px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: inherit; font-size: 16px; transition: border-color .15s ease;
}
.input:focus { outline: none; border-color: var(--signal); }
.msg { margin-top: 14px; font-size: 15px; }
.msg:empty { display: none; }
.msg.info { color: var(--muted); }
.msg.ok { color: var(--ok); }
.msg.error { color: var(--danger); }

/* ---------- Long-form text (legal pages) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.015em; margin: 56px 0 14px; font-variation-settings: "wdth" 105; }
.prose p, .prose li { color: var(--muted); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); border-bottom: 1px solid var(--signal); }
.summary { margin-top: 40px; padding: 22px 24px; border-left: 2px solid var(--signal); background: var(--surface); color: var(--muted); }
.summary b { color: var(--text); }

.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sec { padding: 88px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 44px; }
  .sec-head .label { padding-top: 0; }
  .cols-3 { grid-template-columns: 1fr; }
  .cols > .col + .col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .col { padding: 28px 0 24px; }
  .col .label { margin-bottom: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .sec { padding: 72px 0; }
  .cols-2 { grid-template-columns: 1fr; }
  .nav-links a.hide-sm { display: none; }
  .nav-links { gap: 18px; }
  .brand-name { font-size: 13px; letter-spacing: 0.12em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
