:root {
  color-scheme: dark;
  --ink: #09090b;
  --ink-soft: #0f0f12;
  --paper: #f1efe9;
  --muted: #9b989f;
  --line: rgba(241, 239, 233, 0.15);
  --line-strong: rgba(241, 239, 233, 0.28);
  --uv: #d8d1ff;
  --uv-deep: #9d85e9;
  --coral: #f27f70;
  --solar: #f6c653;
  --cyan: #56dceb;
  --gutter: clamp(20px, 4.5vw, 74px);
  --content: 1540px;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --mono: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--ink);
  background: var(--uv);
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 82px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 15px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 11, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  color: #15131b;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  color: #c2bfc5;
  font-size: 0.79rem;
}

.site-nav a {
  position: relative;
  padding: 7px 0;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-index {
  display: flex;
  align-items: baseline;
  justify-self: end;
  gap: 14px;
  text-decoration: none;
}

.header-index span {
  color: var(--muted);
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.header-index strong {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
}

.catalog-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
  min-height: min(820px, calc(100svh - 82px));
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.catalog-intro::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 88%, rgba(181, 137, 255, 0.14), transparent 27rem),
    radial-gradient(circle at 88% 18%, rgba(246, 198, 83, 0.08), transparent 25rem);
  content: "";
}

.catalog-intro::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 92px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
  content: "";
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(46px, 7vh, 94px) var(--gutter) clamp(54px, 8vh, 100px);
}

.overline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(62px, 12vh, 134px);
  color: #aaa7ae;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-copy h1 {
  max-width: 920px;
  margin-bottom: clamp(34px, 5vh, 62px);
  font-size: clamp(4rem, 9.6vw, 10rem);
  font-weight: 540;
  letter-spacing: -0.077em;
  line-height: 0.78;
}

.intro-lead {
  max-width: 640px;
  margin: 0;
  color: #c3c0c7;
  font-size: clamp(1.05rem, 1.45vw, 1.42rem);
  line-height: 1.52;
}

.catalog-ledger {
  display: grid;
  align-content: end;
  padding: clamp(34px, 5vw, 70px);
  border-left: 1px solid var(--line);
  background: rgba(13, 13, 16, 0.72);
}

.catalog-ledger > p {
  margin-bottom: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-ledger > a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: color 220ms ease, padding-left 280ms var(--ease);
}

.catalog-ledger > a:last-of-type {
  border-bottom: 1px solid var(--line);
}

.catalog-ledger > a:hover {
  padding-left: 8px;
  color: var(--uv);
}

.catalog-ledger a > span {
  grid-row: 1 / span 2;
  padding-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.catalog-ledger a > strong {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 520;
}

.catalog-ledger a > small {
  color: var(--muted);
  font-size: 0.72rem;
}

.ledger-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 17px;
  margin-top: 28px;
  color: #aaa7ae;
  font-size: 0.69rem;
}

.ledger-note span:not(:last-child)::after {
  margin-left: 17px;
  color: #4e4b52;
  content: "/";
}

.instrument {
  position: relative;
  padding: clamp(74px, 9vw, 150px) var(--gutter);
  overflow: hidden;
}

.instrument-dimension {
  background: #0a0a0c;
}

.instrument-solar {
  color: #171613;
  background: #e8e2d6;
}

.instrument-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(110px, 0.32fr) minmax(0, 1.45fr) minmax(150px, 0.45fr);
  align-items: end;
  gap: 28px;
  max-width: var(--content);
  margin: 0 auto clamp(40px, 5vw, 74px);
}

.instrument-number {
  display: grid;
  gap: 3px;
}

.instrument-number span,
.instrument-title > p,
.instrument-status span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.instrument-solar .instrument-number span,
.instrument-solar .instrument-title > p,
.instrument-solar .instrument-status span {
  color: #69655c;
}

.instrument-number strong {
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
}

.instrument-title > p {
  margin-bottom: 12px;
}

.instrument-title h2 {
  margin-bottom: 0;
  font-size: clamp(4.1rem, 9.6vw, 10.5rem);
  font-weight: 540;
  letter-spacing: -0.078em;
  line-height: 0.76;
}

