:root {
  --black: #080808;
  --white: #f4f4f1;
  --grey: #999995;
  --line: #2b2b29;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--black);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}
.wrap {
  width: min(100% - 48px, 1500px);
  margin: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  height: 76px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand,
header nav {
  position: relative;
  z-index: 2;
}
header::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}
.brand {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
}
.brand::after {
  content: "Construction engineer · interdisciplinary practice";
  position: absolute;
  left: 52px;
  top: calc(50% + 9px);
  color: #9d9d98;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand::before {
  content: "";
  width: 40px;
  height: 56px;
  align-self: flex-end;
  flex: none;
  margin-bottom: -4px;
  background: url("profile-walid-grey.png") center top / cover no-repeat;
  filter: grayscale(1) contrast(1.08);
}
nav {
  display: flex;
  gap: 26px;
  color: #b7b7b2;
}
nav a:hover,
nav a[aria-current="page"] {
  color: var(--white);
}
.page-hero {
  min-height: 58vh;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: end;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.45);
  transform: scale(1.04);
}
.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.42) 55%,
      rgba(0, 0, 0, 0.67)
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 58%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 34px;
}
.eyebrow {
  margin: 0 0 19px;
  color: #d0d0ca;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.page-title {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(3.25rem, 8.2vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.78;
  text-transform: uppercase;
}
.page-title span {
  color: #969692;
}
.content {
  padding: 28px 0 120px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px;
  padding: 0 0 94px;
}
.number,
.label {
  margin: 0;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.statement {
  margin: -8px 0 0;
  max-width: 940px;
  font-size: clamp(1.85rem, 3.45vw, 3.7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
}
.statement span {
  color: var(--grey);
}
.list {
  margin-left: 25%;
  border-top: 1px solid var(--line);
}
.item {
  display: grid;
  grid-template-columns: 80px 1.25fr 1fr;
  gap: 24px;
  padding: 24px 0 27px;
  border-bottom: 1px solid var(--line);
}
.item-index {
  margin: 0;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.item-title {
  margin: 0;
  font-size: clamp(1.3rem, 1.85vw, 2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.item-title a {
  transition: color 0.2s;
}
.item-title a:hover {
  color: var(--grey);
}
.item-copy {
  margin: 0;
  max-width: 360px;
  color: #b0b0ab;
  font-size: 14px;
  line-height: 1.45;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-left: 25%;
  border-top: 1px solid var(--line);
}
.split article {
  padding: 22px 32px 36px 0;
  min-height: 240px;
}
.split article + article {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.split h2 {
  margin: 0 0 50px;
  color: var(--grey);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.split p {
  margin: 0;
  max-width: 430px;
  font-size: clamp(1.25rem, 1.65vw, 1.75rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.split small {
  display: block;
  margin-top: 18px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
}
.content-group {
  margin-top: 96px;
}
.tools-section {
  margin-top: 112px;
}
.tools-layout {
  margin-left: 25%;
  border-top: 1px solid var(--line);
}
.tool-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.tool-group {
  min-height: 228px;
  padding: 23px 22px 28px 0;
}
.tool-group + .tool-group {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.tool-group h3 {
  margin: 0 0 23px;
  color: #c0c0bb;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-chip,
.tool-node,
.tool-core {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.tool-chip {
  border: 1px solid #3a3a37;
  background: transparent;
  padding: 7px 9px;
  color: #a9a9a4;
  font-size: 11px;
  line-height: 1;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}
.tool-chip:hover,
.tool-chip.is-active {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}
.tool-chip:focus-visible,
.tool-node:focus-visible,
.tool-core:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.tool-constellation {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: #0b0b0a;
  isolation: isolate;
  perspective: 1200px;
  cursor: crosshair;
}
.tool-network {
  position: absolute;
  inset: 0;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.22, 0.8, 0.22, 1);
  will-change: transform;
}
.tool-constellation.is-dragging .tool-network {
  transition-duration: 0ms;
}
.tool-constellation::before,
.tool-constellation::after {
  position: absolute;
  z-index: -1;
  color: #1d1d1b;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.76;
  text-transform: uppercase;
}
.tool-constellation::before {
  content: "Tools";
  top: 31px;
  left: 28px;
}
.tool-constellation::after {
  content: "In motion";
  right: 25px;
  bottom: 25px;
  color: #151513;
  text-align: right;
}
.tool-links {
  position: absolute;
  inset: 8% 11%;
  width: 78%;
  height: 76%;
  overflow: visible;
}
.tool-links line {
  stroke: #3b3b37;
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}
.tool-core,
.tool-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid #575752;
  border-radius: 50%;
  background: #11110f;
  color: #c4c4be;
  text-align: center;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}
.tool-core {
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -50%) translateZ(54px);
  color: var(--black);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.8);
}
.tool-node {
  width: 82px;
  height: 82px;
  padding: 10px 8px 8px;
  font-size: 10px;
  line-height: 1.05;
  transform: translate(-50%, -50%) translateZ(var(--node-depth, 0px));
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.58);
}
.tool-node .tool-logo {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 5px;
  object-fit: contain;
  pointer-events: none;
}
.tool-node.is-active .tool-logo,
.tool-node:hover .tool-logo {
  filter: invert(1);
}
.tool-node:hover,
.tool-node.is-active,
.tool-core:hover,
.tool-core.is-active {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
  transform: translate(-50%, -50%)
    translateZ(calc(var(--node-depth, 0px) + 22px)) scale(1.08);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.8);
}
.tool-core:hover,
.tool-core.is-active {
  transform: translate(-50%, -50%) translateZ(74px) scale(1.08);
}
.tool-node--one {
  top: 24%;
  left: 21%;
  --node-depth: 42px;
}
.tool-node--two {
  top: 16%;
  left: 71%;
  --node-depth: 76px;
}
.tool-node--three {
  top: 39%;
  left: 84%;
  --node-depth: 22px;
}
.tool-node--four {
  top: 78%;
  left: 76%;
  --node-depth: 62px;
}
.tool-node--five {
  top: 82%;
  left: 31%;
  --node-depth: 18px;
}
.tool-node--six {
  top: 58%;
  left: 12%;
  --node-depth: 58px;
}
.tool-node--seven {
  top: 13%;
  left: 47%;
  --node-depth: 96px;
}
.tool-node--eight {
  top: 70%;
  left: 55%;
  --node-depth: 30px;
}
.tool-detail {
  position: absolute;
  right: 28px;
  bottom: 27px;
  z-index: 2;
  width: min(280px, 31%);
  margin: 0;
  border-top: 1px solid #4c4c47;
  padding-top: 10px;
  color: #aaa9a4;
  font-size: 13px;
  line-height: 1.35;
}
.tool-detail span {
  display: block;
}
.tool-detail span:first-child {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.group-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px;
  padding: 0 0 24px;
}
.group-heading h2 {
  margin: -8px 0 0;
  font-size: clamp(1.85rem, 3.45vw, 3.7rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.group-heading h2 span {
  color: var(--grey);
}
.contact-block {
  margin-left: 25%;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.contact-block a {
  display: inline-block;
  margin-top: 25px;
  border-bottom: 1px solid var(--white);
  padding-bottom: 6px;
  font-size: clamp(1.35rem, 2.35vw, 2.5rem);
  letter-spacing: -0.06em;
}
.contact-block a:hover {
  color: var(--grey);
  border-color: var(--grey);
}
footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
  color: var(--grey);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .wrap {
    width: min(100% - 32px, 1500px);
  }
  header {
    height: 62px;
  }
  .brand::before {
    width: 32px;
    height: 46px;
    margin-bottom: -3px;
  }
  .brand::after {
    left: 44px;
    top: calc(50% + 8px);
    font-size: 7px;
    letter-spacing: 0.06em;
  }
  nav {
    gap: 15px;
  }
  nav a {
    display: none;
  }
  nav a[aria-current="page"] {
    display: block;
  }
  .page-hero {
    min-height: 48vh;
  }
  .hero-content {
    padding-bottom: 24px;
  }
  .intro {
    display: block;
    padding-bottom: 58px;
  }
  .number {
    margin-bottom: 20px;
  }
  .statement {
    font-size: clamp(2rem, 9vw, 3.3rem);
  }
  .list,
  .split,
  .contact-block,
  .tools-layout {
    margin-left: 0;
  }
  .item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .item-copy {
    grid-column: 2;
    font-size: 13px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split article {
    min-height: auto;
    padding: 18px 0 32px;
  }
  .split article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .split h2 {
    margin-bottom: 31px;
  }
  .content-group {
    margin-top: 64px;
  }
  .group-heading {
    display: block;
    padding-bottom: 16px;
  }
  .group-heading .number {
    margin-bottom: 20px;
  }
  .group-heading h2 {
    font-size: clamp(2rem, 9vw, 3.3rem);
  }
  .tools-section {
    margin-top: 72px;
  }
  .tool-groups {
    grid-template-columns: 1fr;
  }
  .tool-group {
    min-height: auto;
    padding: 20px 0 25px;
  }
  .tool-group + .tool-group {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }
  .tool-constellation {
    min-height: 380px;
  }
  .tool-node {
    width: 65px;
    height: 65px;
    font-size: 8px;
  }
  .tool-core {
    width: 94px;
    height: 94px;
    font-size: 11px;
  }
  .tool-detail {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    font-size: 12px;
  }
  .tool-constellation::before {
    top: 18px;
    left: 16px;
  }
  .tool-constellation::after {
    right: 16px;
    bottom: 59px;
  }
}
