:root {
  --paper: #f7f3ec;
  --paper-deep: #eee8df;
  --ink: #292b2a;
  --ink-soft: #5f625f;
  --line: #d8d0c4;
  --teal: #47ab9b;
  --green: #67cc58;
  --blue: #92b7cb;
  --lilac: #d0c4fd;
  --violet: #bcabfd;
  --purple: #ab92fd;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgb(57 49 42 / 8%);
  --shell: min(1120px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgb(71 171 155 / 3%) 1px, transparent 1px) 0 0 / 100% 32px,
    var(--paper);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100vw - 1120px) / 2 - 30px));
  width: 1px;
  content: "";
  background: rgb(171 146 253 / 35%);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-color: var(--teal);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  color: var(--ink);
  background: var(--lilac);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 0.6rem 1rem;
  transform: translateY(-150%);
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(216 208 196 / 75%);
  background: rgb(247 243 236 / 92%);
  backdrop-filter: blur(12px);
}

.site-nav,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav {
  min-height: 74px;
}

.wordmark {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 34px;
  height: 34px;
  transform: rotate(-3deg);
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--teal);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  padding-block: clamp(5rem, 10vw, 8rem);
}

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

.eyebrow,
.section-number,
.project-index {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: #357f74;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  max-width: 820px;
  margin-block: 1.35rem 1.75rem;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  letter-spacing: -0.045em;
}

.highlight {
  padding-inline: 0.02em;
  background:
    linear-gradient(
      transparent 58%,
      var(--lilac) 58% 86%,
      transparent 86%
    );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 2.2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.project-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

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

.button-secondary {
  background: var(--white);
}

.margin-note {
  position: relative;
  max-width: 290px;
  padding: 2.6rem 2rem 1.8rem;
  transform: rotate(1.5deg);
  border: 1px solid #bbae96;
  background: #fff9d9;
  box-shadow: var(--shadow);
}

.margin-note::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 44px;
  height: 44px;
  content: "";
  border-right: 1px solid #bbae96;
  border-bottom: 1px solid #bbae96;
}

.margin-note p {
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.6;
}

.note-pin {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 2px 3px rgb(41 43 42 / 28%);
}

.note-project {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.note-project:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal);
}

.note-signoff {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.65fr) minmax(0, 1.6fr);
  gap: clamp(2.5rem, 8vw, 8rem);
}

.section-heading h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  letter-spacing: -0.035em;
}

.section-number {
  color: #357f74;
}

.about {
  background: rgb(255 253 248 / 55%);
}

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

.about-copy p {
  color: var(--ink-soft);
}

.about-copy .lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.4;
}

.interest-list,
.tag-list,
.social-links {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.interest-list li,
.tag-list li {
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.interest-list li {
  padding: 0.42rem 0.8rem;
}

.section-intro {
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-description {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.project-card {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(41 43 42 / 3%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(
    90deg,
    var(--teal),
    var(--blue),
    var(--lilac),
    var(--purple)
  );
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px) rotate(-0.15deg);
  border-color: #bdb3a6;
  box-shadow: var(--shadow);
}

.project-card:hover::before {
  opacity: 1;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: rotate(4deg);
  border-radius: 47% 53% 45% 55%;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.mark-line {
  background: var(--line);
}

.mark-green {
  background: var(--green);
}

.mark-teal {
  background: var(--teal);
}

.mark-blue {
  background: var(--blue);
}

.mark-lilac {
  background: var(--lilac);
}

.mark-purple {
  background: var(--purple);
}

.project-card h3 {
  margin: 2rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.025em;
}

.project-card > p {
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: auto 0 1.75rem;
}

.tag-list li {
  padding: 0.25rem 0.65rem;
  background: transparent;
  font-size: 0.7rem;
}

.project-links {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.project-links a,
.social-links a {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-links a {
  margin-right: 0.8rem;
}

.milestones {
  background: rgb(255 253 248 / 55%);
}

.milestone-list {
  display: grid;
  gap: 1rem;
}

.milestone-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.2rem);
  align-items: stretch;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(41 43 42 / 3%);
}

.milestone-media {
  display: grid;
  min-height: 180px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(216 208 196 / 85%);
  border-radius: 2px;
  background: var(--paper);
  text-decoration: none;
}

.milestone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.milestone-media-logo img {
  width: min(74%, 190px);
  height: auto;
  object-fit: contain;
}

.milestone-media-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.45rem;
}

.milestone-media-stack a {
  display: block;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
  border-radius: 2px;
}

.milestone-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0.35rem;
}

.milestone-date {
  margin-bottom: 0.65rem;
  color: #357f74;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.milestone-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
}

.milestone-copy p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.contact {
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgb(71 171 155 / 15%), transparent 22%),
    radial-gradient(circle at 85% 80%, rgb(188 171 253 / 22%), transparent 25%),
    var(--paper-deep);
}

.contact-inner {
  max-width: 820px;
}

.contact h2 {
  margin: 0.8rem 0 1.25rem;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  letter-spacing: -0.05em;
}

.contact p:not(.section-number) {
  max-width: 580px;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.email-link {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  text-decoration-color: var(--teal);
}

.social-links {
  justify-content: center;
  margin-top: 2.2rem;
}

.social-links a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  min-height: 90px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 700;
  text-decoration: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  :root {
    --shell: min(100% - 46px, 680px);
  }

  body::before {
    display: none;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    visibility: hidden;
    padding: 0.6rem 20px 1rem;
    transform: translateY(-8px);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .nav-links.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 5rem;
  }

  .margin-note {
    max-width: 340px;
    justify-self: end;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-intro {
    align-items: start;
  }

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

  .project-card {
    min-height: 360px;
  }

  .milestone-item {
    grid-template-columns: 1fr;
  }

  .milestone-media {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .wordmark {
    font-size: 0.95rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .margin-note {
    width: calc(100% - 8px);
  }

  .milestone-media-stack {
    grid-template-columns: 1fr;
  }

  .milestone-media-stack a {
    min-height: 150px;
  }

  .footer-inner {
    padding-block: 1.4rem;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
