@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;700&family=Syne+Mono&display=swap");

:root {
  --page: #f4f4f3;
  --ink: #383838;
  --black: #000;
  --content: 1400px;
  --gutter: clamp(22px, 3.9vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Syne Mono", monospace;
  font-size: 18px;
  line-height: 1.4;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  top: 16px;
  left: -999px;
  z-index: 100;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  padding: 14px 24px;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 104px;
}

.header-inner {
  width: min(calc(100% - 44px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 22;
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 38px;
  align-items: center;
}

.site-nav a {
  padding: 2px 0 5px;
  font-size: 20px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  border-bottom: 1px solid currentColor;
}

.menu-toggle {
  position: relative;
  z-index: 22;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 7px;
  width: 30px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle::before {
  top: 15px;
}

.menu-toggle::after {
  top: 28px;
}

.menu-toggle[aria-expanded="true"]::before {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  top: 22px;
  transform: rotate(-45deg);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero {
  position: relative;
  aspect-ratio: 1.93;
  margin: 0 var(--gutter);
  overflow: hidden;
  background: #050504;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78%, 1280px);
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(48px, 4.2vw, 76px);
  line-height: 1.05;
  text-align: center;
}

.vision,
.products,
.social,
.subpage-main,
.site-footer {
  padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2));
}

.vision {
  min-height: 1140px;
  padding-top: 41px;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(430px, 0.86fr);
  gap: clamp(72px, 7vw, 130px);
  align-items: center;
}

.vision-image {
  align-self: stretch;
  width: 100%;
  height: 1099px;
  object-fit: cover;
}

.vision-copy {
  padding-right: clamp(0px, 4vw, 80px);
}

.vision h2,
.products h2,
.social h2 {
  font-size: clamp(48px, 3.8vw, 69px);
}

.vision h2 {
  max-width: 520px;
  margin-bottom: 26px;
}

.vision p,
.product-copy p,
.subpage-copy p {
  margin: 0;
  color: var(--black);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.button {
  display: inline-flex;
  min-width: 283px;
  min-height: 71px;
  margin-top: 104px;
  padding: 17px 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 23px;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--black);
}

.products {
  min-height: 967px;
  padding-top: 153px;
}

.products > h2 {
  margin-left: 80px;
  margin-bottom: 50px;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(430px, 0.86fr);
  gap: clamp(72px, 7vw, 130px);
  align-items: start;
}

.product-grid img {
  width: 100%;
  aspect-ratio: 1.23;
  border-radius: 18px;
  object-fit: cover;
}

.product-copy {
  padding-top: 76px;
  padding-right: clamp(0px, 3vw, 56px);
}

.product-copy h4 {
  margin-bottom: 36px;
  font-size: 40px;
}

.product-copy p + p {
  margin-top: 24px;
}

.product-copy .button {
  margin-top: 62px;
}

.social {
  min-height: 765px;
  padding-top: 195px;
  text-align: center;
}

.social-card {
  min-height: 398px;
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 52px;
}

.instagram {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-top: 49px;
  place-items: center;
}

.instagram svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-footer {
  min-height: 318px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px 224px;
  gap: 45px;
  align-items: start;
  padding-top: 76px;
  padding-bottom: 52px;
}

.footer-brand {
  font-family: "Syne", sans-serif;
  font-size: clamp(34px, 2.8vw, 51px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.footer-column h2 {
  margin-bottom: 34px;
  font-size: 40px;
}

.footer-column p {
  margin: 0;
  color: var(--black);
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.subpage-main {
  min-height: 1054px;
  padding-top: 41px;
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.98fr);
  gap: clamp(80px, 8vw, 150px);
  align-items: start;
}

.subpage-copy h1 {
  margin-bottom: 27px;
  font-size: clamp(54px, 4.2vw, 76px);
}

.subpage-copy p {
  max-width: 600px;
}

.subpage-image {
  width: 100%;
  height: 811px;
  object-fit: cover;
}

.contact-intro {
  margin-bottom: 74px;
}

.contact-intro p + p {
  margin-top: 18px;
}

.contact-form {
  max-width: 575px;
  color: var(--black);
}

.form-label,
.contact-form label,
.name-label {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-form > label {
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--black);
  font: inherit;
  outline: none;
}

.contact-form input {
  height: 47px;
  border-radius: 999px;
  padding: 8px 17px;
}

.contact-form textarea {
  min-height: 101px;
  resize: vertical;
  border-radius: 24px;
  padding: 14px 17px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.contact-form .button {
  min-width: 143px;
  min-height: 82px;
  margin-top: 19px;
  padding-inline: 38px;
  cursor: pointer;
}

@media (max-width: 900px) {
  :root {
    --gutter: 14px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    height: 82px;
  }

  .header-inner {
    width: calc(100% - 44px);
  }

  .brand {
    max-width: 190px;
    font-size: 17px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background: rgba(244, 244, 243, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border: 0 !important;
    font-size: 30px;
  }

  .hero {
    aspect-ratio: auto;
    height: max(730px, calc(100svh - 82px));
  }

  .hero h1 {
    top: 73%;
    width: 80%;
    font-size: clamp(39px, 12vw, 54px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .menu-open .brand {
    max-width: none;
    white-space: nowrap;
  }

  .vision,
  .product-grid,
  .subpage-main,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .vision,
  .products,
  .social,
  .subpage-main,
  .site-footer {
    padding-inline: 22px;
  }

  .vision {
    min-height: 0;
    padding-top: 82px;
    padding-bottom: 72px;
    gap: 42px;
  }

  .vision-copy {
    grid-row: 1;
    padding-right: 0;
  }

  .vision h2,
  .products h2,
  .social h2 {
    font-size: clamp(43px, 13vw, 58px);
    line-height: 1.05;
  }

  .vision p,
  .product-copy p,
  .subpage-copy p {
    font-size: 17px;
  }

  .button {
    margin-top: 46px;
  }

  .vision-image {
    grid-row: 2;
    height: auto;
    aspect-ratio: 0.9;
    object-fit: cover;
  }

  .products {
    min-height: 0;
    padding-top: 74px;
    padding-bottom: 90px;
  }

  .products > h2 {
    margin: 0 76px 42px;
    white-space: normal;
  }

  .product-grid {
    gap: 22px;
  }

  .product-grid img {
    aspect-ratio: 1.18;
  }

  .product-copy {
    padding: 0;
  }

  .product-copy h4 {
    margin-bottom: 31px;
    font-size: 28px;
  }

  .product-copy .button {
    margin-top: 42px;
  }

  .social {
    min-height: 510px;
    padding-top: 70px;
  }

  .social-card {
    min-height: 310px;
    padding: 28px;
  }

  .instagram {
    margin-top: 32px;
  }

  .site-footer {
    gap: 45px;
    padding-top: 60px;
    padding-bottom: 70px;
  }

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

  .footer-column h2 {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .subpage-main {
    min-height: 0;
    padding-top: 54px;
    gap: 52px;
  }

  .subpage-copy h1 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .subpage-image {
    height: auto;
    aspect-ratio: 0.79;
    object-fit: cover;
  }

  .contact-intro {
    margin-bottom: 54px;
  }
}

@media (max-width: 520px) {
  .products > h2 {
    margin-inline: 76px 0;
    overflow-wrap: anywhere;
  }

  .name-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
