/* Cloudsasa site styles — component layout and typography (Tailwind handles container utilities in HTML) */

:root {
      --black:   #060e2e;
      --ink:     #0f1732;
      --ink-mid: #24345f;
      --ink-dim: #3d4f87;
      --rule:    #c8d2ee;
      --rule-strong: #a0aed8;
      --bg:      #f2f4fb;
      --white:   #ffffff;
      --brand:   #0e30b7;
      --accent:  #f5c200;
      --line-soft: rgba(255,255,255,0.16);
      --line-strong: rgba(255,255,255,0.28);
      --radius-card: 4px;
      --pad-section: 100px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: "IBM Plex Sans", sans-serif;
      background: var(--bg);
      color: var(--ink);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; }

    /* ─── IMAGE CONTAINERS ───────────────────────── */
    .img-container {
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.02);
    }

    .img-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .section-image {
      border-radius: 2px;
      overflow: hidden;
    }

    .container {
      width: 100%;
      margin: 0 auto;
    }

    /* ─── HEADER ─────────────────────────────────── */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      background: var(--brand);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 82px;
      gap: 32px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 0;
    }

    .brand-mark {
      display: inline-flex;
      align-items: center;
      flex-shrink: 0;
      color: var(--white);
    }

    .brand-mark img {
      width: 160px;
      object-fit: contain;
    }

    .brand-copy {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .brand-copy strong {
      color: var(--white);
      font-size: 1.4rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      line-height: 1.02;
    }

    .brand-copy small {
      color: rgba(255,255,255,0.54);
      font-size: 0.56rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      line-height: 1;
      text-transform: uppercase;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 26px;
    }

    .main-nav a {
      color: rgba(255,255,255,0.85);
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.03em;
      transition: color 140ms ease;
    }

    .main-nav a:hover { color: var(--white); }

    .nav-cta {
      background: var(--accent);
      color: var(--ink) !important;
      padding: 9px 20px;
      border-radius: 6px;
      font-weight: 600 !important;
      letter-spacing: 0.02em !important;
      font-size: 0.85rem !important;
      transition: background 140ms ease !important;
    }

    .nav-cta:hover { background: #e8b400 !important; }

    .menu-toggle {
      display: none;
      background: transparent;
      border: 1px solid rgba(255,255,255,0.2);
      color: var(--white);
      padding: 8px 16px;
      font-size: 0.83rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
    }

    /* ─── SECTION LABEL ──────────────────────────── */
    .section-label {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 32px;
    }

    .section-label::before {
      content: "";
      display: block;
      width: 28px;
      height: 2px;
      background: var(--brand);
      flex-shrink: 0;
    }

    .section-label span {
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--brand);
    }

    /* ─── HERO ───────────────────────────────────── */
    .hero {
      background: var(--brand);
      color: var(--white);
      padding: 56px 0 78px;
      border-bottom: 1px solid var(--line-soft);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.24;
      background:
        linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px) 0 0 / 180px 180px,
        linear-gradient(0deg, rgba(255,255,255,0.13) 1px, transparent 1px) 0 0 / 180px 180px;
      mask-image: radial-gradient(120% 90% at 50% 25%, #000 45%, transparent 100%);
    }

    .hero-shell {
      display: grid;
      gap: 0;
    }

    .hero-chip-row {
      display: grid;
      justify-content: end;
      margin-bottom: 12px;
    }

    .hero-chip {
      border: 1px solid var(--line-strong);
      padding: 10px 18px;
      font-size: 0.7rem;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.88);
    }

    .hero-title-box {
      border: 1px solid var(--line-strong);
      padding: clamp(30px, 4vw, 52px) clamp(26px, 4vw, 42px);
      position: relative;
      overflow: hidden;
    }

    .hero-title-box::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.3;
      background:
        radial-gradient(circle at 14% 26%, rgba(255,255,255,0.9) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 34% 58%, rgba(255,255,255,0.9) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 66% 34%, rgba(255,255,255,0.9) 0 1.2px, transparent 1.8px),
        radial-gradient(circle at 86% 64%, rgba(255,255,255,0.9) 0 1.2px, transparent 1.8px),
        linear-gradient(136deg, transparent 15%, rgba(255,255,255,0.2) 16%, rgba(255,255,255,0.2) 16.5%, transparent 18%),
        linear-gradient(24deg, transparent 43%, rgba(255,255,255,0.2) 44%, rgba(255,255,255,0.2) 44.5%, transparent 46%),
        linear-gradient(166deg, transparent 61%, rgba(255,255,255,0.2) 62%, rgba(255,255,255,0.2) 62.5%, transparent 64%);
    }

    .hero-title-box h1 {
      font-family: "IBM Plex Sans", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      font-size: clamp(2.2rem, 5.4vw, 4.8rem);
      line-height: 0.96;
      letter-spacing: -0.024em;
      max-width: none;
      width: 100%;
      margin: 0;
      position: relative;
      z-index: 1;
    }

    .hero-subgrid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
      align-items: stretch;
      margin-left: clamp(24px, 8vw, 86px);
    }

    .hero-info-box {
      border: 1px solid var(--line-strong);
      border-top: none;
      padding: 16px 18px;
      max-width: 320px;
      font-size: 1.02rem;
      color: rgba(255,255,255,0.93);
      line-height: 1.66;
      font-weight: 400;
      background: rgba(5, 27, 118, 0.14);
    }

    .hero-info-box + .hero-info-box { border-left: none; }

    .hero-cta-box {
      display: flex;
      align-items: center;
      padding: 0 0 0 36px;
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 52px;
      padding: 0 30px;
      background: var(--accent);
      color: var(--ink);
      border: 1px solid rgba(255,255,255,0.22);
      border-radius: 8px;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: background 140ms ease;
    }

    .hero-cta:hover { background: #e8b400; }

    /* ─── BUTTONS ────────────────────────────────── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 48px;
      padding: 0 26px;
      border-radius: 8px;
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
      border: none;
      transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
    }

    .btn-primary { background: var(--accent); color: var(--ink); }
    .btn-primary:hover { background: #e8b400; }

    .btn-outline {
      background: transparent;
      color: rgba(255,255,255,0.88);
      border: 1px solid rgba(255,255,255,0.22);
    }
    .btn-outline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

    /* ─── GENERIC SECTION ────────────────────────── */
    section.block { padding: var(--pad-section) 0; }
    section.block.dark  { background: var(--brand); color: var(--white); }
    section.block.mid   { background: var(--ink);   color: var(--white); }

    section.block.dark .section-label::before,
    section.block.mid  .section-label::before { background: var(--accent); }
    section.block.dark .section-label span,
    section.block.mid  .section-label span    { color: var(--accent); }

    /* ─── SERVICES ───────────────────────────────── */
    .services-head {
      display: grid;
      grid-template-columns: minmax(0,1fr) minmax(280px,0.6fr);
      gap: 48px;
      align-items: end;
      margin-bottom: 52px;
      padding-bottom: 40px;
      border-bottom: 1px solid var(--rule);
    }

    .services-head h2 {
      font-family: "Newsreader", serif;
      font-weight: 500;
      font-size: clamp(2rem, 3.5vw, 3rem);
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    .services-head p {
      color: var(--ink-dim);
      font-size: 1.04rem;
      line-height: 1.72;
      font-weight: 400;
    }

    .services-table {
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .svc-col {
      padding: 40px 36px 40px 0;
      border-right: 1px solid var(--rule);
    }

    .svc-col:last-child { border-right: none; padding-right: 0; }
    .svc-col:not(:first-child) { padding-left: 36px; }

    .svc-image {
      margin-bottom: 28px;
      height: 220px;
      border-radius: 4px;
      box-shadow: 0 10px 24px rgba(7,18,60,0.12);
      overflow: hidden;
    }

    .svc-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .svc-num {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      color: var(--ink-dim);
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .svc-col h3 {
      font-size: 1.12rem;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 12px;
      letter-spacing: -0.01em;
    }

    .svc-col > p {
      color: var(--ink);
      font-size: 0.98rem;
      line-height: 1.72;
      margin-bottom: 22px;
      font-weight: 400;
    }

    .svc-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .svc-list li {
      font-size: 0.91rem;
      color: var(--ink-mid);
      padding-left: 14px;
      position: relative;
      line-height: 1.5;
    }

    .svc-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.72em;
      width: 5px;
      height: 1px;
      background: var(--rule-strong);
    }

    /* ─── DIFFERENTIATION ────────────────────────── */
    .diff-layout {
      display: grid;
      grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
      gap: 56px;
      align-items: start;
    }

    .diff-intro {
      padding-right: 0;
      border-right: none;
    }

    .diff-image {
      height: 320px;
      border-radius: var(--radius-card);
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 14px 28px rgba(0,0,0,0.2);
      overflow: hidden;
    }

    .diff-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .diff-intro h2 {
      font-family: "Newsreader", serif;
      font-weight: 500;
      font-size: clamp(1.9rem, 3.2vw, 2.8rem);
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }

    .diff-intro p {
      color: rgba(255,255,255,0.90);
      font-size: 1.03rem;
      line-height: 1.75;
      font-weight: 400;
    }

    .section-list-grid {
      --list-rule: var(--rule);
      margin-top: 38px;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .section-list-item {
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 0;
      padding: 22px 0;
      border-bottom: 1px solid var(--list-rule);
    }

    .section-list-item:nth-child(odd) {
      padding-right: 28px;
      border-right: 1px solid var(--list-rule);
    }

    .section-list-item:nth-child(even) { padding-left: 28px; }
    .section-list-item:nth-child(-n+2) { border-bottom: 1px solid var(--list-rule); }

    .section-list-num {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      color: var(--ink-dim);
      text-transform: uppercase;
      padding-top: 2px;
    }

    .section-list-body h4 {
      font-size: 0.92rem;
      font-weight: 600;
      margin-bottom: 8px;
      line-height: 1.35;
    }

    .section-list-body p {
      font-size: 0.9rem;
      color: var(--ink);
      line-height: 1.65;
      font-weight: 400;
    }

    section.block.dark .section-list-grid,
    section.block.mid .section-list-grid {
      --list-rule: rgba(255,255,255,0.1);
    }

    section.block.dark .section-list-num,
    section.block.mid .section-list-num { color: rgba(255,255,255,0.55); }

    section.block.dark .section-list-body h4,
    section.block.mid .section-list-body h4 { color: var(--white); }

    section.block.dark .section-list-body p,
    section.block.mid .section-list-body p { color: rgba(255,255,255,0.84); }

    /* Keep list divider aligned with each section's main text/image split */
    #differentiation .section-list-grid,
    #approach .section-list-grid {
      grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
    }

    #mission .section-list-grid {
      grid-template-columns: minmax(0,0.48fr) minmax(0,0.52fr);
    }

    /* ─── APPROACH ───────────────────────────────── */
    .approach-layout {
      display: grid;
      grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
    }

    .approach-text {
      padding-right: 64px;
      border-right: 1px solid var(--rule);
    }

    .approach-image {
      padding-left: 64px;
      display: flex;
      align-items: center;
    }

    .approach-image-container {
      height: 340px;
      width: 100%;
      border-radius: var(--radius-card);
      box-shadow: 0 10px 24px rgba(7,18,60,0.12);
      overflow: hidden;
    }

    .approach-image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .approach-text h2 {
      font-family: "Newsreader", serif;
      font-weight: 500;
      font-size: clamp(1.9rem, 3vw, 2.7rem);
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }

    .approach-text p {
      color: var(--ink-mid);
      font-size: 1rem;
      line-height: 1.75;
      font-weight: 400;
    }

    /* ─── WHY ────────────────────────────────────── */
    .why-head {
      display: grid;
      grid-template-columns: minmax(0,1fr) minmax(280px,0.6fr);
      gap: 48px;
      align-items: end;
      margin-bottom: 48px;
      padding-bottom: 36px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .why-section-image {
      margin-bottom: 48px;
      height: 280px;
      border-radius: var(--radius-card);
      box-shadow: 0 14px 28px rgba(0,0,0,0.2);
      overflow: hidden;
    }

    .why-section-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .why-head h2 {
      font-family: "Newsreader", serif;
      font-weight: 500;
      font-size: clamp(1.9rem, 3vw, 2.7rem);
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    .why-head p {
      color: rgba(255,255,255,0.84);
      font-size: 1rem;
      line-height: 1.7;
      font-weight: 400;
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(4,minmax(0,1fr));
    }

    .why-item {
      padding: 0 32px 0 0;
      border-right: 1px solid rgba(255,255,255,0.07);
    }

    .why-item:last-child  { border-right: none; padding-right: 0; }
    .why-item:not(:first-child) { padding-left: 32px; }

    .why-item h3 {
      font-size: 0.92rem;
      font-weight: 600;
      margin-bottom: 10px;
      line-height: 1.3;
    }

    .why-item p {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.83);
      line-height: 1.65;
      font-weight: 400;
    }

    /* ─── MISSION ────────────────────────────────── */
    .mission-band {
      display: grid;
      grid-template-columns: minmax(0,0.48fr) minmax(0,0.52fr);
    }

    .mission-left {
      padding-right: 64px;
      border-right: 1px solid var(--rule);
    }

    .mission-image {
      padding-left: 64px;
      display: flex;
      align-items: center;
    }

    .mission-image-container {
      height: 360px;
      width: 100%;
      border-radius: var(--radius-card);
      box-shadow: 0 10px 24px rgba(7,18,60,0.12);
      overflow: hidden;
    }

    .mission-image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .mission-left h2 {
      font-family: "Newsreader", serif;
      font-weight: 500;
      font-size: clamp(1.9rem, 3vw, 2.7rem);
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }

    .mission-left p {
      color: var(--ink-mid);
      font-size: 1rem;
      line-height: 1.75;
      font-weight: 400;
      margin-bottom: 18px;
    }

    .mission-left p:last-child { margin-bottom: 0; }

    /* ─── CONTACT ────────────────────────────────── */
    section.contact-section {
      padding: var(--pad-section) 0;
      background: var(--brand);
      color: var(--white);
    }

    .contact-section .section-label::before { background: var(--accent); }
    .contact-section .section-label span    { color: var(--accent); }

    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
      gap: 80px;
      align-items: start;
    }

    .contact-intro h2 {
      font-family: "Newsreader", serif;
      font-weight: 500;
      font-size: clamp(1.9rem, 3vw, 2.7rem);
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 18px;
    }

    .contact-intro p {
      color: rgba(255,255,255,0.88);
      font-size: 1rem;
      line-height: 1.75;
      font-weight: 400;
      margin-bottom: 32px;
    }

    .contact-note {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
    }

    .contact-note strong {
      display: block;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.52);
      margin-bottom: 8px;
    }

    .contact-note p {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.78);
      margin-bottom: 0;
      font-weight: 400;
    }

    .contact-form { display: grid; gap: 16px; }

    .field-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .field { display: grid; gap: 7px; }

    .field label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.62);
    }

    .field input,
    .field textarea {
      width: 100%;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 13px 16px;
      color: var(--white);
      font-size: 0.98rem;
      font-weight: 400;
      transition: border-color 140ms ease, background 140ms ease;
      border-radius: 8px;
    }

    .field input::placeholder,
    .field textarea::placeholder { color: rgba(255,255,255,0.38); }

    .field input:focus,
    .field textarea:focus {
      outline: none;
      border-color: rgba(255,255,255,0.32);
      background: rgba(255,255,255,0.08);
    }

    .field textarea { min-height: 138px; resize: vertical; }

    .contact-actions {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    /* ─── FOOTER ─────────────────────────────────── */
    .site-footer {
      background: var(--black);
      color: var(--white);
      padding: 40px 0;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 0;
    }

    .footer-brand-mark {
      flex-shrink: 0;
    }

    .footer-brand-mark img {
      width: 100px;
      object-fit: contain;
      display: block;
    }

    .footer-brand-copy {
      display: flex;
      flex-direction: column;
    }

    .footer-brand strong {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 3px;
    }

    .footer-brand span {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.58);
      font-weight: 300;
    }

    .footer-links { display: flex; flex-wrap: wrap; gap: 24px; }

    .footer-links a {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.38);
      letter-spacing: 0.04em;
      transition: color 140ms ease;
    }

    .footer-links a:hover { color: rgba(255,255,255,0.8); }

    .footer-copy {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.62);
      white-space: nowrap;
    }

    /* ─── REVEAL ─────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 540ms ease, transform 540ms ease;
    }

    .reveal.is-visible { opacity: 1; transform: translateY(0); }

    /* ─── RESPONSIVE ─────────────────────────────── */
    @media (max-width: 1040px) {
      :root { --pad-section: 80px; }

      .approach-layout, .mission-band, .contact-layout { grid-template-columns: 1fr; }

      .hero { padding: 44px 0 64px; }
      .hero-chip-row { justify-content: start; }
      .hero-title-box { padding: 30px 24px; }
      .hero-title-box h1 { font-size: clamp(2rem, 7.2vw, 3.8rem); max-width: none; }
      .hero-subgrid {
        grid-template-columns: 1fr 1fr;
        margin-left: 0;
      }
      .hero-cta-box {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding: 22px 0 0;
      }

      .diff-layout { grid-template-columns: 1fr; }
      .diff-intro { padding-right: 0; border-right: none; border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
      .diff-image { margin-top: 0; height: 280px; }

      .approach-text { padding-right: 0; border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 40px; margin-bottom: 40px; }
      .approach-image { padding-left: 0; margin-top: 40px; }
      .approach-image-container { height: 280px; }

      .mission-left { padding-right: 0; border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 40px; margin-bottom: 40px; }
      .mission-image { padding-left: 0; margin-top: 40px; }
      .mission-image-container { height: 280px; }

      .services-head, .why-head { grid-template-columns: 1fr; gap: 20px; }

      .services-table { grid-template-columns: 1fr; }
      .svc-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 32px 0; }
      .svc-col:last-child { border-bottom: none; }
      .svc-col:not(:first-child) { padding-left: 0; }
      .svc-image { height: 200px; margin-bottom: 20px; }

      .why-grid { grid-template-columns: 1fr 1fr; }
      .why-item { padding: 24px; border-right: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
      .why-item:nth-child(even)        { border-right: none; }
      .why-item:nth-last-child(-n+2)   { border-bottom: none; }
      .why-item:not(:first-child)      { padding-left: 24px; }
    }

    @media (max-width: 820px) {
      .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        padding: 0 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        display: none;
        border-top: 1px solid rgba(255,255,255,0.06);
      }

      .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
      .main-nav a:last-child { border-bottom: none; }
      .nav-cta { background: transparent !important; color: rgba(255,255,255,0.62) !important; padding: 14px 0 !important; }
      .main-nav.is-open { display: flex; }
      .menu-toggle { display: inline-flex; }
      .header-inner { position: relative; }
      .brand-copy { display: none; }

      .section-list-grid { grid-template-columns: 1fr; }
      .section-list-item { grid-template-columns: 34px minmax(0, 1fr); padding: 20px 0; }
      .section-list-item:nth-child(odd) { padding-right: 0; border-right: none; }
      .section-list-item:nth-child(even) { padding-left: 0; }

      .hero-subgrid { grid-template-columns: 1fr; }
      .hero-info-box + .hero-info-box { border-left: 1px solid rgba(255,255,255,0.28); }
      .hero-info-box { max-width: none; }
      .hero-cta-box { padding-top: 18px; }

      .contact-layout { gap: 48px; }
      .field-row { grid-template-columns: 1fr; }

      .approach-image, .mission-image { padding-left: 0; }
      .approach-image-container, .mission-image-container { height: 240px; }
    }

    @media (max-width: 560px) {
      .btn { width: 100%; text-align: center; }
      .brand-mark img,
      .footer-brand-mark img { width: auto; }
      .brand-mark img { width: min(65vw, 160px); }
      .footer-brand-mark img { width: min(45vw, 100px); }
      .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
      .footer-brand { align-items: flex-start; }
      .why-grid { grid-template-columns: 1fr; }
      .why-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07) !important; padding: 24px 0 !important; }
      .why-item:last-child { border-bottom: none !important; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
      .reveal { opacity: 1; transform: none; }
    }

