/* Black Ops IT – shared stylesheet
   Tokens follow the Brand Identity Guide v1.0 and Website Design Brief section 6. */

:root {
  /* Brand */
  --brand-charcoal: #1D222B;
  --brand-blue: #101BE8;
  --brand-ochre: #C65B23;
  --brand-sand: #D8A76A;
  /* UI */
  --ui-navy: #0B1533;
  --ui-teal: #00C2C7;
  --ui-white: #FFFFFF;
  --ui-slate: #475569;
  --ui-offwhite: #F6F8FB;
  --ui-border: #DDE3EB;
  /* Derived (dark-section text, error/success) */
  --on-navy: #E0E8F5;
  --on-navy-muted: #B7C5D6;
  --error: #B42318;
  --success: #067647;

  --font-body: Aptos, "Segoe UI", system-ui, Arial, sans-serif;
  --font-head: "Aptos Display", Aptos, "Segoe UI", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(10, 25, 60, .06);
  --shadow-hover: 0 14px 36px rgba(10, 25, 60, .10);
  --max: 1190px;
  --gutter: clamp(16px, 4vw, 28px);
  --header-h: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ui-white);
  color: var(--ui-slate);
  font: 400 1rem/1.65 var(--font-body);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-blue); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brand-charcoal);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta-band :focus-visible {
  outline-color: var(--ui-teal);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ui-navy); color: var(--ui-white);
  padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* Placeholder marker for content awaiting the client */
.ph { background: #FFF4D6; color: #5C4300; padding: 0 .25em; border-radius: 4px; font-weight: 600; }
.on-dark .ph, .site-footer .ph, .hero .ph { background: rgba(216, 167, 106, .18); color: var(--brand-sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font: 600 .9375rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--ui-teal); color: var(--ui-navy); }
.btn-primary:hover { background: #33D3D6; box-shadow: 0 6px 18px rgba(0, 194, 199, .3); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: var(--ui-white); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--ui-white); }
.btn-dark { background: var(--ui-navy); color: var(--ui-white); }
.btn-dark:hover { background: #18254F; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--ui-white);
  border-bottom: 1px solid var(--ui-border);
  position: relative; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo-link { display: block; flex: none; border-radius: 6px; }
.logo-link img { width: 150px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 48px; padding: 0 12px;
  background: var(--ui-white); color: var(--ui-navy);
  border: 1px solid var(--ui-border); border-radius: var(--radius-sm);
  font: 600 .9375rem var(--font-body); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ui-white); border-bottom: 1px solid var(--ui-border);
  box-shadow: 0 16px 30px rgba(10, 25, 60, .08);
  padding: 8px var(--gutter) 20px;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  color: var(--brand-charcoal); font-weight: 600; font-size: .9375rem; text-decoration: none;
  border-bottom: 1px solid var(--ui-border);
}
.site-nav a:not(.btn):hover { color: var(--brand-blue); }
.site-nav a[aria-current="page"] { color: var(--brand-blue); }
.site-nav .btn { margin-top: 16px; width: 100%; }

/* No-JS fallback: show the menu as a plain list */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 12px; }
.no-js .header-inner { flex-wrap: wrap; }

@media (min-width: 821px) {
  .site-header { position: sticky; top: 0; }
  .logo-link img { width: 200px; }
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav {
    display: flex !important; align-items: center; gap: 28px;
    position: static; padding: 0; border: 0; box-shadow: none; background: none;
  }
  .site-nav ul { display: flex; gap: 6px; }
  .site-nav a:not(.btn) { border: 0; padding: 0 12px; position: relative; }
  .site-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px;
    height: 2px; border-radius: 2px; background: var(--brand-ochre);
  }
  .site-nav .btn { margin: 0; width: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-alt { background: var(--ui-offwhite); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.0625rem; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-blue);
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--ui-teal); }
.divider { width: 56px; height: 4px; border-radius: 4px; background: var(--brand-ochre); margin: 18px 0 22px; border: 0; }
.center .divider { margin-inline: auto; }

