:root {
  --k: #000;
  --w: #fff;
  --g: #8c8c8c;
  --l: rgba(255, 255, 255, 0.2);
  --pad: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--k);
  color: var(--w);
}

body {
  font:
    300 16px/1.6 Inter,
    sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo {
  font-family: Unbounded, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
}

.w > span {
  display: inline-block;
}

.wrap {
  padding: 0 var(--pad);
}

h1 {
  font-size: clamp(2rem, 6.2vw, 6rem);
  line-height: 1.05;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.7rem, 4.2vw, 3.8rem);
  line-height: 1.1;
}

/* header */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--pad);
  mix-blend-mode: difference;
  color: #fff;
}

.logo {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  font-size: 0.9rem;
}

nav a {
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}

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

/* big buttons: white fill + vector arrow swap */
.big,
.round {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--w);
  color: var(--w);
  background: none;
  cursor: pointer;
  overflow: hidden;
  font:
    400 clamp(1rem, 1.6vw, 1.4rem)/1 Unbounded,
    sans-serif;
  transition: color 0.45s 0.05s;
}

.big {
  padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 56px);
  border-radius: 999px;
  min-width: min(100%, 420px);
}

.round {
  width: clamp(120px, 14vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  justify-content: center;
}

.fill {
  position: absolute;
  inset: 0;
  background: var(--w);
  transform: translateY(101%);
  border-radius: 50% 50% 0 0/40% 40% 0 0;
  transition:
    transform 0.6s cubic-bezier(0.7, 0, 0.2, 1),
    border-radius 0.6s;
}

.lbl,
.arw {
  position: relative;
}

.arw {
  width: clamp(28px, 3.4vw, 44px);
  aspect-ratio: 1;
  overflow: hidden;
  flex: none;
}

.arw svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}

.arw svg + svg {
  transform: translate(-110%, 110%);
}

.arw path {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
}

.big:hover,
.big:focus-visible,
.round:hover,
.round:focus-visible {
  color: var(--k);
}

.big:hover .fill,
.round:hover .fill,
.big:focus-visible .fill,
.round:focus-visible .fill {
  transform: none;
  border-radius: 0;
}

.big:hover .arw svg:first-child,
.round:hover .arw svg:first-child {
  transform: translate(110%, -110%);
}

.big:hover .arw svg + svg,
.round:hover .arw svg + svg {
  transform: none;
}

.big:hover .arw svg + svg path,
.round:hover .arw svg + svg path {
  animation: draw 0.6s 0.15s both;
}

