/* ===========================================
   RANDI BARON — DESIGN SYSTEM
   Clean editorial. Light base. Green accent.
   =========================================== */

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

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:   #1f4d36;
  --green2:  #2d6a4f;
  --sage:    #52876b;
  --cream:   #faf8f2;
  --white:   #ffffff;
  --light:   #f0ede5;
  --border:  #e0dbd0;
  --text:    #1a1a1a;
  --muted:   #5c5c5c;
  --dark:    #111111;

  --display: 'Playfair Display', Georgia, serif;
  --body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --pad: clamp(24px, 5vw, 72px);
  --max: 1080px;

  /* Fixed type scale — no deviations per page */
  --label:  11px;
  --small:  13px;
  --base:   15px;
  --lead:   17px;
  --h4:     20px;
  --h3:     26px;
  --h2:     clamp(30px, 4vw, 46px);
  --h1:     clamp(46px, 7vw, 86px);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: var(--base);
  line-height: 1.65;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY UTILITIES ── */
.display { font-family: var(--display); }
.label {
  display: block;
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.h1 { font-family: var(--display); font-size: var(--h1); font-weight: 400; line-height: 1.06; }
.h2 { font-family: var(--display); font-size: var(--h2); font-weight: 400; line-height: 1.12; }
.h3 { font-family: var(--display); font-size: var(--h3); font-weight: 400; line-height: 1.2; }
.h4 { font-family: var(--display); font-size: var(--h4); font-weight: 400; line-height: 1.3; }
/* Italics: same color as parent, always readable */
.h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 400; color: inherit; }
.lead { font-size: var(--lead); line-height: 1.8; font-weight: 300; }
.muted { color: var(--muted); }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.in  { opacity: 1; transform: none; }

/* ── NAV — big, clear, consistent ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  height: 68px;
  gap: 24px;
}
.nav-logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
}
@media(min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: white; }
.nav-cta {
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--green2);
  color: white;
  padding: 11px 22px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}
.nav-cta:hover { background: var(--green); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--green2);
  color: white;
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 34px;
  transition: background .2s;
}
.btn:hover { background: var(--green); }
.btn-light {
  display: inline-block;
  background: var(--cream);
  color: var(--green);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 34px;
  transition: background .2s;
}
.btn-light:hover { background: var(--light); }
.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 30px;
  transition: all .2s;
}
.btn-ghost:hover { border-color: white; color: white; }
.text-btn {
  font-size: var(--small);
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: all .2s;
}
.text-btn:hover { color: var(--text); border-color: var(--muted); }

/* ── LAYOUT ── */
.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: clamp(64px, 8vw, 96px) var(--pad); }

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1px; }
@media(min-width: 580px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media(min-width: 860px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media(min-width: 780px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* ── FOOTER ── consistent across all pages */
footer {
  background: var(--dark);
  padding: 28px var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-copy {
  font-size: var(--label);
  color: rgba(255,255,255,.25);
  letter-spacing: .04em;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}
.footer-links a:hover { color: white; }

/* ── SHARED QUOTE CARD ── */
.qcard {
  background: var(--white);
  padding: 36px 30px;
  border-top: 2px solid var(--green2);
}
.qcard:nth-child(2) { border-top-color: var(--sage); }
.qcard:nth-child(3) { border-top-color: var(--green); }
.qmark {
  font-family: var(--display);
  font-size: 56px;
  line-height: .7;
  color: var(--green2);
  opacity: .25;
  margin-bottom: 16px;
  display: block;
}
.qbody {
  font-family: var(--display);
  font-size: var(--lead);
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.qbody strong { font-style: normal; font-weight: 700; color: var(--green); }
.qattr {
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
