@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #202b27;
  --muted: #68736e;
  --paper: #f7f8f4;
  --white: #fff;
  --green: #b8d7a4;
  --green-dark: #294d3e;
  --line: #e3e8e0;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid rgb(32 43 39 / 7%);
  background: rgb(247 248 244 / 92%);
  backdrop-filter: blur(14px);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.1em;
}

.brand span {
  color: #81a76f;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4b5751;
  font-size: 0.87rem;
}

.nav-links a,
.text-link,
.back-top {
  transition: color 180ms ease;
}

.nav-links a:hover,
.text-link:hover,
.back-top:hover {
  color: #70955f;
}

.nav-links .nav-contact {
  padding: 11px 16px;
  border: 1px solid #cbd5c8;
  border-radius: 999px;
  color: var(--ink);
}

.nav-contact span {
  margin-left: 7px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 660px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 93px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 15px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #58655e;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7eaa69;
  box-shadow: 0 0 0 4px rgb(126 170 105 / 14%);
}

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

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.065em;
}

.hero h1 {
  margin: 28px 0 20px;
  font-size: clamp(3.6rem, 6.5vw, 5.8rem);
  font-weight: 600;
  line-height: 1.02;
}

.hero h1 span,
.section h2 span {
  color: #7c9c6d;
}

.hero-intro {
  max-width: 445px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

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

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

.button-primary:hover {
  background: #1e3e31;
  box-shadow: 0 8px 20px rgb(41 77 62 / 17%);
}

.text-link {
  color: var(--ink);
  font-size: 0.89rem;
  font-weight: 600;
}

.text-link span {
  margin-left: 6px;
}

.hero-art {
  position: relative;
  width: min(100%, 490px);
  height: 435px;
  justify-self: end;
}

.hero-art::before {
  position: absolute;
  inset: 22px 2px 22px 16px;
  border-radius: 48% 52% 48% 52% / 48% 44% 56% 52%;
  background: #e7eddf;
  content: "";
  transform: rotate(-7deg);
}

.art-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 390px;
  height: 160px;
  border: 1px solid rgb(67 100 78 / 27%);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-36deg);
}

.orbit-two {
  width: 350px;
  height: 250px;
  transform: translate(-50%, -50%) rotate(43deg);
}

.art-sun {
  position: absolute;
  top: 71px;
  right: 67px;
  width: 205px;
  height: 205px;
  border-radius: 50%;
  background: #c6d9ae;
  box-shadow: inset -20px -11px 0 rgb(129 163 105 / 15%);
}

.art-card {
  position: absolute;
  z-index: 2;
  top: 133px;
  left: 69px;
  display: flex;
  width: 280px;
  height: 180px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 11px;
  background: #f8f8f1;
  box-shadow: 0 22px 55px rgb(40 65 49 / 15%);
  transform: rotate(-7deg);
  transition: transform 250ms ease;
}

.hero-art:hover .art-card {
  transform: rotate(-3deg) translateY(-5px);
}

.art-card-label {
  color: #6a796b;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.art-card-mark {
  align-self: center;
  color: #759b65;
  font-size: 4.3rem;
  line-height: 1;
}

.art-card-note {
  align-self: flex-end;
  color: #657268;
  font-size: 0.65rem;
  line-height: 1.5;
  text-align: right;
}

.art-spark {
  position: absolute;
  z-index: 2;
  color: #648453;
}

.spark-one {
  top: 75px;
  left: 63px;
  font-size: 1.8rem;
}

.spark-two {
  right: 39px;
  bottom: 93px;
  color: #bb8660;
  font-size: 1.5rem;
}

.scroll-cue {
  position: absolute;
  bottom: 29px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #7b857e;
  font-size: 0.72rem;
}

.scroll-cue span {
  width: 1px;
  height: 32px;
  background: #aeb9ad;
}

.section {
  padding: 112px 0;
}

.about-section {
  border-block: 1px solid var(--line);
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: start;
  gap: 105px;
}

.section-kicker {
  margin-bottom: 22px;
  color: #84917f;
  font-size: 0.7rem;
}

