:root {
  --ink: #101114;
  --ink-soft: #33363d;
  --paper: #f4f1e9;
  --paper-deep: #e8e4d9;
  --white: #fffef9;
  --blue: #2864f0;
  --blue-bright: #3d78ff;
  --blue-pale: #dfe8ff;
  --lime: #b9f245;
  --line: rgba(16, 17, 20, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 24px;
  --shadow: 0 30px 80px rgba(17, 25, 51, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(244, 241, 233, 0.86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--ink);
  content: "";
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 168px 0 40px;
  background:
    linear-gradient(rgba(16, 17, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 17, 20, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.hero::before {
  position: absolute;
  top: -260px;
  left: -190px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 100, 240, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  min-height: 610px;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 78px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 28px;
  font-size: clamp(54px, 6vw, 88px);
  line-height: 0.99;
  letter-spacing: -0.068em;
}

.accent-text {
  display: block;
  color: var(--blue);
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(40, 100, 240, 0.22);
  color: var(--white);
}

.button-primary:hover {
  background: #154fd8;
  box-shadow: 0 16px 34px rgba(40, 100, 240, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.22);
}

.button-secondary:hover {
  background: var(--white);
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
}

.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4cb944;
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(76, 185, 68, 0.38);
  border-radius: 50%;
  content: "";
}

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

.visual-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 390px;
  height: 390px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--blue);
  filter: blur(85px);
  opacity: 0.2;
}

.system-card {
  position: absolute;
  z-index: 2;
  top: 38px;
  right: 16px;
  left: 16px;
  min-height: 390px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: 0 42px 100px rgba(17, 24, 47, 0.25);
  color: var(--white);
  transform: rotate(2deg);
}

.system-card::after {
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(255, 255, 255, 0.025),
    0 0 0 100px rgba(255, 255, 255, 0.02);
  content: "";
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}

.card-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.system-title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0 42px;
}

.system-title strong,
.system-title small {
  display: block;
}

.system-title strong {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.system-title small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.system-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--blue);
  font-family: var(--mono);
  font-size: 20px;
}

.pipeline {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  gap: 9px;
}

