/* ════════════════════════════════════════════════════════════════════════
   PRO NAVBAR — horizontal nav + mega menus + sticky shrink + overlay menu
   ════════════════════════════════════════════════════════════════════════ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 30;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
  box-shadow: 0 0 8px var(--gold-glow);
  transition: width 0.1s linear;
}

/* Header — sticky with shrink-on-scroll */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 25;
  background: rgba(7,7,10,0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7,7,10,0.92);
  border-bottom-color: rgba(201,169,106,0.18);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(8px, 2vw, 24px);
  transition: padding 0.3s var(--ease);
}
.brand-letterpress {
  margin-left: clamp(6px, 1.5vw, 24px);
}
@media (min-width: 961px) {
  /* On desktop, burger lives inside .primary-nav; mobile burger hidden */
  .header-inner { grid-template-columns: auto 1fr; }
  .primary-nav { justify-self: end; }
  .menu-btn.menu-btn-mobile { display: none !important; }
}
@media (max-width: 960px) {
  /* On mobile, hide nav-burger (inside hidden primary-nav); show mobile burger */
  .menu-btn.menu-btn-mobile { display: inline-flex; justify-self: end; }
}
.site-header.is-scrolled .header-inner { padding: 10px 0; }
.site-header.is-scrolled .brand-logo { height: 32px; }

/* ─── Logo: Letterpress masthead (Vogue / Vincent Van Duysen / Aman Resorts) ─ */
.brand-letterpress {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: opacity 0.3s var(--ease);
  line-height: 1;
}
.brand-letterpress:hover { text-decoration: none; color: inherit; opacity: 0.88; }

.lp-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  letter-spacing: clamp(0.18em, 0.4vw, 0.32em);
  text-indent: clamp(0.18em, 0.4vw, 0.32em);  /* compensate trailing letter-spacing */
  color: var(--ink-1);
  text-transform: uppercase;
  display: inline-block;
  background: linear-gradient(180deg, var(--ink-1) 0%, var(--ink-1) 55%, rgba(245,245,247,0.78) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  transition: letter-spacing 0.5s var(--ease);
}
.brand-letterpress:hover .lp-mark { letter-spacing: clamp(0.22em, 0.5vw, 0.38em); }

.lp-rule {
  display: block;
  height: 1px;
  width: clamp(48px, 8vw, 100px);
  background: linear-gradient(90deg, transparent, var(--gold-300) 30%, var(--gold-300) 70%, transparent);
  transition: width 0.5s var(--ease);
}
.brand-letterpress:hover .lp-rule { width: clamp(60px, 10vw, 120px); }

.lp-tag {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.5rem, 0.8vw, 0.62rem);
  letter-spacing: clamp(0.18em, 0.34vw, 0.28em);
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.4s var(--ease);
}
.brand-letterpress:hover .lp-tag { color: var(--gold-500); }

/* Sticky shrink */
.site-header.is-scrolled .lp-mark { font-size: clamp(1rem, 1.8vw, 1.45rem); }
.site-header.is-scrolled .lp-rule { width: clamp(38px, 6vw, 80px); }
.site-header.is-scrolled .lp-tag { font-size: clamp(0.46rem, 0.7vw, 0.56rem); }

/* Body offset so content doesn't hide under fixed header (regular pages) */
body { padding-top: 76px; }
@media (max-width: 720px) { body { padding-top: 64px; } }

/* Cinematic hero — pull under translucent header so photo is full-bleed */
.cine-hero {
  margin-top: -76px;
  padding-top: 76px;
}
@media (max-width: 720px) {
  .cine-hero { margin-top: -64px; padding-top: 64px; }
}

/* Project hero & service hero same treatment */
.project-hero, .hero {
  margin-top: -76px;
  padding-top: calc(76px + 60px);
}
@media (max-width: 720px) {
  .project-hero, .hero { margin-top: -64px; padding-top: calc(64px + 48px); }
}

/* ─── Primary nav (horizontal, desktop) ──────────────────────────────── */
.primary-nav {
  justify-self: center;
  position: relative;
}
.primary-nav > ul {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0;
  gap: 4px;
}
.primary-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav > ul > li > a .caret {
  opacity: 0.5;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.primary-nav > ul > li > a:hover { background: rgba(255,255,255,0.04); color: var(--ink-1); }
.primary-nav > ul > li.is-open > a { background: rgba(201,169,106,0.08); color: var(--gold-300); }
.primary-nav > ul > li.is-open > a .caret { transform: rotate(180deg); opacity: 1; }
.primary-nav > ul > li > a.is-active::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold-300);
}
.primary-nav > ul > li > a.is-active { color: var(--gold-300); }
.primary-nav > ul > li { position: relative; }

