/* XOO Industries - small manufacturer site (~2016-2019)
   Simple brochure pages, fact tables, plant photos with borders. */

:root {
  --ink: #222222;
  --muted: #555555;
  --paper: #ffffff;
  --board: #e8eaed;
  --wash: #f2f3f5;
  --line: #c5cad0;
  --line-soft: #dde1e6;
  --forest: #163a5f;
  --forest-dk: #0f2842;
  --forest-lt: #2a5080;
  --rust: #e85d04;
  --rust-dk: #c44d03;
  --rust-wash: #fff3e8;
  --steel: #5c6b7a;
  --max: 980px;
  --font: Verdana, Geneva, Arial, Helvetica, sans-serif;
  --font-head: Georgia, "Times New Roman", Times, serif;
  --font-mono: "Courier New", Courier, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0; font-family: var(--font); font-size: 13px; line-height: 1.55;
  color: var(--ink); background: var(--board); -webkit-font-smoothing: auto;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--rust); }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0;
  line-height: 1.25; margin: 0 0 0.5em; color: var(--forest-dk);
}
h1 { font-size: 1.7rem; }
h2 { font-size: 1.25rem; border-bottom: 2px solid var(--forest); padding-bottom: 0.25em; margin-top: 0; }
h3 { font-size: 1.05rem; font-family: var(--font); color: var(--ink); border-bottom: 1px solid var(--line-soft); padding-bottom: 0.2em; }
p { margin: 0 0 0.85em; color: var(--muted); }
ul, ol { color: var(--muted); margin: 0 0 1em; padding-left: 1.35em; }
li { margin-bottom: 0.25em; }
strong { color: var(--ink); font-weight: 700; }
.inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.board {
  background: var(--paper); max-width: calc(var(--max) + 2px); margin: 0 auto;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100vh;
}

