:root {
  --forest: #1f3d2e;
  --forest-deep: #143025;
  --leaf: #2e7d4b;
  --growth: #6fa34f;
  --sage: #a8c49a;
  --earth: #8b6f4a;
  --cream: #f2efe7;
  --paper: #fbfaf6;
  --line: rgba(31, 61, 46, 0.18);
  --shadow: 0 24px 60px rgba(31, 61, 46, 0.12);
  color: var(--forest);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% 8%, rgba(168, 196, 154, 0.26), transparent 25rem),
    var(--cream);
  color: var(--forest);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  padding: 1.45rem 0;
}

.nav-wrap,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest);
  text-decoration: none;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  line-height: 1;
}

.brand-wordmark,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.brand-wordmark {
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 0.28rem;
  color: var(--leaf);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.site-footer a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(31, 61, 46, 0.7);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.project-footer a:hover,
.project-footer a:focus-visible {
  color: var(--leaf);
}

:focus-visible {
  outline: 3px solid var(--growth);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: 4rem;
  min-height: 38rem;
  padding: 4.5rem 0 5.5rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--leaf);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.6rem;
  color: var(--forest-deep);
  font-size: clamp(4.4rem, 9vw, 7.6rem);
  letter-spacing: -0.075em;
  line-height: 0.82;
}

h1 span,
h2 em {
  color: var(--leaf);
  font-style: normal;
}

.hero-intro {
  max-width: 29rem;
  margin-bottom: 2rem;
  color: rgba(31, 61, 46, 0.76);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.95rem 1.2rem 0.95rem 1.35rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button span {
  font-size: 1.2rem;
  line-height: 0.7;
}

.button:hover,
.button:focus-visible {
  background: var(--leaf);
  border-color: var(--leaf);
  color: white;
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  min-height: 26rem;
}

.art-halo {
  position: absolute;
  top: 1rem;
  right: 0;
  width: min(25rem, 90%);
  aspect-ratio: 1;
  border: 1px solid rgba(46, 125, 75, 0.28);
  border-radius: 50%;
}

.art-halo::before,
.art-halo::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(46, 125, 75, 0.18);
  border-radius: 50%;
}

.art-halo::before {
  inset: 2.3rem;
}

.art-halo::after {
  inset: 5.7rem;
}

.art-card {
  position: absolute;
  top: 4rem;
  right: 4rem;
  display: grid;
  justify-items: center;
  width: min(17rem, 72%);
  padding: 1.2rem 1.2rem 1.5rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

.art-card img {
  width: 10rem;
  height: 10rem;
  margin: 1rem 0 0.9rem;
}

.art-label,
.art-caption,
.art-coordinate {
  color: var(--leaf);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.art-label {
  justify-self: start;
}

.art-caption {
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
}

.art-coordinate {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  line-height: 1.5;
  text-align: right;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.section {
  padding: 7rem 0 8rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  align-self: start;
  padding-top: 0.9rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.section-lede {
  max-width: 18rem;
  margin-bottom: 0.2rem;
  color: rgba(31, 61, 46, 0.68);
  font-size: 0.95rem;
}

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

.project-card {
  display: flex;
  min-height: 19rem;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid rgba(31, 61, 46, 0.16);
  background: rgba(251, 250, 246, 0.68);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  box-shadow: 0 16px 32px rgba(31, 61, 46, 0.08);
  transform: translateY(-4px);
}

.project-card--wide {
  grid-column: span 2;
  min-height: 22rem;
  background:
    linear-gradient(112deg, rgba(31, 61, 46, 0.96), rgba(31, 61, 46, 0.88)),
    var(--forest);
  color: var(--cream);
}

.project-card--earth {
  background: var(--earth);
  color: var(--cream);
}

.project-meta,
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-meta {
  color: var(--leaf);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-card--wide .project-meta,
.project-card--earth .project-meta {
  color: var(--sage);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.08em;
}

.status::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status--shipped {
  color: var(--cream);
}

.project-card h3 {
  max-width: 28rem;
  margin: auto 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.project-card h3 span {
  color: var(--growth);
  font-style: italic;
}

.project-card p {
  max-width: 28rem;
  margin-bottom: 2.2rem;
  color: rgba(31, 61, 46, 0.72);
  font-size: 0.98rem;
}

.project-card--wide p,
.project-card--earth p {
  color: rgba(242, 239, 231, 0.78);
}

.project-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 61, 46, 0.16);
  color: var(--earth);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-style: italic;
}

.project-card--wide .project-footer,
.project-card--earth .project-footer {
  border-color: rgba(242, 239, 231, 0.22);
  color: var(--sage);
}

.project-footer a {
  color: inherit;
  text-decoration: none;
}

.branch-mark {
  font-family: "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-style: normal;
}

.about-section {
  padding: 5.5rem 0;
  background: var(--sage);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  align-items: center;
  gap: 5rem;
  max-width: 860px;
}

.about-inner h2 {
  margin-bottom: 1.8rem;
}

.about-inner p:last-child {
  max-width: 33rem;
  margin-bottom: 0;
  color: rgba(20, 48, 37, 0.76);
  font-size: 1.05rem;
}

.about-mark {
  position: relative;
  width: min(15rem, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(20, 48, 37, 0.32);
  border-radius: 50%;
}

.about-mark::before,
.about-mark::after {
  position: absolute;
  background: var(--forest);
  content: "";
}

.about-mark::before {
  top: 17%;
  left: calc(50% - 1px);
  width: 2px;
  height: 66%;
}

.about-mark::after {
  top: 51%;
  left: 17%;
  width: 66%;
  height: 2px;
  transform: rotate(-32deg);
  transform-origin: center;
}

.about-mark span {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--forest);
  border-radius: 50%;
  background: var(--sage);
}

.about-mark span:nth-child(1) { top: 12%; left: 45%; }
.about-mark span:nth-child(2) { top: 38%; left: 18%; }
.about-mark span:nth-child(3) { top: 31%; right: 14%; }

.site-footer {
  padding: 1.4rem 0;
  background: var(--forest-deep);
  color: var(--cream);
}

.site-footer p {
  margin: 0;
  color: rgba(242, 239, 231, 0.62);
  font-size: 0.75rem;
}

.site-footer a {
  color: var(--cream);
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 0;
    padding-top: 3.5rem;
  }

  .hero-art {
    min-height: 23rem;
    max-width: 30rem;
    width: 100%;
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr 1fr;
  }

  .section-lede {
    grid-column: 2;
  }

  .about-inner {
    grid-template-columns: 0.55fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 2rem, 1120px);
  }

  .site-header {
    padding-top: 1rem;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .site-nav a {
    font-size: 0.64rem;
  }

  .brand-wordmark {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.48rem;
  }

  .hero {
    padding: 3.2rem 0 4rem;
  }

  h1 {
    font-size: clamp(3.9rem, 19vw, 5.5rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-art {
    min-height: 19rem;
  }

  .art-card {
    top: 3rem;
    right: 2rem;
    width: 14rem;
  }

  .art-card img {
    width: 8rem;
    height: 8rem;
  }

  .art-coordinate {
    right: 0.2rem;
    bottom: 0;
  }

  .section {
    padding: 5rem 0 5.5rem;
  }

  .section-heading {
    display: block;
  }

  .section-lede {
    margin-top: 1.4rem;
  }

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

  .project-card,
  .project-card--wide {
    grid-column: auto;
    min-height: 18rem;
    padding: 1.25rem;
  }

  .project-card h3 {
    font-size: 2.6rem;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .about-section {
    padding: 4.5rem 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-mark {
    width: 8rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }
}

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

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