/* =========================================================
   TANVIRBHUPAL.COM
   SITE FOUNDATION + HOMEPAGE
   ========================================================= */

:root {
  --canvas: #f4f1e9;
  --surface: #ffffff;
  --surface-soft: #f8f6f1;

  --text: #1e2924;
  --muted: #5d6862;

  --green: #294b3d;
  --green-deep: #203b31;
  --green-soft: #dfe8e1;

  --border: #d9d5cb;

  --max-width: 1180px;
  --reading-width: 760px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 55px rgba(31, 42, 37, 0.08);
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

main {
  width: 100%;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 3000;

  transform: translateY(-160%);

  padding: 10px 14px;

  border-radius: 8px;

  background: var(--text);
  color: #ffffff;

  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(41, 75, 61, 0.32);
  outline-offset: 4px;
}


/* =========================================================
   SHARED TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--text);
}

h1,
h2,
h3 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
}

p {
  margin-top: 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  border-bottom: 1px solid rgba(217, 213, 203, 0.9);

  background: rgba(244, 241, 233, 0.94);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 76px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  flex: 0 0 auto;

  color: var(--text);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(15px, 2vw, 25px);

  margin-left: auto;

  font-size: 0.91rem;
}

.desktop-nav a {
  position: relative;

  color: var(--text);

  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--green);
}

.header-cta {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding: 10px 18px;

  border-radius: 999px;

  background: var(--green);
  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 700;

  transition:
    background 160ms ease,
    transform 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--green-deep);
  transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
  position: relative;

  display: none;

  margin-left: auto;
}

.mobile-menu__toggle {
  width: 42px;
  height: 42px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  cursor: pointer;
  list-style: none;

  border-radius: 50%;
}

.mobile-menu__toggle::-webkit-details-marker {
  display: none;
}

.mobile-menu__toggle span {
  display: block;

  width: 20px;
  height: 2px;

  border-radius: 2px;

  background: var(--text);
}

.mobile-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;

  width: min(320px, calc(100vw - 36px));

  display: grid;

  padding: 12px 16px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--surface);

  box-shadow: var(--shadow-soft);
}

.mobile-menu__panel > a {
  padding: 13px 4px;

  border-bottom: 1px solid var(--border);

  color: var(--text);

  font-size: 0.95rem;
}

.mobile-menu__panel > a:hover,
.mobile-menu__panel > a:focus-visible {
  color: var(--green);
}

.mobile-menu__panel .mobile-menu__cta {
  margin-top: 10px;
  margin-bottom: 4px;

  padding: 12px 16px;

  border: 0;
  border-radius: 999px;

  background: var(--green);
  color: #ffffff;

  text-align: center;
  font-weight: 700;
}


/* =========================================================
   SHARED BUTTONS AND LINKS
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 12px 21px;

  border: 1px solid transparent;
  border-radius: 999px;

  font-weight: 700;
  line-height: 1.2;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--green);
  color: #ffffff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--green-deep);
}

.button--secondary {
  border-color: var(--green);

  background: transparent;
  color: var(--green);
}

.button--light {
  background: #ffffff;
  color: var(--green-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  padding: 0;

  background: transparent;
  color: var(--green);

  font-size: 0.95rem;
  font-weight: 700;
}

.text-link::after {
  content: "→";

  transition: transform 160ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}


/* =========================================================
   INTERIOR PAGE FOUNDATION
   ========================================================= */

.page-shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.page-shell--narrow {
  max-width: var(--reading-width);
}

.page-hero {
  padding: 46px 0 52px;
  background: var(--canvas);
}

.page-section {
  padding: 42px 0;
}
.articles-hero {
  padding-bottom: 36px;
}

.articles-start {
  padding-top: 32px;
}
.page-section--soft {
  background: var(--surface-soft);
}

.page-section--personal {
  background: var(--canvas);
}

.page-hero h1,
.page-section h2,
.page-section h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: clamp(3rem, 5.3vw, 5rem);
  line-height: 1.02;
}

.page-section h2 {
  max-width: 740px;
  margin: 0 0 22px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}

.page-section h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.page-hero p,
.page-section p,
.page-section li {
  color: var(--muted);
}

.page-hero p,
.page-section p {
  margin: 0 0 22px;
  font-size: 1.03rem;
  line-height: 1.75;
}

.page-section ul,
.page-section ol {
  margin: 0 0 26px;
  padding-left: 1.3rem;
}

.page-section li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.page-intro {
  max-width: 720px;
  font-size: clamp(1.08rem, 1.5vw, 1.2rem) !important;
  line-height: 1.7 !important;
}

