:root {
  --ink: #101417;
  --paper: #f7f6f1;
  --muted: #66706c;
  --line: rgba(16, 20, 23, 0.12);
  --green: #2a9d73;
  --blue: #315e89;
  --amber: #bd7b2f;
  --coral: #b85f52;
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 28px 80px rgba(16, 20, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 10%, rgba(42, 157, 115, 0.14), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(189, 123, 47, 0.12), transparent 24rem),
    linear-gradient(135deg, #fbfaf7 0%, #f2f5f1 48%, #f7f1e9 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(7, 19, 20, 0.08);
  background: rgba(247, 246, 241, 0.86);
  backdrop-filter: blur(22px);
}

.brand,
.nav-cta,
.button {
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 176px;
}

.brand img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  color: #283532;
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 1rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: min(920px, calc(100vh - 78px));
  padding: clamp(2.8rem, 5vw, 5.5rem) clamp(1rem, 4vw, 4.5rem) 3rem;
  color: white;
  background:
    radial-gradient(circle at 78% 8%, rgba(42, 157, 115, 0.22), transparent 26rem),
    radial-gradient(circle at 12% 92%, rgba(189, 123, 47, 0.16), transparent 24rem),
    #101417;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.14);
}

.hero > *,
.section-heading > *,
.contact > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #315e89;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9bc7b6;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 4.45vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.lead {
  max-width: 41rem;
  color: #3f4845;
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.68;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(16, 20, 23, 0.18);
}

.secondary {
  border: 1px solid rgba(7, 19, 20, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.hero .primary {
  color: var(--ink);
  background: #e6f0eb;
}

.hero .secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 43rem;
  margin: 2rem 0 0;
}

.metrics div {
  min-height: 92px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.hero .metrics div {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.metrics dt {
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 850;
}

.metrics dd {
  margin: 0;
  color: #3d4946;
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero .metrics dd {
  color: rgba(255, 255, 255, 0.74);
}

.hero-stage {
  position: relative;
  perspective: 1200px;
}

.product-lab {
  width: min(100%, 820px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 23, 0.14);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(229, 237, 232, 0.78));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.32);
  transform: rotateX(5deg) rotateY(-7deg);
  transform-origin: center;
}

.lab-topbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.lab-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b85f52;
}

.lab-topbar span:nth-child(2) {
  background: #bd7b2f;
}

.lab-topbar span:nth-child(3) {
  background: #2a9d73;
}

.lab-topbar strong {
  margin-left: 0.6rem;
  color: #46504d;
  font-size: 0.82rem;
}

.lab-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.8rem;
  padding: 0.9rem;
}

.lab-panel {
  min-height: 172px;
  padding: 1rem;
  border: 1px solid rgba(16, 20, 23, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(16, 20, 23, 0.06);
}

.lab-panel p {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.overview strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 4.2rem;
  line-height: 0.9;
}

.overview span {
  color: #4a5450;
  font-size: 0.92rem;
}

.meter {
  height: 8px;
  margin-top: 1.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 20, 23, 0.08);
}

.meter i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #315e89, #2a9d73);
}

.architecture {
  min-height: 250px;
  grid-row: span 2;
}

