/* =============================================
   VALENEO — shared.css
   Edit this file to retheme the whole site.
   ============================================= */

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

/* ── THEME: Gold Dark (default) ── */
:root, [data-theme="gold-dark"] {
  --bg:        #0e0c08;
  --bg2:       #161208;
  --bg3:       #1d1708;
  --gold:      #c9a84c;
  --gold-lt:   #e8c97a;
  --gold-pale: #f5e7b8;
  --gold-dim:  #7a6228;
  --parchment: #f0e6c8;
  --text:      #e8dfc8;
  --textmid:   #a8966a;
  --textdim:   #5a4e30;
  --border:    rgba(201,168,76,0.15);
  --border2:   rgba(201,168,76,0.3);
  --nav-bg:    rgba(14,12,8,0.92);
  --serif:     'Playfair Display', Georgia, serif;
  --body-serif:'Crimson Pro', Georgia, serif;
  --mono:      'DM Mono', monospace;
}

/* ── THEME: Teal Zinc (dark) ── */
[data-theme="teal-dark"] {
  --bg:        #09090b;
  --bg2:       #18181b;
  --bg3:       #27272a;
  --gold:      #2dd4bf;
  --gold-lt:   #5eead4;
  --gold-pale: #ccfbf1;
  --gold-dim:  #0f766e;
  --parchment: #f0fdfa;
  --text:      #f4f4f5;
  --textmid:   #a1a1aa;
  --textdim:   #52525b;
  --border:    rgba(45,212,191,0.15);
  --border2:   rgba(45,212,191,0.3);
  --nav-bg:    rgba(9,9,11,0.92);
  --serif:     'Playfair Display', Georgia, serif;
  --body-serif:'Crimson Pro', Georgia, serif;
  --mono:      'DM Mono', monospace;
}

/* ── THEME: Hybrid — Gold meets Teal (dark) ── */
[data-theme="hybrid-dark"] {
  --bg:        #0a0d0e;
  --bg2:       #111618;
  --bg3:       #1a2022;
  --gold:      #c9a84c;
  --gold-lt:   #2dd4bf;
  --gold-pale: #e8f8f5;
  --gold-dim:  #5a6228;
  --parchment: #e8f4f0;
  --text:      #e8ede8;
  --textmid:   #8aaa9a;
  --textdim:   #3a5248;
  --border:    rgba(45,212,191,0.12);
  --border2:   rgba(201,168,76,0.25);
  --nav-bg:    rgba(10,13,14,0.92);
  --serif:     'Playfair Display', Georgia, serif;
  --body-serif:'Crimson Pro', Georgia, serif;
  --mono:      'DM Mono', monospace;
}

/* ── THEME: Light Gold ── */
[data-theme="gold-light"] {
  --bg:        #faf7f0;
  --bg2:       #f0e8d0;
  --bg3:       #e8dab8;
  --gold:      #8a6520;
  --gold-lt:   #6b4e10;
  --gold-pale: #3d2800;
  --gold-dim:  #c9a84c;
  --parchment: #3d2800;
  --text:      #2a1f0a;
  --textmid:   #6b5530;
  --textdim:   #a8966a;
  --border:    rgba(138,101,32,0.2);
  --border2:   rgba(138,101,32,0.4);
  --nav-bg:    rgba(250,247,240,0.95);
  --serif:     'Playfair Display', Georgia, serif;
  --body-serif:'Crimson Pro', Georgia, serif;
  --mono:      'DM Mono', monospace;
}

/* ── THEME: Light Teal ── */
[data-theme="teal-light"] {
  --bg:        #f0fdfa;
  --bg2:       #ccfbf1;
  --bg3:       #99f6e4;
  --gold:      #0f766e;
  --gold-lt:   #0d5e58;
  --gold-pale: #042f2e;
  --gold-dim:  #2dd4bf;
  --parchment: #042f2e;
  --text:      #042f2e;
  --textmid:   #0f766e;
  --textdim:   #2dd4bf;
  --border:    rgba(15,118,110,0.2);
  --border2:   rgba(15,118,110,0.4);
  --nav-bg:    rgba(240,253,250,0.95);
  --serif:     'Playfair Display', Georgia, serif;
  --body-serif:'Crimson Pro', Georgia, serif;
  --mono:      'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-serif);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.75;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--gold-lt);
  text-decoration: none;
}
.nav-logo sub {
  font-size: 0.55rem; font-family: var(--mono); font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--textmid); vertical-align: middle; margin-left: 0.5rem;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--textmid); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-lt); }

