:root {
  --ink: #11120f;
  --ink-soft: #272923;
  --paper: #f3efe6;
  --paper-deep: #e6dfd1;
  --muted: #8e8c84;
  --line: rgba(243, 239, 230, 0.18);
  --line-dark: rgba(17, 18, 15, 0.16);
  --accent: #ff6338;
  --accent-pale: #ffb293;
  --white: #fffdf8;
  --shadow: rgba(0, 0, 0, 0.32);
  --display: "Syne", sans-serif;
  --body: "DM Sans", sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 1.35rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

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

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  padding: 0 var(--page-pad);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(17, 18, 15, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  overflow: visible;
}

.brand-mark circle:first-child,
.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.brand-mark circle:last-child {
  fill: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

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

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

.nav-contact {
  padding: 0.65rem 1rem;
  color: var(--ink);
  border-radius: 999px;
  background: var(--accent);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(9rem, 16vh, 11rem) var(--page-pad) 5rem;
  color: var(--paper);
  background: var(--ink);
}

.hero::after {
  position: absolute;
  right: -15vw;
  bottom: -40vw;
  width: 75vw;
  height: 75vw;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 99, 56, 0.16), transparent 64%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(63rem, 78vw);
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  margin-right: 0.8rem;
  vertical-align: middle;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.1rem, 9.5vw, 9.5rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero-intro {
  max-width: 41rem;
  margin: 2.5rem 0 2rem;
  color: rgba(243, 239, 230, 0.72);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.text-link,
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span,
.product-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.product-link:hover span {
  transform: translate(0.2rem, 0.12rem);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  right: clamp(-12rem, -4vw, -3rem);
  bottom: clamp(2rem, 8vh, 6rem);
  width: clamp(22rem, 38vw, 40rem);
  aspect-ratio: 1;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(243, 239, 230, 0.24);
  border-radius: 50%;
}

.orbit-ring--outer {
  inset: 0;
  animation: orbit-spin 40s linear infinite;
}

.orbit-ring--outer::before,
.orbit-ring--inner::before {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  border-radius: 50%;
  background: var(--accent);
}

.orbit-ring--outer::before {
  top: 13%;
  left: 13%;
}

.orbit-ring--inner {
  inset: 18%;
  border-style: dashed;
  animation: orbit-spin 28s linear infinite reverse;
}

.orbit-ring--inner::before {
  right: 9%;
  bottom: 20%;
  background: var(--paper);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 28%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--accent);
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 700;
  transform: translate(-50%, -50%);
}

.orbit-product {
  position: absolute;
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.orbit-product--1 { top: 7%; left: 49%; }
.orbit-product--2 { right: 9%; bottom: 18%; }
.orbit-product--3 { bottom: 8%; left: 14%; }

.hero-index {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: var(--page-pad);
  display: flex;
  gap: 2rem;
  color: rgba(243, 239, 230, 0.46);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.products {
  padding: clamp(6rem, 10vw, 10rem) var(--page-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.5fr) 1.5fr;
  align-items: start;
  max-width: 90rem;
  margin: 0 auto clamp(6rem, 12vw, 11rem);
}

.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading h2 {
  max-width: 12ch;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.75fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  max-width: 100rem;
  margin: 0 auto clamp(8rem, 15vw, 15rem);
}

.product--reverse {
  grid-template-columns: minmax(20rem, 0.75fr) minmax(0, 1.45fr);
}

.product--reverse .product-visual {
  grid-column: 2;
  grid-row: 1;
}

.product--reverse .product-copy {
  grid-column: 1;
  grid-row: 1;
}

.product-visual {
  position: relative;
}

.window-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: #151922;
  box-shadow: 0 2.2rem 5rem -2rem var(--shadow);
  transform: perspective(1200px) rotateY(0.9deg) rotateX(0.4deg);
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 450ms ease;
}

.product--reverse .window-frame {
  transform: perspective(1200px) rotateY(-0.9deg) rotateX(0.4deg);
}

.product-visual:hover .window-frame {
  box-shadow: 0 3rem 6rem -2rem var(--shadow);
  transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-0.35rem);
}

.window-bar {
  display: flex;
  align-items: center;
  height: 2.6rem;
  padding: 0 1rem;
  gap: 0.42rem;
  color: rgba(255, 255, 255, 0.62);
  background: #20242c;
}

.window-bar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-bar span:first-child {
  background: var(--product-accent);
}

.window-bar b {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.window-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.product-stamp {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  display: grid;
  width: clamp(4.5rem, 7vw, 7rem);
  aspect-ratio: 1;
  place-items: center;
  border: 0.55rem solid var(--paper);
  border-radius: 50%;
  color: var(--ink);
  background: var(--product-accent);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}

.product--reverse .product-stamp {
  right: auto;
  left: -1.5rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.3vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.product-summary {
  margin: 1.8rem 0 1.25rem;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
}

.product-description {
  color: #5d5c56;
}

.feature-list {
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 0.78rem 0 0.78rem 1.5rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.9rem;
}

.feature-list li::before {
  position: absolute;
  top: 1.08rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-radius: 50%;
  background: var(--product-accent);
}

.about {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 0.75fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(7rem, 11vw, 11rem) var(--page-pad);
  color: var(--paper);
  background: var(--ink-soft);
}

.about-number {
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.about-copy p:last-child {
  max-width: 45rem;
  margin-top: 2rem;
  color: rgba(243, 239, 230, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
}

.principles {
  margin: 0;
}

.principles div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.principles dt {
  color: var(--accent);
  font-size: 0.68rem;
}

.principles dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
}

.contact {
  padding: clamp(7rem, 12vw, 12rem) var(--page-pad);
  background: var(--accent);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.5fr);
  gap: 3rem;
  align-items: end;
}

.contact-row h2 {
  max-width: 13ch;
}

.contact-row a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem var(--page-pad);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.74rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
}

.brand--footer .brand-mark {
  width: 1.7rem;
  height: 1.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .hero-copy {
    width: 100%;
  }

  .hero-orbit {
    opacity: 0.5;
  }

  .section-heading,
  .product,
  .product--reverse,
  .about,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1rem;
  }

  .product--reverse .product-visual,
  .product--reverse .product-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .product-copy {
    max-width: 44rem;
  }

  .about-number {
    margin-bottom: 1rem;
  }

  .principles {
    margin-top: 2rem;
  }

  .contact-row a {
    max-width: 32rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 4.7rem;
  }

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

  .hero {
    min-height: 52rem;
    padding-top: 8rem;
  }

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

  .hero-orbit {
    right: -8rem;
    bottom: 2rem;
    width: 23rem;
  }

  .hero-index {
    display: none;
  }

  .section-heading {
    margin-bottom: 5rem;
  }

  .product {
    gap: 3.5rem;
    margin-bottom: 8rem;
  }

  .product-stamp {
    right: -0.5rem;
    bottom: -1rem;
  }

  .product--reverse .product-stamp {
    left: -0.5rem;
  }

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

  .site-footer p:last-child {
    text-align: left;
  }
}

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

  .orbit-ring,
  .reveal {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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