/* Accent stripe from the brand kit */
.stripe { display: flex; height: 6px; }
.stripe span:nth-child(1) { background: var(--ui-navy); flex: 3; }
.stripe span:nth-child(2) { background: var(--brand-blue); flex: 2; }
.stripe span:nth-child(3) { background: var(--brand-ochre); flex: 1.5; }
.stripe span:nth-child(4) { background: var(--brand-sand); flex: 1; }
.stripe span:nth-child(5) { background: var(--ui-teal); flex: .5; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ui-navy); color: var(--on-navy);
  padding-block: clamp(64px, 11vw, 132px) clamp(64px, 10vw, 120px);
}
.hero h1 { color: var(--ui-white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--ui-teal); }
.hero .lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); max-width: 600px; margin-bottom: 32px; color: var(--on-navy); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-sm { padding-block: clamp(56px, 8vw, 96px); }
.hero-sm h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); }

/* Decorative motif: dotted arcs, pathways, nodes. Low contrast, background only. */
.motif {
  position: absolute; z-index: 0; pointer-events: none;
  right: -140px; top: 50%; transform: translateY(-50%);
  width: min(760px, 120vw); height: auto; opacity: .55;
}
.motif .arc { fill: none; stroke: var(--ui-teal); stroke-opacity: .28; stroke-width: 2; stroke-dasharray: 1 12; stroke-linecap: round; }
.motif .arc-sand { stroke: var(--brand-sand); stroke-opacity: .3; }
.motif .path { fill: none; stroke: #8FA3C7; stroke-opacity: .18; stroke-width: 1.5; }
.motif .node { fill: var(--ui-navy); stroke: var(--ui-teal); stroke-opacity: .5; stroke-width: 2; }
.motif .node-fill { fill: var(--ui-teal); fill-opacity: .45; }
@media (max-width: 820px) { .motif { right: -320px; opacity: .35; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: var(--ui-white);
  border: 1px solid var(--ui-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card h3 { font-size: 1.375rem; margin-bottom: .4em; }
.card p { margin-bottom: 1.2em; }
.card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  min-height: 44px; font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.card-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.card-link:hover .icon { transform: translateX(3px); }
.card-hover:hover { box-shadow: var(--shadow-hover); border-color: #C9D3E0; transform: translateY(-2px); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: #EEF0FE; color: var(--brand-blue);
}
.icon-badge .icon { width: 26px; height: 26px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--ui-navy); color: var(--ui-teal);
  font: 700 1.125rem var(--font-head);
}
.step h3 { font-size: 1.375rem; }

/* Why list */
.why { display: grid; gap: 18px; }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--ui-white); border: 1px solid var(--ui-border); }
.why-item .icon-badge { margin: 0; width: 46px; height: 46px; flex: none; }
.why-item h3 { font-size: 1.1875rem; margin-bottom: .3em; }
.why-item p { margin: 0; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ui-navy); color: var(--on-navy); position: relative; overflow: hidden; isolation: isolate; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(44px, 6vw, 64px); position: relative; z-index: 1; }
.cta-band h2 { color: var(--ui-white); margin: 0; max-width: 640px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.cta-band .motif { right: -260px; opacity: .4; }

/* ---------- Services page ---------- */
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.service-nav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35);
  color: var(--ui-white); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.service-nav a:hover { background: rgba(255, 255, 255, .1); border-color: var(--ui-white); }
.service-nav .icon { width: 18px; height: 18px; color: var(--ui-teal); }

.service { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .service { grid-template-columns: 5fr 7fr; } }
.service-intro .icon-badge { width: 60px; height: 60px; }
.service-intro .problem { font-size: 1.125rem; color: var(--brand-charcoal); }
.service-detail .card { padding: clamp(24px, 3vw, 36px); }
.label {
  display: block; margin-bottom: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ui-slate);
}
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--brand-charcoal); }
.ticks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--brand-blue); stroke-width: 2.25; }
.result {
  border-left: 4px solid var(--brand-ochre); background: #FBF4EE;
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 24px;
}
.result p { margin: 0; color: var(--brand-charcoal); }

