:root {
  color-scheme: light;
  --paper: #f6f6f3;
  --white: #fff;
  --ink: #171a19;
  --muted: #777d78;
  --line: #e3e5df;
  --green: #9bdc69;
  --green-dark: #427a2d;
  --orange: #f26c45;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #80b956;
  outline-offset: 4px;
}

.page-shell {
  width: min(1240px, calc(100% - 112px));
  margin: 0 auto;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 10;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  clip: auto;
  background: var(--white);
}

.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -1.3px;
}

.brand-mark span:last-child {
  color: var(--white);
}

.brand-name,
.footer-brand {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.brand-name span,
.footer-brand span {
  color: var(--muted);
  font-weight: 600;
}

.topnav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  color: #747a75;
  font-size: 13px;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
}

.status-pill,
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #676e68;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.status-dot,
.type-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #71bd59;
  box-shadow: 0 0 0 3px rgb(113 189 89 / 13%);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: 495px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  width: 310px;
  height: 310px;
  position: absolute;
  top: -205px;
  left: 43%;
  border: 1px solid rgb(190 202 180 / 24%);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgb(190 202 180 / 9%), 0 0 0 70px rgb(190 202 180 / 6%);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 38%) 50%, transparent 70%);
  content: "";
  opacity: .45;
  transform: translateX(-110%);
  animation: hero-sheen 1.6s .45s ease-out both;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 50px 0 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #707771;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.eyebrow-line {
  width: 22px;
  height: 1px;
  background: var(--orange);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.4vw, 80px);
  font-weight: 600;
  letter-spacing: -5px;
  line-height: 1.06;
}

.hero h1 span {
  color: #8ebc68;
}

.hero-description {
  max-width: 420px;
  margin: 22px 0 26px;
  color: #737a74;
  font-size: 14px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  color: var(--orange);
  font-size: 17px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero-art {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
  transform: translate(24px, -1px);
  translate: var(--pointer-x, 0px) var(--pointer-y, 0px);
  transition: translate 450ms cubic-bezier(.2, .75, .25, 1);
  --pointer-x: 0px;
  --pointer-y: 0px;
  --outer-x: 0px;
  --outer-y: 0px;
  --inner-x: 0px;
  --inner-y: 0px;
  --core-x: 0px;
  --core-y: 0px;
}

.art-glow {
  position: absolute;
  width: 345px;
  height: 345px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(201 226 176 / 34%) 0%, rgb(201 226 176 / 0%) 70%);
  animation: glow-breathe 5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  width: 278px;
  height: 278px;
  border: 1px solid #d9ddd4;
  border-radius: 50%;
  animation: orbit-turn 34s linear infinite;
}

.orbit-one {
  translate: var(--outer-x) var(--outer-y);
  transition: translate 500ms ease-out;
}

.orbit::before {
  width: 8px;
  height: 8px;
  position: absolute;
  top: 33px;
  left: 43px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px rgb(242 108 69 / 45%);
  content: "";
}

.orbit-two {
  width: 220px;
  height: 220px;
  border-color: #d4dbcc;
  animation-direction: reverse;
  animation-duration: 26s;
  translate: var(--inner-x) var(--inner-y);
  transition: translate 500ms ease-out;
}

.orbit-three {
  width: 160px;
  height: 160px;
  border-color: #cbd7c0;
  animation-duration: 19s;
}

