:root {
  --navy: #1a3a5c;
  --navy-dark: #0e1f33;
  --gold: #b08d3a;
  --gold-dark: #8c6f2d;
  --ink: #1a1a1a;
  --cream: #faf8f3;
  --stone: #ebe6d8;
  --stone-soft: #f5f1e6;
  --muted: #6b6358;
  --line: #d8d0bd;
  --white: #ffffff;
  --max: 1200px;
  --max-text: 720px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400; font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--navy);
}
em { font-style: italic; color: var(--gold); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', Georgia, serif; font-size: 22px;
  color: var(--navy); font-weight: 500;
}
.brand img { width: 34px; height: 34px; }
.brand em { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink); transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 4px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-ghost {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.section-inner {
  max-width: var(--max); margin: 0 auto; padding: 90px 32px;
}
.section-inner-narrow {
  max-width: var(--max-text); margin: 0 auto; padding: 90px 32px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 11px; font-weight: 600; color: var(--gold);
  margin-bottom: 16px;
}
.section-heading {
  font-size: 42px; font-weight: 400; margin-bottom: 22px;
}
.lede {
  font-size: 20px; color: var(--ink); margin-bottom: 24px;
}
.pullquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px; font-style: italic; color: var(--navy);
  border-left: 3px solid var(--gold); padding: 12px 0 12px 28px;
  margin: 28px 0;
}
.footer {
  background: var(--navy-dark); color: var(--cream);
  padding: 60px 32px 40px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer h4 { color: var(--cream); font-size: 16px; margin-bottom: 14px; }
.footer a { color: rgba(250, 248, 243, 0.75); display: block; padding: 4px 0; font-size: 15px; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(176, 141, 58, 0.2);
  padding-top: 24px; color: rgba(250, 248, 243, 0.5); font-size: 13px;
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .section-heading { font-size: 32px; }
  .section-inner, .section-inner-narrow { padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   COMPONENTS for new pages
   ============================================ */

/* Sample Work gallery */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; margin-top: 40px;
}
.gallery-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 24px; transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.08);
}
.gallery-item img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.gallery-item .label {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 11px; color: var(--gold); font-weight: 600;
  margin-top: 18px; margin-bottom: 6px;
}
.gallery-item h3 {
  font-family: 'Fraunces', Georgia, serif; font-size: 22px;
  color: var(--navy); margin-bottom: 8px;
}
.gallery-item p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; gap: 24px; }
}

/* Case study layout */
.case-hero {
  background: var(--stone-soft); border-bottom: 1px solid var(--line);
  padding: 80px 32px;
}
.case-hero-inner { max-width: var(--max-text); margin: 0 auto; }
.case-hero h1 {
  font-size: 48px; line-height: 1.1; margin-bottom: 18px;
}
.case-meta { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.case-meta-item .label {
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 11px; color: var(--muted); font-weight: 600;
  margin-bottom: 4px;
}
.case-meta-item .value { font-size: 15px; color: var(--navy); font-weight: 500; }
.case-body { max-width: var(--max-text); margin: 0 auto; padding: 60px 32px; }
.case-body h2 {
  font-size: 30px; margin-top: 56px; margin-bottom: 20px;
}
.case-body p { margin-bottom: 18px; font-size: 17px; line-height: 1.7; }
.case-body .pullquote { margin: 36px 0; }

/* Resources blog */
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 40px; }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 28px; transition: transform 0.2s, box-shadow 0.2s; display: block;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 58, 92, 0.08); }
.post-card .label {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 10px; color: var(--gold); font-weight: 600;
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: 'Fraunces', Georgia, serif; font-size: 24px;
  color: var(--navy); margin-bottom: 10px; line-height: 1.2;
}
.post-card p { font-size: 15px; color: var(--muted); margin: 0; }
.post-card .meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .posts-grid { grid-template-columns: 1fr; }
}

/* Post body */
.post-body { max-width: var(--max-text); margin: 0 auto; padding: 60px 32px; }
.post-body h1 { font-size: 42px; margin-bottom: 14px; }
.post-body .post-meta { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.post-body h2 { font-size: 26px; margin-top: 44px; margin-bottom: 16px; }
.post-body p, .post-body li { font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.post-body ul { padding-left: 22px; }
.post-body a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.post-body a:hover { color: var(--gold); }

/* Back link */
.back-link {
  display: inline-block; margin-bottom: 28px;
  font-size: 14px; color: var(--muted); letter-spacing: 0.02em;
}
.back-link:hover { color: var(--navy); }
