/* ==========================================================================
   T3C Technologies — light "blueprint" theme:
   bone ground, ink type, logo-teal accent, mono labels,
   bordered press buttons, hairline frame rules with tick marks.
   Layered over styles.css; screen only, so print/PDF output is unchanged.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500&family=Geist+Mono:wght@400;500&display=swap');

@media screen {

:root {
  --ink: #292929;
  --ink-soft: #4A4A4A;
  --ink-faint: #6B6B6B;
  --paper: #F2F1EB;
  --surface: #F2F1EB;
  --plate: #E8E6DF;
  --line: rgba(41, 41, 41, 0.12);
  --line-dark: rgba(41, 41, 41, 0.08);
  --rule: rgba(71, 71, 71, 0.14);
  --rule-tick: rgba(71, 71, 71, 0.35);
  --navy: #0A3D4D;
  --navy-soft: #0F5063;
  --cream: #FFFFFF;
  --accent: #12708C; /* logo teal #1583A9, deepened for AA contrast */
  --accent-dark: #0E5A71;
  --accent-tint: rgba(18, 112, 140, 0.08);
  --teal: #12708C;
  --teal-tint: rgba(18, 112, 140, 0.08);
  --violet: #12708C;
  --gradient-text: linear-gradient(90deg, #12708C, #12708C);

  --font-display: 'Barlow', 'Bahnschrift', 'Segoe UI', sans-serif;
  --font-hero: 'Barlow', 'Bahnschrift', 'Segoe UI', sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-s: 6px;
  --press: 3px;
  /* outer edges of the content frame (container edges, min 16px gutter) */
  --frame-x: max(16px, calc((100% - var(--container)) / 2));
}

/* dark bands (deep teal) keep light-on-dark tokens */
.section--dark, .site-footer, .cta-band {
  --ink: #FFFFFF;
  --ink-soft: rgba(255, 255, 255, 0.82);
  --ink-faint: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.22);
  --accent: #8FDCEB;
  --accent-tint: rgba(255, 255, 255, 0.08);
  --teal: #8FDCEB;
  --surface: #0F5063;
  --navy-soft: #0F5063;
  background: var(--navy);
  color: #FFFFFF;
}

body {
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
p { color: var(--ink-soft); }

/* ---------- page frame: vertical rules at the container edges ---------- */
body::after {
  content: '';
  position: fixed;
  top: 0; bottom: 0;
  left: var(--frame-x); right: var(--frame-x);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  pointer-events: none;
  z-index: -1;
}
main > section { position: relative; }
main > section + section::before,
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: var(--frame-x); right: var(--frame-x);
  height: 1px;
  background: var(--rule);
}
main > section + section::after {
  content: '';
  position: absolute;
  top: -5px; left: calc(var(--frame-x) - 5px); right: calc(var(--frame-x) - 5px);
  height: 11px;
  background:
    linear-gradient(var(--rule-tick), var(--rule-tick)) left 5px top 0 / 1px 11px no-repeat,
    linear-gradient(var(--rule-tick), var(--rule-tick)) left 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--rule-tick), var(--rule-tick)) right 5px top 0 / 1px 11px no-repeat,
    linear-gradient(var(--rule-tick), var(--rule-tick)) right 0 top 5px / 11px 1px no-repeat;
  pointer-events: none;
  z-index: 2;
}
.section--dark + section::before, .section--dark::before, .section--dark::after { display: none; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-hero);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 3.6vw + 1rem, 4.25rem); letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.9vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 0.8vw + 1rem, 1.5rem); font-weight: 400; }
h4 { font-size: 1.15rem; font-weight: 500; }
h3.h4 { font-family: var(--font-hero); }
.grad-text { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem); color: var(--ink-faint); line-height: 1.6; }

.eyebrow, .eyebrow--line {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 0;
  margin-bottom: 1.25rem;
}
/* four-dot "node" glyph, like the site's eyebrow marker */
.eyebrow::before, .eyebrow--line::before, .eyebrow.on-dark::before {
  width: 9px; height: 9px;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle, currentColor 1.2px, transparent 1.6px) 50% 0 / 4px 4px no-repeat,
    radial-gradient(circle, currentColor 1.2px, transparent 1.6px) 50% 100% / 4px 4px no-repeat,
    radial-gradient(circle, currentColor 1.2px, transparent 1.6px) 0 50% / 4px 4px no-repeat,
    radial-gradient(circle, currentColor 1.2px, transparent 1.6px) 100% 50% / 4px 4px no-repeat;
}

