:root {
  --ink: #171814;
  --paper: #f1f0ea;
  --white: #fff;
  --lime: #d7ff3f;
  --muted: rgb(23 24 20 / 58%);
  --line: rgb(23 24 20 / 14%);
  --shell: 1440px;
  --sans: "DM Sans", sans-serif;
  --mono: "DM Mono", monospace;
  --serif: "Instrument Serif", serif;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}

.round-icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

a,
button,
input,
textarea {
  outline-offset: 4px;
}

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

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

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: 8rem;
}

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--lime {
  color: var(--lime);
}

.eyebrow--status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow--status::before {
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  background: #6ba848;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgb(107 168 72 / 14%);
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: 99rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button--outline {
  border: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid;
  font-size: 0.9rem;
  font-weight: 600;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--white);
  background: var(--ink);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  background: rgb(241 240 234 / 90%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand__logo {
  width: auto;
  height: 1.9rem;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  background: rgb(23 24 20 / 4%);
  border-radius: 99rem;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.desktop-nav a {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 99rem;
  transition: color 220ms ease;
}

.desktop-nav a::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--lime);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.desktop-nav a:hover::before,
.desktop-nav a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.desktop-nav a[aria-current="page"] {
  color: var(--lime);
}

.desktop-nav a[aria-current="page"]::before {
  background: var(--ink);
  opacity: 1;
  transform: scale(1);
}

.menu {
  display: flex;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav .menu-item {
  display: inline-block;
}

.site-footer a {
  transition: opacity 180ms ease;
}

.site-footer a:hover {
  opacity: 0.5;
}

.brand:hover .brand__logo {
  transform: scale(1.04);
}

.header-cta > span {
  transition: transform 220ms ease;
}

.header-cta:hover > span {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.7rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.28rem;
  background: currentColor;
}

.mobile-nav {
  max-height: calc(100vh - 5rem);
  padding: 1.5rem;
  overflow-y: auto;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.mobile-nav a:not(.button) {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  transition: background 180ms ease, padding 220ms ease;
}

.mobile-nav a:not(.button):hover,
.mobile-nav a:not(.button):focus-visible {
  padding-left: 1.4rem;
  background: var(--lime);
}

.mobile-nav a[aria-current="page"] {
  color: var(--lime);
  background: var(--ink);
}

.mobile-nav .button {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding-block: 1rem;
  font-size: 1rem;
}

.mobile-nav .button {
  margin-top: 0.75rem;
  text-align: center;
}

.hero {
  position: relative;
  padding-top: 10rem;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 4rem;
  right: -12rem;
  width: 34rem;
  height: 34rem;
  content: "";
  background: rgb(215 255 63 / 40%);
  border-radius: 50%;
  filter: blur(120px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
}

.hero h1 {
  max-width: 70rem;
  margin: 3rem 0 0;
  font-size: clamp(4rem, 8.2vw, 8.8rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.hero h1 em,
.page-hero h1 em,
.contact-copy h1 em {
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.08em;
  content: "";
  background: var(--lime);
  border-radius: 99rem;
  transform: rotate(-2deg);
}

.hero__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-top: 3.5rem;
}

.hero__intro p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.65;
}

.hero-card {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 2rem;
}

.hero-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 600ms ease, transform 600ms ease;
}

.hero-card:hover .hero-card__image {
  filter: grayscale(0);
  transform: scale(1.03);
}

.hero-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 75%), transparent 55%);
}

.hero-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 0.65rem;
  padding: 2rem;
  color: var(--white);
}

.hero-card figcaption strong {
  max-width: 21rem;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}

