:root {
  --ink: #111a17;
  --ink-soft: #25322e;
  --paper: #f3f1eb;
  --white: #fffef9;
  --mint: #bce7d2;
  --mint-bright: #8dd8b4;
  --line: rgba(17, 26, 23, 0.17);
  --muted: #5f6a66;
  --max-width: 1240px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}

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

.site-header,
main > section,
footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max-width));
  padding: 1.4rem var(--pad);
  transform: translateX(-50%);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(243, 241, 235, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wordmark-dot {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--mint-bright);
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
}

nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav a,
.text-link {
  transition: opacity 160ms ease;
}

nav a:hover,
.text-link:hover {
  opacity: 0.58;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: min(900px, 100svh);
  padding: clamp(8.5rem, 15vh, 11rem) var(--pad) clamp(5rem, 10vh, 8rem);
}

.eyebrow,
.section-number,
.product-type,
.principle > p {
  margin: 0 0 1.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 820px;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 8.3vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 2.4rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.85rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.2rem;
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  width: 100%;
  justify-self: end;
}

.orbit,
.core,
.satellite {
  position: absolute;
  border-radius: 50%;
}

.orbit {
  border: 1px solid rgba(17, 26, 23, 0.28);
}

.orbit-large {
  inset: 3%;
  animation: orbit-turn 28s linear infinite;
}

.orbit-large::before,
.orbit-small::after {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--ink);
  border-radius: 50%;
  content: "";
}

.orbit-large::before {
  top: 12%;
  right: 12%;
}

.orbit-small {
  inset: 21%;
  border-style: dashed;
  animation: orbit-turn 21s linear infinite reverse;
}

.orbit-small::after {
  bottom: 8%;
  left: 16%;
}

.core {
  inset: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  box-shadow: 0 30px 80px rgba(17, 26, 23, 0.22);
}

.core span {
  margin-bottom: 0.25rem;
  color: var(--mint);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.core strong {
  max-width: 8ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.02;
}

.satellite {
  width: clamp(0.8rem, 1.5vw, 1.25rem);
  aspect-ratio: 1;
  background: var(--mint-bright);
  box-shadow: 0 0 0 0.6rem rgba(141, 216, 180, 0.2);
}

.satellite-one {
  top: 0;
  left: 48%;
}

.satellite-two {
  right: 3%;
  bottom: 22%;
}

.satellite-three {
  bottom: 14%;
  left: 8%;
}

.company {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  padding: clamp(6rem, 11vw, 10rem) var(--pad);
  border-top: 1px solid var(--line);
}

.company-copy {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 8vw, 8rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.company-detail {
  align-self: end;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.7;
}

.company-detail p:last-child {
  margin-bottom: 0;
}

.portfolio {
  max-width: none;
  width: 100%;
  padding: clamp(6rem, 11vw, 10rem) max(var(--pad), calc((100vw - var(--max-width)) / 2 + var(--pad)));
  background: var(--ink);
  color: var(--white);
}

.portfolio-heading {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.section-number-light {
  color: rgba(255, 254, 249, 0.56);
}

.portfolio h2 {
  max-width: 780px;
  text-align: right;
}

.product-card {
  display: grid;
  grid-template-columns: 0.42fr 1fr auto;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--mint);
  color: var(--ink);
  transition: background-color 200ms ease, transform 200ms ease;
}

.product-card:hover {
  background: var(--mint-bright);
  transform: translateY(-4px);
}

.product-mark {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.product-mark span {
  position: absolute;
  width: 48%;
  height: 48%;
  background: var(--ink);
  border-radius: 50% 50% 8% 50%;
}

.product-mark span:nth-child(1) {
  top: 0;
  left: 0;
}

.product-mark span:nth-child(2) {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.product-mark span:nth-child(3) {
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}

.product-mark span:nth-child(4) {
  bottom: 0;
  left: 0;
  transform: rotate(270deg);
}

.product-type {
  margin-bottom: 1.3rem;
  color: rgba(17, 26, 23, 0.65);
}

.product-copy h3 {
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.product-copy > p:last-child {
  max-width: 510px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.product-arrow {
  align-self: start;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  transition: transform 200ms ease;
}

.product-card:hover .product-arrow {
  transform: translate(0.3rem, -0.3rem);
}

.principle {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  padding: clamp(6rem, 12vw, 11rem) var(--pad);
}

blockquote {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.77rem;
}

footer p {
  margin: 0;
}

.wordmark-footer {
  color: var(--ink);
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-art {
    width: min(86vw, 470px);
    justify-self: center;
  }

  .company,
  .principle {
    grid-template-columns: 1fr;
  }

  .company-copy {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .company-detail {
    max-width: 620px;
  }

  .portfolio-heading {
    display: block;
  }

  .portfolio h2 {
    text-align: left;
  }

  .product-card {
    grid-template-columns: 0.5fr 1fr;
    gap: 2rem;
  }

  .product-arrow {
    position: absolute;
    right: 2.2rem;
  }

  .product-card {
    position: relative;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-block: 1.15rem;
  }

  nav {
    gap: 1rem;
    font-size: 0.66rem;
  }

  .hero {
    padding-top: 8rem;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }

  .hero-art {
    width: 92vw;
    max-width: 380px;
  }

  .company,
  .principle {
    gap: 2.7rem;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-mark {
    width: 42%;
    margin-inline: 0;
  }

  .product-arrow {
    top: 2rem;
    right: 2rem;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
