:root {
  --paper: #f7f4ee;
  --ink: #16201f;
  --muted: #5e6a67;
  --teal: #0b5c5a;
  --teal-dark: #073f3d;
  --green: #7b9e53;
  --amber: #c38a2e;
  --line: #d7d0c3;
  --white: #fffdf8;
  --shadow: rgba(22, 32, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 4rem;
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--teal-dark);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-photo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.88rem;
}

nav a {
  text-decoration: none;
}

nav a:focus-visible,
.button:focus-visible,
.project-card a:focus-visible,
.evidence-list a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(60vh - 68px);
  padding: 3rem 4rem 2.5rem;
}

.hero-copy,
.positioning,
.projects,
.secondary-projects,
.method,
.contact {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.project-type {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  color: var(--teal-dark);
  font-size: 4.25rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.28rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--teal);
  border-radius: 4px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.positioning,
.experience,
.projects,
.secondary-projects,
.method,
.contact {
  padding: 4.5rem 4rem;
}

.positioning {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.positioning h2,
.experience h2,
.projects h2,
.secondary-projects h2,
.method h2,
.contact h2 {
  max-width: 56rem;
  color: var(--teal-dark);
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.positioning p {
  max-width: 55rem;
  color: var(--muted);
  font-size: 1.16rem;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.proof-strip span {
  padding: 0.45rem 0.7rem;
  background: #edf1e7;
  border: 1px solid #cfd9bf;
  border-radius: 4px;
  color: #31422c;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.88rem;
}

.experience-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.experience-item {
  padding-left: 1.25rem;
  border-left: 3px solid var(--green);
}

.experience-item h3 {
  margin-bottom: 0.3rem;
  color: var(--teal-dark);
  font-size: 1.35rem;
  line-height: 1.2;
}

.experience-item .role-dates {
  margin-bottom: 0.7rem;
  color: var(--teal);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.experience-item ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.experience-item li {
  margin-bottom: 0.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.project-card {
  min-height: 270px;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(22, 32, 31, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.project-card.featured {
  background: #eef4ed;
  border-color: #bfd0b8;
}

.project-card h3 {
  margin-bottom: 0.6rem;
  color: var(--teal-dark);
  font-size: 1.45rem;
  line-height: 1.15;
}

.project-card p:not(.project-type) {
  color: var(--muted);
}

.project-card a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--teal);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.secondary-projects {
  padding-top: 0;
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.evidence-list a {
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--teal-dark);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.method {
  background: var(--teal-dark);
  color: var(--white);
}

.method .section-kicker,
.method h2 {
  color: var(--white);
}

.method ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.method li {
  padding-top: 1rem;
  border-top: 2px solid var(--green);
  color: #e6eee9;
}

.method strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--white);
}

.contact h2 {
  margin-bottom: 1.5rem;
}

.contact-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
}

.contact-name {
  margin: 0 0 0.2rem;
  color: var(--teal-dark);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
}

.contact-tagline {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 1.25rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1.25rem;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.65rem;
  }

  .lead {
    max-width: 20rem;
    font-size: 1.08rem;
    overflow-wrap: break-word;
  }

  .positioning,
  .experience,
  .projects,
  .secondary-projects,
  .method,
  .contact {
    padding: 3rem 1.25rem;
  }

  .project-grid,
  .evidence-list,
  .method ol {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
