:root {
  --ink: #1f2522;
  --muted: #5f6a63;
  --line: rgba(31, 37, 34, 0.14);
  --green: #496453;
  --green-dark: #2f4538;
  --paper: #f7f3ed;
  --paper-strong: #fffaf3;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(31, 37, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
}

.brand,
.topbar nav a {
  text-decoration: none;
}

.brand {
  font-weight: 860;
}

.topbar nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 720;
}

.hero {
  display: grid;
  min-height: 86vh;
  align-items: center;
  padding: 96px clamp(20px, 6vw, 88px) 64px;
  background:
    linear-gradient(90deg, rgba(31, 37, 34, 0.82), rgba(31, 37, 34, 0.42)),
    url("/birth-letter-hero.png") center / cover no-repeat;
  color: var(--white);
}

.hero__content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 560;
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 560;
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.intro {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button--primary {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(31, 37, 34, 0.2);
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 88px);
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 28px;
}

.section-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card,
.contact-form,
.project-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 22px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  background: var(--paper-strong);
}

.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.direct-mail {
  color: var(--muted);
}

.direct-mail a {
  color: var(--green-dark);
  font-weight: 780;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.hidden-field {
  display: none;
}

.contact-form span {
  font-size: 0.9rem;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  outline: none;
}

.contact-form input {
  min-height: 46px;
  padding: 10px 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(73, 100, 83, 0.14);
}

.project-link {
  display: grid;
  gap: 4px;
  padding: 24px;
  text-decoration: none;
}

.project-link span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 740;
}

.project-link strong {
  color: var(--green-dark);
  font-size: 1.25rem;
}

@media (max-width: 860px) {
  .topbar {
    position: absolute;
  }

  .service-grid,
  .split__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 92vh;
    padding: 120px 18px 46px;
  }

  .section {
    padding: 48px 18px;
  }

  .button,
  .contact-form {
    width: 100%;
  }
}
