.site-shell-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1200;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}

.site-shell-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 31, 63, .08);
  padding: 12px 0;
}

.site-shell-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-shell-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(201, 168, 76, .28), rgba(201, 168, 76, .12));
  color: var(--ui-accent);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, .2);
  flex-shrink: 0;
}

.site-shell-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.site-shell-brand-name {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: color .35s ease;
}

.site-shell-brand-sub {
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: color .35s ease;
}

.site-shell-header.is-scrolled .site-shell-brand-name {
  color: var(--ui-text-heading);
}

.site-shell-header.is-scrolled .site-shell-brand-sub {
  color: var(--ui-text-light);
}

.site-shell-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-shell-link,
.site-shell-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}

.site-shell-link:hover,
.site-shell-trigger:hover {
  color: #fff;
}

.site-shell-header.is-scrolled .site-shell-link,
.site-shell-header.is-scrolled .site-shell-trigger {
  color: var(--ui-text-body);
}

.site-shell-header.is-scrolled .site-shell-link:hover,
.site-shell-header.is-scrolled .site-shell-trigger:hover {
  color: var(--ui-text-heading);
}

.site-shell-caret {
  font-size: .7em;
}

.site-shell-dropdown {
  position: relative;
}

.site-shell-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(0, 31, 63, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.site-shell-dropdown:hover .site-shell-menu,
.site-shell-dropdown:focus-within .site-shell-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-shell-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ui-text-body);
  font-size: .88rem;
  font-weight: 500;
}

.site-shell-menu a:hover {
  background: var(--ui-bg-secondary);
  color: var(--ui-text-heading);
}

.site-shell-cta {
  white-space: nowrap;
}

.site-shell-toggle {
  display: none;
  position: relative;
  z-index: 1202;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
}

.site-shell-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease, background .25s ease;
}

.site-shell-header.is-scrolled .site-shell-toggle {
  background: rgba(0, 31, 63, .05);
}

.site-shell-header.is-scrolled .site-shell-toggle span {
  background: var(--ui-text-heading);
}

.site-shell-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(0, 16, 36, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

body.site-shell-menu-open {
  overflow: hidden;
}

body.site-shell-menu-open .site-shell-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.has-site-shell .page-hero .hero-content,
body.has-site-shell .yacht-hero-content {
  padding-top: clamp(150px, 22vw, 188px);
}

@media (max-width: 900px) {
  .site-shell-toggle {
    display: inline-block;
  }

  .site-shell-links {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 1rem);
    right: 1rem;
    z-index: 1201;
    width: min(320px, calc(100vw - 2rem));
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 2rem);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 84px 22px 22px;
    border: 1px solid rgba(0, 31, 63, .1);
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 54px rgba(0, 31, 63, .16);
    transform: translateX(calc(100% + 2rem));
    transition: transform .35s ease;
  }

  .site-shell-links.is-open {
    transform: translateX(0);
  }

  .site-shell-link,
  .site-shell-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--ui-text-heading);
    border-bottom: 1px solid var(--ui-border);
  }

  .site-shell-dropdown {
    width: 100%;
  }

  .site-shell-menu {
    position: static;
    min-width: 0;
    padding: 4px 0 12px 14px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-shell-menu a {
    padding: 8px 0;
  }

  .site-shell-cta {
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
  }

  body.has-site-shell .page-hero .hero-content,
  body.has-site-shell .yacht-hero-content {
    padding-top: 168px;
  }
}
