:root {
  --navy: #1b3147;
  --navy-deep: #122433;
  --ink: #1a242c;
  --muted: #5b666e;
  --paper: #e8eaec;
  --panel: #f7f8f9;
  --white: #ffffff;
  --rule: #cfd3d6;
  --brass: #9a7044;
  --brass-deep: #7a5632;
  --teal: #1a6c73;
  --stock: #f4f0e6;
  --stock-rule: #d9d1c3;
  --font-display: "Commissioner", "Avenir Next Condensed", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1120px;
  --gutter: clamp(1.15rem, 3.6vw, 2.5rem);
  --header-height: 64px;
  --section: clamp(3.5rem, 6vw, 5.25rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  padding: 0.5rem 0.75rem;
  background: var(--navy);
  color: var(--white);
}

.skip:focus {
  top: 0.75rem;
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.65rem;
  color: var(--brass-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 26px;
  height: 24px;
  flex: 0 0 26px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.nav-list a:not(.btn) {
  color: var(--muted);
}

.nav-list a:not(.btn):hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background: var(--stock);
  border-color: var(--stock);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--white);
}

.mobile-nav ul {
  margin: 0;
  padding: 0.4rem 0 1rem;
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem var(--gutter);
}

.cover {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 3.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}

.cover-grid > * {
  min-width: 0;
}

.doc-id {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.cover h1 {
  max-width: 11em;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  overflow-wrap: break-word;
}

.cover .lede {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.cover-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.specimen {
  background: var(--stock);
  border: 1px solid var(--stock-rule);
  box-shadow: 8px 10px 0 rgba(27, 49, 71, 0.06);
}

.specimen-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--stock-rule);
  border-left: 3px solid var(--brass);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.specimen-head span:last-child {
  color: var(--muted);
}

.specimen table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.specimen th,
.specimen td {
  padding: 0.62rem 0.9rem;
  border-bottom: 1px solid var(--stock-rule);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.specimen th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.specimen tr:last-child td {
  border-bottom: 0;
}

.specimen .status {
  color: var(--brass-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.products {
  padding: var(--section) 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.2rem;
  background: var(--white);
  color: inherit;
}

.product-card:hover {
  background: var(--panel);
}

.product-card .kicker {
  color: var(--muted);
}

.product-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
}

.product-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.spread {
  padding: var(--section) 0;
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}

.spread--white {
  background: var(--white);
}

.spread-head {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.spread-head > * {
  min-width: 0;
}

.spread-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.spec-table,
.schedule {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td,
.schedule th,
.schedule td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.spec-table th,
.schedule th {
  width: 28%;
  padding-right: 1.5rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.spec-table td strong,
.schedule td strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.spec-table td p,
.schedule td p {
  color: var(--muted);
  font-size: 0.95rem;
}

.photo-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.photo-row figure {
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--navy);
}

.photo-row img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 42% 100%;
}

.photo-row figcaption {
  padding: 0.55rem 0.7rem;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.outputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.75rem;
  border: 1px solid var(--rule);
}

.outputs div {
  padding: 0.9rem 1rem;
  border-left: 1px solid var(--rule);
}

.outputs div:first-child {
  border-left: 0;
}

.outputs strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.outputs span {
  color: var(--muted);
  font-size: 0.86rem;
}

.sku-list {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.sku {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr) minmax(140px, 0.28fr);
  gap: 1.25rem;
  padding: 1.2rem 1.25rem;
  background: var(--white);
}

.sku h3 {
  font-size: 1.2rem;
}

.sku p {
  color: var(--muted);
}

.sku .term {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.result {
  padding: var(--section) 0;
  background: var(--navy);
  color: var(--white);
}

.result .kicker {
  color: #d6b07a;
}

.result h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.result .lede {
  color: rgba(255, 255, 255, 0.72);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: start;
}

.result-grid > * {
  min-width: 0;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
  align-items: end;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.metric span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.metrics .arrow {
  padding-bottom: 1.4rem;
  color: #d6b07a;
  font-size: 1.4rem;
}

.result-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.result .specimen {
  box-shadow: none;
}

.result .specimen-head,
.result .specimen th,
.result .specimen td {
  color: var(--ink);
}

.checks {
  padding: 0.3rem 0 0.5rem;
}

.check {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--stock-rule);
  font-size: 0.86rem;
}

.check:last-child {
  border-bottom: 0;
}

.check b {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--brass-deep);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.delivery-grid article {
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--white);
}

.delivery-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.delivery-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

.qa-list {
  border-top: 1px solid var(--rule);
}

.qa {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.qa h3 {
  font-size: 1.05rem;
}

.qa p {
  color: var(--muted);
}

.inquire {
  padding: var(--section) 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.inquire-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
}

.founder {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  align-items: start;
}

.founder img {
  width: 88px;
  height: 110px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--rule);
}

.founder p {
  color: var(--muted);
  font-size: 0.92rem;
}

.founder strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-form__status {
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--rule);
  background: var(--panel);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0;
  outline: none;
  background: var(--panel);
  color: var(--ink);
}

.field input,
.field select {
  min-height: 46px;
  padding: 0 0.75rem;
}

.field textarea {
  min-height: 120px;
  padding: 0.75rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1rem;
}

.contact-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.price-row div {
  padding: 1.1rem 1.15rem;
  background: var(--white);
}

.price-row strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.price-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 1.35rem 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-inner a {
  color: var(--white);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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

@media (max-width: 980px) {
  .nav-list {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .mobile-actions .btn {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .cover-grid,
  .spread-head,
  .result-grid,
  .inquire-grid,
  .photo-row,
  .product-grid,
  .delivery-grid,
  .sku,
  .qa,
  .outputs,
  .price-row {
    grid-template-columns: 1fr;
  }

  .outputs div,
  .sku {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .outputs div:first-child,
  .sku:first-child {
    border-top: 0;
  }

  .sku .term {
    padding-top: 0.2rem;
  }

  .spec-table thead,
  .schedule thead {
    display: none;
  }

  .spec-table th,
  .schedule th,
  .spec-table td,
  .schedule td {
    display: block;
    width: 100%;
    padding-right: 0;
  }

  .spec-table th,
  .schedule th {
    padding-bottom: 0.2rem;
    border-bottom: 0;
  }

  .spec-table td,
  .schedule td {
    padding-top: 0.15rem;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 1.1rem;
    --header-height: 60px;
  }

  .cover h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .doc-id {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .specimen {
    font-size: 0.9em;
  }

  .specimen th,
  .specimen td {
    padding: 0.55rem 0.7rem;
  }

  .cover-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .metrics .arrow {
    padding: 0;
    transform: rotate(90deg);
    justify-self: start;
  }

  .contact-form__grid,
  .founder,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .field--full {
    grid-column: auto;
  }

  .photo-row img {
    height: 190px;
  }

  .specimen th:nth-child(3),
  .specimen td:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