/* ── CREATIONS DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.nav-dropdown > a::after {
  content: '▾'; font-size: 0.55rem; opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-dropdown:hover > a::after,
.nav-dropdown.open > a::after { opacity: 1; transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 1.2rem); left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 0.5px solid var(--border2);
  min-width: 180px;
  padding: 0.5rem 0;
  backdrop-filter: blur(16px);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: block; padding: 0.6rem 1.2rem;
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--textmid); text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { color: var(--gold-lt); background: rgba(128,128,128,0.06); }
.nav-dropdown-menu .dropdown-tag {
  font-size: 0.5rem; letter-spacing: 0.2em;
  color: var(--gold); opacity: 0.7;
  margin-left: 0.4rem; vertical-align: middle;
}

/* ── THEME SWITCHER ── */
.theme-switcher {
  display: flex; align-items: center; gap: 0.4rem;
  margin-left: 0.8rem; padding-left: 0.8rem;
  border-left: 0.5px solid var(--border2);
}
.theme-dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.theme-dot:hover { transform: scale(1.3); }
.theme-dot.active { border-color: var(--text); transform: scale(1.2); }
.theme-dot[data-theme="gold-dark"]   { background: #c9a84c; }
.theme-dot[data-theme="teal-dark"]   { background: #2dd4bf; }
.theme-dot[data-theme="hybrid-dark"] { background: linear-gradient(135deg, #c9a84c 50%, #2dd4bf 50%); }
.theme-dot[data-theme="gold-light"]  { background: linear-gradient(135deg, #f0e8d0 50%, #c9a84c 50%); }
.theme-dot[data-theme="teal-light"]  { background: linear-gradient(135deg, #ccfbf1 50%, #0f766e 50%); }

.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.3rem; color: var(--textmid);
  font-size: 1.4rem; line-height: 1;
}

.nav-cta {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 1.3rem;
  border: 0.5px solid var(--gold-dim); color: var(--gold);
  text-decoration: none; border-radius: 1px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ── BUTTONS ── */
.btn-gold {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; background: var(--gold);
  color: var(--bg); text-decoration: none;
  font-weight: 400; border-radius: 1px; transition: background 0.2s;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold-lt); }

.btn-outline {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 0.5px solid var(--border2); color: var(--textmid);
  text-decoration: none; border-radius: 1px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── DIVIDERS ── */
.rule {
  height: 0.5px; background: var(--border);
  max-width: calc(100% - 7rem); margin: 0 3.5rem;
}
.rule-ornament {
  display: flex; align-items: center; gap: 1.2rem;
  max-width: calc(100% - 7rem); margin: 0 3.5rem;
  color: var(--textdim); font-size: 0.5rem;
}
.rule-ornament::before, .rule-ornament::after {
  content: ''; flex: 1; height: 0.5px; background: var(--border);
}

/* ── SECTION COMMON ── */
section { padding: 6.5rem 3.5rem; }

.section-eyebrow {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-eyebrow::before {
  content: ''; width: 18px; height: 0.5px; background: var(--gold-dim);
}
.section-h {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 400;
  color: var(--gold-pale); line-height: 1.1; margin-bottom: 1rem;
}
.section-h em { font-style: italic; color: var(--gold-lt); }
.section-p {
  font-family: var(--body-serif); font-size: 1rem;
  color: var(--textmid); line-height: 1.85;
  max-width: 500px; margin-bottom: 3rem;
}

/* ── FOOTER ── */
footer {
  border-top: 0.5px solid var(--border);
  padding: 2.5rem 3.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.08em;
  text-decoration: none;
}
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--textdim); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.1em; color: var(--textdim);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  nav.open .nav-links {
    display: flex; flex-direction: column; gap: 1.2rem;
    position: fixed; top: 56px; left: 0; right: 0;
    background: rgba(14,12,8,0.98);
    padding: 2rem 1.5rem;
    border-bottom: 0.5px solid var(--border);
  }
  nav.open .nav-cta {
    display: block; margin: 1rem 1.5rem 0;
    text-align: center;
    position: fixed; top: calc(56px + 2rem + 5 * 2.4rem);
    left: 0; right: 0;
  }
  /* mobile dropdown - always expanded */
  .nav-dropdown > a::after { display: none; }
  .nav-dropdown-menu {
    display: block; position: static; transform: none;
    background: none; border: none; padding: 0 0 0 1rem;
    backdrop-filter: none; min-width: unset;
  }
  .nav-dropdown-menu a { padding: 0.4rem 0; }
  section { padding: 5rem 1.5rem; }
  .rule, .rule-ornament { max-width: calc(100% - 3rem); margin: 0 1.5rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

/* ── THEME SWITCHER RESPONSIVE ── */
@media (max-width: 768px) {
  .theme-switcher {
    position: fixed; bottom: 1.2rem; right: 1.2rem;
    background: var(--bg2); border: 0.5px solid var(--border2);
    padding: 0.5rem 0.7rem; gap: 0.5rem;
    border-left: none;
    margin-left: 0;
    z-index: 150;
    border-radius: 20px;
  }
  .theme-dot { width: 13px; height: 13px; }
  .nav-dropdown > a::after { display: none; }
  .nav-dropdown-menu {
    position: static; transform: none;
    background: none; border: none; padding: 0 0 0 1rem;
    backdrop-filter: none; min-width: unset; z-index: auto;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 0.4rem 0; }
}