.art-core {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 34px;
  background: linear-gradient(145deg, #242c26, #151a17);
  box-shadow: 0 20px 48px rgb(29 40 28 / 20%), inset 0 1px 1px rgb(255 255 255 / 20%);
  color: var(--green);
  transform: rotate(-8deg);
  animation: core-float 5s ease-in-out infinite;
  translate: var(--core-x) var(--core-y);
  transition: translate 500ms ease-out;
}

.art-core > span {
  font-family: var(--font-display);
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -6px;
  transform: rotate(8deg) translateX(-3px);
}

.core-x {
  color: #fff;
}

.art-label {
  position: absolute;
  color: #7a807a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.label-top {
  top: 32px;
  right: 47px;
}

.label-bottom {
  bottom: 37px;
  left: 57px;
}

.art-spark {
  position: absolute;
  color: var(--orange);
  font-size: 17px;
}

.spark-one {
  top: 67px;
  left: 102px;
  animation: spark-pulse 3.5s ease-in-out infinite;
}

.spark-two {
  right: 73px;
  bottom: 82px;
  color: #8ab96a;
  font-size: 12px;
  animation: spark-pulse 3.5s 1.3s ease-in-out infinite;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #7b817b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-index > span:first-child {
  color: var(--orange);
}

.index-rule {
  width: 24px;
  height: 1px;
  background: #cbd0c9;
}

.projects-section {
  padding: 82px 0 88px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(33px, 4vw, 45px);
  font-weight: 600;
  letter-spacing: -2.7px;
}

.heading-period {
  color: var(--orange);
}

.section-description {
  margin: 10px 0 0;
  color: #7a807b;
  font-size: 13px;
}

.project-count {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 5px;
}

.project-count strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.5px;
}

.project-count span {
  color: #818781;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.6;
}

.project-tools {
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.filter-button {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 17px;
  border: 0;
  background: transparent;
  color: #858b85;
  cursor: pointer;
  font-size: 11px;
  transition: color 160ms ease;
}

.filter-button:hover,
.filter-button.selected {
  color: var(--ink);
}

.filter-button.selected::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ink);
  content: "";
}

.filter-button span {
  color: #969c96;
  font-size: 9px;
}

.search-box {
  width: 208px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -1px;
  padding: 0 9px;
  border: 1px solid #e2e4de;
  border-radius: 5px;
  background: rgb(255 255 255 / 65%);
  color: #888e88;
}

.search-box svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
}

.search-box input::placeholder {
  color: #999f99;
}

.search-box kbd {
  min-width: 17px;
  padding: 2px 4px;
  border: 1px solid #e7e9e3;
  border-radius: 3px;
  color: #858b85;
  font-family: var(--font-body);
  font-size: 9px;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #e7e8e3;
  border-radius: 8px;
  background: var(--white);
  transition: transform 360ms cubic-bezier(.2, .75, .25, 1), box-shadow 360ms ease, border-color 360ms ease;
}

.invoice-card {
  align-self: start;
}

.project-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(280px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgb(156 203 122 / 12%), transparent 72%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.project-card:hover {
  transform: translateY(-7px) scale(1.008);
  border-color: #d9e1d2;
  box-shadow: 0 24px 55px rgb(30 36 28 / 12%);
}

.project-card:hover::after {
  opacity: 1;
}

.card-topline {
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}

.project-type,
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #747a74;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.project-type .type-dot {
  width: 5px;
  height: 5px;
  background: var(--orange);
  box-shadow: none;
}

.project-status {
  color: #528b3e;
}

.project-status .status-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.invoice-art {
  height: 188px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #edf1e8;
  background-image: radial-gradient(#d4ddcd 0.7px, transparent 0.7px);
  background-size: 12px 12px;
}

.invoice-art::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgb(240 244 235 / 48%), rgb(220 230 211 / 62%));
  content: "";
}

.invoice-window {
  width: min(260px, 68%);
  height: 141px;
  position: relative;
  z-index: 1;
  border: 1px solid #e9ebe5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 24px rgb(42 54 36 / 13%);
  transform: rotate(-2deg);
  transition: transform 500ms cubic-bezier(.2, .75, .25, 1), box-shadow 500ms ease;
}

.project-card:hover .invoice-window {
  transform: translateY(-5px) rotate(1deg) scale(1.035);
  box-shadow: 0 20px 32px rgb(42 54 36 / 19%);
}

.window-bar {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-bottom: 1px solid #efefec;
}

.window-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8dad4;
}

.window-bar i:first-child {
  background: #ee947c;
}

.window-bar span {
  margin-left: auto;
  color: #9b9f98;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .7px;
}

