/* ServiceTaskOps — styles.css
   Generated from design handoff: colors_and_type.css + base.css
   Font path adjusted for deployment: css/ → ../fonts/
*/

/* ── SKIP LINK ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 8px 16px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ── TYPEFACE ──────────────────────────────────────────── */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2-variations"),
       url("../fonts/InterVariable.ttf") format("truetype-variations");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2-variations"),
       url("../fonts/InterVariable-Italic.ttf") format("truetype-variations");
}

/* ── TOKENS ────────────────────────────────────────────── */
:root {
  /* Color: brand core */
  --navy:        #071B2F;
  --navy-deep:   #03111F;
  --ink:         #0B1620;
  --teal:        #1AA6A8;
  --teal-btn:    #147C7E;
  --teal-dark:   #0F6769;
  --teal-soft:   #E4F7F5;
  --mist:        #EEF3F1;
  --slate:       #64727D;
  --steel:       #465662;
  --gray-light:  #F6F8F7;
  --white:       #FFFFFF;
  --amber:       #D99A2B;
  --line:        rgba(7,27,47,0.12);
  --line-strong: rgba(7,27,47,0.20);

  /* Color: status */
  --live-dot:      #7BB661;
  --live-dot-halo: rgba(123,182,97,0.16);
  --error:         #9B1C1C;

  /* Color: white scale on dark */
  --on-dark-fine:    rgba(255,255,255,0.40);
  --on-dark-muted:   rgba(255,255,255,0.55);
  --on-dark-body:    rgba(255,255,255,0.78);
  --on-dark-strong:  rgba(255,255,255,0.88);
  --on-dark-heading: rgba(255,255,255,1.00);

  /* Semantic tokens */
  --fg-1:    var(--ink);
  --fg-2:    var(--steel);
  --fg-3:    var(--slate);
  --fg-link: var(--teal-dark);
  --fg-eyebrow-light: var(--teal-dark);
  --fg-eyebrow-dark:  var(--teal);
  --bg-canvas:  var(--white);
  --bg-section: var(--gray-light);
  --bg-dark:    var(--navy);
  --bg-deep:    var(--navy-deep);
  --accent:       var(--teal);
  --accent-fill:  var(--teal-btn);
  --accent-hover: var(--teal-dark);
  --focus-ring:   var(--amber);

  /* Type */
  --font:      "Inter","Inter Variable",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-mono: Consolas,"Courier New",monospace;

  /* Type scale */
  --fs-hero:    4rem;
  --fs-h1:      3.15rem;
  --fs-h2:      2.2rem;
  --fs-h2-dark: 2.45rem;
  --fs-h3:      1.05rem;
  --fs-lead:    1.14rem;
  --fs-body:    0.95rem;
  --fs-eyebrow: 0.78rem;
  --fs-button:  0.97rem;
  --fs-fine:    0.83rem;

  --lh-display: 1.02;
  --lh-heading: 1.18;
  --lh-body:    1.65;

  --weight-body:   400;
  --weight-medium: 500;
  --weight-strong: 700;
  --weight-bold:   800;
  --weight-black:  900;

  /* Layout */
  --pad-h:     clamp(20px,5vw,64px);
  --pad-v:     clamp(56px,7vw,96px);
  --inner-max: 1100px;
  --radius:    8px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-soft:   0 18px 48px rgba(7,27,47,0.09);
  --shadow-strong: 0 28px 70px rgba(3,17,31,0.22);
  --shadow-card-h: 0 24px 54px rgba(7,27,47,0.12);
  --shadow-btn:    0 10px 24px rgba(20,124,126,0.20);
  --shadow-btn-h:  0 14px 28px rgba(20,124,126,0.28);

  /* Motion */
  --t:       160ms ease;
  --t-press: 120ms ease;
}

/* ── RESET ─────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: linear-gradient(180deg,#f8fbfa 0,#fff 360px);
  -webkit-font-smoothing: antialiased;
}
img,svg { display: block; max-width: 100%; }
a { color: var(--fg-link); text-decoration: none; }
h1,h2,h3,h4,p,ul,ol,dl,dd { margin-top: 0; }
button { font: inherit; }

/* ── TYPE ──────────────────────────────────────────────── */
h1 { font-size: var(--fs-hero);   font-weight: var(--weight-bold);  line-height: var(--lh-display); color: var(--ink); }
h2 { font-size: var(--fs-h2);     font-weight: var(--weight-bold);  line-height: var(--lh-heading); color: var(--navy); }
h3 { font-size: var(--fs-h3);     font-weight: var(--weight-bold);  line-height: var(--lh-heading); color: var(--navy); }
p  { font-size: var(--fs-body);   line-height: var(--lh-body);      color: var(--fg-3); }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-black);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-eyebrow-light);
  margin: 0 0 14px;
}
.eyebrow.on-dark  { color: var(--fg-eyebrow-dark); }
.eyebrow.on-light { color: var(--fg-eyebrow-light); }

