.site-header {
  position: sticky;
  isolation: isolate;
  z-index: 50;
  top: 0;
  width: 100%;
  padding: 0;
  background: rgba(5, 24, 17, .96);
  color: #fff;
  transition: .35s;
}

.site-header .theme-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(241, 196, 93, .55);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #f1c45d;
  transition: background .2s, border-color .2s, box-shadow .2s;
}

.site-header .theme-toggle:hover,
.site-header .theme-toggle:focus-visible {
  border-color: #f1c45d;
  background: rgba(241, 196, 93, .12);
  box-shadow: 0 0 14px rgba(241, 196, 93, .45);
}

.site-header .theme-toggle:focus-visible {
  outline: 2px solid #f1c45d;
  outline-offset: 3px;
}

.site-header .theme-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-header .nav-links > a:not(.nav-cta)::after,
.site-header .nav-dropdown-toggle::after {
  content: "✦";
  position: absolute;
  top: -8px;
  right: -5px;
  z-index: 1;
  color: #f1c45d;
  font-size: 11px;
  line-height: 1;
  text-shadow: -20px 18px 0 #d6a843, 14px 25px 0 #fff;
  opacity: 0;
  pointer-events: none;
  transform: scale(.45) rotate(-35deg);
  transition: opacity .2s, transform .3s;
}

.site-header .nav-links > a:not(.nav-cta):hover::after,
.site-header .nav-links > a:not(.nav-cta).active::after,
.site-header .nav-links > a:not(.nav-cta):focus-visible::after,
.site-header .nav-dropdown:hover .nav-dropdown-toggle::after,
.site-header .nav-dropdown:focus-within .nav-dropdown-toggle::after,
.site-header .nav-dropdown.is-current .nav-dropdown-toggle::after {
  opacity: 1 !important;
  transform: scale(1) rotate(0);
  animation: nav-sparkle-twinkle 1.6s ease-in-out infinite alternate;
}

