:root {
  --ink: #1f2520;
  --muted: #5e685c;
  --paper: #fbf7ef;
  --sand: #ede1cf;
  --sage: #6d7a58;
  --olive: #354033;
  --clay: #934524;
  --clay-dark: #6f321e;
  --cream: #fffdf8;
  --line: rgba(31, 37, 32, 0.14);
  --shadow: 0 24px 70px rgba(31, 37, 32, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #184f8a;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.88);
  border-bottom: 1px solid rgba(31, 37, 32, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  background: var(--olive);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #394037;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a:hover {
  color: var(--clay-dark);
}

.call-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.call-button,
.primary-action {
  color: #fffaf4;
  background: var(--clay);
  box-shadow: 0 10px 24px rgba(180, 95, 54, 0.24);
}

.call-button:focus-visible,
.primary-action:focus-visible {
  outline-color: #184f8a;
}

.call-button:hover,
.primary-action:hover {
  background: var(--clay-dark);
}

.secondary-action {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid rgba(255, 253, 248, 0.42);
}

.hero {
  position: relative;
  min-height: calc(88svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background: #1f2520;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(31, 37, 32, 0.96), rgba(31, 37, 32, 0.84) 48%, rgba(31, 37, 32, 0.28) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  width: min(760px, 100%);
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b48f;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 12.5em;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-strip span {
  padding: 8px 12px;
  color: rgba(255, 253, 248, 0.9);
  background: rgba(255, 253, 248, 0.13);
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band div {
  min-height: 150px;
  padding: clamp(22px, 3vw, 38px);
  background: var(--cream);
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band strong {
  font-size: 1.1rem;
}

.proof-band span {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  scroll-margin-top: 88px;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.section-intro {
  max-width: 680px;
}

.section-intro.narrow {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-intro p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 220px;
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(31, 37, 32, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: end;
  padding: 0;
  overflow: hidden;
}

.service-card.featured img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.service-card.featured div {
  padding: 32px 32px 34px 0;
}

.service-card span,
.blog-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.image-row figure {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.image-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-row figcaption {
  padding: 14px 16px 16px;
  color: var(--olive);
  font-weight: 800;
}

.areas,
.answer-section {
  background: var(--sand);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1080px;
  margin: 38px auto 0;
}

.area-grid span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid rgba(31, 37, 32, 0.1);
  border-radius: 8px;
  font-weight: 850;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 38px auto 0;
}

details {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(31, 37, 32, 0.12);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 1.08rem;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.blog-grid article {
  min-height: 260px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.blog-grid p {
  color: var(--muted);
}

.blog-section-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 5vw, 72px);
  color: var(--cream);
  background: var(--olive);
}

.cta-band .eyebrow {
  color: #e8b28f;
}

.cta-band h2 {
  max-width: 760px;
}

.cta-band p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 253, 248, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 38px clamp(18px, 5vw, 72px);
  color: rgba(255, 253, 248, 0.78);
  background: #1f2520;
}

.site-footer strong {
  color: var(--cream);
}

.site-footer p {
  max-width: 680px;
  margin: 8px 0 0;
}

.site-footer a {
  display: block;
  color: var(--cream);
  font-weight: 800;
  text-align: right;
}

.site-footer a + a {
  margin-top: 8px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover,
  .blog-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 37, 32, 0.24);
    box-shadow: 0 18px 46px rgba(31, 37, 32, 0.11);
  }

  .image-row figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(31, 37, 32, 0.1);
  }
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(64px, 9vw, 126px) clamp(18px, 5vw, 72px);
  background: var(--sand);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.16rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-page {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 76px);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.content-page aside {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-page aside a {
  margin-top: 18px;
  width: 100%;
}

.article-flow {
  max-width: 860px;
}

.article-flow h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.article-flow h2:first-child {
  margin-top: 0;
}

.article-flow p,
.article-flow li {
  color: var(--muted);
  font-size: 1.05rem;
}

.article-flow li + li {
  margin-top: 8px;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  padding: clamp(68px, 10vw, 132px) clamp(18px, 5vw, 72px);
  color: var(--cream);
  background: linear-gradient(135deg, #1f2520 0%, #354033 62%, #6f321e 100%);
}

.blog-hero h1 {
  max-width: 13.5em;
  font-size: clamp(2.55rem, 5.8vw, 5.25rem);
}

.blog-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.blog-hero .eyebrow {
  color: #e8b28f;
}

.blog-hero-panel {
  padding: 24px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
}

.blog-hero-panel strong,
.blog-hero-panel a {
  display: block;
}

.blog-hero-panel strong {
  margin-bottom: 12px;
  color: #f7d3bd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero-panel a {
  padding: 14px 0;
  color: var(--cream);
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  font-weight: 800;
}

.blog-index-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(31, 37, 32, 0.08);
}

.featured-article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.featured-article h2 {
  font-size: clamp(2rem, 4vw, 4.15rem);
}

.featured-article p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-meta span {
  padding: 7px 10px;
  color: var(--olive);
  background: rgba(109, 122, 88, 0.13);
  border: 1px solid rgba(109, 122, 88, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.article-card {
  min-height: 250px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.article-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card p {
  color: var(--muted);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--sand);
}

.article-hero h1 {
  max-width: 12.8em;
  color: var(--ink);
  font-size: clamp(2.45rem, 5.4vw, 5.05rem);
}

.article-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.article-hero-card {
  padding: 24px;
  color: var(--cream);
  background: var(--olive);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-hero-card strong,
.article-hero-card span {
  display: block;
}

.article-hero-card strong {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.95;
}

.article-hero-card span {
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.74);
  font-weight: 750;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(30px, 5vw, 76px);
  padding: clamp(52px, 8vw, 98px) clamp(18px, 5vw, 72px);
}

.article-sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
}

.answer-box,
.quote-box,
.toc-box {
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.answer-box strong,
.toc-box strong {
  display: block;
  margin-bottom: 8px;
}

.answer-box p,
.quote-box p,
.toc-box a {
  color: var(--muted);
}

.toc-box a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.article-body {
  max-width: 880px;
}

.article-body h2 {
  margin-top: 48px;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin-top: 30px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.06rem;
}

.article-body a {
  color: var(--clay-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.metric-card {
  min-height: 132px;
  padding: 18px;
  background: rgba(109, 122, 88, 0.12);
  border: 1px solid rgba(109, 122, 88, 0.22);
  border-radius: 8px;
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  color: var(--olive);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
}

.metric-card span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.callout {
  margin: 30px 0;
  padding: 24px;
  color: var(--cream);
  background: var(--olive);
  border-radius: 8px;
}

.callout p,
.callout li {
  color: rgba(255, 253, 248, 0.78);
}

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

.related-grid a {
  display: block;
  min-height: 150px;
  padding: 18px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .split,
  .service-card.featured {
    grid-template-columns: 1fr;
  }

  .service-card.featured div {
    padding: 0 28px 30px;
  }

  .proof-band,
  .image-row,
  .blog-grid,
  .article-card-grid,
  .related-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band,
  .page-hero,
  .content-page,
  .blog-hero,
  .featured-article,
  .article-hero,
  .article-shell,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .content-page,
  .blog-hero,
  .featured-article,
  .article-hero,
  .article-shell {
    display: block;
  }

  .page-hero img,
  .content-page aside {
    margin-top: 28px;
  }

  .content-page aside {
    position: static;
  }

  .blog-hero-panel,
  .article-hero-card,
  .article-sidebar {
    margin-top: 28px;
  }

  .article-sidebar {
    position: static;
  }

  .site-footer a {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .call-button,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(31, 37, 32, 0.9), rgba(31, 37, 32, 0.62));
  }

  h1 {
    font-size: clamp(2.35rem, 12.6vw, 3.7rem);
  }

  .service-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }
}
