:root {
  --bg: #f5efe2;
  --ink: #10211b;
  --ink-soft: #4a5c53;
  --line: rgba(16, 33, 27, 0.12);
  --brand: #1f7a63;
  --brand-deep: #114739;
  --accent: #d4632d;
  --panel: rgba(255, 252, 245, 0.78);
  --shadow: 0 24px 60px rgba(24, 41, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 122, 99, 0.16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(212, 99, 45, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f1e5 0%, #f3e9d7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 33, 27, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 27, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #f7f1e5;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(17, 71, 57, 0.22);
}

.brand-name,
h1 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.toplink {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.96rem;
}

.toplink:hover,
.toplink:focus-visible {
  color: var(--ink);
}

.hero-single {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 40px 0 56px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise-in 0.8s ease forwards;
}

.hero-copy,
.hero-photo {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy {
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.94) 0%, rgba(247, 241, 229, 0.82) 100%);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  max-width: 10ch;
}

.hero-text {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #f4f8f6;
  box-shadow: 0 10px 26px rgba(31, 122, 99, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #186650;
}

.hero-photo {
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  background: var(--panel);
  min-height: 560px;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-single {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-photo {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    padding-top: 18px;
  }

  h1 {
    max-width: 11ch;
  }
}