.eyebrow {
  max-width: none;
  margin: 0 0 18px !important;
  color: var(--green) !important;
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.page-hero a:not(.button):not(.text-link),
.page-section a:not(.button):not(.text-link):not(.resource-card) {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-hero a:not(.button):not(.text-link):hover,
.page-section a:not(.button):not(.text-link):not(.resource-card):hover {
  color: var(--green-deep);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.button-row--center {
  justify-content: center;
}
/* =========================================================
   ARTICLE PAGE FOUNDATION
   ========================================================= */
.article-page .page-hero {
  padding: 32px 0 34px;
}
.article-page .page-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 4.2vw, 4.25rem);
  line-height: 1.02;
}
.article-page > .page-section--soft:first-of-type {
  padding: 26px 0;
}

.article-page > .page-section--soft:first-of-type .key-takeaway {
  margin-top: 0 !important;
}
/* =========================================================
   INTERIOR PAGE COMPONENTS
   ========================================================= */

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--border);
}

.decision-card {
  min-height: 250px;
  padding: 30px;
  background: var(--surface);
}

.decision-card__number {
  margin-bottom: 30px !important;
  color: var(--green) !important;
  font-size: 0.75rem !important;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.key-takeaway {
  margin-top: 30px !important;
  padding: 22px 24px;
  border-left: 3px solid var(--green);
  background: var(--green-soft);
  color: var(--text) !important;
}

.key-takeaway strong {
  color: var(--text);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px !important;
  padding: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.source-note,
.cta-note {
  color: var(--muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}

.source-note {
  margin-top: 26px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 7vw, 88px);
}

.page-section--split .page-shell {
  max-width: var(--max-width);
}

.page-section--split .key-takeaway {
  max-width: 900px;
  margin-top: 42px !important;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading--center h2,
.section-heading--center p {
  margin-left: auto;
  margin-right: auto;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resource-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px);
  border-color: #c9c3b7;
  box-shadow: 0 15px 40px rgba(31, 42, 37, 0.06);
}

.resource-card h3 {
  color: var(--text);
}

.resource-card p {
  flex-grow: 1;
  color: var(--muted);
}

.resource-card span {
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 700;
}

.resource-card span::after {
  content: " →";
}

.section-link {
  margin: 34px 0 0 !important;
  text-align: center;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 24px 46px 24px 0;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 46px 22px 0;
}

.page-section--cta {
  background: var(--green-deep);
  text-align: center;
}

.page-section--cta .eyebrow {
  color: #c8d6ce !important;
}

.page-section--cta h2 {
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-section--cta p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.74);
}

.page-section--cta .button--primary {
  background: #ffffff;
  color: var(--green-deep);
}

.page-section--cta .button--primary:hover,
.page-section--cta .button--primary:focus-visible {
  background: var(--canvas);
}

.page-section--cta .button--secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}

.page-section--cta .button--secondary:hover,
.page-section--cta .button--secondary:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--green-deep);
}

.page-section--sources {
  padding-top: 58px;
  padding-bottom: 58px;
  background: var(--surface-soft);
}

.page-section--sources h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.page-section--sources ul {
  margin-top: 24px;
}

.legal-note {
  width: min(calc(100% - 64px), var(--reading-width));
  margin: 0 auto;
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}
/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-hero__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(48px, 7vw, 88px);
}

.about-hero__content {
  max-width: var(--reading-width);
}

.about-hero__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.about-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 760px) {
  .about-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero__media {
    max-width: 360px;
  }
}

/* =========================================================
   HOMEPAGE FOUNDATION
   ========================================================= */

.home-page {
  width: 100%;
}

.home-shell {
  width: min(calc(100% - 64px), var(--max-width));

  margin: 0 auto;
}

.home-shell--narrow {
  max-width: var(--reading-width);
}

.home-section {
  padding: clamp(76px, 8vw, 112px) 0;
}

.home-section--soft {
  background: var(--surface-soft);
}

.home-eyebrow {
  max-width: none;

  margin: 0 0 18px;

  color: var(--green);

  font-size: 0.76rem;
  font-weight: 800;

  letter-spacing: 0.14em;
  line-height: 1.4;

  text-transform: uppercase;
}

.home-eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.home-page h1,
.home-page h2 {
  font-weight: 500;

  letter-spacing: -0.04em;
}

.home-page h1 {
  max-width: 720px;

  margin: 0 0 26px;

  font-size: clamp(3.1rem, 5.8vw, 5.6rem);

  line-height: 0.99;
}

.home-page h2 {
  max-width: 780px;

  margin: 0 0 22px;

  font-size: clamp(2.25rem, 4.2vw, 3.8rem);

  line-height: 1.05;
}

