/* ═══════════════════════════════════════
   GH & IT — Shared Stylesheet
   Design: Clean global-bridge aesthetic
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600&family=DM+Mono:wght@300;400&display=swap');

:root {
  --navy:      #0B1D35;
  --navy-mid:  #132847;
  --navy-soft: #1E3A5F;
  --gold:      #C8882A;
  --gold-lt:   #E8A84A;
  --sand:      #F5EFE6;
  --white:     #FDFCFB;
  --text:      #1A1A1A;
  --muted:     #6B7280;
  --border:    #E5DDD3;
  --border-dk: rgba(255,255,255,0.12);

  --serif:  'DM Serif Display', Georgia, serif;
  --sans:   'Outfit', sans-serif;
  --mono:   'DM Mono', monospace;

  --radius: 4px;
  --shadow: 0 4px 24px rgba(11,29,53,0.10);
  --shadow-lg: 0 16px 48px rgba(11,29,53,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── SCROLL PROGRESS ─── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-lt));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── NAVIGATION ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5%;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.site-nav.scrolled {
  background: rgba(11,29,53,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.85rem 5%;
  backdrop-filter: blur(10px);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.nav-brand-name span { color: var(--gold); }
.nav-brand-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links li { position: relative; }
.nav-links > li > a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 0.9rem;
  display: block;
  transition: color 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold-lt); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--navy);
  border: 1px solid var(--border-dk);
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-links li:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown a:hover { color: var(--gold-lt); background: rgba(255,255,255,0.05); }

.nav-contact {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-lt);
  border: 1px solid rgba(200,136,42,0.6);
  padding: 0.55rem 1.3rem;
  transition: background 0.2s, color 0.2s;
}
.nav-contact:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-soft) 100%);
  padding: 9rem 5% 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(200,136,42,0.12) 0%, transparent 60%),
    linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5), transparent);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 720px; }
.page-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-lt); }
.page-hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ─── SECTIONS ─── */
section { padding: 5.5rem 5%; }
.section-inner { max-width: 1140px; margin: 0 auto; }

.label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
h2.section-title em { font-style: italic; color: var(--gold); }
h2.section-title.on-dark { color: #fff; }

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.card p { color: var(--muted); font-size: 0.97rem; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: background 0.22s, color 0.22s, transform 0.2s, box-shadow 0.22s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-lt); box-shadow: 0 8px 24px rgba(200,136,42,0.35); }
.btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.footer-brand .nav-brand-name { font-size: 1.3rem; margin-bottom: 0.5rem; display: block; }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ─── DIVIDER ─── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0 2rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .site-nav { padding: 1rem 5%; }
  .nav-links, .nav-contact { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 400;
  }
  .nav-links.open > li > a { font-size: 1.1rem; color: #fff; }
  .nav-links.open .nav-dropdown { display: none; }
  section { padding: 4rem 5%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
