/* ── COMPLIANCERISE — SHARED STYLESHEET ─────────────────────────────────── */

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

:root {
  --ink:       #0f0f0f;
  --ink-soft:  #2c2c2c;
  --ink-muted: #666;
  --paper:     #f7f5f0;
  --paper-wm:  #ede9e0;
  --gold:      #b8922a;
  --gold-l:    #d4a83a;
  --teal:      #1a5c5c;
  --teal-l:    #2a7a7a;
  --rule:      rgba(15,15,15,0.12);
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'DM Sans', sans-serif;
  --mono:      'DM Mono', monospace;
  --max:       1200px;
  --nav-h:     68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.nav-logo { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  position: relative; transition: color 0.2s; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: all 0.3s; }
.nav-mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 20px 52px; z-index: 99; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 12px 0; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--rule); transition: color 0.2s; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--gold); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: none; transition: all 0.25s; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-l); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,146,42,0.3); }
.btn-teal { background: var(--teal); color: var(--paper); }
.btn-teal:hover { background: var(--teal-l); transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ── SECTION SHARED ── */
.section { padding: 100px 52px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::after { content: ''; width: 32px; height: 1px; background: var(--gold); opacity: 0.5; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
.section-title em { font-style: italic; color: var(--teal); }
.section-desc { font-size: 1rem; color: var(--ink-muted); max-width: 540px; line-height: 1.75; margin-bottom: 52px; }

/* ── TAGS / CHIPS ── */
.tag { display: inline-block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; background: var(--paper-wm); border: 1px solid var(--rule); color: var(--ink-muted); }
.tag.teal { background: rgba(26,92,92,0.08); border-color: rgba(26,92,92,0.2); color: var(--teal); }
.tag.gold { background: rgba(184,146,42,0.08); border-color: rgba(184,146,42,0.2); color: var(--gold); }
.tag.white { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: var(--paper); padding: 72px 52px 40px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px; }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-blurb { font-size: 0.87rem; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 300px; }
.footer-heading { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-l); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.87rem; color: rgba(255,255,255,0.5); }
.footer-contact-item a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold-l); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.2); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { padding: 20px 24px; }
  .section { padding: 72px 24px; }
  .footer { padding: 52px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
