:root {
  --bg: #f7f1e8;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --text: #202124;
  --muted: #68645f;
  --accent: #8f4f2f;
  --accent-dark: #5b321f;
  --border: rgba(32, 33, 36, 0.12);
  --shadow: 0 24px 70px rgba(73, 45, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(143, 79, 47, 0.16), transparent 34rem),
    linear-gradient(135deg, #f8efe5 0%, #f6f4ef 48%, #efe7db 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

main {
  align-items: center;
  display: flex;
  margin: 0 auto;
  max-width: 1120px;
  min-height: 100dvh;
  padding: 1.5rem;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  min-height: 0;
}

.hero-content {
  max-width: 680px;
}

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

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

h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  margin-bottom: 0.2rem;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(91, 50, 31, 0.22);
  color: #fffaf2;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  color: var(--accent-dark);
}

.hero-image-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 242, 0.36));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0.8rem;
  transform: rotate(2deg);
}

.hero-image-card img {
  aspect-ratio: 4 / 5;
  border-radius: 1.45rem;
  display: block;
  max-height: 46vh;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

@media (max-width: 700px) {
  main {
    align-items: flex-start;
    min-height: 100svh;
    padding: 4rem 1.25rem 2rem;
  }

  .hero {
    gap: 1rem;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image-card {
    justify-self: center;
    max-width: min(360px, 100%);
    transform: none;
    width: 100%;
  }

  .hero-image-card img {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

}

@media (max-width: 640px) {
  main {
    padding: 3.5rem 1rem 2rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.45rem;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
    margin-bottom: 0.9rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    gap: 0.65rem;
  }

  .button {
    flex: 1 1 100%;
  }
}