@media (max-width: 960px) {
  .primary-nav { display: none; }
}

/* Phone CTA — *0210 quick-dial */
.nav-call { display: flex; align-items: center; }
.phone-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(201,169,106,0.32);
  border-radius: 999px;
  background: rgba(201,169,106,0.04);
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.18s var(--ease);
}
.phone-cta:hover {
  background: var(--gold-300);
  color: #07070a;
  border-color: var(--gold-300);
  text-decoration: none;
  transform: translateY(-1px);
}
.phone-cta:active { transform: scale(0.96); }
.phone-icon { display: inline-flex; align-items: center; }
.phone-icon svg { display: block; }
@media (max-width: 540px) {
  .phone-cta { padding: 6px 12px; font-size: 0.78rem; gap: 6px; }
  .phone-icon svg { width: 14px; height: 14px; }
}

/* Mobile-only phone CTA (next to logo on small screens) */
.phone-cta-mobile { display: none; }
@media (max-width: 960px) {
  .phone-cta-mobile { display: inline-flex; justify-self: end; }
  .header-inner { grid-template-columns: auto auto; gap: 12px; }
}
@media (min-width: 961px) {
  .phone-cta-mobile { display: none !important; }
}

/* Vertical divider between nav links and burger button */
.nav-divider {
  display: flex; align-items: center;
  pointer-events: none;
  padding: 0 8px;
}
.nav-divider span {
  display: block; width: 1px; height: 24px;
  background: rgba(255,255,255,0.12);
}

/* Burger button inside the horizontal nav (replaces former right cluster) */
.nav-burger { display: flex; align-items: center; }
.nav-burger .menu-btn { margin-left: 4px; }

