/* ---------------------------------------------------------------
   Thoughtful Ape — landing page
   Palette drawn from the logo: slate serif type, moss & leaf greens,
   on a warm off-white ground.
   --------------------------------------------------------------- */

:root {
  --paper: #faf9f6;
  --paper-deep: #f1efe9;
  --ink: #3d4852;
  --ink-soft: #5c6771;
  --moss: #4a7c43;
  --moss-deep: #35592f;
  --hairline: #dcd8ce;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- Hero ------------------------------------------------------ */

.hero {
  max-width: 46rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero__logo {
  width: min(34rem, 100%);
  height: auto;
}

.hero__tagline {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--moss-deep);
  margin-top: 2.5rem;
}

.hero__intro {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* --- The craft ------------------------------------------------- */

.craft {
  background: var(--paper-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 2.75rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  background: var(--moss);
  margin: 0.9rem auto 0;
}

.craft__grid {
  max-width: 58rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
}

.craft__item {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.craft__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(61, 72, 82, 0.09);
}

.craft__item h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--moss-deep);
  margin-bottom: 0.75rem;
}

.craft__item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- Ethos ------------------------------------------------------ */

.ethos {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.ethos blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
}

.ethos blockquote p::before { content: "\201C"; color: var(--moss); }
.ethos blockquote p::after  { content: "\201D"; color: var(--moss); }

.ethos__body {
  margin-top: 1.75rem;
  color: var(--ink-soft);
}

/* --- Footer ----------------------------------------------------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 2.75rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer__contact a {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--moss-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.footer__contact a:hover {
  border-bottom-color: var(--moss);
}

.footer__support {
  margin-top: 1.1rem;
}

.footer__support a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__support a:hover {
  color: var(--moss-deep);
  border-color: var(--moss);
}

.footer__location {
  margin-top: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.footer__copyright {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #9aa1a8;
}

/* --- Small screens ---------------------------------------------- */

@media (max-width: 600px) {
  .hero {
    padding-top: 3.5rem;
  }
}
