
:root {
      --navy: #061a36;
      --navy-soft: #0a2b54;
      --gold: #c98712;
      --gold-2: #eba92f;
      --ink: #07162f;
      --muted: #3f4a5c;
      --paper: #fbfaf7;
      --white: #fff;
  /* Font system */
  --font-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: var(--font-sans);
  --heading-weight: 700;
  --body-weight: 400;
  /* Semantic theme variables (Classic Navy & Gold) */
  --primary: var(--navy);
  --primary-dark: #05152d;
  --accent: var(--gold);
  --accent-dark: #b8740b;
  --surface: var(--white);
  --text: var(--ink);
      --line: #e3e5e8;
      --shadow: 0 18px 42px rgba(7, 22, 47, 0.1);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: var(--font-sans);
      color: var(--text);
      background: var(--paper);
      line-height: 1.65;
      text-rendering: optimizeLegibility;
    }

    p {
      line-height: 1.72;
    }

    /* Skip link for keyboard users */
    .skip-link {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .skip-link:focus,
    .skip-link:active {
      position: static;
      width: auto;
      height: auto;
      margin: 12px;
      padding: 8px 12px;
      background: var(--navy);
      color: var(--white);
      z-index: 9999;
      border-radius: 4px;
    }

    /* Visually hide native nav toggle but keep accessible */
    .nav-toggle {
      position: absolute;
      left: -9999px;
    }

    /* Visually hide text for screen-reader-only elements */
    .sr-only {
      position: absolute !important;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Constrain logo so header doesn't overflow */
    .brand {
      display: flex;
      align-items: center;
      gap: 16px;
      min-width: 0;
    }

    .brand img {
      max-height: 76px;
      width: auto;
      display: block;
    }

    /* Global image reset to avoid unexpected stretching */
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* Ensure hero artwork fills its visual container without stretching */
    .hero-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
    }

    /* Building image should cover area while preserving aspect ratio */
    .building img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Founder portrait: keep natural aspect and restrict size */
    .portrait img {
      width: auto;
      height: 100%;
      max-height: 300px;
      max-width: 100%;
      border-radius: 8px;
      display: block;
      object-fit: cover;
    }

    /* Nav toggle button (hamburger) - hidden on large screens */
    .nav-toggle-btn {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 6px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-weight: 800;
    }

    /* Responsive: collapse navigation into a toggle on small screens */
    @media (max-width: 980px) {
      .hero {
        background-color: var(--paper);
        background-image: url("assets/hero section bg1.png");
        /* keep focal point toward the right and show more of the scene */
        background-position: right center;
        /* make the background span the width so it fits the larger hero */
        background-size: 100% auto;
        background-repeat: no-repeat;
        border-radius: 0;
        box-shadow: none;
        padding-top: 0;
        padding-bottom: 0;
      }
      }

      .nav-toggle-btn {
        display: flex;
      }

      .nav a {
        padding: 10px 8px;
      }

      .nav-toggle:checked + .nav-toggle-btn + .nav {
        display: flex;
      }

      .topbar {
        padding: 18px 0;
      }
    }

    /* Visible focus styles for keyboard users */
    :focus {
      outline: none;
    }

    :focus-visible,
    .btn:focus,
    .nav-toggle-btn:focus,
    a:focus {
      outline: 3px solid var(--gold);
      outline-offset: 3px;
    }

    .hero {
      background-color: var(--paper);
      /* hero background controlled later (full-bleed .hero) */
    }
    /* Headings use a serif for more editorial weight in the hero and sections */
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-serif);
      font-weight: var(--heading-weight);
      color: var(--ink);
      margin: 0 0 18px;
      line-height: 1.08;
    }

    /* Improve hero heading rhythm and scale */
    .hero h1 {
      font-size: clamp(32px, 4.8vw, 64px);
      letter-spacing: -0.02em;
      margin: 0 0 10px;
      font-weight: 700;
      line-height: 1.04;
      color: var(--primary);
    }

    .hero p {
      line-height: 1.68;
      font-size: 18px;
      color: rgba(7,22,47,0.85);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Page is full-bleed; individual sections provide backgrounds. */
    .page {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
    }

    /* Constrained, centered content container used inside full-bleed sections. */
    .wrap {
      max-width: 1280px;
      width: calc(100% - 120px);
      margin: 0 auto;
      padding: 0 60px;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      padding: 24px 0 18px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 16px;
      min-width: 300px;
    }

    .logo-mark {
      position: relative;
      width: 76px;
      height: 80px;
      flex: 0 0 auto;
    }

    .logo-mark::before,
    .logo-mark::after {
      content: "";
      position: absolute;
      bottom: 8px;
      width: 20px;
      border-radius: 2px;
      transform-origin: bottom center;
      box-shadow: inset 5px 0 0 rgba(255, 255, 255, 0.24);
    }

    .logo-mark::before {
      left: 16px;
      height: 62px;
      background: linear-gradient(145deg, var(--navy), #164273);
      transform: rotate(-28deg);
    }

    .logo-mark::after {
      left: 39px;
      height: 76px;
      background: linear-gradient(145deg, var(--gold-2), var(--gold));
      transform: rotate(32deg);
    }
    .img2{
      width: 100%;
      height: auto;
    }

    .logo-mark span {
      position: absolute;
      left: 54px;
      top: 0;
      color: var(--gold);
      font-size: 20px;
      font-weight: 900;
    }

    .wordmark strong {
      display: block;
      color: var(--gold);
      font-family: var(--font-sans);
      font-size: 45px;
      font-weight: 500;
      line-height: 0.9;
    }

    .wordmark span {
      display: block;
      margin-top: 8px;
      color: var(--navy);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 12px;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 54px;
      font-size: 15px;
      font-weight: 800;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 56px;
      padding: 0 28px;
      border: 1px solid transparent;
      border-radius: 6px;
      font-size: 15px;
      font-weight: 800;
      white-space: nowrap;
    }

    .btn.gold {
      color: #fff;
      background: linear-gradient(180deg, var(--accent), var(--accent-dark));
      box-shadow: 0 12px 40px rgba(184,134,24,0.24);
      border-radius: 10px;
    }

    .btn.navy {
      color: #fff;
      background: linear-gradient(180deg, var(--primary), var(--primary-dark));
      box-shadow: 0 12px 40px rgba(7, 22, 47, 0.28);
      border-radius: 10px;
    }

    .btn.light {
      color: var(--navy);
      background: rgba(255, 255, 255, 0.7);
      border-color: var(--gold);
    }

    /* Full-bleed hero background */
    .hero {
      background-color: var(--paper);
      background-image: url("assets/hero\ section\ bg1.png");
      background-position: right center;
      background-size: cover;
      background-repeat: no-repeat;
      border-radius: 0;
      box-shadow: none;
      padding-top: 0;
      padding-bottom: 0;
    }

    /* Constrained content layout inside the hero */
    .hero .wrap {
      display: grid;
      grid-template-columns: 1fr 0.95fr;
      gap: 48px;
      align-items: center;
      /* padding tuned to match screenshot spacing */
      padding: 56px 100px 64px;
      position: relative;
      overflow: hidden;
      /* taller hero */
      min-height: 520px;
      width: min(1280px, calc(100% - 100px));
      margin: 0 auto;
    }
    .hero h1 span {
      color: var(--gold);
    }

    .hero p {
      max-width: 630px;
      margin: 0 0 28px;
      color: #101b2d;
      font-size: 18px;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 34px;
    }

    .hero-art {
      position: relative;
      height: 452px;
      display: none;
      isolation: isolate;
      align-items: center;
      justify-content: flex-end;
      overflow: visible;
      padding-right: 12px;
    }

    /* Removed decorative pseudo-elements for a cleaner vector art presentation */

    .hero-vec {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Let hero artwork overlap the left column slightly for a magazine feel */
    /* Removed hero artwork overlap per request */

    .dot-field {
      position: absolute;
      left: 4px;
      top: 68px;
      width: 220px;
      height: 150px;
      opacity: 0.22;
      background-image: radial-gradient(var(--gold) 1.5px, transparent 1.5px);
      background-size: 18px 18px;
    }

    .bars {
      position: absolute;
      right: 48px;
      bottom: 30px;
      display: flex;
      align-items: end;
      gap: 16px;
    }

    .bar {
      width: 84px;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 6px 6px 2px 2px;
      background: linear-gradient(90deg, #132b4f, #071b37 64%, #1a3a64);
      box-shadow: 14px 18px 30px rgba(8, 29, 56, 0.25), inset 10px 0 18px rgba(255,255,255,0.1);
    }

    .bar:nth-child(1) { width: 70px; height: 68px; }
    .bar:nth-child(2) { width: 76px; height: 104px; }
    .bar:nth-child(3) { width: 82px; height: 144px; }
    .bar:nth-child(4) {
      height: 188px;
      background: linear-gradient(90deg, #dba64d, #bd7b12 65%, #f0c46a);
    }
    .bar:nth-child(5) { width: 96px; height: 252px; }
    .bar:nth-child(6) { width: 104px; height: 338px; }

    .arrow-curve {
      position: absolute;
      right: 68px;
      top: 18px;
      width: 472px;
      height: 288px;
      border-top: 14px solid #d79a32;
      border-radius: 0 100% 0 0;
      transform: rotate(-19deg);
      box-shadow: 0 -3px 0 #8c5c17 inset;
    }

    .arrow-curve::after {
      content: "";
      position: absolute;
      right: -26px;
      top: -43px;
      border-left: 48px solid transparent;
      border-right: 18px solid transparent;
      border-bottom: 76px solid #d79a32;
      filter: drop-shadow(0 3px 0 #8c5c17);
      transform: rotate(43deg);
    }

    section {
      background: var(--white);
    }

    /* Cards and panel backgrounds to match visual design */
    .challenge-card,
    .service-card {
      background: #fff;
      border-radius: 12px;
      padding: 28px;
      box-shadow: 0 6px 18px rgba(7,22,47,0.06);
      border: 1px solid rgba(7,22,47,0.04);
    }

    .service-card {
      min-height: 320px;
    }

    /* Framework section: dark navy band with gold accents */
    .framework {
      background: linear-gradient(180deg, #071a33 0%, #0b2746 100%);
      color: #fff;
      padding: 46px 0;
    }

    .framework .center p.eyebrow,
    .framework h2,
    .framework .step h3,
    .framework .step p {
      color: #fff;
    }

    .framework .step-row {
      display: flex;
      gap: 22px;
      justify-content: center;
      align-items: flex-start;
      flex-wrap: wrap;
      padding-top: 18px;
    }

    .framework .step {
      background: transparent;
      border-radius: 8px;
      text-align: center;
      padding: 12px;
      width: 120px;
    }

    .framework .step-icon svg {
      fill: none;
      stroke: var(--gold);
      stroke-width: 1.5px;
    }

    /* Footer CTA band */
    .cta {
      background: linear-gradient(180deg, #071a33 0%, #06213a 100%);
      color: #fff;
      padding: 42px 0;
    }

    .cta .wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .cta .btn.gold {
      background: linear-gradient(180deg, #dba64d, #bd7b12);
      color: #071a33;
      box-shadow: 0 10px 24px rgba(11,33,60,0.28);
    }

    .about {
      display: grid;
      grid-template-columns: 1fr 1.08fr;
      gap: 92px;
      align-items: center;
      padding-top: 44px;
      padding-bottom: 34px;
    }

    .eyebrow {
      margin: 0 0 10px;
      color: var(--gold);
      font-size: 16px;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    h2 {
      margin: 0 0 24px;
      color: var(--navy);
      font-family: var(--font-sans);
      font-size: clamp(33px, 3.2vw, 44px);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: 0;
    }

    .about p {
      margin: 0 0 22px;
      color: #121927;
      font-size: 16px;
      line-height: 1.78;
      max-width: 62ch;
    }

    .about .eyebrow {
      color: var(--gold);
    }

    .building {
      /* min-height: 370px; */
      position: relative;
      overflow: hidden;
      border-radius: 9px;
      /* background:
        linear-gradient(128deg, rgba(7,29,59,0.95) 0 36%, transparent 36%),
        repeating-linear-gradient(90deg, transparent 0 88px, rgba(255,255,255,0.26) 89px 92px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 78px, rgba(255,255,255,0.22) 79px 82px),
        linear-gradient(120deg, #9ec3df 0 44%, #d69835 44% 100%); */
      /* box-shadow: var(--shadow); */
    }

    .building::before {
      content: "VANTAGE\\A STRATEGY";
      white-space: pre;
      position: absolute;
      left: 90px;
      bottom: 76px;
      color: #fff;
      font-family: var(--font-sans);
      font-size: 28px;
      line-height: 1.1;
      letter-spacing: 0.2em;
      text-align: center;
      text-shadow: 0 3px 8px rgba(0,0,0,0.3);
      z-index: 0;
    }

    .building::after {
      content: "";
      position: absolute;
      left: 134px;
      bottom: 159px;
      width: 58px;
      height: 75px;
      border-left: 13px solid #fff;
      border-right: 13px solid var(--gold-2);
      filter: drop-shadow(0 5px 8px rgba(0,0,0,0.22));
      transform: skewX(-22deg);
    }

    .building img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
    }

    .center {
      text-align: center;
    }

    .challenges-section {
      padding: 26px 0 34px;
      background: linear-gradient(180deg, #fff 0%, #f7f6f3 100%);
    }

    .challenge-heading {
      margin-bottom: 20px;
    }

    .challenge-heading .eyebrow {
      margin-bottom: 4px;
      font-size: 16px;
      line-height: 1;
    }

    .challenge-heading h2 {
      margin-bottom: 0;
      font-size: 38px;
      line-height: 1.15;
    }

    .challenge-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .challenge-card {
      min-height: 296px;
      padding: 22px 34px 26px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 9px;
      box-shadow: 0 10px 24px rgba(7, 22, 47, 0.05);
    }

    .challenge-icon,
    .service-icon,
    .step-icon {
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--gold-2);
      background: radial-gradient(circle at 35% 25%, #123a70 0%, var(--navy) 62%);
    }

    .challenge-icon {
      width: 70px;
      height: 70px;
      margin-bottom: 24px;
    }

    .challenge-icon svg,
    .service-icon svg,
    .step-icon svg {
      width: 38px;
      height: 38px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .challenge-card h3 {
      margin: 0;
      color: var(--navy);
      font-size: 20px;
      font-weight: 800;
      line-height: 1.12;
    }

    .mini-line {
      width: 38px;
      height: 2px;
      margin: 20px 0 21px;
      background: var(--gold-2);
    }

    .challenge-card p {
      width: min(100%, 218px);
      margin: 0;
      color: #182337;
      font-size: 16px;
      line-height: 1.68;
    }

    .services {
      padding: 18px 0 28px;
      background: #fff;
    }

    .services .eyebrow {
      margin-bottom: 0;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 18px;
    }

    .service-card {
      min-height: 312px;
      padding: 28px 42px 26px;
      border-radius: 8px;
      border: 1px solid #e6e7e9;
    }

    .service-card:nth-child(1) { background: linear-gradient(135deg, #edf6fc, #fff); }
    .service-card:nth-child(2) { background: linear-gradient(135deg, #fff7eb, #f3eadc); }
    .service-card:nth-child(3) { background: linear-gradient(135deg, #f2faf4, #e9f1eb); }

    .service-head {
      display: flex;
      align-items: center;
      gap: 22px;
      margin-bottom: 14px;
    }

    .service-icon {
      width: 74px;
      height: 74px;
      flex: 0 0 74px;
    }

    .service-card h3 {
      margin: 0;
      color: var(--navy);
      font-family: var(--font-sans);
      font-size: 25px;
      line-height: 1.1;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .service-card li {
      position: relative;
      margin: 7px 0;
      padding-left: 25px;
      font-size: 14px;
      line-height: 1.6;
      color: #172033;
    }

    .service-card li::before {
      content: "◎";
      position: absolute;
      left: 0;
      top: -1px;
      color: var(--gold);
      font-size: 15px;
      font-weight: 900;
    }

    .divider {
      height: 1px;
      margin: 22px 0 16px;
      background: rgba(7, 29, 59, 0.45);
    }

    .service-card p {
      margin: 0;
      color: #172033;
      font-size: 15px;
      line-height: 1.68;
    }

    .framework {
      position: relative;
      padding: 18px 0 34px;
      color: #fff;
      background:
        radial-gradient(circle at 0% 50%, rgba(235,169,47,0.14), transparent 260px),
        radial-gradient(circle at 100% 50%, rgba(235,169,47,0.14), transparent 280px),
        linear-gradient(105deg, #06162f, #082b55 58%, #06162f);
    }

    .framework .eyebrow {
      margin-bottom: 0;
      color: var(--gold);
    }

    .framework h2 {
      margin-bottom: 0;
      color: #fff;
    }

    .step-row {
      position: relative;
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 14px;
      margin-top: 30px;
    }

    .step-row::before {
      content: "";
      position: absolute;
      left: 6%;
      right: 6%;
      top: 42px;
      border-top: 2px dotted var(--gold-2);
      opacity: 0.85;
    }

    .step {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 10px;
      height: 100%;
    }

    .step-icon {
      width: 78px;
      height: 78px;
      margin: 0 auto;
      border: 2px solid var(--gold-2);
      box-shadow: 0 0 0 7px var(--navy);
    }

    .step-num {
      display: grid;
      place-items: center;
      min-width: 34px;
      height: 34px;
      padding: 0 10px;
      margin: 0 auto;
      color: var(--gold-2);
      border: 1px solid var(--gold-2);
      border-radius: 999px;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.08em;
      line-height: 1;
      background: rgba(6, 22, 47, 0.55);
    }

    .step h3 {
      margin: 0 0 8px;
      color: #fff;
      font-size: 16px;
    }

    .step p {
      max-width: 142px;
      margin: 0 auto;
      color: rgba(255,255,255,0.88);
      font-size: 12px;
      line-height: 1.6;
    }

    .reasons {
      padding: 26px 0 14px;
      background: #fff;
    }

    .reason-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      margin-top: 24px;
    }

    .reason {
      padding: 0 26px;
      text-align: center;
      border-right: 1px solid #d7dbe1;
    }

    .reason:last-child {
      border-right: 0;
    }

    .reason-icon {
      height: 58px;
      color: var(--gold);
      font-size: 50px;
      line-height: 1;
    }

    .reason h3 {
      margin: 0 0 8px;
      color: var(--navy);
      font-size: 17px;
      line-height: 1.16;
    }

    .reason p {
      margin: 0;
      color: #283246;
      font-size: 14px;
      line-height: 1.68;
    }

    .founder {
      position: relative;
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 48px;
      align-items: center;
      padding-top: 24px;
      padding-bottom: 28px;
      background: #fff;
    }

    .portrait {
      position: relative;
      min-height: 340px;
      overflow: hidden;
      border-radius: 12px;
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(120deg, #f8f4ee 0%, #fff 60%);
      box-shadow: 0 18px 40px rgba(7,22,47,0.08);
    }

    .portrait::before {
      content: "";
      position: absolute;
      left: 10px;
      bottom: 12px;
      width: 98px;
      height: 128px;
      border-radius: 24% 24% 8% 8%;
      background: radial-gradient(circle at 52% 30%, rgba(243,196,157,0.9) 0 27%, transparent 28%);
      opacity: 0.9;
      transform: translateX(0);
    }

    .founder h2 {
      margin-bottom: 2px;
    }

    .founder h3 {
      margin: 0 0 10px;
      color: var(--gold);
      font-family: var(--font-sans);
      font-size: 28px;
      font-weight: 500;
    }

    .founder p {
      max-width: 720px;
      margin: 0 0 14px;
      color: #1a2333;
      font-size: 16px;
      line-height: 1.78;
    }

    .watermark {
      position: absolute;
      right: 12px;
      bottom: -8px;
      width: 320px;
      height: 320px;
      opacity: 0.14;
      pointer-events: none;
      background: url("assets/logo.svg") center center / contain no-repeat;
    }

    /* Modal styles */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(7,22,47,0.48);
      display: grid;
      place-items: center;
      z-index: 9999;
    }
    .modal-overlay[hidden] {
      display: none;
    }
    .modal {
      background: var(--surface);
      padding: 28px;
      width: min(720px, calc(100% - 48px));
      border-radius: 12px;
      box-shadow: 0 30px 80px rgba(7,22,47,0.25);
    }
    .modal {
      background: linear-gradient(180deg, rgba(255,255,255,0.98), var(--surface));
      padding: 28px;
      width: min(720px, calc(100% - 48px));
      border-radius: 12px;
      box-shadow: 0 30px 80px rgba(7,22,47,0.25);
      position: relative;
      overflow: hidden;
    }
    .modal h2 { margin: 0 0 8px; font-size: 22px; }
    .modal p.lead { margin: 0 0 16px; color: #56636f; }
    .modal label { display:block; margin: 12px 0 6px; font-weight:700; }
    .modal .field {
      position: relative;
    }
    .modal input[type="text"], .modal input[type="email"], .modal input[type="tel"] {
      width: 100%;
      padding: 14px 14px;
      border: 1px solid var(--line);
      border-radius: 10px;
      font-size: 15px;
      transition: box-shadow .18s ease, border-color .18s ease, transform .12s ease;
      background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.98));
    }
    .modal input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 6px 18px rgba(6,26,54,0.12);
      transform: translateY(-1px);
    }
    .modal .req { color: var(--accent); font-weight:700; }
    .modal .muted { color: #6b7280; font-weight:400; }
    .modal-actions { display:flex; gap:12px; margin-top:18px; }
    .modal-close { position:absolute; right:18px; top:12px; background:transparent; border:none; font-size:22px; cursor:pointer; }
    .modal-cancel { background: transparent; border: 1px solid var(--line); }
    .modal .privacy { margin-top:12px; font-size:13px; color:#6b7280; }

    @media (max-width:700px) {
      .modal { width: calc(100% - 32px); padding: 18px; }
    }

    .cta {
      padding: 18px 0 0;
      color: #fff;
      background:
        radial-gradient(circle at 0% 100%, rgba(235,169,47,0.2), transparent 260px),
        radial-gradient(circle at 100% 100%, rgba(235,169,47,0.2), transparent 260px),
        linear-gradient(105deg, #06162f, #092b54);
    }

    .cta-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      padding-bottom: 17px;
    }

    .cta h2 {
      margin: 0;
      color: #fff;
      font-size: clamp(32px, 4vw, 48px);
    }

    .cta p {
      margin: 0;
      color: rgba(255,255,255,0.92);
      font-size: 19px;
      line-height: 1.6;
    }

    footer {
      padding: 13px 0 16px;
      color: #fff;
      border-top: 1px solid rgba(255,255,255,0.32);
    }

    .footer-inner {
      display: grid;
      grid-template-columns: 1fr 1.5fr 1fr;
      gap: 20px;
      align-items: center;
      font-size: 13px;
    }

    footer .brand {
      min-width: 0;
      gap: 10px;
    }

    footer .logo-mark {
      width: 45px;
      height: 46px;
      transform: scale(0.7);
      transform-origin: left center;
    }

    footer .wordmark strong {
      color: var(--gold-2);
      font-size: 21px;
    }

    /* Mobile / Tablet responsive adjustments */
    @media (max-width: 980px) {
      /* Narrow the main content padding for smaller viewports */
      .wrap {
        width: calc(100% - 56px);
        padding: 0 28px;
      }

      /* Stack hero content and reduce height */
      .hero .wrap {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 56px 28px 64px;
        min-height: auto;
        width: calc(100% - 56px);
      }

      /* Hide decorative hero art on small screens to reduce clutter */
      .hero-art { display: none; }

      /* Collapse navigation into toggle menu */
      .nav {
        display: none;
        position: absolute;
        top: 64px;
        right: 12px;
        background: var(--white);
        box-shadow: 0 12px 32px rgba(7,22,47,0.12);
        padding: 12px;
        border-radius: 10px;
        flex-direction: column;
        gap: 8px;
        z-index: 10001;
      }

      .nav a { padding: 10px 12px; display: block; }

      /* Buttons slightly smaller on tablet */
      .btn { min-height: 48px; padding: 0 18px; font-size: 14px; }

      /* Hamburger button styling */
      .nav-toggle-btn {
        display: inline-flex;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        border-radius: 10px;
        background: rgba(255,255,255,0.98);
        border: 1px solid rgba(7,22,47,0.04);
        box-shadow: 0 6px 18px rgba(7,22,47,0.06);
      }

      .nav-toggle-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--navy);
        border-radius: 2px;
        transition: transform .22s ease, opacity .18s ease;
      }

      .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
      .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) { opacity: 0; }
      .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); }
    }

    @media (max-width: 700px) {
      .wrap { padding: 0 18px; width: calc(100% - 36px); }

      .hero .wrap { padding: 44px 18px 56px; gap: 12px; }

      .hero {
        background-image: none;
        background-color: transparent;
      }

      .hero-art {
        display: none;
      }

      .hero h1 { font-size: clamp(28px, 8vw, 44px); }
      .hero p { font-size: 16px; }

      /* Make modal full-width and allow the overlay to scroll */
      .modal-overlay { align-items: flex-start; padding: 18px 12px; overflow-y: auto; }
      .modal { width: 100%; max-width: 720px; padding: 18px; border-radius: 10px; }

      /* Make the mobile CTA fixed and accessible */
      .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99999; }

      /* Further reduce button sizes on small phones */
      .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
    }

    /* Ensure the nav toggle reveals the nav on small screens (input above label + nav) */
    @media (max-width: 980px) {
      /* Mobile nav becomes a fixed panel */
      .nav {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;
        display: none;
        padding: 18px;
        border-radius: 12px;
        flex-direction: column;
        gap: 8px;
        background: rgba(255,255,255,0.98);
        box-shadow: 0 18px 48px rgba(7,22,47,0.18);
        z-index: 10001;
        transform-origin: top center;
        transition: transform .22s ease, opacity .22s ease;
        opacity: 0;
        transform: translateY(-6px) scale(0.995);
      }

      .nav-toggle:checked + .nav-toggle-btn + .nav { display: flex; opacity: 1; transform: translateY(0) scale(1); }
    }

    /* Small phones: tighten spacings */
    @media (max-width: 420px) {
      .wrap { padding: 0 12px; }
      .hero .wrap { padding: 36px 12px 48px; }
      .topbar { padding: 12px 0; }
      .brand img { max-height: 56px; }
      .nav-toggle-btn { padding: 8px; }
      .nav { top: 64px; left: 8px; right: 8px; }
      .hero h1 { font-size: clamp(22px, 9vw, 36px); }
      .hero p { font-size: 15px; }
    }

    footer .wordmark span {
      color: #fff;
      font-size: 8px;
      letter-spacing: 6px;
    }

    .social {
      display: flex;
      justify-content: flex-end;
      gap: 18px;
    }

    .social a {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border: 2px solid #fff;
      border-radius: 50%;
      font-size: 18px;
      font-weight: 800;
    }

    @media (max-width: 1050px) {
      .wrap {
        width: min(920px, calc(100% - 36px));
      }

      .topbar,
      .hero .wrap,
      .about,
      .founder {
        grid-template-columns: 1fr;
      }
      .topbar {
        align-items: flex-start;
      }

      .nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 18px;
      }

      .hero .wrap {
        gap: 28px;
      }
      /* shift hero background slightly left on medium screens to keep focal point visible */
      .hero { background-position: center right; background-size: 60% auto; }

      .hero-art {
        height: 390px;
      }

      .challenge-grid,
      .service-grid,
      .reason-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .step-row {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 28px;
      }

      .step-row::before {
        display: none;
      }
    }

    @media (max-width: 700px) {
      .topbar {
        padding-top: 24px;
      }

      .brand {
        min-width: 0;
      }

      .logo-mark {
        width: 58px;
        height: 62px;
      }

      .wordmark strong {
        font-size: 30px;
      }

      .wordmark span {
        font-size: 11px;
        letter-spacing: 7px;
      }

      .hero h1 {
        font-size: 42px;
      }

      .hero p {
        font-size: 16px;
      }

      .actions,
      .cta-inner {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        width: 100%;
      }

      .hero-art {
        height: 300px;
        margin-bottom: -60px;
        transform: scale(0.78);
        transform-origin: top center;
      }

      .about {
        gap: 28px;
      }

      .building {
        min-height: 260px;
      }

      .challenge-grid,
      .service-grid,
      .reason-grid,
      .step-row,
      .footer-inner {
        grid-template-columns: 1fr;
      }

      .service-card {
        padding: 24px;
      }

      .reason {
        padding: 20px 10px;
        border-right: 0;
        border-bottom: 1px solid #d7dbe1;
      }

      .reason:last-child {
        border-bottom: 0;
      }

      .footer-inner,
      .social {
        justify-content: start;
        text-align: left;
      }

      .watermark {
        display: none;
      }
    }

    /* Mobile-first tweaks for modern phone layouts */
    @media (max-width: 480px) {
      .wrap {
        width: calc(100% - 40px);
        padding: 0 20px;
      }

      .topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 0;
      }

      .brand img {
        max-height: 62px;
      }

      .nav-toggle-btn {
        display: flex;
        background: var(--white);
        border-radius: 10px;
        padding: 8px;
        box-shadow: 0 6px 18px rgba(7,22,47,0.08);
      }

      .hero .wrap {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px 18px 36px;
        text-align: left;
      }

      .hero {
        background-image: none;
        background-color: transparent;
      }

      .hero-copy {
        order: 1;
      }

      .hero-art {
        order: 2;
        display: none;
        margin: 0;
        transform: none;
      }

      .hero h1 {
        font-size: 34px;
        line-height: 1.06;
      }

      .actions {
        gap: 12px;
        flex-direction: column;
      }

      .btn {
        width: 100%;
        min-height: 56px;
        padding: 12px 18px;
        border-radius: 10px;
        font-size: 16px;
      }

      .challenge-grid,
      .service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .founder {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .portrait {
        min-height: 220px;
        padding: 12px;
      }

      .portrait img {
        max-height: 200px;
        width: auto;
        margin: 0 auto;
      }

      /* Mobile sticky CTA */
      .mobile-cta {
        display: flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 16px;
        z-index: 9999;
        background: linear-gradient(90deg, #dba64d, #bd7b12);
        color: #071a33;
        padding: 12px 18px;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        box-shadow: 0 12px 30px rgba(11,33,60,0.24);
      }

      .mobile-cta a {
        color: inherit;
        font-weight: 800;
        text-decoration: none;
      }
    }

    /* Respect reduced motion user preference */
    @media (prefers-reduced-motion: reduce) {
      [data-animate] { transition: none !important; opacity: 1 !important; transform: none !important; }
      .hero-art img { transition: none !important; }
      .btn, .challenge-card, .service-card { transition: none !important; }
    }

    /* Subtle entrance animations */
    :root {
      --anim-ease: cubic-bezier(.2,.9,.2,1);
    }

    [data-animate] {
      opacity: 0;
      transform: translateY(16px) scale(0.995);
      transition: opacity 640ms var(--anim-ease), transform 640ms var(--anim-ease);
      will-change: transform, opacity;
    }

    .in-view {
      opacity: 1 !important;
      transform: none !important;
    }

    /* Hero image subtle scale */
    .hero-art img {
      transform: translateY(8px) scale(1.02);
      transition: transform 900ms var(--anim-ease);
    }

    .in-view.hero-art img,
    .hero-art.in-view img {
      transform: translateY(0) scale(1);
    }

    /* Buttons and cards hover/active transitions */
    .btn {
      transition: transform 180ms var(--anim-ease), box-shadow 180ms var(--anim-ease), opacity 180ms var(--anim-ease);
    }

    .btn:hover,
    .btn:focus {
      transform: translateY(-4px);
    }

    .challenge-card,
    .service-card {
      transition: transform 280ms var(--anim-ease), box-shadow 280ms var(--anim-ease);
    }

    .challenge-card:hover,
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 28px 48px rgba(7,22,47,0.08);
    }

    /* small stagger for lists */
    .challenge-grid [data-animate],
    .service-grid [data-animate] {
      transition-delay: 120ms;
    }

    /* Hover / focus zoom effects for images and cards */
    .hero-art img {
      width: auto;
      max-width: 520px;
      height: auto;
      object-fit: contain;
      object-position: center right;
      display: block;
      background: none;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
    }
    .hero-art img:hover,
    .hero-art img:focus,
    .hero-art.in-view img:hover,
    .building img:hover,
    .building img:focus,
    .portrait img:hover,
    .portrait img:focus {
      transform: scale(1.04);
    }

    /* Slight zoom on icons within cards */
    .challenge-card .challenge-icon,
    .service-card .service-icon,
    .framework .step .step-icon {
      transition: transform 300ms var(--anim-ease);
      transform-origin: center center;
    }

    .challenge-card:hover .challenge-icon,
    .service-card:hover .service-icon,
    .framework .step:hover .step-icon {
      transform: scale(1.08);
    }

    /* Ensure hover also works with keyboard focus */
    .challenge-card:focus,
    .service-card:focus,
    .btn:focus {
      transform: translateY(-6px);
      outline: none;
    }
.btn-spinner{
    width:16px;
    height:16px;
    border:2px solid rgba(255,255,255,.4);
    border-top:2px solid #fff;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

.submit-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.submit-btn:disabled{
    opacity:.7;
    cursor:not-allowed;
}
#form-message{
    margin-top:12px;
    padding:10px 14px;
    border-radius:6px;
    display:none;
    font-size:14px;
}

#form-message.success{
    background:#e8f7ed;
    color:#1e7e34;
    border:1px solid #c3e6cb;
    display:block;
}

#form-message.error{
    background:#fdeaea;
    color:#c62828;
    border:1px solid #f5c6cb;
    display:block;
}