/* Menu button base style (used by both desktop nav-burger + mobile floating) */
.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(201,169,106,0.28);
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.menu-btn span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--ink-1);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), background 0.2s var(--ease), width 0.25s var(--ease);
  margin-left: auto;
}
.menu-btn span:nth-child(2) { width: 70%; }
.menu-btn span:nth-child(3) { width: 85%; }
.menu-btn:hover {
  border-color: var(--gold-300);
  background: rgba(201,169,106,0.08);
  transform: translateY(-1px);
}
.menu-btn:hover span { background: var(--gold-300); width: 100%; }
.menu-btn:active { transform: scale(0.95); }
.menu-btn[aria-expanded="true"] span { background: var(--gold-300); width: 100%; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mega menu panel ──────────────────────────────────────────────── */
.mega-panel {
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: rgba(10,10,14,0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(201,169,106,0.18);
  border-bottom: 1px solid var(--line-faint);
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
  z-index: 24;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.mega-panel[aria-hidden="false"] {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-header.is-scrolled ~ .mega-panel,
.site-header.is-scrolled + * .mega-panel { top: 56px; }
.mega-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 36px 20px;
}
.mega-left .eyebrow { margin: 0 0 16px; }
.mega-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.mega-links li a {
  display: block;
  padding: 10px 0;
  font-size: 0.96rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-faint);
  transition: color 0.2s var(--ease), padding-left 0.3s var(--ease);
}
.mega-links li a:hover { color: var(--gold-300); padding-left: 8px; }
.mega-links li:last-child a { border-bottom: 0; }

.mega-right {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.mega-card {
  display: flex; flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-rise);
  border: 1px solid var(--line-faint);
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.mega-card:hover { transform: translateY(-3px); border-color: var(--gold-700); }
.mega-card-photo {
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
}
.mega-card-meta { padding: 12px 14px 14px; }
.mega-card-pill {
  display: inline-block;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(201,169,106,0.1); border: 1px solid rgba(201,169,106,0.28);
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 8px;
}
.mega-card-name {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 500;
  color: var(--ink-1);
  margin: 0; line-height: 1.25;
}
.mega-card-rate {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .mega-right { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Header right cluster ────────────────────────────────────────── */
.header-cluster {
  display: flex; align-items: center; gap: 10px;
  justify-self: end;
}
.header-login {
  padding: 8px 16px;
  border: 1px solid rgba(201,169,106,0.28);
  border-radius: 999px;
  color: var(--ink-1);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.header-login:hover { border-color: var(--gold-300); background: rgba(201,169,106,0.08); color: var(--gold-300); }
@media (max-width: 540px) {
  .header-login { padding: 6px 12px; font-size: 0.78rem; }
}

/* ─── Full-screen overlay mobile menu ──────────────────────────────── */
.overlay-menu {
  position: fixed; inset: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(7,7,10,0.96), rgba(7,7,10,0.99));
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.overlay-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.overlay-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,106,0.28);
  color: var(--ink-1);
  font-size: 1.8rem; line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.overlay-close:hover { color: var(--gold-300); border-color: var(--gold-300); }

.overlay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
@media (max-width: 860px) { .overlay-grid { grid-template-columns: 1fr; } }

.overlay-nav {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 8% 60px;
  gap: 32px;
}
.overlay-section-eyebrow {
  color: var(--gold-500);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.overlay-list { list-style: none; padding: 0; margin: 0; }
.overlay-item { border-top: 1px solid rgba(255,255,255,0.06); }
.overlay-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
.overlay-item a {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  text-decoration: none;
  color: var(--ink-1);
  transition: padding-left 0.4s var(--ease);
}
.overlay-menu.is-open .overlay-item a {
  animation: overlayItemIn 0.5s var(--ease) backwards;
}
.overlay-menu.is-open .overlay-item:nth-child(1) a { animation-delay: 0.15s; }
.overlay-menu.is-open .overlay-item:nth-child(2) a { animation-delay: 0.22s; }
.overlay-menu.is-open .overlay-item:nth-child(3) a { animation-delay: 0.29s; }
.overlay-menu.is-open .overlay-item:nth-child(4) a { animation-delay: 0.36s; }
.overlay-menu.is-open .overlay-item:nth-child(5) a { animation-delay: 0.43s; }
.overlay-menu.is-open .overlay-item:nth-child(6) a { animation-delay: 0.50s; }
@keyframes overlayItemIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
.overlay-item a:hover { padding-left: 12px; color: var(--gold-300); }
.overlay-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.2rem; color: var(--gold-500);
  opacity: 0.7;
}
.overlay-label {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.overlay-side {
  position: relative;
  background: var(--bg-1);
  overflow: hidden;
}
.overlay-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.4;
  filter: saturate(110%) contrast(105%);
}
.overlay-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,7,10,0.4), rgba(7,7,10,0.85));
}
.overlay-side-meta {
  position: relative; z-index: 2;
  padding: 80px 8% 60px;
  display: flex; flex-direction: column; gap: 24px;
  height: 100%;
  justify-content: flex-end;
}
.overlay-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink-1);
  margin: 0;
  max-width: 480px;
}
.overlay-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.overlay-contact a {
  color: var(--ink-2);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.overlay-contact a:hover { color: var(--gold-300); }

body.menu-open { overflow: hidden; }

/* ─── Overlay settings section (language, account, contact inside menu) ── */
.overlay-settings {
  display: flex; flex-direction: column;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.overlay-setting-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.overlay-setting-row:last-child { border-bottom: 0; }
.overlay-setting-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.overlay-lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
}
.overlay-lang-opt {
  padding: 6px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.overlay-lang-opt:hover { color: var(--ink-1); background: rgba(255,255,255,0.04); }
.overlay-lang-opt.is-active {
  background: var(--gold-300);
  color: #07070a;
  font-weight: 600;
}

.overlay-account-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(201,169,106,0.28);
  border-radius: 999px;
  color: var(--ink-1);
  font-size: 0.86rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.overlay-account-chip:hover {
  border-color: var(--gold-300);
  background: rgba(201,169,106,0.08);
  color: var(--gold-300);
}
.overlay-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-700));
  color: #07070a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
}
.overlay-account-chip .arrow { color: var(--gold-300); opacity: 0.7; }

.overlay-contact-inline {
  display: inline-flex; flex-wrap: wrap; gap: 14px;
  align-items: center;
}
.overlay-contact-inline a {
  color: var(--ink-2);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
}
.overlay-contact-inline a:hover { color: var(--gold-300); }
.overlay-contact-inline a:not(:last-child)::after {
  content: '·';
  margin-left: 14px;
  color: var(--ink-3);
  opacity: 0.5;
}

@media (max-width: 540px) {
  .overlay-nav { padding: 70px 6% 40px; gap: 24px; }
  .overlay-setting-row { padding: 10px 0; gap: 10px; }
  .overlay-setting-label { font-size: 0.7rem; letter-spacing: 0.14em; }
  .overlay-lang-opt { padding: 5px 10px; font-size: 0.72rem; }
  .overlay-account-chip { padding: 6px 12px; font-size: 0.8rem; }
  .overlay-contact-inline a { font-size: 0.8rem; }
}

/* ─── Bottom dock nav (mobile floating premium pill with raised CTA) ──── */
.dock-nav {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 8px 10px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(24,24,30,0.94), rgba(10,10,14,0.98));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid rgba(201,169,106,0.22);
  border-left: 0; border-right: 0; border-bottom: 0;
  box-shadow:
    0 -8px 32px rgba(0,0,0,0.55),
    0 -1px 0 rgba(255,255,255,0.04) inset;
  align-items: center;
  /* Eliminate 300ms tap delay + instant touch response */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.dock-nav a, .dock-nav button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.dock-nav::before {
  /* top sheen */
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,106,0.55), transparent);
  pointer-events: none;
}

