:root {
  color: #24362f;
  background: #f6f1e5;
  font-family: Avenir Next, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
  line-height: 1.6;
  --ink: #24362f;
  --muted: #66766d;
  --paper: #fffaf0;
  --paper-strong: #fffdf8;
  --line: rgba(69, 92, 80, 0.18);
  --forest: #315f4c;
  --clay: #9b342b;
  --gold: #c9944e;
  --shadow: 0 18px 46px rgba(45, 57, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(246, 241, 229, 0.68), #f6f1e5 520px),
    radial-gradient(circle at 16% 0%, rgba(155, 52, 43, 0.12), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(49, 95, 76, 0.14), transparent 30%),
    #f6f1e5;
}

a {
  color: inherit;
}

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

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

h1,
h2 {
  color: #182920;
  font-family: Iowan Old Style, Source Han Serif SC, STSong, serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 8vw, 88px);
}

h2 {
  font-size: clamp(28px, 4.8vw, 46px);
}

h3 {
  color: #213d31;
  font-size: 21px;
  line-height: 1.25;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  min-height: 74px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #4f6359;
  font-size: 14px;
  font-weight: 800;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

.brand {
  color: var(--forest);
  font-family: Iowan Old Style, Source Han Serif SC, STSong, serif;
  font-size: 26px;
  font-weight: 900;
}

.eyebrow {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  color: #315f4c;
  font-size: 22px;
  font-weight: 800;
}

.button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fffdf8;
  background: var(--forest);
}

.button.secondary {
  color: var(--forest);
  background: var(--paper-strong);
  border: 1px solid rgba(49, 95, 76, 0.22);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 22px 0 48px;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-copy > p:not(.eyebrow):not(.lead) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

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

.hero-visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(49, 95, 76, 0.14);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

.band,
.section {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 12px 34px rgba(45, 57, 48, 0.08);
}

.band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 24px;
  padding: 28px;
}

.band p:last-child,
.section-head p,
.sticky-copy p,
.story-section p,
.contact-section p {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: 28px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

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

.metric-grid article,
.feature-list article,
.healer-card,
.service-grid article,
.profile-grid-section article,
.process-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
}

.metric-grid article {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
}

.metric-grid strong {
  color: var(--clay);
  font-size: 36px;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 18px;
}

.sticky-copy {
  align-self: start;
  display: grid;
  gap: 12px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.feature-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.feature-list p,
.healer-card p,
.service-grid p,
.process-list span,
.profile-grid-section li,
.testimonial-section blockquote {
  color: var(--muted);
}

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

.healer-card {
  min-height: 360px;
  overflow: hidden;
  display: grid;
}

.healer-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.healer-card div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.healer-card.pending {
  align-content: end;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.2), rgba(255, 253, 248, 0.95)),
    url("./assets/ip-alliance-model.png") center / cover;
}

.text-link {
  color: var(--forest);
  font-weight: 900;
  text-decoration: none;
}

.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.process-list li {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
}

.process-list strong {
  color: var(--forest);
  font-size: 20px;
}

.application-form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #2c473b;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(49, 95, 76, 0.22);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(49, 95, 76, 0.18);
  border-color: rgba(49, 95, 76, 0.48);
}

.check-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--forest);
}

.submit-button {
  width: min(260px, 100%);
}

.form-status {
  min-height: 24px;
  color: var(--forest);
  font-weight: 900;
}

.form-status.error {
  color: var(--clay);
}

.profile-hero {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0 48px;
}

.profile-identity {
  display: grid;
  gap: 14px;
}

.profile-title {
  color: var(--forest);
  font-size: 24px;
  font-weight: 900;
}

.profile-identity > p:not(.eyebrow):not(.profile-title) {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-meta span,
.service-grid span {
  border-radius: 999px;
  background: rgba(49, 95, 76, 0.1);
  color: var(--forest);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 900;
}

.profile-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-cover img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

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

.gallery-grid figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 800;
}

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

.profile-grid-section article {
  padding: 20px;
}

.profile-grid-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.profile-grid-section li + li {
  margin-top: 8px;
}

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

.service-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.service-grid span {
  width: fit-content;
}

.story-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 20px;
  align-items: center;
}

.testimonial-section {
  display: grid;
  gap: 12px;
}

.testimonial-section blockquote {
  margin: 0;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  padding: 18px;
  font-size: 18px;
  font-weight: 800;
}

.contact-section .button {
  width: fit-content;
  justify-self: end;
}

.site-footer {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero,
  .band,
  .split-section,
  .profile-hero,
  .story-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img,
  .profile-cover img {
    aspect-ratio: 4 / 5;
  }

  .metric-grid,
  .healer-grid,
  .process-list,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-header {
    padding: 14px 0;
  }

  .site-header nav,
  .site-footer nav {
    gap: 10px;
  }

  .section,
  .band {
    padding: 18px;
  }

  .metric-grid,
  .healer-grid,
  .process-list,
  .form-grid,
  .gallery-grid,
  .profile-grid-section,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .healer-card {
    min-height: 300px;
  }

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