/* DBF Tek Solutions LLC — static site styles.
   Self-hosted fonts only. No third-party requests, scripts, or CDNs. */

@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0b1c2c;
  --navy-2: #163044;
  --navy-3: #1e3d54;
  --logo-navy: #032961;
  --logo-blue: #076cf7;
  --ink: #1c1917;
  --muted: #5c6570;
  --line: #d6cfc3;
  --cream: #f3efe7;
  --paper: #fbfaf6;
  --white: #ffffff;
  --brass: #b0894f;
  --brass-dark: #8c6a38;
  --teal: #1557b0; /* accessible logo-family blue (sampled #076cf7 fails AA on cream) */
  --max: 1120px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", "Noto Sans", sans-serif;
  font-size: 17px;
  font-weight: 420;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: "Libre Caslon Text", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.eyebrow {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin: 0 0 0.7rem;
}
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid rgba(176, 137, 79, 0.28);
}
.site-header .bar {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: inherit; }
.brand .mark {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 5px;
  box-sizing: border-box;
}
.brand .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}
.brand-text span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.86rem;
  font-weight: 500;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.88;
}
.nav a:hover, .nav a[aria-current="page"] {
  opacity: 1;
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--brass);
  padding-bottom: 2px;
}
.nav .cta {
  background: var(--brass);
  color: var(--navy) !important;
  box-shadow: none !important;
  padding: 0.5rem 0.9rem !important;
  opacity: 1 !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.nav .cta:hover { background: #c49a5e; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(243, 239, 231, 0.3);
  color: var(--cream);
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  min-height: max(620px, 70vh);
  height: auto;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--navy) center/cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 28, 44, 0.28) 0%, rgba(11, 28, 44, 0.55) 45%, rgba(11, 28, 44, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 28, 44, 0.55), rgba(11, 28, 44, 0.15));
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; padding: 3.25rem 0 3.4rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: rgba(243, 239, 231, 0.86); }
.hero .eyebrow { color: var(--brass); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brass); color: var(--navy); }
.btn-primary:hover { background: #c49a5e; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(243, 239, 231, 0.45); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }

/* ID bar */
.idbar {
  background: var(--navy-2);
  color: var(--cream);
  padding: 1rem 0;
  border-top: 1px solid rgba(176, 137, 79, 0.3);
}
.idbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}
.idbar span { color: var(--brass); margin-right: 0.45rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--cream); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p, .section.navy li { color: rgba(243, 239, 231, 0.86); }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }

.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 1.4rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.45rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); flex: 1; }
.card .more {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.card .more:hover { color: var(--brass-dark); }
.card.dark {
  background: var(--navy-2);
  border-color: rgba(176, 137, 79, 0.25);
  color: var(--cream);
}
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(243, 239, 231, 0.8); }
.card.dark .more { color: var(--brass); }

.service {
  border-top: 1px solid var(--line);
  padding: 1.7rem 0;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}
.service h3 { margin: 0; }
.service p:last-child { margin-bottom: 0; }

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 4.2rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero.photo { min-height: 320px; background-size: cover; background-position: center; }
.page-hero.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,28,44,0.55), rgba(11,28,44,0.88));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { color: rgba(243, 239, 231, 0.86); }

.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.data th, table.data td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  width: 34%;
}
table.data td.mono, .mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88em;
}
.callout {
  border-left: 3px solid var(--brass);
  background: var(--cream);
  padding: 1.1rem 1.25rem;
  margin: 1.4rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.note {
  font-size: 0.88rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.split figure { margin: 0; }
.split figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.55rem;
}
.media { width: 100%; object-fit: cover; }
.media.tall { height: 420px; object-fit: cover; }

.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 3.4rem 0;
  text-align: left;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(243, 239, 231, 0.86); max-width: 38rem; }

/* Forms */
form.contact {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { margin: 0 0 1rem; }
.contact-list span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--navy); text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--teal); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(243, 239, 231, 0.78);
  padding: 3rem 0 1.6rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(176, 137, 79, 0.3);
}
.site-footer h2 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.legal {
  border-top: 1px solid rgba(243, 239, 231, 0.12);
  padding-top: 1.1rem;
  font-size: 0.75rem;
  color: rgba(243, 239, 231, 0.62);
  display: grid;
  gap: 0.45rem;
}

/* Official logo on dark surfaces sits on a light card for contrast */
.hero-logo,
.page-hero-logo,
.foot-logo {
  display: inline-block;
  background: var(--white);
  border-radius: 12px;
  line-height: 0;
}
.hero-logo picture,
.page-hero-logo picture,
.foot-logo picture {
  display: block;
}
.hero-logo {
  padding: 0.7rem 1rem 0.8rem;
  margin: 0 0 1.35rem;
}
.hero-logo img {
  width: min(240px, 68vw);
  height: auto;
}
.page-hero-logo {
  padding: 0.55rem 0.8rem 0.65rem;
  margin: 0 0 1.15rem;
}
.page-hero-logo img {
  width: min(220px, 64vw);
  height: auto;
}
.foot-logo {
  padding: 0.5rem 0.7rem 0.55rem;
  margin: 0 0 1rem;
}
.foot-logo:hover { opacity: 0.92; }
.foot-logo img {
  width: min(200px, 70vw);
  height: auto;
}



/* Page-specific backgrounds (kept in CSS so the CSP can ban inline styles) */
.hero-home { background-image: url("../images/servers.jpg"); }
.page-hero-circuit { background-image: url("../images/circuit.jpg"); }
.page-hero-schematic { background-image: url("../images/schematic.jpg"); }
.page-hero-building { background-image: url("../images/building.jpg"); }
.callout-spaced { margin-top: 1.8rem; }
.eyebrow-spaced { margin-top: 2rem; }

.contact-direct {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
}
.contact-direct p:last-of-type { margin-bottom: 0; }
.contact-direct .actions { margin-top: 1.4rem; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .split, .foot-grid, .service { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.4rem;
    gap: 0.9rem;
  }
  .site-header:has(#nav-toggle:checked) .nav,
  .site-header.is-open .nav { display: flex; }
  .hero { min-height: 92vh; height: auto; max-height: none; }
  .hero .wrap { padding: 2rem 0 2.4rem; }
  .hero-logo { padding: 0.5rem 0.7rem 0.55rem; margin: 0 0 0.95rem; }
  .hero-logo img { width: min(200px, 58vw); }
  .page-hero-logo { padding: 0.45rem 0.65rem 0.5rem; }
  .page-hero-logo img { width: min(180px, 58vw); }
  .foot-logo img { width: min(180px, 72vw); }
}

