:root {
  --bg: #f4efe7;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #fffaf4;
  --text: #1f1a17;
  --muted: #645a52;
  --line: rgba(31, 26, 23, 0.12);
  --accent: #bf5b32;
  --accent-dark: #8f3f1e;
  --shadow: 0 22px 60px rgba(61, 34, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(191, 91, 50, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(90, 125, 108, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f1e8 0%, #efe6d9 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.hero {
  min-height: 82vh;
  display: grid;
  align-content: space-between;
  gap: 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand,
.tag,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.hero-copy {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 56px;
  box-shadow: var(--shadow);
}

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

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 9vw, 7rem);
  line-height: 0.92;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 12ch;
  line-height: 0.98;
}

.intro {
  max-width: 640px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
}

.section {
  margin-top: 72px;
}

.section-heading {
  margin-bottom: 28px;
}

.project-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card,
.step {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card p,
.step p {
  color: var(--muted);
  line-height: 1.65;
}

.card a {
  text-decoration: none;
  color: var(--accent-dark);
  font-weight: 700;
}

.step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(191, 91, 50, 0.12);
  margin-bottom: 16px;
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
  }

  .topbar,
  .hero-copy {
    padding: 20px;
  }

  .topbar {
    flex-direction: column;
    gap: 12px;
  }

  .project-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
    font-size: clamp(3rem, 16vw, 4.8rem);
  }
}