code,pre,.mono { font-family: var(--font-mono); font-size: 0.9rem; line-height: 1.55; }
:focus-visible  { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* ── LAYOUT ────────────────────────────────────────────── */
.section-inner       { max-width: var(--inner-max); margin-inline: auto; padding-inline: var(--pad-h); }
.section-inner--wide { max-width: 1240px; }

/* ── SECTION BACKGROUNDS ───────────────────────────────── */
.sec       { padding: var(--pad-v) 0; }
.sec--dark { padding: var(--pad-v) 0; background: var(--navy);      color: white; }
.sec--deep { padding: var(--pad-v) 0; background: var(--navy-deep); color: white; }
.sec--gray { padding: var(--pad-v) 0; background: var(--gray-light); }
.sec--mist { padding: var(--pad-v) 0; background: linear-gradient(180deg,rgba(228,247,245,0.84),rgba(246,248,247,0.9)); }
.sec--dark h2,.sec--deep h2 { color: white; }

/* utility */
.tx-slate { color: var(--slate); }
.tx-steel { color: var(--steel); }
.tx-navy  { color: var(--navy);  }
.tx-teal  { color: var(--teal-dark); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font); font-size: var(--fs-button); font-weight: var(--weight-strong);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background var(--t),color var(--t),border-color var(--t),
              transform var(--t-press),box-shadow var(--t-press);
}
.btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.btn-primary  { background: var(--teal-btn);  color: white; border-color: var(--teal-btn);  box-shadow: var(--shadow-btn); }
.btn-primary:hover   { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-btn-h); }
.btn-secondary { background: rgba(255,255,255,0.82); color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { background: white; border-color: var(--teal-dark); color: var(--teal-dark); transform: translateY(-1px); }
.btn-on-dark  { background: white; color: var(--navy); border-color: white; }
.btn-on-dark:hover   { background: var(--teal-soft); color: var(--navy); border-color: var(--teal-soft); transform: translateY(-1px); }
.btn-ghost-dark { background: transparent; color: white; border-color: rgba(255,255,255,0.34); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 0.88rem; }

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px; padding: 12px var(--pad-h);
  background: rgba(3,17,31,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  color: white;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center;
  font-family: var(--font); font-weight: var(--weight-bold); font-size: 1.2rem;
  letter-spacing: -0.01em; color: white;
}
.brand-mark .mark-icon {
  width: 28px; height: 28px; margin-right: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: var(--navy-deep);
  border-radius: 7px; font-weight: var(--weight-black); font-size: 0.9rem; letter-spacing: 0;
}
.brand-mark .mark-svc { color: white; }
.brand-mark .mark-ops { color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.site-nav a {
  padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center;
  color: var(--on-dark-strong); font-size: 0.9rem;
  font-weight: var(--weight-strong); border-radius: var(--radius);
  transition: background var(--t),color var(--t);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: white; background: rgba(255,255,255,0.09); }
.header-cta { flex-shrink: 0; }

/* light header variant */
.site-header.light { background: rgba(255,255,255,0.94); border-bottom-color: var(--line); color: var(--ink); }
.site-header.light .brand-mark { color: var(--navy); }
.site-header.light .brand-mark .mark-svc { color: var(--navy); }
.site-header.light .brand-mark .mark-ops { color: var(--teal-dark); }
.site-header.light .site-nav a { color: var(--steel); }
.site-header.light .site-nav a:hover,
.site-header.light .site-nav a[aria-current="page"] { color: var(--navy); background: rgba(7,27,47,0.05); }

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--on-dark-body); }
.footer-top {
  max-width: var(--inner-max); margin-inline: auto;
  padding: 64px var(--pad-h) 36px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,0.74); line-height: 1.6; max-width: 320px; }
