:root {
  color-scheme: dark;
  --black: #070707;
  --iron: #111214;
  --surface: rgba(255, 255, 255, .028);
  --surface-strong: rgba(255, 255, 255, .06);
  --text: #f2f2ef;
  --steel: #b8bbbd;
  --muted: #74777a;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .24);
  --shadow: rgba(0, 0, 0, .55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(4, 4, 4, .20), rgba(4, 4, 4, .28)),
    url("assets/graywheel-background.jpeg") center / cover fixed,
    #050505;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 68% 38%, transparent 0, transparent 20rem, rgba(0, 0, 0, .34) 56rem);
  opacity: .8;
}

a {
  color: inherit;
}

.site-header,
.hero,
.statement,
.portfolio,
.simple-page,
.portfolio-page,
.contact-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: .28em;
}

.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05) brightness(.9);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--steel);
  font-size: 13px;
}

.site-nav a {
  text-decoration: none;
}

.nav-button {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 12px 30px var(--shadow);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
  gap: 54px;
  align-items: center;
  align-content: center;
  padding: 92px 0 118px;
}

.hero-mark {
  justify-self: end;
  width: min(420px, 36vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.03) brightness(.92);
  opacity: .96;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: var(--steel);
  text-transform: uppercase;
  font-size: clamp(18px, 2.3vw, 30px);
  font-weight: 800;
  letter-spacing: .18em;
}

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(30px, 3.9vw, 54px);
  line-height: 1.08;
  font-weight: 760;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 38px;
  color: #c5c7c8;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.45;
}

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

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  cursor: pointer;
}

.button-primary {
  border-color: var(--text);
  color: #080808;
  background: var(--text);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .035);
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.statement h2,
.simple-page h1,
.contact-intro h1 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(28px, 3.7vw, 50px);
  line-height: 1.08;
  font-weight: 760;
}

.statement-copy {
  display: grid;
  gap: 20px;
}

.statement-copy p,
.simple-page p,
.contact-intro p,
.form-note {
  margin-bottom: 0;
  color: #b8bbbd;
  font-size: 18px;
  line-height: 1.55;
}

.simple-page {
  min-height: calc(100vh - 76px);
  padding: 62px 0 72px;
  display: grid;
  align-content: center;
}

.simple-page h1 {
  max-width: 760px;
  margin-bottom: 20px;
}

.simple-page p {
  max-width: 640px;
}

.portfolio-page {
  min-height: calc(100vh - 76px);
  padding: 78px 0 88px;
}

.portfolio-intro {
  max-width: 880px;
  margin-bottom: 58px;
}

.portfolio-intro h1 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 780;
}

.portfolio-intro p {
  max-width: 720px;
  margin-bottom: 0;
  color: #c5c7c8;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.48;
}

.portfolio-products {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.product-link {
  min-height: 126px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.product-link:hover,
.product-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.product-mark {
  min-height: 86px;
  display: grid;
  place-items: center;
}

.product-mark img {
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.product-copy {
  display: grid;
  gap: 8px;
}

.product-copy strong {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.product-copy span {
  color: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.policyvector-link {
  border: 1px solid rgba(244, 189, 74, .52);
  background:
    linear-gradient(145deg, rgba(244, 189, 74, .15), transparent 34%),
    linear-gradient(180deg, rgba(16, 36, 58, .92), rgba(7, 17, 29, .98));
  color: #f5f8fc;
  box-shadow: inset 0 1px rgba(245, 248, 252, .08), 0 18px 42px rgba(0, 0, 0, .22);
}

.policyvector-link:hover,
.policyvector-link:focus-visible {
  border-color: rgba(244, 189, 74, .9);
  background:
    linear-gradient(145deg, rgba(244, 189, 74, .22), transparent 34%),
    linear-gradient(180deg, rgba(16, 36, 58, .98), rgba(7, 17, 29, 1));
}

.policyvector-mark {
  border-right: 1px solid rgba(244, 189, 74, .24);
}

.policyvector-mark img {
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28));
}

.policyvector-link .product-copy span {
  color: #b8c7d8;
}

.binthere-link {
  border: 1px solid rgba(243, 236, 215, .42);
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 134, 154, .30), transparent 30%),
    linear-gradient(135deg, rgba(33, 0, 47, .98), rgba(18, 0, 28, .98));
  color: #f3ecd7;
  box-shadow: inset 0 1px rgba(243, 236, 215, .10), 0 18px 42px rgba(0, 0, 0, .24);
}

.binthere-link:hover,
.binthere-link:focus-visible {
  border-color: rgba(243, 236, 215, .8);
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 134, 154, .38), transparent 30%),
    linear-gradient(135deg, rgba(33, 0, 47, 1), rgba(18, 0, 28, 1));
}

