:root {
  --ink: #251b16;
  --muted: #715f53;
  --paper: #f6efe5;
  --white: #ffffff;
  --line: #d9c8b5;
  --moss: #556b4f;
  --moss-dark: #374632;
  --copper: #b8753e;
  --cedar: #7a4d34;
  --walnut: #3c2a20;
  --shadow: 0 24px 60px rgba(60, 42, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

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

.site-header {
  align-items: center;
  background: rgba(246, 239, 229, 0.94);
  border-bottom: 1px solid rgba(217, 200, 181, 0.86);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 66px;
  padding: 12px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brand-logo-button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: zoom-in;
  display: block;
  font: inherit;
  padding: 0;
}

.brand-logo-button:hover,
.brand-logo-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(184, 117, 62, 0.18);
  outline: none;
}

.brand-logo {
  display: block;
  height: 42px;
  width: 42px;
}

.brand-name {
  color: var(--ink);
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  padding: 8px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(122, 77, 52, 0.11);
  color: var(--cedar);
}

.hero {
  isolation: isolate;
  min-height: clamp(560px, calc(100svh - 124px), 760px);
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(37, 27, 22, 0.82), rgba(60, 42, 32, 0.5) 48%, rgba(60, 42, 32, 0.14)),
    linear-gradient(0deg, rgba(37, 27, 22, 0.26), rgba(37, 27, 22, 0.08));
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-content {
  color: var(--white);
  max-width: 760px;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 76px) 48px;
}

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

.hero h1,
.section-heading h2,
.contact-band h2 {
  line-height: 1.05;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.65rem);
  max-width: 780px;
  text-wrap: balance;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  margin: 20px 0 0;
  max-width: 640px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--copper);
  color: #1f140d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.intro-band,
.profile-section,
.section,
.packages-section,
.split-section,
.contact-band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 76px);
}

.intro-band {
  background: var(--walnut);
  color: var(--white);
}

.intro-band > div {
  align-items: start;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(160px, 260px) minmax(0, 860px);
  margin: 0 auto;
  max-width: 1160px;
}

.stat {
  color: #d9a25e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.intro-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 0;
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 1160px;
}

.section-note {
  border-left: 3px solid var(--copper);
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 820px;
  padding-left: 18px;
}

.profile-section {
  background:
    linear-gradient(135deg, rgba(122, 77, 52, 0.12), rgba(85, 107, 79, 0.08)),
    #fbf7f1;
}

.profile-panel {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: 1160px;
}

.profile-panel .section-heading {
  margin: 0;
}

.about-identity {
  align-items: start;
  column-gap: 14px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  margin-top: 22px;
}

.about-photo {
  border: 3px solid rgba(246, 239, 229, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(184, 117, 62, 0.42), 0 10px 24px rgba(60, 42, 32, 0.14);
  height: 76px;
  object-fit: cover;
  object-position: center 34%;
  width: 76px;
}

.about-details {
  padding-top: 8px;
}

.about-name,
.about-role {
  display: block;
}

.about-name {
  font-size: 1.14rem;
  font-weight: 800;
}

.about-role {
  color: var(--muted);
  font-size: 0.96rem;
}

.certification-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 12px;
}

.certification-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(122, 77, 52, 0.1);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  gap: 9px;
  padding: 7px 9px;
}

.certification-badge img {
  display: block;
  filter: grayscale(0.55) sepia(0.08);
  height: 22px;
  object-fit: contain;
  opacity: 0.68;
  width: 50px;
}

.certification-badge .mpa-logo {
  height: 24px;
  width: 56px;
}

.certification-badge span {
  display: grid;
  gap: 2px;
}

.certification-badge strong,
.certification-badge em {
  display: block;
  font-style: normal;
  line-height: 1.05;
}

.certification-badge strong {
  font-size: 0.78rem;
  font-weight: 780;
}

.certification-badge em {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 720;
  text-transform: uppercase;
}

.profile-copy {
  border-left: 3px solid var(--copper);
  display: grid;
  gap: 18px;
  padding-left: 28px;
}

.profile-copy p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  margin: 0;
}

.section-heading h2,
.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  max-width: 820px;
}

.package-grid,
.project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.package-card,
.project-card {
  background: var(--white);
  border: 1px solid rgba(217, 200, 181, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 33, 40, 0.06);
  min-height: 250px;
  padding: 26px;
}

.package-card h3,
.project-card h3,
.step h3 {
  font-size: 1.22rem;
  line-height: 1.18;
  margin: 0 0 12px;
}

.package-card p,
.project-card p,
.step p,
.contact-band p {
  color: var(--muted);
  margin: 0;
}

.packages-section {
  background: #f1e5d8;
}

.package-card {
  min-height: 360px;
  position: relative;
}

.featured-package {
  border-color: rgba(184, 117, 62, 0.58);
  box-shadow: var(--shadow);
}

.package-label {
  color: var(--cedar);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.package-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.package-card li {
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}

.package-card li::before {
  background: var(--copper);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 2px;
  position: absolute;
  top: 0.62em;
  width: 7px;
}

.package-note {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 24px auto 0;
  max-width: 1160px;
}

.provider-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 34px auto 0;
  max-width: 1160px;
  padding-top: 30px;
  position: relative;
}

.provider-strip::before {
  background: rgba(122, 77, 52, 0.12);
  content: "";
  height: 1px;
  left: 0;
  max-width: 760px;
  position: absolute;
  top: 0;
  width: 68%;
}

.provider-intro p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}

.provider-intro span {
  color: rgba(37, 27, 22, 0.64);
  display: block;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-top: 10px;
  max-width: 640px;
}