.footer-col h3 { font-size: var(--fs-eyebrow); font-weight: var(--weight-black); letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal); margin: 0 0 16px; }
.footer-col ul  { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a   { font-size: 0.92rem; color: rgba(255,255,255,0.70); transition: color var(--t); }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: var(--inner-max); margin-inline: auto;
  padding: 22px var(--pad-h);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.footer-bottom p   { margin: 0; font-size: var(--fs-fine); color: var(--on-dark-muted); }
.footer-bottom .pri { font-size: 0.77rem; color: var(--on-dark-fine); max-width: 720px; line-height: 1.5; }
.footer-mini-nav { display: flex; gap: 18px; }
.footer-mini-nav a { font-size: var(--fs-fine); color: var(--on-dark-muted); transition: color var(--t); }
.footer-mini-nav a:hover { color: white; }

/* ── CARDS ─────────────────────────────────────────────── */
.card-top {
  background: white; border: 1px solid var(--line); border-top: 4px solid var(--teal);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 30px 26px;
}
.card-left {
  background: white; border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 22px;
}

/* ── STATUS DOT ────────────────────────────────────────── */
.status-dot {
  width: 9px; height: 9px; background: var(--live-dot); border-radius: 50%;
  box-shadow: 0 0 0 5px var(--live-dot-halo);
  display: inline-block; flex-shrink: 0;
}

/* ── ICONS ─────────────────────────────────────────────── */
.ico { display: inline-block; vertical-align: middle; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-16 { width: 16px; height: 16px; }
.ico-20 { width: 20px; height: 20px; }
.ico-24 { width: 24px; height: 24px; }
.ico-32 { width: 32px; height: 32px; }

/* ── HERO ──────────────────────────────────────────────── */
.hero-section {
  padding: 92px 0 72px;
  background: linear-gradient(135deg,rgba(228,247,245,0.7),rgba(255,255,255,0) 46%),white;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.78fr; gap: 56px; align-items: center; }

/* ── LAYOUT GRIDS ──────────────────────────────────────── */
.layout-2col       { display: grid; grid-template-columns: 1fr 1fr;        gap: 22px; }
.layout-2col-audit { display: grid; grid-template-columns: 1fr 1fr;        gap: 36px; align-items: center; }
.layout-2col-cta   { display: grid; grid-template-columns: 1.2fr 1fr;      gap: 36px; align-items: center; }
.layout-services   { display: grid; grid-template-columns: repeat(2,1fr);  gap: 18px; }
.layout-3col       { display: grid; grid-template-columns: repeat(3,1fr);  gap: 18px; list-style: none; padding: 0; margin: 0; }
.layout-audience   { display: grid; grid-template-columns: repeat(3,1fr);  gap: 14px; list-style: none; padding: 0; margin: 0; }

/* ── METRIC STRIP ──────────────────────────────────────── */
.metric-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line); background: rgba(255,255,255,0.92);
  border-radius: var(--radius); box-shadow: 0 10px 28px rgba(7,27,47,0.06); overflow: hidden;
}
.metric-item { padding: 20px 22px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.metric-item:last-child { border-right: 0; }
.metric-value { color: var(--ink);   font-size: 1.6rem;  line-height: 1;      font-weight: var(--weight-bold); display: block; }
.metric-label { color: var(--slate); font-size: 0.78rem; font-weight: var(--weight-black); text-transform: uppercase; letter-spacing: 0.08em; display: block; }

/* ── COMPLIANCE ────────────────────────────────────────── */
.compliance-grid    { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.compliance-bullets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; color: rgba(255,255,255,0.78); font-size: 0.93rem; }
.compliance-bullets li { display: flex; gap: 10px; }
.compliance-dot { display: inline-block; width: 6px; height: 6px; background: var(--teal); border-radius: 99px; margin-top: 8px; flex-shrink: 0; }

/* ── TABLE ─────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── AUDIT SAMPLE ──────────────────────────────────────── */
.audit-sample-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 14px; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--line); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  font-size: 1.04rem; font-weight: var(--weight-bold); color: var(--navy); margin: 0;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  user-select: none;
}
.faq-chev { color: var(--teal-dark); transition: transform var(--t); flex-shrink: 0; }
.faq-item.is-open .faq-chev { transform: rotate(180deg); }
.faq-a { display: none; margin: 12px 0 0; color: var(--steel); font-size: 0.96rem; line-height: 1.65; }
.faq-item.is-open .faq-a { display: block; }

/* ── NAV TOGGLE (hamburger) ────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  line-height: 1;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  transition: background var(--t);
}
.nav-toggle:hover { background: rgba(255,255,255,0.09); }
.nav-toggle:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
/* hamburger icon via pseudo-element */
.nav-toggle::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  flex-shrink: 0;
}
/* light header variant */
.site-header.light .nav-toggle { color: var(--navy); }

/* ── MOBILE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  h1 { font-size: 2.8rem; }

  /* Show the toggle button */
  .nav-toggle { display: flex; }

  /* Hide nav by default on mobile */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    padding: 12px 0 16px;
    gap: 2px;
    z-index: 99;
  }
  .site-nav a {
    padding: 10px 20px;
    border-radius: 0;
    font-size: 1rem;
  }

  /* Open state -- toggled by JS */
  .site-nav.nav-open { display: flex; }

  /* Keep the CTA always visible */
  .header-cta { display: inline-flex !important; }

  .hero-section { padding: 60px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .layout-2col       { grid-template-columns: 1fr; }
  .layout-2col-audit { grid-template-columns: 1fr; }
  .layout-2col-cta   { grid-template-columns: 1fr; }
  .layout-services   { grid-template-columns: 1fr; }
  .layout-3col       { grid-template-columns: 1fr; }
  .layout-audience   { grid-template-columns: repeat(2,1fr); }
  .metric-strip { grid-template-columns: repeat(2,1fr); }
  .metric-item  { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-item:nth-child(odd)  { border-right: 1px solid var(--line); }
  .metric-item:nth-child(3),
  .metric-item:last-child { border-bottom: 0; }
  .compliance-bullets { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .layout-2col-cta > div:last-child { justify-content: flex-start; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .layout-audience   { grid-template-columns: 1fr; }
  .audit-sample-grid { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr; }
  .hero-section      { padding: 48px 0 40px; }
}

/* ── Reduced-motion accessibility (WCAG 2.3.3) ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