@keyframes draw {
  from {
    stroke-dashoffset: 60;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.big.inv {
  border-color: var(--k);
  color: var(--k);
}

.big.inv .fill {
  background: var(--k);
}

.big.inv:hover {
  color: var(--w);
}

/* hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) clamp(28px, 5vh, 56px);
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  inset: 0;
}

.hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #000 2%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.7)
  );
}

.hero h1 {
  position: relative;
  max-width: 15ch;
}

.hero .row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: clamp(28px, 5vh, 56px);
  border-top: 1px solid var(--l);
  padding-top: 28px;
}

.hero p {
  max-width: 38ch;
  color: #cfcfcf;
}

.rule {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: #fff;
  width: 100%;
  transform-origin: left;
}

/* partners */
.partners {
  padding: clamp(56px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--l);
  overflow: hidden;
}

.partners p {
  margin-bottom: 32px;
  color: var(--g);
}

.track {
  display: flex;
  width: max-content;
}

.track span {
  font: 400 clamp(1.3rem, 2.6vw, 2.4rem)/1 Unbounded;
  padding: 0 clamp(28px, 4vw, 64px);
  color: #fff;
  opacity: 0.75;
  white-space: nowrap;
}

.track span:nth-child(3n) {
  font-style: italic;
  font-weight: 300;
}

.track span:nth-child(3n + 1) {
  font-weight: 500;
}

/* sections */
section {
  position: relative;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.feat {
  padding: var(--pad) clamp(28px, 5vh, 56px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 3vw, 48px) clamp(20px, 2vw, 32px);
}

.flex-row {
  display: flex;
  gap: clamp(28px, 3vw, 48px) clamp(20px, 2vw, 32px);
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

.card .ph {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #151515;
  margin-bottom: 18px;
}

.card .ph img {
  transition:
    transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.6s,
    scale 0.7s cubic-bezier(0.7, 0, 0.2, 1);
}

.card:hover img {
  transform: scale(1.06);
  scale: 1.1 !important;
  filter: none;
}

.ci {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  color: var(--g);
  margin: 2px 0 14px;
}

.st {
  font-size: 0.8rem;
  border: 1px solid var(--l);
  border-radius: 99px;
  padding: 3px 12px;
  white-space: nowrap;
}

dl {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--l);
  padding-top: 14px;
}

dt {
  font-size: 0.75rem;
  color: var(--g);
}

dd {
  font-family: Unbounded;
  font-size: 0.95rem;
}

.approach {
  padding: var(--pad) clamp(28px, 5vh, 56px);
  border-top: 1px solid var(--l);
}

.steps {
  position: relative;
  margin-left: clamp(0px, 8vw, 120px);
}

.steps .track-l {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--l);
}

.steps .prog {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #fff;
  transform: scaleY(0);
  transform-origin: top;
}

.step {
  padding: 0 0 clamp(48px, 7vw, 96px) clamp(28px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(60px, 120px) 1fr;
  gap: 20px;
}

.step:last-child {
  padding-bottom: 0;
}

.step b {
  font: 300 clamp(2rem, 4vw, 3.4rem)/1 Unbounded;
  color: var(--g);
}

.step h3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  margin-bottom: 12px;
}

.step p {
  max-width: 52ch;
  color: #bdbdbd;
}

.phil {
  background: var(--w);
  color: var(--k);
  padding: clamp(80px, 12vw, 180px) 0;
}

.phil .big {
  margin-top: clamp(36px, 5vw, 64px);
}

.phil .quote {
  font: 400 clamp(1.5rem, 3.6vw, 3.3rem)/1.22 Unbounded;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.phil .quote .sw {
  opacity: 0.16;
}

.media {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(56px, 8vw, 120px);
  align-items: end;
}

.media > div {
  overflow: hidden;
  background: #ddd;
}

.media .a {
  aspect-ratio: 16/10;
}

.media .b {
  aspect-ratio: 4/5;
}

.media img,
.media video {
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: grayscale(1);
}

.vals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: clamp(48px, 6vw, 90px);
  border-top: 1px solid #000;
  padding-top: 28px;
}

.vals h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.vals p {
  color: #444;
  max-width: 34ch;
}

.cta {
  padding: clamp(80px, 11vw, 170px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
}

.cta h2 {
  font-style: italic;
  font-weight: 300;
}

form {
  display: grid;
  gap: 22px;
}

.f {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

input {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--l);
  color: #fff;
  font: 300 1.1rem Inter;
  padding: 12px 0;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
}

input:focus {
  border-color: #fff;
}

::placeholder {
  color: var(--g);
}

footer {
  border-top: 1px solid var(--l);
  padding: 48px var(--pad) 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  color: var(--g);
  font-size: 0.9rem;
}

footer .logo {
  color: #fff;
  font-size: 1.6rem;
}

footer a {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  width: max-content;
}

footer h4 {
  font-weight: 400;
  margin-bottom: 10px;
}

/* catalog */
.cat-head {
  padding: clamp(130px, 18vw, 220px) var(--pad) clamp(36px, 5vw, 64px);
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 clamp(32px, 4vw, 56px);
}

.filters button {
  background: none;
  color: #fff;
  border: 1px solid var(--l);
  border-radius: 99px;
  padding: 12px 26px;
  font: 400 0.95rem Inter;
  cursor: pointer;
  transition:
    background 0.35s,
    color 0.35s,
    border-color 0.35s;
}

.filters button:hover {
  border-color: #fff;
}

.filters button.on {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.cat {
  padding-bottom: clamp(72px, 10vw, 140px);
}

.curtain {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 50;
  transform: translateY(100%);
  pointer-events: none;
}

@media (max-width: 940px) {
  .flex-row {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 820px) {
  .cta,
  .media,
  .vals,
  footer {
    grid-template-columns: 1fr;
  }

  .hero .row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  nav a:nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01s !important;
    animation-duration: 0.01s !important;
  }
}
