@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}
:root:has(.portfolio-shell) {
  color-scheme: light;
  --bg-primary: #f7f8f4;
  --bg-secondary: #fff;
  --bg-card: #fff;
  --text-primary: #182f2b;
  --text-secondary: #52645e;
  --text-muted: #5e7068;
  --border: #dce3d8;
  --accent: #285b45;
  --cyan: #285b45;
  --serif: Inter, sans-serif;
  --sans: Inter, sans-serif;
  --theme-surface: #fff;
  --theme-surface-strong: #f0f3eb;
  --theme-chrome: #f7f8f4;
  --theme-chrome-strong: #fff;
  --theme-active-text: #fff;
}
html:has(.portfolio-shell) {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: #f7f8f4;
}
body:has(.portfolio-shell) {
  margin: 0;
  background: #f7f8f4;
  color: #182f2b;
}
.portfolio-shell {
  --p-ink: #182f2b;
  --p-muted: #52645e;
  --p-green: #285b45;
  --p-border: #dce3d8;
  --p-mint: #d8e9bd;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow: clip;
}
.portfolio-shell * {
  box-sizing: border-box;
}
.portfolio-shell [hidden] {
  display: none !important;
}
.portfolio-shell a {
  color: inherit;
  text-decoration: none;
}
.portfolio-shell button,
.portfolio-shell input,
.portfolio-shell textarea {
  font: inherit;
}
.portfolio-shell button,
.portfolio-shell a {
  -webkit-tap-highlight-color: transparent;
}
.portfolio-shell a:focus-visible,
.portfolio-shell button:focus-visible,
.portfolio-shell input:focus-visible,
.portfolio-shell textarea:focus-visible {
  outline: 3px solid #548148;
  outline-offset: 5px;
}
.portfolio-shell img {
  max-width: 100%;
  height: auto;
  display: block;
}
.portfolio-shell h1,
.portfolio-shell h2,
.portfolio-shell h3,
.portfolio-shell p {
  margin: 0;
}
.portfolio-shell h1,
.portfolio-shell h2,
.portfolio-shell h3 {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.13;
  letter-spacing: -0.045em;
  font-weight: 570;
}
.portfolio-shell h1 {
  font-size: clamp(46px, 5.4vw, 78px);
  font-weight: 580;
}
.portfolio-shell h1 em {
  font-style: normal;
  color: #557942;
}
.portfolio-shell h2 {
  font-size: clamp(29px, 3.1vw, 42px);
}
.portfolio-shell h3 {
  font-size: 23px;
  letter-spacing: -0.028em;
}
.portfolio-shell p {
  color: var(--p-muted);
}
.portfolio-shell a:hover {
  color: #527a3b;
}
.portfolio-shell p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p-wrap {
  width: min(1184px, calc(100% - 80px));
  margin-inline: auto;
}
.p-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  border-bottom: 1px solid var(--p-border);
}
.p-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.p-identity small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--p-muted);
  margin-top: 4px;
}
.p-monogram {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid #b7c6ae;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
}
.p-nav nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 500;
}
.p-nav .p-nav-contact {
  border: 1px solid #b9c8b1;
  border-radius: 7px;
  padding: 9px 16px;
  margin-left: 2px;
}
.p-nav a:hover {
  text-decoration: none;
}
.p-nav nav a[aria-current="page"] {
  color: #285b45;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.p-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 76px;
  align-items: center;
  padding-block: 82px 90px;
}
.p-eyebrow {
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  font-weight: 650 !important;
  color: #496845 !important;
  line-height: 1.5 !important;
}
.p-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #638550;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 2px;
}
.p-hero h1 {
  margin: 22px 0 24px;
}
.p-lead {
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  max-width: 640px;
}
.p-hero-note {
  font-size: 14px;
  max-width: 435px;
  margin-top: 18px !important;
}
.p-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.p-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  background: #285b45;
  color: #fff !important;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 550;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s;
}
.p-button:hover {
  background: #1b4433;
  transform: translateY(-2px);
}
.p-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.p-text-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  gap: 14px;
  align-items: center;
}
.p-hero-caption {
  font-size: 10px;
  color: #68766c;
  letter-spacing: 0.02em;
  margin-top: 36px;
}
.p-hero-caption span {
  margin: 0 9px;
}
.p-feature-panel {
  background: #1c392e;
  color: #f4f8ea;
  border-radius: 18px;
  padding: 27px 30px 22px;
  position: relative;
  isolation: isolate;
  box-shadow: 0 18px 40px -30px #18342380;
}
.p-feature-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background-image: radial-gradient(#d0e6b917 0.8px, transparent 0.8px);
  background-size: 16px 16px;
  mask-image: linear-gradient(#000, transparent 85%);
}
.p-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-feature-panel .p-eyebrow {
  color: #c0d3ac !important;
  font-size: 9px !important;
}
.p-orbit {
  border: 1px solid #6f866555;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.p-chip-art {
  height: 230px;
  display: grid;
  place-items: center;
  position: relative;
}
.p-chip-ring {
  position: absolute;
  width: 225px;
  height: 155px;
  border: 1px solid #cadba42b;
  border-radius: 45%;
  transform: rotate(-22deg);
}
.p-chip-ring:before {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1px solid #cadba419;
  border-radius: 45%;
}
.p-chip {
  position: relative;
  text-align: center;
  background: linear-gradient(145deg, #59714d, #263f2e);
  box-shadow:
    0 14px 0 -3px #142b21,
    0 16px 0 -2px #6b86584a,
    0 23px 45px #10251c;
  outline: 1px solid #a5bb8440;
  border: 5px solid #b7cf8e0d;
  border-radius: 20px;
  width: 172px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotate(-9deg);
}
.p-chip strong {
  font-size: 52px;
  letter-spacing: -0.07em;
  font-weight: 500;
  line-height: 1.2;
}
.p-chip small {
  font-size: 8px;
  letter-spacing: 0.19em;
  color: #d0e1b8;
}
.p-chip > span {
  font-size: 8px;
  color: #c0d1ac;
  margin-top: 7px;
}
.p-feature-panel h2 {
  font-size: 29px;
  color: #f4f8ea;
  letter-spacing: -0.035em;
  line-height: 1.18;
}
.p-feature-panel > p {
  font-size: 12px;
  color: #c3d0bc;
  margin-top: 15px;
  max-width: 300px;
}
.p-feature-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #a3bc8c33;
  margin-top: 28px;
  padding-top: 18px;
}
.p-feature-bottom a {
  font-size: 11px;
  color: #e2edce;
}
.p-feature-bottom a span {
  margin-left: 10px;
}
.p-feature-bottom > span {
  font-size: 8px;
  color: #abbda1;
}
.p-section {
  padding-block: 58px;
}
.p-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.p-section-heading .p-eyebrow,
.p-section > .p-eyebrow {
  margin-bottom: 12px;
}
.p-section-intro {
  font-size: 14px;
  max-width: 680px;
  margin-top: 17px !important;
  margin-bottom: 28px !important;
}
.p-contributions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.p-contribution {
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 11px;
  padding: 23px 23px 20px;
  display: flex;
  flex-direction: column;
}
.p-contribution-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 600;
}
.p-merged {
  font-size: 9px;
  background: #edf2e8;
  color: #49633e;
  padding: 3px 8px;
  border: 1px solid #dce8d0;
  border-radius: 20px;
}
.p-contribution h3 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 13px;
}
.p-contribution p {
  font-size: 12px;
  line-height: 1.75;
  flex: 1;
}
.p-contribution-meta {
  border-top: 1px solid #e6eae1;
  margin-top: 21px;
  padding-top: 13px;
  font-size: 10px;
  color: #6a7865;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.p-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 30px;
}
.p-project {
  border: 1px solid var(--p-border);
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.p-project:hover {
  border-color: #b4c5a6;
  transform: translateY(-3px);
}
.p-project-art {
  height: 242px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
  background: #e7eddf;
  color: #274832 !important;
  overflow: hidden;
  border-bottom: 1px solid #e2e8dc;
}
.p-art-note {
  position: absolute;
  bottom: 12px;
  left: 18px;
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5c7052;
}
.p-project-art.code {
  background: #e1e9d8;
}
.p-editor {
  width: 76%;
  background: #20362c;
  color: #dbe9cd;
  box-shadow: 0 16px 28px #253d2926;
  border-radius: 8px;
  overflow: hidden;
  transform: rotate(-2deg);
  font-family: monospace;
  font-size: 12px;
  line-height: 1.7;
}
.p-editor header {
  padding: 9px 14px;
  background: #182d24;
  color: #c4d3b8;
  font-size: 9px;
  border-bottom: 1px solid #69785c33;
}
.p-editor code {
  display: block;
  padding: 21px 20px;
  white-space: pre;
  line-height: 1.7;
}
.p-editor code span {
  color: #c5d992;
}
.p-editor footer {
  font-size: 8px;
  padding: 7px 14px;
  border-top: 1px solid #69785c33;
  color: #a0b590;
}
.p-flow {
  display: flex;
  gap: 14px;
  align-items: center;
}
.p-flow span {
  display: grid;
  place-items: center;
  width: 90px;
  height: 66px;
  background: #fbfcf8;
  border: 1px solid #c6d4bb;
  border-radius: 8px;
  box-shadow: 0 5px 0 #d2ddc7;
  font-size: 11px;
}
.p-project-art.flow {
  background: #f0ede4;
}
.p-flow b {
  font-weight: 400;
  color: #738266;
}
.p-layers {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: rotate(-8deg);
}
.p-layers span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  width: 240px;
  padding: 12px 30px;
  background: #f3f8ec;
  border: 1px solid #a8bc97;
  border-radius: 7px;
  box-shadow: 5px 5px 0 #b5c6a6;
}
.p-layers span:nth-child(2) {
  background: #d6e4c6;
}
.p-layers span:nth-child(3) {
  background: #b8cea3;
}
.p-eval {
  display: grid;
  gap: 12px;
  width: 65%;
}
.p-eval span {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #c5d4c9;
  border-radius: 6px;
  font-size: 12px;
}
.p-project-art.grid {
  background: #e3ece6;
}
.p-data {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.p-data span {
  padding: 22px 12px;
  background: #fff;
  border: 1px solid #cad5c0;
  border-radius: 9px;
  font-size: 11px;
}
.p-data small {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  font-size: 9px;
}
.p-hub-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  transform: rotate(-5deg);
}
.p-hub-tiles span {
  width: 100px;
  padding: 14px;
  border: 1px solid #bfccae;
  background: #f8fbf1;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
}
.p-project-body {
  padding: 26px;
}
.p-project-body .p-eyebrow {
  font-size: 9px !important;
  margin-bottom: 11px;
}
.p-project-body h3 a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.p-project-body h3 span {
  font-size: 20px;
  color: #6b8655;
}
.p-project-body > p {
  font-size: 13px;
  margin-top: 13px;
  max-width: 450px;
}
.p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 21px;
}
.p-tags span {
  font-size: 9px;
  border: 1px solid #e0e6d8;
  border-radius: 5px;
  background: #f7f9f3;
  padding: 3px 7px;
  color: #55694b;
}
.p-hub-strip {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
  padding: 25px 28px;
  border: 1px solid #d3dfc4;
  background: #edf3e4;
  border-radius: 10px;
}
.p-hub-strip > span:last-child {
  margin-left: auto;
  font-size: 25px;
}
.p-hub-icon {
  font-size: 36px;
  color: #597944;
  line-height: 1;
}
.p-hub-strip strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.p-hub-strip p {
  font-size: 12px;
  margin-top: 4px;
}
.p-about-band {
  background: #edf1e6;
  border-block: 1px solid #dfe6d7;
  margin-block: 45px 20px;
  padding-block: 65px;
}
.p-about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 100px;
}
.p-portrait {
  max-width: 300px;
  justify-self: center;
  width: 100%;
}
.p-portrait img {
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 8px 30px #2634210d;
}
.p-portrait > span {
  display: block;
  font-size: 10px;
  margin-top: 14px;
  color: #617058;
}
.p-about-grid .p-eyebrow {
  margin-bottom: 18px;
}
.p-about-grid h2 {
  margin-bottom: 24px;
}
.p-about-grid .p-lead {
  font-size: 18px;
  margin-bottom: 20px;
}
.p-about-grid p:not(.p-lead):not(.p-eyebrow) {
  font-size: 14px;
}
.p-about-grid .p-text-link {
  margin-top: 24px;
}
.p-writing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.p-writing-card {
  display: block;
  padding: 25px 23px 27px;
  border-top: 1px solid #b8c9a9;
  background: #fff;
  border-radius: 0 0 9px 9px;
}
.p-writing-card h3,
.p-writing-card h2 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin: 19px 0 14px;
}
.p-writing-card h3 span {
  color: #708c5e;
}
.p-writing-card p {
  font-size: 12px;
}
.p-contact-wrap {
  padding-block: 45px 20px;
}
.p-contact-banner {
  background: #203b2f;
  color: #f5f7ec;
  padding: 48px 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.p-contact-banner .p-eyebrow {
  color: #bdcea7 !important;
  margin-bottom: 18px;
}
.p-contact-banner h2 {
  font-size: 36px;
}
.p-contact-banner p:not(.p-eyebrow) {
  color: #c4d0b8;
  font-size: 12px;
  max-width: 410px;
  margin-top: 20px;
}
.p-button-light {
  background: #d8e9bd;
  color: #21382c !important;
  white-space: nowrap;
}
.p-button-light:hover {
  background: #e6f2d4;
}
.p-ask-link {
  font-size: 11px;
  text-align: center;
  padding-block: 15px 45px;
  color: #5e7055;
}
.p-footer {
  border-top: 1px solid var(--p-border);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding-block: 33px 38px;
}
.p-footer strong {
  font-size: 12px;
  font-weight: 650;
}
.p-footer p {
  font-size: 11px;
  margin-top: 4px;
}
.p-footer small {
  display: block;
  font-size: 9px;
  color: #617357;
  margin-top: 11px;
}
.p-footer nav {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  align-content: start;
  font-size: 11px;
  max-width: 530px;
  padding-top: 5px;
}
.p-page-heading {
  padding-block: 70px 25px;
}
.p-page-heading h1 {
  margin-top: 18px;
  margin-bottom: 25px;
  font-size: clamp(43px, 5vw, 68px);
}
.p-page-heading .p-lead {
  max-width: 710px;
  font-size: 18px;
}
.p-page-heading.p-about-grid {
  grid-template-columns: 1.4fr 0.6fr;
  gap: 70px;
}
.p-page-heading .p-back {
  font-size: 12px;
  display: inline-block;
  margin-bottom: 32px;
}
.p-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.p-filters button {
  background: transparent;
  border: 1px solid #ced9c4;
  border-radius: 30px;
  padding: 8px 18px;
  color: #40583a;
  font-size: 12px;
  cursor: pointer;
}
.p-filters button[aria-pressed="true"] {
  background: #285b45;
  border-color: #285b45;
  color: white;
}
.p-filter-status {
  font-size: 11px;
  margin-top: 18px !important;
}
.p-resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.p-resource {
  display: block;
  background: #fff;
  border: 1px solid #dce3d8;
  border-radius: 10px;
  padding: 28px;
}
.p-resource h3 {
  font-size: 21px;
  margin-block: 10px 15px;
}
.p-resource p {
  font-size: 14px;
}
.p-fineprint {
  font-size: 11px;
  margin-top: 23px !important;
  color: #637158 !important;
}
.p-prose {
  max-width: 830px;
  padding-bottom: 85px;
}
.p-prose > h2 {
  font-size: 29px;
  margin-top: 42px;
  margin-bottom: 20px;
}
.p-prose > h2:first-child {
  margin-top: 0;
}
.p-prose > p {
  font-size: 16px;
  line-height: 1.9;
  margin-block: 18px;
}
.p-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 28px;
  font-size: 12px;
}
.p-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #d8e1ce;
  padding: 25px 0;
  margin-bottom: 45px;
  gap: 20px;
}
.p-facts strong {
  display: block;
  font-size: 32px;
  font-weight: 550;
  color: #315742;
  letter-spacing: -0.05em;
}
.p-facts span {
  font-size: 11px;
  color: #5e7055;
}
.p-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  padding-bottom: 90px;
}
.p-contact-grid h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.p-contact-grid p {
  font-size: 14px;
}
.p-contact-email {
  display: block;
  font-size: 19px;
  margin-top: 30px;
  overflow-wrap: anywhere;
}
.p-form-panel {
  padding: 30px;
  background: #fff;
  border: 1px solid #dce3d8;
  border-radius: 12px;
}
.portfolio-shell .conversation-form {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
.portfolio-shell .conversation-form label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: #405338;
}
.portfolio-shell .conversation-form input,
.portfolio-shell .conversation-form textarea,
.p-ask-input input {
  background: #f8faf4;
  border: 1px solid #cad5c1;
  border-radius: 6px;
  color: #182f2b;
  padding: 12px;
  font-size: 14px;
}
.portfolio-shell .conversation-form button[type="submit"] {
  background: #285b45;
  border: 0;
  border-radius: 6px;
  color: white;
  font-family: Inter, sans-serif;
  font-size: 12px;
  cursor: pointer;
}
.portfolio-shell .conversation-form .conversation-status {
  font-size: 12px;
}
.portfolio-shell .conversation-form .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.p-ask-panel {
  max-width: 900px;
  min-height: 330px;
}
.p-ask-panel label {
  font-size: 13px;
  font-weight: 550;
  display: block;
  margin-bottom: 12px;
}
.p-ask-input {
  display: flex;
  gap: 10px;
}
.p-ask-input input {
  min-width: 0;
  flex: 1;
}
.p-answer {
  background: #fff;
  border: 1px solid #dce3d8;
  padding: 25px;
  border-radius: 9px;
  margin-top: 24px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.85;
}
.p-source-list {
  font-size: 12px;
  line-height: 1.8;
  padding-left: 20px;
}
.p-source-list a {
  text-decoration: underline;
}
.p-anchor {
  display: block;
  scroll-margin-top: 25px;
}
.portfolio-shell.legacy {
  --accent: #285b45;
  --accent-soft: #e4edda;
  --text: #182f2b;
  --muted: #52645e;
  --bg: #f7f8f4;
  --panel: #fff;
  --line: #dce3d8;
}
.portfolio-shell.legacy main {
  padding-top: 35px;
}
.portfolio-shell.legacy .hero {
  background: transparent;
}
.portfolio-shell.legacy .hero h1 {
  font-size: clamp(40px, 5vw, 68px);
}
.portfolio-shell.legacy .container {
  max-width: 1184px;
}
.portfolio-shell.legacy .p-footer {
  margin-top: 65px;
}
.portfolio-shell.legacy a {
  color: inherit;
}
.portfolio-shell.legacy p a {
  color: #285b45;
}
.portfolio-shell.legacy .p-nav {
  background: transparent;
}
.portfolio-shell.legacy .card {
  background: #fff;
  border-color: #dce3d8;
}
@media (min-width: 1400px) {
  .p-hero {
    gap: 95px;
    padding-top: 90px;
    padding-bottom: 100px;
  }
}
@media (max-width: 1050px) {
  .p-wrap {
    width: calc(100% - 48px);
  }
  .p-nav nav {
    gap: 18px;
  }
  .p-hero {
    gap: 35px;
    padding-block: 60px;
  }
  .p-hero h1 {
    font-size: 60px;
  }
  .p-feature-panel {
    padding: 23px;
  }
  .p-chip-art {
    height: 205px;
  }
  .p-feature-bottom > span {
    display: none;
  }
  .p-about-grid {
    gap: 60px;
  }
  .p-contribution {
    padding: 20px;
  }
  .p-contact-banner {
    padding: 38px;
  }
  .p-flow {
    gap: 8px;
  }
  .p-flow span {
    width: 75px;
  }
  .p-footer nav {
    max-width: 440px;
  }
}
@media (max-width: 800px) {
  .p-nav {
    flex-wrap: wrap;
    padding-block: 20px;
    gap: 18px;
    min-height: 0;
  }
  .p-nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .p-nav .p-nav-contact {
    padding: 6px 11px;
  }
  .p-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 50px;
  }
  .p-hero h1 {
    font-size: 64px;
  }
  .p-hero-copy {
    max-width: 630px;
  }
  .p-feature-panel {
    max-width: 600px;
    width: 100%;
    padding: 27px 30px;
  }
  .p-chip-art {
    height: 220px;
  }
  .p-feature-bottom > span {
    display: block;
  }
  .p-section {
    padding-block: 40px;
  }
  .p-contributions {
    grid-template-columns: 1fr;
  }
  .p-contribution {
    padding: 24px;
  }
  .p-contribution-top {
    margin-bottom: 13px;
  }
  .p-contribution h3 {
    font-size: 20px;
  }
  .p-contribution p {
    font-size: 13px;
  }
  .p-project-grid {
    gap: 18px;
  }
  .p-project-art {
    height: 205px;
    padding: 15px;
  }
  .p-project-body {
    padding: 22px;
  }
  .p-project-body h3 {
    font-size: 21px;
  }
  .p-editor {
    width: 90%;
    font-size: 10px;
  }
  .p-flow {
    gap: 6px;
  }
  .p-flow span {
    width: 58px;
    height: 58px;
    font-size: 9px;
  }
  .p-layers span {
    width: 190px;
    font-size: 9px;
  }
  .p-writing-grid {
    grid-template-columns: 1fr;
  }
  .p-writing-card {
    padding: 25px;
  }
  .p-about-grid {
    gap: 40px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .p-contact-banner {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .p-contact-banner h2 {
    font-size: 35px;
  }
  .p-section-heading {
    align-items: start;
  }
  .p-section-heading > .p-text-link {
    font-size: 11px;
    white-space: nowrap;
    margin-top: 28px;
  }
  .p-footer {
    flex-direction: column;
    gap: 20px;
  }
  .p-footer nav {
    max-width: none;
  }
  .p-contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .p-page-heading.p-about-grid {
    gap: 40px;
    grid-template-columns: 1.2fr 0.8fr;
  }
  .p-page-heading.p-about-grid h1 {
    font-size: 48px;
  }
}
@media (max-width: 540px) {
  .p-wrap {
    width: calc(100% - 36px);
  }
  .p-nav nav {
    font-size: 10px;
    gap: 6px;
  }
  .p-nav .p-nav-contact {
    font-size: 10px;
    padding: 6px 9px;
  }
  .p-identity {
    font-size: 15px;
  }
  .p-hero h1 {
    font-size: 54px;
    letter-spacing: -0.06em;
  }
  .p-eyebrow {
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
  }
  .p-lead {
    font-size: 17px;
  }
  .p-hero-note {
    font-size: 13px;
  }
  .p-actions {
    gap: 20px;
  }
  .p-button {
    font-size: 12px;
    padding: 12px 17px;
    gap: 15px;
  }
  .p-text-link {
    font-size: 12px;
    gap: 9px;
  }
  .p-hero-caption {
    font-size: 9px;
  }
  .p-feature-panel {
    padding: 24px;
    border-radius: 13px;
  }
  .p-feature-panel h2 {
    font-size: 28px;
  }
  .p-feature-bottom > span {
    font-size: 7px;
  }
  .p-section-heading {
    flex-direction: column;
    gap: 15px;
  }
  .p-section-heading > .p-text-link {
    margin: 0;
  }
  .p-section h2 {
    font-size: 30px;
  }
  .p-section-intro {
    font-size: 13px;
  }
  .p-project-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .p-project-art {
    height: 225px;
  }
  .p-editor {
    width: 80%;
    font-size: 12px;
  }
  .p-flow span {
    width: 80px;
    height: 64px;
    font-size: 11px;
  }
  .p-flow {
    gap: 9px;
  }
  .p-layers span {
    width: 215px;
  }
  .p-hub-strip {
    padding: 22px 18px;
    gap: 14px;
  }
  .p-hub-icon {
    font-size: 26px;
  }
  .p-hub-strip strong {
    font-size: 13px;
  }
  .p-hub-strip p {
    font-size: 11px;
  }
  .p-hub-strip > span:last-child {
    font-size: 19px;
  }
  .p-about-band {
    padding-block: 45px;
    margin-block: 25px 10px;
  }
  .p-about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .p-portrait {
    max-width: 250px;
    justify-self: start;
  }
  .p-about-grid h2 {
    font-size: 35px;
  }
  .p-about-grid .p-lead {
    font-size: 17px;
  }
  .p-contact-banner {
    padding: 30px 25px;
  }
  .p-contact-banner h2 {
    font-size: 31px;
  }
  .p-contact-wrap {
    padding-block: 20px;
  }
  .p-ask-link {
    font-size: 10px;
    padding-bottom: 35px;
  }
  .p-footer nav {
    gap: 16px;
    font-size: 10px;
  }
  .p-page-heading {
    padding-top: 45px;
  }
  .p-page-heading h1 {
    font-size: 45px;
  }
  .p-page-heading .p-lead {
    font-size: 16px;
  }
  .p-page-heading.p-about-grid {
    grid-template-columns: 1fr;
  }
  .p-resource-grid {
    grid-template-columns: 1fr;
  }
  .p-resource {
    padding: 23px;
  }
  .p-prose > p {
    font-size: 14px;
  }
  .p-prose > h2 {
    font-size: 27px;
  }
  .p-facts strong {
    font-size: 25px;
  }
  .p-facts span {
    font-size: 9px;
  }
  .p-facts {
    gap: 12px;
  }
  .p-form-panel {
    padding: 22px;
  }
  .p-ask-input {
    flex-direction: column;
  }
  .p-ask-input button {
    align-self: start;
  }
  .p-answer {
    padding: 20px;
    font-size: 13px;
  }
  .p-filters button {
    font-size: 11px;
    padding: 8px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.portfolio-shell) {
    scroll-behavior: auto;
  }
  .portfolio-shell * {
    transition: none !important;
    animation: none !important;
  }
}
/* Carry the new palette through the existing case studies and published notes. */
:root:has(.portfolio-shell) {
  --bg-tertiary: #edf2e6;
  --text-dim: #617158;
  --border-strong: #bacbad;
  --bg: #f7f8f4;
  --bg-rise: #fff;
  --ink: #182f2b;
  --ink-1: #52645e;
  --ink-2: #5d6f53;
  --ink-3: #63745a;
  --rule: #dce3d8;
  --rule-strong: #bacbad;
  --accent-soft: #e4edda;
}
.portfolio-shell.legacy .summary-card,
.portfolio-shell.legacy .panel,
.portfolio-shell.legacy .diagram,
.portfolio-shell.legacy .metric,
.portfolio-shell.legacy .fact-card,
.portfolio-shell.legacy .artifact-doc,
.portfolio-shell.legacy .artifact-doc:hover,
.portfolio-shell.legacy .case-artifact-node,
.portfolio-shell.legacy .node,
.portfolio-shell.legacy .tag {
  background: #fff;
  border-color: #dce3d8;
  box-shadow: none;
}
.portfolio-shell.legacy .case-visual {
  background: #e8efde;
  box-shadow: none;
}
.portfolio-shell.legacy .case-visual:after {
  opacity: 0.12;
}
.portfolio-shell.legacy .btn.primary {
  color: #fff;
}
.portfolio-shell.legacy .p-footer {
  text-align: left;
  font-family: Inter, sans-serif;
  color: #182f2b;
}
.portfolio-shell.legacy .notes-hero h1 {
  font-family: Inter, sans-serif;
  font-weight: 550;
  letter-spacing: -0.05em;
}
.portfolio-shell.legacy .notes-page {
  padding-top: 60px;
}
.portfolio-shell .conversation-form .field span {
  font-family: Inter, sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: #405338;
}
.portfolio-shell .conversation-form .form-actions a {
  font-family: Inter, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  color: #405338;
  font-size: 11px;
}
.portfolio-shell .conversation-form .status {
  color: #405338;
  font-size: 12px;
}
.portfolio-shell .p-footer-name {
  font-size: 12px;
  font-weight: 650;
}

/* Writing and essays share the portfolio's typography, spacing, and navigation. */
.p-note-list { margin-top: 30px; border-top: 1px solid var(--p-border); }
.p-note-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--p-border); }
.p-note-meta { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: var(--p-muted); padding-top: 5px; }
.p-note-row h3 { max-width: 780px; font-size: 25px; line-height: 1.35; }
.p-note-row h3 span { color: #708c5e; }
.p-note-row p { max-width: 760px; font-size: 14px; line-height: 1.85; margin-top: 14px; }
.p-note-row .p-tags { margin-top: 16px; }
.p-archive-list .p-note-row h3 { font-size: 21px; }
.p-essay { max-width: 830px; padding-block: 65px 80px; }
.p-essay-head .p-back { display: inline-block; margin-bottom: 38px; font-size: 13px; }
.p-essay-head .p-eyebrow { display: block; }
.p-essay-head h1 { font-size: clamp(36px, 4.5vw, 58px); line-height: 1.15; margin-block: 18px 25px; overflow-wrap: anywhere; }
.p-essay-head .p-lead { max-width: none; font-size: 18px; }
.p-essay-body { margin-top: 46px; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.p-essay-body p { margin-block: 22px; }
.p-essay-body h1, .p-essay-body h2 { font-size: 30px; margin-block: 46px 20px; line-height: 1.25; }
.p-essay-body h3 { font-size: 24px; margin-block: 32px 16px; }
.p-essay-body ul, .p-essay-body ol { padding-left: 26px; color: var(--p-muted); }
.p-essay-body li { margin-block: 10px; }
.p-essay-body a { text-decoration: underline; text-underline-offset: 3px; }
.p-essay-body blockquote { margin: 30px 0; padding: 12px 24px; border-left: 3px solid #8ca777; background: #edf2e6; color: var(--p-muted); }
.p-essay-body pre { position: relative; max-width: 100%; padding: 42px 22px 22px; background: #20362c; color: #e7efdc; border-radius: 9px; overflow-x: auto; font-size: 13px; line-height: 1.7; }
.p-essay-body code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: .86em; }
.p-essay-body :not(pre) > code { padding: 2px 5px; background: #e8efdf; border-radius: 4px; }
.p-essay-body pre code { font-size: inherit; }
.p-essay-body hr { border: 0; border-top: 1px solid var(--p-border); margin-block: 36px; }
.p-copy-button { position: absolute; right: 12px; top: 10px; padding: 3px 10px; background: #e2eccf; color: #20362c; border: 0; border-radius: 4px; cursor: pointer; font-size: 11px !important; }
.p-essay-foot { margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--p-border); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 600px) {
  .p-note-row { grid-template-columns: 1fr; gap: 12px; padding-block: 27px; }
  .p-note-meta { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .p-note-row h3, .p-archive-list .p-note-row h3 { font-size: 22px; }
  .p-essay { padding-block: 40px 55px; }
  .p-essay-head .p-lead, .p-essay-body { font-size: 16px; }
  .p-essay-body h2 { font-size: 27px; }
}
