/*
 * vestra.lol
 * Same family as vestracorp.com: black, hairlines, one cobalt signal, the horizon.
 * Display: Inter Display Bold (Latin subset). Text: Inter variable. Data: system mono.
 * Both fonts are SIL OFL 1.1; licences in ../fonts/OFL.txt and ../fonts/OFL-Inter.txt.
 */

@font-face {
  font-family: "Vestra Display";
  src: url("../fonts/InterDisplay-Bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Vestra Text";
  src: url("../fonts/Inter-latin-var.woff2") format("woff2-variations"),
       url("../fonts/Inter-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #000;
  --bg-2: #07080a;
  --surface: #0d0f13;
  --surface-2: #14171c;
  --ink: #f2f4f7;
  --ink-2: #b9c0ca;
  --muted: #8c95a2;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --accent: #2563eb;          /* fills: white text on it is 5.2:1 */
  --accent-hover: #1d4ed8;
  --signal: #8ab4ff;          /* accent as text on black: 10:1 */
  --glow: 96, 150, 255;

  --font-display: "Vestra Display", "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Vestra Text", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --max: 1360px;
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --col-gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));

  --space-s: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --space-l: clamp(2.5rem, 2rem + 2vw, 4rem);
  --space-xl: clamp(4.5rem, 3rem + 5vw, 8.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #000;
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------------------------------------------------------------- Nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.62);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

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

.brand img {
  width: 28px;
  height: auto;
}

.nav-links {
  display: none;
  gap: 2rem;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.nav-links a {
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease-out);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-left: auto;
  padding: 0 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0.5rem; }
}

@media (hover: hover) {
  .nav-links a:hover { color: var(--ink); }
  .nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #000; }
}

/* ---------------------------------------------------------- Shared type */

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.3rem + 3.8vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.section {
  position: relative;
  padding-block: var(--space-xl);
}

.section-head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: var(--space-l);
}

.section-note {
  max-width: 34rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (min-width: 960px) {
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: end;
  }
  .section-head .h2 { grid-column: 1 / span 7; }
  .section-head .section-note { grid-column: 9 / span 4; padding-bottom: 0.4rem; }
  .section-head-wide .h2 { grid-column: 1 / span 8; }
}

/* Word mask used by the hero headline (CSS) and section titles (GSAP). */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.04em 0.14em 0;
  margin-bottom: -0.14em;
}

.w > span {
  display: inline-block;
}

/* Links */
.link-inline {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.link-arrow,
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 500;
}

.link-arrow .ico,
.link-quiet .ico {
  transition: transform 0.35s var(--ease-out);
}

.link-quiet {
  min-height: 44px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease-out);
}

@media (hover: hover) {
  .link-inline:hover { text-decoration-color: var(--signal); }
  .link-arrow:hover .ico { transform: translateX(4px); }
  .link-quiet:hover { color: var(--ink); }
  .link-quiet:hover .ico { transform: translate(2px, -2px); }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.btn .ico {
  transition: transform 0.35s var(--ease-out);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
}

.btn:active {
  filter: brightness(0.92);
}

@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-primary:hover .ico { transform: translateX(3px); }
  .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #000; }
  .btn-ghost:hover .ico { transform: translate(2px, -2px); }
}

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 1rem + 9vh, 9rem));
  overflow: clip;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 11.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.1rem + 6vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 35rem;
  margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
  font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
}

.horizon {
  position: relative;
  z-index: 1;
  height: 300px;
  margin-top: 1rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .horizon {
    height: auto;
    aspect-ratio: 1672 / 611;
    margin-top: -4vw;
  }
}

.horizon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  transform-origin: 50% 19%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 58%, transparent 100%);
}

/* Positioned wrapper sits on the arc's apex; GSAP only touches the core inside it. */
.horizon-flare {
  position: absolute;
  left: 50%;
  top: 19%;
  width: min(64vw, 920px);
  aspect-ratio: 3 / 1;
  transform: translate(-50%, -50%);
}

.horizon-flare::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), rgba(var(--glow), 0.28) 45%, rgba(var(--glow), 0) 100%);
  mix-blend-mode: screen;
  opacity: var(--flare, 0.3);
  transform: scale(var(--flare-scale, 1));
}

