@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
}

@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/fraunces-italic-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-latin.woff2') format('woff2');
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-bold.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg0: #070a12;
  --bg1: #0b1222;
  --bg2: #10182a;
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, 0.68);
  --faint: rgba(234, 240, 255, 0.42);
  --line: rgba(234, 240, 255, 0.12);
  --line-strong: rgba(234, 240, 255, 0.22);
  --cyan: #8ae0ff;
  --violet: #b28dff;
  --warm: #d7b48a;
  --shell: min(1120px, calc(100% - 40px));
  --display: Fraunces, Georgia, 'Times New Roman', serif;
  --heading: Inter, 'Instrument Sans', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 600px at 18% 8%, rgba(138, 224, 255, 0.16), transparent 60%),
    radial-gradient(900px 520px at 84% 16%, rgba(178, 141, 255, 0.14), transparent 58%),
    radial-gradient(800px 520px at 50% 100%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

body.is-splash {
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--text);
  color: var(--bg0);
  border-radius: 999px;
}

.skip:focus {
  left: 12px;
}

.top-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  padding: 14px 18px 0;
  pointer-events: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
}

.lang-switch a {
  appearance: none;
  min-width: 0;
  padding: 10px 4px;
  border-radius: 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--text);
  border-bottom-color: rgba(138, 224, 255, 0.55);
  outline: none;
}

.lang-switch a.active {
  color: var(--text);
  background: transparent;
  border-bottom-color: rgba(138, 224, 255, 0.35);
}

.lang-switch .lang-sep {
  color: var(--faint);
  opacity: 0.45;
  font-size: 0.7rem;
  letter-spacing: 0;
  user-select: none;
}

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

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* —— Splash —— */
.splash {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.splash-main {
  display: grid;
  place-items: center;
  padding: 48px 20px 56px;
  text-align: center;
}

.splash-brand {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 18px;
  animation: rise 0.9s ease both;
}

.splash-copy {
  max-width: 36ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.98rem;
  animation: rise 0.9s ease 0.08s both;
}

.splash-copy + .splash-copy {
  margin-top: 8px;
  animation-delay: 0.16s;
}

.splash-main .partner-access {
  display: inline-block;
  margin-top: 28px;
  animation: rise 0.9s ease 0.24s both;
}

.partner-access {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.partner-access:hover,
.partner-access:focus-visible {
  color: var(--text);
  border-bottom-color: rgba(138, 224, 255, 0.55);
  outline: none;
}

/* —— Partners catalog —— */
.page {
  position: relative;
  z-index: 1;
  padding: 12px 0 72px;
}

.page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
}

.brand-link {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-link span {
  color: var(--cyan);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.back-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.back-link:hover {
  color: var(--text);
}

.page-hero {
  margin-bottom: 40px;
  max-width: 42rem;
}

.page-hero h1 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 12px 0 16px;
}

.page-hero p {
  color: var(--muted);
  max-width: 48ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), transparent 55%),
    rgba(10, 16, 30, 0.55);
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.product-tile::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tile-accent) 34%, transparent), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.product-tile:hover,
.product-tile:focus-visible {
  border-color: color-mix(in srgb, var(--tile-accent) 55%, var(--line-strong));
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 55%),
    rgba(12, 18, 34, 0.72);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tile-accent) 28%, transparent);
  outline: none;
}

.tile-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 40%, var(--line));
  color: var(--tile-accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.tile-eyebrow {
  margin-bottom: 8px;
}

.product-tile h2 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.product-tile p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.tile-meta {
  margin-top: 18px;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* —— Product detail —— */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px 48px;
  align-items: start;
  margin-bottom: 64px;
}

.product-visual {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 28%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 42%),
    radial-gradient(circle at 78% 72%, rgba(178, 141, 255, 0.18), transparent 36%),
    linear-gradient(165deg, #121a2c, #0a101c 70%);
  overflow: hidden;
}

.product-visual::after {
  content: '';
  position: absolute;
  inset: 18% 16%;
  border: 1px solid rgba(234, 240, 255, 0.08);
  border-radius: 18px;
}

.product-visual .mark {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 85%, white);
}