.section h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.7vw, 4.15rem);
  font-weight: 600;
  line-height: 1.08;
}

.about-copy {
  padding-top: 43px;
}

.about-copy p,
.section-aside {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.about-copy p + p {
  margin-top: 18px;
  margin-bottom: 24px;
}

.skills-section {
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-aside {
  max-width: 330px;
  margin-bottom: 5px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skill-card {
  position: relative;
  min-height: 297px;
  padding: 30px 27px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: #c4d2bf;
  box-shadow: 0 15px 35px rgb(42 60 44 / 7%);
}

.skill-number {
  position: absolute;
  top: 31px;
  right: 27px;
  color: #9ba69c;
  font-size: 0.7rem;
}

.skill-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #eef3e9;
  color: #6e9061;
  font-size: 1.3rem;
}

.skill-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.skill-card p {
  min-height: 49px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 9px;
  border: 1px solid #e8ece6;
  border-radius: 999px;
  color: #657168;
  font-size: 0.67rem;
}

.projects-section {
  background: #fff;
}

.projects-heading {
  margin-bottom: 47px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 39px 22px;
}

.project-wide {
  grid-column: 1 / -1;
}

.project-link {
  display: block;
}

.project-visual {
  position: relative;
  display: flex;
  min-height: 322px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  transition: filter 200ms ease;
}

.project-wide .project-visual {
  min-height: 390px;
}

.project-link:hover .project-visual {
  filter: saturate(1.12);
}

.visual-label {
  position: absolute;
  top: 22px;
  left: 24px;
  color: rgb(32 43 39 / 58%);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.visual-goodkind {
  flex-direction: column;
  background: #d5e2c8;
  color: #2d503b;
}

.goodkind-word {
  font-family: Georgia, serif;
  font-size: clamp(4.8rem, 10vw, 8.6rem);
  letter-spacing: -0.09em;
  line-height: 1;
}

.goodkind-word span {
  display: inline-block;
  margin-left: 5px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  vertical-align: top;
}

.goodkind-caption {
  margin-top: 12px;
  color: #60765c;
  font-size: 0.83rem;
  line-height: 1.5;
  text-align: center;
}

.visual-common {
  justify-content: flex-start;
  background: #efcbb6;
  color: #583b31;
}

.common-sun {
  position: absolute;
  top: 58px;
  right: 57px;
  width: 158px;
  height: 158px;
  border-radius: 50%;
  background: #e9a986;
}

.common-sun::after {
  position: absolute;
  right: -35px;
  bottom: -52px;
  width: 180px;
  height: 100px;
  border: 1px solid rgb(123 77 56 / 45%);
  border-radius: 50%;
  content: "";
  transform: rotate(-28deg);
}

.common-title {
  z-index: 1;
  margin-left: 45px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.visual-fieldnotes {
  background: #dce5df;
}

.fieldnote-sheet {
  display: flex;
  width: 235px;
  min-height: 207px;
  flex-direction: column;
  justify-content: space-between;
  padding: 19px;
  border: 1px solid rgb(59 85 72 / 22%);
  background: #f4f2e8;
  color: #40584a;
  box-shadow: 7px 8px 0 rgb(67 91 76 / 12%);
  transform: rotate(4deg);
  transition: transform 200ms ease;
}

.project-link:hover .fieldnote-sheet {
  transform: rotate(1deg) translateY(-4px);
}

.fieldnote-sheet span {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.fieldnote-sheet strong {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.fieldnote-sheet i {
  font-family: Georgia, serif;
  font-size: 0.72rem;
}

.project-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgb(32 43 39 / 25%);
  border-radius: 50%;
  color: var(--ink);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.project-link:hover .project-arrow {
  transform: rotate(45deg);
  background: var(--ink);
  color: #fff;
}

.project-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-top: 17px;
}

.project-meta h3 {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.project-meta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-meta > span {
  color: #869188;
  font-size: 0.72rem;
}

.contact-section {
  padding: 94px 0 27px;
  background: var(--green-dark);
  color: #f7f8f4;
}

.contact-inner > .eyebrow {
  color: #c1d1c2;
}

.contact-section h2 {
  margin: 28px 0 19px;
  font-size: clamp(3.6rem, 7vw, 6.3rem);
  line-height: 0.98;
}

.contact-section h2 span {
  color: #b8d7a4;
}

.contact-intro {
  max-width: 430px;
  margin-bottom: 26px;
  color: #c3d0c6;
  font-size: 0.95rem;
  line-height: 1.75;
}

.button-light {
  background: #f5f6ef;
  color: #294d3e;
}

.button-light:hover {
  background: #dce9d2;
  box-shadow: 0 8px 20px rgb(0 0 0 / 14%);
}

.contact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 107px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  color: #c2d0c5;
  font-size: 0.72rem;
}

.footer-brand {
  color: #fff;
}

.footer-brand span {
  color: #b8d7a4;
}

.contact-footer p {
  margin: 0;
}

.back-top {
  color: #e2ebe2;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 40px, 560px);
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 17px;
    font-size: 0.77rem;
  }

  .nav-links .nav-contact {
    padding: 9px 11px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 12vw, 5.4rem);
  }

  .hero-art {
    width: min(100%, 440px);
    height: 360px;
    justify-self: center;
    margin-top: 28px;
  }

  .hero-art::before {
    inset: 10px 5px;
  }

  .art-sun {
    top: 52px;
    right: 50px;
    width: 175px;
    height: 175px;
  }

  .art-card {
    top: 112px;
    left: max(25px, 12%);
    width: 260px;
    height: 165px;
  }

  .art-orbit {
    width: 330px;
    height: 140px;
  }

  .orbit-two {
    width: 290px;
    height: 220px;
  }

  .scroll-cue {
    bottom: 25px;
  }

  .section {
    padding: 82px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-copy {
    max-width: 520px;
    padding-top: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 34px;
  }

  .section-aside {
    max-width: 480px;
    margin: 0;
  }

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

  .skill-card {
    min-height: 0;
  }

  .skill-card p {
    min-height: auto;
  }

  .project-wide .project-visual {
    min-height: 310px;
  }

  .project-visual {
    min-height: 270px;
  }
}

@media (max-width: 500px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav-links {
    gap: 12px;
    font-size: 0.7rem;
  }

  .nav-links li:nth-child(2) {
    display: none;
  }

  .nav-links .nav-contact {
    padding: 8px 10px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero .eyebrow {
    font-size: 0.65rem;
  }

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

  .hero-actions {
    gap: 18px;
  }

  .button {
    min-height: 46px;
    gap: 11px;
    padding-inline: 15px;
    font-size: 0.81rem;
  }

  .hero-art {
    height: 300px;
  }

  .art-sun {
    top: 42px;
    right: 37px;
    width: 148px;
    height: 148px;
  }

  .art-card {
    top: 100px;
    left: 8%;
    width: 230px;
    height: 145px;
  }

  .art-orbit {
    width: 270px;
    height: 120px;
  }

  .orbit-two {
    width: 250px;
    height: 190px;
  }

  .spark-one {
    left: 25px;
  }

  .section h2 {
    font-size: clamp(2.65rem, 12vw, 3.4rem);
  }

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

  .project-wide {
    grid-column: auto;
  }

  .project-wide .project-visual,
  .project-visual {
    min-height: 260px;
  }

  .visual-label {
    top: 17px;
    left: 16px;
    font-size: 0.55rem;
  }

  .goodkind-word {
    font-size: 4.8rem;
  }

  .common-sun {
    top: 54px;
    right: 20px;
    width: 130px;
    height: 130px;
  }

  .common-title {
    margin-left: 25px;
    font-size: 3rem;
  }

  .contact-section {
    padding-top: 75px;
  }

  .contact-section h2 {
    font-size: 4.2rem;
  }

  .contact-footer {
    flex-wrap: wrap;
    margin-top: 78px;
    font-size: 0.67rem;
  }

  .contact-footer p {
    order: 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