/* Load-in: pure CSS, so nothing waits on JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .w > span {
    animation: word-up 1.15s var(--ease-expo) both;
    animation-delay: calc(0.1s + var(--i, 0) * 0.055s);
  }
  .rise {
    animation: rise 0.95s var(--ease-expo) both;
    animation-delay: var(--d, 0s);
  }
  .horizon {
    animation: dawn 2.2s var(--ease-expo) 0.2s both;
  }
}

@keyframes word-up {
  from { transform: translateY(108%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes dawn {
  from { opacity: 0; transform: translateY(9%); }
}

/* ------------------------------------------------------- Hub: hero */

/* The hub centres its hero over the horizon, like a launch screen. */
.hero-hub .hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-hub .hero-title {
  max-width: 12em;
  margin-inline: auto;
}

.hero-hub .hero-lede {
  margin-inline: auto;
}

.hero-hub .hero-actions {
  justify-content: center;
}

/* ---------------------------------------------------- Hub: directory */

.directory {
  position: relative;
  z-index: 2;
  margin-top: clamp(-12rem, -9vw, -1rem);
  padding-top: 0;
}

.tiles {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: clamp(16px, 1.6vw, 22px);
  background: var(--line);
  overflow: hidden;
}

.tiles > li {
  display: grid;
  min-width: 0;
  background: var(--bg);
}

.tile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  min-height: clamp(15rem, 12rem + 8vw, 20rem);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.4rem);
  background: var(--bg);
  isolation: isolate;
  transition: background-color 0.5s var(--ease-out);
}

/* A hairline of light that wipes across the top edge on hover. */
.tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--glow), 0), rgba(190, 215, 255, 0.9) 50%, rgba(var(--glow), 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-expo);
}

.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tile-domain {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ease-out);
}

.tile-go {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted);
  transition: transform 0.45s var(--ease-expo), color 0.3s var(--ease-out);
}

.tile-body {
  display: grid;
  align-content: end;
  gap: 0.6rem;
}

.tile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.tile-desc {
  max-width: 34ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.tile-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.tile-price small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.tile-price .tile-price-alt {
  margin-left: auto;
}

@media (hover: hover) {
  .tile:hover { background: var(--bg-2); }
  .tile:hover::before { transform: scaleX(1); }
  .tile:hover .tile-domain { color: var(--signal); }
  .tile:hover .tile-go { color: var(--ink); transform: translate(3px, -3px); }
}

.tile:focus-visible {
  outline-offset: -4px;
  border-radius: 0;
}

/* Console: the wide tile, with the real screenshot bleeding off the edge. */
.tile-console {
  overflow: hidden;
  grid-template-rows: auto auto auto;
}

.tile-shot {
  position: relative;
  margin: 0.5rem calc(-1 * clamp(1.4rem, 1rem + 1.5vw, 2.4rem)) calc(-1 * clamp(1.4rem, 1rem + 1.5vw, 2.4rem)) 0;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
  border-radius: 12px 0 0 0;
  overflow: hidden;
  background: #0a0c0f;
}

.tile-shot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--glow), 0), rgba(190, 215, 255, 0.85) 50%, rgba(var(--glow), 0));
}

.tile-shot img {
  width: 100%;
  height: auto;
  transform-origin: 0 0;
  transition: transform 0.9s var(--ease-expo);
}

@media (hover: hover) {
  .tile-console:hover .tile-shot img { transform: scale(1.025); }
}

@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles > .cell-wide { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .tile-console {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr auto;
    column-gap: var(--space-l);
    min-height: 0;
  }
  .tile-console .tile-top,
  .tile-console .tile-body,
  .tile-console .tile-price { grid-column: 1; }
  .tile-console .tile-shot {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
    margin-top: clamp(1rem, 2vw, 2.5rem);
  }
}

.tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 0.5em;
  color: var(--ink-2);
  white-space: nowrap;
}

.directory-note {
  margin-top: var(--space-m);
  color: var(--muted);
  font-size: 0.92rem;
}

/* ------------------------------------------------------ Hub: passport */

.passport-section {
  border-top: 1px solid var(--line);
  overflow-x: clip;
}

.passport-grid {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}

