/* =============================================================================
   KAREN BRAND GEMS — shared.css
   Design foundation: variables, reset, typography, top-bar, navbar,
   footer, buttons, loader, back-to-top, WhatsApp, utilities, responsive
   Import this file on every single page BEFORE any page-specific CSS.
   ============================================================================= */

/* ── GOOGLE FONTS ─────────────────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500;600&display=swap");

/* ── CSS CUSTOM PROPERTIES ───────────────────────────────────────────────── */
:root {
  /* Core palette */
  --teal-deep: #051818;
  --teal-mid: #0a2e2e;
  --teal-rich: #0e4040;
  --teal-bright: #1a6060;
  --teal-light: #6abfb8;
  --teal-pale: #a8d8d4;

  --gold: #c9a84c;
  --gold-light: #e2c97a;
  --gold-pale: #f0e4b8;
  --gold-dim: #8b6914;

  --cream: #f4f0e8;
  --white: #fafcfb;
  --text-dim: #4a7a74;
  --text-mid: #7ab0a8;

  --error: #d9534f;
  --success: #4caf7d;

  /* Border tokens */
  --border: rgba(106, 191, 184, 0.12);
  --border-mid: rgba(106, 191, 184, 0.22);
  --border-strong: rgba(106, 191, 184, 0.35);
  --border-gold: rgba(201, 168, 76, 0.25);
  --border-gold-mid: rgba(201, 168, 76, 0.45);

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  /* Layout */
  --container: 1280px;
  --topbar-height: 34px;
  --nav-height: 68px;
  --total-header: 102px; /* topbar + nav combined */

  /* Border radii */
  --radius-xs: 1px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;

  /* Z-index scale */
  --z-base: 1;
  --z-raised: 10;
  --z-nav: 100;
  --z-float: 200;
  --z-loader: 9999;

  /* Transitions */
  --ease-fast: 150ms ease;
  --ease-base: 250ms ease;
  --ease-slow: 420ms ease;
  --ease-spring: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.22);
  --shadow-gold-lg: 0 8px 36px rgba(201, 168, 76, 0.36);
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background-color: var(--teal-deep);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lock scroll while loader is active */
body.is-loading {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  line-height: 1.15;
}

/* ── PAGE LOADER ─────────────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--teal-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: loaderReveal 0.5s ease both;
}

.loader-gem-ring {
  position: relative;
  width: 58px;
  height: 58px;
}

.loader-gem-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  animation: loaderSpin 2.2s linear infinite;
}

.loader-gem-ring::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: loaderSpin 3.5s linear infinite reverse;
}

@keyframes loaderSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loader-gem-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-gold);
}

.loader-wordmark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.06em;
  text-align: center;
}

.loader-sub {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
}

.loader-track {
  width: 100px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  animation: loaderReveal 0.5s ease 0.15s both;
}

.loader-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: loaderProgress 0.85s ease 0.25s forwards;
}

@keyframes loaderReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* ── TOP BAR ─────────────────────────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-nav) + 1);
  height: var(--topbar-height);
  background: rgba(5, 24, 24, 0.98);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

/* Social icons — left */
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity var(--ease-base);
}

.topbar-socials a:hover {
  opacity: 1;
}

.topbar-socials img {
  width: 13px;
  height: 13px;
  object-fit: contain;
  filter: brightness(150%);
}

/* Center tagline */
.topbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}

.topbar-center strong {
  color: var(--gold);
  font-weight: 400;
}

/* Right — contact info */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.topbar-right a {
  color: var(--teal-light);
  transition: color var(--ease-base);
}

.topbar-right a:hover {
  color: var(--gold-light);
}

.topbar-sep {
  color: var(--border-mid);
  margin: 0 4px;
}

/* ── NAVBAR ──────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background: rgba(5, 24, 24, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition:
    background var(--ease-slow),
    border-color var(--ease-slow),
    box-shadow var(--ease-slow);
}

.navbar.scrolled {
  background: rgba(5, 24, 24, 0.98);
  border-bottom-color: rgba(201, 168, 76, 0.14);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}

/* ---- Logo ---- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  transition: border-color var(--ease-base);
}

.nav-logo:hover .nav-logo-img {
  border-color: var(--gold);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.nav-logo-sub {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 400;
}

/* ---- Desktop links ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 400;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--ease-base);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width var(--ease-slow);
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
  width: 100%;
}

/* ---- CTA button ---- */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  transition:
    background var(--ease-base),
    color var(--ease-base),
    border-color var(--ease-base),
    box-shadow var(--ease-base);
  flex-shrink: 0;
  font-family: var(--font-sans);
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--teal-deep);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ---- Hamburger ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition:
    transform var(--ease-base),
    opacity var(--ease-base),
    width var(--ease-base);
}

