/* ============================================================
   TravelConservation.com — Design System
   Premium editorial travel discovery
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --forest:       #1c3024;
  --forest-mid:   #2d4a36;
  --forest-light: #3d6347;
  --cream:        #f8f5ef;
  --cream-warm:   #f2ede3;
  --cream-dark:   #e4dccf;
  --earth:        #c4714a;
  --earth-light:  #d4896a;
  --sky:          #3d7a8a;
  --sky-light:    #5899aa;
  --sand:         #c8b89a;
  --ink:          #1a1714;
  --stone:        #6b6258;
  --mist:         #a09890;
  --white:        #ffffff;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }


/* ─── NAVIGATION ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.nav.scrolled .nav-logo { color: var(--forest); }
.nav-logo span { color: var(--earth-light); }
.nav.scrolled .nav-logo span { color: var(--earth); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(248,245,239,0.75);
  transition: color 0.2s, opacity 0.2s;
}
.nav.scrolled .nav-links a { color: var(--stone); }
.nav-links a:hover,
.nav-links a.active { color: var(--cream); opacity: 1; }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--forest); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--earth);
  color: var(--cream) !important;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--earth-light) !important; color: var(--cream) !important; }


/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.btn-primary { background: var(--earth); color: var(--cream); }
.btn-primary:hover { background: var(--earth-light); }
.btn-ghost   { color: var(--cream); border: 1px solid rgba(248,245,239,0.35); }
.btn-ghost:hover { border-color: rgba(248,245,239,0.65); background: rgba(248,245,239,0.08); }
.btn-outline  { color: var(--forest); border: 1px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-dark    { background: var(--forest); color: var(--cream); }
.btn-dark:hover { background: var(--forest-mid); }


/* ─── HERO ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #1c3024 0%, #253e2d 40%, #1a3530 100%);
  position: relative;
  overflow: hidden;
  padding: var(--gutter);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 70% 60%, rgba(61,122,138,0.12) 0%, transparent 60%),
                    radial-gradient(ellipse at 20% 20%, rgba(196,113,74,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  padding-top: 5rem;
  width: 100%;
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--earth-light);
  margin-bottom: 1.75rem;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 2rem;
  max-width: 740px;
}
.hero h1 em { font-style: italic; color: rgba(248,245,239,0.6); }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(248,245,239,0.65);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(248,245,239,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(248,245,239,0.2);
}


/* ─── SECTION SHELL ───────────────────────────────────────── */

.section { padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
.section-inner { max-width: var(--container); margin: 0 auto; }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header.flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--stone);
  max-width: 560px;
  line-height: 1.75;
}
.see-all {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--earth);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.see-all:hover { gap: 0.7rem; }


/* ─── PATH CARDS ──────────────────────────────────────────── */

.paths { background: var(--cream-warm); }

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .paths-grid { grid-template-columns: 1fr; } }

.path-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  padding: 2.5rem;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}
.path-card:hover { transform: translateY(-5px); }

.path-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.path-card:hover::after { opacity: 1; }

