/* ===================================================================
   Radiant Isle — shared chrome (2026 warm-light editorial rebrand)
   Palette: ink #1C1A14 · body #3D382C · gold #A5813F · taupe #8C8371 /
   #6E6753 · page #FAF8F2 · sand #F2EDE2 · dark #17150E
   Type: Cormorant Garamond (display) + Helvetica Neue (body)
   =================================================================== */
:root {
  --ink: #1C1A14;
  --body: #3D382C;
  --gold: #A5813F;
  --taupe: #8C8371;
  --taupe-2: #6E6753;
  --page: #FAF8F2;
  --sand: #F2EDE2;
  --dark: #17150E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--page); }
a { color: inherit; }
img { max-width: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,242,0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28,26,20,0.12);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(28,26,20,0.08); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px; height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 500;
  color: var(--ink); letter-spacing: 0.03em; line-height: 1;
}
.brand-sub {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--taupe);
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--taupe-2); transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}
.nav-links a.cta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--ink); padding: 11px 24px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a.cta:hover { background: var(--ink); color: var(--page); }
/* Solid CTA (used on the Contact page's own nav) */
.nav-links a.cta-solid {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--page); background: var(--ink); border: 1px solid var(--ink); padding: 11px 24px;
}

.hamburger {
  background: none; border: none; cursor: pointer; padding: 10px;
  display: none; flex-direction: column; gap: 6px;
}
.hamburger span { display: block; width: 26px; height: 1.5px; background: var(--ink); }

/* ===== MOBILE MENU OVERLAY ===== */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200; background: var(--page);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.menu-overlay.open { display: flex; }
.menu-overlay a {
  text-decoration: none; font-family: 'Cormorant Garamond', serif;
  font-size: 36px; color: var(--ink);
}
.menu-overlay a.active { color: var(--gold); }
.menu-close {
  position: absolute; top: 24px; right: 32px; background: none; border: none;
  cursor: pointer; color: var(--ink); font-size: 32px; font-weight: 300; line-height: 1;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ===== SHARED ELEMENTS ===== */
.eyebrow {
  margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
}
.wrap { max-width: 1280px; margin: 0 auto; }

.btn-dark {
  text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--page); background: var(--ink);
  padding: 18px 40px; transition: background 0.25s; border: none; cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.btn-dark:hover { background: var(--body); }
.btn-light {
  text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dark); background: var(--page);
  padding: 18px 40px; transition: background 0.25s;
}
.btn-light:hover { background: #E4DECE; }
.link-underline {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink); border-bottom: 1px solid rgba(28,26,20,0.4);
  padding-bottom: 4px; transition: border-color 0.2s;
}
.link-underline:hover { border-color: var(--ink); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); border-top: 1px solid rgba(250,248,242,0.14); padding: 80px 40px 40px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; color: var(--page); }
.footer-tag { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(250,248,242,0.6); max-width: 300px; }
.footer-h { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.footer-col a { text-decoration: none; font-size: 14px; color: rgba(250,248,242,0.75); transition: color 0.2s; }
.footer-col a:hover { color: var(--page); }
.footer-col p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(250,248,242,0.75); }
.footer-col p.dim { font-size: 13px; line-height: 1.6; color: rgba(250,248,242,0.5); }
.footer-bottom {
  max-width: 1280px; margin: 60px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(250,248,242,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.footer-bottom span { font-size: 12.5px; color: rgba(250,248,242,0.45); }

/* ===== FADE-IN ===== */
.fade { transition: opacity 0.8s ease, transform 0.8s ease; }
.fade.pre { opacity: 0; transform: translateY(18px); }

/* ===== IMAGERY COMPONENTS (v2) ===== */
.stone-thumb {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(28,26,20,0.12); box-shadow: 0 10px 22px rgba(28,26,20,0.12);
  display: block;
}
.gem-photo { margin: 0; flex: 0 0 auto; width: min(320px, 42vw); }
.gem-photo img {
  width: 100%; height: auto; display: block;
  border: 1px solid rgba(28,26,20,0.1); box-shadow: 0 18px 40px rgba(28,26,20,0.14);
}
.img-duo {
  margin-top: 88px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px;
}
.img-duo figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.img-duo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.img-duo figcaption { font-size: 12.5px; letter-spacing: 0.06em; color: var(--taupe); }
.wide-figure { margin: 72px 0 0; display: flex; flex-direction: column; gap: 14px; }
.wide-figure img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.wide-figure figcaption, .wide-figure span { font-size: 12.5px; letter-spacing: 0.06em; color: var(--taupe); }

/* ===== GEM SUBNAV (gemstones page) ===== */
.gem-subnav {
  position: sticky; top: 78px; z-index: 90;
  background: rgba(250,248,242,0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28,26,20,0.12);
}
.gem-subnav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none;
}
.gem-subnav-inner::-webkit-scrollbar { display: none; }
.gem-subnav a {
  flex: 0 0 auto; text-decoration: none; padding: 15px 0 13px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--taupe-2); border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.gem-subnav a:hover { color: var(--ink); }
.gem-subnav a.current { color: var(--ink); border-bottom-color: var(--gold); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(23,21,14,0.92);
  display: none; align-items: center; justify-content: center; flex-direction: column;
  gap: 16px; padding: 48px 24px 32px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1400px, 94vw); max-height: 82vh; display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5); cursor: default;
}
.lightbox-cap { font-size: 13px; letter-spacing: 0.06em; color: rgba(250,248,242,0.75); }
.lightbox-close {
  position: absolute; top: 20px; right: 28px; background: none; border: none;
  color: rgba(250,248,242,0.9); font-size: 36px; font-weight: 300; line-height: 1; cursor: pointer;
}
[data-lightbox] { cursor: zoom-in; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--page);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(28,26,20,0.32);
  transition: transform 0.2s ease, background 0.2s ease;
}
.wa-float:hover { transform: translateY(-2px); background: var(--body); }
.wa-float svg { display: block; }
@media (max-width: 900px) { .wa-float { right: 16px; bottom: 16px; } }
