:root{
    --ink:#050d18;
    --white:#ffffff;
    --white-82:rgba(255,255,255,.82);
    --white-70:rgba(255,255,255,.7);
    --bar:#0a0b0d;
  }
  *{margin:0;padding:0;box-sizing:border-box}
  html,body{height:100%}
  body{
    font-family:'Inter',system-ui,sans-serif;
    background:var(--ink);
    color:var(--white);
    -webkit-font-smoothing:antialiased;
  }

  /* ---------- announcement bar ---------- */
  .announce{
    height:44px;
    background:var(--bar);
    display:flex;align-items:center;justify-content:center;gap:10px;
    font-size:13.5px;color:rgba(255,255,255,.9);
    letter-spacing:.01em;
    position:relative;z-index:5;
  }
  .announce a{
    color:var(--white);font-weight:500;text-decoration:underline;
    text-underline-offset:3px;text-decoration-thickness:1px;
  }

  /* ---------- hero ---------- */
  .hero{
    position:relative;
    height:calc(100vh - 44px);
    min-height:640px;
    overflow:hidden;
  }
  .hero .bg{
    position:absolute;inset:0;
    background-image:url("../assets/shipadvisor-ocean-hero.jpg");
    background-size:cover;
    background-position:42% 50%;
    filter:saturate(.9) brightness(.94);
    transform:scale(1.015);
  }
  body.horizon .hero .bg{
    background-image:url("../assets/source-home/source-home-2.jpg");
    background-position:center 60%;
  }
  .hero .scrim-a{
    position:absolute;inset:0;
    background:linear-gradient(180deg,
      rgba(3,10,20,.94) 0%,
      rgba(5,15,29,.42) 24%,
      rgba(6,17,32,.28) 52%,
      rgba(4,11,21,.56) 78%,
      rgba(3,9,18,.92) 100%);
  }
  .hero .scrim-b{
    position:absolute;inset:0;
    background:
      radial-gradient(115% 85% at 50% 42%, rgba(10,30,56,.06) 0%, rgba(3,10,20,.5) 100%),
      rgba(8,24,46,.22);
  }

  /* ---------- nav ---------- */
  .nav{
    position:relative;z-index:6;
    display:flex;align-items:center;justify-content:space-between;
    padding:22px 48px;
  }
  .nav-brand{
    display:flex;align-items:center;flex:0 0 auto;
    width:166px;height:36px;text-decoration:none;
  }
  .nav-logo{
    display:block;width:100%;height:auto;max-height:36px;object-fit:contain;
  }
  .wordmark{
    font-size:23px;font-weight:500;letter-spacing:-.025em;color:var(--white);
  }
  .nav-links{display:flex;gap:36px;list-style:none}
  .nav-links a{
    color:rgba(255,255,255,.92);text-decoration:none;
    font-size:14.5px;font-weight:450;letter-spacing:.005em;
  }
  .nav-links a:hover{color:var(--white)}
  .nav-right{display:flex;align-items:center;gap:26px}
  .login{color:var(--white);text-decoration:none;font-size:14.5px;font-weight:450}
  .btn{
    display:inline-block;background:var(--white);color:#0d1520;
    font-size:14.5px;font-weight:500;letter-spacing:.005em;
    padding:11px 20px;border-radius:9px;text-decoration:none;
    box-shadow:0 6px 24px rgba(0,6,14,.35);
  }

  /* ---------- hero content ---------- */
  .hero-content{
    position:absolute;inset:0;z-index:4;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;
    padding:0 24px;
    transform:translateY(-30px);
  }
  h1{
    font-family:'Source Serif 4',Georgia,serif;
    font-weight:500;
    font-size:clamp(52px,5.6vw,84px);
    line-height:1.06;
    letter-spacing:-.015em;
    text-shadow:0 2px 50px rgba(0,8,20,.5);
    max-width:1000px;
  }
  .sub{
    margin-top:26px;
    font-size:19.5px;font-weight:400;line-height:1.55;
    color:var(--white-82);
    max-width:540px;
    text-shadow:0 1px 30px rgba(0,8,20,.5);
  }
  .hero-cta{margin-top:38px}
  .hero-cta .btn{padding:14px 26px;font-size:15px}

  /* ---------- logo strip ---------- */
  .logos{
    position:absolute;left:0;right:0;bottom:42px;z-index:4;
    display:flex;align-items:center;justify-content:center;gap:150px;
    padding:0 60px;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%);
  }
  .logos span{white-space:nowrap;color:rgba(255,255,255,.78)}
  .lg-royal{font-family:'Source Serif 4',serif;font-weight:600;font-size:18px;letter-spacing:.13em}
  .lg-carnival{font-weight:800;font-style:italic;font-size:19px;letter-spacing:.05em}
  .lg-msc{font-weight:800;font-size:17.5px;letter-spacing:.22em}
  .lg-norwegian{font-weight:300;font-size:18px;letter-spacing:.32em}
  .lg-disney{font-family:'Source Serif 4',serif;font-weight:600;font-style:italic;font-size:18px;letter-spacing:.12em}

  /* ---------- team pedigree ---------- */
  .team{
    position:relative;
    background-image:url("../assets/source-home/source-home-3.jpg");
    background-size:cover;background-position:center 62%;
    padding:158px 32px 158px;overflow:hidden;
  }
  .team::before{
    content:'';position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(6,10,16,.66),rgba(7,11,17,.4) 45%,rgba(6,10,16,.68));
  }
  .team-inner{position:relative;z-index:2;max-width:980px;margin:0 auto;text-align:center}
  .team-state{
    font-family:'Source Serif 4',Georgia,serif;
    font-size:28px;font-weight:500;line-height:1.52;
    letter-spacing:-.005em;
    color:#fff;text-shadow:0 2px 34px rgba(0,10,25,.55);
  }
  .clia-seal{
    margin-top:48px;display:flex;justify-content:center;
    filter:drop-shadow(0 4px 24px rgba(0,10,25,.45));
  }

  /* ---------- customer stories (light) ---------- */
  .testimonial{
    background:#f6f6f4;
    padding:116px 48px 110px;
  }
  .t-head{
    font-family:'Source Serif 4',Georgia,serif;
    font-size:46px;font-weight:500;line-height:1.2;
    letter-spacing:-.015em;color:#15191f;
    text-align:center;max-width:800px;margin:0 auto;
  }
  .t-cards{
    max-width:1120px;margin:78px auto 0;
  }
  .card{background:#ededeb;border-radius:10px;display:flex;flex-direction:column}
  .card-main{padding:48px 56px 46px;align-items:center;text-align:center}
  .c-logo{
    font-family:'Source Serif 4',serif;font-weight:600;
    font-size:15px;letter-spacing:.15em;color:#96999e;white-space:nowrap;
  }
  .c-logo .grp{font-weight:300;letter-spacing:.3em;margin-left:.45em}
  .card-main blockquote{
    margin:56px auto 0;max-width:980px;
    font-family:'Source Serif 4',Georgia,serif;
    font-size:25px;font-weight:400;line-height:1.52;
    color:#181c22;
  }
  .c-attrib{margin-top:auto;padding-top:66px;text-align:center}
  .c-attrib .who{font-size:15px;font-weight:500;color:#15191f}
  .c-attrib .role{font-size:14.5px;color:#8e9196;margin-top:4px}
  /* ---------- products: why customers choose us ---------- */
  .products{
    position:relative;
    background:#040b16;
    padding:120px 48px 132px;
    overflow:hidden;
  }
  .products::before{
    content:'';position:absolute;inset:0;
    background:
      linear-gradient(rgba(148,180,230,.045) 1px,transparent 1px),
      linear-gradient(90deg,rgba(148,180,230,.045) 1px,transparent 1px);
    background-size:64px 64px;
    -webkit-mask-image:radial-gradient(130% 105% at 50% 0%,#000 42%,transparent 100%);
    mask-image:radial-gradient(130% 105% at 50% 0%,#000 42%,transparent 100%);
  }
  .products::after{
    content:'';position:absolute;left:50%;top:170px;
    width:780px;height:480px;transform:translateX(-50%);
    background:radial-gradient(closest-side,rgba(58,124,255,.15),transparent 72%);
    pointer-events:none;
  }
  .p-head{position:relative;z-index:2;text-align:center}
  .p-eyebrow{font-size:12px;font-weight:600;letter-spacing:.26em;color:#7FA6E8}
  .p-title{
    font-family:'Source Serif 4',Georgia,serif;
    font-size:44px;font-weight:500;letter-spacing:-.015em;
    color:#fff;margin-top:18px;
  }
  .p-diagram{position:relative;z-index:2;max-width:1400px;margin:66px auto 0}
  .hub{display:flex;flex-direction:column;align-items:center}
  .hub-badge{
    width:92px;height:92px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:radial-gradient(circle at 50% 35%,#0d1f38,#081525 72%);
    border:1px solid rgba(140,180,255,.55);
    box-shadow:0 0 0 7px rgba(90,140,255,.07),0 0 36px rgba(70,130,255,.35);
  }
  .hub-name{margin-top:20px;font-size:13.5px;font-weight:600;letter-spacing:.3em;color:#CFE0FF}
  .hub-sub{margin-top:7px;font-size:10.5px;font-weight:500;letter-spacing:.44em;color:rgba(190,210,245,.55)}
  .hub-line{
    width:1px;height:44px;margin-top:18px;
    background:linear-gradient(180deg,rgba(140,178,240,.5),rgba(140,178,240,.26));
  }
  .prod-grid{
    position:relative;
    display:grid;grid-template-columns:repeat(4,1fr);gap:0 1.8%;
    padding-top:42px;
  }
  .prod-grid::before{
    content:'';position:absolute;top:0;height:1px;left:11.8%;right:11.8%;
    background:rgba(140,178,240,.28);
  }
  .prod-grid::after{
    content:'';position:absolute;top:-3.5px;left:calc(50% - 3.5px);
    width:7px;height:7px;border-radius:50%;background:#7FB2FF;
    box-shadow:0 0 12px rgba(110,160,255,.9);
  }
  .prod{position:relative;padding-top:42px}
  .prod::before{
    content:'';position:absolute;top:0;height:42px;width:1px;left:calc(50% - .5px);
    background:linear-gradient(180deg,rgba(140,178,240,.3),rgba(140,178,240,.15));
  }
  .prod .dot{
    position:absolute;top:-3px;left:calc(50% - 3px);
    width:6px;height:6px;border-radius:50%;background:#6FA6F5;
    box-shadow:0 0 10px rgba(100,155,255,.85);
  }
  .p-card{
    height:100%;
    background:linear-gradient(180deg,rgba(13,26,44,.88),rgba(9,19,33,.92));
    border:1px solid rgba(148,180,230,.14);
    border-radius:13px;
    padding:26px 26px 30px;
    transition:border-color .25s ease, transform .25s ease;
  }
  .p-card:hover{border-color:rgba(148,180,230,.32);transform:translateY(-2px)}
  .p-top{display:flex;align-items:center;justify-content:space-between}
  .p-ic{color:#8FB4EF;display:flex}
  .p-num{font-size:11.5px;font-weight:600;letter-spacing:.24em;color:rgba(143,180,239,.75)}
  .p-namewrap{margin-top:24px;min-height:58px}
  .p-name{font-size:19px;font-weight:600;letter-spacing:-.01em;color:#fff;line-height:1.28}
  .p-subname{font-size:13px;color:rgba(190,210,245,.62);margin-top:5px;letter-spacing:.02em}
  .p-desc{margin-top:14px;font-size:14.5px;line-height:1.62;color:rgba(255,255,255,.66)}

  /* ---------- incident management demo ---------- */
  .im-eyebrow{
    position:relative;z-index:2;text-align:center;
    margin-top:96px;font-size:11.5px;font-weight:600;letter-spacing:.26em;color:#7FA6E8;
  }
  .im-widget{
    position:relative;z-index:2;
    max-width:920px;margin:26px auto 0;
    background:#fff;border-radius:18px;overflow:hidden;
    box-shadow:0 0 0 1px rgba(148,180,230,.22),0 34px 90px rgba(0,10,30,.55);
  }
  .im-head{background:#1d2b40;padding:24px 34px}
  .im-head h3{font-size:21px;font-weight:600;color:#fff;letter-spacing:-.005em}
  .im-body{padding:28px 30px 26px}
  .im-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
  .im-stat{border:1px solid #e6e8ee;background:#fbfbfd;border-radius:10px;padding:16px 18px}
  .im-stat .l{font-size:11px;font-weight:600;letter-spacing:.14em;color:#5a6474}
  .im-stat .v{font-size:25px;font-weight:700;color:#151b26;margin-top:6px}
  .im-stat .s{font-size:13px;color:#6b7280;margin-top:4px;line-height:1.35}
  .im-maparea{border:1px solid #e6e8ee;border-radius:12px;margin-top:16px;padding:30px 26px 22px}
  .im-vessel{position:relative;max-width:680px;margin:0 auto;padding:0 34px}
  .im-side{
    position:absolute;top:58%;font-size:9.5px;font-weight:600;letter-spacing:.22em;color:#8a93a3;
  }
  .im-bow-label{left:2px;transform:rotate(-90deg) translateX(50%);transform-origin:left center}
  .im-stern-label{right:2px;transform:rotate(90deg) translateX(-50%);transform-origin:right center}
  .im-bridge-row{display:flex;justify-content:flex-end;padding-right:118px;margin-left:58px}
  .im-hull{display:flex;margin-top:3px}
  .im-bow{width:56px;background:#22334e;clip-path:polygon(100% 0,6% 50%,100% 100%)}
  .im-rows{flex:1;display:flex;flex-direction:column;gap:3px}
  .im-row{display:flex;gap:3px}
  .im-zone{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    color:#fff;font-size:12.5px;font-weight:600;letter-spacing:.01em;
    border-radius:3px;cursor:pointer;text-align:center;
    transition:filter .15s ease;user-select:none;padding:4px 6px;
  }
  .im-zone span{font-size:10.5px;font-weight:500;color:#ffd9a8}
  .im-zone:hover{filter:brightness(1.12)}
  .im-zone.sel{outline:2px solid #f0a53c;outline-offset:-2px;filter:brightness(1.06)}
  .im-zone[data-z="bridge"]{height:32px;width:168px;background:#1d2b40;color:#b9c3d4;font-weight:500;font-size:11.5px}
  .im-zone[data-z="pool"]{height:50px;background:#d96f1f}
  .im-row-mid .im-zone{height:96px}
  .im-row-bot .im-zone{height:42px;font-size:11.5px}
  .im-zone[data-z="ent"]{background:#8f2620}
  .im-zone[data-z="cabins"]{background:#c56a1d}
  .im-zone[data-z="dining"]{background:#b34c1c}
  .im-zone[data-z="medical"]{background:#8a3c1a}
  .im-zone[data-z="crew"]{background:#d9861f}
  .im-zone[data-z="eng"]{background:#1d2b40;color:#b9c3d4;font-weight:500;font-size:11.5px}
  .im-legend{
    display:flex;align-items:center;justify-content:center;gap:18px;
    margin-top:20px;font-size:13.5px;color:#3f4754;
  }
  .im-legend .t{color:#5a6474}
  .im-legend i{width:11px;height:11px;border-radius:50%;display:inline-block;margin-right:7px;vertical-align:-1px}
  .im-panel{border:1px solid #e6e8ee;background:#fbfbfd;border-radius:12px;margin-top:16px;padding:24px 28px}
  .im-panel .l{font-size:11px;font-weight:600;letter-spacing:.16em;color:#7c8494}
  .im-panel .zname{font-size:22px;font-weight:700;color:#151b26;margin-top:8px}
  .im-panel .zcount{font-size:15px;font-weight:600;margin-top:4px}
  .im-panel .zdesc{font-size:15.5px;line-height:1.6;color:#4b5563;margin-top:10px}
  .im-hint{text-align:center;font-size:13.5px;color:#8a93a3;margin-top:18px}

  /* ---------- footer ---------- */
  .foot{background:#050b14;padding:62px 48px 42px}
  .foot-top{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px}
  .foot .wordmark{font-size:21px}
  .foot-offices{font-size:14px;color:rgba(255,255,255,.62);letter-spacing:.05em}
  .foot-rule{max-width:1400px;margin:32px auto;height:1px;background:rgba(255,255,255,.1)}
  .foot-bottom{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:rgba(255,255,255,.45)}
  .foot-links{display:flex;flex-wrap:wrap;gap:4px 26px}
  .foot-links a{color:rgba(255,255,255,.72);text-decoration:none;font-size:13.5px;padding:12px 0}
  .foot-links a:hover{color:#fff}

  @media (max-width:900px){
    .nav-links{display:none}
    .prod-grid{grid-template-columns:1fr;gap:18px 0;padding-top:30px}
    .prod{padding-top:0}
    .prod::before,.prod .dot,.prod-grid::before,.prod-grid::after,.hub-line{display:none}
    .hub{margin-bottom:28px}
    .im-stats{grid-template-columns:1fr 1fr}
    .im-vessel{padding:0 20px}
    .im-bridge-row{padding-right:40px}
    .foot-top,.foot-bottom{flex-direction:column;align-items:flex-start}
    .logos{flex-wrap:wrap;gap:22px;justify-content:center;position:static;padding:28px 24px}
  }
  @media (max-width:640px){
    body{overflow-x:hidden}
    .announce{
      height:auto;min-height:44px;padding:9px 18px;text-align:center;
      font-size:13px;line-height:1.35;
    }
    .announce span{max-width:300px}
    .hero{height:calc(100svh - 44px);min-height:720px}
    .nav{padding:20px 24px;gap:16px}
    .nav-brand{width:148px;height:32px}
    .nav-logo{max-height:32px}
    .wordmark{font-size:22px}
    .nav-right{display:none}
    .hero-content{
      padding:0 28px;
      transform:translateY(-18px);
    }
    h1{
      max-width:300px;
      font-size:clamp(35px,10.5vw,42px);
      line-height:1.04;
    }
    .sub{
      max-width:260px;
      font-size:15.5px;
      line-height:1.48;
    }
    .logos{
      position:absolute;left:0;right:0;bottom:34px;
      flex-direction:column;gap:14px;padding:0 24px;
      -webkit-mask-image:none;mask-image:none;
    }
    .testimonial,.products,.team{padding-left:24px;padding-right:24px}
    .t-head{font-size:34px;line-height:1.16}
    .card-main blockquote{font-size:21px;line-height:1.48}
    .p-title{font-size:42px}
    .im-stats{grid-template-columns:1fr}
    .im-body{padding:22px 18px}
    .im-maparea{padding:24px 12px 18px}
    .im-legend{gap:10px;flex-wrap:wrap}
    .foot{padding-left:24px;padding-right:24px}
    .foot-links{gap:4px 18px}
  }
  @media (prefers-reduced-motion: reduce){
    *{transition:none!important;animation:none!important}
  }

/* Shared homepage/legal navigation stays available on smaller screens. */
.source-mobile-nav { display: none; }
@media (max-width: 1100px) {
  .nav > .nav-links, .nav > .nav-right { display: none; }
  .source-mobile-nav { display: block; }
  .source-mobile-nav summary { cursor: pointer; padding: 12px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; font-size: 14px; }
  .source-mobile-links { position: absolute; top: 100%; left: 24px; right: 24px; display: grid; padding: 12px; background: #071523; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
  .source-mobile-links a { display: block; padding: 14px; color: #fff; text-decoration: none; font-size: 15px; }
  .source-mobile-links a:hover, .source-mobile-links a:focus-visible { background: rgba(255,255,255,.08); }
}
