/* =========================================================
   KEZRO.WEBSITE — dark futuristic editorial
   1. Tokens
   2. Base & utilities
   3. Buttons
   4. Navigation
   5. Hero + abstract visual
   6. Introduction
   7. Featured experience
   8. Contrast
   9. Statement
   10. About
   11. Footer
   12. Motion / reveals
   13. Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #080a12;
  --surface: #111522;
  --surface-2: #171c2c;
  --blue: #4d8dff;
  --violet: #9b5cff;
  --lime: #c8f23a;
  --coral: #ff6b5e;
  --text: #f7f8fc;
  --muted: #858b9a;

  --line: rgba(247, 248, 252, 0.1);
  --line-strong: rgba(247, 248, 252, 0.22);

  --grad-blue-violet: linear-gradient(100deg, var(--blue), var(--violet));
  --grad-lime-blue: linear-gradient(100deg, var(--lime), var(--blue));
  --grad-coral-violet: linear-gradient(100deg, var(--coral), var(--violet));

  --display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  --shell: 1280px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(5.5rem, 12vw, 11rem);

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

/* ---------- 2. Base & utilities ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.0625rem);
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background field — small, controlled gradients only */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38rem 26rem at 78% -6%, rgba(155, 92, 255, 0.18), transparent 70%),
    radial-gradient(30rem 22rem at 4% 22%, rgba(77, 141, 255, 0.14), transparent 72%),
    radial-gradient(26rem 20rem at 92% 82%, rgba(255, 107, 94, 0.09), transparent 74%);
}

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

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

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

em {
  font-style: normal;
  background: var(--grad-blue-violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

::selection {
  background: var(--lime);
  color: var(--bg);
}

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

.label {
  margin: 0;
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.marker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.marker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--grad-lime-blue);
}

.marker--dark {
  color: rgba(8, 10, 18, 0.65);
}

.marker--dark::before {
  background: var(--bg);
}

.muted {
  color: var(--muted);
}

.lede {
  max-width: 34rem;
  color: #b8bdca;
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.1875rem);
  line-height: 1.7;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.display {
  font-size: clamp(2.75rem, 9.2vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.grad-blue {
  background: var(--grad-lime-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--lime);
  color: var(--bg);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- 3. Buttons ---------- */
.btn {
  --btn-y: 1rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: var(--btn-y) 1.85rem;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.btn--sm {
  --btn-y: 0.7rem;
  min-height: 2.5rem;
  padding: var(--btn-y) 1.25rem;
  font-size: 0.75rem;
}

.btn--accent {
  color: var(--bg);
  background: var(--lime);
}

.btn--accent:hover,
.btn--accent:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(200, 242, 58, 0.5), 0 12px 34px -8px rgba(200, 242, 58, 0.55);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(23, 28, 44, 0.5);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--blue), 0 12px 34px -12px rgba(77, 141, 255, 0.6);
}

/* ---------- 4. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  min-height: 4.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.wordmark__dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--grad-lime-blue);
  box-shadow: 0 0 12px rgba(200, 242, 58, 0.7);
}

.wordmark__tld {
  color: var(--muted);
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: clamp(1.1rem, 2.6vw, 2.4rem);
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: #c6cad4;
}

.nav__links a {
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--grad-blue-violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 8rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero__title {
  margin: 1.5rem 0 2rem;
  font-size: clamp(2.85rem, 7.4vw, 6.25rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.hero__meta li {
  font-family: var(--display);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__meta span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, rgba(77, 141, 255, 0.5), transparent);
}

/* Abstract CSS visual */
.visual {
  position: relative;
  aspect-ratio: 1 / 1;
}

.visual__glow {
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle at 50% 50%, rgba(77, 141, 255, 0.28), rgba(155, 92, 255, 0.14) 45%, transparent 70%);
  filter: blur(18px);
  animation: breathe 9s var(--ease) infinite;
}

.visual__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(17, 21, 34, 0.9), rgba(8, 10, 18, 0.35));
}

.visual__tag {
  position: absolute;
  font-family: var(--display);
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.visual__tag--tl {
  top: 1.1rem;
  left: 1.1rem;
}

.visual__tag--br {
  bottom: 1.1rem;
  right: 1.1rem;
  color: var(--lime);
}

.grid-line {
  position: absolute;
  background: var(--line);
}

.grid-line--v1 {
  top: 0;
  bottom: 0;
  left: 28%;
  width: 1px;
}

.grid-line--v2 {
  top: 0;
  bottom: 0;
  left: 72%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(155, 92, 255, 0.55), transparent);
}

.grid-line--h1 {
  left: 0;
  right: 0;
  top: 34%;
  height: 1px;
}

.grid-line--h2 {
  left: 0;
  right: 0;
  top: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 141, 255, 0.5), transparent);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}

.ring--1 {
  inset: 14%;
  border-color: rgba(77, 141, 255, 0.55);
  box-shadow: 0 0 40px -6px rgba(77, 141, 255, 0.5), inset 0 0 30px -10px rgba(77, 141, 255, 0.4);
  animation: spin 34s linear infinite;
}

