:root {
  --bg: #07080a;
  --card1-a: #0e1a0d;
  --card1-b: #060905;
  --card2-a: #0a0e18;
  --card2-b: #05060b;
  --tx-1: #f2f2ec;
  --tx-2: #9a9a90;
  --tx-3: #5f5f57;
  --line: rgba(255, 255, 255, .09);
  --green: #7fc262;
  --green-soft: rgba(127, 194, 98, .14);
  --blue: #6f93ff;
  --blue-soft: rgba(111, 147, 255, .14);
  --ui: 'Manrope', system-ui, sans-serif;
  --head: 'Space Grotesk', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx-1);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: 1160px;
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}
.dot {
  color: var(--green);
}
/* hero */
.hero {
  position: relative;
  padding: 200px 0 100px;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1320px;
  height: 1320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 194, 98, .16) 0%, rgba(127, 194, 98, .06) 40%, transparent 70%);
  pointer-events: none;
}
.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero .inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  margin: 0 0 22px;
}
h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 0 auto;
  max-width: 820px;
}
.lede {
  margin: 28px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--tx-2);
  max-width: 560px;
}
.meta-line {
  margin: 40px 0 0;
  font-size: 14px;
  color: var(--tx-2);
  letter-spacing: .01em;
}
.meta-line span.sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  margin: 0 12px;
  vertical-align: middle;
}
/* selected work */
.eyebrow {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 16px;
}
section.work {
  padding: 64px 0 100px;
}
section.work h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.02em;
  margin: 0;
}
section.work > .wrap > p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--tx-2);
  max-width: 520px;
}
.cards {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.card {
  display: block;
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.card .grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  min-height: 420px;
}
.card.c1 {
  background: linear-gradient(160deg, var(--card1-a), var(--card1-b) 65%);
}
.card.c2 {
  background: linear-gradient(160deg, var(--card2-a), var(--card2-b) 65%);
}
.card .txt {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card .k {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.card .k i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.card.c1 .k {
  color: var(--green);
}
.card.c1 .k i {
  background: var(--green);
}
.card.c2 .k {
  color: var(--blue);
}
.card.c2 .k i {
  background: var(--blue);
}
.card h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.08;
}
.card .sub {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.42;
  color: #c9c9c0;
}
.card .cmeta {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--tx-3);
  letter-spacing: .01em;
}
.card .cmeta span.sep {
  margin: 0 9px;
  opacity: .7;
}
.card .go {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  transition: gap .18s;
}
.card.c1 .go {
  color: var(--green);
}
.card.c2 .go {
  color: var(--blue);
}
.card:hover .go {
  gap: 11px;
}
.card .shot {
  position: relative;
  overflow: hidden;
}
.card .shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card.c1 .shot img {
  object-position: 22% 18%;
}
.card.c2 .shot img {
  object-position: 0 0;
}
.card .shot:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 30%);
}
@media (max-width: 760px) {
  .card .grid {
    grid-template-columns: 1fr;
  }
  .card .shot {
    height: 260px;
    order: -1;
  }
}
/* about */
section.about {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.about .row {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.about h2 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  flex: none;
  width: 180px;
}
.about p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--tx-2);
  max-width: 640px;
  flex: 1;
  min-width: 280px;
}
/* footer */
footer {
  padding: 52px 0 64px;
  border-top: 1px solid var(--line);
}
footer .row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer h2 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 20px;
  margin: 0;
}
footer .lede {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--tx-2);
  max-width: 340px;
  line-height: 1.5;
}
.contacts {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact .l {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin: 0;
}
.contact .row {
  display: flex;
  align-items: center;
  gap: 11px;
}
.contact .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--tx-2);
  transition: border-color .18s, background-color .18s, color .18s;
}
.contact .ic svg {
  width: 16px;
  height: 16px;
}
.contact .v {
  font-size: 14.5px;
  color: var(--tx-1);
  white-space: nowrap;
  transition: color .18s;
}
.contact:hover .ic {
  border-color: rgba(127, 194, 98, .45);
  background: var(--green-soft);
}
.contact:hover .v {
  color: var(--green);
}
@media (max-width: 640px) {
  .about .row {
    flex-direction: column;
    gap: 16px;
  }
  .about h2 {
    width: auto;
  }
  footer .row {
    flex-direction: column;
  }
}
