/* ===========================================================
   Muhib Ullah — Portfolio
   Cyber minimalism × Apple-grade refinement
   =========================================================== */

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

html,
body {
  margin: 0;
  padding: 0
}

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

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

:root {
  --bg: #07080d;
  --bg-2: #0b0d16;
  --fg: #e7ecff;
  --fg-dim: #9aa3c0;
  --fg-mute: #6b7390;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(18, 22, 38, .55);
  --glass-2: rgba(255, 255, 255, .04);
  --cyan: #34e3ff;
  --violet: #9a7bff;
  --blue: #4f7dff;
  --accent: var(--cyan);
  --accent-2: var(--violet);
  --shadow-lg: 0 30px 80px -30px rgba(52, 227, 255, .25), 0 10px 40px -10px rgba(0, 0, 0, .6);
  --radius: 18px;
  --radius-sm: 12px;
}

body[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #eef0f7;
  --fg: #0b1020;
  --fg-dim: #3b4566;
  --fg-mute: #6b7390;
  --line: rgba(10, 15, 40, .08);
  --line-2: rgba(10, 15, 40, .16);
  --glass: rgba(255, 255, 255, .6);
  --glass-2: rgba(255, 255, 255, .5);
  --shadow-lg: 0 30px 80px -30px rgba(79, 125, 255, .35), 0 10px 40px -10px rgba(0, 0, 0, .12);
}

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

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

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

::selection {
  background: color-mix(in oklab, var(--cyan) 35%, transparent);
  color: #fff
}

/* ----- BACKGROUND MESH ----- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 800px at 80% -10%, color-mix(in oklab, var(--violet) 22%, transparent), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, color-mix(in oklab, var(--cyan) 18%, transparent), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, color-mix(in oklab, var(--blue) 18%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: var(--cyan);
  top: -120px;
  left: -120px;
  opacity: .35
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--violet);
  bottom: -200px;
  right: -160px;
  opacity: .35
}

.orb-3 {
  width: 420px;
  height: 420px;
  background: var(--blue);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .22
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ----- GLASS ----- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 60px -30px rgba(0, 0, 0, .5);
}

.glass-sm {
  background: var(--glass-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ----- CURSOR ----- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  transform: translate(-50%, -50%)
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .5);
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
}

.cursor-ring.is-hover {
  width: 60px;
  height: 60px;
  border-color: var(--cyan);
  background: color-mix(in oklab, var(--cyan) 10%, transparent)
}

@media (hover:none) {

  .cursor-dot,
  .cursor-ring {
    display: none
  }
}

/* ----- SCROLL PROGRESS ----- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: transparent
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px var(--cyan)
}

/* ----- NAV ----- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px
}

.brand-name {
  font-size: 14px
}

.accent {
  color: var(--accent)
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent)
}

.nav-links {
  display: flex;
  gap: 6px
}

.nav-links a {
  font-size: 13px;
  color: var(--fg-dim);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .25s, background .25s
}

.nav-links a:hover {
  color: var(--fg);
  background: var(--glass-2)
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-dim);
  transition: color .25s, border-color .25s, background .25s;
}

.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--line-2)
}

.theme-toggle svg {
  width: 16px;
  height: 16px
}

.theme-toggle .ico-sun {
  display: none
}

body[data-theme="light"] .theme-toggle .ico-sun {
  display: block
}

body[data-theme="light"] .theme-toggle .ico-moon {
  display: none
}

@media (max-width:720px) {
  .nav {
    gap: 10px;
    padding: 8px 10px
  }

  .nav-links {
    display: none
  }
}

/* ----- BUTTONS ----- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .3s ease, background .3s, color .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
  letter-spacing: .2px;
}

.btn svg {
  width: 16px;
  height: 16px
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #06070d;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px color-mix(in oklab, var(--cyan) 60%, transparent), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px color-mix(in oklab, var(--cyan) 70%, transparent)
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--fg);
  background: var(--glass-2);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--fg)
}

/* ----- HERO ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  position: relative;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  text-align: center
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: .4px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28e07d;
  box-shadow: 0 0 0 0 rgba(40, 224, 125, .6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 224, 125, .6)
  }

  70% {
    box-shadow: 0 0 0 12px rgba(40, 224, 125, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(40, 224, 125, 0)
  }
}

.hero-name {
  font-size: clamp(64px, 12vw, 184px);
  line-height: .92;
  letter-spacing: -.04em;
  font-weight: 800;
  margin: 22px 0 14px;
  display: flex;
  justify-content: center;
  gap: .25em;
  flex-wrap: wrap;
}

.hero-name-accent {
  background: linear-gradient(135deg, var(--cyan), var(--violet) 60%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 300;
}

.hero-role {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--fg-dim);
  margin: 0 auto 10px;
  max-width: 760px;
}

.type {
  color: var(--fg);
  font-weight: 500
}

.caret {
  display: inline-block;
  width: 8px;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
  vertical-align: -2px;
  height: 1.05em
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

.hero-sub {
  font-size: 15px;
  color: var(--fg-mute);
  max-width: 620px;
  margin: 14px auto 36px
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats>div {
  background: var(--bg);
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center
}

.hero-stats strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em
}

.hero-stats span {
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: .4px;
  text-transform: uppercase
}

@media (max-width:640px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--fg-mute);
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
}

.scroll-hint .line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--fg-mute), transparent);
  animation: scrollLine 2s ease-in-out infinite
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(.4);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }
}

/* ----- SECTIONS ----- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px;
  position: relative
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 48px
}

.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: .1em;
}

.section-title {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 0
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start
}

.about-copy .lead {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--fg);
  margin: 0 0 22px;
  font-weight: 400;
  letter-spacing: -.01em
}

.about-copy p {
  color: var(--fg-dim);
  line-height: 1.7;
  font-size: 15px;
  margin: 0 0 16px
}

.about-card {
  padding: 26px
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px
}

.meta-row:last-child {
  border-bottom: 0
}

.meta-row span {
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px
}

.meta-row strong {
  font-weight: 500
}

.status {
  color: var(--accent)
}

@media (max-width:820px) {
  .about-grid {
    grid-template-columns: 1fr
  }
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px
}

.skill {
  position: relative;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s, background .35s;
  backdrop-filter: blur(14px);
}

.skill:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 40%, transparent)
}

.skill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--cyan) 60%, transparent), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
}

.skill:hover::before {
  opacity: 1
}

.skill-top {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.skill-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1px
}

.skill-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: .15em
}

.skill-bar {
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden
}

.skill-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: inherit;
  transition: width 1s cubic-bezier(.2, .7, .2, 1)
}

.skill.is-highlight .skill-tag {
  color: var(--accent)
}

.skill.is-highlight {
  border-color: color-mix(in oklab, var(--violet) 35%, transparent)
}

/* EXPERIENCE */
.exp-card {
  padding: 36px
}