@keyframes nav-sparkle-twinkle {
  to { filter: brightness(1.6); transform: scale(.82) rotate(18deg); }
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(3, 19, 14, .22);
  pointer-events: none;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header.scrolled {
  background: rgba(5, 24, 17, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px #0002;
}

.site-header .header-contact-row {
  position: relative;
  min-height: 26px;
  background: #0f3b2a;
  border-top: 1px solid #ffffff18;
  border-bottom: 1px solid #ffffff18;
}

.site-header .header-contact-content {
  width: min(1400px, 96%);
  min-height: 24px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header .header-contact-track,
.site-header .header-contact-group {
  display: contents;
}

.site-header .header-contact-group[aria-hidden="true"] {
  display: none;
}

.site-header .header-contact-content::-webkit-scrollbar {
  display: none;
}

.site-header .header-contact-content a {
  white-space: nowrap;
  color: #d8e2dc;
  font-size: 8px;
  font-weight: 500;
}

.site-header .nav {
  position: relative;
  z-index: 2;
  width: min(1400px, 96%);
  height: 72px;
  min-height: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}

.site-header .brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid #d6a843;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f1c45d;
  font: 800 13px "Plus Jakarta Sans", Arial, sans-serif;
}

.site-header .brand strong {
  display: block;
  color: #fff;
  font: 800 15px "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: .04em;
}

.site-header .brand small {
  display: block;
  color: #f1c45d;
  font: 700 7px "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: .16em;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font: 600 12px "Plus Jakarta Sans", Arial, sans-serif;
}

.site-header .nav-links > a:not(.nav-cta),
.site-header .nav-dropdown-toggle {
  position: relative;
  z-index: 0;
  overflow: visible;
  isolation: isolate;
  padding: 8px 10px;
  border-radius: 8px;
  color: inherit;
  opacity: .8;
  transition: color .25s, opacity .25s, text-shadow .25s, filter .25s, box-shadow .25s;
}

.site-header .nav-links > a:not(.nav-cta)::before,
.site-header .nav-dropdown-toggle::before {
  content: none;
}

.site-header .nav-links > a:not(.nav-cta):hover,
.site-header .nav-links > a:not(.nav-cta).active,
.site-header .nav-links > a:not(.nav-cta):focus-visible,
.site-header .nav-dropdown:hover .nav-dropdown-toggle,
.site-header .nav-dropdown:focus-within .nav-dropdown-toggle,
.site-header .nav-dropdown.is-current .nav-dropdown-toggle {
  color: #f1c45d !important;
  opacity: 1;
  text-shadow: 0 0 7px rgba(241, 196, 93, .75), 0 0 18px rgba(214, 168, 67, .55);
  filter: drop-shadow(0 0 5px rgba(241, 196, 93, .38));
  box-shadow: 0 0 14px rgba(241, 196, 93, .3);
}

.site-header .nav-links > a.active:not(.nav-cta),
.site-header .nav-dropdown.is-current .nav-dropdown-toggle {
  box-shadow: 0 0 12px rgba(241, 196, 93, .2);
}

.site-header .nav-dropdown {
  position: relative;
}

.site-header .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-header .nav-dropdown-toggle:focus-visible,
.site-header .nav-links > a:focus-visible {
  outline: 2px solid #f1c45d;
  outline-offset: 2px;
}

.site-header .nav-dropdown-toggle span {
  font-size: 16px;
  line-height: 1;
  transition: transform .2s;
}

.site-header .nav-dropdown.open .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

.site-header .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -17px;
  z-index: 60;
  display: grid;
  min-width: 255px;
  padding: 8px;
  background: #fff;
  color: #09251b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.site-header .nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: #09251b;
  font-size: 11px;
  font-weight: 700;
}

.site-header .nav-dropdown-menu a:hover,
.site-header .nav-dropdown-menu a:focus-visible {
  background: #f4ecd9;
  color: #785615;
  outline: 0;
}

.site-header .nav-dropdown:hover .nav-dropdown-menu,
.site-header .nav-dropdown:focus-within .nav-dropdown-menu,
.site-header .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 19px;
  border-radius: 30px;
  background: #d6a843;
  color: #101510 !important;
  font-weight: 800;
  white-space: nowrap;
}

.site-header .menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.site-header .menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 5px;
  background: #fff;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: #d6a843;
  color: #09251b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: #f1c45d;
}

.back-top:focus-visible {
  outline: 2px solid #09251b;
  outline-offset: 3px;
}