.stats {
  border-block: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats__grid > div {
  display: grid;
  gap: 0.25rem;
  padding: 2rem;
  border-left: 1px solid var(--line);
}

.stats__grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats strong {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.stats span {
  color: var(--muted);
  font-size: 0.78rem;
}

.dark-section {
  color: var(--white);
  background: var(--ink);
}

.statement-grid,
.about-method {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 4rem;
}

.statement-grid .muted {
  max-width: 18rem;
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 45%);
  line-height: 1.6;
}

.statement-grid h2 {
  margin: 0;
  color: rgb(255 255 255 / 36%);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.statement-grid h2::first-line {
  color: var(--white);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 7rem;
  border-top: 1px solid rgb(255 255 255 / 15%);
}

.capabilities article {
  min-height: 16rem;
  padding: 3rem 2rem;
  border-right: 1px solid rgb(255 255 255 / 15%);
}

.capabilities article:first-child {
  padding-left: 0;
}

.capabilities article:last-child {
  border-right: 0;
}

.capabilities h3 {
  margin-top: 4.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.capabilities p {
  max-width: 23rem;
  margin-bottom: 0;
  color: rgb(255 255 255 / 50%);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.section-heading > p {
  max-width: 36rem;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.section-heading h2,
.beyond-grid h2 {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

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

.project-card {
  display: flex;
  min-height: 31rem;
  flex-direction: column;
  padding: 2.25rem;
  background: var(--card-color);
  border-radius: 2rem;
  transition: transform 250ms ease;
}

.project-card:hover {
  transform: translateY(-0.5rem);
}

.project-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__meta span:last-child {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgb(23 24 20 / 20%);
  border-radius: 99rem;
}

.project-card__body {
  margin-top: auto;
}

.project-card h3 {
  max-width: 23rem;
  margin-bottom: 1.2rem;
  font-size: 2.45rem;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-card p {
  color: var(--muted);
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
}

.tag-list span {
  padding: 0.4rem 0.7rem;
  background: rgb(23 24 20 / 7%);
  border-radius: 99rem;
  font-size: 0.75rem;
}

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

.section-heading--writing h2 {
  max-width: 34rem;
}

.section-heading--writing .button {
  justify-self: end;
}

.post-list {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.post-row {
  display: grid;
  grid-template-columns: 0.2fr 0.62fr 1.55fr 0.9fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}

.post-row:hover {
  padding-inline: 1rem;
  background: rgb(255 255 255 / 42%);
}

.post-row__number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.post-row__tag {
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-row h3 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.post-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.round-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.post-row:hover .round-icon,
.next-post:hover .round-icon {
  background: var(--lime);
  transform: rotate(45deg);
}

.cta-wrap {
  padding: 0 1.25rem 1.25rem;
}

.cta {
  display: flex;
  min-height: 27rem;
  align-items: end;
  justify-content: space-between;
  padding: 4.5rem;
  background: var(--lime);
  border-radius: 2rem;
}

.cta h2 {
  max-width: 55rem;
  margin: 1.5rem 0 0;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.cta__button {
  display: flex;
  width: 11rem;
  height: 11rem;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 180ms ease;
}

.cta__button:hover {
  transform: scale(1.04);
}

.site-footer {
  padding-block: 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer__inner,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  color: var(--ink);
  font-weight: 500;
}

.site-footer .menu-item {
  display: inline-block;
}

.page-hero,
.contact-page,
.blog-page,
.single-header {
  padding-top: 11rem;
}

.page-hero h1,
.contact-copy h1,
.blog-heading h1 {
  max-width: 75rem;
  margin: 2rem 0 0;
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.about-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.about-intro > .eyebrow {
  max-width: 25rem;
  color: var(--muted);
  line-height: 1.7;
}

.prose {
  max-width: 48rem;
  margin-inline: auto;
  color: rgb(23 24 20 / 72%);
  font-size: 1.08rem;
  line-height: 1.85;
}

.prose--lead {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.65;
}

.prose > p + p,
.prose > * + * {
  margin-top: 1.6em;
}

.prose h2,
.prose h3 {
  margin-top: 2.2em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.prose h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.prose blockquote {
  margin: 2.2em 0;
  padding-left: 1em;
  color: var(--ink);
  border-left: 0.2em solid var(--lime);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.1;
}

.prose a {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 0.2em;
}

.prose code {
  padding: 0.15em 0.4em;
  color: var(--ink);
  background: rgb(23 24 20 / 7%);
  border-radius: 0.35rem;
  font-family: var(--mono);
  font-size: 0.86em;
}

.prose pre,
.prose .ql-syntax {
  margin-block: 2em;
  padding: 1.5rem 1.75rem;
  overflow-x: auto;
  color: #e9e8e1;
  background: var(--ink);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 6%), 0 20px 50px rgb(23 24 20 / 12%);
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.75;
  tab-size: 4;
  white-space: pre;
  word-wrap: normal;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgb(255 255 255 / 20%) transparent;
  scrollbar-width: thin;
}

.prose pre code {
  padding: 0;
  color: inherit;
  background: none;
  border-radius: 0;
  font-size: inherit;
}

.prose pre::selection,
.prose pre *::selection {
  color: var(--ink);
  background: var(--lime);
}

.prose img {
  height: auto;
  border-radius: 1rem;
}

.about-method h2 {
  max-width: 32rem;
  margin-top: 1.5rem;
  font-size: clamp(3.5rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.method-list {
  border-top: 1px solid rgb(255 255 255 / 15%);
}

.method-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.method-list h3 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
  font-weight: 500;
}

.method-list p {
  max-width: 38rem;
  margin: 0;
  color: rgb(255 255 255 / 50%);
  line-height: 1.7;
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.beyond-grid > div:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.beyond-grid .text-link {
  margin-top: 2rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.contact-copy > div > p:last-child {
  max-width: 39rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-details p,
.contact-details a {
  display: inline-block;
  margin: 0.8rem 0 0;
  line-height: 1.6;
}

.contact-card {
  padding: 3rem;
  background: var(--white);
  border-radius: 2rem;
  box-shadow: 0 25px 80px rgb(23 24 20 / 8%);
}

.contact-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.contact-card__header h2 {
  margin-bottom: 0.25rem;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.contact-card__header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-card__header > span {
  width: 0.7rem;
  height: 0.7rem;
  background: #6ba848;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgb(107 168 72 / 14%);
}

.contact-form {
  display: grid;
  gap: 1.7rem;
  margin-top: 2rem;
}

.contact-form label > span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgb(23 24 20 / 32%);
}

.button--submit {
  width: 100%;
  justify-content: space-between;
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
}

.button--submit > span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-notice {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.88rem;
}

.form-notice strong {
  display: block;
}

.form-notice--success {
  background: #e8f5df;
}

.form-notice--error {
  background: #fee2dc;
}

/* [contact_form] shortcode (contact-form plugin). `body` prefix outranks the plugin's inline <style>. */
body .contact-form-wrapper {
  max-width: 40rem;
  margin-inline: auto;
  padding: 3rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 2rem;
  box-shadow: 0 25px 80px rgb(23 24 20 / 8%);
  font-size: 1rem;
  line-height: 1.5;
}

body .contact-form-wrapper form {
  display: grid;
  gap: 1.7rem;
}

body .contact-form-wrapper .form-group {
  margin: 0;
}

body .contact-form-wrapper label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .contact-form-wrapper input,
body .contact-form-wrapper textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  resize: vertical;
  transition: border-color 180ms ease;
}

body .contact-form-wrapper input:focus,
body .contact-form-wrapper textarea:focus {
  border-color: var(--ink);
  outline: none;
}

body .contact-form-wrapper input::placeholder,
body .contact-form-wrapper textarea::placeholder {
  color: rgb(23 24 20 / 32%);
}

body .contact-form-wrapper button[type="submit"] {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 99rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 180ms ease;
}

body .contact-form-wrapper button[type="submit"]:hover {
  transform: translateY(-2px);
}

body .contact-form-wrapper button[type="submit"] svg {
  box-sizing: border-box;
  width: 2.3rem;
  height: 2.3rem;
  padding: 0.6rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
}

body .contact-form-wrapper .alert {
  margin: 0 0 1.5rem;
  padding: 1rem;
  color: var(--ink);
  border: 0;
  border-radius: 0.75rem;
  font-size: 0.88rem;
}

body .contact-form-wrapper .alert-success {
  background: #e8f5df;
}

body .contact-form-wrapper .alert-error {
  background: #fee2dc;
}

.contact-tip-wrap,
.next-post-wrap {
  padding: 0 1.25rem 1.25rem;
}

.contact-tip,
.next-post {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  padding: 3.5rem;
  background: var(--lime);
  border-radius: 2rem;
}

.contact-tip > p:last-child {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.blog-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
}

.blog-heading > p {
  max-width: 36rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-links .current {
  color: var(--white);
  background: var(--ink);
}

.single-shell {
  width: min(calc(100% - 2.5rem), 64rem);
  margin-inline: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 4rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.single-meta span:first-child {
  padding: 0.45rem 0.7rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 99rem;
}

.single-header h1 {
  margin: 2rem 0 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.single-excerpt {
  max-width: 50rem;
  margin: 2.5rem 0 0;
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1.55;
}

.single-featured {
  width: 100%;
  height: min(42rem, 42vw);
  min-height: 20rem;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.single-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-body {
  padding-top: 6rem;
}

.next-post {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.next-post h2 {
  max-width: 58rem;
  margin: 1.2rem 0 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.empty-state {
  padding: 3rem 0;
  color: var(--muted);
}

.generic-page,
.not-found {
  min-height: calc(100vh - 10rem);
  padding-top: 11rem;
}

.generic-page h1,
.not-found h1 {
  margin: 2rem 0 3.5rem;
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.generic-page .prose {
  margin-left: 0;
}

.not-found p:not(.eyebrow) {
  max-width: 35rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.not-found .button {
  margin-top: 1.5rem;
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero__grid,
  .statement-grid,
  .section-heading,
  .about-method,
  .beyond-grid,
  .contact-grid,
  .blog-heading {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: min(100%, 38rem);
    justify-self: end;
  }

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

  .project-card {
    min-height: 27rem;
  }

  .section-heading > p,
  .section-heading--writing .button {
    justify-self: start;
  }

  .post-row {
    grid-template-columns: auto 1fr auto;
  }

  .post-row__tag,
  .post-row p {
    display: none;
  }

  .contact-copy {
    gap: 5rem;
  }

  .contact-details {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .prose pre,
  .prose .ql-syntax {
    margin-inline: -0.5rem;
    padding: 1.1rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 0.78rem;
  }

  .section {
    padding-block: 5.5rem;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .hero,
  .page-hero,
  .contact-page,
  .blog-page,
  .single-header {
    padding-top: 8.5rem;
  }

  .hero__grid {
    gap: 3.5rem;
  }

  .hero h1 {
    margin-top: 2rem;
  }

  .hero__intro {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

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

  .stats__grid > div {
    padding: 1.5rem 1rem;
  }

  .stats__grid > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stats__grid > div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .capabilities {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .capabilities article,
  .capabilities article:first-child {
    min-height: 0;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
  }

  .capabilities h3 {
    margin-top: 2.5rem;
  }

  .project-card {
    min-height: 28rem;
    padding: 1.75rem;
  }

  .post-row {
    gap: 1rem;
    padding: 1.8rem 0;
  }

  .post-row h3 {
    font-size: 1.4rem;
  }

  .cta {
    min-height: 30rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem;
  }

  .cta__button {
    width: 9rem;
    height: 9rem;
    align-self: flex-end;
  }

  .site-footer__inner {
    align-items: flex-start;
  }

  .site-footer__inner,
  .about-intro,
  .contact-tip {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .about-intro {
    gap: 2rem;
  }

  .method-list article {
    gap: 1rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-card,
  body .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-tip,
  .next-post {
    padding: 2rem;
  }

  .single-featured {
    height: 65vw;
  }
}

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

  .button,
  .project-card,
  .post-row,
  .round-icon,
  .hero-card__image,
  .desktop-nav a::before,
  .brand__logo,
  .header-cta > span,
  .mobile-nav a {
    transition: none;
  }
}