.exp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px
}

.exp-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em
}

.exp-company {
  margin: 0;
  color: var(--fg-dim);
  font-size: 14px
}

.exp-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}

.exp-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px
}

.exp-list li {
  position: relative;
  padding-left: 22px;
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.6
}

.exp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 10px;
  height: 1px;
  background: var(--accent)
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden
}

.impact {
  background: var(--bg);
  padding: 18px 14px
}

.impact strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -.01em
}

.impact span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--fg-mute)
}

@media (max-width:820px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .exp-card {
    padding: 24px
  }
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px
}

.project {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .4s;
  transform-style: preserve-3d;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), color-mix(in oklab, var(--cyan) 18%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}

.project:hover::after {
  opacity: 1
}

.project:hover {
  border-color: color-mix(in oklab, var(--accent) 35%, transparent)
}

.proj-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px
}

.proj-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0
}

.proj-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-mute)
}

.proj-desc {
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 18px
}

.proj-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px
}

.proj-stack span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--fg-dim);
  background: var(--glass-2);
  border: 1px solid var(--line);
}

.proj-metrics {
  display: flex;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line)
}

.proj-metrics div {
  display: flex;
  flex-direction: column
}

.proj-metrics strong {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600
}

.proj-metrics span {
  font-size: 11px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: .1em
}

@media (max-width:820px) {
  .projects-grid {
    grid-template-columns: 1fr
  }
}

/* PHILOSOPHY */
.philosophy .quotes {
  display: grid;
  gap: 18px;
  max-width: 900px
}

.quote {
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 500;
  margin: 0;
  color: var(--fg);
}

.quote em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start
}

.contact-copy h3 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.02em;
  margin: 0 0 14px;
  font-weight: 500
}

.contact-copy p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 420px
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  transition: border-color .3s, color .3s;
}

.contact-mail:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.contact-mail svg {
  width: 14px;
  height: 14px
}

.contact-form {
  padding: 32px;
  display: grid;
  gap: 18px
}

.field {
  position: relative
}

.field input,
.field textarea {
  width: 100%;
  padding: 18px 14px 14px;
  border-radius: 12px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  transition: border-color .3s, background .3s, box-shadow .3s;
  outline: 0;
  resize: vertical;
}

.field label {
  position: absolute;
  left: 14px;
  top: 16px;
  color: var(--fg-mute);
  font-size: 13px;
  pointer-events: none;
  transition: transform .25s ease, color .25s, font-size .25s;
  transform-origin: left top;
  background: transparent;
  padding: 0 4px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent)
}

.field input:focus+label,
.field textarea:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:not(:placeholder-shown)+label {
  transform: translateY(-22px) scale(.85);
  color: var(--accent);
  background: var(--bg);
}

.field input,
.field textarea {}

.field input::placeholder,
.field textarea::placeholder {
  color: transparent
}

.field input {}

/* trick to make placeholder-shown work without visible placeholder */
.field input,
.field textarea {}

.btn-submit {
  position: relative;
  justify-content: center;
  width: 100%
}

.btn-submit .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transform: scale(0);
  pointer-events: none;
  animation: none;
}

.btn-submit.is-rippling .ripple {
  animation: ripple .7s ease-out
}

@keyframes ripple {
  to {
    transform: scale(20);
    opacity: 0
  }
}

@media (max-width:820px) {
  .contact-grid {
    grid-template-columns: 1fr
  }
}

/* Need a placeholder for floating labels to work */
.field input,
.field textarea {}

.field input {
  placeholder-shown
}

.field input,
.field textarea {}

/* FOOTER */
.footer {
  max-width: 1180px;
  margin: 40px auto 30px;
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--fg-mute);
  font-size: 12px;
}

.foot-mid {
  color: var(--fg-dim);
  font-style: italic
}

/* REVEAL UTILITIES (initial state) */
.reveal,
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px)
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }

  .reveal,
  .reveal-stagger>* {
    opacity: 1;
    transform: none;
    filter: none
  }
}