:root {
  --bg: #f5f2e9;
  --ink: #070908;
  --muted: #4b514d;
  --line: #070908;
  --lime: #c7ff18;
  --teal: #1fd6bd;
  --blue: #1e4cff;
  --coral: #ff6978;
  --paper: #fffdf4;
  --shadow: 8px 8px 0 var(--ink);
  --max: 1180px;
  --scroll: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 9, 8, 0.1) 1px, transparent 1px),
    var(--bg);
  background-size: 92px 92px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

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

.grain {
  background-image:
    radial-gradient(rgba(7, 9, 8, 0.18) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  position: fixed;
  z-index: 50;
}

.site-header {
  background: rgba(245, 242, 233, 0.92);
  border: 2px solid var(--line);
  display: grid;
  grid-template-columns: 310px 1fr 160px;
  left: 50%;
  max-width: var(--max);
  position: fixed;
  top: 14px;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  z-index: 30;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.brand,
.nav-links,
.header-action,
.button,
.trust-strip,
.project-head,
.contact-actions,
.contact-details,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  border-right: 2px solid var(--line);
  min-width: 0;
}

.brand-core {
  background: var(--ink);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 20px 18px;
  white-space: nowrap;
}

.brand-note {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  padding: 0 14px;
  text-transform: uppercase;
}

.nav-links {
  justify-content: center;
}

.nav-links a,
.header-action {
  border-right: 2px solid var(--line);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 900;
  height: 100%;
  justify-content: center;
  padding: 0 24px;
  text-transform: uppercase;
}

.nav-links a:last-child {
  border-right: 0;
}

.nav-links a:hover,
.header-action:hover {
  background: var(--lime);
}

.header-action {
  background: var(--lime);
  border-left: 2px solid var(--line);
  border-right: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: 100vh;
  padding: 150px 0 54px;
  position: relative;
}

.side-rail {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
  left: -150px;
  position: absolute;
  text-transform: uppercase;
  top: 330px;
  transform: rotate(-90deg);
}

.hero-copy {
  align-self: end;
  padding: 0 24px 48px 0;
}

.index-label,
.section-kicker {
  align-items: center;
  display: flex;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.index-label span,
.section-kicker span {
  background: var(--ink);
  color: #fff;
  padding: 5px 10px;
}

.kinetic-title {
  font-size: clamp(64px, 9.8vw, 136px);
  letter-spacing: -0.04em;
  line-height: 0.82;
  margin: 0;
  max-width: 760px;
  text-transform: uppercase;
}

.kinetic-title span {
  display: block;
  transform: translateX(calc(var(--scroll) * -0.02px));
}

.kinetic-title span:nth-child(2) {
  transform: translateX(calc(var(--scroll) * 0.025px));
}

.highlight-word {
  background: var(--lime);
  border: 2px solid var(--line);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
  display: inline-block !important;
  padding: 0 16px 10px;
  transform: skew(-2deg) translateX(calc(var(--scroll) * -0.015px)) !important;
  width: fit-content;
}

.hero-text {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 17px;
  line-height: 1.48;
  margin: 28px 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  border: 2px solid var(--line);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-3px, -3px);
}

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

.button-raw,
.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-accent {
  background: var(--lime);
  color: var(--ink);
}

.hero-visual {
  min-height: 560px;
  position: relative;
}

.fluid-shape {
  animation: morph 11s ease-in-out infinite;
  background:
    radial-gradient(circle at 30% 24%, var(--lime), transparent 34%),
    radial-gradient(circle at 76% 64%, var(--teal), transparent 38%),
    linear-gradient(140deg, #e6ff4f, #27ead2 62%, #efe9dd);
  filter: saturate(1.15);
  height: 430px;
  left: 6%;
  position: absolute;
  top: 30px;
  width: 500px;
}

.signal-card {
  background: var(--ink);
  color: #fff;
  font-family: "Courier New", ui-monospace, monospace;
  padding: 18px;
  position: absolute;
  right: 22px;
  top: 56px;
  transform: rotate(-6deg);
  width: 275px;
}

.signal-card span {
  color: var(--lime);
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}

.signal-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.focus-panel {
  background: var(--blue);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  color: #fff;
  font-family: "Courier New", ui-monospace, monospace;
  padding: 18px;
  position: absolute;
  right: 52px;
  top: 285px;
  width: 270px;
}

.panel-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  padding-bottom: 12px;
  text-transform: uppercase;
}

.focus-panel ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.focus-panel li {
  font-size: 13px;
  font-weight: 900;
  margin: 10px 0;
  text-transform: uppercase;
}

.focus-panel li::before {
  content: "/ ";
}

.dot-field {
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  bottom: 40px;
  height: 130px;
  position: absolute;
  right: 0;
  width: 130px;
}

.trust-strip {
  border-bottom: 2px solid var(--line);
  border-top: 2px solid var(--line);
  margin: 0 auto;
  max-width: var(--max);
}

.trust-strip span {
  border-right: 2px solid var(--line);
  flex: 1;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 900;
  min-height: 66px;
  padding: 18px;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 72px 0;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(46px, 6.8vw, 88px);
  letter-spacing: -0.045em;
  line-height: 0.88;
  margin: 0;
  text-transform: uppercase;
}

h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}