.invoice-paper {
  padding: 13px 16px;
}

.paper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.paper-head b {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .6px;
}

.paper-head span {
  color: #898f87;
  font-size: 7px;
}

.paper-line {
  height: 3px;
  margin-bottom: 5px;
  border-radius: 2px;
  background: #eaede7;
}

.paper-line.long {
  width: 79%;
}

.paper-line.short {
  width: 48%;
}

.paper-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #eef0eb;
}

.paper-total span {
  color: #858b82;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .7px;
}

.paper-total b {
  font-family: var(--font-display);
  font-size: 11px;
}

.invoice-check {
  width: 27px;
  height: 27px;
  position: absolute;
  right: -11px;
  bottom: 17px;
  display: grid;
  place-items: center;
  border: 3px solid #edf1e8;
  border-radius: 50%;
  background: #80bc60;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.art-caption {
  position: absolute;
  right: 17px;
  bottom: 12px;
  color: #7a8474;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.card-content {
  padding: 21px 22px 23px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-kicker {
  margin: 0 0 6px;
  color: #828882;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.card-kicker span {
  color: var(--orange);
}

.card-title-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1.5px;
  overflow-wrap: anywhere;
}

.arrow-link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e7e8e3;
  border-radius: 50%;
  color: #464c46;
  font-size: 16px;
  transition: background 160ms ease, color 160ms ease;
}

.arrow-link:hover {
  background: var(--ink);
  color: var(--white);
}

.card-description {
  min-height: 38px;
  max-width: 380px;
  margin: 10px 0 15px;
  color: #777e77;
  font-size: 11px;
  line-height: 1.7;
}

.card-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid #dfe6d8;
  border-radius: 5px;
  background: #f3f6ef;
  color: #263024;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.card-cta:hover {
  transform: translateY(-2px);
  border-color: #29332a;
  background: #202722;
  color: var(--white);
}

.card-cta span {
  color: var(--orange);
  font-size: 16px;
  transition: transform 180ms ease;
}

.card-cta:hover span {
  transform: translate(3px, -3px);
}

.download-links {
  display: grid;
  justify-items: start;
  gap: 9px;
}

.file-download {
  max-width: 100%;
  gap: 15px;
}

.file-download-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.download-arrow {
  flex: 0 0 auto;
}

.next-card {
  min-height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid #e7e8e3;
  border-radius: 8px;
  background: #202722;
  color: #fff;
  transition: transform 360ms cubic-bezier(.2, .75, .25, 1), box-shadow 360ms ease;
}

.next-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgb(30 36 28 / 17%);
}

.next-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgb(156 220 105 / 15%), transparent 72%);
  content: "";
  pointer-events: none;
}

.next-card-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: radial-gradient(rgb(255 255 255 / 11%) 0.7px, transparent 0.7px);
  background-size: 12px 12px;
}

.next-card-pattern::before {
  width: 270px;
  height: 270px;
  position: absolute;
  top: -154px;
  right: -68px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 50%;
  content: "";
}

.next-card-pattern::after {
  width: 190px;
  height: 190px;
  position: absolute;
  top: -113px;
  right: -27px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 50%;
  content: "";
}

.pattern-plus,
.pattern-cross,
.pattern-circle {
  position: absolute;
}

.pattern-plus {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
}

.plus-one {
  top: 54px;
  right: 39%;
}

.plus-two {
  top: 118px;
  right: 15%;
  color: var(--orange);
  font-size: 13px;
}

.pattern-circle {
  width: 6px;
  height: 6px;
  top: 73px;
  right: 22%;
  border-radius: 50%;
  background: var(--orange);
}

.pattern-cross {
  top: 34px;
  right: 10%;
  color: #9caf91;
  font-size: 13px;
}

.next-card-content {
  position: relative;
  z-index: 1;
  padding: 0 30px 35px;
}

.next-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b2b9af;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.next-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.next-card-content p {
  margin: 15px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.15;
}

.next-card-content p span {
  color: var(--orange);
}

