/* Stratum Six — site styles (shared across index / privacy-policy / terms-of-use) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/archivo.woff2') format('woff2');
}

  :root {
    --bg:#F2F2F2; --header-bg:#FFFFFF; --fg:#111210; --muted:#56564E; --faint:#6C6C64;
    --line:#DCDCD4; --rule:#111210; --hover:#FFFFFF; --accent:#0B8A48; --accent-btn:#0A8043;
    --foot-bg:#FFFFFF; --foot-fg:#6A6A62; --chip-line:#C9C9C0; --gridline:#DCDCD4;
    --on-accent:#FFFFFF;
    --maxw:1440px; --gutter:max(72px, calc((100% - 1440px) / 2));
  }
  [data-theme="dark"] {
    --bg:#161616; --header-bg:#000000; --fg:#ECECE6; --muted:#9DA39B; --faint:#8A9088;
    --line:rgba(255,255,255,.12); --rule:rgba(255,255,255,.85); --hover:#000000; --accent:#0B8A48; --accent-btn:#0A8043;
    --foot-bg:#000000; --foot-fg:#8A9088; --chip-line:rgba(255,255,255,.2); --gridline:rgba(255,255,255,.12);
    --on-accent:#FFFFFF;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 90px; }
  body {
    margin: 0;
    font-family: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    transition: background .35s ease, color .35s ease;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  .ac { color: var(--accent); }

  /* ─── HEADER / NAV ─── */
  header {
    position: sticky; top: 0; z-index: 50;
    background: var(--header-bg);
    box-shadow: 0 2px 18px rgba(0,0,0,.05);
    transition: background .35s ease;
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px var(--gutter);
  }
  .nav-logo svg { height: 30px; width: auto; display: block; color: var(--fg); }
  .nav-links { display: flex; gap: 30px; }
  .nav-links a {
    font-size: 14px; font-weight: 600; color: var(--fg);
    padding-bottom: 2px; border-bottom: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease; cursor: pointer;
  }
  .nav-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
  .nav-right { display: flex; align-items: center; gap: 14px; }
  .theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px;
    background: transparent; color: var(--fg); cursor: pointer; transition: background .2s ease;
  }
  .theme-toggle:hover { background: var(--hover); }
  .theme-toggle svg { width: 18px; height: 18px; }
  .icon-sun { display: none; }
  .icon-moon { display: block; }
  [data-theme="dark"] .icon-moon { display: none; }
  [data-theme="dark"] .icon-sun { display: block; }
  .btn-accent {
    background: var(--accent-btn); color: var(--on-accent);
    font-size: 14px; font-weight: 600; padding: 11px 22px; border: none; cursor: pointer;
    transition: filter .2s ease; font-family: inherit;
  }
  .btn-accent:hover { filter: brightness(1.08); }
  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .hamburger span { width: 22px; height: 2px; background: var(--fg); transition: .2s; }

  /* ─── LAYOUT ─── */
  .sec { padding: 80px var(--gutter); border-bottom: 1px solid var(--line); }
  .rail { display: grid; grid-template-columns: 120px 1fr; gap: 48px; }
  .rail-label {
    font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--faint); padding-top: 8px; transition: color .2s ease; }
  .rail-label:hover { color: var(--accent); }
  .rail-body { max-width: 900px; }
  .sec-h2 {
    font-weight: 700; font-size: 48px; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 18px;
  }
  .sec-intro { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 720px; margin: 0; }

  /* ─── HERO ─── */
  .hero { padding: 88px var(--gutter) 72px; border-bottom: 1px solid var(--line); }
  .hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: end; }
  .hero-eyebrow {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--faint); margin-bottom: 36px; transition: color .2s ease; }
  .hero-eyebrow:hover { color: var(--accent); }
  .hero h1 {
    font-weight: 700; font-size: clamp(40px, 7vw, 88px); line-height: .98; letter-spacing: -.03em; margin: 0;
  }
  .hero-right { padding-bottom: 14px; }
  .hero-sub { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 28px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-secondary {
    border: 1px solid var(--rule); color: var(--fg); background: transparent;
    font-size: 14px; font-weight: 600; padding: 13px 24px; cursor: pointer; font-family: inherit;
    transition: background .2s ease;
  }
  .btn-secondary:hover { background: var(--hover); }
  .btn-accent.lg { padding: 13px 24px; }

  /* ─── CARD HOVER (draw-in green border) ─── */
  .sxcard { position: relative; }
  .sxcard::before, .sxcard::after {
    content: ""; position: absolute; width: 0; height: 0; box-sizing: border-box; pointer-events: none; z-index: 2;
    border: 0 solid var(--accent); transition: width .2s ease .2s, height .2s ease;
  }
  .sxcard::before { top: -1px; left: -1px; }
  .sxcard::after { right: -1px; bottom: -1px; }
  .sxcard:hover::before { width: calc(100% + 2px); height: calc(100% + 2px); border-top-width: 2px; border-right-width: 2px; transition: width .2s ease, height .2s ease .2s; }
  .sxcard:hover::after { width: calc(100% + 2px); height: calc(100% + 2px); border-bottom-width: 2px; border-left-width: 2px; transition: width .2s ease, height .2s ease .2s; }

  /* ─── APPROACH ─── */
  .approach-head { margin-bottom: 56px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--rule); }
  .step { padding: 32px 28px 32px 24px; border-right: 1px solid var(--line); transition: background-color .25s ease; }
  .step:last-child { border-right: none; }
  .step:hover { background-color: var(--hover); }
  .step:hover .step-tag { color: var(--accent); }
  .step-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
  .step-num { font-weight: 700; font-size: 38px; letter-spacing: -.03em; color: var(--accent); }
  .step-tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); transition: color .2s ease; }
  .step-title { font-weight: 700; font-size: 23px; letter-spacing: -.01em; margin: 0 0 12px; }
  .step-body { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; padding-right: 12px; }

  /* ─── SERVICES ─── */
  .svc-head { margin-bottom: 48px; }
  .svc-list { border-top: 2px solid var(--rule); }
  .svc-row {
    display: grid; grid-template-columns: 120px minmax(0, 520px) minmax(0, 1fr); gap: 64px;
    padding: 30px 20px; border-bottom: 1px solid var(--line); align-items: start;
    transition: background-color .25s ease;
  }
  .svc-row:hover { background-color: var(--hover); }
  .svc-ico { color: var(--faint); transition: color .2s ease; display: flex; align-items: flex-start; }
  .svc-row:hover .svc-ico { color: var(--accent); }
  .svc-row:hover .svc-tag { color: var(--accent); }
  .svc-ico svg { width: 34px; height: 34px; }
  .svc-title { font-weight: 700; font-size: 26px; letter-spacing: -.015em; margin: 0; line-height: 1.15; }
  .svc-tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
  .svc-body { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 540px; }

  /* ─── IMPACT ─── */
  .imp-head { margin-bottom: 48px; }
  .imp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gridline); border: 1px solid var(--gridline); }
  .imp-cell { background-color: var(--bg); padding: 26px 22px; transition: background-color .25s ease; }
  .imp-cell:hover { background-color: var(--hover); }
  .imp-cell:hover .imp-role { color: var(--accent); }
  .imp-role { font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--faint); margin-bottom: 14px; transition: color .2s ease; }
  .imp-area { font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin: 0 0 10px; }
  .imp-body { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }

  /* ─── EXPERIENCE ─── */
  .exp-head { margin-bottom: 40px; }
  .exp-wall { display: flex; flex-wrap: wrap; border-top: 2px solid var(--rule); border-left: 1px solid var(--line); }
  .exp-cell {
    width: calc(25% - 1px); box-sizing: border-box; padding: 18px 20px;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    transition: background-color .25s ease;
  }
  .exp-cell:hover { background-color: var(--hover); }
  .exp-name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  .exp-sector { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); transition: color .2s ease; text-align: right; }
  .exp-cell:hover .exp-sector { color: var(--accent); }

  /* ─── FAQ ─── */
  .faq-head { font-weight: 700; font-size: 46px; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 36px; }
  .faq-list { border-top: 2px solid var(--rule); }
  .faq-row { border-bottom: 1px solid var(--line); padding: 24px 0; cursor: pointer; }
  .faq-q-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .faq-q { font-size: 21px; font-weight: 700; letter-spacing: -.015em; transition: color .2s ease; }
  .faq-row:hover .faq-q { color: var(--accent); }
  .faq-sign { font-size: 24px; font-weight: 600; color: var(--accent); flex-shrink: 0; }
  .faq-a { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 760px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .3s ease, opacity .3s ease, margin .3s ease; }
  .faq-row.open .faq-a { max-height: 420px; opacity: 1; margin: 14px 0 0; }

  /* ─── CONTACT ─── */
  .contact { padding: 88px var(--gutter); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
  .contact-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 28px; transition: color .2s ease; }
  .contact-eyebrow:hover { color: var(--accent); }
  .contact h2 { font-weight: 700; font-size: 50px; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 24px; }
  .contact-intro { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 460px; margin: 0; }
  .contact-card { border: 1px solid var(--line); padding: 36px; }
  .contact-card-h { font-size: 18px; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
  .contact-card-sub { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0 0 26px; }
  .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
  .contact-form .form-group { margin-bottom: 22px; display: flex; flex-direction: column; }
  .contact-form label { font-size: 13px; font-weight: 600; color: var(--faint); margin-bottom: 8px; }
  .contact-form input, .contact-form select, .contact-form textarea {
    border: none; border-bottom: 1px solid var(--chip-line); background: transparent; color: var(--fg);
    font-family: inherit; font-size: 15px; padding: 6px 0; outline: none; width: 100%; border-radius: 0;
    transition: border-color .2s ease;
  }
  .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--accent); }
  .contact-form select { appearance: none; -webkit-appearance: none; cursor: pointer; }
  .contact-form textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
  .phone-group { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
  .char-counter { float: right; font-size: 11px; font-weight: 600; color: var(--faint); }
  .char-counter.over { color: #c0392b; }
  .contact-form-submit {
    width: 100%; background: var(--accent-btn); color: var(--on-accent); border: none;
    padding: 14px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; transition: filter .2s ease;
  }
  .contact-form-submit:hover { filter: brightness(1.08); }
  .contact-form-submit svg { width: 18px; height: 18px; }
  .form-status { font-size: 13px; margin: 16px 0 0; min-height: 1em; }
  .form-status.success { color: var(--accent); }
  .form-status.error { color: #c0392b; }
  .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  /* ─── FOOTER ─── */
  footer { padding: 30px var(--gutter); background: var(--foot-bg); box-shadow: 0 -2px 18px rgba(0,0,0,.04); transition: background .35s ease; }
  .footer-inner { display: flex; justify-content: space-between; align-items: center; }
  .footer-logo svg { height: 20px; width: auto; display: block; color: var(--fg); }
  .footer-right { font-size: 13px; font-weight: 600; color: var(--foot-fg); }
  .footer-right a { transition: color .2s ease; }
  .footer-right a:hover { color: var(--accent); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; align-items: start; }
    .hero-right { padding-bottom: 0; }
    .svc-row { grid-template-columns: 80px 1fr; }
    .svc-right { grid-column: 2; }
    .imp-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-cell { width: calc(50% - 1px); }
  }
  @media (max-width: 900px) {
    .nav-inner, .sec, .hero, .contact, footer { padding-left: 28px; padding-right: 28px; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--header-bg); box-shadow: 0 8px 18px rgba(0,0,0,.08); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 16px 28px; border-bottom: 1px solid var(--line); }
    .nav-links a:hover { border-bottom-color: var(--line); }
    .hamburger { display: flex; }
    header { position: sticky; }
    .rail { grid-template-columns: 1fr; gap: 16px; }
    .rail-label { padding-top: 0; }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: none; border-bottom: 1px solid var(--line); }
    .svc-row { grid-template-columns: 1fr; gap: 16px; }
    .svc-right { grid-column: auto; }
    .imp-grid { grid-template-columns: 1fr; }
    .exp-cell { width: calc(100% - 1px); }
    .contact { grid-template-columns: 1fr; gap: 40px; }
    .sec-h2 { font-size: 36px; }
    .contact h2 { font-size: 36px; }
    .faq-head { font-size: 34px; }
  }
  @media (max-width: 560px) {
    .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .nav-inner { padding-top: 14px; padding-bottom: 14px; }
  }

  /* ─── LEGAL PAGES (privacy / terms) ─── */
  .legal { padding: 64px var(--gutter) 96px; }
  .legal-wrap { max-width: 860px; margin: 0 auto; }
  .legal-head { border-bottom: 2px solid var(--rule); padding-bottom: 28px; margin-bottom: 44px; }
  .legal-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
  .legal-tick { width: 28px; height: 1px; background: var(--accent); display: inline-block; }
  .legal-head h1 { font-weight: 700; font-size: clamp(36px, 6vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 0; }
  .article-body h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 44px 0 14px; line-height: 1.4; }
  .article-body h2:first-child { margin-top: 0; }
  .article-body h3 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 44px 0 14px; line-height: 1.4; }
  .article-body p { color: var(--muted); margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
  .article-body ul { margin: 0 0 18px 1.4em; padding: 0; }
  .article-body li { color: var(--muted); margin-bottom: 10px; font-size: 16px; line-height: 1.7; }
  .article-body li p { margin-bottom: 8px; }
  .article-body li p:last-child { margin-bottom: 0; }
  .article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--chip-line); transition: text-decoration-color .2s ease; }
  .article-body a:hover { text-decoration-color: var(--accent); }
  .article-body strong { color: var(--fg); font-weight: 700; }
  .article-body em { font-style: italic; }

  /* ─── GLOBAL FOCUS / MOTION ─── */
  a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (max-width: 900px) {
    .legal { padding: 44px 28px 64px; }
    .article-body h2 { font-size: 23px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  }
