:root {
  --black: #080808;
  --white: #f4f4f1;
  --grey: #999995;
  --line: #2b2b29;
}
* {
  box-sizing: border-box;
}
html,
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 {
  color: var(--white);
}
.detail-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.48);
  transform: scale(1.04);
}
.detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.91),
      rgba(0, 0, 0, 0.58) 48%,
      rgba(0, 0, 0, 0.25)
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 61%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 42px;
}
.eyebrow {
  margin: 0 0 18px;
  color: #d0d0ca;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.title {
  margin: 0;
  max-width: 1050px;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.78;
  text-transform: uppercase;
}
.title span {
  color: var(--grey);
}
.detail-content {
  padding: 30px 0 110px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px;
  padding-bottom: 88px;
}
.label {
  margin: 0;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.statement {
  max-width: 900px;
  margin: -8px 0 0;
  font-size: clamp(1.8rem, 3.2vw, 3.5rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}
.statement span {
  color: var(--grey);
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 25%;
  border-top: 1px solid var(--line);
}
.details article {
  padding: 22px 32px 32px 0;
  min-height: 190px;
}
.details article + article {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.details h2 {
  margin: 0 0 45px;
  color: var(--grey);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.details p {
  margin: 0;
  max-width: 410px;
  font-size: clamp(1.2rem, 1.65vw, 1.7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.details a {
  border-bottom: 1px solid currentColor;
  color: var(--white);
}
.details a:hover {
  color: var(--grey);
}
.back {
  display: inline-block;
  margin: 70px 0 0 25%;
  border-bottom: 1px solid var(--white);
  padding-bottom: 6px;
  font-size: 14px;
  letter-spacing: -0.03em;
}
.back: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: 1000px) and (min-width: 701px) {
  .wrap {
    width: min(100% - 40px, 1500px);
  }
  nav {
    gap: 18px;
  }
  .detail-hero {
    min-height: 64vh;
  }
  .title {
    font-size: clamp(3.2rem, 7.2vw, 5.3rem);
  }
  .details article {
    padding-right: 22px;
  }
  .details article + article {
    padding-left: 22px;
  }
}
@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:not(:last-child) {
    display: none;
  }
  .detail-hero {
    min-height: 62vh;
  }
  .hero-content {
    padding-bottom: 25px;
  }
  .title {
    font-size: clamp(2.7rem, 12vw, 3.7rem);
  }
  .intro {
    display: block;
    padding-bottom: 56px;
  }
  .label {
    margin-bottom: 20px;
  }
  .statement {
    font-size: clamp(2rem, 9vw, 3.3rem);
  }
  .details {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .details article {
    min-height: auto;
    padding: 19px 0 31px;
  }
  .details article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .details h2 {
    margin-bottom: 28px;
  }
  .back {
    margin-left: 0;
  }
}
