:root {
  --ink: #0a1322;
  --ink-soft: #19263a;
  --paper: #f4f2ec;
  --paper-deep: #e9e5dc;
  --blue: #28579a;
  --blue-bright: #4e7fc4;
  --orange: #e5491b;
  --orange-light: #ff6a38;
  --line: rgba(10, 19, 34, 0.14);
  --white: #fff;
  --radius: 1.25rem;
  --shadow: 0 1.5rem 4rem rgba(5, 13, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  color: var(--white);
}

.header-inner {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  display: block;
  object-fit: contain;
}

.brand > span > span {
  color: var(--orange-light);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.header-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 1.2rem;
}

.language-switch {
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.32);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 750;
}

.language-switch a {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a.active {
  color: var(--white);
}

nav a {
  text-decoration: none;
}

nav a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.72);
}

nav a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.62rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 12.5rem 0 8rem;
  background:
    radial-gradient(circle at 82% 22%, rgba(40, 87, 154, 0.45), transparent 30rem),
    radial-gradient(circle at 62% 105%, rgba(229, 73, 27, 0.19), transparent 25rem),
    var(--ink);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero::after {
  position: absolute;
  top: 11rem;
  right: -7rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(255, 255, 255, 0.018),
    0 0 0 10rem rgba(255, 255, 255, 0.012);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 5rem;
}

.hero-grid > *,
.section-heading > *,
.process-grid > *,
.footer-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
}

.hero .eyebrow span {
  width: 1.6rem;
  height: 2px;
  margin-right: 0.7rem;
  background: var(--orange-light);
}

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

h1,
h2 {
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.8rem;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
}