/* ---------- buttons: bordered, mono, with a pressable offset shadow ---------- */
.btn {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border: 1px solid #292929;
  border-radius: var(--r-s);
  box-shadow: var(--press) var(--press) 0 0 #292929;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn::before { content: '\2197'; font-size: 0.95em; line-height: 1; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-outline, .btn-outline-light { background: var(--paper); color: #292929; border-color: #292929; }
.btn-primary:hover, .btn-outline:hover, .btn-outline-light:hover {
  filter: none;
  color: #FFFFFF;
  background: #0E5A71;
  border-color: #292929;
  transform: translate(calc(var(--press) / 2), calc(var(--press) / 2));
  box-shadow: calc(var(--press) / 2) calc(var(--press) / 2) 0 0 #292929;
}
.btn:active { transform: translate(var(--press), var(--press)); box-shadow: 0 0 0 0 #292929; }
.section--dark .btn, .cta-band .btn, .site-footer .btn { box-shadow: var(--press) var(--press) 0 0 #04222B; border-color: #04222B; }
.section--dark .btn-outline-light, .cta-band .btn-outline-light { background: #FFFFFF; color: #292929; }
.section--dark .btn-primary, .cta-band .btn-primary, .site-footer .btn-primary { background: #FFFFFF; color: #0A3D4D; }
.section--dark .btn:hover, .cta-band .btn:hover { background: #BDEBF3; color: #0A3D4D; box-shadow: calc(var(--press) / 2) calc(var(--press) / 2) 0 0 #04222B; }
.btn-text { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; border-bottom-width: 1px; }
.btn-text:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- header ---------- */
.site-header { background: var(--paper); }
.site-header::before { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--rule); }
.site-header::after {
  content: ''; position: absolute; bottom: 0; left: var(--frame-x); right: var(--frame-x);
  height: 1px; background: var(--rule);
}
.site-header .logo-img { content: url('../assets/img/t3c-logo-ink.png'); height: 52px; }
.nav { height: 88px; }
.nav-links { gap: 4px; }
.nav-links a.top-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 7.5rem; height: 44px; padding: 0 1rem;
  font-family: var(--font-mono); font-weight: 400; font-size: 0.82rem; letter-spacing: 0.06em;
  color: #292929;
  border: 1px solid #292929; border-radius: var(--r-s);
  background: var(--paper);
  box-shadow: 2px 2px 0 0 #292929;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.nav-links a.top-link:hover,
.has-mega:hover > .top-link, .has-mega:focus-within > .top-link {
  color: #FFFFFF; background: var(--accent);
  transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 #292929;
}
.has-mega > .top-link::after { width: 6px; height: 6px; border-width: 1.25px; }
.nav-cta .btn { padding: 0 1.2rem; height: 44px; }
.nav-toggle span { background: #292929; }

/* mega menu: bone panel with an ink border */
.mega {
  background: var(--paper);
  border-top: 1px solid #292929;
  border-bottom: 1px solid #292929;
  box-shadow: 0 18px 30px rgba(41, 41, 41, 0.10);
}
.mega-item { border-radius: var(--r-s); }
.mega-item:hover { background: var(--plate); }
.mega-icon { border-radius: var(--r-s); border: 1px solid var(--line); background: var(--plate); color: var(--accent); }
.mega-item-title { font-family: var(--font-hero); font-size: 1.05rem; font-weight: 500; }
.mega-feature { background: var(--plate); border: 1px solid #292929; border-radius: var(--r-s); box-shadow: 3px 3px 0 0 #292929; }
.mega-feature-eyebrow { font-family: var(--font-mono); font-weight: 400; color: var(--accent); }
.nav-backdrop { background: rgba(242, 241, 235, 0.55); backdrop-filter: none; }

@media (max-width: 980px) {
  body.nav-open .nav-links { background: var(--paper); }
  body.nav-open .nav-links a.top-link {
    display: block; height: auto; min-width: 0; padding: 1.1rem 0;
    border: 0; box-shadow: none; background: none; transform: none; color: #292929;
  }
}

/* ---------- hero: schematic line-art instead of photo + particles ---------- */
.hero { background: url('../assets/img/schematic.svg') center / cover no-repeat; }
.hero::before {
  /* wash behind the copy so the line art stays decorative */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(242,241,235,0) 4%, rgba(242,241,235,0.96) 16%, rgba(242,241,235,0.96) 84%, rgba(242,241,235,0) 96%);
}
.section-photo, .hero-particles, .parallax-bg-layer, .page-photo { display: none !important; }
/* per-page art: page motif on the right, a varied circuit strip on the left */
body[data-theme="about"] .hero { --art-l: url('../assets/img/hero/about-l.svg'); --art-r: url('../assets/img/hero/about-r.svg'); }
body[data-theme="contact"] .hero { --art-l: url('../assets/img/hero/contact-l.svg'); --art-r: url('../assets/img/hero/contact-r.svg'); }
body[data-theme="career"] .hero { --art-l: url('../assets/img/hero/career-l.svg'); --art-r: url('../assets/img/hero/career-r.svg'); }
body[data-theme="insights"] .hero { --art-l: url('../assets/img/hero/insights-l.svg'); --art-r: url('../assets/img/hero/insights-r.svg'); }
body[data-theme="cloud"] .hero { --art-l: url('../assets/img/hero/cloud-l.svg'); --art-r: url('../assets/img/hero/cloud-r.svg'); }
body[data-theme="data"] .hero { --art-l: url('../assets/img/hero/data-l.svg'); --art-r: url('../assets/img/hero/data-r.svg'); }
body[data-theme="security"] .hero { --art-l: url('../assets/img/hero/security-l.svg'); --art-r: url('../assets/img/hero/security-r.svg'); }
body[data-theme="agile"] .hero { --art-l: url('../assets/img/hero/agile-l.svg'); --art-r: url('../assets/img/hero/agile-r.svg'); }
body[data-theme="ai"] .hero { --art-l: url('../assets/img/hero/ai-l.svg'); --art-r: url('../assets/img/hero/ai-r.svg'); }
body[data-theme="sewp"] .hero { --art-l: url('../assets/img/hero/sewp-l.svg'); --art-r: url('../assets/img/hero/sewp-r.svg'); }
body[data-theme="capability"] .hero { --art-l: url('../assets/img/hero/capability-l.svg'); --art-r: url('../assets/img/hero/capability-r.svg'); }
body[data-theme="sewp"]:has(.guide-layout) .hero { --art-l: url('../assets/img/hero/guide-l.svg'); --art-r: url('../assets/img/hero/guide-r.svg'); }
body:not([data-theme="home"]) .hero { background: var(--art-l) left top / auto 100% no-repeat, var(--art-r) right top / auto 100% no-repeat; }
body:not([data-theme="home"]) .hero::before { display: none; }
@media (min-width: 1101px) {
  body:not([data-theme="home"]) .hero h1 { max-width: min(16em, calc(100% - 17rem)) !important; }
}
@media (max-width: 1100px) {
  body:not([data-theme="home"]) .hero::before { display: block; background: rgba(242,241,235,0.78); }
}
.hero-meta { border-left: 1px solid var(--accent); }

/* ---------- marquee ---------- */
.marquee-track span { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.marquee-track .dot { color: var(--accent); text-shadow: none; font-size: 1.1rem; }

/* ---------- cards: hairline cells ---------- */
.card {
  isolation: isolate;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
}
.card:hover { transform: none; background: var(--plate); }
.section--dark .card:hover { background: rgba(255,255,255,0.05); }
.card-bg-icon { color: var(--accent); opacity: 0.07; }
.card:hover .card-bg-icon { opacity: 0.12; }
.card .num { font-family: var(--font-mono); font-weight: 400; color: var(--accent); }
.icon-tile { border-radius: var(--r-s); border: 1px solid var(--line); background: var(--plate); }
.section--dark .icon-tile { background: rgba(255,255,255,0.08); }
.card:hover .icon-tile { border-color: var(--accent); transform: none; }

.stat .num { font-family: var(--font-hero); font-weight: 300; color: var(--accent); letter-spacing: -0.03em; }
.section--dark .stat .num { color: #FFFFFF; }
.stat .label { font-family: var(--font-mono); font-weight: 400; }

.tag { font-family: var(--font-mono); font-weight: 400; color: var(--accent); border: 1px solid var(--line); border-radius: var(--r-s); }
.pill-list li { border: 1px solid var(--line); border-radius: var(--r-s); font-weight: 400; }
.breadcrumb { font-family: var(--font-mono); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; }

/* ---------- CTA band + footer (deep teal) ---------- */
.cta-band { border-radius: var(--r-s); border: 1px solid #292929; box-shadow: 6px 6px 0 0 #292929; }
.site-footer { position: relative; }
.site-footer::before { display: none; }
.footer-grid h4 { font-family: var(--font-mono); font-weight: 400; }

/* ---------- forms ---------- */
.field label { font-family: var(--font-mono); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field textarea, .field select { background: #FFFFFF; border: 1px solid rgba(41,41,41,0.35); border-radius: var(--r-s); }

/* ---------- SEWP + guide components ---------- */
.award-facts dt, .doc-control dt, .contact-block .label, .guide-toc h2, .guide-body thead th { font-family: var(--font-mono); font-weight: 400; }
.scope-check { border-radius: var(--r-s); }
.steps li::before { border-radius: var(--r-s); border-width: 1px; font-family: var(--font-mono); font-weight: 400; background: var(--paper); }
.callout, .note { border-left-width: 2px; background: var(--plate); }
.chapter-dot-mark { border-radius: 0; }
.chapter-dot:hover .chapter-dot-mark, .chapter-dot.is-active .chapter-dot-mark { box-shadow: none; }
.chapter-dot-label { font-family: var(--font-mono); border: 1px solid #292929; box-shadow: 2px 2px 0 0 #292929; border-radius: var(--r-s); background: var(--paper); }
.tbd { color: #713F12; }
.skip-link { color: #FFFFFF; }

}