.nav-hamburger span:nth-child(1) {
  width: 22px;
}
.nav-hamburger span:nth-child(2) {
  width: 16px;
}
.nav-hamburger span:nth-child(3) {
  width: 22px;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  width: 22px;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 22px;
}

/* ---- Mobile drawer ---- */
.nav-mobile {
  position: fixed;
  top: var(--total-header);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(5, 24, 24, 0.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition:
    opacity var(--ease-slow),
    visibility var(--ease-slow),
    transform var(--ease-slow);
  pointer-events: none;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.nav-mobile-item {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-item:first-child {
  border-top: 1px solid var(--border);
}

.nav-mobile-item a {
  display: block;
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition:
    color var(--ease-base),
    background var(--ease-base);
}

.nav-mobile-item a:hover {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.04);
}

.nav-mobile-cta-wrap {
  margin-top: 32px;
}

.nav-mobile-cta {
  display: inline-block;
  padding: 13px 40px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  transition:
    background var(--ease-base),
    color var(--ease-base);
  font-family: var(--font-sans);
}

.nav-mobile-cta:hover {
  background: var(--gold);
  color: var(--teal-deep);
}

/* Offset body so content is not hidden behind fixed header */
.page-body {
  padding-top: var(--total-header);
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--teal-mid);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Gold shimmer line at very top */
footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 25%,
    var(--gold-light) 50%,
    var(--gold) 75%,
    transparent 100%
  );
  pointer-events: none;
}

/* Decorative background shape */
footer.site-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.05);
  pointer-events: none;
}

/* Main columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding: 60px 72px 52px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* -- Brand column -- */
.footer-brand {
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 230px;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color var(--ease-base),
    background var(--ease-base),
    transform var(--ease-spring);
}

.footer-social-link:hover {
  border-color: var(--border-gold-mid);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}

.footer-social-link img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(150%);
  opacity: 0.55;
  transition: opacity var(--ease-base);
}

.footer-social-link:hover img {
  opacity: 1;
}

/* -- Nav columns -- */
.footer-col {
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-title::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav-list a {
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition:
    color var(--ease-base),
    gap var(--ease-base);
}

.footer-nav-list a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition:
    width var(--ease-base),
    margin-right var(--ease-base);
  margin-right: 0;
}

.footer-nav-list a:hover {
  color: var(--gold-light);
}

.footer-nav-list a:hover::before {
  width: 12px;
  margin-right: 8px;
}

/* -- Contact column -- */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.footer-contact-icon {
  color: var(--gold);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  width: 14px;
  text-align: center;
}

.footer-contact-text {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.footer-contact-text a {
  color: var(--text-mid);
  transition: color var(--ease-base);
}

.footer-contact-text a:hover {
  color: var(--gold-light);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 72px;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-bottom-links a {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--ease-base);
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--ease-base),
    color var(--ease-base),
    border-color var(--ease-base),
    box-shadow var(--ease-base),
    transform var(--ease-base);
  -webkit-user-select: none;
  user-select: none;
}

.btn:active {
  transform: translateY(1px) !important;
}

/* Primary — gold fill */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--teal-deep);
  border-color: transparent;
  padding: 13px 30px;
  font-size: 11px;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-1px);
  color: var(--teal-deep);
}

/* Outline — gold border */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--border-gold);
  padding: 13px 30px;
  font-size: 11px;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--teal-deep);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* Ghost — text only */
.btn-ghost {
  background: transparent;
  color: var(--teal-light);
  border-color: transparent;
  padding: 13px 0;
  font-size: 11px;
}

.btn-ghost:hover {
  color: var(--cream);
  gap: 14px;
}

/* Teal fill */
.btn-teal {
  background: var(--teal-rich);
  color: var(--cream);
  border-color: var(--border-mid);
  padding: 13px 30px;
  font-size: 11px;
}