h1 em {
  color: var(--orange-light);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-primary:hover {
  background: var(--orange-light);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-proof span::before {
  margin-right: 0.45rem;
  color: var(--orange-light);
  content: "✓";
}

.terminal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(8, 16, 29, 0.78);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  backdrop-filter: blur(16px);
}

.terminal-top {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-top > span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.terminal-top > span:first-child {
  background: var(--orange);
}

.terminal-top p {
  margin: 0 0 0 auto;
  color: rgba(255, 255, 255, 0.32);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
}

.terminal-body {
  padding: 2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

.terminal-body > p {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem;
  color: rgba(255, 255, 255, 0.66);
}

.terminal-body b {
  color: var(--blue-bright);
  font-weight: 650;
}

.terminal-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-result > span {
  color: rgba(255, 255, 255, 0.32);
}

.terminal-result strong {
  color: #bde9cc;
  font-size: 0.72rem;
  font-weight: 600;
}

.terminal-result i {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #56d98b;
  box-shadow: 0 0 0 0.25rem rgba(86, 217, 139, 0.12);
}

.services,
.work,
.process {
  padding: 8rem 0;
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.section-heading h2,
.process h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.section-heading > p,
.process-copy > p {
  margin-bottom: 0.4rem;
  color: #596271;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-card {
  position: relative;
  min-height: 25rem;
  padding: 2.4rem;
  background: var(--paper);
  transition: background-color 180ms ease;
}

.service-card:hover {
  background: var(--white);
}

.service-card.featured {
  background: var(--ink-soft);
  color: var(--white);
}

.service-number {
  position: absolute;
  top: 2.2rem;
  right: 2.4rem;
  color: #9299a2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.service-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 4.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem;
  font-weight: 750;
}

.featured .service-icon {
  border-color: rgba(255, 255, 255, 0.15);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.service-card p {
  max-width: 31rem;
  color: #626b78;
}

.featured p {
  color: rgba(255, 255, 255, 0.58);
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #626b78;
  font-size: 0.72rem;
  font-weight: 650;
}

.featured li {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
}

.work {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.work-heading > p {
  color: rgba(255, 255, 255, 0.52);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.work-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 42rem;
  grid-template-rows: minmax(17rem, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #101c2f;
}

.work-card-wide {
  grid-column: span 2;
  min-height: 33rem;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr;
}

.work-card-wide .work-visual {
  min-height: 30rem;
}

.work-visual {
  position: relative;
  overflow: hidden;
  min-height: 17rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}

.work-visual::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 55% 45%, transparent, rgba(5, 12, 23, 0.38));
  content: "";
  pointer-events: none;
}

.work-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 2.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.work-card-wide .work-copy {
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.work-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.38);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.work-copy > p {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.58);
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 2.2rem;
  padding: 0;
  list-style: none;
}

.work-tags li {
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 650;
}

.work-copy > a {
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 780;
  text-decoration: none;
}

.work-copy > a:hover {
  color: var(--white);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-status::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  content: "";
}

.work-timbramatic .work-visual {
  background-color: #122744;
}

.app-shot {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  overflow: hidden;
  width: min(88%, 42rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.85rem;
  background: rgba(8, 19, 34, 0.92);
  box-shadow: 2rem 2rem 5rem rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%) rotate(-1.5deg);
}

.app-shot-bar {
  display: flex;
  height: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.app-shot-bar small {
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.app-dots {
  display: flex;
  gap: 0.3rem;
}

.app-dots i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.app-dots i:first-child {
  background: var(--orange);
}

.app-shot-body {
  display: grid;
  min-height: 18rem;
  grid-template-columns: 3.2rem 1fr;
}

.shot-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.shot-sidebar i {
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.25rem;
}

.shot-sidebar i:first-child {
  border-color: rgba(229, 73, 27, 0.8);
  background: rgba(229, 73, 27, 0.18);
}

.attendance-panel {
  padding: 1.15rem;
}

.shot-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.shot-kpis > span {
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.035);
}

.shot-kpis strong,
.shot-kpis small {
  display: block;
}

.shot-kpis strong {
  margin-bottom: 0.15rem;
  font-size: 1.2rem;
}

.shot-kpis small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.48rem;
}

.shot-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.45rem;
}

.shot-row {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(7rem, 1.5fr) 0.6fr 0.75fr;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.56rem;
}

.shot-row:last-child {
  border-bottom: 0;
}

.shot-row-head {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 700;
  text-transform: uppercase;
}

.shot-row i {
  display: inline-grid;
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.35rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
  font-size: 0.43rem;
}

.status-ok,
.status-away {
  width: fit-content;
  padding: 0.2rem 0.38rem;
  border-radius: 999px;
}

.status-ok {
  background: rgba(98, 224, 148, 0.12);
  color: #79e6a2;
}

.status-away {
  background: rgba(255, 190, 93, 0.12);
  color: #ffc670;
}

.work-yourfab .work-visual {
  background-color: #102c30;
}

.cad-shot {
  width: 86%;
  transform: translate(-50%, -50%) rotate(1.5deg);
}

.cad-shot-body {
  display: grid;
  min-height: 10.5rem;
  grid-template-columns: 1.35fr 0.65fr;
}

.cad-preview {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  background:
    linear-gradient(rgba(96, 200, 194, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 200, 194, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
}

.cad-part {
  position: relative;
  width: 4.8rem;
  height: 4.8rem;
  border: 1.5px solid #60c8c2;
  transform: rotate(45deg);
}

.cad-part::before {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(96, 200, 194, 0.72);
  border-radius: 50%;
  content: "";
}

.cad-part i {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid rgba(96, 200, 194, 0.8);
  border-radius: 50%;
  background: #102c30;
}

.cad-part i:nth-child(1) { top: -0.25rem; left: -0.25rem; }
.cad-part i:nth-child(2) { right: -0.25rem; bottom: -0.25rem; }
.cad-part i:nth-child(3) { top: -0.25rem; right: -0.25rem; }

.cad-axis {
  position: absolute;
  z-index: 2;
  color: rgba(96, 200, 194, 0.7);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.44rem;
}

.cad-axis-x {
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
}

.cad-axis-y {
  top: 50%;
  right: 0.45rem;
  transform: rotate(90deg);
}

.cad-details {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.cad-details span,
.cad-details small,
.cad-details strong {
  display: block;
}

.cad-details small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.42rem;
}

.cad-details strong {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.58rem;
}

.shot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.5rem;
}

.shot-footer span::before {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #60c8c2;
  content: "";
}

.shot-footer strong {
  color: #60c8c2;
  font-size: 0.62rem;
}

.work-geomatic .work-visual {
  background-color: #30271e;
}

.planning-shot {
  width: 88%;
  transform: translate(-50%, -50%) rotate(-1deg);
}

.planning-head,
.planning-row {
  display: grid;
  grid-template-columns: 4.2rem repeat(5, 1fr);
}

.planning-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.42rem;
  text-align: center;
}

.planning-head span {
  padding: 0.55rem 0.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.planning-row {
  position: relative;
  min-height: 2.55rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(90deg, transparent calc(20% - 1px), rgba(255, 255, 255, 0.05) 20%);
  background-size: 20% 100%;
}

.planning-row:last-child {
  border-bottom: 0;
}

.planning-row strong {
  align-self: stretch;
  padding: 0.85rem 0.45rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.43rem;
  font-weight: 650;
}

.plan-task {
  z-index: 2;
  overflow: hidden;
  padding: 0.38rem 0.42rem;
  border-radius: 0.2rem;
  background: rgba(229, 73, 27, 0.78);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.42rem;
  font-weight: 700;
  white-space: nowrap;
}

.task-a {
  grid-column: 2 / span 3;
}

.task-b {
  grid-column: 3 / span 3;
  background: rgba(255, 173, 96, 0.65);
}

.task-c {
  grid-column: 4 / span 2;
  background: rgba(255, 255, 255, 0.18);
}

.work-budgetaar .work-visual {
  background-color: #242248;
}

.budget-ring {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 42%;
  display: grid;
  width: 15rem;
  height: 15rem;
  place-content: center;
  border: 1.2rem solid rgba(255, 255, 255, 0.08);
  border-top-color: #7671ec;
  border-right-color: #7671ec;
  border-radius: 50%;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-20deg);
}

.budget-ring span,
.budget-ring small {
  transform: rotate(20deg);
}

.budget-ring span {
  font-size: 3.6rem;
  font-weight: 780;
  letter-spacing: -0.07em;
  line-height: 1;
}

.budget-bars {
  position: absolute;
  z-index: 2;
  right: 12%;
  bottom: 20%;
  display: flex;
  height: 9rem;
  align-items: flex-end;
  gap: 0.55rem;
}

.budget-bars i {
  display: block;
  width: 0.8rem;
  border-radius: 0.2rem 0.2rem 0 0;
  background: rgba(118, 113, 236, 0.65);
}

.budget-bars i:nth-child(1) { height: 28%; }
.budget-bars i:nth-child(2) { height: 48%; }
.budget-bars i:nth-child(3) { height: 38%; }
.budget-bars i:nth-child(4) { height: 74%; }
.budget-bars i:nth-child(5) { height: 100%; }

.process {
  background: var(--paper-deep);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 7rem;
}

.process-copy {
  position: sticky;
  top: 3rem;
  align-self: start;
}

.process-copy > p {
  margin: 2rem 0;
}

.text-link {
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: var(--orange);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps > li > span {
  padding-top: 0.35rem;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.steps p {
  margin: 0;
  color: #626b78;
}

.contact {
  padding: 1.2rem 0;
  background: var(--paper-deep);
}

.contact-card {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: 4.5rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 130%, rgba(229, 73, 27, 0.34), transparent 25rem),
    var(--blue);
  color: var(--white);
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.contact h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

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

.button-light:hover {
  background: var(--paper);
}

footer {
  padding: 5rem 0 3rem;
  background: var(--paper-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.brand-footer {
  color: var(--ink);
}

.footer-brand p,
address,
.footer-contact p {
  margin: 1rem 0 0;
  color: #68717e;
  font-size: 0.78rem;
  font-style: normal;
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.legal-hero {
  padding: 10.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 82% 22%, rgba(40, 87, 154, 0.42), transparent 28rem),
    var(--ink);
  color: var(--white);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.legal-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
}

.legal-content {
  padding: 5rem 0 7rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.32fr);
  gap: 5rem;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy h2 {
  margin: 3.25rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy h3 {
  margin: 2rem 0 0.6rem;
  font-size: 1.1rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.legal-copy li + li {
  margin-top: 0.5rem;
}

.legal-copy a,
.legal-aside a {
  color: var(--blue);
  font-weight: 700;
}

.legal-note {
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--orange);
  background: var(--paper-deep);
}

.legal-aside {
  align-self: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.legal-aside h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.legal-aside ul {
  margin: 0;
  padding-left: 1.15rem;
}

.legal-aside li + li {
  margin-top: 0.7rem;
}

.legal-header-link {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-header-link:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-bottom: 6rem;
  }

  .hero-grid,
  .section-heading,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .terminal-card {
    max-width: 34rem;
    transform: none;
  }

  .work-card-wide {
    min-height: 42rem;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(17rem, 1fr) auto;
  }

  .work-card-wide .work-visual {
    min-height: 17rem;
  }

  .work-card-wide .work-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .process-copy {
    position: static;
  }

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

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

  .footer-contact {
    text-align: left;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .legal-copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 2rem, 1160px);
  }

  .header-inner {
    min-height: 5.25rem;
  }

  .header-actions {
    gap: 0.75rem;
  }

  nav {
    gap: 0;
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand img {
    width: 30px;
    height: 35px;
  }

  .nav-cta {
    padding: 0.52rem 0.72rem;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 9rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .terminal-body {
    padding: 1.4rem;
    font-size: 0.72rem;
  }

  .terminal-card {
    width: 100%;
  }

  .terminal-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .services,
  .work,
  .process {
    padding: 5rem 0;
  }

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

  .service-card {
    min-height: 0;
    padding: 2rem;
  }

  .service-icon {
    margin-bottom: 3rem;
  }

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

  .work-card,
  .work-card-wide {
    min-height: 0;
    grid-column: span 1;
  }

  .work-copy {
    padding: 1.8rem;
  }

  .work-meta {
    margin-bottom: 1.8rem;
  }

  .app-shot {
    width: 90%;
  }

  .attendance-shot {
    transform: translate(-50%, -50%);
  }

  .app-shot-body {
    min-height: 14rem;
    grid-template-columns: 2.5rem 1fr;
  }

  .attendance-panel {
    padding: 0.75rem;
  }

  .shot-kpis > span {
    padding: 0.5rem;
  }

  .shot-row {
    grid-template-columns: minmax(6rem, 1.4fr) 0.55fr 0.7fr;
    padding: 0.5rem;
  }

  .budget-ring {
    left: 45%;
    width: 11rem;
    height: 11rem;
  }

  .budget-bars {
    right: 7%;
    height: 7rem;
  }

  .contact-card {
    padding: 2.2rem 1.5rem;
  }

  .button-light {
    width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