p {
  color: var(--muted);
}

.section-heading p {
  font-size: 17px;
  margin: 0;
}

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

.project-card {
  background: rgba(255, 253, 244, 0.82);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  margin-left: -2px;
  min-height: 630px;
  padding: 16px;
  position: relative;
}

.project-card:first-child {
  margin-left: 0;
}

.project-card:nth-child(even) {
  transform: translateY(42px);
}

.project-head {
  gap: 12px;
  min-height: 70px;
}

.project-icon {
  align-items: center;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.finance .project-icon {
  background: var(--teal);
}

.attendance .project-icon {
  background: var(--blue);
  color: #fff;
}

.care .project-icon {
  background: var(--coral);
}

.project-head p,
.project-card ul,
.specimen-top,
.cash-line span,
.presence-number span {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.specimen {
  border: 2px solid var(--line);
  height: 255px;
  margin: 18px 0;
  overflow: hidden;
  position: relative;
}

.specimen-dark {
  background: #0a0d0c;
  color: #fff;
  padding: 14px;
}

.specimen-top,
.cash-line,
.presence-number,
.counter-grid,
.money-rows {
  display: flex;
  justify-content: space-between;
}

.receipt-stack {
  display: grid;
  gap: 7px;
  margin: 18px 0;
}

.receipt-stack span {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
  color: #fff;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.receipt-stack span::after {
  color: var(--lime);
  content: " +";
  float: right;
}

.gauge {
  align-items: center;
  background: conic-gradient(var(--lime) 0 28%, #3a403d 28% 100%);
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  height: 116px;
  justify-content: center;
  margin: 8px auto 16px;
  width: 116px;
}

.pos-total {
  background: conic-gradient(var(--lime) 0 72%, #3a403d 72% 100%);
}

.gauge::before {
  background: #0a0d0c;
  border-radius: inherit;
  content: "";
  height: 76px;
  position: absolute;
  width: 76px;
}

.gauge strong,
.gauge span {
  position: relative;
  z-index: 1;
}

.gauge strong {
  font-size: 30px;
}

.gauge span {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.bars span,
.dept-bars span {
  background: #fff;
  display: block;
  height: 10px;
  margin: 8px 0;
  position: relative;
}

.bars span::after,
.dept-bars span::after {
  background: var(--lime);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: var(--w);
}

.cash-card {
  background: var(--ink);
  color: #fff;
  padding: 16px;
}

.cash-line strong {
  color: var(--lime);
}

.cash-card svg {
  fill: none;
  margin-top: 28px;
  stroke: var(--teal);
  stroke-linecap: square;
  stroke-linejoin: round;
  stroke-width: 5;
  width: 100%;
}

.money-rows {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  bottom: 16px;
  color: #fff;
  left: 16px;
  padding-top: 12px;
  position: absolute;
  right: 16px;
}

.attendance-card {
  background: #fff;
  padding: 16px;
}

.presence-number strong {
  font-size: 34px;
}

.counter-grid {
  gap: 8px;
  margin: 22px 0;
}

.counter-grid span {
  border: 2px solid var(--line);
  flex: 1;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
}

.counter-grid b {
  display: block;
  font-size: 26px;
}

.dept-bars span {
  background: #d8ded8;
  height: 14px;
}

.dept-bars span::after {
  background: var(--blue);
}

.care-card {
  background: #fff9f4;
  padding: 18px;
}

.soft-orbit {
  background:
    radial-gradient(circle at 55% 50%, rgba(255, 105, 120, 0.92) 0 24%, transparent 25%),
    radial-gradient(circle at 48% 48%, rgba(255, 105, 120, 0.26) 0 46%, transparent 47%);
  border-radius: 43% 57% 49% 51%;
  height: 120px;
  margin: 0 auto 14px;
  width: 150px;
}

.checklist {
  display: grid;
  gap: 8px;
}

.checklist span {
  border-bottom: 1px solid var(--line);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.checklist span::after {
  color: var(--teal);
  content: " ✓";
  float: right;
}

.reminder {
  border: 2px solid var(--line);
  bottom: 16px;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
  left: 16px;
  padding: 8px;
  position: absolute;
  text-transform: uppercase;
}

.project-card > p {
  color: var(--ink);
  font-size: 15px;
  margin: 0 0 16px;
}

.project-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.project-card li {
  border: 1px solid var(--line);
  padding: 5px 7px;
}

.method-section h2 {
  max-width: 870px;
}

.method-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.method-grid article {
  background: var(--paper);
  border: 2px solid var(--line);
  margin-left: -2px;
  min-height: 250px;
  padding: 22px;
}

.method-grid article:first-child {
  margin-left: 0;
}

.method-grid span {
  background: var(--ink);
  color: #fff;
  display: inline-block;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 44px;
  padding: 6px 8px;
  text-transform: uppercase;
}

.method-grid p {
  color: var(--muted);
  font-size: 16px;
}

.contact-band {
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: var(--max);
  padding: 46px 34px;
  position: relative;
}

.contact-band::after {
  background:
    radial-gradient(circle at 34% 30%, var(--lime), transparent 28%),
    radial-gradient(circle at 68% 72%, var(--teal), transparent 30%);
  border-radius: 46% 54% 41% 59%;
  content: "";
  filter: blur(0.2px);
  height: 190px;
  opacity: 0.8;
  position: absolute;
  right: 28px;
  top: -70px;
  width: 250px;
}

.contact-band h2 {
  color: #fff;
  max-width: 860px;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  max-width: 760px;
}

.contact-band .section-kicker {
  color: #fff;
}

.contact-band .section-kicker span {
  background: var(--lime);
  color: var(--ink);
}

.contact-actions {
  align-self: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.contact-details {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  flex-wrap: wrap;
  font-style: normal;
  gap: 14px 22px;
  grid-column: 1 / -1;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.site-footer {
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 26px 0 42px;
}

.site-footer p {
  margin: 0;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 42% 58% 53% 47% / 47% 42% 58% 53%;
    transform: rotate(-8deg) scale(1);
  }
  50% {
    border-radius: 63% 37% 44% 56% / 60% 56% 44% 40%;
    transform: rotate(8deg) scale(1.05);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .brand-note,
  .header-action {
    display: none;
  }

  .hero,
  .section-heading,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .side-rail {
    display: none;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-visual {
    min-height: 470px;
  }

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

  .project-card:nth-child(even) {
    transform: none;
  }

  .trust-strip {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .trust-strip span {
    flex: 1 1 33%;
  }

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

  .method-grid article {
    margin-left: 0;
    margin-top: -2px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-core {
    font-size: 24px;
    padding: 16px 14px;
  }

  .nav-links {
    justify-content: end;
  }

  .nav-links a {
    border-right: 0;
    font-size: 12px;
    padding: 0 8px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .kinetic-title {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-text {
    font-size: 14px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 410px;
  }

  .fluid-shape {
    height: 250px;
    left: auto;
    right: 0;
    top: 18px;
    width: 250px;
  }

  .signal-card {
    left: 0;
    right: auto;
    top: 28px;
    width: 230px;
  }

  .focus-panel {
    left: 34px;
    right: auto;
    top: 198px;
    width: calc(100% - 68px);
  }

  .section {
    padding: 58px 18px;
  }

  .trust-strip {
    margin-left: 18px;
    margin-right: 18px;
  }

  .trust-strip span {
    border-bottom: 2px solid var(--line);
    border-right: 0;
    flex-basis: 100%;
    min-height: 48px;
    padding: 13px;
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

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

  .project-card {
    margin-left: 0;
    margin-top: -2px;
    min-height: 0;
  }

  .specimen {
    height: 235px;
  }

  .contact-band {
    margin-left: 0;
    margin-right: 0;
    padding: 40px 18px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .kinetic-title span,
  .highlight-word {
    transform: none !important;
  }
}