.btn-teal:hover {
  background: var(--teal-bright);
  border-color: var(--border-strong);
}

/* Size variants */
.btn-sm {
  padding: 9px 20px;
  font-size: 10px;
}
.btn-lg {
  padding: 15px 38px;
  font-size: 12px;
}

/* ── TICKER / MARQUEE ─────────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 46, 46, 0.35);
  padding: 14px 0;
}

.ticker-track {
  display: inline-flex;
  animation: kbg-ticker 34s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes kbg-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--gold);
  font-size: 5px;
  flex-shrink: 0;
  line-height: 1;
}

/* ── BACK TO TOP ─────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: var(--z-float);
  width: 42px;
  height: 42px;
  background: var(--teal-mid);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--ease-base),
    visibility var(--ease-base),
    transform var(--ease-spring),
    background var(--ease-base),
    box-shadow var(--ease-base);
  cursor: pointer;
  flex-shrink: 0;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--gold);
  color: var(--teal-deep);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.32);
}

/* Arrow icon */
#back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── WHATSAPP FLOATING BUTTON ─────────────────────────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-float);
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.38);
  transition:
    transform var(--ease-spring),
    box-shadow var(--ease-base);
  text-decoration: none;
  flex-shrink: 0;
}

#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.52);
}

#whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  flex-shrink: 0;
}

/* Tooltip */
#whatsapp-float::before {
  content: "Chat on WhatsApp";
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 24, 24, 0.96);
  color: var(--cream);
  font-size: 11px;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-base);
}

#whatsapp-float:hover::before {
  opacity: 1;
}

/* ── LAYOUT UTILITIES ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 72px;
}

.section-gap {
  padding: 88px 0;
}
.section-gap-sm {
  padding: 56px 0;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-gold) 25%,
    var(--border-gold-mid) 50%,
    var(--border-gold) 75%,
    transparent 100%
  );
}

/* ── SECTION TYPOGRAPHY ───────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.08;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
}

.section-header-left {
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  font-weight: 400;
  transition:
    color var(--ease-base),
    gap var(--ease-base);
  flex-shrink: 0;
}

.section-link:hover {
  color: var(--gold-light);
  gap: 13px;
}

/* ── PAGE INNER HERO (all pages except homepage) ──────────────────────────── */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--teal-mid) 0%,
    var(--teal-deep) 100%
  );
  padding: 72px 72px 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Decorative circles */
.page-hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.06);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.04);
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.page-hero p {
  font-size: 13px;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

/* Breadcrumb inside page hero */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--ease-base);
}

.breadcrumb a:hover {
  color: var(--teal-light);
}

.breadcrumb-sep {
  color: var(--border-mid);
  font-size: 10px;
}

.breadcrumb .breadcrumb-current {
  color: var(--gold);
}

