:root {
      --deep-navy: #111c27;
      --ocean-blue: #5f9fb8;
      --teal: #79b8c7;
      --gold: #b29a73;
      --off-white: #f5efe5;
      --muted: rgba(245,239,229,.76);
      --line: rgba(245,239,229,.14);
      --panel: rgba(17,28,39,.70);
    }

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

    html {
      scroll-behavior: smooth;
      background: var(--deep-navy);
    }

    body {
      min-height: 100vh;
      background: var(--deep-navy);
      color: var(--off-white);
      font-family: "Inter", sans-serif;
      overflow-x: hidden;
    }

    body::selection {
      background: var(--gold);
      color: var(--deep-navy);
    }

    #three-canvas {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      z-index: 0;
      display: block;
      pointer-events: none;
      transform: translateZ(0);
      will-change: transform;
      background: linear-gradient(180deg, #eef3f4 0%, #dfe8ea 100%);
    }

    .screen-shade {
      position: fixed;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      background:
        radial-gradient(circle at 72% 34%, rgba(121,184,199,.10), transparent 28%),
        radial-gradient(circle at 84% 78%, rgba(178,154,115,.08), transparent 24%),
        linear-gradient(90deg, rgba(17,28,39,.80) 0%, rgba(17,28,39,.48) 26%, rgba(17,28,39,.08) 58%, rgba(17,28,39,.36) 100%),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(17,28,39,.02) 48%, rgba(17,28,39,.14));
    }

    .grain {
      position: fixed;
      inset: 0;
      z-index: 3;
      pointer-events: none;
      opacity: .055;
      background-image:
        radial-gradient(circle, rgba(240,244,248,.35) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(178,154,115,.18) 0 1px, transparent 1px);
      background-size: 38px 38px, 63px 63px;
      background-position: 0 0, 13px 21px;
      mix-blend-mode: screen;
    }

    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 78px;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 clamp(20px, 5.2vw, 78px);
      border-bottom: 1px solid transparent;
      transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
    }

    .navbar.scrolled {
      background: rgba(10,22,40,.88);
      backdrop-filter: blur(10px);
      border-bottom-color: rgba(240,244,248,.10);
    }

    .brand {
      display: flex;
      align-items: baseline;
      gap: 10px;
      text-decoration: none;
      color: var(--gold);
      font-family: "Playfair Display", serif;
      font-size: clamp(1.45rem, 2vw, 1.9rem);
      font-weight: 700;
      letter-spacing: .08em;
    }

    .brand span {
      font-family: "Inter", sans-serif;
      color: rgba(240,244,248,.56);
      font-size: .65rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      font-weight: 500;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(18px, 2.7vw, 36px);
    }

    .nav-links a {
      text-decoration: none;
      color: rgba(240,244,248,.76);
      font-size: .77rem;
      letter-spacing: .15em;
      text-transform: uppercase;
      font-weight: 500;
      transition: color .2s ease;
    }

    .nav-links a:hover {
      color: var(--gold);
    }

    .hamburger {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(240,244,248,.16);
      background: rgba(240,244,248,.05);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      z-index: 40;
    }

    .hamburger span {
      width: 18px;
      height: 2px;
      background: var(--off-white);
      transition: transform .25s ease, opacity .25s ease;
    }

    .hamburger.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    #scroll-stage {
      position: relative;
      z-index: 4;
      height: 520vh;
      pointer-events: none;
    }

    .story {
      position: fixed;
      z-index: 10;
      top: 50%;
      left: clamp(20px, 6vw, 92px);
      width: min(620px, calc(100vw - 40px));
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translate3d(0, -42%, 0);
      will-change: opacity, transform;
      transition: opacity .34s ease, transform .44s ease, visibility 0s linear .34s;
    }

    .story.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transition: opacity .34s ease, transform .44s ease, visibility 0s;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
      color: var(--gold);
      font-size: .76rem;
      letter-spacing: .19em;
      text-transform: uppercase;
      font-weight: 500;
    }

    .eyebrow::before {
      content: "";
      display: block;
      width: 46px;
      height: 1px;
      background: var(--gold);
      box-shadow: 0 0 20px rgba(178,154,115,.70);
    }

    .story h1,
    .story h2 {
      font-family: "Playfair Display", serif;
      font-weight: 700;
      letter-spacing: -.045em;
      line-height: .96;
      margin-bottom: 22px;
      text-wrap: balance;
    }

    .story h1 {
      font-size: clamp(3.4rem, 8.8vw, 8.8rem);
    }

    .story h2 {
      font-size: clamp(2.65rem, 6.1vw, 6.2rem);
    }

    .story p {
      max-width: 570px;
      color: var(--muted);
      font-size: clamp(1rem, 1.16vw, 1.13rem);
      line-height: 1.78;
      font-weight: 300;
    }

    .hero-meta {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      width: min(560px, 100%);
      margin-top: 28px;
    }

    .meta-pill {
      padding: 14px 15px;
      border: 1px solid rgba(240,244,248,.12);
      border-radius: 18px;
      background: rgba(10,22,40,.42);
      backdrop-filter: blur(12px);
    }

    .meta-pill strong {
      display: block;
      color: var(--off-white);
      font-family: "Playfair Display", serif;
      font-size: 1.25rem;
      margin-bottom: 4px;
    }

    .meta-pill span {
      color: rgba(240,244,248,.56);
      font-size: .68rem;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 34px;
    }

    .btn {
      pointer-events: auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      padding: 0 24px;
      border-radius: 999px;
      text-decoration: none;
      font-size: .78rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      font-weight: 500;
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
      will-change: transform;
    }

    .btn:hover {
      transform: translateY(-3px);
    }

    .btn-gold {
      color: var(--deep-navy);
      background: var(--gold);
      box-shadow: 0 20px 55px rgba(178,154,115,.25);
    }

    .btn-ghost {
      color: var(--off-white);
      border: 1px solid rgba(240,244,248,.18);
      background: rgba(240,244,248,.06);
      backdrop-filter: blur(12px);
    }

    .card-grid {
      display: grid;
      gap: 13px;
      max-width: 640px;
      margin-top: 28px;
    }

    .info-card {
      padding: 18px 20px;
      border: 1px solid rgba(240,244,248,.12);
      border-radius: 22px;
      background: rgba(10,22,40,.66);
      backdrop-filter: blur(16px);
      box-shadow: 0 28px 80px rgba(0,0,0,.18);
      opacity: 0;
      transform: translate3d(32px, 18px, 0);
      transition: opacity .55s ease, transform .55s ease;
      will-change: opacity, transform;
    }

    .story.active .info-card {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }

    .story.active .info-card:nth-child(2) {
      transition-delay: .10s;
    }

    .story.active .info-card:nth-child(3) {
      transition-delay: .20s;
    }

    .card-title {
      color: var(--gold);
      font-size: .78rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      font-weight: 500;
      margin-bottom: 7px;
    }

    .card-copy {
      color: rgba(240,244,248,.76);
      font-size: .94rem;
      line-height: 1.56;
      font-weight: 300;
    }

    .route-hud {
      position: fixed;
      z-index: 11;
      right: clamp(18px, 5vw, 78px);
      top: 50%;
      width: min(285px, calc(100vw - 36px));
      display: grid;
      gap: 12px;
      transform: translateY(-48%);
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s ease;
      will-change: opacity;
    }

    .route-hud.visible {
      opacity: 1;
    }

    .stat {
      padding: 16px 18px;
      border-radius: 22px;
      border: 1px solid rgba(14,143,174,.22);
      background: rgba(10,22,40,.72);
      backdrop-filter: blur(16px);
      box-shadow: 0 24px 70px rgba(0,0,0,.20);
    }

    .stat b {
      display: block;
      font-family: "Playfair Display", serif;
      color: var(--off-white);
      font-size: 2rem;
      line-height: 1;
      margin-bottom: 6px;
    }

    .stat span {
      color: var(--gold);
      font-size: .67rem;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    #route-svg {
      position: fixed;
      inset: 0;
      z-index: 7;
      width: 100vw;
      height: 100vh;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s ease;
      overflow: visible;
    }

    #route-svg.visible {
      opacity: 1;
    }

    #route-path {
      fill: none;
      stroke: var(--gold);
      stroke-width: 3;
      stroke-linecap: round;
      stroke-linejoin: round;
      filter: drop-shadow(0 0 12px rgba(178,154,115,.6));
    }

    .port-label {
      position: fixed;
      z-index: 8;
      padding: 7px 10px;
      border-radius: 999px;
      border: 1px solid rgba(240,244,248,.12);
      background: rgba(10,22,40,.72);
      color: var(--off-white);
      backdrop-filter: blur(12px);
      font-size: .65rem;
      font-weight: 500;
      letter-spacing: .16em;
      text-transform: uppercase;
      transform: translate3d(-50%, -50%, 0);
      opacity: 0;
      transition: opacity .25s ease, color .25s ease, border-color .25s ease;
      pointer-events: none;
      white-space: nowrap;
      will-change: transform, opacity;
    }

    .port-label.visible {
      opacity: 1;
    }

    .port-label.gold {
      color: var(--gold);
      border-color: rgba(178,154,115,.42);
    }

    .scroll-hint {
      position: fixed;
      z-index: 10;
      left: clamp(20px, 6vw, 92px);
      bottom: 30px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: rgba(240,244,248,.55);
      font-size: .72rem;
      letter-spacing: .15em;
      text-transform: uppercase;
      pointer-events: none;
      transition: opacity .3s ease;
    }

    .scroll-hint.hidden {
      opacity: 0;
    }

    .mouse {
      width: 24px;
      height: 38px;
      border: 1px solid rgba(240,244,248,.35);
      border-radius: 999px;
      position: relative;
    }

    .mouse::after {
      content: "";
      position: absolute;
      top: 8px;
      left: 50%;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--gold);
      transform: translateX(-50%);
      animation: wheel 1.5s ease-in-out infinite;
    }

    @keyframes wheel {
      0% { opacity: 0; transform: translate(-50%, 0); }
      35% { opacity: 1; }
      100% { opacity: 0; transform: translate(-50%, 14px); }
    }



    .page-shell {
      min-height: 100vh;
      position: relative;
      z-index: 8;
      padding: 118px clamp(20px, 6vw, 92px) 72px;
      background:
        radial-gradient(circle at 82% 16%, rgba(121,184,199,.16), transparent 30%),
        radial-gradient(circle at 12% 78%, rgba(178,154,115,.14), transparent 32%),
        linear-gradient(180deg, #101d2a 0%, #07111e 100%);
      color: var(--white);
    }

    .page-hero {
      max-width: 1180px;
      margin: 0 auto clamp(38px, 6vw, 76px);
      display: grid;
      grid-template-columns: minmax(0, 1.06fr) minmax(290px, .94fr);
      gap: clamp(28px, 5vw, 72px);
      align-items: end;
    }

    .page-hero h1 {
      font-family: "Playfair Display", serif;
      font-size: clamp(3.25rem, 7.6vw, 8.2rem);
      line-height: .92;
      letter-spacing: -.055em;
      margin: 0 0 22px;
      text-wrap: balance;
    }

    .page-hero p {
      color: var(--muted);
      font-size: clamp(1.02rem, 1.2vw, 1.16rem);
      line-height: 1.78;
      max-width: 650px;
    }

    .route-map-card {
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 30px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
        radial-gradient(circle at 72% 24%, rgba(121,184,199,.22), transparent 34%);
      box-shadow: 0 28px 90px rgba(0,0,0,.28);
      padding: clamp(22px, 3vw, 34px);
      overflow: hidden;
    }

    .route-line {
      position: relative;
      display: grid;
      gap: 18px;
      padding-left: 24px;
    }

    .route-line::before {
      content: "";
      position: absolute;
      left: 7px;
      top: 9px;
      bottom: 9px;
      width: 2px;
      background: linear-gradient(180deg, var(--gold), rgba(121,184,199,.78));
      box-shadow: 0 0 24px rgba(178,154,115,.38);
    }

    .route-stop {
      position: relative;
      padding: 0 0 0 18px;
    }

    .route-stop::before {
      content: "";
      position: absolute;
      left: -23px;
      top: 8px;
      width: 12px;
      height: 12px;
      border-radius: 999px;
      background: var(--gold);
      box-shadow: 0 0 0 6px rgba(178,154,115,.14), 0 0 22px rgba(178,154,115,.42);
    }

    .route-stop b {
      display: block;
      font-size: 1.02rem;
      letter-spacing: .02em;
      margin-bottom: 4px;
    }

    .route-stop span {
      display: block;
      color: var(--muted);
      font-size: .94rem;
      line-height: 1.58;
    }

    .route-content {
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      gap: clamp(22px, 3vw, 30px);
    }

    .route-section-card {
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 28px;
      background: rgba(255,255,255,.055);
      backdrop-filter: blur(10px);
      padding: clamp(24px, 3.2vw, 38px);
    }

    .route-section-card h2 {
      font-family: "Playfair Display", serif;
      font-size: clamp(2rem, 4vw, 4.1rem);
      line-height: 1;
      letter-spacing: -.045em;
      margin-bottom: 16px;
    }

    .route-section-card p {
      color: var(--muted);
      line-height: 1.76;
      max-width: 880px;
    }

    .route-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-top: 22px;
    }

    .route-detail {
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(8,18,31,.48);
      padding: 20px;
    }

    .route-detail b {
      display: block;
      color: var(--gold);
      margin-bottom: 9px;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-size: .76rem;
    }

    .route-detail span {
      color: var(--muted);
      line-height: 1.62;
      font-size: .96rem;
    }

    .page-nav-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 28px;
    }


    .about-section {
      position: relative;
      z-index: 8;
      padding: clamp(92px, 12vw, 155px) clamp(20px, 6vw, 92px);
      background:
        linear-gradient(180deg, rgba(12,24,38,.90), rgba(8,18,31,.96)),
        radial-gradient(circle at 82% 18%, rgba(121,184,199,.12), transparent 32%);
      color: var(--white);
      scroll-margin-top: 92px;
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
      gap: clamp(28px, 5vw, 72px);
      align-items: start;
      max-width: 1180px;
      margin: 0 auto;
    }

    .about-section h2 {
      font-family: "Playfair Display", serif;
      font-size: clamp(2.45rem, 5.4vw, 5.6rem);
      line-height: .98;
      letter-spacing: -.045em;
      margin-bottom: 24px;
    }

    .about-section p {
      color: var(--muted);
      font-size: clamp(1rem, 1.2vw, 1.14rem);
      line-height: 1.75;
      max-width: 620px;
    }

    .about-cards {
      display: grid;
      gap: 16px;
    }


    .contact {
      position: relative;
      z-index: 15;
      min-height: 100vh;
      padding: clamp(90px, 12vw, 150px) clamp(20px, 6vw, 92px) 44px;
      border-top: 1px solid rgba(240,244,248,.10);
      background:
        radial-gradient(circle at 80% 15%, rgba(14,143,174,.18), transparent 32%),
        radial-gradient(circle at 14% 86%, rgba(178,154,115,.10), transparent 30%),
        linear-gradient(180deg, rgba(10,22,40,.88), var(--deep-navy) 26%, var(--deep-navy));
    }

    .contact-grid {
      width: min(1180px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(340px, 1fr);
      gap: clamp(42px, 7vw, 96px);
      align-items: start;
    }

    .contact h2 {
      font-family: "Playfair Display", serif;
      font-size: clamp(2.9rem, 6.2vw, 6.3rem);
      line-height: .96;
      letter-spacing: -.045em;
      margin-bottom: 22px;
    }

    .contact p {
      max-width: 560px;
      color: var(--muted);
      font-size: 1.04rem;
      line-height: 1.8;
      font-weight: 300;
    }

    .contact-details {
      display: grid;
      gap: 12px;
      margin-top: 30px;
      color: rgba(240,244,248,.70);
      font-size: .95rem;
    }

    .contact-details b {
      color: var(--gold);
      font-weight: 500;
    }

    .form {
      position: relative;
      overflow: hidden;
      border-radius: 30px;
      border: 1px solid rgba(240,244,248,.12);
      background: rgba(240,244,248,.045);
      backdrop-filter: blur(10px);
      padding: clamp(24px, 4vw, 44px);
      box-shadow: 0 34px 90px rgba(0,0,0,.22);
    }

    .form::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(135deg, rgba(14,143,174,.12), transparent 40%, rgba(178,154,115,.10));
    }

    .field {
      position: relative;
      z-index: 1;
      margin-bottom: 26px;
    }

    .field input,
    .field textarea {
      width: 100%;
      border: none;
      outline: none;
      background: transparent;
      color: var(--off-white);
      font-family: "Inter", sans-serif;
      font-size: 1rem;
      padding: 15px 0;
      border-bottom: 1px solid rgba(240,244,248,.18);
      resize: vertical;
    }

    .field textarea {
      min-height: 130px;
    }

    .field label {
      position: absolute;
      top: 15px;
      left: 0;
      color: rgba(240,244,248,.52);
      pointer-events: none;
      transition: transform .24s ease, font-size .24s ease, color .24s ease;
    }

    .field input:focus + label,
    .field input:not(:placeholder-shown) + label,
    .field textarea:focus + label,
    .field textarea:not(:placeholder-shown) + label {
      transform: translateY(-26px);
      font-size: .74rem;
      color: var(--teal);
    }

    .underline {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 1px;
      background: var(--teal);
      box-shadow: 0 0 18px rgba(14,143,174,.72);
      transition: width .26s ease;
    }

    .field input:focus ~ .underline,
    .field textarea:focus ~ .underline {
      width: 100%;
    }

    .send-row {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
      margin-top: 4px;
    }

    .send {
      border: none;
      cursor: pointer;
      border-radius: 999px;
      padding: 15px 28px;
      background: var(--gold);
      color: var(--deep-navy);
      font-family: "Inter", sans-serif;
      font-weight: 500;
      letter-spacing: .13em;
      text-transform: uppercase;
      box-shadow: 0 20px 55px rgba(178,154,115,.24);
      transition: transform .25s ease;
    }

    .send:hover {
      transform: translateY(-3px);
    }

    .success {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--gold);
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .3s ease, transform .3s ease;
    }

    .success svg {
      width: 26px;
      height: 26px;
    }

    .success path {
      fill: none;
      stroke: var(--gold);
      stroke-width: 4;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 80;
      stroke-dashoffset: 80;
      transition: stroke-dashoffset .65s ease .08s;
    }

    .form.sent .success {
      opacity: 1;
      transform: translateY(0);
    }

    .form.sent .success path {
      stroke-dashoffset: 0;
    }

    footer {
      width: min(1180px, 100%);
      margin: 90px auto 0;
      padding-top: 30px;
      border-top: 1px solid rgba(240,244,248,.10);
      color: rgba(240,244,248,.56);
      font-size: .9rem;
      line-height: 1.75;
      display: grid;
      gap: 10px;
    }

    footer strong {
      color: var(--gold);
      font-family: "Playfair Display", serif;
      letter-spacing: .06em;
      font-size: 1.2rem;
    }

    @media (max-width: 940px) {
      .hamburger {
        display: flex;
      }

      .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(330px, 84vw);
        height: 100vh;
        padding: 92px 38px;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        background: rgba(17,28,39,.96);
        backdrop-filter: blur(12px);
        border-left: 1px solid rgba(240,244,248,.10);
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 35;
      }

      .nav-links.open {
        transform: translateX(0);
      }

      .story {
        top: auto;
        left: 20px;
        bottom: 82px;
        transform: translate3d(0, 20px, 0);
      }

      .story h1 {
        font-size: clamp(2.65rem, 13vw, 4.65rem);
      }

      .story h2 {
        font-size: clamp(2.25rem, 10vw, 4rem);
      }

      .story p {
        line-height: 1.62;
      }

      .hero-meta {
        grid-template-columns: 1fr;
        max-width: 340px;
      }

      .meta-pill {
        padding: 10px 13px;
      }

      .route-hud {
        display: none;
      }

      .contact-grid {
        grid-template-columns: 1fr;
      }

      .port-label {
        font-size: .55rem;
        padding: 6px 8px;
      }
    }

    @media (max-width: 560px) {
      .brand span {
        display: none;
      }

      .story {
        width: calc(100vw - 32px);
        left: 16px;
        bottom: 66px;
      }

      .story p {
        font-size: .94rem;
      }

      .cta-row {
        margin-top: 22px;
      }

      .btn {
        min-height: 46px;
        padding: 0 18px;
        font-size: .69rem;
      }

      .card-grid {
        gap: 10px;
      }

      .info-card {
        padding: 14px 15px;
      }

      .scroll-hint {
        display: none;
      }
    }

