/* Ops9 site styles */
:root {
  --ink: #06141A;
  --deep: #0A2129;
  --deep-2: #0E2E38;
  --teal: #2BD9E4;
  --teal-strong: #12B8C4;
  --teal-dark: #0B7F89;
  --mist: #E8F4F6;
  --paper: #F7FBFC;
  --white: #FFFFFF;
  --text: #12262D;
  --text-soft: #4A6169;
  --text-on-dark: #D3E6EA;
  --line: #CFE3E7;
  --line-dark: rgba(43, 217, 228, 0.22);
  --radius: 6px;
  --serif: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--teal-strong); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.wrap { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: 1.2rem; color: var(--text-soft); }

/* Bands: each section is a shaded block */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--mist { background: var(--mist); }
.band--deep { background: var(--deep); color: var(--text-on-dark); }
.band--ink { background: var(--ink); color: var(--text-on-dark); }
.band--teal { background: linear-gradient(115deg, #0B7F89 0%, #12B8C4 100%); color: #031317; }
.band--deep .lede, .band--ink .lede { color: var(--text-on-dark); opacity: .9; }
.band--deep h1, .band--deep h2, .band--deep h3,
.band--ink h1, .band--ink h2, .band--ink h3 { color: var(--white); }
.band--deep a:not(.btn), .band--ink a:not(.btn) { color: var(--teal); }

/* Header */
.site-header { background: #02080B; border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand img { height: 70px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--text-on-dark); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--teal); }
.nav .btn { border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--white); border-radius: var(--radius); padding: 10px 14px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: .07em; text-transform: uppercase; padding: 16px 30px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; transition: background .18s, color .18s, border-color .18s; cursor: pointer; }
.btn--primary { background: var(--teal); color: #031317; }
.btn--primary:hover { background: #6BE8F0; color: #031317; }
.btn--ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--ghost:hover { background: rgba(43,217,228,.12); color: var(--white); }
.btn--dark { background: #031317; color: var(--white); }
.btn--dark:hover { background: #000; color: var(--teal); }
.btn--outline-dark { border-color: #031317; color: #031317; }
.btn--outline-dark:hover { background: #031317; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.nav .btn { padding: 10px 20px; font-size: 0.95rem; }

/* Photo slots: show the photo if it exists, otherwise a deliberate dark panel */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background:
  radial-gradient(120% 90% at 20% 10%, rgba(43,217,228,.28), transparent 55%),
  linear-gradient(160deg, #0E2E38, #06141A); min-height: 260px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,20,26,.55)); pointer-events: none; }
.photo figcaption { position: absolute; left: 16px; bottom: 12px; z-index: 2; color: var(--white); font-size: .85rem; font-weight: 500; }
.photo--tall { min-height: 440px; }
.photo--wide { min-height: 320px; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) 0; background:
  radial-gradient(70% 90% at 85% 20%, rgba(43,217,228,.14), transparent 60%),
  var(--ink); color: var(--text-on-dark); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--white); }
.hero .lede { color: var(--text-on-dark); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust h3 { font-size: 1.25rem; margin-bottom: .35em; }
.trust p { color: var(--text-soft); margin: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; border-top: 4px solid var(--teal-strong); }
.pillar--ops { border-top-color: var(--deep); }
.pillar h3 { margin-bottom: .2em; }
.pillar .tag { color: var(--teal-dark); font-weight: 600; font-size: .95rem; margin-bottom: 1em; display: block; }
.pillar ul, .checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.pillar li, .checklist li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.pillar li::before, .checklist li::before { content: ""; position: absolute; left: 4px; top: 1.1em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-strong); }
.pillar li:first-child, .checklist li:first-child { border-top: 0; }

/* Vendor neutral */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips span { border: 1px solid var(--line-dark); color: var(--white); padding: 8px 16px; border-radius: 999px; font-size: .95rem; background: rgba(43,217,228,.07); }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.industry h3 { margin: 18px 0 .3em; }
.industry p { color: var(--text-soft); }
.industry .photo { min-height: 220px; }

/* Sentry */
.sentry { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.badge { display: inline-block; border: 1px solid var(--teal); color: var(--teal); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; margin-bottom: 20px; }
.console { background: #041014; border: 1px solid var(--line-dark); border-radius: 10px; box-shadow: 0 0 0 1px rgba(43,217,228,.08), 0 30px 80px rgba(0,0,0,.55), 0 0 80px rgba(43,217,228,.12); overflow: hidden; font-size: .92rem; }
.console__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-dark); color: var(--text-on-dark); }
.console__bar strong { color: var(--white); font-weight: 600; }
.console__bar small { color: var(--teal); }
.row { display: grid; grid-template-columns: 14px 1.3fr 2fr auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(43,217,228,.1); color: var(--text-on-dark); }
.row:last-child { border-bottom: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3DDC97; }
.row--warn .dot { background: #FFC24B; box-shadow: 0 0 12px #FFC24B; animation: pulse 1.8s ease-in-out infinite; }
.row--warn { background: rgba(255,194,75,.07); }
.row .state { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: rgba(61,220,151,.14); color: #3DDC97; white-space: nowrap; }
.row--warn .state { background: rgba(255,194,75,.16); color: #FFC24B; }
.row b { color: var(--white); font-weight: 600; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .row--warn .dot { animation: none; } html { scroll-behavior: auto; } }

/* Founder snippet and about */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder--top { align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin: 28px 0 0; }
.facts div { border-top: 2px solid var(--teal-strong); padding-top: 12px; }
.facts dt { font-family: var(--serif); font-size: 1.15rem; color: var(--text); }
.facts dd { margin: 4px 0 0; color: var(--text-soft); font-size: .95rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.principle { border-left: 3px solid var(--teal); padding-left: 20px; }
.principle p { color: var(--text-on-dark); margin: 0; }
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; max-width: 28ch; }

/* Services detail */
.service-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band--mist .project { background: var(--white); }
.project h3 { font-size: 1.2rem; margin-bottom: .3em; }
.project p { color: var(--text-soft); font-size: .97rem; margin: 0; }
.engage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.engage div { border-top: 3px solid var(--teal); padding-top: 16px; }
.engage p { color: var(--text-on-dark); margin: 0; font-size: .97rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; box-shadow: 0 20px 60px rgba(6,20,26,.08); min-height: 520px; }
.form-card iframe { width: 100%; min-height: 760px; border: 0; display: block; }
.form-fallback { padding: 28px; color: var(--text-soft); }
.next-steps { list-style: none; padding: 0; margin: 28px 0 0; }
.next-steps li { padding: 14px 0 14px 0; border-top: 1px solid var(--line); }
.next-steps strong { display: block; color: var(--text); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }

/* CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #031317; margin: 0; max-width: 22ch; }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-on-dark); padding: 56px 0 32px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 72px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .95rem; margin: 0 0 12px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: #8FA9B0; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .split, .sentry, .founder, .service-block, .contact { grid-template-columns: 1fr; }
  .pillars, .industries, .trust, .principles, .engage { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo--tall { min-height: 300px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 20px 24px 28px; gap: 16px; border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .brand img { height: 52px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row { grid-template-columns: 14px 1fr auto; }
  .row span.detail { display: none; }
  .facts { grid-template-columns: 1fr; }
  .pillar { padding: 26px; }
}

/* Footer social */
.social-row { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.social-row span { color: var(--white); font-weight: 600; font-size: .95rem; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--text-on-dark); transition: background .18s, color .18s, border-color .18s; }
.social a:hover { background: var(--teal); border-color: var(--teal); color: #031317; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social-row.is-empty { display: none; }

.nav a.btn { font-weight: 700; font-size: .92rem; padding: 12px 20px; }

.photo img[src*="founder-portrait"] { object-position: center 6%; }

/* Quote card on dark bands */
.quote { background: linear-gradient(135deg, #0F4A57 0%, #0B3039 100%); border: 1px solid rgba(43,217,228,.28); border-radius: 18px; padding: 44px 48px; align-self: center; max-width: none; box-shadow: 0 18px 50px rgba(0,0,0,.28); }

.lede--wide { max-width: none; }