.next-subtitle {
  color: #b2b9af;
  font-size: 10px;
}

.next-number {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #7f8980;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.empty-state {
  margin: 0;
  padding: 40px 20px;
  border: 1px dashed #d9ddd4;
  border-radius: 8px;
  color: #737a74;
  font-size: 13px;
  text-align: center;
}

.about-strip {
  min-height: 190px;
  display: grid;
  grid-template-columns: 70px 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 32px 35px;
  border: 1px solid #e7e8e3;
  border-radius: 8px;
  background: #eeefe9;
}

.about-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid #d8ddd2;
  border-radius: 18px;
  color: #303a31;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -4px;
}

.about-icon span {
  color: #79a75a;
}

.about-copy .eyebrow {
  margin-bottom: 9px;
  font-size: 8px;
}

.about-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.9px;
  line-height: 1.45;
}

.about-copy h2 span {
  color: #737a72;
}

.about-description {
  max-width: 285px;
  margin: 0;
  color: #777e76;
  font-size: 11px;
  line-height: 1.8;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #d8dbd3;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}

.about-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.about-link span {
  color: var(--orange);
  font-size: 13px;
}

.footer {
  min-height: 89px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

[data-reveal] {
  --reveal-delay: 0ms;
}

.motion-ready [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 750ms cubic-bezier(.2, .7, .2, 1),
    transform 750ms cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

.motion-ready .hero[data-reveal] .hero-copy {
  animation: hero-copy-in 900ms cubic-bezier(.2, .75, .25, 1) both;
}

.motion-ready .hero[data-reveal] .hero-art {
  animation: hero-art-in 1.2s cubic-bezier(.2, .75, .25, 1) both;
}

.motion-ready .project-card[data-reveal],
.motion-ready .next-card[data-reveal] {
  transition-delay: calc(var(--reveal-delay) + 100ms);
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-art-in {
  from { opacity: 0; scale: .92; }
  to { opacity: 1; scale: 1; }
}

@keyframes hero-sheen {
  to { transform: translateX(110%); }
}

@keyframes orbit-turn {
  to { rotate: 360deg; }
}

@keyframes core-float {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-8px); }
}

@keyframes glow-breathe {
  0%, 100% { scale: .92; opacity: .72; }
  50% { scale: 1.08; opacity: 1; }
}

@keyframes spark-pulse {
  0%, 100% { opacity: .58; scale: .82; rotate: -12deg; }
  50% { opacity: 1; scale: 1.18; rotate: 12deg; }
}

.footer-brand {
  font-size: 9px;
}

.footer p,
.copyright {
  color: #838983;
  font-size: 9px;
}

.copyright {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .8px;
}

.admin-footer-link {
  transition: color 160ms ease;
}

.admin-footer-link:hover {
  color: var(--ink);
}

.download-art {
  height: 188px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 105%, rgb(190 221 166 / 30%), transparent 57%),
    radial-gradient(#d6decf .7px, transparent .7px);
  background-color: #edf1e8;
  background-size: auto, 12px 12px;
}

.download-art-ring {
  width: 156px;
  height: 156px;
  position: absolute;
  border: 1px solid #d6dece;
  border-radius: 50%;
}

.download-art-ring::before,
.download-art-ring::after {
  position: absolute;
  border: 1px solid #d6dece;
  border-radius: 50%;
  content: "";
}

.download-art-ring::before {
  inset: 17px;
}

.download-art-ring::after {
  inset: 34px;
}

.download-files {
  width: 78px;
  height: 82px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 8px;
  background: linear-gradient(145deg, #28312a, #171d19);
  box-shadow: 0 12px 25px rgb(42 54 36 / 18%);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  transform: rotate(-6deg);
}

.download-art-caption {
  position: absolute;
  right: 17px;
  bottom: 12px;
  color: #7a8474;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.admin-body {
  min-height: 100vh;
  padding: 35px 20px 70px;
}

.admin-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.admin-header,
.admin-title-row,
.admin-list-heading,
.admin-project-row,
.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-header {
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-header > a:last-child {
  color: #69716a;
  font-size: 12px;
}

.admin-header > a:last-child:hover,
.admin-panel a:not(.cancel-link):hover {
  color: var(--green-dark);
}

.admin-panel {
  padding: 30px;
  border: 1px solid #e7e8e3;
  border-radius: 8px;
  background: var(--white);
}

.admin-login {
  width: min(480px, 100%);
  margin: 60px auto 0;
}

.admin-panel .eyebrow {
  margin-bottom: 13px;
}

.admin-panel h1,
.admin-title-row h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 5vw, 38px);
  font-weight: 600;
  letter-spacing: -2px;
}

.admin-panel > h2,
.admin-projects h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.7px;
}

.admin-intro {
  margin: 10px 0 22px;
  color: #777e77;
  font-size: 12px;
  line-height: 1.7;
}

.admin-form {
  display: grid;
  gap: 17px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #444b44;
  font-size: 11px;
  font-weight: 700;
}

.admin-form input:not([type="hidden"]),
.admin-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dfe2db;
  border-radius: 4px;
  background: #fcfcfa;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
}

