:root {
  --color-black: #000;
  --color-white: #fff;
  --color-ink: #222;
  --color-muted: #747474;
  --color-footer: #a1a1a1;
  --color-hero-bg: #cacaca;
  --header-height: 130px;
  --page-pad: clamp(24px, 10.35vw, 199px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 51px clamp(28px, 12vw, 230px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.1vw, 41px);
  align-items: center;
  padding-top: 13px;
  color: var(--color-black);
  font-family: "Jost", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a,
.footer-links a,
.social-links a,
.brand,
.footer-brand {
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.social-links a:hover,
.brand:hover,
.footer-brand:hover {
  opacity: 0.62;
}

.brand {
  justify-self: center;
  padding-top: 10px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1.08px;
  line-height: 1;
}

.cart-button {
  position: relative;
  justify-self: end;
  width: 42px;
  height: 42px;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-button img {
  width: 18px;
  height: 21px;
  margin: 12px auto 0;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 5px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18px;
  line-height: 1;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: var(--color-hero-bg);
}

.hero::before,
.hero::after {
  position: absolute;
  left: -153px;
  z-index: 0;
  content: "Uniclub";
  color: rgba(0, 0, 0, 0.1);
  font-size: clamp(196px, 29.7vw, 570px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero::before {
  top: 21.1%;
}

.hero::after {
  top: 62.4%;
  color: rgba(0, 0, 0, 0.8);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: clamp(178px, 34.3svh, 372px);
  left: clamp(72px, 21.8vw, 419px);
  width: clamp(460px, 30.3vw, 582px);
  min-height: clamp(360px, 43.6svh, 473px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(46px, 6.1svh, 66px) 54px clamp(38px, 5.3svh, 58px);
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 25px;
  font-size: clamp(82px, 10.8svh, 117px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.hero-copy p {
  margin: 0 0 37px;
  font-family: "Jost", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-cta {
  width: 275px;
  min-height: 54px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  border-radius: 40px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 0.8;
  text-transform: uppercase;
}

.hero-cta img {
  width: 22px;
  height: 21px;
  transition: transform 180ms ease;
}

.hero-cta:hover img {
  transform: translateX(4px);
}

.product-section {
  padding: 75px var(--page-pad) 0;
  scroll-margin-top: 24px;
}

.section-title {
  display: grid;
  justify-items: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin: 0 0 18px;
  color: var(--color-ink);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.section-title span {
  width: 95px;
  height: 1px;
  background: #d0d0d0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 448px));
  gap: 38px clamp(40px, 5.2vw, 100px);
  justify-content: space-between;
}

.product-card {
  min-width: 0;
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 448 / 670;
  overflow: hidden;
  background: #e9e9e9;
}

.product-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 31.5px;
  line-height: 1.2;
  text-transform: capitalize;
}

.product-meta h3,
.product-meta p {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.product-meta p {
  color: var(--color-muted);
  letter-spacing: 0.63px;
}

.site-footer {
  margin-top: 308px;
  background: var(--color-black);
  color: var(--color-footer);
}

.footer-inner {
  min-height: 730px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 80px;
  align-items: start;
  padding: 92px clamp(28px, 19.3vw, 370px) 80px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--color-white);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.4px;
  line-height: 1;
}

.social-links {
  display: flex;
  gap: 23px;
}

.social-links a {
  color: var(--color-footer);
  font-family: "Jost", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(58px, 6.8vw, 130px);
  padding-top: 0;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  font-family: "Jost", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0.34px;
  line-height: 2.14;
  text-transform: capitalize;
}

@media (max-width: 1200px) {
  :root {
    --header-height: 112px;
    --page-pad: clamp(22px, 6vw, 72px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: var(--header-height);
    padding: 34px var(--page-pad) 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    padding-top: 22px;
  }

  .brand {
    justify-self: start;
    padding-top: 0;
  }

  .cart-button {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    height: 100vh;
    height: 100svh;
  }

  .hero::before,
  .hero::after {
    left: -75px;
  }

  .hero::before {
    top: 25.6%;
  }

  .hero::after {
    top: 63.4%;
  }

  .hero-copy {
    top: clamp(172px, 35.4svh, 290px);
    left: var(--page-pad);
    width: min(520px, calc(100% - var(--page-pad) * 2));
    min-height: clamp(330px, 51.2svh, 420px);
  }

  .hero-copy h1 {
    font-size: clamp(72px, 10vw, 104px);
    letter-spacing: -0.1em;
  }

  .product-meta {
    font-size: 24px;
  }

  .footer-inner {
    padding-inline: var(--page-pad);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 118px;
    --page-pad: 20px;
  }

  .site-header {
    padding-top: 24px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 14px 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    font-size: 12px;
  }

  .hero {
    height: 100vh;
    height: 100svh;
  }

  .hero::before,
  .hero::after {
    left: -40px;
    font-size: 178px;
  }

  .hero::before {
    top: 27%;
  }

  .hero::after {
    top: 56%;
  }

  .hero-image {
    object-position: 58% top;
  }

  .hero-copy {
    top: clamp(178px, 37.5svh, 285px);
    width: calc(100% - 40px);
    min-height: clamp(300px, 45svh, 342px);
    padding: 46px 24px 42px;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(58px, 18vw, 78px);
    letter-spacing: -0.09em;
  }

  .hero-copy p {
    max-width: 100%;
    white-space: normal;
    font-size: 13px;
    line-height: 1.4;
  }

  .hero-cta {
    width: min(275px, 100%);
  }

  .product-section {
    padding-top: 64px;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-image {
    max-width: 448px;
    margin-inline: auto;
  }

  .product-meta {
    max-width: 448px;
    margin-inline: auto;
    padding-top: 18px;
    font-size: 22px;
  }

  .site-footer {
    margin-top: 120px;
  }

  .footer-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 64px;
  }

  .footer-brand {
    font-size: 38px;
    letter-spacing: -1.52px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