.pipeline > i {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.pipeline-step {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.pipeline-step span,
.pipeline-step strong {
  display: block;
}

.pipeline-step span {
  margin-bottom: 18px;
  color: var(--blue-bright);
  font-family: var(--mono);
  font-size: 10px;
}

.pipeline-step strong {
  font-size: 11px;
  line-height: 1.35;
}

.system-footer {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 15px 18px;
  border: 1px solid rgba(16, 17, 20, 0.1);
  border-radius: 16px;
  background: rgba(255, 254, 249, 0.92);
  box-shadow: 0 18px 50px rgba(17, 25, 51, 0.14);
  backdrop-filter: blur(12px);
}

.floating-note span,
.floating-note small {
  display: block;
}

.floating-note span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.floating-note small {
  color: #676a72;
  font-family: var(--mono);
  font-size: 9px;
}

.note-one {
  right: -12px;
  bottom: 4px;
}

.note-two {
  bottom: 62px;
  left: -20px;
}

.capability-strip {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  color: #696b70;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capability-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.section {
  padding: 128px 0;
}

.work-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 54px;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.section-heading h2,
.services-intro h2,
.about-statement h2,
.roles-wrap h2,
.contact-copy h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.section-heading > p,
.services-intro > p,
.about-copy > p,
.contact-copy > p {
  margin-bottom: 0;
  color: #5b5e65;
  font-size: 17px;
}

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

.project-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-featured {
  display: grid;
  min-height: 530px;
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
}

.project-copy {
  display: flex;
  flex-direction: column;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  color: #6e7077;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 520px;
  margin-bottom: 20px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.project-card > p,
.project-copy > p {
  max-width: 590px;
  color: #575a62;
}

.project-outcomes {
  display: grid;
  margin: 14px 0 28px;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
}

.project-outcomes li {
  position: relative;
  padding-top: 12px;
  border-top: 2px solid var(--blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.tech-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.project-art {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 20%, rgba(185, 242, 69, 0.35), transparent 28%),
    linear-gradient(145deg, #2864f0, #183da9);
}

.project-art::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
}

.dash-window {
  position: absolute;
  top: 64px;
  left: 50px;
  width: 590px;
  height: 355px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px 13px 0 0;
  background: #f9fafc;
  box-shadow: 0 35px 80px rgba(8, 20, 66, 0.38);
  transform: rotate(-3deg);
}

.dash-toolbar {
  display: flex;
  height: 52px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid #e4e7ed;
}

.dash-toolbar > span:not(.dash-logo) {
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: #d9dde5;
}

.dash-logo {
  display: grid;
  width: 27px;
  height: 27px;
  margin-right: 12px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-family: var(--mono);
  font-size: 7px;
}

.dash-body {
  display: flex;
  height: calc(100% - 52px);
}

.dash-sidebar {
  display: flex;
  width: 64px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  background: var(--ink);
}

.dash-sidebar i {
  width: 20px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
}

.dash-sidebar i:first-child {
  background: var(--blue-bright);
}

.dash-content {
  flex: 1;
  padding: 22px;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-kpis div {
  padding: 12px;
  border: 1px solid #e3e6ec;
  border-radius: 8px;
  background: white;
}

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

.dash-kpis small {
  color: #8d929d;
  font-size: 7px;
}

.dash-kpis strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
}

.dash-chart {
  height: 122px;
  margin-top: 12px;
  padding: 14px 20px 0;
  border: 1px solid #e3e6ec;
  border-radius: 8px;
  background:
    linear-gradient(#edf0f4 1px, transparent 1px),
    white;
  background-size: 100% 28px;
}

.chart-bars {
  display: flex;
  height: 100%;
  align-items: end;
  justify-content: space-around;
  gap: 8px;
}

.chart-bars i {
  width: 22px;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--blue);
}

.dash-table {
  margin-top: 12px;
}

.dash-table i {
  display: block;
  height: 8px;
  margin-bottom: 7px;
  border-radius: 3px;
  background: #e6e9ee;
}

.project-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 17px;
  background: var(--blue);
  color: white;
  font-family: var(--mono);
  font-size: 22px;
}

.project-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.project-dark::after {
  position: absolute;
  top: 100px;
  right: -90px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.02);
  content: "";
}

.project-dark .project-meta,
.project-dark > p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
}

.project-dark h3,
.project-dark .project-icon,
.project-dark .project-stat,
.project-dark .tech-list {
  position: relative;
  z-index: 1;
}

.project-dark .project-icon {
  background: var(--lime);
  color: var(--ink);
}

.project-dark .tech-list span {
  border-color: rgba(255, 255, 255, 0.18);
}

.project-stat {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 28px;
}

.project-stat strong {
  color: var(--lime);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.project-stat span {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.services-section {
  background: var(--ink);
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 110px;
}

.services-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.services-intro .eyebrow {
  color: var(--lime);
}

.services-intro > p {
  max-width: 460px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.56);
}

.service-item {
  display: grid;
  min-height: 160px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: 54px 1fr 30px;
  gap: 18px;
}

.service-item:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.service-number {
  padding-top: 5px;
  color: var(--blue-bright);
  font-family: var(--mono);
  font-size: 10px;
}

.service-item h3 {
  margin-bottom: 11px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.service-item p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.54);
}

.service-arrow {
  color: var(--lime);
  font-size: 20px;
}

.experience-section {
  background: var(--paper);
}

.experience-card {
  display: grid;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.experience-company {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.experience-role h3 {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.experience-location {
  color: #777a81;
  font-family: var(--mono);
  font-size: 10px;
}

.experience-detail > p {
  margin-bottom: 25px;
  color: #52555d;
  font-size: 17px;
}

.experience-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-detail li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.experience-detail li::before {
  position: absolute;
  top: 18px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.toolkit {
  padding-top: 70px;
}

.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-cloud span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  font-family: var(--mono);
  font-size: 10px;
}

.about-section {
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 100px;
}

.about-section .eyebrow {
  color: var(--lime);
}

.about-statement h2 span {
  color: var(--lime);
}

.about-copy > p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.about-principle {
  display: grid;
  align-items: start;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  grid-template-columns: 40px 1fr;
  gap: 10px;
}

.about-principle span {
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 0.9;
}

.about-principle p {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.roles-section {
  background: var(--white);
}

.roles-wrap {
  text-align: center;
}

.roles-wrap .eyebrow {
  justify-content: center;
}

.roles-wrap h2 {
  margin-inline: auto;
}

.role-list {
  display: flex;
  max-width: 1000px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 48px auto 32px;
}

.role-list span {
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.roles-note {
  max-width: 680px;
  margin: 0 auto;
  color: #64676d;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 90px;
}

.contact-copy {
  padding-top: 18px;
}

.contact-copy > p {
  max-width: 470px;
  margin-top: 24px;
}

.contact-details {
  display: grid;
  margin-top: 54px;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-details div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

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

.contact-details small {
  margin-bottom: 6px;
  color: #777a81;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: 13px;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(17, 25, 51, 0.08);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #faf9f5;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(40, 100, 240, 0.12);
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.form-status.is-success {
  color: #267c21;
}

.form-status.is-error {
  color: #b52a2a;
}

.form-note {
  margin: 2px 0 0;
  color: #85878c;
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  padding: 38px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
}

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

.footer-grid > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}

.footer-grid .copyright {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-visual {
    width: min(620px, 100%);
    min-height: 490px;
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .services-intro {
    position: static;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 1180px);
  }

  .site-header {
    background: rgba(244, 241, 233, 0.92);
    backdrop-filter: blur(16px);
  }

  .nav-wrap {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .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);
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 30px 16px;
    transform: translateY(-10px);
    background: var(--paper);
    opacity: 0;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav > a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
  }

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

  .site-nav .nav-cta {
    min-height: 58px;
    justify-content: space-between;
    margin-top: 24px;
    padding: 0 22px;
    border: 0;
    font-size: 16px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 30px;
    background-size: 44px 44px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .availability {
    align-items: flex-start;
    line-height: 1.5;
  }

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

  .system-card {
    top: 20px;
    right: 0;
    left: 0;
    min-height: 350px;
    padding: 18px;
    transform: rotate(1deg);
  }

  .system-title {
    padding: 24px 0 28px;
  }

  .system-title strong {
    font-size: 16px;
  }

  .system-title small {
    font-size: 9px;
  }

  .pipeline {
    gap: 5px;
  }

  .pipeline-step {
    min-height: 82px;
    padding: 10px 7px;
  }

  .pipeline-step span {
    margin-bottom: 12px;
  }

  .pipeline-step strong {
    font-size: 8px;
  }

  .system-footer {
    right: 18px;
    bottom: 18px;
    left: 18px;
    gap: 10px;
    font-size: 7px;
  }

  .floating-note {
    padding: 12px 14px;
  }

  .note-one {
    right: 0;
    bottom: 3px;
  }

  .note-two {
    bottom: 49px;
    left: -5px;
  }

  .capability-strip {
    display: grid;
    padding: 22px 0;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .capability-strip i {
    display: none;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .services-intro h2,
  .about-statement h2,
  .roles-wrap h2,
  .contact-copy h2 {
    font-size: 40px;
  }

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

  .project-card,
  .project-featured {
    min-height: auto;
    padding: 24px;
    grid-column: auto;
  }

  .project-meta {
    margin-bottom: 34px;
  }

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

  .project-art {
    min-height: 300px;
  }

  .dash-window {
    top: 45px;
    left: 30px;
    width: 460px;
    height: 300px;
  }

  .experience-card {
    padding: 26px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .service-arrow {
    display: none;
  }

  .about-principle {
    grid-template-columns: 30px 1fr;
  }

  .about-principle p {
    font-size: 17px;
  }

  .contact-details,
  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-grid {
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid .copyright {
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