/* ─── CORPORATE REDESIGN OVERRIDES ───────────────── */
:root {
  --black: #071126;
  --ink: #111827;
  --ink-mid: #334155;
  --ink-dim: #64748b;
  --rule: #dbe3ef;
  --rule-strong: #b6c3d6;
  --bg: #f6f8fc;
  --white: #ffffff;
  --brand: #1238bf;
  --brand-dark: #081a58;
  --brand-soft: #e9eefc;
  --accent: #f3bf18;
  --radius-card: 16px;
  --pad-section: 104px;
}

body {
  background: var(--bg);
  color: var(--ink);
}

.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 8px 24px rgba(15,23,42,0.04);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 78px;
}

.brand-mark img {
  width: 176px;
}

.main-nav {
  gap: 24px;
}

.main-nav a {
  color: var(--ink-mid);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18,56,191,0.18);
}

.nav-cta:hover {
  background: var(--brand-dark) !important;
}

.menu-toggle {
  border-color: rgba(18,56,191,0.22);
  color: var(--brand);
  border-radius: 999px;
}

.section-label {
  margin-bottom: 26px;
}

.section-label::before {
  width: 36px;
  background: var(--brand);
}

.section-label span {
  color: var(--brand);
  letter-spacing: 0.12em;
}

.hero {
  background: var(--white);
  color: var(--ink);
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--rule);
}