/* Reset for button-based dock items (e.g. dock-menu) */
button.dock-item {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Regular dock items (4 around the center CTA) — fluid scaling */
.dock-item {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(2px, 0.5vw, 4px);
  padding: clamp(6px, 1.6vw, 10px) clamp(2px, 0.5vw, 4px) clamp(4px, 1.2vw, 8px);
  min-height: clamp(48px, 12vw, 58px);
  color: var(--ink-3);
  font-size: clamp(0.5rem, 1.4vw, 0.62rem);
  letter-spacing: clamp(0.04em, 0.2vw, 0.08em);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 20px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.dock-item .dock-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(22px, 5.6vw, 28px);
  height: clamp(22px, 5.6vw, 28px);
  transition: transform 0.25s var(--ease);
}
.dock-item .dock-icon svg {
  width: clamp(18px, 4.8vw, 22px);
  height: clamp(18px, 4.8vw, 22px);
}
.dock-item::before {
  /* active gold dot */
  content: '';
  position: absolute; top: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 10px var(--gold-glow);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.dock-item:hover { color: var(--ink-1); }
.dock-item:active {
  transform: scale(0.88);
  background: rgba(201,169,106,0.18);
  color: var(--gold-300);
  transition: transform 0s, background 0s, color 0s !important;
}
/* Instant tap feedback during navigation wait */
.dock-item.is-tapping {
  background: rgba(201,169,106,0.28) !important;
  color: var(--gold-300) !important;
}
.dock-item.active {
  color: var(--gold-300);
  background: radial-gradient(80% 100% at 50% 100%, rgba(201,169,106,0.22), rgba(201,169,106,0.04) 60%, transparent 100%);
}
.dock-item.active::before { opacity: 1; transform: scale(1); }
.dock-item.active .dock-icon { transform: translateY(-2px); }
.dock-item .dock-label { font-weight: 600; font-size: clamp(0.5rem, 1.4vw, 0.62rem); line-height: 1.15; }
.dock-item svg { transition: stroke-width 0.2s var(--ease); }
.dock-item.active svg { stroke-width: 2; }

/* Center CTA — quiet luxury (no pulse, no raised bubble, no caps) */
.dock-cta {
  position: relative;
  flex: 0 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 6px 0;
  text-decoration: none;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.4s var(--ease);
}
.dock-cta-bubble {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(36px, 9vw, 44px);
  height: clamp(36px, 9vw, 44px);
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(201,169,106,0.45);
  color: var(--gold-300);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.dock-cta:hover .dock-cta-bubble,
.dock-cta[aria-expanded="true"] .dock-cta-bubble {
  background: rgba(201,169,106,0.08);
  border-color: var(--gold-300);
}
.dock-cta:hover, .dock-cta[aria-expanded="true"] { color: var(--gold-300); }
.dock-cta-label {
  font-family: var(--font-display);
  font-size: clamp(0.5rem, 1.4vw, 0.62rem);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1.15;
  max-width: clamp(70px, 18vw, 92px);
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .dock-nav { display: flex; }
  body { padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .dock-item, .dock-cta-bubble, .dock-item .dock-icon { transition: none; }
  .dock-cta-bubble { animation: none; }
}

/* ─── Tablet/mobile header tweaks ───────────────────────────────────── */
@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 720px) {
  .header-inner { padding: 12px 0; gap: 12px; }
  .header-cluster { gap: 6px; }
  .scroll-progress { height: 1.5px; }
}

/* ─── Hide old side-menu CSS conflicts ──────────────────────────────── */
.site-nav { display: none !important; } /* removed in favor of primary-nav + header-cluster */
.site-header > .container.header-inner ~ * { display: none; }

/* Dock CTA — 3-action popover menu */
.dock-cta-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.dock-cta-menu {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 230px;
  padding: 8px;
  background: rgba(7,7,10,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-faint);
  border-radius: 14px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s;
  z-index: 26;
}
.dock-cta-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.dock-cta-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink-1);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 0.25s var(--ease);
}
.dock-cta-action:hover {
  background: rgba(255,255,255,0.05);
  color: var(--ink-1);
  text-decoration: none;
}
.dock-cta-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(201,169,106,0.1);
  border: 1px solid rgba(201,169,106,0.25);
  color: var(--gold-300);
  flex-shrink: 0;
}
/* Arrow pointer under menu */
.dock-cta-menu::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(7,7,10,0.96);
  border-right: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}