@media (max-width: 760px) { .page-hero { grid-template-columns: 1fr; } .route-grid { grid-template-columns: 1fr; } .page-shell { padding-top: 104px; } }


    .split-list {
      display: grid;
      gap: 14px;
      margin-top: 22px;
    }

    .split-list li {
      list-style: none;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 18px;
      background: rgba(8,18,31,.42);
      padding: 16px 18px;
      color: var(--muted);
      line-height: 1.62;
    }

    .split-list li b {
      display: block;
      color: var(--white);
      margin-bottom: 4px;
    }

    .service-feature-grid,
    .about-feature-grid,
    .contact-feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-top: 22px;
    }

    .page-form {
      display: grid;
      gap: 16px;
      margin-top: 24px;
    }

    .page-form .field {
      margin: 0;
    }

    .page-form textarea {
      min-height: 148px;
      resize: vertical;
    }

    .page-form input,
    .page-form textarea,
    .page-form select {
      width: 100%;
      color: var(--white);
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(8,18,31,.58);
      border-radius: 18px;
      padding: 17px 16px;
      outline: none;
      font: inherit;
    }

    .page-form input::placeholder,
    .page-form textarea::placeholder {
      color: rgba(235,241,246,.52);
    }

    .page-form input:focus,
    .page-form textarea:focus,
    .page-form select:focus {
      border-color: rgba(178,154,115,.72);
      box-shadow: 0 0 0 4px rgba(178,154,115,.10);
    }

    .contact-methods {
      display: grid;
      gap: 14px;
      margin-top: 22px;
    }

    .contact-method {
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 22px;
      padding: 18px;
      background: rgba(255,255,255,.055);
    }

    .contact-method b {
      display: block;
      color: var(--gold);
      margin-bottom: 6px;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-size: .76rem;
    }

    .contact-method span,
    .contact-method a {
      color: var(--muted);
      text-decoration: none;
      line-height: 1.62;
    }

    .contact-method a:hover {
      color: var(--white);
    }

    .page-note {
      color: var(--muted);
      font-size: .95rem;
      line-height: 1.62;
      margin-top: 14px;
    }


