:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #68645f;
  --line: #ded8cf;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --accent: #116149;
  --accent-strong: #0b4635;
  --gold: #c28a32;
  --rose: #a84d55;
  --shadow: 0 18px 50px rgb(28 22 13 / 12%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

code {
  background: #eee8dc;
  border-radius: 4px;
  padding: 0.1rem 0.3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgb(222 216 207 / 74%);
  background: rgb(251 250 247 / 92%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.brand-logo {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 75%);
}

.brand-text {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.header-action:hover {
  color: var(--accent);
}

.header-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.hero {
  display: grid;
  min-height: min(680px, calc(100vh - 81px));
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: #d8d0c3;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5.5rem);
  background: linear-gradient(135deg, #ffffff 0%, #f6f1e8 100%);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-content p:not(.eyebrow) {
  max-width: 44rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.button,
button {
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.feature-strip article {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.section,
.promo-band {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

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

.collaborator-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.collaborator-card img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  background: #ded8cf;
}

.card-body {
  padding: 1rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.pill {
  border-radius: 999px;
  background: #f0eadf;
  color: #5d5141;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.collaborator-card p {
  margin-bottom: 0;
}

.text-button {
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
}

.promo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 2rem;
  align-items: start;
  background: var(--ink);
  color: white;
}

.promo-band p,
.promo-band .eyebrow {
  color: #dfb86f;
}

.steps {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.5rem;
  color: #f6f1e8;
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 2rem;
}

.contact-form,
.lead-form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.9rem 1rem;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.lead-dialog {
  width: min(920px, calc(100vw - 2rem));
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: visible;
  box-shadow: var(--shadow);
}

.lead-dialog::backdrop {
  background: rgb(0 0 0 / 55%);
}

.lead-dialog[open] {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr);
}

.lead-dialog > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
}

.lead-dialog > div {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.dialog-close {
  position: absolute;
  top: -0.85rem;
  right: -0.85rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 1.5rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .hero,
  .promo-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 360px;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.86rem;
  }

  .header-action {
    display: none;
  }

  .feature-strip,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lead-dialog[open] {
    grid-template-columns: 1fr;
  }

  .lead-dialog > img {
    min-height: 230px;
    border-radius: 8px 8px 0 0;
  }
}
