:root {
  --cream: #fbf7e8;
  --cream-soft: #fffdf3;
  --greige: #eee7d8;
  --greige-deep: #d8cebc;
  --taupe: #8c857b;
  --taupe-deep: #6f695f;
  --anthracite: #4d4d48;
  --muted: #837d73;
  --light: #fee580;
  --line: rgba(77, 77, 72, 0.14);
  --shadow: 0 26px 80px rgba(72, 66, 56, 0.13);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--anthracite);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 46px);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(251, 247, 232, 0.92);
  box-shadow: 0 10px 34px rgba(72, 66, 56, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-wordmark {
  width: clamp(132px, 13vw, 174px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:not(.nav-button) {
  padding-block: 8px;
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--taupe-deep);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-button {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--cream-soft);
  background: var(--taupe-deep);
}

.button {
  min-height: 52px;
  padding: 14px 22px;
}

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

.button.primary {
  color: var(--cream-soft);
  background: var(--taupe-deep);
}

.button.secondary {
  background: rgba(255, 253, 243, 0.7);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 243, 0.76);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--taupe-deep);
}

.hero {
  width: min(1340px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 132px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--taupe-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  margin-bottom: 24px;
  color: var(--anthracite);
  font-size: clamp(56px, 8vw, 108px);
}

h2 {
  margin-bottom: 18px;
  color: var(--anthracite);
  font-size: clamp(36px, 5vw, 68px);
}

h3 {
  margin-bottom: 10px;
  color: var(--anthracite);
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy p,
.section-heading p,
.impact-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-visual {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--greige);
  box-shadow: var(--shadow);
}

.hero-visual img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 6vw, 84px);
  margin-bottom: 42px;
}

.compact-heading {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.feature-cards,
.service-image-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.feature-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.process-card,
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 243, 0.66);
  box-shadow: 0 18px 52px rgba(72, 66, 56, 0.08);
}

.feature-card {
  min-height: 270px;
  padding: 28px;
}

.feature-card span,
.process-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border-radius: 999px;
  background: rgba(254, 229, 128, 0.5);
  color: var(--taupe-deep);
  font-weight: 900;
}

.feature-card p,
.process-card p {
  color: var(--muted);
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: 80px clamp(18px, 4vw, 60px);
  background: var(--taupe);
  color: var(--cream);
}

.impact-section h2,
.impact-section .eyebrow {
  color: var(--cream-soft);
}

.impact-copy p {
  color: rgba(255, 253, 243, 0.82);
}

.impact-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(36, 31, 24, 0.2);
}

.impact-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.soft-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  font-size: 18px;
  font-weight: 760;
}

.soft-list li {
  position: relative;
  padding-left: 28px;
}

.soft-list li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--light);
  content: "";
}

.service-image-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-image-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  background: var(--greige);
  box-shadow: 0 18px 54px rgba(72, 66, 56, 0.1);
}

.service-image-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.service-image-card:hover img {
  transform: scale(1.035);
}

.service-note {
  max-width: 920px;
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 253, 243, 0.58);
  font-size: 14px;
}

.service-note strong {
  color: var(--anthracite);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  min-height: 245px;
  padding: 26px;
}

.contact-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 34px;
  padding: 48px 0 82px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: end;
  padding: clamp(30px, 6vw, 70px);
  border-radius: 28px;
  background: var(--cream-soft);
  box-shadow: var(--shadow);
}

.contact-panel-single {
  grid-template-columns: minmax(0, 820px);
}

.contact-box {
  display: grid;
  gap: 6px;
  padding: 26px;
  color: var(--muted);
  font-style: normal;
}

.contact-box strong {
  color: var(--anthracite);
  font-size: 22px;
}

.contact-box a {
  width: fit-content;
  margin-top: 8px;
  border-bottom: 1px solid var(--light);
  color: var(--anthracite);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(18px, 4vw, 46px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-contact {
  display: grid;
  gap: 4px;
}

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

.site-footer a {
  width: fit-content;
  font-weight: 760;
}

.footer-note {
  max-width: 360px;
  margin-top: 6px;
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
  padding: 120px 18px 60px;
}

.legal-card {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  border-radius: 24px;
  background: var(--cream-soft);
  box-shadow: var(--shadow);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card a {
  border-bottom: 1px solid var(--light);
  font-weight: 800;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--taupe-deep);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 243, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-button {
    margin-top: 8px;
  }

  .hero,
  .section-heading,
  .impact-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .feature-cards,
  .service-image-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-wordmark {
    width: 124px;
  }

  h1 {
    font-size: 48px;
  }

  .section,
  .contact-section {
    width: min(100% - 24px, var(--max));
    padding-block: 66px;
  }

  .hero {
    width: min(100% - 24px, 1340px);
  }

  .feature-cards,
  .service-image-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .process-card {
    min-height: auto;
  }

  .contact-panel {
    padding: 24px;
  }

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

}