@media (max-width: 760px) { .service-feature-grid, .about-feature-grid, .contact-feature-grid { grid-template-columns: 1fr; } }



    /* Professional content pages */
    .page-shell {
      min-height: 100vh;
      position: relative;
      z-index: 8;
      padding: 116px clamp(20px, 6vw, 86px) 76px;
      background:
        linear-gradient(180deg, #0f1c28 0%, #0a1420 52%, #07111c 100%);
      color: var(--white);
    }

    .page-hero {
      max-width: 1160px;
      margin: 0 auto 56px;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
      gap: clamp(30px, 5vw, 72px);
      align-items: start;
    }

    .page-hero h1 {
      font-family: "Playfair Display", serif;
      font-size: clamp(3rem, 6.6vw, 7.2rem);
      line-height: .96;
      letter-spacing: -.052em;
      margin: 0 0 24px;
      text-wrap: balance;
    }

    .page-hero p {
      color: rgba(235,241,246,.78);
      font-size: clamp(1.02rem, 1.16vw, 1.14rem);
      line-height: 1.76;
      max-width: 660px;
    }

    .page-summary {
      border-top: 1px solid rgba(255,255,255,.14);
      border-bottom: 1px solid rgba(255,255,255,.12);
      padding: 18px 0;
      margin-top: 26px;
      display: grid;
      gap: 10px;
      color: rgba(235,241,246,.74);
      line-height: 1.6;
      max-width: 680px;
    }

    .page-summary b {
      color: var(--white);
      font-weight: 600;
    }

    .professional-panel,
    .route-map-card {
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 18px;
      background: rgba(255,255,255,.045);
      box-shadow: 0 22px 70px rgba(0,0,0,.20);
      padding: clamp(22px, 3vw, 32px);
      overflow: hidden;
    }

    .facts-table {
      display: grid;
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 8px;
    }

    .fact-row {
      display: grid;
      grid-template-columns: 142px 1fr;
      gap: 18px;
      padding: 15px 0;
      border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .fact-row b {
      color: var(--gold);
      font-size: .76rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-weight: 700;
    }

    .fact-row span {
      color: rgba(235,241,246,.76);
      line-height: 1.58;
      font-size: .96rem;
    }

    .route-content {
      max-width: 1160px;
      margin: 0 auto;
      display: grid;
      gap: 22px;
    }

    .route-section-card {
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 18px;
      background: rgba(255,255,255,.042);
      padding: clamp(24px, 3vw, 36px);
    }

    .route-section-card h2 {
      font-family: "Playfair Display", serif;
      font-size: clamp(2rem, 3.5vw, 3.7rem);
      line-height: 1.02;
      letter-spacing: -.043em;
      margin-bottom: 16px;
    }

    .route-section-card p {
      color: rgba(235,241,246,.76);
      line-height: 1.74;
      max-width: 900px;
    }

    .route-grid,
    .service-feature-grid,
    .about-feature-grid,
    .contact-feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 22px;
    }

    .route-detail {
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,.11);
      background: rgba(7,17,28,.50);
      padding: 19px;
    }

    .route-detail b {
      display: block;
      color: var(--white);
      margin-bottom: 8px;
      font-size: .98rem;
      letter-spacing: -.01em;
    }

    .route-detail span {
      color: rgba(235,241,246,.70);
      line-height: 1.62;
      font-size: .95rem;
    }

    .route-line {
      position: relative;
      display: grid;
      gap: 0;
      border-top: 1px solid rgba(255,255,255,.10);
    }

    .route-line::before {
      content: "";
      position: absolute;
      left: 6px;
      top: 22px;
      bottom: 22px;
      width: 1px;
      background: rgba(178,154,115,.62);
    }

    .route-stop {
      position: relative;
      padding: 16px 0 16px 30px;
      border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .route-stop::before {
      content: "";
      position: absolute;
      left: 1px;
      top: 22px;
      width: 11px;
      height: 11px;
      border-radius: 999px;
      background: #b29a73;
      box-shadow: 0 0 0 5px rgba(178,154,115,.10);
    }

    .route-stop b {
      display: block;
      font-size: 1rem;
      letter-spacing: -.01em;
      margin-bottom: 5px;
    }

    .route-stop span {
      display: block;
      color: rgba(235,241,246,.70);
      font-size: .94rem;
      line-height: 1.58;
    }

    .split-list {
      display: grid;
      gap: 12px;
      margin-top: 22px;
      padding: 0;
    }

    .split-list li {
      list-style: none;
      border-left: 2px solid rgba(178,154,115,.70);
      background: rgba(7,17,28,.38);
      padding: 15px 18px;
      color: rgba(235,241,246,.72);
      line-height: 1.62;
    }

    .split-list li b {
      display: block;
      color: var(--white);
      margin-bottom: 4px;
      font-weight: 600;
    }

    .page-nav-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 28px;
    }

    .page-form {
      display: grid;
      gap: 14px;
      margin-top: 18px;
    }

    .page-form .field {
      margin: 0;
    }

    .page-form textarea {
      min-height: 148px;
      resize: vertical;
    }

    .page-form input,
    .page-form textarea,
    .page-form select {
      width: 100%;
      color: var(--white);
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(7,17,28,.62);
      border-radius: 12px;
      padding: 15px 15px;
      outline: none;
      font: inherit;
    }

    .page-form input::placeholder,
    .page-form textarea::placeholder {
      color: rgba(235,241,246,.48);
    }

    .page-form input:focus,
    .page-form textarea:focus,
    .page-form select:focus {
      border-color: rgba(178,154,115,.72);
      box-shadow: 0 0 0 4px rgba(178,154,115,.10);
    }

    .contact-methods {
      display: grid;
      gap: 12px;
      margin-top: 22px;
    }

    .contact-method {
      border-bottom: 1px solid rgba(255,255,255,.10);
      padding: 0 0 14px;
    }

    .contact-method b {
      display: block;
      color: var(--gold);
      margin-bottom: 5px;
      letter-spacing: .10em;
      text-transform: uppercase;
      font-size: .74rem;
    }

    .contact-method span,
    .contact-method a {
      color: rgba(235,241,246,.76);
      text-decoration: none;
      line-height: 1.62;
    }

    .contact-method a:hover {
      color: var(--white);
    }

    .page-note {
      color: rgba(235,241,246,.60);
      font-size: .92rem;
      line-height: 1.58;
      margin-top: 4px;
    }

    @media (max-width: 760px) {
      .page-hero { grid-template-columns: 1fr; }
      .route-grid,
      .service-feature-grid,
      .about-feature-grid,
      .contact-feature-grid { grid-template-columns: 1fr; }
      .page-shell { padding-top: 104px; }
      .fact-row { grid-template-columns: 1fr; gap: 6px; }
    }


    /* Fix homepage text overlap after the animation stage */
    .story:not(.active) {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }

    .about-section,
    .contact {
      z-index: 18;
    }

    footer {
      text-align: left;
      justify-items: start;
    }

    footer p {
      margin: 0;
    }


    /* Animation performance tuning */
    #three-canvas {
      contain: strict;
    }

    .route-svg {
      will-change: opacity;
    }

    .route-path {
      transition: opacity .22s ease;
    }

    .story {
      backface-visibility: hidden;
    }


    /* Copy refresh refinements */
    .page-summary span {
      line-height: 1.62;
    }

    .facts-table .fact-row:last-child,
    .route-line .route-stop:last-child {
      border-bottom: 0;
    }

    .story h1 {
      font-size: clamp(3.15rem, 7.9vw, 8.4rem);
    }

    .story h2 {
      font-size: clamp(2.35rem, 5.4vw, 5.7rem);
    }

    @media (max-width: 760px) {
      .story h1 { font-size: clamp(2.55rem, 15vw, 4.7rem); }
      .story h2 { font-size: clamp(2.2rem, 13vw, 4.2rem); }
    }


    /* Keep scroll prompt away from homepage wording */
    .scroll-hint {
      left: auto !important;
      right: clamp(22px, 5vw, 76px) !important;
      bottom: clamp(26px, 5vh, 58px) !important;
      transform: none !important;
      justify-content: flex-end;
      text-align: right;
      z-index: 22;
      max-width: 180px;
    }

    .scroll-hint span {
      white-space: nowrap;
    }

    @media (max-width: 760px) {
      .scroll-hint {
        right: 18px !important;
        bottom: 22px !important;
        transform: none !important;
        max-width: 150px;
      }

      .scroll-hint span {
        font-size: .68rem;
      }
    }


    /* Less-AI professional polish */
    .navbar {
      border-bottom: 1px solid rgba(240,244,248,.08);
    }

    .nav-links a[aria-current="page"] {
      color: var(--gold);
    }

    .page-shell {
      background:
        linear-gradient(180deg, #0d1924 0%, #07111c 62%, #07111c 100%) !important;
    }

    .page-hero {
      align-items: start !important;
      margin-bottom: clamp(46px, 7vw, 82px) !important;
    }

    .page-hero h1 {
      font-size: clamp(2.8rem, 6vw, 6.7rem) !important;
      line-height: .98 !important;
      letter-spacing: -.045em !important;
    }

    .page-hero p,
    .route-section-card p {
      color: rgba(235,241,246,.76) !important;
    }

    .professional-panel,
    .route-section-card,
    .route-detail {
      border-radius: 14px !important;
      box-shadow: none !important;
    }

    .professional-panel {
      background: rgba(255,255,255,.035) !important;
    }

    .route-section-card {
      background: rgba(255,255,255,.032) !important;
    }

    .route-detail {
      background: rgba(5,14,24,.44) !important;
    }

    .page-summary {
      border-color: rgba(255,255,255,.13) !important;
    }

    .facts-table {
      margin-top: 0 !important;
    }

    .fact-row {
      grid-template-columns: 132px 1fr !important;
    }

    .split-list li {
      border-radius: 0 !important;
    }

    .btn {
      border-radius: 999px;
    }

    .scroll-hint {
      left: auto !important;
      right: clamp(22px, 5vw, 76px) !important;
      bottom: clamp(26px, 5vh, 58px) !important;
      transform: none !important;
      justify-content: flex-end;
      text-align: right;
      z-index: 22;
      max-width: 180px;
    }

    .scroll-hint span {
      white-space: nowrap;
    }

    @media (max-width: 760px) {
      .scroll-hint {
        right: 18px !important;
        bottom: 22px !important;
        transform: none !important;
        max-width: 150px;
      }

      .scroll-hint span {
        font-size: .68rem;
      }

      .fact-row {
        grid-template-columns: 1fr !important;
      }
    }


/* Brand logo integration */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.brand-text strong {
  font-weight: 800;
  letter-spacing: .02em;
}

footer .footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}