.admin-form textarea {
  min-height: 90px;
  resize: vertical;
}

.admin-form input[type="file"] {
  padding: 8px;
}

.field-hint,
.admin-help {
  color: #818881;
  font-size: 10px;
  font-weight: 400;
}

.admin-help {
  margin: -4px 0 0;
  line-height: 1.7;
}

.admin-button,
.admin-secondary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.admin-button {
  justify-self: start;
}

.admin-button:hover {
  border-color: #394a35;
  background: #394a35;
}

.admin-button span {
  color: var(--green);
  font-size: 15px;
}

.admin-secondary {
  min-height: 34px;
  border-color: #dfe2db;
  background: transparent;
  color: #414941;
  font-size: 10px;
  text-decoration: none;
}

.admin-secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.admin-secondary.danger {
  color: #a94435;
}

.admin-secondary.danger:hover {
  border-color: #a94435;
  background: #a94435;
  color: var(--white);
}

.cancel-link {
  justify-self: start;
  color: #69716a;
  font-size: 11px;
}

.admin-notice {
  margin: 0 0 20px;
  padding: 12px 15px;
  border: 1px solid #cfe2c3;
  border-radius: 5px;
  background: #f0f7eb;
  color: #3d6b30;
  font-size: 11px;
  line-height: 1.6;
}

.admin-notice.error {
  border-color: #efd4c9;
  background: #fff5f0;
  color: #994a36;
}

.admin-notice a,
.admin-panel a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-title-row {
  align-items: flex-start;
  margin-bottom: 25px;
}

.admin-title-row .admin-intro {
  max-width: 520px;
  margin-bottom: 0;
}

.admin-title-row > form {
  padding-top: 23px;
}

.admin-projects {
  margin-top: 37px;
}

.admin-list-heading {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.admin-list-heading h2 {
  margin: 0;
}

.admin-list-heading > span {
  min-width: 24px;
  padding: 4px 6px;
  border-radius: 12px;
  background: #e9eee4;
  color: #52664a;
  font-size: 9px;
  text-align: center;
}

.admin-project-row {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.admin-project-row h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-project-row p,
.admin-empty {
  margin: 0;
  color: #7b827b;
  font-size: 10px;
}

.admin-empty {
  padding: 18px;
  border: 1px dashed #d9ddd4;
  border-radius: 6px;
  line-height: 1.6;
}

.admin-current-files {
  display: grid;
  gap: 8px;
}

.admin-current-files h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #444b44;
  font-size: 11px;
}

.admin-current-files h3 span {
  color: #818881;
  font-size: 10px;
  font-weight: 400;
}

.admin-file-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.admin-file-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: inherit !important;
  font-size: inherit !important;
  transition: none !important;
}

.file-download:hover .file-download-name {
  transform: none !important;
  color: #525a52;
  font-size: 11px;
}

