:root {
  --background: #f8f3ea;
  --surface: #fffaf1;
  --surface-muted: #efe7db;
  --text: #1c2730;
  --text-muted: #4d5a63;
  --accent: #6f7f62;
  --accent-dark: #4f5d45;
  --border: #ded4c6;
  --focus: #2f6f9f;
  --shadow: 0 18px 45px rgba(28, 39, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

body,
input,
textarea,
button {
  font: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header,
.site-footer,
.section,
.hero {
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding-block: 1.25rem;
}

.site-name {
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.hero {
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero-content,
.section-intro,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-content {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.45rem, 7vw, 5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 0.72rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

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

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section-muted {
  background: var(--surface-muted);
}

.section-intro {
  margin-bottom: 2rem;
}

.section-intro h2 {
  max-width: 760px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
}

.copy-stack p {
  color: var(--text-muted);
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

.contact-section {
  background: var(--surface);
}

.contact-layout > div > p:last-child {
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

label {
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b8aa9a;
  border-radius: 6px;
  background: #fffdf8;
  color: var(--text);
  padding: 0.75rem 0.85rem;
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding-block: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .hero {
    padding-block: 3rem 4rem;
  }

  .button,
  .button-row {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
