/* Orbius — the commercial side of video infrastructure: documents, catalogues, agreements.
   Serif display + sans text, paper white, bottle-green ink, ochre stamp. No decoration, no motion. */
:root {
  --paper: #fbfaf7;
  --surface: #f2f0ea;
  --ink: #14372b;
  --text: #1f2d26;
  --muted: #5f7367;
  --rule: #d9ddd4;
  --stamp: #c7871e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10201a;
    --surface: #17291f;
    --ink: #f1efe7;
    --text: #e4e6df;
    --muted: #9fb0a6;
    --rule: #2d3f36;
    --stamp: #e0a03a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--stamp); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2.5rem; } }

h1, h2, h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: var(--ink); margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1; max-width: 18ch; }
h1 em, h2 em { font-style: italic; color: var(--stamp); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.1; max-width: 24ch; }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0; max-width: 38rem; }
.sub { font-size: 1.15rem; color: var(--muted); max-width: 36rem; line-height: 1.5; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.mark { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.6rem; text-decoration: none; color: var(--ink); letter-spacing: .01em; }
.site-head nav { display: flex; gap: 1.4rem; }
.site-head nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.site-head nav a[aria-current="page"], .site-head nav a:hover { color: var(--ink); }
@media (max-width: 34rem) { .site-head nav a.hide-sm { display: none; } }

/* Hero */
.hero { padding: 5rem 0 3.5rem; }
.hero .sub { margin-top: 1.5rem; }
.hero .actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn { display: inline-block; text-decoration: none; padding: .8rem 1.4rem; background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 500; }
.btn:hover { background: var(--stamp); border-color: var(--stamp); color: #fff; }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: transparent; color: var(--stamp); border-color: var(--stamp); }

/* Catalogue — the one loud element */
.catalogue { margin-top: 3.5rem; border-top: 2px solid var(--ink); }
.catalogue table { border-collapse: collapse; width: 100%; }
.catalogue th, .catalogue td { text-align: left; vertical-align: top; padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--rule); }
.catalogue thead th { font-weight: 500; color: var(--muted); font-size: .9rem; padding-top: .8rem; padding-bottom: .6rem; }
.catalogue tbody th { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 1.45rem; color: var(--ink); line-height: 1.15; width: 30%; }
.catalogue td { color: var(--text); font-size: .98rem; }
.catalogue td ul { margin: 0; padding-left: 1.1rem; }
.catalogue td li + li { margin-top: .25rem; }
@media (max-width: 44rem) {
  .catalogue thead { display: none; }
  .catalogue tr { display: grid; gap: .5rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .catalogue th, .catalogue td { border: 0; padding: 0; width: auto; }
  .catalogue td::before { content: attr(data-col); display: block; font-size: .85rem; color: var(--muted); }
}

/* Sections */
section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--rule); }
.row { display: grid; gap: 1.25rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .row { grid-template-columns: minmax(14rem, 1fr) 2fr; } }
.row + .row { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.row h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.row .body > p + p, .row .body > ul + p, .row .body > p + ul { margin-top: 1rem; }
.row .body > h3 + p { margin-top: .4rem; }
.row .body > p + h3, .row .body > ul + h3 { margin-top: 1.75rem; }
.row .body ul { margin: 0; padding-left: 1.2rem; }
.row .body li + li { margin-top: .4rem; }

/* Steps — numbered because it is a sequence */
.steps { counter-reset: step; list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; max-width: 44rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); font-family: 'Instrument Serif', Georgia, serif; font-size: 2rem; line-height: 1; color: var(--stamp); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: .3rem; color: var(--muted); }

/* Long-form */
.prose { max-width: 40rem; }
.prose h2 { margin-top: 3rem; font-size: 1.8rem; }
.prose h3 { margin-top: 2rem; font-size: 1.3rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose .meta { color: var(--muted); font-size: .95rem; }
.prose table, table.spec { border-collapse: collapse; width: 100%; margin-top: 1rem; font-size: .95rem; }
.prose th, .prose td, table.spec th, table.spec td { text-align: left; padding: .55rem .75rem .55rem 0; border-top: 1px solid var(--rule); vertical-align: top; }
.prose th, table.spec th { color: var(--muted); font-weight: 500; width: 12rem; }
.prose tr:last-child td, table.spec tr:last-child td { border-bottom: 1px solid var(--rule); }

/* Company details block */
.details { border: 1.5px solid var(--ink); padding: 1.5rem; max-width: 40rem; background: var(--surface); }
.details h3 { margin-bottom: .75rem; }
.details table { width: 100%; border-collapse: collapse; }
.details th, .details td { text-align: left; padding: .45rem .75rem .45rem 0; border-top: 1px solid var(--rule); vertical-align: top; font-size: .95rem; }
.details th { color: var(--muted); font-weight: 500; width: 12rem; }
.details .pending { color: var(--muted); font-style: italic; }

/* Forms */
form.ask { display: grid; gap: 1.25rem; max-width: 36rem; margin-top: 2rem; }
form.ask label { display: grid; gap: .4rem; font-size: .95rem; color: var(--muted); }
form.ask input, form.ask textarea, form.ask select { font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--rule); border-radius: 4px; padding: .65rem .8rem; width: 100%; }
form.ask input:focus, form.ask textarea:focus, form.ask select:focus { outline: none; border-color: var(--stamp); }
form.ask textarea { min-height: 7rem; resize: vertical; }
form.ask .two { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 36rem) { form.ask .two { grid-template-columns: 1fr; } }
form.ask .btn { justify-self: start; cursor: pointer; }
form.ask .note { font-size: .9rem; color: var(--muted); }

/* Contact */
.contact h2 { max-width: none; }
.contact .mail { display: inline-block; margin-top: 1.5rem; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 3rem 0; color: var(--muted); font-size: .95rem; }
.site-foot .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); max-width: 48rem; }
.site-foot .cols div { display: grid; gap: .4rem; align-content: start; }
.site-foot .cols strong { color: var(--ink); font-weight: 500; margin-bottom: .3rem; }
.site-foot .cols a { text-decoration: none; color: var(--muted); }
.site-foot .cols a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .base { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
