/* ── Design tokens (shared across the site) ── */
:root {
  --ink:        #0f1a18;
  --teal:       #4ecab4;
  --teal-dk:    #2a9d8a;
  --sage:       #8a9e9b;
  --off-white:  #f5f3ef;
  --white:      #ffffff;
  --mid:        #445566;

  --bg:         #f5f3ef;
  --bg-white:   #ffffff;
  --bg-light:   #ebe9e4;

  --nav-bg:     #0f1a18;
  --nav-text:   rgba(255,255,255,0.85);
  --nav-hover:  #ffffff;

  --mint:       #4ecab4;
  --mint-dk:    #2a9d8a;
  --mint-dkr:   #3bbda7;

  --eyebrow-grey: #4ecab4;
  --text:       #0f1a18;
  --text-mid:   #445566;
  --text-muted: #8a9e9b;
  --border:     #d8d4cd;
  --border-lt:  #e4e1da;
  --card-bg:    #ffffff;
  --radius:     8px;
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', Arial, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ── NAVIGATION ── */
#navbar {
  position: relative;
  z-index: 1000;
  background: var(--nav-bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}
.nav-logo { display: flex; align-items: center; gap: 11px; margin-right: auto; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--nav-text);
  padding: 0 18px; height: 64px; display: flex; align-items: center;
  transition: color 0.2s; position: relative; letter-spacing: 0.02em; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 18px; left: 18px; right: 18px;
  height: 2px; background: rgba(172,242,222,0.35); transform: scaleX(0);
  transform-origin: left; transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: scaleX(1); background: var(--mint); }

.nav-cta {
  margin-left: 16px; background: var(--mint); color: #3d3b3b !important;
  font-weight: 700 !important; font-size: 0.7rem !important; text-transform: uppercase;
  letter-spacing: 1px; padding: 0 22px !important; height: 42px !important; border-radius: 5px;
  display: flex; align-items: center; transition: background 0.2s !important; flex-shrink: 0;
}
.nav-cta:hover { background: var(--mint-dkr) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
  background: none; border: none; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,0.8);
  border-radius: 1px; transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column; position: fixed; inset: 0;
  background: var(--nav-bg); z-index: 999; padding: 90px 2.5rem 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  display: block; font-size: 1.5rem; font-family: var(--font-serif); font-weight: 400;
  color: rgba(255,255,255,0.85); padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: #fff; }

/* ── ARTICLE PAGE ── */
.article-page { padding: 56px 0 96px; background: var(--bg-white); }

.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 40px; transition: color 0.2s;
}
.article-back:hover { color: var(--mint-dk); }
.article-back svg { transition: transform 0.2s; }
.article-back:hover svg { transform: translateX(-3px); }

.article-hero-img {
  width: 100%; max-height: 420px; object-fit: contain;
  border-radius: var(--radius); margin-bottom: 48px;
}

.article-body h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700; color: var(--text); line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 20px;
}

.article-byline {
  font-family: Arial, sans-serif; font-size: 11px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted);
  margin: 0 0 24px;
}

.article-divider {
  width: 40px; height: 2px; background: var(--mint);
  margin-bottom: 32px; opacity: 0.7;
}

.article-content { font-size: 1rem; color: var(--text-mid); line-height: 1.8; font-weight: 300; }
.article-content p { margin-bottom: 1.5em; }
.article-content h2 {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700;
  color: var(--text); margin: 2em 0 0.75em; letter-spacing: -0.5px;
}
.article-content ul { margin: 0 0 1.5em 1.4em; list-style: disc; }
.article-content ul li { margin-bottom: 0.6em; line-height: 1.7; }
.article-content strong { font-weight: 600; color: var(--text); }

/* ── FOOTER ── */
footer { background: var(--nav-bg); padding: 48px 0 32px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px; flex-wrap: wrap;
  max-width: 1080px; margin-left: auto; margin-right: auto;
  padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px);
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy {
  font-size: 0.75rem; color: rgba(255,255,255,0.25); text-align: center;
  max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .article-page { padding: 40px 0 72px; }
  .article-hero-img { margin-bottom: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 0.5rem; }
}
