/* dmtdsp.com, direction A "Catalogue": an industrial index. Wide Archivo for names, Martian Mono for readouts,
   ruled rows instead of cards. Barlow Condensed only inside the mark B logo (the approved logo). */
:root {
  --ground: #090808; --ink: #f3eee8; --soft: #d9d2cb; --dim: #b9b1aa; --faint: #6f6863; --rule: #2e2929; --crimson: #e8364f;
  --name: "Archivo", "Arial Black", sans-serif; --mono: "Martian Mono", ui-monospace, monospace;
  --wide: 1312px; --gut: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--ink); }
body { font: 400 18px/1.55 var(--name); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--crimson); }
img, video { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: .02em; }
.crimson { color: var(--crimson); }
.dim { color: var(--dim); }

/* the mark B logo */
.mark { display: block; width: 100%; height: auto; overflow: visible; }
.mark text { font-family: "Barlow Condensed", sans-serif; font-weight: 700; }

/* top bar */
.top { border-bottom: 1px solid var(--rule); background: var(--ground); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px; }
.top .home { display: block; width: 150px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.top nav a { font-family: var(--mono); font-size: 14px; text-decoration: none; padding: 10px 0; }
.top nav a[aria-current] { color: var(--crimson); }

/* showreel header */
.reel { position: relative; overflow: hidden; background: #000; border-bottom: 1px solid var(--ink); }
.reel video, .reel .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.reel .controls { position: absolute; top: 20px; right: max(var(--gut), calc((100% - var(--wide)) / 2 + var(--gut))); z-index: 2; display: flex; gap: 16px; align-items: center; }
.reel .controls button { font: inherit; color: var(--ink); background: rgba(9, 8, 8, .72); border: 1px solid var(--ink); padding: 10px 14px; min-height: 44px; cursor: pointer; }
.reel .controls button:hover { border-color: var(--crimson); color: var(--crimson); }
.reel .inner { position: relative; z-index: 1; min-height: 640px; padding-top: 120px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 48px; align-items: end; }
.reel .inner .mark { max-width: 680px; }
.reel p { margin: 0; font-family: var(--mono); font-size: 17px; line-height: 1.6; }
.reel .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; color: var(--soft); }
@media (max-width: 700px) { .reel .inner { min-height: 520px; padding-top: 104px; } }
/* playing the promo cut with sound: picture at full strength, the logo and words out of its way */
.reel.playing video { opacity: 1; }
.reel.playing .inner { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .reel video { display: none; } }

/* product rows */
.row { border-top: 1px solid var(--ink); padding: 48px 0; display: flex; flex-direction: column; gap: 20px; }   /* same space above and below (owner) */
.row:first-child { border-top: 0; }   /* the first item sits straight under the showreel's own rule (owner, 2026-11-18) */
.row .read { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.row .read .end { margin-left: auto; }
.name { margin: 0; font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: clamp(52px, 10vw, 150px); line-height: .86; letter-spacing: -.01em; text-transform: uppercase; }
.name.long { font-size: clamp(44px, 9vw, 136px); }
.name.ghost { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.strip { width: 100%; height: 180px; object-fit: cover; }
.strip.empty { height: 180px; border-block: 1px solid var(--rule); display: flex; align-items: center; overflow: hidden; white-space: nowrap; color: var(--faint); letter-spacing: .1em; }
.row .foot { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: center; }
.row .foot p { margin: 0; max-width: 580px; color: var(--soft); }

/* links that act as buttons */
.go { font-family: var(--mono); font-size: 15px; font-weight: 600; text-decoration: none; padding: 14px 0; border-bottom: 2px solid var(--crimson); }
.go.solid { padding: 14px 20px; border: 0; background: var(--crimson); color: var(--ground); }
.go.solid:hover { background: var(--ink); color: var(--ground); }
.go.off { color: var(--dim); border-bottom-color: #4a4343; cursor: default; }

/* section label + spec tables */
.label { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.section { border-top: 1px solid var(--ink); padding: 48px 0; display: flex; flex-direction: column; gap: 24px; }
.table { overflow-x: auto; }
.table table { width: 100%; min-width: 720px; border-collapse: collapse; font-family: var(--mono); font-size: 14px; text-align: left; }
.table th { font-weight: 400; color: var(--dim); padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.table td { padding: 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th:first-child, .table td:first-child { padding-left: 0; font-weight: 600; }
.table th:last-child, .table td:last-child { padding-right: 0; }

/* product page: big title block */
.title { padding: 56px 0; display: flex; flex-direction: column; gap: 24px; }
.title p { margin: 0; max-width: 680px; font-size: 21px; color: var(--soft); }

/* engine index (BLEAK page) */
.engines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.engines figure { margin: 0; }
.engines img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.engines figcaption { font-family: var(--mono); font-size: 14px; padding: 10px 0 18px; color: var(--soft); }
@media (max-width: 820px) { .engines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* editions: two ruled columns, no cards */
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border-top: 1px solid var(--rule); }
.edition { padding: 28px 40px 40px 0; display: flex; flex-direction: column; gap: 18px; }
.edition + .edition { border-left: 1px solid var(--rule); padding-left: 40px; }
@media (max-width: 900px) { .edition + .edition { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }
.edition h3 { margin: 0; font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: 64px; line-height: .9; }
.edition .price { font-family: var(--mono); font-size: 22px; }
.edition ul { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 15px; line-height: 1.5; }
.edition li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.edition li.no { color: var(--faint); }

/* footer */
footer { border-top: 1px solid var(--rule); }
footer .wrap { padding-block: 32px 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-family: var(--mono); font-size: 14px; color: var(--dim); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* contact form: ruled fields, no boxes */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px 80px; align-items: start; }
.contact form { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.contact label { display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 14px; color: var(--dim); }
.contact label i { font-style: normal; color: var(--faint); }
.contact input, .contact select, .contact textarea { font: 400 21px/1.4 var(--name); color: var(--ink); background: transparent; border: 0;
  border-bottom: 1px solid var(--dim); border-radius: 0; padding: 10px 0; min-height: 52px; width: 100%; }
.contact select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f3eee8' stroke-width='2'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 28px; }
.contact select option { background: var(--ground); color: var(--ink); }
.contact textarea { min-height: 200px; resize: vertical; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-bottom-color: var(--crimson); }
.contact button { align-self: flex-start; font: 600 15px/1 var(--mono); padding: 16px 28px; min-height: 52px; background: var(--crimson); color: var(--ground); border: 0; cursor: pointer; }
.contact button:hover { background: var(--ink); }
.contact button:disabled { background: var(--rule); color: var(--dim); cursor: default; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact .note { margin: 0; font-family: var(--mono); font-size: 14px; min-height: 1.5em; color: var(--soft); }
.contact .note.bad { color: var(--crimson); }
.contact .sent { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--crimson); padding-top: 24px; font-family: var(--mono); font-size: 15px; }
.contact .sent b { font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: 40px; line-height: 1; }
.contact aside { display: flex; flex-direction: column; gap: 0; font-family: var(--mono); font-size: 14px; }
.contact aside div { padding: 16px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.contact aside div:first-child { border-top: 1px solid var(--rule); }
.contact aside span { color: var(--dim); }

/* how-it-works steps: three ruled columns */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--rule); }
.steps > div { padding: 28px 32px 32px 0; display: flex; flex-direction: column; gap: 14px; }
.steps > div + div { border-left: 1px solid var(--rule); padding-left: 32px; }
@media (max-width: 960px) { .steps > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }
.steps h3 { margin: 0; font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: 32px; line-height: 1; }
.steps p { margin: 0; color: var(--soft); }
.table td:first-child { white-space: nowrap; }

/* long-form pages (privacy) */
.prose { max-width: 820px; gap: 14px; }
.prose h2 { margin: 28px 0 0; font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0; color: var(--soft); }
.prose b { color: var(--ink); font-weight: 600; }

/* business details line in the footer */
footer .legal { flex-basis: 100%; margin: 0; color: var(--dim); font-size: 14px; line-height: 1.6; }
footer .legal a { color: var(--dim); }

/* product page pieces (HEXFOIL): screenshots, voice columns, two-up blocks */
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shot img { width: 100%; height: auto; border: 1px solid var(--rule); }
.shot figcaption { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.voice-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: 2px; }
.steps .controls { font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--dim); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px 64px; align-items: start; }
.split .words { display: flex; flex-direction: column; gap: 18px; }
.split .words h3 { margin: 0; font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: 40px; line-height: 1; }
.split .words p { margin: 0; color: var(--soft); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.big-num { font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: clamp(64px, 9vw, 120px); line-height: .85; }

/* sound demos: ruled rows, one shared player, a crimson line for progress */
.demos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.demos li { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.demos button { font: 600 14px/1 var(--mono); min-height: 44px; padding: 0 14px; background: transparent; color: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
.demos button:hover, .demos li.on button { background: var(--crimson); border-color: var(--crimson); color: var(--ground); }
.demos .what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; min-width: 0; }
.demos .what b { font-family: var(--name); font-weight: 900; font-stretch: 112%; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.demos .what span { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.demos .len { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.demos .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--crimson); }
@media (max-width: 560px) { .demos li { grid-template-columns: 80px minmax(0, 1fr); } .demos .len { display: none; } }