.topstrip {
  background: var(--forest-dk); color: #c8d4e0; font-size: 11px;
  max-width: calc(var(--max) + 2px); margin: 0 auto;
  border-left: 1px solid var(--forest-dk); border-right: 1px solid var(--forest-dk);
}
.topstrip .inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 4px 16px; padding-top: 5px; padding-bottom: 5px;
}
.topstrip a { color: #fff; font-weight: 700; text-decoration: underline; }
.topstrip a:hover { color: #ffb87a; }
.sitehead {
  background: var(--paper); border-bottom: 3px solid var(--forest);
  max-width: calc(var(--max) + 2px); margin: 0 auto;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.headrow {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--forest-dk); margin-right: auto;
}
.brand:hover { color: var(--forest); text-decoration: none; }
.brand-mark {
  display: inline-block; background: var(--forest); color: #fff;
  font-family: var(--font); font-weight: 700; font-size: 20px;
  letter-spacing: 1px; padding: 6px 10px; line-height: 1;
  border: 2px solid var(--forest-dk);
}
.brand-sub {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  line-height: 1.2; color: var(--ink);
}
.brand-sub em {
  font-family: var(--font); font-size: 10px; font-weight: 400;
  font-style: normal; color: var(--muted); display: block; margin-top: 2px;
}
.menubtn {
  display: none; background: var(--forest); color: #fff;
  border: 1px solid var(--forest-dk); padding: 6px 12px;
  font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.sitenav { display: flex; flex-wrap: wrap; gap: 0; align-items: center; }
.sitenav a {
  display: inline-block; padding: 5px 8px; font-size: 12px; font-weight: 700;
  color: var(--ink); text-decoration: none; border: 1px solid transparent;
}
.sitenav a:hover { background: var(--wash); color: var(--forest); text-decoration: none; }
.sitenav a.nav-rfq {
  background: var(--rust); color: #fff; border-color: var(--rust-dk); margin-left: 4px;
}
.sitenav a.nav-rfq:hover { background: var(--rust-dk); color: #fff; }
main { display: block; }
.page { padding: 18px 0 28px; }
.crumb { font-size: 11px; color: var(--steel); margin: 0 0 10px; }
.crumb a { color: var(--steel); }
.lead { font-size: 14px; color: var(--muted); max-width: 42em; }
.brochure-hero {
  background: var(--wash); border: 1px solid var(--line);
  border-left: 6px solid var(--forest); padding: 16px 18px; margin-bottom: 18px;
}
.brochure-hero h1 { margin-bottom: 0.35em; }
.brochure-hero .lead { margin-bottom: 0.75em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.btn {
  display: inline-block; padding: 7px 14px; font-family: inherit;
  font-size: 12px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--forest-dk); background: var(--forest); color: #fff; cursor: pointer;
}
.btn:hover { background: var(--forest-lt); color: #fff; text-decoration: none; }
.btn-rust { background: var(--rust); border-color: var(--rust-dk); }
.btn-rust:hover { background: var(--rust-dk); color: #fff; }
.btn-outline { background: var(--paper); color: var(--forest-dk); border-color: var(--forest); }
.btn-outline:hover { background: var(--wash); color: var(--forest-dk); text-decoration: none; }

.brochure-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.panel { border: 1px solid var(--line); background: var(--paper); }
.panel-h {
  background: var(--forest); color: #fff; font-family: var(--font-head);
  font-size: 15px; font-weight: 700; padding: 8px 12px; margin: 0;
  border-bottom: 2px solid var(--forest-dk);
}
.panel-b { padding: 12px; }
.panel-b p:last-child { margin-bottom: 0; }
.panel-b ul { margin-bottom: 0.5em; }
.photo {
  margin: 0 0 8px; padding: 0; background: #fff;
  border: 1px solid var(--line);
}
.photo img {
  display: block; width: 100%; height: auto; border: 0;
}
.photo figcaption {
  font-size: 11px; color: #555; padding: 5px 8px;
  background: var(--wash); border-top: 1px solid var(--line-soft);
  font-family: var(--font);
}
.photo-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 14px 0; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; align-items: start; }
.photo-pair .copy-col p:last-child { margin-bottom: 0; }
table.facts {
  width: 100%; border-collapse: collapse; font-size: 12px;
  margin: 0 0 14px; background: var(--paper);
}
table.facts th, table.facts td {
  border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top;
}
table.facts th { background: var(--forest); color: #fff; font-weight: 700; font-family: var(--font); }
table.facts tr:nth-child(even) td { background: #f7f5ef; }
table.facts td.num { font-family: var(--font-mono); white-space: nowrap; }
table.facts caption {
  caption-side: top; text-align: left; font-family: var(--font-head);
  font-weight: 700; font-size: 14px; color: var(--forest-dk); padding: 0 0 6px; margin: 0;
}
dl.spec {
  display: grid; grid-template-columns: 160px 1fr; gap: 0;
  margin: 0 0 14px; border: 1px solid var(--line); font-size: 12px;
}
dl.spec dt, dl.spec dd { margin: 0; padding: 6px 8px; border-bottom: 1px solid var(--line-soft); }
dl.spec dt {
  background: var(--wash); font-weight: 700; color: var(--ink);
  border-right: 1px solid var(--line-soft);
}
dl.spec dd { color: var(--muted); }
dl.spec dt:last-of-type, dl.spec dd:last-of-type { border-bottom: 0; }
table.quickstats { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 12px; }
table.quickstats td {
  border: 1px solid var(--line); padding: 10px 8px; text-align: center;
  background: var(--wash); width: 25%;
}
table.quickstats .qnum {
  display: block; font-family: var(--font-head); font-size: 1.35rem;
  font-weight: 700; color: var(--forest-dk); line-height: 1.1;
}
table.quickstats .qlbl { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.timeline { border-left: 3px solid var(--forest); margin: 12px 0 18px 6px; padding: 0 0 0 16px; }
.tl-item { margin: 0 0 14px; position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -21px; top: 4px;
  width: 10px; height: 10px; background: var(--rust);
  border: 2px solid var(--forest-dk); border-radius: 0;
}
.tl-year {
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  color: var(--rust); display: block; margin-bottom: 2px;
}
.tl-item p { margin: 0; }

table.directory { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 14px; }
table.directory th, table.directory td { border: 1px solid var(--line); padding: 7px 8px; text-align: left; }
table.directory th { background: var(--wash); font-weight: 700; }
table.directory tr:nth-child(even) td { background: #faf9f5; }
.job { border: 1px solid var(--line); margin: 0 0 14px; }
.job-h {
  background: var(--wash); border-bottom: 1px solid var(--line);
  padding: 8px 12px; font-family: var(--font-head); font-size: 15px;
  font-weight: 700; color: var(--forest-dk); margin: 0;
}
.job-meta {
  font-family: var(--font); font-size: 11px; font-weight: 400;
  color: var(--muted); display: block; margin-top: 2px;
}
.job-b { padding: 10px 12px; }
.job-b p:last-child { margin-bottom: 0; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line-soft); padding: 10px 0; margin: 0; }
.news-list li:first-child { padding-top: 0; }
.news-date { font-family: var(--font-mono); font-size: 11px; color: var(--rust); display: block; margin-bottom: 2px; }
.news-list a { font-weight: 700; text-decoration: none; color: var(--forest-dk); }
.news-list a:hover { color: var(--rust); text-decoration: underline; }
.news-list .blurb { margin: 4px 0 0; font-size: 12px; }
form.rfq label { display: block; font-weight: 700; font-size: 12px; margin: 0 0 3px; color: var(--ink); }
form.rfq .field { margin: 0 0 10px; }
form.rfq input[type="text"], form.rfq input[type="email"], form.rfq input[type="tel"],
form.rfq select, form.rfq textarea {
  width: 100%; max-width: 420px; font-family: inherit; font-size: 13px;
  padding: 6px 8px; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
form.rfq textarea { max-width: 100%; min-height: 100px; }
form.rfq .hint { font-size: 11px; color: var(--steel); margin-top: 2px; }
.alert-ok {
  display: none; background: #e8f0f8; border: 1px solid #7a9ab8;
  color: #0f2842; padding: 10px 12px; margin: 0 0 14px; font-size: 13px;
}
.alert-ok.show { display: block; }
.form-note { font-size: 11px; color: var(--steel); margin-top: 8px; }
.tbadge {
  display: inline-block; border: 1px solid var(--forest); color: var(--forest-dk);
  background: var(--paper); font-size: 10px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 7px; margin-right: 4px;
}
.badge-row { margin: 10px 0; }
.note {
  background: var(--rust-wash); border: 1px solid #e0c4a0;
  border-left: 4px solid var(--rust); padding: 10px 12px; margin: 12px 0; font-size: 12px;
}
.note p:last-child { margin-bottom: 0; }
.subnav {
  background: var(--wash); border: 1px solid var(--line);
  padding: 6px 10px; margin: 0 0 16px; font-size: 12px;
}
.subnav strong { margin-right: 6px; }
.subnav a { margin-right: 10px; font-weight: 700; text-decoration: none; }
.subnav a:hover { text-decoration: underline; }
.subnav a.is-on { color: var(--rust); text-decoration: underline; }
.sitefoot {
  background: var(--forest-dk); color: #b8c4d0; font-size: 11px;
  max-width: calc(var(--max) + 2px); margin: 0 auto;
  border-left: 1px solid var(--forest-dk); border-right: 1px solid var(--forest-dk);
  padding: 18px 0 12px;
}
.sitefoot a { color: #e0e8f0; }
.sitefoot a:hover { color: #ffb87a; }
.sitefoot strong { color: #fff; display: block; margin-bottom: 4px; font-size: 12px; }
.footgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { margin: 0 0 3px; }
.footbot { border-top: 1px solid var(--forest-lt); padding-top: 10px; }
.footbot .badges { margin: 0 0 8px; }
.footbot .tbadge { background: transparent; color: #c8d4e0; border-color: #5a7a9a; }
.footbot .copy { margin: 0; color: #8a96a4; }
.footbot .copy a { color: #b8c4d0; }
.article { max-width: 40em; }
.article .meta { font-size: 11px; color: var(--steel); margin-bottom: 12px; }
@media (max-width: 760px) {
  .menubtn { display: inline-block; }
  .sitenav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    border-top: 1px solid var(--line-soft); padding-top: 6px;
  }
  .sitenav.open { display: flex; }
  .sitenav a { border-bottom: 1px solid var(--line-soft); }
  .sitenav a.nav-rfq { margin-left: 0; text-align: center; }
  .brochure-2, .photo-pair, .photo-row, .footgrid { grid-template-columns: 1fr; }
  dl.spec { grid-template-columns: 1fr; }
  dl.spec dt { border-right: 0; border-bottom: 0; }
  table.quickstats td { display: block; width: 100%; }
  table.quickstats tr { display: block; }
}