.path-steward  { background: linear-gradient(150deg, #1c3024 0%, #2d4a36 100%); }
.path-scientist { background: linear-gradient(150deg, #1d3d4f 0%, #2d5567 100%); }
.path-protector { background: linear-gradient(150deg, #3a2016 0%, #5c3826 100%); }

.path-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 400;
  color: rgba(248,245,239,0.08);
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  line-height: 1;
  pointer-events: none;
}
.path-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.45);
  margin-bottom: 0.75rem;
  position: relative;
}
.path-card h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
}
.path-card p {
  font-size: 0.9375rem;
  color: rgba(248,245,239,0.65);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  position: relative;
  max-width: 340px;
}
.path-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: color 0.2s, gap 0.2s;
}
.path-link::after { content: '→'; }
.path-card:hover .path-link { color: var(--cream); gap: 0.75rem; }


/* ─── PROVIDER CARDS ─────────────────────────────────────── */

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.provider-card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.provider-card:hover {
  box-shadow: 0 24px 64px rgba(28,48,36,0.11);
  transform: translateY(-3px);
}

.card-image {
  height: 230px;
  position: relative;
  overflow: hidden;
}
.card-image-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.card-image-bg.steward  { background: linear-gradient(135deg, #1c3024, #3d6347); }
.card-image-bg.scientist { background: linear-gradient(135deg, #1d3d4f, #3d7a8a); }
.card-image-bg.protector { background: linear-gradient(135deg, #3a2016, #c4714a); }
.card-image-bg.default  { background: linear-gradient(135deg, #2d4a36, #3d6347); }

.card-image-glyph {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  user-select: none;
}

.card-badges {
  position: absolute;
  top: 1rem; left: 1rem;
  display: flex; gap: 0.5rem;
}
.badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}
.badge-path.steward  { background: rgba(45,74,54,0.92); color: var(--cream); }
.badge-path.scientist { background: rgba(29,61,79,0.92); color: var(--cream); }
.badge-path.protector { background: rgba(196,113,74,0.92); color: var(--cream); }
.badge-verified { background: rgba(255,255,255,0.94); color: var(--forest); }

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-location {
  font-size: 0.7rem;
  color: var(--mist);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}
.card-tagline {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--cream-dark);
  padding-top: 1rem;
}
.card-score { display: flex; align-items: baseline; gap: 0.35rem; }
.score-num { font-size: 1.5rem; font-weight: 700; color: var(--forest); }
.score-denom { font-size: 0.75rem; color: var(--mist); }
.card-arrow { color: var(--earth); font-size: 1.1rem; transition: transform 0.2s; }
.provider-card:hover .card-arrow { transform: translateX(5px); }


/* ─── THE STANDARD SECTION ────────────────────────────────── */

.standard {
  background: var(--forest);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}
.standard-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.standard-inner > .eyebrow { color: var(--earth-light); }
.standard h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.22;
  max-width: 680px;
  margin-bottom: 1.25rem;
}
.standard-lead {
  font-size: 1.0625rem;
  color: rgba(248,245,239,0.62);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  padding: 2rem 1.75rem;
  background: rgba(255,255,255,0.025);
}
.pillar-mark {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--earth-light);
  margin-bottom: 0.75rem;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.pillar p {
  font-size: 0.875rem;
  color: rgba(248,245,239,0.48);
  line-height: 1.65;
}


/* ─── DISCOVER PAGE ───────────────────────────────────────── */

.discover-hero {
  background: var(--cream-warm);
  padding: clamp(9rem, 16vw, 13rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.discover-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.discover-hero p {
  font-size: 1.0625rem;
  color: var(--stone);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--sand);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stone);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
}
.filter-btn:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.filter-btn.active { background: var(--forest); color: var(--cream); border-color: var(--forest); }


/* ─── PATH HERO PAGES ─────────────────────────────────────── */

.path-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: clamp(9rem, 16vw, 13rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.path-hero.steward  { background: linear-gradient(150deg, #1c3024 0%, #2d4a36 100%); }
.path-hero.scientist { background: linear-gradient(150deg, #1d3d4f 0%, #2d5567 100%); }
.path-hero.protector { background: linear-gradient(150deg, #3a2016 0%, #5c3826 100%); }

.path-hero-inner { max-width: var(--container); margin: 0 auto; width: 100%; }
.path-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.path-hero h1 em { font-style: italic; opacity: 0.65; }
.path-hero p {
  font-size: 1.125rem;
  color: rgba(248,245,239,0.68);
  max-width: 560px;
  line-height: 1.78;
  margin-bottom: 2.5rem;
}

.path-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.principle {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
}
.principle-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.35);
  margin-bottom: 0.75rem;
}
.principle h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.principle p {
  font-size: 0.875rem;
  color: rgba(248,245,239,0.55);
  line-height: 1.65;
}


/* ─── METHODOLOGY PAGE ────────────────────────────────────── */

.methodology-hero {
  background: linear-gradient(150deg, var(--forest) 0%, #243c2b 100%);
  padding: clamp(9rem, 16vw, 13rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}
.methodology-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.12;
  max-width: 700px;
  margin-bottom: 1.25rem;
}
.methodology-hero p {
  font-size: 1.125rem;
  color: rgba(248,245,239,0.65);
  max-width: 540px;
  line-height: 1.78;
}

.methodology-body {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}
.m-block { margin-bottom: 4rem; }
.m-block h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--earth);
  display: inline-block;
}
.m-block p {
  font-size: 1.0625rem;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.criteria {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.criteria li {
  display: flex;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.65;
  padding: 0.875rem 1rem;
  background: var(--cream-warm);
  border-radius: 2px;
}
.criteria li::before {
  content: '✓';
  color: var(--earth);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .tier-cards { grid-template-columns: 1fr; } }

.tier-card {
  padding: 2rem;
  border-radius: 3px;
  border-top: 3px solid;
}
.tier-card.steward  { border-color: var(--forest); background: rgba(28,48,36,0.04); }
.tier-card.scientist { border-color: var(--sky); background: rgba(61,122,138,0.04); }
.tier-card.protector { border-color: var(--earth); background: rgba(196,113,74,0.04); }

.tier-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 0.6rem;
}
.tier-card p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
  margin: 0;
}


/* ─── OPERATOR PROFILE ────────────────────────────────────── */

.operator-hero {
  height: 65vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.operator-hero-bg {
  position: absolute;
  inset: 0;
}
.operator-hero-bg.steward  { background: linear-gradient(150deg, #1c3024, #3d6347); }
.operator-hero-bg.scientist { background: linear-gradient(150deg, #1d3d4f, #3d7a8a); }
.operator-hero-bg.protector { background: linear-gradient(150deg, #3a2016, #c4714a); }
.operator-hero-bg.default  { background: linear-gradient(150deg, #1c3024, #2d4a36); }

.operator-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.operator-hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter) 3rem;
}
.op-badges { display: flex; gap: 0.6rem; margin-bottom: 1rem; flex-wrap: wrap; }

.operator-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 0.6rem;
}
.op-location { color: rgba(248,245,239,0.6); font-size: 0.9375rem; }

.operator-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem var(--gutter) 6rem;
  align-items: start;
}
@media (max-width: 960px) {
  .operator-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.operator-story { font-size: 1.0625rem; color: var(--stone); line-height: 1.85; }
.operator-story h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--forest);
  margin: 2.5rem 0 1rem;
}
.operator-story blockquote {
  border-left: 3px solid var(--earth);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2.5rem 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.5;
}

.operator-sidebar { position: sticky; top: 7rem; }
.sidebar-block {
  background: var(--cream-warm);
  border-radius: 3px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.sidebar-block h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1rem;
}
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; color: var(--forest); line-height: 1.5;
}
.sidebar-list li::before { content: '·'; color: var(--earth); font-weight: 700; flex-shrink: 0; }
.sidebar-score {
  display: flex; align-items: baseline; gap: 0.4rem;
  margin-top: 0.5rem;
}
.sidebar-score-num { font-size: 2.5rem; font-weight: 700; color: var(--forest); }
.sidebar-score-label { font-size: 0.75rem; color: var(--mist); }

.sidebar-cta { display: block; text-align: center; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}


/* ─── EMPTY STATE ─────────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--stone);
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}
.empty-state p { font-size: 1rem; line-height: 1.7; }


/* ─── FOOTER ──────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: rgba(248,245,239,0.5);
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.875rem;
}
.footer-brand span { color: var(--earth); }
.footer-tagline { font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.5rem; }

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}
.footer-bottom a:hover { color: var(--cream); }


/* ─── UTILITIES ───────────────────────────────────────────── */

.bg-cream-warm { background: var(--cream-warm); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s var(--ease) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.5s; }
