  @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

  :root{
    --navy: #143E6F;
    --navy-deep: #0D2B4E;
    --brown: #895430;
    --cream: #F7F5F1;
    --ink: #1B2733;
    --slate: #5B6672;
    --line: #E3DFD6;
  }

  *{ box-sizing: border-box; margin:0; padding:0; }

  body{
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  h1, .logotype{ font-family: 'Space Grotesk', sans-serif; }

  a{ color: inherit; text-decoration: none; }

  .wrap{
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
  }

  /* ---------- header ---------- */
  header{
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .header-frag{
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 8px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding-left: 0;
    pointer-events: none;
  }
  .header-frag span{ display: block; transform: skewX(-12deg); }
  .header-frag span:nth-child(1){ width: 16px; height: 4px; background: var(--navy); }
  .header-frag span:nth-child(2){ width: 8px;  height: 6px; background: var(--brown); }
  .header-frag span:nth-child(3){ width: 20px; height: 3px; background: var(--navy); opacity: .8; }
  .header-frag span:nth-child(4){ width: 6px;  height: 8px; background: var(--brown); opacity: .6; }
  .header-frag span:nth-child(5){ width: 12px; height: 4px; background: var(--navy); opacity: .45; }
  .header-frag span:nth-child(6){ width: 5px;  height: 5px; background: var(--brown); opacity: .3; }
  .header-frag span:nth-child(7){ width: 9px;  height: 3px; background: var(--navy); opacity: .2; }

  .menu{
    position: relative;
  }
  .menu summary{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--navy-deep);
    cursor: pointer;
    user-select: none;
  }
  .menu summary::-webkit-details-marker{ display: none; }
  .menu > summary .chev{
    width: 8px; height: 8px;
    border-right: 2px solid var(--navy-deep);
    border-bottom: 2px solid var(--navy-deep);
    transform: rotate(45deg) skewX(-6deg);
    transition: transform .18s ease;
    margin-top: -3px;
  }
  .menu[open] > summary .chev{ transform: rotate(225deg) skewX(-6deg); margin-top: 3px; }

  .menu-panel{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(13,43,78,0.12);
    padding: 8px;
    z-index: 30;
  }
  .menu-panel a{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
  }
  .menu-panel a:hover{ background: var(--cream); color: var(--navy-deep); }
  .menu-panel a .tag{
    width: 7px; height: 7px;
    background: var(--brown);
    transform: skewX(-12deg);
    flex: none;
  }
  .menu-panel a:nth-child(2) .tag{ background: var(--navy); }
  .menu-panel a:nth-child(3) .tag{ background: var(--navy); opacity: .55; }

  .submenu > summary{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }
  .submenu > summary::-webkit-details-marker{ display: none; }
  .submenu > summary:hover{ background: var(--cream); color: var(--navy-deep); }
  .submenu > summary .tag{
    width: 7px; height: 7px;
    background: var(--brown);
    transform: skewX(-12deg);
    flex: none;
  }
  .submenu > summary .sub-chev{
    width: 6px; height: 6px;
    border-right: 2px solid var(--slate);
    border-bottom: 2px solid var(--slate);
    transform: rotate(45deg) skewX(-6deg);
    transition: transform .18s ease;
    margin-left: auto;
  }
  .submenu[open] > summary .sub-chev{ transform: rotate(225deg) skewX(-6deg); }
  .submenu-panel{
    margin: 2px 0 4px 20px;
    padding-left: 12px;
    border-left: 2px solid var(--line);
  }
  .submenu-panel a{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
  }
  .submenu-panel a:hover{ background: var(--cream); color: var(--navy-deep); }
  .submenu-panel a .tag{
    width: 6px; height: 6px;
    background: var(--navy);
    opacity: .6;
    transform: skewX(-12deg);
    flex: none;
  }

  .menu-row{
    display: flex;
    align-items: center;
    gap: 6px;
  }

  header .wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
  }
  header img{ height: 32px; width: auto; display: block; }
  .logo-link{ display: block; line-height: 0; }

  .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 3px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-primary{
    background: var(--navy);
    color: #fff;
  }
  .btn-primary:hover{
    background: var(--navy-deep);
    box-shadow: 0 6px 16px rgba(20,62,111,0.25);
    transform: translateY(-1px);
  }
  .btn-ghost{
    color: var(--navy-deep);
    border: 1px solid var(--line);
    background: transparent;
    padding: 12px 26px;
  }
  .btn-ghost:hover{ border-color: var(--navy); }

  /* ---------- hero ---------- */
  .hero{
    flex: 1;
    display: flex;
    align-items: center;
    padding: 24px 0 40px;
  }
  .hero .wrap{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: center;
  }

  .hero .eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 22px;
  }
  .hero .eyebrow .sq{ width: 9px; height: 9px; background: var(--brown); display:inline-block; }

  .hero h1{
    font-size: clamp(36px, 4.6vw, 54px);
    font-weight: 700;
    color: var(--navy-deep);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }
  .hero h1 em{ font-style: normal; color: var(--brown); }

  .hero p.lead{
    margin-top: 22px;
    max-width: 460px;
    font-size: 17.5px;
    color: var(--slate);
  }
  .hero .cta-row{
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  /* ---------- fragment graphic ---------- */
  .frag-stage{
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    justify-self: end;
  }
  .frag-stage svg{ width: 100%; height: 100%; overflow: visible; }

  .frag-stage rect{
    transform-box: fill-box;
    transform-origin: center;
    animation: settle 0.7s cubic-bezier(.2,.7,.3,1) both;
  }

  @keyframes settle{
    from{ opacity: 0; transform: scale(.4) translate(14px, 14px); }
    to{ opacity: var(--target-opacity, 1); transform: scale(1) translate(0,0); }
  }

  @media (prefers-reduced-motion: reduce){
    .frag-stage rect{ animation: none; opacity: var(--target-opacity, 1); }
  }

  /* ---------- footer ---------- */
  footer{
    border-top: 1px solid var(--line);
    padding: 26px 0;
  }
  footer .wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
  }
  footer .footer-logo{ height: 20px; width: auto; display: block; opacity: .85; }
  footer .frag-row{
    display: flex;
    gap: 5px;
  }
  footer .frag-row span{ width: 8px; height: 8px; display: block; transform: skewX(-12deg); }
  footer .frag-row span:nth-child(1){ background: var(--navy); }
  footer .frag-row span:nth-child(2){ background: var(--brown); }
  footer .frag-row span:nth-child(3){ background: var(--navy); opacity: .5; }
  footer .frag-row span:nth-child(4){ background: var(--brown); opacity: .4; }

  footer p{ font-size: 13px; color: var(--slate); }
  footer a.email{ font-size: 13.5px; font-weight: 500; color: var(--navy-deep); }
  footer a.email:hover{ color: var(--brown); }

  @media (max-width: 780px){
    .hero .wrap{ grid-template-columns: 1fr; }
    .frag-stage{ justify-self: center; max-width: 320px; order: -1; margin-bottom: 8px; }
    footer .wrap{ flex-direction: column; align-items: flex-start; }
  }

  @media (max-width: 480px){
    header .wrap{
      flex-wrap: wrap;
      height: auto;
      padding-block: 14px;
      row-gap: 10px;
    }
    header img{ height: 26px; }
    .menu-row{ width: 100%; justify-content: space-between; }
    .menu-panel{ left: 0; right: auto; }
  }

  /* Reduce ad density on small screens: keep top + bottom leaderboards,
     drop the interstitial/sidebar ad slots that interrupt the content flow. */
  @media (max-width: 640px){
    #ad-mid, #ad-inline, #ad-incontent, #ad-side{ display: none; }
  }

  /* ---------- mobile sticky results summary ---------- */
  .sticky-summary{
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 12px 18px;
    box-shadow: 0 -8px 24px rgba(13,43,78,0.14);
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  .sticky-summary .label{
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--slate);
  }
  .sticky-summary .value{
    font-size: 19px;
    font-weight: 700;
    color: var(--navy-deep);
  }
  .sticky-summary .value-stack{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
  }
  .sticky-summary .value-sub{
    font-size: 11.5px;
    font-weight: 600;
    color: var(--slate);
  }
  @media (max-width: 640px){
    .sticky-summary.show{ display: flex; }
    body.sticky-active{ padding-bottom: 62px; }
  }



