:root {
  --cream: #efede8;
  --stone: #c7b4a2;
  --coffee: #5b4d41;
  --ink: #2f2c29;
  --line: rgba(239, 237, 232, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(720px, 92%);
}

.section {
  padding: 5.5rem 0;
}

.hero {
  min-height: 46vh;
  color: #f8f5ef;
  background:
    linear-gradient(rgba(75, 58, 43, 0.9), rgba(75, 58, 43, 0.9)),
    url("assets/hero-weave.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.site-nav {
  padding: 1.25rem 1.8rem;
}

.brand {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  color: #f4f0ea;
}

.hero-content {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin-bottom: 1.4rem;
}

.hero hr {
  width: min(740px, 88%);
  border: 0;
  height: 1px;
  margin: 0 auto 1.4rem;
  background: var(--line);
}

.tagline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.intro {
  background: #f4f2ee;
  padding-bottom: 4.75rem;
}

.intro h2,
.capabilities h2,
.about h2,
.contact h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1.3rem;
}

.intro p {
  margin-top: 1rem;
  color: #3b3734;
}

.intro-break {
  margin: 3.8rem 0 1.35rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(59, 55, 52, 0.28);
  border-bottom: 1px solid rgba(59, 55, 52, 0.28);
}

.intro-break h2 {
  margin: 0;
  text-align: center;
}

.capabilities {
  background: #f4f2ee;
  padding-top: 2.2rem;
}

.capabilities h2 {
  font-size: clamp(1.85rem, 2.7vw, 2.7rem);
  text-align: center;
  margin-bottom: 3rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.1rem 2.7rem;
}

.capability-grid article h3 {
  font-size: 1.9rem;
  margin-bottom: 0.55rem;
}

.capability-grid article p {
  color: #423d39;
  max-width: 44ch;
}

.about {
  background: var(--coffee);
  color: #f6f2ea;
}

.about h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  text-align: center;
}

.about p {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
  color: #f1ebe2;
  margin-top: 0.95rem;
}

.contact {
  background: var(--stone);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy p {
  margin-top: 0.75rem;
  max-width: 35ch;
}

.contact-form label {
  display: block;
  margin: 0.4rem 0 0.35rem;
  font-size: 0.95rem;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(52, 44, 36, 0.35);
  background: rgba(255, 250, 245, 0.2);
  color: #2f2c29;
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  font: inherit;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(44, 38, 33, 0.65);
}

button {
  margin-top: 0.8rem;
  border: none;
  border-radius: 999px;
  background: #2f2c29;
  color: #f5f1eb;
  padding: 0.62rem 1.15rem;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

button:hover {
  opacity: 0.92;
}

button:active {
  transform: translateY(1px);
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy p {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .hero-content {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero {
    min-height: 42vh;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

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