:root {
  --ink: #14251f;
  --paper: #f5f1e8;
  --rust: #a93e20;
  --orange: #ffa576;
  --pine: #10231f;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --display: "DM Sans", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --side: clamp(20px, 5vw, 84px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--display); }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d76e38; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
img { max-width: 100%; }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 10; background: var(--paper); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
.masthead, .hero { color: var(--paper); background-color: #101917; }
.masthead-inner, .hero-inner, .hero-foot, .about-inner {
  width: min(calc(100% - var(--side) * 2), 1440px);
  margin-inline: auto;
}
.masthead-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; letter-spacing: -.05em; font-size: 23px; font-weight: 700; }
.mark { display: grid; place-items: center; width: 35px; height: 35px; background: var(--orange); color: var(--pine); border-radius: 50%; font: bold italic 25px/.9 var(--serif); padding-right: 3px; }
.masthead nav { display: flex; gap: clamp(16px, 2.8vw, 42px); align-items: center; }
.masthead nav a { font-size: 14px; text-decoration: none; }
.masthead nav a:hover, .quiet-action:hover { text-decoration: underline; }
.contact-nav { border: 1px solid #b8c9bc80; border-radius: 4px; padding: 8px 14px; }
.contact-nav span { color: var(--orange); padding-left: 8px; }
.hero-cover { position: relative; isolation: isolate; overflow: hidden; background: #101917; }
.cover-art, .cover-art img, .hero-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-art { z-index: -2; }
.cover-art img { object-fit: cover; object-position: 64% 50%; }
.hero-cover::after {
  content: ""; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, #101917f7 3%, #101917e8 22%, #101917ad 42%, #10191712 65%, transparent 80%),
              linear-gradient(0deg, #1019179c, transparent 18%);
}
.hero-inner { display: flex; align-items: center; min-height: clamp(460px, 43vw, 695px); padding-block: clamp(42px, 4.4vw, 78px); }
.hero-story { width: min(54%, 700px); }
.eyebrow, .overline { font: 600 11px/1.45 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero-story > .eyebrow { color: #d4dace; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.pulse-mark { height: 9px; width: 26px; background: repeating-linear-gradient(120deg, transparent 0 3px, var(--orange) 3px 6px); }
.hero h1 { font: 600 clamp(64px, 7.8vw, 134px)/.85 var(--display); letter-spacing: -.085em; }
.hero h1 em, .about-contact h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.07em; }
.hero h1 em { display: inline-block; padding-right: .1em; color: var(--orange); font-size: 1.18em; }
.hero-intro { max-width: 44ch; margin-top: 26px; line-height: 1.55; font-size: clamp(16px, 1.3vw, 21px); color: #d7dfd6; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 25px; margin-top: 28px; }
.primary-action, .quiet-action { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; text-decoration: none; }
.primary-action { min-height: 45px; padding: 11px 17px; border-radius: 4px; color: var(--pine); background: var(--orange); }
.primary-action:hover { background: #ffbe96; }
.quiet-action { min-height: 44px; }
.hero-foot { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; padding-block: 19px; border-top: 1px solid #d8e7d540; gap: 18px; }
.hero-foot a { display: grid; justify-content: start; gap: 2px; text-decoration: none; }
.hero-foot strong { font-size: clamp(16px, 1.5vw, 23px); font-weight: 570; letter-spacing: -.045em; }
.hero-foot a span { color: #c8cec4; font: 10px/1.5 var(--mono); letter-spacing: .035em; }
.hero-foot a:hover strong { color: var(--orange); }
.hero-foot button { padding: 12px 0 12px 18px; border: 0; border-left: 1px solid #d8e7d548; background: transparent; color: var(--paper); font: 500 13px var(--mono); }
.hero-foot button span { color: var(--orange); }
.hero-foot button:hover { text-decoration: underline; }
.harness-demo { min-width: 0; }
.harness-demo noscript { display: grid; gap: 12px; }
.about-contact { background: #e8e8db; border-top: 1px solid #c5cbb9; }
.about-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 8vw, 125px); align-items: center; padding-block: clamp(48px, 6vw, 90px); }
.about-inner > div > .eyebrow { color: var(--rust); margin-bottom: 17px; }
.about-inner h2 { font: 550 clamp(32px, 4.1vw, 67px)/1.06 var(--display); letter-spacing: -.065em; }
.about-inner h2 em { color: var(--rust); }
.career-notes { list-style: none; margin: 23px 0 0; padding: 0; max-width: 58ch; }
.career-notes li { display: grid; grid-template-columns: 7ch 1fr; gap: 15px; padding: 11px 0; border-top: 1px solid #b7bfad; font-size: 15px; }
.career-notes strong { margin-top: 3px; font: 600 12px/1.5 var(--mono); color: var(--rust); }
.contact-note { border-left: 1px solid #b4bba9; padding-left: clamp(24px, 3.4vw, 56px); }
.contact-note h3 { font-size: 24px; letter-spacing: -.045em; }
.contact-note p { font-size: 15px; margin-top: 10px; max-width: 49ch; }
.contact-actions { margin-top: 17px; }
.contact-note .primary-action { background: var(--pine); color: var(--paper); }
.contact-note .primary-action:hover { background: #284339; }
.site-footer { display: flex; align-items: center; gap: 24px; padding: 17px max(var(--side), calc((100% - 1440px) / 2)); background: var(--pine); color: var(--paper); font-size: 12px; }
.site-footer span { margin-right: auto; }
dialog { color: var(--ink); border: 1px solid #657268; border-radius: 8px; box-shadow: 0 24px 85px #0007; }
dialog::backdrop { background: #081611dc; }
#product-index { background: var(--paper); width: min(850px, 94vw); max-height: 90svh; padding: clamp(16px, 2.4vw, 32px); }
.index-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.index-header h2 { font-size: 30px; letter-spacing: -.045em; }
.index-body { display: grid; grid-template-columns: minmax(160px, .65fr) minmax(0, 1.35fr); align-items: start; gap: 20px; }
.switches { display: grid; gap: 4px; }
.switches button { display: flex; gap: 9px; align-items: center; border: 0; border-radius: 4px; text-align: left; background: #e4e4d8; padding: 9px 10px; font-size: 13px; }
.switches small { display: block; }
.switches button i { font-style: normal; }
.switches b { margin-left: auto; }
.switches button[aria-pressed=true] { background: var(--pine); color: white; }
.glass { position: relative; }
.glass img { width: 100%; height: auto; display: block; border-radius: 4px; }
#enlarge, #close, [data-close-index] { padding: 6px 12px; background: var(--pine); color: white; border-radius: 3px; border: 1px solid #647367; }
#enlarge { position: absolute; right: 6px; bottom: 6px; }
.readout { margin-top: 12px; font-size: 14px; }
.readout > span { color: var(--rust); font: 11px var(--mono); }
.readout h2 { font-size: 23px; }
.readout a { display: inline-block; margin-top: 8px; font-weight: 650; }
#viewer { max-width: 96vw; max-height: 95svh; padding: 45px 8px 8px; background: var(--pine); }
#viewer img { display: block; max-width: 100%; max-height: 80svh; object-fit: contain; }
#close { position: absolute; right: 8px; top: 5px; }
@media (max-width: 870px) {
  .hero-story { width: min(68%, 520px); }
  .hero-story > .eyebrow { margin-bottom: 14px; }
  .hero-intro { max-width: 41ch; margin-top: 20px; }
  .hero-actions { margin-top: 18px; }
  .hero h1 { font-size: clamp(62px, 10vw, 88px); }
  .about-inner { gap: 28px; }
}
@media (max-width: 620px) {
  .masthead-inner { min-height: 65px; }
  .masthead nav a:not(.contact-nav) { display: none; }
  .brand { font-size: 20px; }
  .hero-inner { min-height: 490px; align-items: end; padding-block: 136px 32px; }
  .hero-story { width: 100%; }
  .cover-art img { object-position: 68% top; height: 77%; }
  .hero-cover::after { background: linear-gradient(0deg, #101917 15%, #101917f0 34%, #10191791 58%, #10191724 84%), linear-gradient(90deg, #10191783, transparent 70%); }
  .hero-foot { grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .hero-foot button { padding: 8px 0; border: 0; text-align: left; justify-self: start; align-self: end; }
  .about-inner, .index-body { grid-template-columns: 1fr; }
  .switches { display: flex; flex-wrap: wrap; gap: 5px; }
  .switches button { font-size: 12px; }
  .switches button b, .switches button i, .switches button small { display: none; }
  .contact-note { border: 0; border-top: 1px solid #b4bba9; padding: 22px 0 0; }
  .site-footer { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
