:root {
  color-scheme: light;
  --background: #f7f4ed;
  --surface: #ffffff;
  --ink: #24201b;
  --muted: #665f55;
  --line: #ded6c8;
  --accent: #0f6f78;
  --accent-strong: #084f56;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    var(--background);
}

a {
  color: inherit;
}

.site-main {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: clamp(32px, 8vw, 96px);
}

.intro {
  width: min(100%, 720px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 12vw, 6.75rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.95;
}

.summary {
  max-width: 36rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.5;
}

.project-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(36, 32, 27, 0.08);
  color: var(--accent-strong);
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.project-link:hover,
.project-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

@media (max-width: 560px) {
  .site-main {
    align-items: start;
    padding: 52px 24px;
  }

  .project-link {
    width: 100%;
  }
}