.admin-file-row form {
  flex: 0 0 auto;
  margin: 0;
}

.admin-row-actions form {
  margin: 0;
}

@media (min-width: 1440px) {
  .hero {
    min-height: 535px;
  }

  .hero-art {
    transform: translate(18px, -1px) scale(1.08);
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: calc(100% - 64px);
  }

  .hero {
    min-height: 430px;
  }

  .hero-art {
    transform: translate(5px, 0) scale(.87);
  }

  .hero h1 {
    font-size: clamp(48px, 7vw, 65px);
  }

  .about-strip {
    grid-template-columns: 58px 1fr 1fr;
    gap: 18px;
    padding: 28px;
  }

  .about-link {
    grid-column: 2 / 4;
    justify-self: start;
  }
}

@media (max-width: 760px) and (min-width: 621px) {
  .page-shell {
    width: calc(100% - 48px);
  }

  .topnav {
    gap: 22px;
  }

  .hero {
    min-height: 390px;
  }

  .hero h1 {
    font-size: clamp(44px, 7vw, 57px);
    letter-spacing: -3.5px;
  }

  .hero-art {
    margin-right: -55px;
    transform: translateX(-16px) scale(.76);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .next-card {
    min-height: 230px;
  }

  .about-strip {
    grid-template-columns: 58px 1fr;
  }

  .about-description {
    grid-column: 2;
  }

  .about-link {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: calc(100% - 40px);
  }

  .topbar {
    height: 70px;
  }

  .topnav {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 14px;
    height: 1px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 18px 4px 20px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav > a {
    font-size: 13px;
  }

  .mobile-nav .status-pill {
    margin-top: 2px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 55px 0 47px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(52px, 14vw, 72px);
    letter-spacing: -4px;
  }

  .hero-description {
    max-width: 340px;
    margin: 17px 0 20px;
    font-size: 13px;
  }

  .hero-art {
    height: 250px;
    margin: 0 -15px;
    transform: scale(.74);
  }

  .hero-index {
    bottom: 15px;
    font-size: 7px;
  }

  .projects-section {
    padding: 58px 0 60px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 8vw, 39px);
    letter-spacing: -2px;
  }

  .section-description {
    max-width: 270px;
    font-size: 11px;
    line-height: 1.7;
  }

  .project-count {
    gap: 7px;
    padding-top: 23px;
  }

  .project-count strong {
    font-size: 23px;
  }

  .project-count span {
    font-size: 7px;
  }

  .project-tools {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 17px;
    padding-bottom: 0;
  }

  .search-box {
    width: 100%;
    height: 38px;
    margin: 0;
  }

  .search-box input {
    font-size: 11px;
  }

  .filter-group {
    gap: 24px;
  }

  .filter-button {
    min-height: 44px;
    gap: 5px;
    padding-bottom: 12px;
    font-size: 9px;
    white-space: nowrap;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .invoice-art {
    height: 175px;
  }

  .card-content {
    padding: 18px 18px 21px;
  }

  .card-description {
    min-height: 0;
    font-size: 11px;
  }

  .next-card {
    min-height: 220px;
  }

  .next-card-content {
    padding: 0 23px 30px;
  }

  .next-card-content p {
    font-size: 34px;
  }

  .about-strip {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .about-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 20px;
  }

  .about-copy h2 {
    font-size: 17px;
  }

  .about-description {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 1px;
  }

  .about-link {
    grid-column: 1 / -1;
  }

  .footer {
    min-height: 82px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 19px 0;
  }

  .footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .admin-body {
    padding: 22px 15px 45px;
  }

  .admin-header {
    margin-bottom: 26px;
  }

  .admin-login {
    margin-top: 32px;
  }

  .admin-panel {
    padding: 22px 18px;
  }

  .admin-title-row,
  .admin-project-row {
    align-items: flex-start;
  }

  .admin-row-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .admin-project-row {
    flex-direction: column;
  }

  .admin-row-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html.motion-ready [data-reveal] {
    opacity: 1;
    translate: none;
  }
}