.home-page h3 {
  margin: 0 0 14px;

  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 600;

  line-height: 1.16;
  letter-spacing: -0.02em;
}

.home-page p {
  max-width: 720px;

  margin: 0 0 24px;

  color: var(--muted);

  font-size: 1.03rem;
  line-height: 1.72;
}

.home-lead {
  max-width: 660px !important;

  font-size: clamp(1.08rem, 1.5vw, 1.22rem) !important;

  line-height: 1.68 !important;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 19px;
}

.home-section-heading {
  max-width: 770px;

  margin-bottom: 46px;
}

.home-section-heading--wide {
  max-width: 880px;
}


/* =========================================================
   HERO
   ========================================================= */

.home-hero {
  padding:
    clamp(58px, 7vw, 92px)
    0
    clamp(78px, 8vw, 112px);

  background: var(--canvas);
}

.home-hero__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.07fr)
    minmax(350px, 0.93fr);

  align-items: center;

  gap: clamp(50px, 7vw, 88px);
}

.home-hero__content {
  position: relative;
  z-index: 1;
}

.home-hero__media {
  position: relative;

  aspect-ratio: 4 / 3;

  margin: 0;

  overflow: hidden;

  border-radius: var(--radius-lg);

  background: var(--green-soft);

  box-shadow: var(--shadow-soft);
}

.home-hero__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================================================
   START PATHS
   ========================================================= */

.home-path-grid,
.home-area-grid,
.home-article-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 22px;
}

.home-path-card {
  min-height: 280px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 32px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--surface);

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.home-path-card:hover {
  transform: translateY(-3px);

  border-color: #c9c3b7;

  box-shadow: 0 15px 40px rgba(31, 42, 37, 0.06);
}

.home-path-card p {
  flex-grow: 1;
}


/* =========================================================
   NEIGHBOURHOODS
   ========================================================= */

.home-area-card {
  min-height: 370px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--surface);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.home-area-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 16px 42px rgba(31, 42, 37, 0.07);
}

.home-area-card__body {
  width: 100%;

  padding: 32px;
}

.home-card-kicker {
  margin-bottom: 10px !important;

  color: var(--green) !important;

  font-size: 0.75rem !important;
  font-weight: 800 !important;

  letter-spacing: 0.12em !important;

  text-transform: uppercase;
}


/* =========================================================
   KNOWLEDGE LIBRARY
   ========================================================= */

.home-library {
  background: var(--text);
}

.home-library .home-eyebrow {
  color: #c8d6ce;
}

.home-library h2,
.home-library h3,
.home-library h3 a {
  color: #ffffff;
}

.home-library .home-section-heading > p:last-child,
.home-library .home-article-card > p:not(.home-card-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.home-library .home-card-kicker,
.home-library .text-link {
  color: #c8d6ce !important;
}

.home-article-card {
  min-height: 370px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 31px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.035);

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.home-article-card:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 255, 255, 0.24);

  background: rgba(255, 255, 255, 0.055);
}

.home-article-card h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
}

.home-article-card > p:not(.home-card-kicker) {
  flex-grow: 1;
}

.home-library__footer {
  margin-top: 34px;
}

.home-library .button--secondary {
  border-color: rgba(255, 255, 255, 0.65);

  color: #ffffff;
}

.home-library .button--secondary:hover,
.home-library .button--secondary:focus-visible {
  border-color: #ffffff;

  background: #ffffff;
  color: var(--green-deep);
}


/* =========================================================
   EDITORIAL SPLIT SECTIONS
   ========================================================= */

.home-philosophy {
  background: var(--canvas);
}

.home-split,
.home-feature__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.94fr)
    minmax(0, 1.06fr);

  align-items: start;

  gap: clamp(52px, 8vw, 110px);
}

.home-split__copy,
.home-feature__copy {
  padding-top: 8px;
}


/* =========================================================
   DECISION FRAMEWORK
   ========================================================= */

.home-decision-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 1px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--border);
}

.home-decision-card {
  min-height: 275px;

  padding: 34px;

  background: var(--surface);
}

.home-decision-card__number {
  display: block;

  margin-bottom: 34px;

  color: var(--green);

  font-size: 0.76rem;
  font-weight: 800;

  letter-spacing: 0.13em;
}


/* =========================================================
   COORDINATING FEATURE
   ========================================================= */

.home-feature {
  background: var(--green-soft);
}


/* =========================================================
   ABOUT
   ========================================================= */

.home-about {
  background: var(--surface);
}


/* =========================================================
   FAQ
   ========================================================= */

.home-faq {
  border-top: 1px solid var(--border);
}

.home-faq details {
  border-bottom: 1px solid var(--border);
}