footer {
  text-align: left;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .brand-text {
    gap: 4px;
    font-size: .92em;
  }
  footer .footer-logo {
    width: 48px;
    height: 48px;
  }
}


/* Footer size fix */
footer {
  font-size: .78rem !important;
  line-height: 1.55 !important;
  gap: 6px !important;
}

footer p {
  margin: 0 !important;
}

footer strong {
  font-size: 1rem !important;
}

footer .footer-logo {
  width: 44px !important;
  height: 44px !important;
  margin-bottom: 6px !important;
}

@media (max-width: 760px) {
  footer {
    font-size: .72rem !important;
  }

  footer strong {
    font-size: .92rem !important;
  }

  footer .footer-logo {
    width: 38px !important;
    height: 38px !important;
  }
}


/* Final footer and contact polish */
footer {
  gap: 4px !important;
}

footer .copyright-line {
  font-size: .39rem !important;
  line-height: 1.35 !important;
  letter-spacing: .02em !important;
  color: rgba(240,244,248,.42) !important;
  max-width: 420px !important;
}

footer strong {
  font-size: .86rem !important;
  line-height: 1.1 !important;
}

footer .footer-logo {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 4px !important;
}

.contact-page .contact-methods {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-top: 22px !important;
  max-width: 520px !important;
}