.binthere-mark {
  border-right: 1px solid rgba(243, 236, 215, .22);
}

.binthere-mark img {
  width: 112px;
  height: 86px;
  object-fit: contain;
  filter: none;
}

.binthere-link .product-copy span {
  color: #dbc7d0;
}

.portfolio-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
}

.binthere-body {
  background:
    radial-gradient(circle at 22% 18%, rgba(201, 134, 154, .22), transparent 24rem),
    radial-gradient(circle at 74% 20%, rgba(125, 107, 137, .20), transparent 28rem),
    linear-gradient(135deg, #21002f 0%, #170024 48%, #08000d 100%);
}

.binthere-header {
  border-bottom-color: rgba(243, 236, 215, .18);
}

.binthere-page {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 90px 0 96px;
  display: grid;
  align-content: center;
}

.binthere-splash-large {
  width: min(520px, 100%);
  height: auto;
  margin-bottom: 28px;
  filter: none;
}

.binthere-wordmark {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 28px;
  color: #f3ecd7;
  font-size: clamp(58px, 11vw, 142px);
  font-weight: 950;
  line-height: .82;
  letter-spacing: 0;
}

.binthere-page h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #f3ecd7;
  font-size: clamp(30px, 4.8vw, 68px);
  line-height: 1.03;
  font-weight: 780;
}

.binthere-page p {
  max-width: 660px;
  margin-bottom: 34px;
  color: #dbc7d0;
  font-size: 20px;
  line-height: 1.5;
}

.binthere-cta {
  min-height: 48px;
  width: fit-content;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 236, 215, .52);
  background: rgba(201, 134, 154, .16);
  color: #f3ecd7;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}

.binthere-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.binthere-cta-secondary {
  background: rgba(243, 236, 215, .06);
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 78px 0 96px;
}

.legal-backlink {
  display: inline-flex;
  margin-bottom: 34px;
  color: #dbc7d0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.legal-page h1 {
  max-width: 760px;
  margin-bottom: 10px;
  color: #f3ecd7;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.02;
  font-weight: 820;
}

.legal-meta {
  margin-bottom: 42px;
  color: #c9869a;
  font-size: 16px;
  font-weight: 720;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid rgba(243, 236, 215, .16);
}

.legal-section h2 {
  margin: 0 0 12px;
  color: #f3ecd7;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.15;
}

.legal-section p {
  max-width: 760px;
  margin: 0 0 14px;
  color: #dbc7d0;
  font-size: 18px;
  line-height: 1.62;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: #f3ecd7;
  text-decoration-color: rgba(243, 236, 215, .45);
  text-underline-offset: 4px;
}

.portfolio-note p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.5;
}

.section-label {
  font-size: 12px;
  letter-spacing: .22em;
}

.contact-layout {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, .74fr);
  gap: 56px;
  align-items: start;
  padding: 88px 0 96px;
}

.contact-intro p {
  max-width: 620px;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 32px 70px var(--shadow);
}

.contact-form label {
  color: var(--steel);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.contact-form input {
  min-height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(242, 242, 239, .34);
  outline-offset: 2px;
}

.contact-form .button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .statement,
  .simple-page,
  .portfolio-page,
  .contact-layout {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

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

  .nav-button {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 70px 0 82px;
  }

  .hero-mark {
    order: -1;
    justify-self: start;
    width: min(240px, 72vw);
  }

  .statement,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-page {
    padding: 58px 0 72px;
  }

  .portfolio-intro {
    margin-bottom: 38px;
  }

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

  .policyvector-mark,
  .binthere-mark {
    min-height: 74px;
    justify-content: start;
    border-right: 0;
    border-bottom: 1px solid currentColor;
    padding-bottom: 16px;
  }

  .portfolio-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .binthere-page {
    width: min(100% - 28px, 680px);
    min-height: auto;
    padding: 70px 0 82px;
  }

  .legal-page {
    width: min(100% - 28px, 680px);
    padding: 58px 0 72px;
  }

  .binthere-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .binthere-cta {
    width: 100%;
  }

  .contact-form {
    padding: 20px;
  }
}