.instrument-dimension .instrument-title h2 span {
  color: var(--uv);
}

.instrument-solar .instrument-title h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.065em;
}

.instrument-status {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  padding-bottom: 5px;
}

.instrument-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83d990;
  box-shadow: 0 0 0 5px rgba(131, 217, 144, 0.1);
}

.instrument-solar .instrument-status i {
  background: var(--solar);
  box-shadow: 0 0 0 5px rgba(246, 198, 83, 0.2);
}

.instrument-visual {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto clamp(52px, 7vw, 104px);
  padding: clamp(24px, 5.5vw, 88px) clamp(14px, 5vw, 80px) 0;
  overflow: hidden;
}

.dimension-visual {
  border: 1px solid rgba(216, 209, 255, 0.18);
  background:
    radial-gradient(circle at 50% 43%, rgba(181, 137, 255, 0.22), transparent 37%),
    #111015;
}

.solar-visual {
  border: 1px solid rgba(23, 22, 19, 0.18);
  background:
    radial-gradient(circle at 50% 46%, rgba(246, 198, 83, 0.28), transparent 34%),
    #151412;
}

.instrument-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.42));
}

.instrument-visual figcaption {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin: clamp(22px, 3.2vw, 44px) calc(clamp(14px, 5vw, 80px) * -1) 0;
  padding: 15px 20px;
  border-top: 1px solid rgba(241, 239, 233, 0.13);
  color: #9f9ba3;
  background: rgba(9, 9, 11, 0.56);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visual-field {
  position: absolute;
  inset: 8% 7% 20%;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  opacity: 0.45;
  transform: skewX(-14deg);
}

.visual-field span {
  border-left: 1px solid rgba(216, 209, 255, 0.08);
}

.visual-field span:nth-child(2) {
  background: linear-gradient(180deg, transparent, rgba(242, 127, 112, 0.1), transparent);
}

.visual-field span:nth-child(4) {
  background: linear-gradient(180deg, transparent, rgba(120, 189, 242, 0.08), transparent);
}

.orbit {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(246, 198, 83, 0.15);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.orbit-a {
  width: min(72vw, 1000px);
  height: min(34vw, 480px);
}

.orbit-b {
  width: min(48vw, 690px);
  height: min(22vw, 320px);
}

.instrument-story {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: clamp(48px, 8vw, 140px);
  max-width: var(--content);
  margin: 0 auto clamp(56px, 8vw, 108px);
}

.story-statement {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.3vw, 6rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.instrument-solar .story-statement {
  font-family: var(--serif);
  font-weight: 400;
}

.story-copy {
  align-self: end;
}

.story-copy > p {
  margin-bottom: 30px;
  color: #aaa6af;
  font-size: clamp(0.98rem, 1.2vw, 1.16rem);
  line-height: 1.68;
}

.instrument-solar .story-copy > p {
  color: #5d5951;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}

.product-link span {
  font-size: 0.86rem;
}

.product-link strong {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 600;
}

.product-link i {
  font-style: normal;
  transition: transform 260ms var(--ease);
}

.product-link:hover {
  border-color: var(--uv);
  color: var(--ink);
  background: var(--uv);
}

.instrument-solar .product-link {
  border-color: rgba(23, 22, 19, 0.36);
}

.instrument-solar .product-link:hover {
  border-color: var(--solar);
  background: var(--solar);
}

.product-link:hover i {
  transform: translate(3px, -3px);
}

.instrument-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.instrument-solar .instrument-facts {
  border-color: rgba(23, 22, 19, 0.2);
}

.instrument-facts div {
  padding: 24px 22px;
}

.instrument-facts div + div {
  border-left: 1px solid var(--line);
}

.instrument-solar .instrument-facts div + div {
  border-color: rgba(23, 22, 19, 0.2);
}

.instrument-facts dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instrument-solar .instrument-facts dt {
  color: #6e695f;
}

.instrument-facts dd {
  margin-bottom: 0;
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  font-weight: 520;
}

.closing-note {
  padding: clamp(78px, 10vw, 160px) var(--gutter);
  color: #11110f;
  background: var(--paper);
}

.closing-note .overline {
  margin: 0 auto clamp(68px, 9vw, 138px);
  color: #6f6b67;
  max-width: var(--content);
}

.closing-note > div {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 70px;
  max-width: var(--content);
  margin: 0 auto clamp(58px, 7vw, 100px);
}

.closing-note h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 7.4vw, 8rem);
  font-weight: 540;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.closing-note > div p {
  max-width: 520px;
  margin-bottom: 0;
  color: #5d5955;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.closing-note > a {
  display: flex;
  justify-content: space-between;
  max-width: var(--content);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(17, 17, 15, 0.25);
  border-bottom: 1px solid rgba(17, 17, 15, 0.25);
  font-size: 0.84rem;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 112px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  color: #8e8b92;
  background: #080809;
  font-size: 0.7rem;
}

.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

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

.site-footer a:hover {
  color: var(--paper);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .intro-copy {
    min-height: 680px;
  }

  .catalog-ledger {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .catalog-ledger > p,
  .ledger-note {
    grid-column: 1 / -1;
  }

  .instrument-heading {
    grid-template-columns: 90px 1fr;
  }

  .instrument-status {
    grid-column: 2;
    justify-self: start;
  }

  .instrument-story,
  .closing-note > div {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .story-copy {
    max-width: 680px;
  }

  .instrument-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .instrument-facts div:nth-child(3) {
    border-left: 0;
  }

  .instrument-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .instrument-solar .instrument-facts div:nth-child(n + 3) {
    border-color: rgba(23, 22, 19, 0.2);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
  }

  .header-index span {
    display: none;
  }

  .catalog-intro::after {
    background-size: 100% 68px;
  }

  .intro-copy {
    min-height: 600px;
    padding-top: 40px;
  }

  .overline {
    align-items: flex-start;
    margin-bottom: 78px;
    font-size: 0.56rem;
  }

  .overline span:last-child {
    max-width: 145px;
    text-align: right;
  }

  .intro-copy h1 {
    font-size: clamp(3.75rem, 21vw, 6.2rem);
    line-height: 0.8;
  }

  .intro-lead {
    font-size: 1rem;
  }

  .catalog-ledger {
    grid-template-columns: 1fr;
    padding: 36px var(--gutter);
  }

  .catalog-ledger > p,
  .ledger-note {
    grid-column: auto;
  }

  .instrument {
    padding-top: 70px;
    padding-bottom: 78px;
  }

  .instrument-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 38px;
  }

  .instrument-number {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 10px;
  }

  .instrument-number strong {
    font-size: 0.8rem;
  }

  .instrument-title h2 {
    font-size: clamp(3.8rem, 19vw, 6.6rem);
    line-height: 0.82;
  }

  .instrument-status {
    grid-column: auto;
  }

  .instrument-visual {
    margin-right: calc(var(--gutter) * -0.45);
    margin-left: calc(var(--gutter) * -0.45);
    padding: 22px 10px 0;
  }

  .instrument-visual figcaption {
    margin: 20px -10px 0;
    padding: 13px 12px;
    font-size: 0.52rem;
  }

  .instrument-visual figcaption span:last-child {
    text-align: right;
  }

  .orbit-a {
    width: 125vw;
    height: 64vw;
  }

  .orbit-b {
    width: 82vw;
    height: 42vw;
  }

  .story-statement {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
  }

  .product-link {
    padding: 16px;
  }

  .instrument-facts {
    grid-template-columns: 1fr;
  }

  .instrument-facts div + div,
  .instrument-facts div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .instrument-solar .instrument-facts div + div,
  .instrument-solar .instrument-facts div:nth-child(3) {
    border-color: rgba(23, 22, 19, 0.2);
  }

  .closing-note .overline {
    margin-bottom: 76px;
  }

  .closing-note h2 {
    font-size: clamp(3.2rem, 17vw, 5.6rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    min-height: 150px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
