    /* Smooth Scroll & Deep Cerulean Ocean Styling */
    html {
      scroll-behavior: smooth;
      -webkit-tap-highlight-color: transparent;
    }

    .hk-language-switcher {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      padding: 2px;
      border: 1px solid rgba(125, 211, 252, .24);
      border-radius: 999px;
      background: rgba(2, 20, 48, .68);
    }
    .hk-lang-btn, .hk-theme-toggle {
      min-width: 28px;
      height: 26px;
      border: 0;
      border-radius: 999px;
      color: rgba(186, 230, 253, .78);
      background: transparent;
      font: 700 10px/1 Inter, sans-serif;
      cursor: pointer;
      transition: .2s ease;
    }
    .hk-lang-btn:hover, .hk-lang-btn.is-active {
      color: #07111f;
      background: linear-gradient(135deg, #fbbf24, #fde68a);
    }
    .hk-theme-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-left: 3px;
      border: 1px solid rgba(125, 211, 252, .24);
      background: rgba(2, 20, 48, .68);
    }
    .hk-theme-toggle:hover { color: #fbbf24; border-color: rgba(251, 191, 36, .65); }
    .hk-theme-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .hk-theme-moon { display: none; }
    html:not(.dark) .hk-theme-sun { display: none; }
    html:not(.dark) .hk-theme-moon { display: block; }
    html:not(.dark) body { background: #f6f9fc; color: #082244; }
    html:not(.dark) .hk-theme-toggle, html:not(.dark) .hk-language-switcher { background: rgba(255,255,255,.86); color: #0b4a78; }

    /* Light theme contrast pass: keep the same layout, but replace dark-theme
       text tokens that become faint on the pale background. */
    html:not(.dark) body { background: #f4f8fb !important; color: #102f4d !important; }
    html:not(.dark) header > div > div {
      background: rgba(255, 255, 255, .94) !important;
      border-color: #a9cfe2 !important;
      box-shadow: 0 12px 28px rgba(8, 34, 68, .14) !important;
    }
    html:not(.dark) header > div > div > div:first-child {
      background: #edf6fa !important;
      border-color: #c8e0eb !important;
    }
    html:not(.dark) header a[class*="text-sky-"],
    html:not(.dark) header [class*="text-slate-300"] { color: #285b7b !important; }
    html:not(.dark) header [class*="bg-clip-text"] { color: #075985 !important; background-image: none !important; }
    html:not(.dark) h1 [class*="text-transparent"] { color: #075985 !important; background-image: none !important; }
    html:not(.dark) body .text-white,
    html:not(.dark) body .text-slate-100 { color: #102f4d !important; }
    html:not(.dark) body [class*="text-sky-100"],
    html:not(.dark) body [class*="text-sky-200"] { color: #285b7b !important; }
    html:not(.dark) body [class*="text-sky-300"] { color: #075985 !important; }
    html:not(.dark) body [class*="text-amber-300"],
    html:not(.dark) body [class*="text-amber-400"] { color: #8a5200 !important; }
    html:not(.dark) body [class*="text-slate-950"] { color: #07111f !important; }
    html:not(.dark) .glass-card {
      background: rgba(255, 255, 255, .92);
      border-color: #9bc9df;
      box-shadow: 0 12px 30px rgba(8, 34, 68, .10);
    }
    html:not(.dark) footer {
      background: #e9f3f8 !important;
      color: #285b7b !important;
      border-color: #bdd8e7 !important;
    }
    html:not(.dark) footer [class*="text-sky-"],
    html:not(.dark) footer [class*="text-amber-"] { color: #285b7b !important; }
    html:not(.dark) footer [class*="text-amber-"] { color: #8a5200 !important; }
    html:not(.dark) .hk-footer-column p { color: #55758b !important; }
    html:not(.dark) .hk-footer-column a { color: #285b7b !important; }
    html:not(.dark) .hk-footer-column a:hover { color: #8a5200 !important; }
    html:not(.dark) .hk-footer-intro > span { border-color: #b9923b !important; color: #8a5200 !important; }
    html:not(.dark) input,
    html:not(.dark) textarea { color: #102f4d !important; background: #ffffff !important; }
    html:not(.dark) input::placeholder,
    html:not(.dark) textarea::placeholder { color: #55758b !important; opacity: 1; }
    .hk-footer-column { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
    .hk-footer-column h3 { font-size: .85rem; }
    .hk-footer-column p { font-size: .72rem; }
    .hk-footer-column a { color: rgba(186, 230, 253, .72); font-size: .72rem; line-height: 1.35; transition: color .2s ease; }
    .hk-footer-column a:hover { color: #fcd34d; }
    [dir="rtl"] .hk-footer-intro,
    [dir="rtl"] .hk-footer-grid { text-align: right; }
    @media (max-width: 639px) {
      .hk-footer-intro { align-items: flex-start; flex-direction: column; }
      .hk-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 420px) {
      .hk-footer-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 420px) {
      .hk-language-switcher { gap: 0; }
      .hk-lang-btn { min-width: 25px; padding: 0 4px; }
      .hk-theme-toggle { margin-left: 1px; }
    }

    /* Change tracking: 2026-09-03; iPad navigation now gets a complete second
       row so every menu item remains visible without horizontal scrolling. */
    @media (min-width: 768px) and (max-width: 1199px) {
      header { padding-inline: clamp(12px, 2.5vw, 28px); padding-block: 12px; }
      header > div > div { border-radius: 24px; }
      header > div > div > div:first-child { padding-inline: 18px; padding-block: 9px; }
      header > div > div > div:last-child { padding-inline: 18px; padding-block: 12px; gap: 16px; }
      header > div > div > div:last-child { min-width: 0; }
      .hk-brand-row {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        row-gap: 8px;
        align-items: center;
      }
      .hk-brand-lockup { grid-column: 1; grid-row: 1; }
      .hk-main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2px;
        padding-top: 4px;
        border-top: 1px solid rgba(56, 189, 248, .12);
      }
      .hk-main-nav a {
        min-width: 0;
        padding-inline: 4px;
        padding-block: 6px;
        text-align: center;
        white-space: normal;
        font-size: .72rem;
      }
      section { scroll-margin-top: 92px; }
      section > div[class*="max-w-7xl"] { max-width: 1120px; }
      section > div[class*="max-w-7xl"] > div[class*="grid-cols-3"],
      section > div[class*="max-w-7xl"] > div[class*="grid-cols-4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
      section > div[class*="max-w-7xl"] > div[class*="grid-cols-2"] { gap: 22px; }
      section h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
      section h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
      #hero-slider { min-height: 25rem; }
      #contact > div[class*="max-w-7xl"] > div[class*="grid-cols-4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

      /* Scale image windows with the tablet canvas so cards feel intentional,
         while keeping the approved two-card rhythm and equal visual weight. */
      #services .glass-card > div:first-child > div:first-child { height: 132px; }
      #places .glass-card > div:first-child { height: 176px; }
      #tours .glass-card > div:first-child > div:first-child { height: 190px; }
      #snakes .glass-card > div:first-child > div:first-child,
      #transfers .glass-card > div:first-child > div:first-child,
      #hotels .glass-card > div:first-child > div:first-child { height: 220px; }
      #gallery .glass-card > div:first-child { height: 180px; }

      #services .glass-card { min-height: 250px; }
      #services .glass-card span { font-size: .875rem; }
      #services .glass-card p { font-size: .75rem; }
      #places .glass-card h4 { font-size: .95rem; }
      #places .glass-card p { font-size: .75rem; }
      #tours .glass-card h3 { font-size: 1rem; }
      #snakes .glass-card h3,
      #transfers .glass-card h3,
      #hotels .glass-card h3 { font-size: 1.15rem; }
      #services .glass-card,
      #places .glass-card,
      #tours .glass-card,
      #snakes .glass-card,
      #transfers .glass-card,
      #hotels .glass-card,
      #gallery .glass-card { min-width: 0; }
      #services .glass-card span,
      #places .glass-card h4,
      #tours .glass-card h3,
      #snakes .glass-card h3,
      #transfers .glass-card h3,
      #hotels .glass-card h3 { overflow-wrap: anywhere; }
    }

    /* Desktop layout: use the available canvas for a calmer reading rhythm,
       larger visual anchors and a clearer information hierarchy. */
    @media (min-width: 1200px) {
      body { padding-bottom: 0; }
      header { padding-inline: 24px; padding-block: 16px; }
      header > div.max-w-7xl { max-width: 1480px; }
      header > div > div { border-radius: 26px; }
      header > div > div > div:first-child { padding-inline: 22px; padding-block: 10px; }
      header .hk-brand-row {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) auto;
        display: grid;
        align-items: center;
        column-gap: 16px;
        padding-inline: 22px;
        padding-block: 15px;
      }
      .hk-brand-lockup { min-width: 0; }
      header .hk-main-nav {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 2px;
      }
      .hk-main-nav a {
        min-width: 0;
        padding-inline: 8px;
        padding-block: 8px;
        font-size: .78rem;
        white-space: nowrap;
      }
      section { scroll-margin-top: 116px; }
      section.relative.z-10 { padding-block: 72px; padding-inline: 32px; }
      section > div[class*="max-w-7xl"] { max-width: 1280px; }
      section > div[class*="max-w-7xl"] { gap: 32px; }
      section > div[class*="max-w-7xl"] > div[class*="grid-cols-3"],
      section > div[class*="max-w-7xl"] > div[class*="grid-cols-4"] { gap: 22px; }
      section > div[class*="max-w-7xl"] > div[class*="grid-cols-2"] { gap: 24px; }
      section h1 { font-size: clamp(3rem, 4vw, 4.4rem); line-height: 1.12; }
      section h2 { font-size: clamp(1.8rem, 2.4vw, 2.5rem); }

      /* Hero becomes the desktop focal point: balanced copy and a generous
         image window without allowing the page to stretch endlessly. */
      section:first-of-type { padding-top: 48px; padding-bottom: 80px; }
      section:first-of-type > div[class*="max-w-7xl"] { max-width: 1280px; gap: 48px; }
      #hero-slider { height: clamp(27rem, 38vw, 35rem); min-height: 0; border-radius: 28px; }

      /* Ten service categories resolve into two clean rows on a wide canvas. */
      #services > div[class*="max-w-7xl"] > div[class*="grid"] { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
      #services .glass-card { min-height: 252px; padding: 18px; border-radius: 20px; }
      #services .glass-card > div:first-child > div:first-child { height: 126px; border-radius: 14px; }
      #services .glass-card span { font-size: .8rem; }
      #services .glass-card p { font-size: .7rem; }

      #places .glass-card > div:first-child,
      #tours .glass-card > div:first-child > div:first-child { height: 190px; }
      #places .glass-card h4 { font-size: .95rem; }
      #places .glass-card p { font-size: .72rem; }
      #tours .glass-card h3 { font-size: 1rem; }

      #snakes .glass-card > div:first-child > div:first-child,
      #transfers .glass-card > div:first-child > div:first-child,
      #hotels .glass-card > div:first-child > div:first-child { height: 250px; }
      /* The full-width Snake Show card is a visual feature on desktop;
         give its portrait source a taller, more balanced image window. */
      #snakes .glass-card:nth-child(3) > div:first-child > div:first-child { height: 360px; }
      /* Give the Tame Snake card a little more image presence while keeping
         the full-width Live Action card as the visual anchor. */
      #snakes .glass-card:nth-child(2) > div:first-child > div:first-child { height: 320px; }
      #snakes .glass-card h3,
      #transfers .glass-card h3,
      #hotels .glass-card h3 { font-size: 1.2rem; }
      #gallery .glass-card > div:first-child { height: 190px; }
      #contact > div[class*="max-w-7xl"] > div[class*="grid-cols-4"] { gap: 18px; }
      #contact > div[class*="max-w-7xl"] > div[class*="grid-cols-4"] > a { min-height: 96px; }

      /* Desktop has a fine pointer, so hover adds restrained lift instead of
         relying on motion for meaning or access. */
      .glass-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
      .glass-card:hover {
        transform: translateY(-4px);
        border-color: rgba(56, 189, 248, .55);
        box-shadow: 0 18px 36px rgba(2, 18, 42, .22);
      }
    }

    /* Desktop hierarchy: keep the brand on the first row and give the complete
       navigation its own full-width second row. */
    @media (min-width: 1200px) {
      header .hk-brand-row {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        row-gap: 8px;
        align-items: center;
      }
      .hk-brand-lockup { grid-column: 1; grid-row: 1; }
      header .hk-main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 10px;
        padding-top: 4px;
        border-top: 1px solid rgba(56, 189, 248, .12);
      }
      .hk-main-nav a {
        padding-inline: 8px;
        text-align: center;
        font-size: .78rem;
      }
    }

    @media (min-width: 1600px) {
      section > div[class*="max-w-7xl"] { max-width: 1360px; }
      section:first-of-type > div[class*="max-w-7xl"] { max-width: 1360px; }
      #hero-slider { height: 35rem; }
      #snakes .glass-card:nth-child(3) > div:first-child > div:first-child { height: 390px; }
      #snakes .glass-card:nth-child(2) > div:first-child > div:first-child { height: 350px; }
    }
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    ::-webkit-scrollbar-track {
      background: rgba(7, 26, 54, 0.8);
    }
    ::-webkit-scrollbar-thumb {
      background: rgba(14, 165, 233, 0.4);
      border-radius: 9999px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: rgba(245, 158, 11, 0.8);
    }
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    .glass-card {
      background: rgba(9, 34, 68, 0.75);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(56, 189, 248, 0.2);
    }
    .glass-card:hover {
      border-color: rgba(56, 189, 248, 0.5);
    }

    /* Slow reflective sweep for the additional-transfer CTA. */
    #transfer-more-cta {
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }
    #transfer-more-cta::after {
      content: "";
      position: absolute;
      z-index: 0;
      top: -55%;
      left: -18%;
      width: 16%;
      height: 210%;
      pointer-events: none;
      opacity: 0;
      background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.04) 35%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.04) 65%, transparent 100%);
      transform: translateX(-240%) skewX(-18deg);
      animation: hk-transfer-shine 8s ease-in-out infinite;
    }
    #transfer-more-cta > * {
      position: relative;
      z-index: 1;
    }
    @keyframes hk-transfer-shine {
      0%, 48% { opacity: 0; transform: translateX(-240%) skewX(-18deg); }
      54% { opacity: 1; }
      68%, 100% { opacity: 0; transform: translateX(850%) skewX(-18deg); }
    }

    /* Wildlife image crops: reveal faces and give the subjects comfortable
       headroom without changing the card dimensions. */
    #snakes .glass-card:nth-child(1) img { object-position: center 18%; }
    #snakes .glass-card:nth-child(2) img { object-position: center 20%; }
    #snakes .glass-card:nth-child(3) img { object-position: center 22%; }

    /* Change tracking: 2026-09-03 CTA reliability fix; keep section geometry
       stable so quote buttons always land on the contact form. */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
      }
    }
/* Mobile performance: defer layout/paint for long sections below the fold. */
@media (max-width: 768px) {
  /* Reduce GPU work on touch devices while preserving the ocean-glass palette. */
  #ambient-mesh-1,
  #ambient-mesh-2,
  #ambient-mesh-3 {
    filter: blur(72px) !important;
    opacity: .2 !important;
  }
  [class*="backdrop-blur"] {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .hk-mobile-call {
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: .75rem;
    background: rgba(8, 47, 73, .55);
  }
  .hk-mobile-call .hk-phone-number { display: none; }
  main > section:not(:first-child),
  footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }
}
