:root {
  --green: #0d4838;
  --green-2: #123f33;
  --sage: #879884;
  --sage-soft: #eef2eb;
  --ink: #20201f;
  --muted: #62605c;
  --line: #ded8d0;
  --paper: #ffffff;
  --paper-warm: #fbfaf8;
  --copper: #bd7f55;
  --shadow: 0 18px 45px rgba(28, 28, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

.site-header {
  width: min(100% - 96px, 1280px);
  height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 32px;
}

.brand-mark span {
  position: absolute;
  width: 12px;
  height: 19px;
  border-radius: 12px 12px 2px 12px;
  background: var(--green);
  transform-origin: bottom center;
}

.brand-mark span:nth-child(1) {
  left: 9px;
  top: 0;
  transform: rotate(-34deg);
}

.brand-mark span:nth-child(2) {
  left: 5px;
  top: 14px;
  transform: rotate(28deg);
  background: #8e9e84;
}

.brand-mark span:nth-child(3) {
  right: 2px;
  top: 14px;
  transform: rotate(-28deg);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  font-size: 14px;
  color: #242321;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 56px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  padding: 0 25px;
  color: white;
  background: var(--green);
  box-shadow: 0 18px 38px rgba(13, 72, 56, 0.18);
}

.button svg,
.header-cta svg,
.text-link svg,
.site-footer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(13, 72, 56, 0.16);
}

.hero {
  width: min(100% - 96px, 1280px);
  min-height: 500px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 66px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.service-card h3,
.approach-statement p,
.gallery-copy h2,
.site-footer > h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 600px;
  font-size: clamp(42px, 4.4vw, 58px);
  line-height: 1.1;
}

.hero-eyebrow {
  max-width: 540px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-copy,
.hero-media,
.service-card,
.section-heading h2,
.approach-statement,
.gallery-copy {
  min-width: 0;
}

.hero-copy p {
  max-width: 500px;
  margin: 30px 0 44px;
  color: #4d4b47;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
}

.hero-actions-single {
  padding-left: 262px;
}

.button-primary {
  min-width: 226px;
  padding: 0 24px;
  color: white;
  background: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  color: #4c4a45;
  font-size: 14px;
  border-bottom: 1px solid rgba(189, 127, 85, 0.55);
}

.hero-media {
  overflow: hidden;
  aspect-ratio: 1.385 / 1;
  background: #f5f1ea;
}

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

.pillars {
  margin-top: 92px;
  padding: 68px max(48px, calc((100vw - 1280px) / 2)) 62px;
  background: var(--paper-warm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillars article {
  min-height: 175px;
  padding: 0 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pillars article + article {
  border-left: 1px solid rgba(189, 127, 85, 0.38);
}

.pillars h2 {
  margin: 20px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
}

.pillars p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.line-icon {
  width: 42px;
  height: 42px;
  color: #9ca49a;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.line-icon-space {
  mask-image: url("assets/icon-space.svg");
}

.line-icon-partner {
  mask-image: url("assets/icon-partner.svg");
}

.line-icon-community {
  mask-image: url("assets/icon-community.svg");
}

.line-icon-system {
  mask-image: url("assets/icon-system.svg");
}

.services {
  width: min(100% - 96px, 1120px);
  margin: 0 auto;
  padding: 76px 0 42px;
}

.section-heading {
  display: grid;
  place-items: center;
  gap: 18px;
  margin-bottom: 44px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading span {
  width: 74px;
  height: 2px;
  background: var(--copper);
}

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

.service-card {
  min-height: 560px;
  padding: 34px 34px 32px;
  border: 1px solid #dfdcd7;
  border-radius: 6px;
  background: white;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card.featured {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  color: white;
  background: var(--green);
  border-color: transparent;
}

.service-card.featured::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -24px;
  width: 215px;
  height: 320px;
  background: url("assets/leaf-outline.svg") center / contain no-repeat;
  opacity: 0.3;
}

.tag {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 2px;
  color: white;
  background: var(--copper);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.circle-icon,
.round-badge {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 22px 0 34px;
}

.service-intro,
.service-details {
  position: relative;
  z-index: 1;
}

.service-details {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-top: 46px;
}

.circle-icon {
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.round-badge {
  color: white;
  background: var(--sage);
  margin-top: 0;
}

.circle-icon svg,
.round-badge svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.14;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.88);
}

.service-lead {
  font-weight: 650;
}

.service-card h4 {
  position: relative;
  z-index: 1;
  margin: 10px 0 14px;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  color: #31302d;
}

.service-card.featured h4 {
  color: white;
}

.service-list {
  position: relative;
  z-index: 1;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 26px;
  color: #4e4d49;
  font-size: 14px;
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 11px;
  height: 7px;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}

.service-card.featured .service-list li {
  color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-list li::before {
  border-color: var(--copper);
}

.service-card .button {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
  padding: 0 18px;
}

.button-light {
  color: var(--green);
  background: white;
}

.button-outline {
  border: 1px solid #6c706b;
  color: #30302e;
  background: transparent;
}

.approach {
  width: min(100% - 96px, 1120px);
  margin: 0 auto 32px;
  padding: 54px 72px;
  border-radius: 6px;
  background: var(--green);
  text-align: center;
}

.audience-block {
  max-width: 820px;
  margin: 0 auto;
}

.audience-block h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  color: white;
}

.audience-lead {
  max-width: 700px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.35;
  margin-left: auto;
  margin-right: auto;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.audience-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: white;
  background: white;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 650;
}

.audience-note {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.gallery {
  width: min(100% - 96px, 1120px);
  margin: 0 auto;
  padding: 56px 0 52px;
  display: grid;
  gap: 42px;
}

.gallery-copy {
  text-align: center;
}

.gallery-copy h2 {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.13;
}

.why-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.why-media {
  display: grid;
  gap: 18px;
}

.why-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(25, 25, 24, 0.08);
}

.why-media img:nth-child(2) {
  width: 82%;
  justify-self: end;
}

.why-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e2ddd6;
  border-bottom: 1px solid #e2ddd6;
}

.why-item {
  padding: 26px 0;
}

.why-item + .why-item {
  border-top: 1px solid #e2ddd6;
}

.why-item h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.16;
}

.why-item p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.faq {
  width: min(100% - 96px, 1120px);
  margin: 0 auto;
  padding: 28px 0 52px;
}

.faq .section-heading {
  margin-bottom: 34px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e1ddd7;
  border-radius: 6px;
  background: white;
  overflow: hidden;
}

.faq button {
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  border: 0;
  background: white;
  color: #2c2b29;
  font: 650 15px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  gap: 24px;
}

.faq button span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.faq button.is-open span {
  transform: rotate(225deg);
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.faq-item:has(button.is-open) p {
  display: block;
}

.faq-link {
  margin-top: 32px;
}

.site-footer .faq {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin: 56px calc(50% - 50vw) 0;
  padding: 58px max(48px, calc((100vw - 1120px) / 2)) 62px;
  color: #242321;
  background: white;
}

.site-footer .faq .section-heading h2 {
  color: #242321;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 48px max(48px, calc((100vw - 1120px) / 2)) 56px;
  color: white;
  background: var(--green);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 170px;
  height: 210px;
  background: url("assets/leaf-outline.svg") center / contain no-repeat;
  opacity: 0.22;
}

.site-footer::before {
  left: 24px;
  transform: scaleX(-1);
}

.site-footer::after {
  right: 24px;
}

.site-footer > h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  text-align: center;
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.2;
}

.footer-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.footer-actions a {
  min-height: 86px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
}

.footer-actions a:nth-child(2) {
  color: var(--green);
  background: #dce4d6;
  border-color: transparent;
}

.footer-actions a:nth-child(3) {
  color: #35312f;
  background: white;
  border-color: transparent;
}

.footer-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
  mask: url("assets/icon-partner.svg") center / 24px 24px no-repeat;
}

.footer-icon.community {
  mask-image: url("assets/icon-community.svg");
}

.footer-icon.room {
  mask-image: url("assets/icon-space.svg");
}

.footer-info {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-contact a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
}

.footer-contact a {
  gap: 10px;
  font-size: 14px;
  font-weight: 550;
}

.footer-contact svg,
.footer-social svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .services,
  .approach,
  .gallery,
  .faq {
    width: min(100% - 40px, 720px);
  }

  .site-header {
    height: auto;
    padding: 24px 0;
    align-items: flex-start;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .hero-actions {
    gap: 20px;
  }

  .hero-actions-single {
    padding-left: 0;
  }

  .pillars {
    margin-top: 58px;
    padding: 42px 20px;
    grid-template-columns: 1fr;
  }

  .pillars article {
    min-height: auto;
    padding: 32px 0;
  }

  .pillars article + article {
    border-left: 0;
    border-top: 1px solid rgba(189, 127, 85, 0.35);
  }

  .service-grid,
  .faq-grid,
  .footer-actions {
    grid-template-columns: 1fr;
  }

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

  .footer-contact {
    flex-direction: column;
  }

  .service-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-details {
    padding-top: 0;
  }

  .approach {
    padding: 34px 28px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .why-media img,
  .why-media img:nth-child(2) {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .services,
  .approach,
  .gallery,
  .faq {
    width: min(100% - 28px, 480px);
  }

  .brand {
    font-size: 28px;
  }

  .header-cta {
    font-size: 0;
    width: 48px;
    padding: 0;
  }

  .header-cta svg {
    width: 20px;
    height: 20px;
  }

  .hero-copy p {
    margin: 24px 0 32px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.13;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 14px;
  }

  .section-heading h2,
  .gallery-copy h2,
  .site-footer > h2 {
    max-width: 100%;
    font-size: 24px;
  }

  .button-primary,
  .text-link {
    width: 100%;
    max-width: 100%;
  }

  .service-card {
    min-height: 380px;
    padding: 36px 26px 30px;
  }

  .service-card h3 {
    font-size: 29px;
  }

  .service-card p {
    font-size: 15px;
  }

  .footer-actions a {
    justify-content: flex-start;
  }
}