/* ---------- About ---------- */
.prose { max-width: 720px; }
.prose p { font-size: 1.0625rem; }
.value-card .value-word { font: 700 1.75rem/1.15 var(--font-head); letter-spacing: -.025em; color: var(--brand-charcoal); margin-bottom: 10px; }
.value-card:nth-child(3) .value-word { color: var(--brand-blue); }

.founder { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .founder { grid-template-columns: 280px 1fr; } }
.photo-ph {
  aspect-ratio: 4 / 5; width: 100%; max-width: 280px; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #EEF2F7 0 12px, #E6EBF2 12px 24px);
  border: 1px dashed #B8C3D3; display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--ui-slate); font-size: .875rem; font-weight: 600;
}
.photo-ph .icon { width: 40px; height: 40px; margin: 0 auto 8px; opacity: .6; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; } }

.form-card { padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; margin-bottom: 6px; font-weight: 600; color: var(--brand-charcoal); font-size: .9375rem; }
.field .optional { font-weight: 400; color: var(--ui-slate); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--brand-charcoal);
  background: var(--ui-white); border: 1.5px solid #B9C4D3; border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(16, 27, 232, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { display: none; margin-top: 6px; color: var(--error); font-size: .875rem; font-weight: 600; }
.field-error.is-visible { display: flex; gap: 6px; align-items: center; }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--brand-blue); }
.check label { font-weight: 400; margin: 0; color: var(--ui-slate); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 18px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 18px; background: #ECFDF3; color: var(--success); border: 1px solid #ABEFC6; }
.form-status.is-error { padding: 14px 18px; background: #FEF3F2; color: var(--error); border: 1px solid #FECDCA; }
.btn[disabled] { opacity: .65; cursor: progress; }

.info-panel { background: var(--ui-navy); color: var(--on-navy); border: 0; }
.info-panel h2 { color: var(--ui-white); font-size: 1.5rem; }
.info-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { color: var(--ui-teal); margin-top: 2px; }
.info-list strong { display: block; color: var(--ui-white); font-weight: 600; }
.info-list a { color: var(--ui-white); }
.response-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); color: var(--brand-sand); font-weight: 600; }

/* ---------- Legal / 404 ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal li { margin-bottom: .4em; }
.notice { padding: 16px 20px; background: #FFF4D6; border-left: 4px solid var(--brand-sand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #5C4300; margin-bottom: 28px; }

.error-code { font: 700 clamp(4.5rem, 3rem + 8vw, 8rem)/1 var(--font-head); letter-spacing: -.04em; color: var(--ui-teal); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ui-navy); color: var(--on-navy-muted); font-size: .9375rem; }
.footer-main { display: grid; gap: 36px; padding-block: clamp(48px, 7vw, 72px) 36px; }
@media (min-width: 760px) { .footer-main { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-logo { display: inline-block; background: var(--ui-white); border-radius: 12px; padding: 10px 14px; }
.footer-logo img { width: 190px; }
.footer-tagline { margin: 18px 0 6px; color: var(--brand-sand); font-weight: 600; font-family: var(--font-head); font-size: 1.125rem; }
.site-footer h2 { color: var(--ui-white); font-size: 1rem; letter-spacing: .02em; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-contact a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--ui-teal); text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.footer-contact .icon { color: var(--ui-teal); width: 18px; height: 18px; }
.acknowledgement {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 24px; color: var(--on-navy);
}
.acknowledgement p { margin: 0; max-width: 900px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  padding-block: 16px 24px; font-size: .8125rem;
}
.footer-bottom a { color: var(--on-navy); display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom p { margin: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .motif, .skip-link { display: none !important; }
  .hero, .site-footer { background: none; color: #000; }
  .hero h1, .site-footer h2 { color: #000; }
}