.ring--1::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px 2px rgba(200, 242, 58, 0.9);
}

.ring--2 {
  inset: 26%;
  border-color: rgba(155, 92, 255, 0.6);
  box-shadow: 0 0 34px -8px rgba(155, 92, 255, 0.65);
  animation: spin 22s linear infinite reverse;
}

.ring--2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 28%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px 2px rgba(255, 107, 94, 0.9);
}

.ring--3 {
  inset: 40%;
  border: 1px dashed rgba(247, 248, 252, 0.28);
  animation: spin 48s linear infinite;
}

.monolith {
  position: absolute;
  left: 44%;
  top: 22%;
  width: 22%;
  height: 56%;
  background: linear-gradient(170deg, rgba(23, 28, 44, 0.95), rgba(8, 10, 18, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transform: skewY(-8deg);
}

.monolith::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 2px;
  background: var(--grad-blue-violet);
}

.monolith::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  height: 1px;
  background: var(--lime);
  opacity: 0.8;
}

.chip {
  position: absolute;
  display: block;
}

.chip--lime {
  left: 12%;
  top: 58%;
  width: clamp(2.5rem, 5vw, 4rem);
  height: clamp(2.5rem, 5vw, 4rem);
  background: var(--grad-lime-blue);
  box-shadow: 0 0 40px -10px rgba(200, 242, 58, 0.8);
  animation: float 11s var(--ease) infinite;
}

.chip--violet {
  right: 10%;
  top: 20%;
  width: clamp(3rem, 7vw, 5.5rem);
  height: clamp(3rem, 7vw, 5.5rem);
  border: 1px solid rgba(155, 92, 255, 0.8);
  background: rgba(155, 92, 255, 0.12);
  transform: rotate(18deg);
  animation: float 14s var(--ease) infinite reverse;
}

.chip--coral {
  right: 20%;
  bottom: 12%;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--coral);
  box-shadow: 0 0 18px 2px rgba(255, 107, 94, 0.7);
  animation: float 9s var(--ease) infinite;
}

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 10px 2px rgba(247, 248, 252, 0.6);
  animation: twinkle 5s ease-in-out infinite;
}

.spark--1 { left: 20%; top: 24%; }
.spark--2 { left: 36%; top: 82%; animation-delay: 0.8s; background: var(--blue); }
.spark--3 { left: 82%; top: 62%; animation-delay: 1.6s; background: var(--lime); }
.spark--4 { left: 66%; top: 12%; animation-delay: 2.4s; }
.spark--5 { left: 8%; top: 40%; animation-delay: 3.2s; background: var(--violet); }

/* ---------- 6. Introduction ---------- */
.intro {
  padding-block: var(--section-y);
}

.intro__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 62rem;
  margin-left: auto;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ---------- 7. Featured experience ---------- */
.featured {
  padding-block: 0 var(--section-y);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.75rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.section-head .marker {
  margin-bottom: 0;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.75rem, 3.2vw, 3rem);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}

.tile--lead {
  grid-column: span 2;
  min-height: clamp(20rem, 34vw, 27rem);
  justify-content: flex-end;
}

.tile--tall {
  grid-row: span 2;
  justify-content: flex-end;
  background: var(--surface-2);
}

.tile--wide {
  grid-column: span 2;
}

.tile h3 {
  max-width: 26rem;
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.tile p.muted {
  max-width: 32rem;
  font-size: 0.9375rem;
}

.tile__accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 3.5rem;
  height: 2px;
  background: var(--grad-blue-violet);
  transition: width 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.tile__accent--violet {
  background: var(--grad-coral-violet);
}

.tile__accent--lime {
  background: var(--grad-lime-blue);
}

.tile__index {
  position: absolute;
  right: clamp(1rem, 2vw, 2rem);
  top: clamp(0.5rem, 2vw, 1.25rem);
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(247, 248, 252, 0.05);
  transition: color 0.45s var(--ease);
}

.tile__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.4rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.tile__link i {
  transition: transform 0.4s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  background: #141a29;
}

.tile:hover .tile__accent {
  width: 65%;
  box-shadow: 0 0 22px -2px rgba(77, 141, 255, 0.7);
}

.tile:hover .tile__index {
  color: rgba(247, 248, 252, 0.12);
}

.tile:hover .tile__link i {
  transform: translateX(6px);
}

.tile:hover .tile__link {
  color: var(--lime);
}

/* ---------- 8. Contrast ---------- */
.contrast {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-block: 1px solid var(--line);
}

.contrast__side {
  padding: clamp(3.5rem, 8vw, 8rem) 0;
}

.contrast__side--dark {
  position: relative;
  background: #05060c;
}

.contrast__side--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(24rem 18rem at 80% 20%, rgba(155, 92, 255, 0.2), transparent 70%),
    radial-gradient(20rem 16rem at 10% 90%, rgba(77, 141, 255, 0.16), transparent 72%);
}

