:root {
  color-scheme: light;
  --background: #f5f7f6;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #5d6464;
  --line: #d8dedc;
  --clay: #b85c38;
  --moss: #63745a;
  --blue: #315f7c;
  --shadow: 0 24px 80px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
}

.brand,
.nav-link,
.project-link {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand img {
  border-radius: 10px;
}

.nav-link {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--surface);
  border-color: #c7bdae;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  min-height: min(720px, calc(100vh - 150px));
  padding: 80px 0 56px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(4.25rem, 9vw, 8.75rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.intro {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.visual-panel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(184, 92, 56, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(49, 95, 124, 0.14), transparent 44%),
    var(--surface);
  box-shadow: var(--shadow);
}

.visual-panel img {
  position: relative;
  z-index: 2;
  width: 34%;
  height: auto;
}

.visual-line {
  position: absolute;
  height: 1px;
  background: rgba(23, 23, 23, 0.18);
  transform-origin: center;
}

.line-one {
  width: 80%;
  top: 24%;
  left: 10%;
}

.line-two {
  width: 70%;
  right: -12%;
  bottom: 30%;
  transform: rotate(-38deg);
}

.line-three {
  width: 60%;
  left: -12%;
  bottom: 18%;
  transform: rotate(24deg);
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.project h2 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.project p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.project-link {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding: 68px 0 44px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.6rem);
  }

  .visual-panel {
    width: min(100%, 360px);
  }

  .project {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 28px;
  }

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