.provider-spheres {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.provider-sphere {
  align-items: flex-start;
  background:
    radial-gradient(circle at 24px 20px, rgba(184, 117, 62, 0.14), transparent 54px),
    rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(122, 77, 52, 0.18);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  letter-spacing: 0;
  min-height: 164px;
  padding: 14px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.provider-sphere:hover,
.provider-sphere:focus-visible {
  background:
    radial-gradient(circle at 24px 20px, rgba(184, 117, 62, 0.2), transparent 58px),
    rgba(255, 255, 255, 0.7);
  border-color: rgba(184, 117, 62, 0.44);
  box-shadow: 0 14px 30px rgba(60, 42, 32, 0.08);
  transform: translateY(-1px);
}

.sphere-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 62px;
}

.sphere-logos img {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 77, 52, 0.14);
  border-radius: 999px;
  display: block;
  filter: grayscale(0.18) sepia(0.08);
  height: 34px;
  max-width: 70px;
  object-fit: contain;
  opacity: 0.84;
  padding: 6px;
  width: auto;
}

.sphere-logos .provider-logo-wide {
  max-width: 94px;
}

.sphere-title {
  color: var(--ink);
  display: block;
  font-size: 1.02rem;
  font-weight: 840;
  line-height: 1.18;
  margin-top: 12px;
}

.sphere-copy {
  color: rgba(37, 27, 22, 0.64);
  display: block;
  font-size: 0.9rem;
  line-height: 1.42;
  margin-top: 8px;
}

.provider-modal,
.logo-modal {
  display: none;
  inset: 0;
  padding: 20px;
  position: fixed;
  z-index: 50;
}

.provider-modal.is-open,
.logo-modal.is-open {
  align-items: center;
  display: flex;
  justify-content: center;
}

.provider-modal-backdrop,
.logo-modal-backdrop {
  background: rgba(26, 19, 15, 0.54);
  inset: 0;
  position: absolute;
}

.logo-dialog {
  align-items: center;
  background: #fbf7f1;
  border: 1px solid rgba(217, 200, 181, 0.94);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(26, 19, 15, 0.28);
  display: grid;
  justify-items: center;
  max-width: min(420px, calc(100vw - 40px));
  padding: clamp(28px, 5vw, 46px);
  position: relative;
  width: min(100%, 420px);
}

.logo-dialog img {
  display: block;
  height: auto;
  max-width: 250px;
  width: min(64vw, 250px);
}

.logo-dialog .eyebrow {
  margin-top: 18px;
}

.provider-dialog {
  background: #fbf7f1;
  border: 1px solid rgba(217, 200, 181, 0.94);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(26, 19, 15, 0.28);
  max-height: min(720px, calc(100svh - 40px));
  max-width: 560px;
  overflow: auto;
  padding: clamp(24px, 4vw, 34px);
  position: relative;
  width: min(100%, 560px);
}

.provider-close {
  align-items: center;
  background: rgba(122, 77, 52, 0.1);
  border: 1px solid rgba(122, 77, 52, 0.16);
  border-radius: 50%;
  color: var(--cedar);
  cursor: pointer;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 36px;
}

.provider-close:hover,
.provider-close:focus-visible {
  background: rgba(184, 117, 62, 0.18);
}

.provider-dialog-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  padding-right: 38px;
}

.provider-dialog-heading img {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 77, 52, 0.15);
  border-radius: 8px;
  filter: grayscale(1) sepia(0.1);
  height: 54px;
  object-fit: contain;
  opacity: 0.86;
  padding: 10px;
  width: 54px;
}

.provider-dialog h2 {
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  line-height: 1.05;
  margin: 0;
}

.provider-dialog .eyebrow {
  margin-bottom: 8px;
}

.provider-dialog p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 22px 0 0;
}

.provider-dialog ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.provider-dialog li {
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}

.provider-dialog li::before {
  background: var(--copper);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 2px;
  position: absolute;
  top: 0.62em;
  width: 7px;
}

.split-section {
  background: #e9ddcf;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 1160px;
}

.step {
  align-items: start;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(217, 200, 181, 0.9);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 24px;
}

.step span {
  color: var(--cedar);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.project-card span {
  color: var(--moss);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.contact-band {
  align-items: end;
  background: var(--moss-dark);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 760px) auto;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin-top: 18px;
  max-width: 720px;
}

.contact-band .pricing-note {
  border-left: 3px solid rgba(217, 162, 94, 0.72);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  margin-top: 20px;
  padding-left: 16px;
}

.site-footer {
  background: #1a130f;
  color: rgba(255, 255, 255, 0.72);
  padding: 24px clamp(20px, 6vw, 76px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: auto;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .site-nav {
    gap: 4px;
    justify-content: flex-start;
  }

  .hero {
    min-height: clamp(600px, calc(100svh - 112px), 700px);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(37, 27, 22, 0.86), rgba(60, 42, 32, 0.54));
  }

  .hero-content {
    padding-bottom: 34px;
    padding-top: 42px;
  }

  .intro-band > div,
  .profile-panel,
  .provider-strip,
  .package-grid,
  .project-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .provider-strip {
    gap: 16px;
  }

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

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .site-nav a {
    flex: 0 0 auto;
    font-size: 0.88rem;
    padding: 6px 8px;
  }

  .hero {
    min-height: clamp(560px, calc(100svh - 120px), 660px);
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9.4vw, 2.42rem);
    line-height: 1.03;
  }

  .hero-copy {
    font-size: 1rem;
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button {
    min-height: 44px;
    width: 100%;
  }

  .provider-spheres {
    grid-template-columns: 1fr;
  }

  .provider-sphere {
    min-height: 0;
  }

  .provider-modal {
    padding: 14px;
  }

  .provider-dialog-heading {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 36px;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