.product-visual .orbit {
  position: absolute;
  inset: 22% 18%;
  border-radius: 50%;
  border: 1px dashed rgba(234, 240, 255, 0.14);
  animation: spin 48s linear infinite;
}

.product-visual .node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 70%, transparent);
}

.product-visual .node:nth-child(3) { left: 28%; top: 34%; }
.product-visual .node:nth-child(4) { right: 26%; top: 42%; background: var(--violet); }
.product-visual .node:nth-child(5) { left: 46%; bottom: 28%; background: var(--warm); }

.product-layout.has-gallery {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.product-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  align-self: start;
}

.gallery-shot {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0a101c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: transform 0.35s ease, border-color 0.25s ease, box-shadow 0.35s ease;
}

.gallery-shot:hover,
.gallery-shot:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  outline: none;
}

.gallery-shot:hover {
  transform: translateY(-2px);
}

.gallery-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
  pointer-events: none;
}

.gallery-shot:hover img {
  transform: scale(1.03);
}

.gallery-shot.shot-1 {
  grid-row: 1 / 3;
  min-height: 420px;
}

.gallery-shot.shot-2,
.gallery-shot.shot-3,
.gallery-shot.shot-4,
.gallery-shot.shot-5,
.gallery-shot.shot-6,
.gallery-shot.shot-7,
.gallery-shot.shot-8 {
  min-height: 140px;
}

.gallery-shot.shot-2 img,
.gallery-shot.shot-3 img,
.gallery-shot.shot-4 img,
.gallery-shot.shot-5 img,
.gallery-shot.shot-6 img,
.gallery-shot.shot-7 img,
.gallery-shot.shot-8 img {
  object-fit: cover;
  object-position: top center;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 14, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 12px 8px;
  align-items: center;
  transform: translateY(12px) scale(0.985);
  transition: transform 0.32s ease;
}

.lightbox.is-visible .lightbox-frame {
  transform: none;
}

.lightbox-stage {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.lightbox-image {
  display: block;
  max-width: min(92vw, 1000px);
  max-height: min(78vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  background: #070b14;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.lightbox-image.is-fading {
  opacity: 0;
}

.lightbox-caption {
  max-width: 52ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.lightbox-counter {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.lightbox-close,
.lightbox-nav {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 30, 0.72);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(22, 32, 52, 0.92);
  border-color: rgba(138, 224, 255, 0.35);
  outline: none;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-close {
  position: absolute;
  top: -8px;
  right: 0;
  z-index: 2;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 1;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 1;
}

.product-copy .eyebrow {
  margin-bottom: 14px;
}

.product-copy h1 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.product-copy .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-bottom: 28px;
}

.product-body {
  color: rgba(234, 240, 255, 0.78);
  max-width: 46ch;
}

.product-body :global(p + p) {
  margin-top: 1em;
}

.product-body :global(ul) {
  margin: 1em 0 0;
  padding-left: 1.1em;
}

.product-body :global(li + li) {
  margin-top: 0.45em;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--cyan);
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.external-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.external-link:hover {
  border-bottom-color: rgba(138, 224, 255, 0.5);
}

.related {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.related h2 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 10px 0 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-size: 0.82rem;
}

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

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

@media (max-width: 960px) {
  .product-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-layout,
  .product-layout.has-gallery {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 280px;
  }

  .product-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-shot.shot-1 {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-shot.shot-1,
  .gallery-shot.shot-2,
  .gallery-shot.shot-3,
  .gallery-shot.shot-4,
  .gallery-shot.shot-5,
  .gallery-shot.shot-6,
  .gallery-shot.shot-7,
  .gallery-shot.shot-8 {
    min-height: 200px;
  }
}

@media (max-width: 720px) {
  .lightbox {
    padding: 16px 10px;
  }

  .lightbox-frame {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    justify-items: center;
  }

  .lightbox-stage {
    grid-column: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    position: fixed;
  }

  .lightbox-image {
    max-height: min(68vh, 720px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