.hero::before,
.hero-title-box::before {
  display: none;
}

.hero-shell {
  gap: 24px;
}

.hero-chip-row {
  justify-content: start;
}

.hero-chip {
  border: 1px solid rgba(18,56,191,0.18);
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 700;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.55fr);
  gap: 72px;
  align-items: end;
}

.hero-title-box {
  border: none;
  padding: 0;
  overflow: visible;
}

.hero-title-box h1 {
  color: var(--ink);
  font-size: clamp(3.1rem, 6.2vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: none;
  max-width: 1080px;
}

.hero-lede {
  max-width: 760px;
  margin-top: 30px;
  color: var(--ink-mid);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-cta,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-cta {
  background: var(--brand);
  color: var(--white);
  border: 1px solid var(--brand);
  box-shadow: 0 12px 24px rgba(18,56,191,0.18);
}

.hero-cta:hover {
  background: var(--brand-dark);
}

.hero-secondary {
  background: var(--white);
  color: var(--brand);
  border: 1px solid rgba(18,56,191,0.2);
}

.hero-panel {
  background: var(--brand-dark);
  color: var(--white);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(8,26,88,0.18);
}

.hero-panel p {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.hero-panel-grid span {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  padding: 12px 14px;
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-subgrid,
.hero-info-box,
.hero-cta-box {
  all: unset;
}

section.block {
  padding: var(--pad-section) 0;
}

section.block.dark {
  background: var(--brand-dark);
  color: var(--white);
}

section.block.mid {
  background: #0d172a;
  color: var(--white);
}

.services-head,
.why-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,0.48fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
  padding-bottom: 0;
  border-bottom: none;
}

.services-head h2,
.diff-intro h2,
.approach-text h2,
.why-head h2,
.mission-left h2,
.contact-intro h2,
.downloads-copy h2 {
  font-family: "Newsreader", serif;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.035em;
}

.services-head h2 {
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  line-height: 1.02;
}

.services-head p,
.why-head p {
  justify-self: end;
  max-width: 470px;
  position: relative;
  padding: 20px 0 0 30px;
  border-top: 2px solid currentColor;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.72;
}

.services-head p::before,
.why-head p::before {
  content: "Context";
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.services-head p::after,
.why-head p::after {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  background: var(--bg);
  transform: rotate(45deg);
}

.why-head p {
  color: var(--white);
}

.why-head p::before {
  color: var(--accent);
}

.why-head p::after {
  background: #0d172a;
}

.services-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}

.svc-col {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: 0 14px 32px rgba(15,23,42,0.06);
}

.svc-col:not(:first-child),
.svc-col:last-child {
  padding: 22px;
  border-right: 1px solid var(--rule);
}

.svc-image {
  height: 220px;
  border-radius: 12px;
  box-shadow: none;
}

.svc-num,
.section-list-num {
  color: var(--brand);
}

.svc-col h3 {
  font-size: 1.2rem;
}

.svc-col > p,
.svc-list li,
.section-list-body p,
.approach-text p,
.mission-left p {
  color: var(--ink-mid);
}

.diff-layout,
.approach-layout,
.mission-band,
.contact-layout {
  gap: 64px;
}

.diff-image,
.approach-image-container,
.mission-image-container,
.why-section-image {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

.approach-text,
.mission-left {
  border-right: none;
}

.approach-image,
.mission-image {
  padding-left: 0;
}

.section-list-grid {
  gap: 18px;
}

#differentiation .section-list-grid,
#approach .section-list-grid,
#mission .section-list-grid,
.section-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-list-item,
.section-list-item:nth-child(odd),
.section-list-item:nth-child(even) {
  display: block;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255,255,255,0.68);
}

section.block.dark .section-list-item,
section.block.mid .section-list-item {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
}

.section-list-num {
  margin-bottom: 14px;
}

.section-list-body h4 {
  font-size: 0.98rem;
}

section.block.dark .section-list-body p,
section.block.mid .section-list-body p,
section.block.dark .diff-intro p,
section.block.dark .section-label span,
section.block.mid .section-label span {
  color: rgba(255,255,255,0.78);
}

.why-grid {
  gap: 18px;
}

.why-item,
.why-item:not(:first-child),
.why-item:last-child {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
}

.downloads-section {
  background: var(--white);
}

.downloads-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 64px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--rule);
  border-radius: 24px;
  background: #fbfcff;
  box-shadow: 0 18px 44px rgba(15,23,42,0.06);
}

.downloads-copy h2 {
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  line-height: 1.02;
}

.downloads-copy p {
  max-width: 700px;
  margin-top: 20px;
  color: var(--ink-mid);
  font-size: 1.05rem;
  line-height: 1.75;
}

.downloads-list {
  display: grid;
  gap: 12px;
}

.downloads-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.downloads-list a:hover {
  border-color: rgba(18,56,191,0.34);
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  transform: translateY(-1px);
}

.downloads-list span {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.downloads-list small {
  flex-shrink: 0;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-section {
  background: var(--brand-dark) !important;
}

.contact-form {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.field input,
.field textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.site-footer {
  background: #050b1a;
}

@media (max-width: 1180px) {
  .hero-layout,
  .services-head,
  .why-head,
  .downloads-hero {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 44px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .services-head p,
  .why-head p {
    justify-self: start;
  }

  #differentiation .section-list-grid,
  #approach .section-list-grid,
  #mission .section-list-grid,
  .section-list-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    background: var(--white);
    box-shadow: 0 18px 32px rgba(15,23,42,0.1);
  }

  .main-nav a {
    color: var(--ink-mid);
    border-bottom: 1px solid rgba(15,23,42,0.08);
  }

  .nav-cta {
    background: transparent !important;
    color: var(--brand) !important;
    box-shadow: none;
  }

  .services-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --pad-section: 72px;
  }

  .hero {
    padding: 62px 0 72px;
  }

  .hero-title-box h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-panel,
  .contact-form,
  .downloads-hero,
  .svc-col {
    padding: 22px;
  }

  .hero-panel-grid,
  #differentiation .section-list-grid,
  #approach .section-list-grid,
  #mission .section-list-grid,
  .section-list-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    width: 100%;
  }

  .downloads-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
