:root {
  --ink: #172f25;
  --muted: #657468;
  --leaf: #27664b;
  --moss: #173c2c;
  --amber: #d18b38;
  --paper: #fffaf1;
  --line: rgba(23, 60, 44, 0.12);
  --shadow: 0 28px 70px rgba(17, 53, 40, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(209, 139, 56, 0.24), transparent 27rem),
    radial-gradient(circle at 84% 22%, rgba(39, 102, 75, 0.22), transparent 30rem),
    linear-gradient(135deg, #f7f2e7 0%, #edf3e8 58%, #f3eadb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(23, 60, 44, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 60, 44, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}

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

.landing-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.landing-card {
  width: min(1100px, 100%);
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 34px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-weight: 800;
}

.brand-mark {
  width: 1rem;
  height: 1.75rem;
  display: inline-block;
  border-radius: 78% 22% 68% 32% / 28% 72% 28% 72%;
  transform: rotate(-28deg);
  background: linear-gradient(180deg, var(--leaf), #90b084);
  box-shadow: 0 10px 18px rgba(39, 102, 75, 0.22);
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.landing-copy,
.project-card {
  border-radius: 28px;
  border: 1px solid var(--line);
}

.landing-copy {
  min-height: 26rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  color: #fffdf8;
  background:
    radial-gradient(circle at 86% 14%, rgba(209, 139, 56, 0.46), transparent 9rem),
    linear-gradient(145deg, #123528 0%, #1f664b 72%, #397d69 100%);
  overflow: hidden;
}

.eyebrow,
.project-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #f3c979;
}

.landing-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.92;
}

.landing-copy p:last-child {
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.project-card {
  position: relative;
  min-height: 26rem;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(209, 139, 56, 0.24), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 241, 0.78));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  right: -4.5rem;
  top: -4.5rem;
  border-radius: 999px;
  background: rgba(39, 102, 75, 0.14);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(17, 53, 40, 0.14);
}

.project-kicker {
  color: var(--leaf);
}

.project-card strong {
  position: relative;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.project-card em {
  position: relative;
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.project-arrow {
  position: relative;
  display: inline-flex;
  width: fit-content;
  margin-top: 1.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--leaf), var(--moss));
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(23, 60, 44, 0.22);
}

@media (max-width: 820px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-copy,
  .project-card {
    min-height: 20rem;
  }
}
