/* ZOR Software -- www.zorsoftware.com
 *
 * THE DIRECTION, AND WHY
 *
 * Restoration work is time-stamped. A loss arrives, and everything after it
 * races a clock: first response, mitigation, drying logged daily, a compliance
 * milestone that is either met or overdue. Both products ZOR Software builds
 * are about that clock -- so the page is built like an instrument that reads
 * one, not like a brochure.
 *
 * Hence: a cool slate ground and ONE cold accent, used for links, focus and a
 * single hairline above each panel -- and nothing else. There is deliberately
 * no warning colour in this palette: the public site reports no state, because
 * it shows no work. State belongs in the applications, behind sign-in.
 *
 * The token NAMES are the estate's own (--bg, --surface, --fg, --brand ...), so
 * this site speaks the same vocabulary as the suite; the values are its own.
 */

:root {
  --bg: #0e1620;
  --surface: #152130;
  --surface-muted: #101a26;
  --border: #243243;
  --border-bright: #32465c;

  --fg: #e6edf4;
  --fg-muted: #9fb3c8;
  --fg-subtle: #6f8299;

  --brand: #35d0c8;          /* the one accent: links, focus, the hairline */
  --brand-strong: #5fe3dc;

  --focus-ring: var(--brand);
  --radius-card: 4px;        /* an instrument panel has corners, not pills */
  --lane: 1100px;

  --display: "Saira Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

/* Visible only once it has focus, which is the whole job. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  font-family: var(--mono); font-size: 13px;
  background: var(--brand); color: #04161a; padding: 10px 16px;
}
.skip:focus { left: 0; text-decoration: none; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

/* A single lane, so every section agrees where the page edges are. */
.lane { width: 100%; max-width: var(--lane); margin: 0 auto; padding: 0 24px; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------- masthead */

.masthead {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 85%, black);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 64px;
}
.wordmark {
  font-family: var(--display);
  font-size: 25px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg); white-space: nowrap;
}
.wordmark:hover { text-decoration: none; color: var(--fg); }
.wordmark em { font-style: normal; color: var(--fg-subtle); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted); padding: 8px 12px; border-radius: 3px;
}
.site-nav a:hover { color: var(--fg); background: var(--surface); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .nav-support {
  border: 1px solid var(--border-bright); color: var(--fg);
}
.site-nav .nav-support:hover { border-color: var(--brand); color: var(--brand); background: none; }

/* -------------------------------------------------------------------- hero */

.hero { padding: 92px 0 0; border-bottom: 1px solid var(--border); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-subtle); margin: 0 0 20px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 18px; height: 1px;
  background: var(--brand); vertical-align: middle; margin-right: 10px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 8vw, 104px);
  max-width: 18ch;
  text-wrap: balance;
  font-weight: 700; line-height: 0.98; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.hero h1 span { color: var(--brand); }
.hero-sub {
  font-size: 19px; line-height: 1.6; color: var(--fg-muted);
  max-width: 54ch; margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 3px; border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #04161a; font-weight: 600; }
.btn-primary:hover { background: var(--brand-strong); color: #04161a; text-decoration: none; }
.btn-ghost { border-color: var(--border-bright); color: var(--fg); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ------------------------------------------------- the doors (signature) */

/* Two products, as two ways in. This replaced a job ledger that showed elapsed
   times and an overdue row: the public site displays no work in progress, not
   even an invented sample, because a page that shows work invites the reader to
   treat it as real. What carries the hero now is the claim and the structure.

   The device is a wide hairline-topped panel per product -- deliberately not a
   rounded card with an accent bar, which is what every generated landing page
   reaches for. The top rule is the accent, one pixel of it. */
.doors {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-top: 2px solid var(--brand);
  margin-top: 56px;
}
.door {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: 4px 16px;
  background: var(--surface); padding: 22px 24px 20px;
  color: var(--fg);
}
.door:hover { background: var(--surface-muted); text-decoration: none; }
.door-role {
  grid-column: 1 / -1;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.door-name {
  font-family: var(--display); font-size: 31px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
}
.door:hover .door-name { color: var(--brand); }
.door-go { font-size: 20px; color: var(--fg-subtle); line-height: 1; padding-bottom: 3px; }
.door:hover .door-go { color: var(--brand); }

/* ---------------------------------------------------------------- sections */

.band { padding: 72px 0; border-bottom: 1px solid var(--border); }
.band-quiet { background: var(--surface-muted); }
.band h2 {
  font-family: var(--display); font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 600; line-height: 1.05; letter-spacing: 0.01em;
  text-transform: uppercase; margin: 0 0 14px;
}
.band-intro { color: var(--fg-muted); max-width: 62ch; margin: 0 0 40px; font-size: 17px; }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product {
  border: 1px solid var(--border); border-top: 2px solid var(--brand);
  border-radius: var(--radius-card); background: var(--surface);
  padding: 28px;
}
.product-role {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.product h3 {
  font-family: var(--display); font-size: 30px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em; margin: 6px 0 10px;
}
.product-line { color: var(--brand); font-size: 15px; margin: 0 0 14px; }
.product p { color: var(--fg-muted); margin: 0 0 20px; }

.caps { list-style: none; margin: 0; padding: 0; }
.caps li { border-top: 1px solid var(--border); padding: 11px 0; }
.caps li:last-child { border-bottom: 1px solid var(--border); }
.caps b {
  display: block; font-weight: 500; font-size: 15px; color: var(--fg);
}
.caps span { font-size: 14px; color: var(--fg-subtle); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
         background: var(--border); border: 1px solid var(--border);
         border-radius: var(--radius-card); overflow: hidden; }
.fact { background: var(--surface); padding: 22px; }
.fact dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-subtle); margin: 0 0 8px;
}
.fact dd { margin: 0; font-size: 16px; color: var(--fg); }
.fact dd a { word-break: break-word; }

.after-list { margin: 28px 0 0; }
.prose { max-width: 68ch; }
.prose p { color: var(--fg-muted); margin: 0 0 18px; }
.prose p strong { color: var(--fg); font-weight: 500; }

/* ------------------------------------------------------------------ footer */

.site-foot { padding: 32px 0 48px; color: var(--fg-subtle); font-size: 14px; }
.site-foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot a { color: var(--fg-muted); }

/* ------------------------------------------------------------ small screens */

@media (max-width: 900px) {
  .hero { padding: 56px 0 0; }
  .doors { grid-template-columns: 1fr; margin-top: 40px; }
  .products { grid-template-columns: 1fr; }
  .band { padding: 52px 0; }
}

@media (max-width: 520px) {
  .lane { padding: 0 18px; }
  .door-name { font-size: 26px; }
  .site-nav a { padding: 8px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