.home-faq summary {
  position: relative;

  cursor: pointer;
  list-style: none;

  padding: 24px 46px 24px 0;

  color: var(--text);

  font-size: 1.06rem;
  font-weight: 700;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after {
  content: "+";

  position: absolute;

  top: 50%;
  right: 4px;

  transform: translateY(-50%);

  color: var(--green);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.home-faq details[open] summary::after {
  content: "−";
}

.home-faq details p {
  padding: 0 46px 22px 0;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.home-final-cta {
  padding: clamp(64px, 7vw, 88px) 0;

  background: var(--green-deep);
}

.home-final-cta .home-actions {
  justify-content: center;
}
.home-final-cta h2 {
  color: #ffffff;
}

.home-final-cta p:not(.home-eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.home-phone {
  color: #ffffff;

  font-weight: 700;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  width: 100%;

  border-top: 1px solid var(--border);

  background: var(--surface);
}

.footer-inner {
  width: min(calc(100% - 64px), var(--max-width));

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, 0.8fr)
    minmax(0, 0.8fr)
    minmax(0, 1fr);

  gap: 40px;

  padding: 58px 0 42px;
}

.footer-intro {
  max-width: 330px;
}

.footer-brand {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--text);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.18rem;
  font-weight: 700;
}

.footer-inner p {
  margin: 0 0 9px;

  color: var(--muted);

  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 8px;
}

.footer-column a {
  color: var(--muted);

  font-size: 0.91rem;

  transition: color 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--green);
}

.footer-heading {
  margin-bottom: 6px !important;

  color: var(--text) !important;

  font-size: 0.82rem !important;
  font-weight: 800;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.footer-contact .footer-cta {
  display: inline-flex;

  margin-top: 8px;

  padding: 10px 16px;

  border-radius: 999px;

  background: var(--green);
  color: #ffffff;

  font-size: 0.88rem;
  font-weight: 700;
}

.footer-contact .footer-cta:hover,
.footer-contact .footer-cta:focus-visible {
  background: var(--green-deep);
  color: #ffffff;
}

.footer-bottom {
  width: min(calc(100% - 64px), var(--max-width));

  margin: 0 auto;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 24px;

  padding: 22px 0 38px;

  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;

  color: var(--muted);

  font-size: 0.82rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1040px) {

  .decision-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-card:last-child,
  .resource-card:last-child {
    grid-column: 1 / -1;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .home-hero__grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(300px, 0.8fr);

    gap: 42px;
  }

  .home-path-grid,
  .home-area-grid,
  .home-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-path-card:last-child,
  .home-area-card:last-child,
  .home-article-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .page-shell,
  .legal-note {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .page-hero {
    padding: 42px 0 52px;
  }

  .page-section {
    padding: 50px 0;
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 11vw, 3.8rem);
  }

  .page-section h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .decision-grid,
  .resource-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .decision-card:last-child,
  .resource-card:last-child {
    grid-column: auto;
  }

  .decision-card,
  .resource-card {
    min-height: auto;
    padding: 27px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .legal-note {
    padding-bottom: 24px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .header-inner {
    width: min(calc(100% - 36px), var(--max-width));

    min-height: 68px;
  }

  .site-brand {
    font-size: 1.22rem;
  }

  .home-shell,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .home-section {
    padding: 68px 0;
  }

  .home-hero {
    padding: 44px 0 70px;
  }

  .home-hero__grid,
  .home-split,
  .home-feature__grid {
    grid-template-columns: 1fr;

    gap: 36px;
  }

  .home-hero__content {
    order: 1;
  }

  .home-hero__media {
    order: 2;

    border-radius: 19px;
  }

  .home-page h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);

    line-height: 1;
  }

  .home-page h2 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .home-page p {
    font-size: 1rem;
  }

  .home-path-grid,
  .home-area-grid,
  .home-article-grid,
  .home-decision-grid {
    grid-template-columns: 1fr;
  }

  .home-path-card:last-child,
  .home-area-card:last-child,
  .home-article-card:last-child {
    grid-column: auto;
  }

  .home-path-card,
  .home-area-card,
  .home-article-card,
  .home-decision-card {
    min-height: auto;
  }

  .home-path-card,
  .home-area-card__body,
  .home-article-card,
  .home-decision-card {
    padding: 27px;
  }

  .home-section-heading {
    margin-bottom: 34px;
  }

  .home-split__copy,
  .home-feature__copy {
    padding-top: 0;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 34px 26px;

    padding-top: 46px;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 8px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .button-row .text-link {
    align-self: flex-start;
  }

  .home-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-actions .button {
    width: 100%;
  }

  .home-actions .text-link,
  .home-phone {
    align-self: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .footer-intro {
    max-width: none;
  }
}
