:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --paper-warm: #eee7dc;
  --surface: #fffdf8;
  --ink: #1c2224;
  --muted: #667073;
  --muted-strong: #3f4a4d;
  --rule: #d8d0c2;
  --rule-strong: #bfb5a4;
  --green: #285f59;
  --green-dark: #153f3b;
  --green-soft: #dfece6;
  --blue: #3b5674;
  --clay: #a25f3f;
  --gold: #a77a2f;
  --violet: #625079;
  --shadow: 0 20px 56px rgba(36, 41, 40, 0.09);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(216, 208, 194, 0.3) 1px, transparent 1px) 0 0 / 100% 34px,
    radial-gradient(circle at top left, rgba(40, 95, 89, 0.08), transparent 320px),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(40, 95, 89, 0.34);
  outline-offset: 3px;
}

.site-header,
main,
.site-footer {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 52px;
  align-items: end;
  padding: 86px 0 82px;
}

.hero-copy-block {
  max-width: 820px;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 5.25rem;
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.05rem;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.58rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--muted-strong);
  font-size: 1.7rem;
  line-height: 1.28;
}

.hero-detail {
  max-width: 750px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-note {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.7);
  padding: 18px;
}

.note-label,
.eyebrow,
.card-kicker,
.evidence-type {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.focus-list,
.tag-row,
.system-strip {
  list-style: none;
  padding: 0;
}

.focus-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.focus-list li {
  border-top: 1px solid var(--rule);
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 750;
  padding-top: 10px;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 7px;
}

.section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.project-ledger {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  grid-column: span 3;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(36, 41, 40, 0.04);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.project-card-large {
  grid-column: span 4;
}

.project-card:nth-child(2),
.project-card:nth-child(4) {
  grid-column: span 2;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow);
}

.evidence-panel {
  min-height: 174px;
  display: grid;
  align-content: end;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding: 18px;
  isolation: isolate;
  position: relative;
}

.evidence-panel strong {
  max-width: 270px;
  font-size: 1.32rem;
  line-height: 1.12;
  position: relative;
  z-index: 2;
}

.evidence-panel::before,
.evidence-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.evidence-panel::before {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.84), rgba(255, 253, 248, 0.34) 54%, rgba(255, 253, 248, 0.12)),
    linear-gradient(0deg, rgba(28, 34, 36, 0.24), rgba(28, 34, 36, 0));
}

.evidence-panel::after {
  inset: 13px;
  border: 1px solid rgba(255, 253, 248, 0.44);
  border-radius: 6px;
  mix-blend-mode: soft-light;
}

.evidence-type {
  width: fit-content;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 253, 248, 0.44);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.66);
  padding: 6px 9px;
  backdrop-filter: blur(8px);
}

.evidence-image {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  filter: saturate(0.72) contrast(0.92);
  object-fit: cover;
  opacity: 0.54;
}

.evidence-image-phone {
  object-position: 50% 34%;
}

.evidence-image-object {
  object-position: 50% 45%;
}

.evidence-skillorb {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.68), rgba(255, 253, 248, 0.2)),
    var(--green-soft);
}

.evidence-tactics {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.7), rgba(255, 253, 248, 0.12)),
    #e8e3d8;
}

.evidence-agent {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.66), rgba(255, 253, 248, 0.12)),
    #e4e8ed;
}

.evidence-designs {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.16)),
    #efe4d7;
}

.card-body {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.card-body p {
  color: var(--muted);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 2px 0 18px;
}

.proof-list.compact {
  grid-template-columns: 1fr;
}

.proof-list div {
  border-left: 2px solid rgba(40, 95, 89, 0.3);
  padding-left: 12px;
}

.proof-list dt {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-list dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 18px;
}

.tag-row span {
  border: 1px solid rgba(40, 95, 89, 0.18);
  border-radius: 999px;
  background: rgba(223, 236, 230, 0.75);
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
  padding: 8px 10px;
}

.card-link {
  align-self: flex-start;
  border: 1px solid rgba(40, 95, 89, 0.28);
  border-radius: 999px;
  background: var(--green);
  color: #fffdf8;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  padding: 12px 15px;
  text-decoration: none;
}

.card-link:hover {
  background: var(--green-dark);
}

.secondary-link {
  background: transparent;
  color: var(--green-dark);
}

.secondary-link:hover {
  background: var(--green-soft);
}

.note-card {
  grid-column: span 2;
  background: rgba(255, 253, 248, 0.72);
}

.systems-section {
  display: grid;
  gap: 10px;
}

.compact-heading {
  margin-bottom: 18px;
}

.system-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.system-strip span {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.66);
  color: var(--muted-strong);
  padding: 15px;
}

.system-icon {
  width: 34px;
  min-width: 34px;
  height: 34px;
  display: block;
  border: 1px solid rgba(40, 95, 89, 0.24);
  border-radius: 50%;
  background: rgba(223, 236, 230, 0.62);
  fill: none;
  stroke: var(--green-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  padding: 7px;
}

.focus-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: start;
}

.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 50px;
  border-top: 1px solid var(--rule);
}

.footer-note {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .focus-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 1.92rem;
  }

  .hero-copy {
    font-size: 1.5rem;
  }

  .hero-note {
    max-width: 560px;
  }

  .project-card,
  .project-card-large,
  .project-card:nth-child(2),
  .project-card:nth-child(4),
  .note-card {
    grid-column: span 3;
  }

  .system-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding: 58px 0;
  }

  h1 {
    font-size: 2.82rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  h3 {
    font-size: 1.34rem;
  }

  .hero-copy {
    font-size: 1.28rem;
  }

  .section {
    padding: 54px 0;
  }

  .project-ledger,
  .proof-list,
  .system-strip {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-large,
  .project-card:nth-child(2),
  .project-card:nth-child(4),
  .note-card {
    grid-column: auto;
  }

  .evidence-panel {
    min-height: 150px;
  }

  .card-body {
    padding: 19px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
