:root {
  --sand: #e8e0d4;
  --teal: #1a6b64;
  --teal-dark: #12524c;
  --ink: #1f2a28;
  --paper: #f4efe8;
  --white-soft: #fbf8f2;
  --line: #c7bdb0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Newsreader", serif;
  font-weight: 600;
  line-height: 1.1;
}

a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  font-family: "Newsreader", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--teal);
}

.hero {
  padding: 4rem 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-kicker {
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  max-width: 8em;
  margin-bottom: 1.5rem;
}

.hero-lede {
  font-size: 1.2rem;
  max-width: 28em;
  margin-bottom: 2rem;
  color: var(--ink);
}

.hero-number {
  position: absolute;
  top: 2.5rem;
  right: 1.5rem;
  text-align: right;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.hero-number .number {
  font-family: "Newsreader", serif;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  color: var(--teal);
}

.hero-number .number-label {
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ink);
}

.button {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  text-decoration: none;
  min-height: 44px;
  line-height: 1.2;
}

.button.primary {
  background: var(--teal);
  color: var(--white-soft);
  border: none;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.work-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-section h2 {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.project:last-of-type {
  border-bottom: 1px solid var(--line);
}

.project-image {
  aspect-ratio: 4 / 3;
  background: var(--sand, var(--paper));
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.shape {
  position: absolute;
  inset: 15%;
  border-radius: 6px;
}

.shape-one {
  background: var(--teal);
  transform: rotate(4deg) translateX(8%);
}

.shape-two {
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.shape-three {
  background: var(--line);
  border: 4px solid var(--teal);
  border-radius: 50%;
}

.shape-four {
  background: repeating-linear-gradient(45deg, var(--teal) 0 12px, transparent 12px 24px);
}

.project-meta {
  padding-top: 0.5rem;
}

.project-meta h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.project-type {
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

.about-section {
  background: var(--sand);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  gap: 2rem;
}

.about-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.about-lede {
  font-size: 1.4rem;
  max-width: 24em;
  font-family: "Newsreader", serif;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.about-facts strong {
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--teal);
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.contact-section h2 {
  font-size: 3rem;
  max-width: 18em;
  margin-bottom: 1rem;
}

.contact-section > p {
  font-size: 1.1rem;
  max-width: 30em;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
  max-width: 30em;
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-row label {
  font-size: 0.95rem;
  color: var(--ink);
}

input,
textarea {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white-soft);
  color: var(--ink);
  min-height: 44px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 2px var(--teal-dark);
}

.form-status {
  font-size: 0.95rem;
  color: var(--teal);
  min-height: 1.2em;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .project {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-number {
    position: static;
    text-align: left;
    margin-top: 2rem;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: rise 250ms ease-out;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