.back-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 650px) {
  .back-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

html {
  scrollbar-color: #bfc4c8 #111318;
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

html::-webkit-scrollbar-track {
  border-left: 1px solid #aeb4b8;
  border-right: 1px solid #363b40;
  background-color: #111318;
  background-image:
    linear-gradient(90deg, transparent 6px, #70777d 6px 7px, transparent 7px),
    repeating-linear-gradient(180deg, transparent 0 9px, #b8bdc1 9px 10px, transparent 10px 20px);
  background-position: center, center;
  background-size: 100% 100%, 7px 100%;
  background-repeat: no-repeat, no-repeat;
}

html::-webkit-scrollbar-thumb {
  min-height: 52px;
  border: 1px solid #555b60;
  border-radius: 10px;
  background-color: #111318;
  background-image: url("../assets/scrollbar.jpeg");
  background-position: center 35%;
  background-repeat: no-repeat;
  background-size: auto 1086px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 0 4px rgba(0, 0, 0, .8);
}

html::-webkit-scrollbar-thumb:hover {
  border-color: #e5e8ea;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 7px rgba(214, 220, 224, .55);
}

html::-webkit-scrollbar-button:single-button {
  display: block;
  height: 16px;
  border: 1px solid #4b5156;
  background-color: #111318;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

html::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-radius: 50%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23464c51' d='M8 3 2 11h12L8 3Z'/%3E%3C/svg%3E"),
    radial-gradient(circle at 38% 32%, #fff 0%, #c7ccd0 42%, #737a80 68%, #24282c 71%);
}

html::-webkit-scrollbar-button:single-button:vertical:increment {
  border-radius: 50%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23464c51' d='m8 13 6-8H2l6 8Z'/%3E%3C/svg%3E"),
    radial-gradient(circle at 38% 32%, #fff 0%, #c7ccd0 42%, #737a80 68%, #24282c 71%);
}

html::-webkit-scrollbar-corner {
  background: #111318;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8eee9;
  --muted: #aebbb3;
  --cream: #111d17;
  --white: #17251e;
  --border: rgba(220, 235, 225, .14);
  --shadow: 0 22px 60px rgba(0, 0, 0, .32);
  background: #0b1510;
}

html[data-theme="dark"] body {
  color: var(--ink);
  background: #0b1510;
}

html[data-theme="dark"] .activities,
html[data-theme="dark"] .about-principles,
html[data-theme="dark"] .about-purpose,
html[data-theme="dark"] .hotel-story,
html[data-theme="dark"] .investment-intro,
html[data-theme="dark"] .investment-process {
  background: #0e1913;
}

html[data-theme="dark"] .business-card,
html[data-theme="dark"] .process > div,
html[data-theme="dark"] .location,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .about-principle,
html[data-theme="dark"] .info-table,
html[data-theme="dark"] .investment-service {
  background: #17251e;
  color: var(--ink);
}

html[data-theme="dark"] .business-card:hover,
html[data-theme="dark"] .investment-service:hover,
html[data-theme="dark"] .service-card:hover {
  background: #1c3025;
}

html[data-theme="dark"] .card-body ul,
html[data-theme="dark"] .branch-detail li,
html[data-theme="dark"] .about-purpose .purpose-intro h2,
html[data-theme="dark"] .about-purpose .purpose-intro h2 span,
html[data-theme="dark"] .hotel-showcase-copy h1,
html[data-theme="dark"] .hotel-showcase-copy h1 span,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .service-signature-item strong,
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .approach-step h3,
html[data-theme="dark"] .contact-map > a,
html[data-theme="dark"] .text-link {
  color: var(--ink);
}

html[data-theme="dark"] .about-purpose .purpose-intro > p:last-child,
html[data-theme="dark"] .about-principle p,
html[data-theme="dark"] .investment-promise,
html[data-theme="dark"] .team-note,
html[data-theme="dark"] .location small,
html[data-theme="dark"] .section-heading > p,
html[data-theme="dark"] .service-signature-item span,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .approach-step p {
  color: var(--muted);
}

html[data-theme="dark"] .service-signature,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .approach-step {
  border-color: var(--border);
  background: #17251e;
}

html[data-theme="dark"] .services,
html[data-theme="dark"] .service-approach {
  background: #0e1913;
}

html[data-theme="dark"] .contact-form {
  background: #17251e;
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea,
html[data-theme="dark"] .contact-form select {
  border-color: #344a3d;
  background: #0e1913;
  color: var(--ink);
}

html[data-theme="dark"] .contact-form input::placeholder,
html[data-theme="dark"] .contact-form textarea::placeholder {
  color: #9baa9f;
}

html[data-theme="dark"] .info-table td {
  color: var(--ink);
}

html[data-theme="dark"] .page-nav a:hover {
  background: #17251e;
  color: var(--gold2);
}

html[data-theme="dark"] .feature-card .icon {
  background: #2a382b;
  color: var(--gold2);
}

html[data-theme="dark"] .nav-dropdown-menu {
  background: #17251e;
  color: var(--ink);
}

html[data-theme="dark"] .nav-dropdown-menu a {
  color: var(--ink);
}

html[data-theme="dark"] .nav-dropdown-menu a:hover,
html[data-theme="dark"] .nav-dropdown-menu a:focus-visible {
  background: #29392f;
  color: var(--gold2);
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links > a::after,
  .site-header .nav-dropdown-toggle::after {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-top {
    transition: none;
  }

  .site-header .nav-links > a::after,
  .site-header .nav-dropdown-toggle::after {
    animation: none !important;
  }
}

.legacy-layout {
  padding-top: 0;
}

@media (max-width: 900px) {
  .site-header .nav {
    width: 92%;
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .site-header .nav-links {
    position: static;
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 100%;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    padding: 12px 5% 18px;
    background: #061b13;
  }

  .site-header .nav-links.open {
    display: flex;
  }

  .site-header .nav-links > a:not(.nav-cta) {
    display: block;
    padding: 8px 0;
  }

  .site-header .nav-links > a:not(.nav-cta)::after,
  .site-header .nav-dropdown-toggle::after {
    top: 3px;
    right: 10px;
  }

  .site-header .nav-dropdown {
    width: 100%;
  }

  .site-header .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
  }

  .site-header .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 6px;
    padding: 5px 0;
    background: #103426;
    color: #fff;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-header .nav-dropdown.open .nav-dropdown-menu {
    display: grid;
  }

  .site-header .nav-dropdown-menu a:not(.nav-cta) {
    display: block;
    padding: 9px 14px;
    color: #d7e2dc;
  }

  .site-header .nav-dropdown-menu a:hover,
  .site-header .nav-dropdown-menu a:focus-visible {
    background: #1a4935;
    color: #fff;
  }

  .site-header .header-contact-content {
    justify-content: flex-start;
  }

  .site-header .nav-cta {
    text-align: center;
  }

  .site-header .theme-toggle {
    align-self: flex-end;
  }

  .site-header .menu-toggle {
    display: block;
  }
}

@media (max-width: 650px) {
  .site-header {
    padding: 0;
  }

  .site-header .nav {
    min-height: 64px;
  }

  .site-header .brand-mark {
    width: 36px;
    height: 36px;
  }

  .site-header .brand strong {
    font-size: 13px;
  }

  .site-header .brand small {
    font-size: 6px;
  }

  .site-header .menu-toggle span {
    width: 24px;
  }

  .site-header .header-contact-row {
    overflow: hidden;
  }

  .site-header .header-contact-content {
    width: 100%;
    max-width: none;
    min-height: 24px;
    margin: 0;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
  }

  .site-header .header-contact-track {
    display: flex;
    width: max-content;
    animation: contact-marquee 24s linear infinite;
  }

  .site-header .header-contact-group,
  .site-header .header-contact-group[aria-hidden="true"] {
    display: flex;
    flex: none;
    gap: 13px;
    padding-right: 13px;
  }

  .site-header .header-contact-row:hover .header-contact-track,
  .site-header .header-contact-content:focus-within .header-contact-track {
    animation-play-state: paused;
  }

  .site-header .header-contact-content a {
    font-size: 9px;
  }

}

@media (max-width: 650px) {
  .home-page .site-header .nav {
    min-height: 38px;
  }

  .home-page .site-header .header-contact-content {
    min-height: 16px;
  }

  .home-page .site-header .header-contact-row {
    min-height: 20px;
  }

  .home-page .site-header .brand-mark {
    width: 30px;
    height: 30px;
  }

  .home-page .site-header .brand strong {
    font-size: 10px;
  }

  .home-page .site-header .brand small {
    font-size: 5px;
    letter-spacing: .11em;
  }

  .home-page .site-header .menu-toggle span {
    width: 20px;
    margin: 5px;
  }

  .home-page .site-header .header-contact-content a {
    font-size: 8px;
    line-height: 12px;
  }
}

@keyframes contact-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 650px) and (prefers-reduced-motion: reduce) {
  .site-header .header-contact-row {
    overflow-x: auto;
  }

  .site-header .header-contact-content {
    width: 100%;
    max-width: none;
    overflow-x: auto;
  }

  .site-header .header-contact-track { animation: none; }
}