.passport-copy {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.passport-copy > p:not(.overline) {
  max-width: 30rem;
  color: var(--ink-2);
}

.signs-into {
  width: 100%;
  max-width: 30rem;
  margin-block: 0.25rem 0.75rem;
}

.signs-into li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
}

.signs-into li:last-child {
  border-bottom: 1px solid var(--line);
}

.signs-into code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  text-align: right;
}

/* The orbit: one Passport at the centre, the products circling it. */
.orbit {
  position: relative;
  width: min(78%, 34rem);
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-ring {
  position: absolute;
  inset: var(--inset, 0);
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.orbit-ring:nth-child(1) { --inset: 0%; border-color: var(--line); }
.orbit-ring:nth-child(2) { --inset: 14%; }
.orbit-ring:nth-child(3) { --inset: 29%; }

.orbit-spin {
  position: absolute;
  inset: var(--inset, 0);
  border-radius: 50%;
  transform: rotate(calc(var(--a, 0deg) + var(--turn, 0deg)));
}

.orbit-dot {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translate(-6px, -6px) rotate(calc(-1 * (var(--a, 0deg) + var(--turn, 0deg))));
  transform-origin: 6px 6px;
  white-space: nowrap;
}

.orbit-dot::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(var(--glow), 0.14), 0 0 18px rgba(var(--glow), 0.7);
}

.orbit-dot span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.orbit-core {
  position: absolute;
  inset: 41%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--glow), 0.22), rgba(var(--glow), 0) 100%);
}

.orbit-core img {
  width: 46%;
  height: auto;
}

@media (min-width: 600px) {
  .orbit { width: min(100%, 34rem); }
}

@media (min-width: 960px) {
  .passport-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: var(--space-l);
  }
}

/* -------------------------------------------------------- Hub: around */

.around {
  border-top: 1px solid var(--line);
}

.links {
  display: grid;
  border-top: 1px solid var(--line);
}

.links > li {
  border-bottom: 1px solid var(--line);
}

.link-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.25rem;
  grid-template-areas:
    "name go"
    "desc desc"
    "url url";
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: baseline;
  padding-block: 1.25rem;
}

.link-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-expo);
}

.link-name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: transform 0.5s var(--ease-expo);
}

.link-desc {
  grid-area: desc;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.link-url {
  grid-area: url;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.link-row .ico {
  grid-area: go;
  align-self: center;
  justify-self: end;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--muted);
  transition: transform 0.45s var(--ease-expo), color 0.3s var(--ease-out);
}

@media (min-width: 900px) {
  .link-row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr) 2rem;
    grid-template-areas: "name desc url go";
    column-gap: var(--col-gap);
    padding-block: 1.5rem;
  }
  .link-url { text-align: right; }
}

@media (hover: hover) {
  .link-row:hover::after { transform: scaleX(1); transform-origin: left; }
  .link-row:hover .link-name { transform: translateX(0.4rem); }
  .link-row:hover .ico { color: var(--ink); transform: translate(2px, -2px); }
}

.link-row:focus-visible {
  outline-offset: 6px;
}

/* Inline links: an underline visible enough to tell links from text without colour. */
.link-inline {
  text-decoration-color: rgba(255, 255, 255, 0.42);
}
/* -------------------------------------------------------------- Footer */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 3rem + 6vw, 9rem);
}

/* The horizon again, setting this time: a vast circle whose top edge catches the light. */
.footer-horizon {
  position: absolute;
  top: clamp(2rem, 1rem + 4vw, 5rem);
  left: 50%;
  width: 240vw;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border-top: 1.5px solid rgba(175, 205, 255, 0.95);
  box-shadow:
    inset 0 10px 22px -12px rgba(var(--glow), 0.9),
    inset 0 40px 90px -40px rgba(var(--glow), 0.4);
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 42%, #000 58%, transparent 74%);
  mask-image: linear-gradient(90deg, transparent 26%, #000 42%, #000 58%, transparent 74%);
  opacity: var(--set, 0.8);
  pointer-events: none;
}

.footer .wrap {
  position: relative;
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 1rem + 22vw, 22rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  color: #1a1e25;
  user-select: none;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.footer-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color 0.25s var(--ease-out);
}

@media (hover: hover) {
  .footer-bar a:hover { color: var(--ink); }
}

/* ------------------------------------------------------ Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
