:root{
    --navy-deep:#0A1830;
    --navy:#0F2A4E;
    --navy-mid:#1B4A7C;
    --gold:#D4A73D;
    --gold-light:#F0C864;
    --gold-dim:#B98F2E;
    --ivory:#FBF8F1;
    --paper:#F4EFE3;
    --ink:#1C1A15;
    --ink-soft:#5C5748;
    --slate:#9DAAC0;
    --line-on-navy: rgba(212,167,61,0.25);
    --line-on-paper: rgba(28,26,21,0.10);
  }
  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    font-family:'Public Sans', sans-serif;
    background:var(--paper);
    color:var(--ink);
    -webkit-font-smoothing:antialiased;
  }
  img{ max-width:100%; display:block; }
  a{ text-decoration:none; color:inherit; }
  .wrap{ max-width:1120px; margin:0 auto; padding:0 40px; }
  h1,h2,h3{ font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em; }
  .eyebrow{
    font-family:'Public Sans'; font-weight:700; font-size:15.5px; letter-spacing:3px;
    text-transform:uppercase;
  }
  ::selection{ background:var(--gold); color:var(--navy-deep); }

  /* focus visibility */
  a:focus-visible, button:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }

  @media (prefers-reduced-motion: reduce){
    *{ animation:none !important; transition:none !important; }
  }

  /* ================= NAV ================= */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(10,24,48,0.82);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-on-navy);
  }
  nav.wrap{ display:flex; align-items:center; justify-content:space-between; height:80px; }
  .brand{ display:flex; align-items:center; gap:0; }
  .brand .plate{
    width:92px; height:92px; display:flex; align-items:center; justify-content:center;
    flex-shrink:0; overflow:hidden;
  }
  .brand .plate img{ width:100%; height:100%; object-fit:contain; transform:scale(1.55); }
  .brand .wordmark{ color:var(--ivory); font-family:'Public Sans'; font-weight:700; font-size:15px; letter-spacing:2px; margin-left:-10px; }
  .navlinks{ display:flex; align-items:center; gap:34px; }
  .navlinks a{ color:var(--slate); font-size:15.5px; font-weight:600; transition:color 0.2s; }
  .navlinks a:hover{ color:var(--gold-light); }
  .nav-cta{
    background:var(--gold); color:var(--navy-deep); font-weight:700; font-size:13px;
    padding:10px 20px; border-radius:30px; transition:transform 0.2s, box-shadow 0.2s;
    border:none; cursor:pointer; font-family:'Public Sans';
  }
  .nav-cta:hover{ transform:translateY(-1px); box-shadow:0 8px 18px rgba(212,167,61,0.35); }
  .navlinks-mobile-hide{ display:flex; }
  @media (max-width:760px){ .navlinks-mobile-hide{ display:none; } }

  /* ================= HERO ================= */
  .hero{
    position:relative;
    background:
      radial-gradient(ellipse 900px 500px at 75% -10%, rgba(212,167,61,0.16), transparent 60%),
      radial-gradient(ellipse 700px 500px at 10% 110%, rgba(27,74,124,0.35), transparent 60%),
      linear-gradient(160deg, var(--navy-deep) 0%, #081324 100%);
    color:var(--ivory);
    padding:96px 0 0;
    overflow:hidden;
  }
  .hero::before{
    content:''; position:absolute; inset:-220px; opacity:0.06; pointer-events:none;
    background-image:
      radial-gradient(circle at 20% 20%, #fff 0, transparent 1.4px),
      radial-gradient(circle at 60% 55%, #fff 0, transparent 1.4px),
      radial-gradient(circle at 85% 25%, #fff 0, transparent 1.4px),
      radial-gradient(circle at 40% 85%, #fff 0, transparent 1.4px);
    background-size: 220px 220px;
    animation: driftDots 60s linear infinite;
  }
  .hero::after{
    content:''; position:absolute; width:640px; height:640px; border-radius:50%;
    background:radial-gradient(circle, rgba(212,167,61,0.20), transparent 68%);
    top:-260px; right:-180px; pointer-events:none;
    animation: floatGlow 14s ease-in-out infinite;
  }
  @keyframes driftDots{
    from{ background-position:0 0, 0 0, 0 0, 0 0; }
    to{ background-position:220px 220px, 220px 220px, 220px 220px, 220px 220px; }
  }
  @keyframes floatGlow{
    0%, 100%{ transform:translate(0,0) scale(1); opacity:1; }
    50%{ transform:translate(-60px, 70px) scale(1.18); opacity:0.75; }
  }
  .hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center; }
  @media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }
  .hero-eyebrow{ color:var(--gold-light); margin-bottom:22px; opacity:0; animation:riseIn 0.7s ease-out 0.1s forwards; }
  .hero h1{ font-size:52px; line-height:1.08; color:var(--ivory); opacity:0; animation:riseIn 0.7s ease-out 0.25s forwards; }
  .hero h1 em{ font-style:italic; color:var(--gold); font-weight:500; }
  .hero .sub{
    margin-top:22px; font-size:17px; line-height:1.65; color:var(--slate); max-width:480px;
    opacity:0; animation:riseIn 0.7s ease-out 0.4s forwards;
  }
  .hero-ctas{ margin-top:34px; display:flex; gap:16px; flex-wrap:wrap; opacity:0; animation:riseIn 0.7s ease-out 0.55s forwards; }
  .btn-primary{
    background:var(--gold); color:var(--navy-deep); font-weight:700; font-size:14.5px;
    padding:15px 28px; border-radius:32px; transition:transform 0.2s, box-shadow 0.2s; display:inline-block;
    border:none; cursor:pointer; font-family:'Public Sans';
  }
  .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(212,167,61,0.4); }
  .btn-ghost{
    border:1px solid rgba(251,248,241,0.3); color:var(--ivory); font-weight:600; font-size:14.5px;
    padding:14px 26px; border-radius:32px; transition:border-color 0.2s, background 0.2s;
    background:transparent; cursor:pointer; font-family:'Public Sans';
  }
  .btn-ghost:hover{ border-color:var(--gold); background:rgba(212,167,61,0.08); }

  .hero-logo-plate{
    position:relative; z-index:1; display:flex; align-items:center; justify-content:center;
    padding:36px;
    opacity:0; animation:riseIn 0.9s ease-out 0.35s forwards;
  }
  .hero-logo-plate::before{
    content:''; position:absolute; inset:0; z-index:-1; border-radius:32px;
    background:
      radial-gradient(ellipse at center, rgba(212,167,61,0.22), transparent 70%);
    box-shadow: inset 0 0 0 1px rgba(212,167,61,0.28);
    filter:blur(0.5px);
  }
  .hero-logo-plate::after{
    content:''; position:absolute; width:340px; height:340px; border-radius:50%; z-index:-2;
    background:radial-gradient(circle, rgba(212,167,61,0.35), transparent 70%);
    animation: floatGlow 14s ease-in-out infinite;
  }
  .hero-logo-plate img{ width:100%; max-width:540px; display:block; filter:drop-shadow(0 0 46px rgba(212,167,61,0.45)) drop-shadow(0 20px 40px rgba(0,0,0,0.45)); }

  @keyframes riseIn{ from{ opacity:0; transform:translateY(16px);} to{ opacity:1; transform:translateY(0);} }

  /* ================= STATS STRIP ================= */
  .stats{
    position:relative;
    background:
      radial-gradient(ellipse 900px 500px at 75% -10%, rgba(212,167,61,0.16), transparent 60%),
      radial-gradient(ellipse 700px 500px at 10% 110%, rgba(27,74,124,0.35), transparent 60%),
      linear-gradient(160deg, var(--navy-deep) 0%, #081324 100%);
    padding:30px 0 46px;
  }
  .stats-row{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; }
  .stat{ flex:1; min-width:140px; text-align:center; }
  .stat .n{ font-family:'Fraunces'; font-weight:600; font-size:30px; color:var(--gold-light); }
  .stat .l{ font-size:11.5px; color:var(--slate); margin-top:6px; letter-spacing:0.3px; line-height:1.4; }

  /* ================= SECTION SHELL (paper) ================= */
  section{ padding:60px 0; }
  .section-head{ max-width:640px; margin-bottom:56px; }
  .section-head .eyebrow{ color:var(--navy-mid); margin-bottom:14px; }
  .section-head h2{ font-size:36px; color:var(--navy-deep); line-height:1.2; }
  .section-head p{ margin-top:16px; font-size:15px; color:var(--ink-soft); line-height:1.7; }

  /* ================= NO-MASTER CALLOUT ================= */
  .callout{
    display:flex; align-items:center; gap:20px; background:var(--navy-deep); color:var(--ivory);
    border-radius:18px; padding:26px 30px; margin-bottom:60px;
  }
  .callout .badge{
    flex-shrink:0; background:var(--gold); color:var(--navy-deep); font-weight:800; font-size:11px;
    letter-spacing:1px; padding:12px 16px; border-radius:10px; text-align:center; line-height:1.3;
  }
  .callout p{ font-size:14px; color:var(--slate); line-height:1.6; }
  .callout strong{ color:var(--ivory); }

  /* ================= FEATURE GRID ================= */
  .feature-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:26px; }
  @media (max-width:760px){ .feature-grid{ grid-template-columns:1fr; } }
  .fcard{
    background:linear-gradient(160deg, #FFFFFF 0%, #FBF3E1 100%);
    border:1px solid rgba(212,167,61,0.22); border-radius:18px; padding:30px 28px;
    transition:transform 0.25s ease, box-shadow 0.25s ease;
  }
  .fcard:hover{ transform:translateY(-4px); box-shadow:0 20px 40px rgba(15,42,78,0.14); border-color:rgba(212,167,61,0.4); }
  .fcard .icon{
    width:52px; height:52px; border-radius:13px; display:flex; align-items:center; justify-content:center;
    margin-bottom:18px; background:linear-gradient(135deg, var(--navy), var(--navy-deep));
  }
  .fcard .icon svg{ width:26px; height:26px; stroke:var(--gold-light); fill:none; }
  .fcard h3{ font-size:19px; color:var(--navy-deep); margin-bottom:10px; }
  .fcard ul{ list-style:none; }
  .fcard li{ font-size:13px; color:var(--ink-soft); line-height:1.6; margin-bottom:9px; padding-left:16px; position:relative; }
  .fcard li::before{ content:''; position:absolute; left:0; top:6px; width:6px; height:6px; border-radius:50%; background:var(--gold); }
  .fcard li b{ color:var(--navy-deep); font-weight:600; }

  /* ================= SECTOR TABS ================= */
  .sector-shell{ display:grid; grid-template-columns:280px 1fr; gap:0; border-radius:20px; overflow:hidden; box-shadow:0 20px 50px rgba(15,42,78,0.10); }
  @media (max-width:760px){ .sector-shell{ grid-template-columns:1fr; } }
  .sector-tabs{ background:var(--navy-deep); padding:10px; display:flex; flex-direction:column; gap:4px; }
  .sector-tab{
    text-align:left; background:transparent; border:none; color:var(--slate); font-family:'Public Sans';
    font-size:13.5px; font-weight:600; padding:18px 20px; border-radius:12px; cursor:pointer;
    display:flex; flex-direction:column; gap:4px; transition:background 0.2s, color 0.2s;
  }
  .sector-tab .tg{ font-size:10px; letter-spacing:1.5px; font-weight:700; color:var(--gold-dim); text-transform:uppercase; }
  .sector-tab.active{ background:rgba(212,167,61,0.14); color:var(--ivory); }
  .sector-tab.active .tg{ color:var(--gold-light); }
  .sector-tab:hover{ color:var(--ivory); }
  .sector-panels{ background:#fff; position:relative; }
  .sector-panel{ display:none; padding:40px 44px; }
  .sector-panel.active{ display:block; animation:fadeIn 0.35s ease; }
  @keyframes fadeIn{ from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:translateY(0);} }
  .sector-panel h3{ font-size:22px; color:var(--navy-deep); margin-bottom:18px; }
  .sector-cols{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
  @media (max-width:600px){ .sector-cols{ grid-template-columns:1fr; } }
  .sector-cols .lbl{ font-size:10.5px; font-weight:700; letter-spacing:1.5px; color:var(--navy-mid); text-transform:uppercase; margin-bottom:8px; }
  .sector-cols p{ font-size:13.5px; color:var(--ink-soft); line-height:1.7; }

  /* ================= FORMULA ================= */
  .formula-section{
    background:linear-gradient(160deg, var(--navy-deep), #081324);
    color:var(--ivory); border-radius:24px; padding:52px 56px; position:relative; overflow:hidden;
  }
  .formula-section::after{
    content:''; position:absolute; right:-80px; top:-80px; width:280px; height:280px; border-radius:50%;
    border:1px solid rgba(212,167,61,0.25);
  }
  .formula-section .eyebrow{ color:var(--gold-light); }
  .formula-section p.lede{ margin-top:14px; color:var(--slate); font-size:14px; max-width:560px; line-height:1.7; }
  .formula-eq{
    margin-top:26px; font-family:'Fraunces'; font-size:21px; font-weight:500; line-height:1.9;
    background:rgba(255,255,255,0.05); border:1px solid rgba(212,167,61,0.3); border-radius:14px;
    padding:26px 30px; max-width:640px;
  }
  .formula-eq .k{ color:var(--gold-light); }
  .formula-eq .op{ color:var(--slate); }
  .formula-note{ margin-top:18px; font-size:12.5px; color:var(--slate); max-width:560px; line-height:1.7; }

  /* ================= AUDIENCE ================= */
  .audience-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  @media (max-width:760px){ .audience-row{ grid-template-columns:1fr; } }
  .acard{
    text-align:center;
    background:linear-gradient(160deg, #FFFFFF 0%, #FBF3E1 100%);
    border:1px solid rgba(212,167,61,0.22); border-radius:18px; padding:32px 20px;
    transition:transform 0.25s ease, box-shadow 0.25s ease;
  }
  .acard:hover{ transform:translateY(-4px); box-shadow:0 20px 40px rgba(15,42,78,0.14); border-color:rgba(212,167,61,0.4); }
  .acard .icon{ width:56px; height:56px; margin:0 auto 16px; border-radius:50%; background:var(--paper); display:flex; align-items:center; justify-content:center; }
  .acard .icon svg{ width:26px; height:26px; stroke:var(--navy-mid); fill:none; }
  .acard h3{ font-size:16px; color:var(--navy-deep); margin-bottom:8px; }
  .acard p{ font-size:12.5px; color:var(--ink-soft); line-height:1.6; }

  /* ================= FINAL CTA ================= */
  .final-cta{
    background:linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 130%);
    color:var(--ivory); border-radius:24px; padding:56px 56px; text-align:center; position:relative; overflow:hidden;
  }
  .final-cta img.plate{ width:180px; margin:0 auto 0px; object-fit:contain; }
  .final-cta h2{ color:var(--ivory); font-size:34px; max-width:560px; margin:0 auto; line-height:1.25; }
  .final-cta p{ margin-top:16px; color:var(--slate); font-size:14.5px; max-width:480px; margin-left:auto; margin-right:auto; line-height:1.6; }
  .final-cta .hero-ctas{ justify-content:center; margin-top:30px; opacity:1; animation:none; }

  /* ================= FOOTER ================= */
  footer{ background:var(--navy-deep); color:var(--slate); padding:50px 0 40px; }
  .footer-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; border-bottom:1px solid var(--line-on-navy); padding-bottom:28px; margin-bottom:22px; }
  .footer-brand{ display:flex; align-items:center; gap:0; }
  .footer-brand .plate{ width:120px; height:120px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
  .footer-brand .plate img{ width:100%; height:100%; object-fit:contain; transform:scale(2); }
  .footer-brand span{ color:var(--ivory); font-weight:700; font-size:20px; letter-spacing:1.5px; margin-left:-14px; }
  .footer-contact{ display:flex; gap:36px; flex-wrap:wrap; }
  .footer-contact .lbl{ font-size:9.5px; letter-spacing:1.5px; color:var(--gold-dim); font-weight:700; text-transform:uppercase; }
  .footer-contact .val{ font-family:'Fraunces'; font-size:14px; color:var(--ivory); margin-top:5px; }
  .footer-note{ font-size:11px; text-align:center; color:#5C6A80; letter-spacing:0.3px; }
  .footer-contact button.val{ background:none; border:none; cursor:pointer; padding:0; font-family:'Fraunces'; font-size:14px; color:var(--ivory); text-align:left; }
  .footer-contact button.val:hover{ color:var(--gold-light); }

  /* ================= MODAL ================= */
  .modal-overlay{
    position:fixed; inset:0; z-index:200; background:rgba(8,15,30,0.72);
    backdrop-filter:blur(4px);
    display:flex; align-items:center; justify-content:center; padding:24px;
    opacity:0; pointer-events:none; transition:opacity 0.25s ease;
  }
  .modal-overlay.open{ opacity:1; pointer-events:auto; }
  .modal-card{
    background:var(--ivory); border-radius:20px; max-width:460px; width:100%;
    max-height:88vh; overflow-y:auto;
    box-shadow:0 40px 90px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(212,167,61,0.25);
    padding:38px 36px 32px;
    transform:translateY(18px) scale(0.98); transition:transform 0.28s ease;
    position:relative;
  }
  .modal-overlay.open .modal-card{ transform:translateY(0) scale(1); }
  .modal-card.wide{ max-width:640px; }
  .modal-close{
    position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:50%;
    background:var(--paper); border:1px solid var(--line-on-paper); color:var(--ink-soft);
    font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background 0.2s, color 0.2s;
  }
  .modal-close:hover{ background:var(--navy-deep); color:var(--gold-light); }
  .modal-eyebrow{ color:var(--navy-mid); margin-bottom:10px; }
  .modal-card h2{ font-size:24px; color:var(--navy-deep); line-height:1.25; margin-bottom:8px; }
  .modal-card p.modal-sub{ font-size:13.5px; color:var(--ink-soft); line-height:1.6; margin-bottom:22px; }

  .form-row{ margin-bottom:16px; }
  .form-row label{ display:block; font-size:11.5px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:var(--navy-mid); margin-bottom:7px; }
  .form-row input, .form-row textarea, .form-row select{
    width:100%; font-family:'Public Sans'; font-size:14px; color:var(--ink);
    background:#fff; border:1px solid var(--line-on-paper); border-radius:10px;
    padding:12px 14px; transition:border-color 0.2s, box-shadow 0.2s;
  }
  .form-row input:focus, .form-row textarea:focus, .form-row select:focus{
    outline:none; border-color:var(--gold-dim); box-shadow:0 0 0 3px rgba(212,167,61,0.18);
  }
  .form-row textarea{ resize:vertical; min-height:90px; }
  .form-row .err{ font-size:11.5px; color:#B4432F; margin-top:6px; display:none; }
  .form-row.invalid input, .form-row.invalid textarea{ border-color:#B4432F; }
  .form-row.invalid .err{ display:block; }

  .modal-submit{
    width:100%; margin-top:8px; background:var(--gold); color:var(--navy-deep); font-weight:700;
    font-size:14.5px; padding:14px 20px; border-radius:32px; border:none; cursor:pointer;
    transition:transform 0.2s, box-shadow 0.2s; font-family:'Public Sans';
  }
  .modal-submit:hover{ transform:translateY(-1px); box-shadow:0 10px 22px rgba(212,167,61,0.35); }
  .modal-submit:disabled{ opacity:0.6; cursor:not-allowed; transform:none; box-shadow:none; }

  .modal-success{ text-align:center; padding:10px 0 4px; }
  .modal-success .tick{
    width:56px; height:56px; border-radius:50%; background:rgba(212,167,61,0.15); color:var(--gold-dim);
    display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-size:26px;
  }
  .modal-success h3{ font-size:19px; color:var(--navy-deep); margin-bottom:8px; }
  .modal-success p{ font-size:13.5px; color:var(--ink-soft); line-height:1.6; }

  /* Calendly modal specifics */
  .calendly-embed{
    width:100%; height:640px; border:1px solid var(--line-on-paper); border-radius:14px; overflow:hidden; background:#fff;
  }
  .calendly-embed iframe{ width:100%; height:100%; border:none; }
  .calendly-fallback{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
    padding:50px 20px; text-align:center; background:#fff; border:1px dashed var(--line-on-paper); border-radius:14px;
  }
  .calendly-fallback p{ font-size:13.5px; color:var(--ink-soft); max-width:380px; line-height:1.6; }
  .calendly-link-btn{
    background:var(--navy-deep); color:var(--ivory); font-weight:700; font-size:13.5px;
    padding:12px 24px; border-radius:30px; border:none; cursor:pointer; transition:background 0.2s;
  }
  .calendly-link-btn:hover{ background:var(--navy); }

  .modal-tabrow{ display:flex; gap:8px; margin-bottom:24px; background:var(--paper); border-radius:30px; padding:4px; }
  .modal-tabrow button{
    flex:1; border:none; background:transparent; font-family:'Public Sans'; font-weight:700; font-size:12.5px;
    letter-spacing:0.3px; color:var(--ink-soft); padding:10px 12px; border-radius:26px; cursor:pointer; transition:background 0.2s, color 0.2s;
  }
  .modal-tabrow button.active{ background:var(--navy-deep); color:var(--gold-light); }