.node-map {
  position: relative;
  height: 185px;
  border-radius: 10px;
  background:
    linear-gradient(rgba(49, 94, 137, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 94, 137, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.node-map::before,
.node-map::after {
  position: absolute;
  inset: 50% auto auto 13%;
  width: 72%;
  height: 1px;
  content: "";
  background: rgba(49, 94, 137, 0.45);
  transform: rotate(-12deg);
}

.node-map::after {
  inset: 42% auto auto 24%;
  width: 56%;
  transform: rotate(22deg);
}

.node-map span {
  position: absolute;
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(16, 20, 23, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 20, 23, 0.1);
}

.node-map span:nth-child(1) {
  top: 18px;
  left: 24px;
  background: #e6f0eb;
}

.node-map span:nth-child(2) {
  top: 68px;
  left: 44%;
  background: #edf3f5;
}

.node-map span:nth-child(3) {
  right: 32px;
  top: 24px;
  background: #f1e7db;
}

.node-map span:nth-child(4) {
  bottom: 18px;
  left: 28%;
}

.node-map span:nth-child(5) {
  right: 20%;
  bottom: 26px;
  background: #e8ece7;
}

.terminal {
  color: #dfe8e4;
  background: #101417;
}

.terminal p {
  color: #9bc7b6;
}

.terminal code {
  display: block;
  margin-top: 0.55rem;
  color: #dce7e2;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
}

.roadmap ol {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.roadmap li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.68rem 0.75rem;
  border: 1px solid rgba(16, 20, 23, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.roadmap li span {
  color: var(--blue);
  font-size: 0.78rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #f7f6f1;
  color: white;
}

.proof-strip div {
  display: grid;
  gap: 0.75rem;
  min-height: 132px;
  padding: 1.4rem clamp(1rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--blue);
  font-size: 0.9rem;
}

.proof-strip span {
  max-width: 28rem;
  color: #26302d;
  line-height: 1.45;
  font-weight: 700;
}

.intelligence {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.intelligence-copy {
  position: sticky;
  top: 110px;
}

.intelligence-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.02;
}

.intelligence-grid {
  display: grid;
  gap: 0.85rem;
}

.intelligence-grid article {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.42fr) minmax(0, 0.58fr);
  gap: 1rem;
  align-items: center;
  min-height: 132px;
  padding: 1.2rem;
  border-top: 1px solid var(--line);
}

.intelligence-grid article:last-child {
  border-bottom: 1px solid var(--line);
}

.intelligence-grid span {
  color: var(--blue);
  font-weight: 850;
}

.intelligence-grid h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.intelligence-grid p {
  margin: 0;
  color: #4c5955;
  line-height: 1.6;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4.5rem);
}

.intro {
  padding-bottom: 1rem;
}

.intro p {
  max-width: 980px;
  color: #202927;
  font-size: clamp(1.55rem, 3.1vw, 3.25rem);
  font-weight: 750;
  line-height: 1.12;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 0.64fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.project {
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.project-large {
  grid-row: span 2;
  min-height: 740px;
}

.project-visual {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 320px;
  background: #101417;
}

.project-large .project-visual {
  min-height: 520px;
}

.browser-frame {
  width: 82%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #f7f6f1;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.browser-frame > div {
  height: 42px;
  border-bottom: 1px solid rgba(16, 20, 23, 0.12);
  background:
    radial-gradient(circle at 22px 21px, #b85f52 0 5px, transparent 6px),
    radial-gradient(circle at 42px 21px, #bd7b2f 0 5px, transparent 6px),
    radial-gradient(circle at 62px 21px, #2a9d73 0 5px, transparent 6px),
    #fff;
}

.browser-frame main {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 1rem;
  min-height: 330px;
  padding: 1rem;
}

.browser-frame aside {
  border-radius: 10px;
  background: #e6f0eb;
}

.browser-frame section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.browser-frame section span,
.dashboard-mini span,
.brand-system span {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 20, 23, 0.1);
}

.browser-frame section span:first-child {
  grid-column: span 2;
  background: #dce9e4;
}

.dashboard-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 68px);
  gap: 0.75rem;
  width: 78%;
}

.dashboard-mini span:nth-child(1) {
  grid-column: span 4;
  background: #edf3f5;
}

.dashboard-mini span:nth-child(2) {
  grid-column: span 2;
  background: #315e89;
}

.dashboard-mini span:nth-child(3) {
  grid-column: span 2;
  background: #dce9e4;
}

.dashboard-mini span:nth-child(4) {
  grid-column: span 1;
  background: #bd7b2f;
}

.dashboard-mini span:nth-child(5) {
  grid-column: span 3;
  background: #fff;
}

.brand-system {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 100px 100px;
  gap: 0.9rem;
  width: 76%;
}

.brand-system span:nth-child(1) {
  grid-row: span 2;
  background: #f1e7db;
}

.brand-system span:nth-child(2) {
  background: #2a9d73;
}

.brand-system span:nth-child(3) {
  background: #edf3f5;
}

.brand-system span:nth-child(4) {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #b85f52;
  transform: translate(110px, 34px);
}

.project-copy {
  padding: 1.35rem;
}

.project-copy p {
  color: var(--muted);
  font-weight: 800;
}

.project-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 2.4vw, 2.5rem);
  line-height: 1.05;
}

.project-copy dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.project-copy dl div {
  padding: 0.62rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.project-copy dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-copy dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
}

.project-copy a {
  color: #315e89;
  font-weight: 850;
}

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

.service-rows {
  border-top: 1px solid var(--line);
}

.service-rows article {
  display: grid;
  grid-template-columns: 0.18fr 0.3fr minmax(0, 0.4fr) auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 154px;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.service-rows span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-rows h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
  line-height: 1.08;
}

.service-rows p {
  margin: 0;
  color: #4c5955;
  line-height: 1.6;
}

.service-rows a {
  justify-self: end;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.results {
  padding-top: 0;
}

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

.result-grid article {
  min-height: 270px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101417;
  color: white;
}

.result-grid strong {
  display: block;
  margin-bottom: 6rem;
  color: #9bc7b6;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1;
}

.result-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.service-grid article {
  min-height: 330px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(7, 19, 20, 0.07);
}

.service-grid span {
  color: var(--coral);
  font-weight: 850;
}

.service-grid h3 {
  margin: 3rem 0 1rem;
  font-size: 1.45rem;
  line-height: 1.05;
}

.service-grid p,
.timeline span {
  color: #4c5955;
  line-height: 1.62;
}

.stack-section {
  padding-top: 0;
}

.stack-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
}

.stack-matrix article {
  min-height: 270px;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.stack-matrix article:last-child {
  border-right: 0;
}

.stack-matrix span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.stack-matrix strong {
  display: block;
  margin: 4rem 0 1rem;
  font-size: 1.35rem;
  line-height: 1.12;
}

.stack-matrix p {
  color: #4c5955;
  line-height: 1.62;
}

.timeline {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  display: grid;
  grid-template-columns: 0.18fr 0.82fr;
  gap: 1rem;
  align-items: center;
  min-height: 104px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.timeline strong {
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin: clamp(1rem, 4vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 8px;
  color: white;
  background: #101417;
  box-shadow: var(--shadow);
}

.contact .eyebrow {
  color: #9bc7b6;
}

.contact h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.25rem, 4.8vw, 5rem);
  line-height: 1.02;
}

.contact .secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.contact .primary {
  color: var(--ink);
  background: #e6f0eb;
}

.page-hero {
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  color: white;
  background:
    radial-gradient(circle at 78% 8%, rgba(42, 157, 115, 0.2), transparent 28rem),
    radial-gradient(circle at 18% 92%, rgba(189, 123, 47, 0.14), transparent 24rem),
    #101417;
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 1.4rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.page-hero .primary {
  color: var(--ink);
  background: #e6f0eb;
}

.page-hero .secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.split-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.split-page h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.rich-copy p {
  color: #3f4845;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 70px rgba(16, 20, 23, 0.1);
}

.profile-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: #e8ece7;
}

.profile-card div {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
}

.profile-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-card strong {
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.profile-card p {
  margin: 0;
  color: #4c5955;
  font-weight: 700;
}

.profile-copy h2 {
  margin-bottom: 1.6rem;
}

.value-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.value-grid article,
.contact-grid article {
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.value-grid span,
.contact-grid span,
.service-detail span,
.case-list span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.value-grid h3 {
  margin: 4rem 0 1rem;
  font-size: 1.7rem;
}

.value-grid p,
.contact-grid p {
  color: #4c5955;
  line-height: 1.65;
}

.service-detail,
.case-list {
  display: grid;
  gap: 1rem;
}

.service-detail article,
.case-list article {
  display: grid;
  grid-template-columns: 0.18fr minmax(280px, 0.36fr) minmax(0, 0.46fr);
  gap: 1.4rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.service-detail article:last-child,
.case-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail h2,
.case-list h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.service-detail p,
.case-list p {
  margin: 0;
  color: #4c5955;
  line-height: 1.65;
}

.partner-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: 1rem;
  align-items: center;
  padding: 1.4rem clamp(1rem, 4vw, 4.5rem);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.partner-band p {
  margin: 0;
  color: #4c5955;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}

.partner-band div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-band span {
  display: grid;
  min-height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #26302d;
  background: #f7f6f1;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 850;
}

.project-showcase,
.featured-projects {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.featured-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 60px rgba(16, 20, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 76px rgba(16, 20, 23, 0.14);
}

.featured-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.featured-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #e8ece7;
  border-bottom: 1px solid var(--line);
}

.featured-card.large img {
  aspect-ratio: 16 / 11.2;
}

.featured-card div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.featured-card span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.featured-card strong {
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.project-directory {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.directory-grid a {
  position: relative;
  display: grid;
  min-height: 260px;
  grid-template-rows: auto auto 1fr;
  gap: 0.5rem;
  padding: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.directory-grid a::after {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: #2a9d73;
}

.directory-grid a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.directory-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #e8ece7;
  border-bottom: 1px solid var(--line);
}

.directory-grid span {
  max-width: 12rem;
  margin: 0.85rem 0.9rem 0;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.directory-grid a:hover span {
  color: var(--blue);
}

.directory-grid strong {
  display: block;
  margin: 0 0.9rem 0.95rem;
  align-self: end;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.case-list article {
  position: relative;
}

.case-list ul {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.case-list li {
  padding: 0.48rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.project-proof {
  padding-top: 0;
}

.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-cards article {
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101417;
  color: white;
}

.proof-cards strong {
  display: block;
  margin-bottom: 5rem;
  color: #9bc7b6;
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  line-height: 1;
}

.proof-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.compact-contact {
  margin-top: 0;
}

.service-detail ul {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.service-detail li {
  padding: 0.48rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.contact-grid strong {
  display: block;
  margin: 4rem 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  line-height: 1.08;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4.5rem);
  color: var(--muted);
  font-weight: 700;
}

@keyframes stageFloat {
  0%,
  100% {
    transform: rotateX(7deg) rotateY(-10deg) rotateZ(1deg) translateY(0);
  }
  50% {
    transform: rotateX(5deg) rotateY(-7deg) rotateZ(-1deg) translateY(-16px);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 16px rgba(42, 157, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(42, 157, 115, 0);
  }
}

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

  nav {
    display: none;
  }

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

  .intelligence-copy {
    position: static;
  }

  h1 {
    max-width: 820px;
  }

  .hero-stage {
    max-width: 780px;
    margin-inline: auto;
  }

  .work-grid,
  .value-grid,
  .contact-grid,
  .result-grid,
  .service-grid,
  .stack-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail article,
  .case-list article {
    grid-template-columns: 1fr;
  }

  .service-detail ul,
  .case-list ul {
    grid-column: auto;
  }

  .partner-band {
    grid-template-columns: 1fr;
  }

  .partner-band div,
  .featured-grid,
  .directory-grid,
  .proof-cards {
    grid-template-columns: 1fr 1fr;
  }

  .featured-card.large {
    grid-column: span 2;
    grid-row: auto;
  }

  .service-rows article {
    grid-template-columns: 0.25fr minmax(0, 0.75fr);
  }

  .service-rows p,
  .service-rows a {
    grid-column: 2;
  }

  .service-rows a {
    justify-self: start;
  }

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

  .proof-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .stack-matrix article:nth-child(2) {
    border-right: 0;
  }

  .stack-matrix article {
    border-bottom: 1px solid var(--line);
  }

  .stack-matrix article:nth-child(3),
  .stack-matrix article:nth-child(4) {
    border-bottom: 0;
  }

  .project-large {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand {
    min-width: 150px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 1.2rem;
    gap: 1.4rem;
    overflow: hidden;
  }

  h1 {
    font-size: clamp(2.35rem, 10.8vw, 3rem);
    line-height: 0.98;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 1.1rem;
  }

  .metrics {
    display: none;
  }

  .product-lab {
    width: 100%;
    transform: none;
  }

  .lab-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.65rem;
  }

  .lab-panel {
    min-height: auto;
  }

  .overview strong {
    font-size: 3rem;
  }

  .architecture,
  .roadmap {
    display: none;
  }

  .work-grid,
  .value-grid,
  .contact-grid,
  .proof-cards,
  .result-grid,
  .service-grid,
  .stack-matrix {
    grid-template-columns: 1fr;
  }

  .partner-band div {
    grid-template-columns: 1fr 1fr;
  }

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

  .featured-card.large {
    grid-column: auto;
  }

  .partner-band span {
    min-height: 54px;
  }

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

  .directory-grid a {
    min-height: 248px;
  }

  .proof-cards article {
    min-height: 220px;
  }

  .proof-cards strong {
    margin-bottom: 4rem;
  }

  .page-hero {
    padding-top: 4rem;
  }

  .value-grid article,
  .contact-grid article {
    min-height: auto;
  }

  .value-grid h3,
  .contact-grid strong {
    margin-top: 2.5rem;
  }

  .proof-strip div {
    padding: 1.1rem;
  }

  .intelligence-grid article,
  .service-rows article {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .service-rows p,
  .service-rows a {
    grid-column: auto;
  }

  .result-grid article {
    min-height: 220px;
  }

  .result-grid strong {
    margin-bottom: 4rem;
  }

  .project-large {
    grid-column: auto;
    min-height: 560px;
  }

  .project-large .project-visual,
  .project-visual {
    min-height: 310px;
  }

  .floating-card {
    display: none;
  }

  .browser-frame,
  .dashboard-mini,
  .brand-system {
    width: 86%;
  }

  .browser-frame main {
    min-height: 230px;
  }

  .dashboard-mini {
    grid-template-rows: repeat(3, 50px);
  }

  .brand-system {
    grid-template-rows: 78px 78px;
  }

  .brand-system span:nth-child(4) {
    width: 70px;
    height: 70px;
    transform: translate(82px, 28px);
  }

  .stack-matrix article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stack-matrix article:last-child {
    border-bottom: 0;
  }

  .stack-matrix strong {
    margin-top: 2rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .contact {
    margin-inline: 1rem;
  }

  footer {
    flex-direction: column;
  }
}

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