/* ── SHARED CARD STYLES ───────────────────────────────────────────────────── */
.card-base {
  background: var(--teal-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform var(--ease-slow),
    box-shadow var(--ease-slow),
    border-color var(--ease-slow);
}

.card-base:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

/* ── SHARED FORM STYLES ───────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  font-weight: 500;
}

.form-label .required-star {
  color: var(--gold);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(14, 64, 64, 0.38);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  letter-spacing: 0.02em;
  transition:
    border-color var(--ease-base),
    background var(--ease-base),
    box-shadow var(--ease-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--border-gold-mid);
  background: rgba(14, 64, 64, 0.6);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.07);
}

.form-input.input-error,
.form-textarea.input-error {
  border-color: var(--error);
}

.form-error-msg {
  font-size: 11px;
  color: var(--error);
  letter-spacing: 0.04em;
  min-height: 16px;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-select option {
  background: var(--teal-mid);
  color: var(--cream);
}

/* ── SCROLL REVEAL ANIMATIONS ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}
.reveal-delay-5 {
  transition-delay: 0.4s;
}

/* ── NOISE TEXTURE OVERLAY ────────────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── RESPONSIVE — Tablet (≤1100px) ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .container {
    padding: 0 40px;
  }
  .footer-top {
    padding: 48px 40px 40px;
    gap: 36px;
  }
  .footer-bottom {
    padding: 20px 40px;
  }
  .page-hero {
    padding: 68px 40px 60px;
  }
  .navbar {
    padding: 0 40px;
  }
  .top-bar {
    padding: 0 40px;
  }
  .section-gap {
    padding: 72px 0;
  }
}

/* ── RESPONSIVE — Mobile (≤900px) ────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --nav-height: 60px;
    --topbar-height: 32px;
    --total-header: 92px;
  }

  .navbar {
    padding: 0 24px;
  }
  .top-bar {
    padding: 0 24px;
  }

  /* Hide desktop nav, show hamburger */
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px 24px;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .page-hero {
    padding: 60px 24px 52px;
  }
  .container {
    padding: 0 24px;
  }
  .section-gap {
    padding: 60px 0;
  }

  .topbar-center {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── RESPONSIVE — Small mobile (≤600px) ──────────────────────────────────── */
@media (max-width: 600px) {
  :root {
    --nav-height: 56px;
    --topbar-height: 30px;
    --total-header: 86px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px;
  }

  .footer-bottom {
    padding: 18px 20px;
  }

  .section-gap {
    padding: 48px 0;
  }
  .container {
    padding: 0 20px;
  }
  .page-hero {
    padding: 52px 20px 44px;
  }

  #whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  #whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  #back-to-top {
    bottom: 82px;
    right: 20px;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  /* Hide WhatsApp tooltip on small screens */
  #whatsapp-float::before {
    display: none;
  }

  .topbar-right {
    display: none;
  }
}

/* ── ACCESSIBILITY ────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── REDUCED MOTION ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ticker-track {
    animation: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------------------------------------------------------- */

/* =============================================================================
   KAREN BRAND GEMS — premium-additions.css
   Paste the contents of this file at the BOTTOM of shared.css.
   These micro-details elevate the site feel: smoother scrolling,
   richer selections, subtle hover polish, scroll-bar styling,
   focus rings, link underlines, section dividers, and more.
   ============================================================================= */

/* ── 1. SMOOTH SCROLLING & SCROLL-BAR STYLING ──────────────────────────── */

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--teal-bright) var(--teal-mid);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--teal-mid);
}
::-webkit-scrollbar-thumb {
  background: var(--teal-bright);
  border-radius: 3px;
  transition: background 0.25s;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ── 2. TEXT SELECTION COLOUR ───────────────────────────────────────────── */

::selection {
  background: rgba(201, 168, 76, 0.28);
  color: var(--cream);
}
::-moz-selection {
  background: rgba(201, 168, 76, 0.28);
  color: var(--cream);
}

/* ── 3. IMAGE POLISH — no drag, subtle border-radius ───────────────────── */

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Small shimmer on card images during load */
.gem-card-img,
.related-card-img,
.gallery-img,
.detail-gallery-main-img,
.operation-img,
.collection-card-img,
.product-img {
  /* Ensure Edge 79+ uses -webkit-optimize-contrast before crisp-edges for compatibility */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ── 4. LINK HOVER UNDERLINE — gold animated ───────────────────────────── */

.footer-nav-list a,
.footer-contact-text a,
.footer-bottom-links a {
  background-image: linear-gradient(var(--gold-light), var(--gold-light));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition:
    background-size 0.3s ease,
    color 0.25s ease;
}

.footer-nav-list a:hover,
.footer-contact-text a:hover,
.footer-bottom-links a:hover {
  background-size: 100% 1px;
}

/* ── 5. BUTTON RIPPLE PRESS EFFECT ─────────────────────────────────────── */

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.15s ease;
  border-radius: inherit;
  pointer-events: none;
}

.btn:active::after {
  background: rgba(255, 255, 255, 0.08);
}

/* ── 6. NAV LINK ACTIVE STATE — bottom gold pip ────────────────────────── */

.nav-links a.nav-active {
  color: var(--cream);
}

.nav-links a.nav-active::after {
  width: 100%;
}

/* ── 7. CARD HOVER — subtle glow instead of just border ────────────────── */

.gem-card:hover,
.mineral-card:hover,
.related-card:hover,
.gallery-item:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(201, 168, 76, 0.25),
    0 0 24px rgba(201, 168, 76, 0.07);
}

.pillar-card:hover {
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(201, 168, 76, 0.22);
}

/* ── 8. SECTION LABEL — animated left line ──────────────────────────────── */

.section-label {
  transition: letter-spacing 0.4s ease;
}

.reveal.visible .section-label {
  letter-spacing: 0.3em;
}

