@font-face {
  font-family: "Instrument Sans";
  src: url("InstrumentSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("InstrumentSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("InstrumentSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --carbon: #17191c;
  --bone: #f4f1ea;
  --coral: #ff5a3c;
  --stone: #aaa7a0;
  --white: #fff;
  --line: rgba(23, 25, 28, 0.18);
  --page: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--carbon);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--carbon);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
}

.brand img {
  display: block;
  width: 238px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

nav a {
  text-decoration: none;
}

nav a:not(.nav-contact):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-contact {
  padding: 10px 18px;
  border: 1px solid var(--carbon);
  border-radius: 999px;
}

.nav-contact:hover {
  background: var(--carbon);
  color: var(--bone);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 68px;
  align-items: center;
  min-height: 680px;
  padding: 72px 0 88px;
}

.eyebrow,
.section-number {
  margin: 0 0 24px;
  color: var(--carbon);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(55px, 7.4vw, 102px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero-intro {
  max-width: 670px;
  margin-bottom: 38px;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--carbon);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--carbon);
  color: var(--bone);
}

.button-primary:hover {
  background: var(--coral);
  color: var(--carbon);
}

.button-secondary:hover {
  background: var(--white);
}

.hero-art {
  position: relative;
  min-height: 430px;
}

.mass {
  position: absolute;
  display: block;
  border-radius: 32px;
}

.mass-one {
  top: 2%;
  left: 10%;
  width: 57%;
  height: 38%;
  background: var(--carbon);
  transform: rotate(-8deg);
}

.mass-two {
  right: 0;
  bottom: 13%;
  width: 58%;
  height: 43%;
  background: var(--stone);
  transform: rotate(8deg);
}

.mass-three {
  bottom: 0;
  left: 0;
  width: 40%;
  height: 44%;
  background: var(--coral);
  transform: rotate(5deg);
}

.aperture {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 48%;
  width: 32px;
  height: 32px;
  background: var(--bone);
  transform: rotate(45deg);
}

.statement,
.product,
.contact {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 56px;
  padding: 108px 0;
  border-top: 1px solid var(--line);
}

.statement h2,
.product h2,
.contact h2,
.legal-page h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.statement > div > p,
.product-copy > p,
.contact > div > p {
  max-width: 750px;
  font-size: 21px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.principles article {
  min-height: 330px;
  padding: 36px;
  background: var(--bone);
}

.principle-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 72px;
  border-radius: 50%;
  background: var(--coral);
  font-size: 13px;
  font-weight: 600;
}

.principles h3 {
  margin-bottom: 14px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.principles p {
  max-width: 320px;
  margin-bottom: 0;
  font-size: 16px;
}

.product {
  margin-top: 108px;
  border-top: 0;
  border-radius: 28px;
  padding: 72px;
  background: var(--carbon);
  color: var(--bone);
}

.product .section-number {
  color: var(--bone);
}

.product-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.product-note {
  margin-top: 48px;
  color: var(--stone);
  font-size: 15px !important;
}

.contact {
  align-items: end;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 2px solid var(--carbon);
  font-size: clamp(18px, 2.5vw, 31px);
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  border-color: var(--coral);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 0 60px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-brand img {
  display: block;
  margin-bottom: 18px;
}

.footer-brand p,
.footer-meta p {
  margin-bottom: 8px;
}

.footer-meta {
  text-align: right;
}

.legal-page {
  max-width: 960px;
  padding: 110px 0 140px;
}

.legal-page .legal-intro {
  max-width: 760px;
  margin-bottom: 80px;
  font-size: 25px;
}

.legal-page section {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.legal-page section h2 {
  font-size: 20px;
  font-weight: 600;
}

.legal-page section p {
  font-size: 18px;
}

.legal-updated {
  margin-top: 48px;
  color: #62615d;
  font-size: 14px;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  max-width: 820px;
}

.not-found img {
  margin-bottom: 48px;
}

.not-found p:not(.eyebrow) {
  margin-bottom: 32px;
  font-size: 22px;
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 32px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-art {
    width: min(100%, 520px);
    min-height: 400px;
    margin: 0 auto;
  }

  .statement,
  .product,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .principles article {
    min-height: auto;
  }

  .principle-mark {
    margin-bottom: 40px;
  }

  .product {
    padding: 52px;
  }

  .product-label {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 92px;
  }

  .brand img {
    width: 188px;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    padding: 8px 14px;
  }

  .hero {
    gap: 34px;
    padding: 64px 0;
  }

  .hero-art {
    min-height: 300px;
  }

  .mass {
    border-radius: 23px;
  }

  .statement,
  .contact {
    gap: 24px;
    padding: 74px 0;
  }

  .product {
    gap: 32px;
    margin-top: 72px;
    padding: 38px 28px;
    border-radius: 20px;
  }

  .contact-link {
    overflow-wrap: anywhere;
  }

  footer {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }

  .legal-page {
    padding: 80px 0 100px;
  }

  .legal-page section {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