.contrast__side--bright {
  background: var(--lime);
  color: var(--bg);
}

.contrast__inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--shell) / 2);
  padding-inline: var(--gutter);
}

.contrast__side--dark .contrast__inner {
  margin-left: auto;
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

.contrast__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.95;
}

.contrast__title--dark {
  color: var(--bg);
}

.contrast__title--dark em {
  background: var(--grad-coral-violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contrast__body {
  max-width: 30rem;
  color: rgba(8, 10, 18, 0.72);
  font-weight: 500;
}

.contrast .muted {
  max-width: 30rem;
}

.ticks {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
  font-family: var(--display);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.ticks li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  flex: none;
  background: var(--blue);
  box-shadow: 0 0 10px 1px rgba(77, 141, 255, 0.8);
}

.ticks li:nth-child(2)::before {
  background: var(--violet);
  box-shadow: 0 0 10px 1px rgba(155, 92, 255, 0.8);
}

.ticks li:nth-child(3)::before {
  background: var(--lime);
  box-shadow: 0 0 10px 1px rgba(200, 242, 58, 0.8);
}

.ticks--dark li {
  border-color: rgba(8, 10, 18, 0.22);
}

.ticks--dark li::before {
  background: var(--coral);
  box-shadow: none;
}

.ticks--dark li:nth-child(2)::before {
  background: #1c46a8;
  box-shadow: none;
}

.ticks--dark li:nth-child(3)::before {
  background: var(--bg);
  box-shadow: none;
}

/* ---------- 9. Statement ---------- */
.statement {
  padding-block: clamp(5rem, 13vw, 12rem);
  text-align: center;
}

.statement .marker {
  justify-content: center;
}

.statement__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 600;
  animation: drift 12s ease-in-out infinite;
}

.statement__title em {
  background: var(--grad-lime-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.statement__underline {
  display: block;
  width: clamp(6rem, 14vw, 12rem);
  height: 3px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  background: var(--grad-coral-violet);
  background-size: 200% 100%;
  box-shadow: 0 0 26px -2px rgba(155, 92, 255, 0.8);
  animation: slide-grad 6s linear infinite;
}

/* ---------- 10. About ---------- */
.about {
  padding-block: 0 var(--section-y);
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.giant {
  display: block;
  font-family: var(--display);
  font-size: clamp(4.5rem, 16vw, 13rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.06em;
  background: linear-gradient(170deg, var(--text) 30%, rgba(247, 248, 252, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meta {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__text {
  position: relative;
  padding-left: clamp(1.5rem, 3vw, 2.75rem);
}

.about__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--lime), var(--blue), var(--violet));
  box-shadow: 0 0 20px -2px rgba(77, 141, 255, 0.7);
}

.about__lead {
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.about__facts {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.about__facts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.about__facts dt {
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__facts dd {
  font-size: 0.9375rem;
}

/* ---------- 11. Footer ---------- */
.footer {
  padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem;
  background: #04050a;
  border-top: 1px solid var(--line);
}

.footer__mark {
  font-size: clamp(2.25rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.footer__mark span {
  background: var(--grad-blue-violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer__note {
  max-width: 26rem;
  margin-top: 1.25rem;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.footer__grid h3 {
  margin-bottom: 1.25rem;
}

.footer__grid ul {
  display: grid;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: #c6cad4;
}

.footer__grid a {
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer__grid a:hover,
.footer__grid a:focus-visible {
  color: var(--lime);
  padding-left: 0.35rem;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__base .muted {
  margin-left: auto;
}

.footer__deco {
  width: 3rem;
  height: 0.4rem;
  background: var(--grad-lime-blue);
  box-shadow: 0 0 18px -2px rgba(200, 242, 58, 0.8);
}

/* ---------- 12. Motion ---------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(6deg); }
}

/* keep the rotated violet chip's base angle while floating */
.chip--violet {
  animation-name: float-rotated;
}

@keyframes float-rotated {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(18deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(10deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes slide-grad {
  to { background-position: 200% 50%; }
}

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

/* Scroll-linked reveals where supported; otherwise content is simply visible. */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise 1s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 5% cover 22%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

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

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .visual {
    max-width: 34rem;
    margin-inline: auto;
    width: 100%;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile--lead,
  .tile--wide {
    grid-column: span 2;
  }

  .tile--tall {
    grid-row: auto;
    grid-column: span 2;
  }

  .contrast {
    grid-template-columns: 1fr;
  }

  .contrast__inner,
  .contrast__side--dark .contrast__inner {
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  .about__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }

  .nav__inner {
    justify-content: space-between;
  }

  .mosaic {
    grid-template-columns: 1fr;
  }

  .tile--lead,
  .tile--wide,
  .tile--tall {
    grid-column: span 1;
  }

  .tile--lead {
    min-height: 0;
  }

  .hero__actions .btn {
    flex: 1 1 12rem;
  }

  .footer__base .muted {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .visual {
    aspect-ratio: 4 / 5;
  }
}