.contact-page .contact-method {
  display: grid !important;
  grid-template-columns: 86px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

.contact-page .contact-method b {
  margin: 0 !important;
  white-space: nowrap !important;
  font-size: .68rem !important;
  letter-spacing: .11em !important;
}

.contact-page .contact-method span,
.contact-page .contact-method a {
  display: block !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  line-height: 1.45 !important;
  font-size: .95rem !important;
}

@media (max-width: 760px) {
  footer .copyright-line {
    font-size: .36rem !important;
    max-width: 300px !important;
  }

  footer strong {
    font-size: .78rem !important;
  }

  footer .footer-logo {
    width: 30px !important;
    height: 30px !important;
  }

  .contact-page .contact-method {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .contact-page .contact-method span,
  .contact-page .contact-method a {
    font-size: .88rem !important;
  }
}


/* Contact page restored layout + footer 15% increase */
footer .copyright-line {
  font-size: .45rem !important;
  line-height: 1.38 !important;
}

footer strong {
  font-size: .99rem !important;
}

footer .footer-logo {
  width: 39px !important;
  height: 39px !important;
}

.contact-page .contact-methods {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin-top: 22px !important;
  max-width: 520px !important;
}

.contact-page .contact-method {
  display: block !important;
  grid-template-columns: none !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.045) !important;
}

.contact-page .contact-method b {
  display: block !important;
  margin: 0 0 6px !important;
  white-space: nowrap !important;
  font-size: .72rem !important;
  letter-spacing: .11em !important;
}

.contact-page .contact-method span,
.contact-page .contact-method a {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.5 !important;
  font-size: .94rem !important;
}

@media (max-width: 760px) {
  footer .copyright-line {
    font-size: .41rem !important;
  }

  footer strong {
    font-size: .9rem !important;
  }

  footer .footer-logo {
    width: 34px !important;
    height: 34px !important;
  }

  .contact-page .contact-method {
    padding: 14px 15px !important;
  }

  .contact-page .contact-method span,
  .contact-page .contact-method a {
    font-size: .88rem !important;
  }
}


/* Mobile-only homepage and 3D animation polish */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .navbar {
    height: 68px !important;
    padding: 0 16px !important;
  }

  .brand {
    max-width: calc(100vw - 84px) !important;
    gap: 8px !important;
  }

  .brand-logo {
    width: 32px !important;
    height: 32px !important;
  }

  .brand-text {
    font-size: .76rem !important;
    letter-spacing: .045em !important;
    white-space: normal !important;
    line-height: 1.05 !important;
  }

  .hamburger {
    width: 42px !important;
    height: 42px !important;
  }

  #scroll-stage {
    height: 470vh !important;
  }

  .story {
    left: 14px !important;
    right: 14px !important;
    bottom: 78px !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 18px 17px 16px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 18px !important;
    background:
      linear-gradient(180deg, rgba(6,16,27,.72), rgba(6,16,27,.46)) !important;
    backdrop-filter: blur(9px) !important;
    box-shadow: 0 22px 70px rgba(0,0,0,.18) !important;
  }

  .story h1 {
    font-size: clamp(2.1rem, 10vw, 3.8rem) !important;
    line-height: .96 !important;
    letter-spacing: -.045em !important;
    margin-bottom: 12px !important;
  }

  .story h2 {
    font-size: clamp(1.85rem, 8.8vw, 3.25rem) !important;
    line-height: .98 !important;
    letter-spacing: -.04em !important;
    margin-bottom: 10px !important;
  }

  .story p {
    font-size: .88rem !important;
    line-height: 1.48 !important;
    max-width: none !important;
    margin-bottom: 0 !important;
  }

  .eyebrow {
    font-size: .62rem !important;
    letter-spacing: .15em !important;
    margin-bottom: 9px !important;
    gap: 8px !important;
  }

  .eyebrow::before {
    width: 26px !important;
  }

  .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin-top: 13px !important;
  }

  .meta-pill {
    padding: 9px 8px !important;
    border-radius: 12px !important;
  }

  .meta-pill strong {
    font-size: .72rem !important;
  }

  .meta-pill span {
    font-size: .58rem !important;
    white-space: normal !important;
  }

  .cta-row {
    gap: 8px !important;
    margin-top: 13px !important;
  }

  .btn {
    padding: 10px 12px !important;
    font-size: .7rem !important;
    min-height: 38px !important;
  }

  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .info-card {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .card-title {
    font-size: .84rem !important;
    margin-bottom: 4px !important;
  }

  .card-copy {
    font-size: .76rem !important;
    line-height: 1.42 !important;
  }

  .route-hud {
    display: none !important;
  }

  .scroll-hint {
    right: 14px !important;
    bottom: 16px !important;
    max-width: 132px !important;
    gap: 8px !important;
    transform: none !important;
  }

  .scroll-hint span {
    font-size: .6rem !important;
    white-space: nowrap !important;
  }

  .mouse {
    width: 18px !important;
    height: 29px !important;
  }

  .about-section,
  .contact {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 74px !important;
    padding-bottom: 76px !important;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .about-section h2,
  .contact h2 {
    font-size: clamp(2rem, 9vw, 3.2rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 14px !important;
  }

  .about-section p,
  .contact p {
    font-size: .93rem !important;
    line-height: 1.6 !important;
  }

  .about-cards {
    gap: 10px !important;
  }

  .contact-details {
    font-size: .9rem !important;
    line-height: 1.55 !important;
  }

  .contact-form {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: .9rem !important;
    padding: 13px 13px !important;
  }

  footer {
    margin-top: 54px !important;
  }
}

@media (max-width: 480px) {
  .story {
    bottom: 70px !important;
    padding: 15px 14px 14px !important;
  }

  .story h1 {
    font-size: clamp(1.95rem, 10.8vw, 3.15rem) !important;
  }

  .story h2 {
    font-size: clamp(1.75rem, 9.6vw, 2.7rem) !important;
  }

  .story p {
    font-size: .82rem !important;
    line-height: 1.42 !important;
  }

  .hero-meta,
  .card-grid {
    display: none !important;
  }

  .cta-row {
    flex-wrap: nowrap !important;
  }

  .btn {
    flex: 1 1 auto !important;
    justify-content: center !important;
  }

  .brand-text {
    font-size: .68rem !important;
  }
}


/* Mobile brand text visibility fix */
@media (max-width: 760px) {
  .brand {
    display: inline-flex !important;
    align-items: center !important;
    max-width: calc(100vw - 76px) !important;
    overflow: visible !important;
  }

  .brand-logo {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
  }

  .brand-text {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 3px !important;
    max-width: 178px !important;
    font-size: .66rem !important;
    line-height: 1.05 !important;
    letter-spacing: .04em !important;
    white-space: normal !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .brand-text strong {
    display: inline !important;
  }
}

@media (max-width: 380px) {
  .brand-text {
    max-width: 148px !important;
    font-size: .58rem !important;
    letter-spacing: .03em !important;
  }

  .brand-logo {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
  }
}


/* Professional contact page refinement */
.contact-page .page-hero {
  align-items: start !important;
}

.contact-page .professional-panel.contact-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 34px 100px rgba(0,0,0,.18) !important;
  border-radius: 24px !important;
  padding: clamp(24px, 3.4vw, 38px) !important;
}

.contact-page .form-title {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -.035em !important;
  margin: 6px 0 8px !important;
}

.contact-page .form-intro {
  color: rgba(240,244,248,.66) !important;
  font-size: .92rem !important;
  line-height: 1.62 !important;
  margin: 0 0 22px !important;
  max-width: 520px !important;
}

.contact-page .professional-contact-form {
  gap: 16px !important;
  margin-top: 0 !important;
}

.contact-page .professional-contact-form .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.contact-page .professional-contact-form label {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
}

.contact-page .professional-contact-form label span {
  color: rgba(240,244,248,.72) !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.contact-page .professional-contact-form input,
.contact-page .professional-contact-form textarea,
.contact-page .professional-contact-form select {
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  background: rgba(5,14,24,.34) !important;
  color: rgba(255,255,255,.94) !important;
  box-shadow: none !important;
  padding: 13px 14px !important;
  font-size: .92rem !important;
  line-height: 1.45 !important;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.contact-page .professional-contact-form textarea {
  min-height: 132px !important;
}

.contact-page .professional-contact-form input::placeholder,
.contact-page .professional-contact-form textarea::placeholder {
  color: rgba(240,244,248,.34) !important;
}

.contact-page .professional-contact-form input:focus,
.contact-page .professional-contact-form textarea:focus,
.contact-page .professional-contact-form select:focus {
  outline: none !important;
  border-color: rgba(198,166,100,.62) !important;
  background: rgba(5,14,24,.48) !important;
  box-shadow: 0 0 0 3px rgba(198,166,100,.12) !important;
}

.contact-page .professional-contact-form .btn {
  width: fit-content !important;
  margin-top: 4px !important;
}

.contact-page .professional-contact-form .page-note {
  color: rgba(240,244,248,.50) !important;
  font-size: .78rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 420px !important;
}

.contact-page .contact-methods {
  max-width: 460px !important;
  gap: 10px !important;
}

.contact-page .contact-method {
  border-radius: 14px !important;
  padding: 14px 16px !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.10) !important;
}

.contact-page .contact-method b {
  font-size: .64rem !important;
  margin-bottom: 5px !important;
}

.contact-page .contact-method span,
.contact-page .contact-method a {
  font-size: .9rem !important;
  line-height: 1.45 !important;
}

.contact-page .contact-feature-grid .route-detail {
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.10) !important;
}

@media (max-width: 760px) {
  .contact-page .professional-panel.contact-panel {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .contact-page .form-title {
    font-size: 1.28rem !important;
  }

  .contact-page .form-intro {
    font-size: .86rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }

  .contact-page .professional-contact-form {
    gap: 14px !important;
  }

  .contact-page .professional-contact-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .contact-page .professional-contact-form label span {
    font-size: .62rem !important;
    letter-spacing: .105em !important;
  }

  .contact-page .professional-contact-form input,
  .contact-page .professional-contact-form textarea,
  .contact-page .professional-contact-form select {
    font-size: .88rem !important;
    padding: 12px 13px !important;
  }

  .contact-page .professional-contact-form textarea {
    min-height: 118px !important;
  }

  .contact-page .professional-contact-form .btn {
    width: 100% !important;
  }

  .contact-page .contact-method {
    padding: 13px 14px !important;
  }
}


/* Route page port list polish */
.route-page .port-list .fact-row span {
  line-height: 1.45 !important;
}

@media (max-width: 760px) {
  .route-page .port-list .fact-row {
    gap: 6px !important;
  }

  .route-page .port-list .fact-row b,
  .route-page .port-list .fact-row span {
    display: block !important;
  }
}


/* Final overflow + mobile stability patch */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body {
  position: relative !important;
}

*,
*::before,
*::after {
  box-sizing: border-box !important;
}

#scroll-stage,
.scene-wrap,
.canvas-wrap,
.webgl,
canvas {
  max-width: 100vw !important;
  overflow: hidden !important;
}

.webgl,
canvas {
  display: block !important;
}

img,
video,
svg {
  max-width: 100% !important;
}

.navbar,
.story,
.route-hud,
.scroll-hint,
.about-section,
.contact,
.page-shell {
  max-width: 100vw !important;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
  }

  #scroll-stage {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .webgl,
  canvas {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
  }

  .navbar {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .nav-links.open {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    left: 14px !important;
    right: 14px !important;
  }

  .story {
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    overflow: hidden !important;
  }

  .story * {
    max-width: 100% !important;
  }

  .story h1,
  .story h2 {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .story p {
    overflow-wrap: anywhere !important;
  }

  .scroll-hint {
    max-width: 132px !important;
    right: 14px !important;
    left: auto !important;
  }

  .hero-meta,
  .card-grid,
  .about-grid,
  .contact-grid,
  .route-grid,
  .service-feature-grid,
  .about-feature-grid,
  .contact-feature-grid {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .meta-pill,
  .info-card,
  .route-detail,
  .professional-panel,
  .contact-panel,
  .contact-form,
  .page-form {
    max-width: 100% !important;
  }

  .page-shell {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .story {
    left: 12px !important;
    right: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }

  .scroll-hint {
    display: none !important;
  }
}


/* Mobile text/animation separation fix */
@media (max-width: 760px) {
  #scroll-stage {
    min-height: 560vh !important;
  }

  .webgl,
  canvas {
    filter: saturate(.82) contrast(.9) brightness(.72) !important;
  }

  #scroll-stage::after {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    background:
      linear-gradient(90deg, rgba(8,18,31,.80) 0%, rgba(8,18,31,.64) 42%, rgba(8,18,31,.22) 100%),
      linear-gradient(180deg, rgba(8,18,31,.50) 0%, rgba(8,18,31,.12) 42%, rgba(8,18,31,.66) 100%) !important;
  }

  .story {
    z-index: 8 !important;
    top: 86px !important;
    bottom: auto !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: calc(100vw - 36px) !important;
    max-height: calc(100vh - 112px) !important;
    overflow: hidden !important;
    padding: 20px 18px 18px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background:
      linear-gradient(180deg, rgba(8,18,31,.92), rgba(8,18,31,.78)) !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.32) !important;
    backdrop-filter: blur(14px) !important;
  }

  .story h1 {
    font-size: clamp(2.8rem, 15.5vw, 5.1rem) !important;
    line-height: .90 !important;
    letter-spacing: -.055em !important;
    margin-bottom: 14px !important;
    max-width: 8.6em !important;
  }

  .story h2 {
    font-size: clamp(2.4rem, 12vw, 4.2rem) !important;
    line-height: .94 !important;
    letter-spacing: -.05em !important;
    margin-bottom: 12px !important;
    max-width: 9em !important;
  }

  .story p {
    max-width: 100% !important;
    font-size: .92rem !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,.80) !important;
    text-shadow: none !important;
  }

  .hero-meta {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  .meta-pill {
    min-height: 72px !important;
    padding: 15px 18px !important;
    background: rgba(13,32,50,.90) !important;
    border-color: rgba(255,255,255,.13) !important;
  }

  .meta-pill strong {
    font-size: 1.12rem !important;
  }

  .meta-pill span {
    font-size: .68rem !important;
    letter-spacing: .14em !important;
  }

  .cta-row {
    margin-top: 18px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .btn {
    width: 100% !important;
    min-height: 50px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .card-grid {
    display: none !important;
  }

  .route-hud,
  .scroll-hint {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .story {
    top: 74px !important;
    left: 14px !important;
    right: 14px !important;
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 92px) !important;
    padding: 17px 16px 16px !important;
    border-radius: 20px !important;
  }

  .story h1 {
    font-size: clamp(2.45rem, 14.2vw, 4.2rem) !important;
    line-height: .92 !important;
    margin-bottom: 12px !important;
  }

  .story h2 {
    font-size: clamp(2.12rem, 11.2vw, 3.45rem) !important;
  }

  .story p {
    font-size: .84rem !important;
    line-height: 1.48 !important;
  }

  .hero-meta {
    display: grid !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .meta-pill {
    min-height: 60px !important;
    padding: 12px 15px !important;
  }

  .meta-pill strong {
    font-size: .96rem !important;
  }

  .meta-pill span {
    font-size: .6rem !important;
  }

  .cta-row {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    margin-top: 14px !important;
  }

  .btn {
    min-height: 44px !important;
    font-size: .68rem !important;
  }
}


/* Backend contact form support */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

button[disabled],
.btn[disabled],
.send[disabled] {
  opacity: .62 !important;
  cursor: not-allowed !important;
}