/* ── 9. GOLD DIVIDER — subtle pulse animation on scroll into view ───────── */

.gold-divider {
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.gold-divider.kbg-visible {
  opacity: 1;
  transform: scaleX(1);
}

/* ── 10. TICKER — pause-on-hover tooltip ───────────────────────────────── */

.ticker-wrap {
  position: relative;
}

.ticker-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.ticker-wrap:hover::after {
  opacity: 1;
}

/* ── 11. FORM INPUTS — transition on focus ──────────────────────────────── */

.form-input,
.form-textarea,
.form-select {
  caret-color: var(--gold);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  transform: translateY(-1px);
}

/* ── 12. PAGE HERO INNER — subtle entrance ──────────────────────────────── */

.page-hero-inner {
  animation: heroPageReveal 0.7s ease 0.15s both;
}

@keyframes heroPageReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 13. BREADCRUMB SEPARATOR — animated ───────────────────────────────── */

.breadcrumb-sep {
  transition: color 0.2s;
}

.breadcrumb:hover .breadcrumb-sep {
  color: var(--gold);
}

/* ── 14. BACK-TO-TOP — smooth scale in ─────────────────────────────────── */

#back-to-top {
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease,
    box-shadow 0.25s ease;
}

#back-to-top.visible {
  transform: translateY(0) scale(1);
}

#back-to-top:not(.visible) {
  transform: translateY(12px) scale(0.85);
}

/* ── 15. WHATSAPP BUTTON — heartbeat glow ───────────────────────────────── */

@keyframes kbg-wa-pulse {
  0%,
  100% {
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.38);
  }
  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.6);
  }
}

#whatsapp-float {
  animation: kbg-wa-pulse 2.8s ease infinite;
}

#whatsapp-float:hover {
  animation: none;
}

/* ── 16. STAT NUMBERS — gold text shadow ───────────────────────────────── */

.stat-number,
.founder-fact-number {
  text-shadow: 0 2px 18px rgba(201, 168, 76, 0.22);
}

/* ── 17. ORIGIN / CLIENT FLAGS — bounce on hover ───────────────────────── */

.origin-flag,
.client-flag {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.origin-item:hover .origin-flag,
.client-item:hover .client-flag {
  transform: translateY(-4px) scale(1.12);
}

/* ── 18. SECTION TITLE — italic em pulse on reveal ─────────────────────── */

.section-title em {
  transition: color 0.5s ease;
}

.reveal.visible .section-title em {
  color: var(--gold-light);
}

/* ── 19. FOOTER SOCIAL ICON — lift spring ───────────────────────────────── */

.footer-social-link,
.contact-social-btn {
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social-link:hover,
.contact-social-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

/* ── 20. DETAIL PROPERTY ROWS — gold left-border on hover ──────────────── */

.detail-property {
  position: relative;
  transition:
    background 0.22s ease,
    padding-left 0.22s ease;
}

.detail-property::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gold);
  transition: width 0.22s ease;
}

.detail-property:hover::before {
  width: 2px;
}

.detail-property:hover {
  padding-left: 22px;
}

/* ── 21. GALLERY THUMB — active ring pulse ──────────────────────────────── */

.detail-thumb.active {
  box-shadow:
    0 0 0 2px rgba(201, 168, 76, 0.25),
    0 0 12px rgba(201, 168, 76, 0.15);
}

/* ── 22. QUICK-CONNECT CARDS — gold underline sweep ─────────────────────── */

.quick-card::after {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ── 23. POLICY TOC LINK — active indicator dot ────────────────────────── */

.policy-toc-link.toc-active::before {
  content: "◆";
  font-size: 5px;
  margin-right: 7px;
  color: var(--gold);
  vertical-align: middle;
}

/* ── 24. LOADER GEM RING — subtle rotation shimmer ─────────────────────── */

.loader-gem-ring::before {
  border-color: var(--gold) transparent transparent transparent;
}

.loader-gem-ring::after {
  border-color: transparent var(--border) transparent transparent;
}

/* ── 25. GENERAL TRANSITION RESET — respect prefers-reduced-motion ──────── */

@media (prefers-reduced-motion: reduce) {
  .loader-gem-ring::before,
  .loader-gem-ring::after,
  #whatsapp-float {
    animation: none !important;
  }
  .gold-divider {
    opacity: 1 !important;
    transform: none !important;
  }
}
