:root {
  --cream: #f4ecdd;
  --cream-alt: #ece2cc;
  --green: #2f3a26;
  --clay: #c1552c;
  --ink: #232420;
  --body-dark: #3a3d34;
  --body-medium: #4a4e42;
  --muted: #8a8f7f;
  --footer-muted-1: #a8ae95;
  --footer-muted-2: #7c826c;
  --footer-link: #c9d0b0;
  --cream-light: #fdf9f2;

  --font-heading: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
}

p {
  margin: 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  font-family: var(--font-body);
  text-align: center;
  white-space: nowrap;
}

.btn-clay {
  background: var(--clay);
  color: var(--cream-light);
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.btn-dark {
  background: var(--green);
  color: var(--cream);
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 600;
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(35, 36, 32, .1);
  padding: 4px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#services,
#faq,
#contact {
  scroll-margin-top: 90px;
}

.nav-logo svg {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: var(--body-medium);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a.btn {
  color: var(--cream);
}

/* Hero */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 48px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.hero h1 {
  font-weight: 700;
  font-size: 52px;
  line-height: 1.12;
  max-width: 820px;
  color: var(--ink);
}

.hero-copy {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  color: var(--body-medium);
}

.hero-image-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1800 / 1125;
  object-fit: cover;
  border-radius: 2px;
}

/* Approach + About */
.approach-about {
  max-width: 1140px;
  margin: 0 auto;
  padding: 96px 24px 110px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.approach {
  flex: 1;
}

.approach-copy {
  font-size: 20px;
  line-height: 1.7;
  color: var(--body-dark);
}

.approach-divider {
  align-self: stretch;
  flex: none;
  width: 1px;
  background: rgba(35, 36, 32, .14);
}

.about {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 32px;
}

.about-photo {
  flex: none;
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-medium);
  margin-bottom: 12px;
}

.about-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px !important;
}

.about-title {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--muted);
}

/* Services */
.services {
  background: var(--cream-alt);
  padding: 100px 48px;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-weight: 700;
  font-size: 34px;
  color: var(--ink);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.tab {
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  background: transparent;
  color: var(--body-medium);
  border: 1px solid rgba(35, 36, 32, .2);
  cursor: pointer;
}

.tab.is-active {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.tab-panel {
  background: var(--cream);
  padding: 48px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.tab-panel-text {
  flex: 1;
}

.tab-panel-text h3 {
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 16px;
}

.tab-panel-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-medium);
}

.tab-panel-image {
  flex: none;
  width: 360px;
  height: 260px;
  border-radius: 2px;
  overflow: hidden;
}

.tab-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Consultation */
.consultation {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 48px;
}

.consultation-card {
  background: var(--green);
  border-radius: 2px;
  padding: 56px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.consultation-text {
  max-width: 560px;
}

.consultation-text h3 {
  font-weight: 600;
  font-size: 26px;
  color: #eef0dc;
  margin-bottom: 12px;
}

.consultation-text p {
  font-size: 15px;
  color: #c7cdb4;
  line-height: 1.6;
}

.consultation .btn-clay {
  padding: 15px 30px;
  font-size: 14px;
  flex: none;
}

/* FAQ */
.faq {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 110px;
}

.faq-list {
  columns: 2;
  column-gap: 56px;
}

.faq-item {
  break-inside: avoid;
  border-bottom: 1px solid rgba(35, 36, 32, .14);
  margin-bottom: 4px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.faq-icon {
  flex: none;
  font-size: 20px;
  color: var(--muted);
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .2s ease;
}

.faq-answer > p {
  min-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body-medium);
  padding-bottom: 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer > p {
  padding-bottom: 20px;
}

/* Contact */
.contact {
  background: var(--cream-alt);
  padding: 100px 48px;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-subcopy {
  font-size: 16px;
  color: var(--body-medium);
  margin-top: 10px;
}

.contact-form {
  margin-top: 40px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-field {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  flex-basis: 100%;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #3f4536;
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid rgba(35, 36, 32, .2);
  background: var(--cream);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  border-radius: 2px;
  color: var(--ink);
}

.form-field textarea {
  resize: vertical;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-error {
  font-size: 14px;
  color: var(--clay);
}

.form-success {
  background: var(--cream);
  border: 1px solid rgba(63, 107, 58, .3);
  border-radius: 2px;
  padding: 56px 40px;
  text-align: center;
}

.form-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #3f6b3a;
  color: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--body-medium);
}

/* Footer */
.site-footer {
  background: var(--green);
  padding: 32px 48px 24px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-left {
  justify-self: start;
}

.footer-contact {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--footer-muted-1);
}

a.footer-line {
  color: var(--footer-link);
}

.footer-copyright {
  justify-self: center;
  font-size: 12px;
  color: var(--footer-muted-2);
}

.footer-badge {
  display: inline-block;
  border: 1px solid rgba(201, 208, 176, .4);
  color: var(--footer-link);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 860px) {
  .nav {
    padding: 10px 24px;
  }

  .nav-logo svg {
    height: 44px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 56px 24px 48px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-image-wrap {
    padding: 0 24px;
  }

  .approach-about {
    padding: 56px 24px 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .approach {
    text-align: center;
  }

  .approach-copy {
    font-size: 17px;
  }

  .approach-divider {
    width: 100%;
    height: 1px;
  }

  .about {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .services,
  .contact {
    padding: 64px 24px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .tab-panel {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  .tab-panel-image {
    width: 100%;
    height: 220px;
  }

  .consultation {
    padding: 64px 24px;
  }

  .consultation-card {
    padding: 40px 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .consultation .btn-clay {
    align-self: center;
  }

  .faq {
    padding: 0 24px 64px;
  }

  .faq-list {
    columns: 1;
  }

  .footer-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-left,
  .footer-copyright {
    justify-self: start;
  }

  .footer-contact {
    justify-self: start;
    align-items: flex-start;
  }

  .site-footer {
    padding: 28px 24px 20px;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 8px 12px;
  }

  .nav-logo svg {
    height: 38px;
  }

  .nav-links .btn-small {
    padding: 8px 14px;
    font-size: 12px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }
}
