/* ================================================================
   CJ Park & Associates — shared.css
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #F5F0E8;
  --stone: #E8E0D0;
  --charcoal: #1A1A1A;
  --warm-gray: #6B6560;
  --green: #0b5640;
  --green-mid: #1a6b50;
  --green-dark: #073d2d;
  --green-light: #7DBFA8;
  --white: #FDFAF5;
  --border: rgba(11,86,64,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
}
h1 { font-size: clamp(36px, 5vw, 68px); }
h2 { font-size: clamp(28px, 3.2vw, 50px); margin-bottom: 22px; }
h1 em, h2 em { font-style: italic; color: var(--green); }

.body-text {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--warm-gray);
  margin-bottom: 22px;
}

.divider {
  width: 60px; height: 1px;
  background: var(--green);
  margin: 40px 0;
  opacity: 0.35;
}

.section-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 30px; height: 1px; background: var(--green);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 36px;
  background: var(--charcoal); color: var(--white);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--green); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-gray); text-decoration: none;
  transition: color 0.3s;
}
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--green); }
.btn-ghost:hover::after { transform: translateX(5px); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 72px;
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 16px;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--warm-gray); text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); background: rgba(11,86,64,0.06); }

/* ── PAGE HEADER (interior pages) ── */
.page-header {
  padding-top: 72px; height: 280px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-header-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--green-mid) 0%, var(--green) 55%, var(--green-dark) 100%);
}
.page-header-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.2; mix-blend-mode: luminosity;
}
.page-header-content { position: relative; z-index: 1; padding: 40px 60px; }
.page-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.page-eyebrow::before {
  content: ''; display: block;
  width: 30px; height: 1px; background: rgba(255,255,255,0.35);
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300; line-height: 1.05; color: #fff;
}
.page-title em { font-style: italic; color: rgba(255,255,255,0.6); }

/* ── FOOTER ── */
footer {
  background: #111;
  padding: 32px 60px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo img { height: 34px; width: auto; opacity: 0.4; filter: brightness(10); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,0.22);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.55); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.18); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HAMBURGER MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .page-header-content { padding: 36px 32px; }
  footer { padding: 28px 32px; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; height: 64px; }
  .nav-logo img { height: 36px; }
  .page-header { height: 200px; }
  .page-header-content { padding: 24px 20px; }
  footer { flex-direction: column; gap: 16px; padding: 24px 20px; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
}

/* ── HAMBURGER BREAKPOINT — hide links, show hamburger ── */
@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(253,250,245,0.99);
    backdrop-filter: blur(12px);
    flex-direction: column; gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    border-radius: 0;
    border-bottom: 1px solid rgba(11,86,64,0.06);
  }
}