/* Orbit — landing styles */

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/syne-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/syne-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/literata-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/literata-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b0c10;
  --ink-soft: #151821;
  --paper: #f3efe6;
  --paper-muted: #c9c2b4;
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.35);
  --focus: #e8d7b0;
  --line: rgba(243, 239, 230, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Literata", Georgia, serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --measure: 40rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

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

a:focus-visible,
.maker__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
}

.skip-link:focus {
  top: 1rem;
}

.site {
  position: relative;
  overflow-x: clip;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(196, 165, 116, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(90, 110, 150, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 70%, rgba(196, 165, 116, 0.08), transparent 50%),
    linear-gradient(180deg, #0b0c10 0%, #10131a 45%, #0b0c10 100%);
}

.sky__stars {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image:
    radial-gradient(2.5px 2.5px at 12% 18%, rgba(243, 239, 230, 0.95), transparent),
    radial-gradient(2px 2px at 28% 42%, rgba(243, 239, 230, 0.8), transparent),
    radial-gradient(2.5px 2.5px at 44% 12%, rgba(243, 239, 230, 0.9), transparent),
    radial-gradient(2px 2px at 62% 30%, rgba(243, 239, 230, 0.75), transparent),
    radial-gradient(3px 3px at 78% 16%, rgba(243, 239, 230, 0.95), transparent),
    radial-gradient(2px 2px at 88% 48%, rgba(243, 239, 230, 0.7), transparent),
    radial-gradient(2px 2px at 18% 68%, rgba(243, 239, 230, 0.7), transparent),
    radial-gradient(2.5px 2.5px at 52% 74%, rgba(243, 239, 230, 0.85), transparent),
    radial-gradient(2px 2px at 70% 62%, rgba(243, 239, 230, 0.65), transparent),
    radial-gradient(2px 2px at 36% 88%, rgba(243, 239, 230, 0.7), transparent);
  animation: drift 40s linear infinite;
}

/*
  Atom-like orbits around a soft circular ring:
  - Ring stays face-on (perfect circle)
  - Moderate tilt (not edge-on) so bodies glide around in front / vanish behind
  - Slow precession = wisselend parcours per “elektron”
*/
.sky__globe {
  --globe-size: min(68vw, 30rem);
  position: absolute;
  left: 50%;
  top: 36%;
  width: var(--globe-size);
  height: var(--globe-size);
  translate: -50% -50%;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.sky__ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(196, 165, 116, 0.26);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(196, 165, 116, 0.06),
    rgba(196, 165, 116, 0.02) 55%,
    transparent 70%
  );
  box-shadow: 0 0 32px rgba(196, 165, 116, 0.06);
  transform: translateZ(0);
}

.sky__path {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

/*
  Inclination ~35–50° → open ellipses around the globe (atom shells),
  NOT ~80° (that reads as sliding on the diameter).
*/
.sky__path--1 {
  --orbit-r: calc(var(--globe-size) * 0.46);
  --orbit-duration: 18s;
  --orbit-delay: 0s;
  --orbit-dir: normal;
  --precess-duration: 48s;
  --precess-delay: 0s;
  transform: rotateZ(0deg) rotateX(42deg);
}

.sky__path--2 {
  --orbit-r: calc(var(--globe-size) * 0.38);
  --orbit-duration: 26s;
  --orbit-delay: -7s;
  --orbit-dir: reverse;
  --precess-duration: 68s;
  --precess-delay: -14s;
  transform: rotateZ(70deg) rotateX(48deg);
}

.sky__path--3 {
  --orbit-r: calc(var(--globe-size) * 0.52);
  --orbit-duration: 34s;
  --orbit-delay: -15s;
  --orbit-dir: normal;
  --precess-duration: 82s;
  --precess-delay: -30s;
  transform: rotateZ(140deg) rotateX(36deg);
}

.sky__precess {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: orbit-precess var(--precess-duration) linear infinite;
  animation-delay: var(--precess-delay);
}

.sky__spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: orbit-spin var(--orbit-duration) linear infinite var(--orbit-dir);
  animation-delay: var(--orbit-delay);
}

.sky__body {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 0.9rem;
  margin: -0.45rem;
  border-radius: 50%;
  background: rgba(196, 165, 116, 0.72);
  box-shadow:
    0 0 14px rgba(196, 165, 116, 0.55),
    0 0 28px rgba(196, 165, 116, 0.35);
  filter: blur(1.6px);
  transform: translateZ(var(--orbit-r));
  animation: orbit-depth var(--orbit-duration) linear infinite var(--orbit-dir);
  animation-delay: var(--orbit-delay);
}

.sky__body--1 {
  width: 1rem;
  height: 1rem;
  margin: -0.5rem;
}

.sky__body--2 {
  width: 0.72rem;
  height: 0.72rem;
  margin: -0.36rem;
}

.sky__body--3 {
  width: 0.58rem;
  height: 0.58rem;
  margin: -0.29rem;
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2.5%);
  }
}

/* Slow drift of each orbital plane (atom-like changing path) */
@keyframes orbit-precess {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes orbit-spin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

/*
  Around the globe: large & bright in front, fade out behind, reappear.
  Timing matches orbit-spin (incl. reverse via animation-direction).
*/
@keyframes orbit-depth {
  0%,
  100% {
    opacity: 0.9;
    transform: translateZ(var(--orbit-r)) scale(1.25);
    filter: blur(1.2px) brightness(1.15);
  }
  15% {
    opacity: 0.85;
    transform: translateZ(var(--orbit-r)) scale(1.1);
    filter: blur(1.6px) brightness(1);
  }
  35% {
    opacity: 0.4;
    transform: translateZ(var(--orbit-r)) scale(0.85);
    filter: blur(2.4px) brightness(0.85);
  }
  50% {
    opacity: 0;
    transform: translateZ(var(--orbit-r)) scale(0.4);
    filter: blur(3.5px) brightness(0.4);
  }
  65% {
    opacity: 0.4;
    transform: translateZ(var(--orbit-r)) scale(0.85);
    filter: blur(2.4px) brightness(0.85);
  }
  85% {
    opacity: 0.85;
    transform: translateZ(var(--orbit-r)) scale(1.1);
    filter: blur(1.6px) brightness(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.hero {
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding-block: 4rem 3.5rem;
}

.hero__brand {
  margin: 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--paper);
  animation: rise 1.1s var(--ease) both;
}

.hero__headline {
  margin: 1.25rem 0 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--accent);
  animation: rise 1.1s var(--ease) 0.12s both;
}

.hero__lede {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  color: var(--paper-muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  animation: rise 1.1s var(--ease) 0.22s both;
}

.hero__scroll {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--paper-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  animation: rise 1.1s var(--ease) 0.32s both;
}

.hero__scroll::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
}

.section__label {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.prose {
  max-width: var(--measure);
}

.prose p {
  margin: 0 0 1.25rem;
}

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

.makers {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .makers {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.maker {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.maker__figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-soft);
}

.maker__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.maker:hover .maker__figure img {
  transform: scale(1.03);
}

.maker__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.maker__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.maker__link:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
  max-width: 42rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

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

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

.site-footer__legal {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  align-items: center;
}

.site-footer__legal a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer__legal a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}
