/* =============================================
   SHARED ACROSS ALL PAGES
   Reset, design tokens, header/nav, mobile menu,
   fade-in animation, footer.
   Confirmed byte-identical (or value-identical,
   with formatting normalized) across index.html,
   about.html, and contact.html before extraction.
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0b1628;
  --navy2: #0f1e38;
  --navy3: #152847;
  --gold: #c9a84c;
  --gold2: #e8c96e;
  --white: #f5f3ef;
  --muted: #8a9ab5;
  --border: rgba(201,168,76,0.18);
  --card-bg: rgba(21,40,71,0.7);
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --error: #e05c5c;
}
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* =============================================
   HEADER / NAV
============================================= */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,22,40,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo-wrap { display: flex; flex-direction: row; align-items: center; gap: 0.9rem; line-height: 1.1; text-decoration: none; }
.logo-img { height: 46px; width: auto; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; filter: brightness(1.05); }
.logo-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.logo-name { font-family: var(--font-head); font-size: 1.65rem; font-weight: 700; letter-spacing: 0.04em; color: var(--gold2); }
.logo-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo-sub { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(138,154,181,0.6); margin-top: 1px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold2); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold2); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
@media (max-width: 680px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy2); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 1rem 2rem; border-bottom: 1px solid var(--border); }
}

/* =============================================
   FADE ANIMATIONS
============================================= */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.fade.in { opacity: 1; transform: none; }

/* =============================================
   SHARED UTILITY
============================================= */
.section-label { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }

/* =============================================
   FOOTER
============================================= */
footer { background: #060e1a; border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand p { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--gold2); }
.footer-contact p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.4rem; }
.footer-contact a { color: var(--muted); transition: color .2s; }
.footer-contact a:hover { color: var(--gold2); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.78rem; color: #4a5568; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; text-align: center; } }
