@font-face {
  font-family: "League Spartan";
  src: url("/assets/league-spartan.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08090d;
  --surface: #111217;
  --surface-soft: #17181e;
  --text: #f6f6f4;
  --muted: #a3a4aa;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.25);
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 25%, rgba(91,96,124,.13), transparent 28rem),
    radial-gradient(circle at 85% 75%, rgba(65,67,83,.12), transparent 26rem),
    var(--bg);
  overflow-x: hidden;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #08090d; background: #f6f6f4; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border: 3px solid var(--bg); border-radius: 99px; background: #464750; }

.site-mark {
  position: fixed;
  z-index: 50;
  top: 26px;
  left: 32px;
}
.site-mark a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 13px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(8,9,13,.7);
  box-shadow: 0 15px 50px rgba(0,0,0,.2);
  backdrop-filter: blur(16px);
}
.site-mark img { width: 30px; height: 30px; object-fit: contain; }
.site-mark span {
  font: 800 12px/1 "League Spartan", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-page, .page { display: none; }
html[data-page="home"] .home-page,
html[data-page="discord"] .discord-page,
html[data-page="banners"] .banners-section,
html[data-page="logos"] .logos-section,
html[data-page="avatars"] .avatars-section,
html[data-page="commands"] .commands-section { display: block; }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background: url("/assets/jasudiscord-background.jpg") center/cover no-repeat;
  transform: scale(1.025);
  animation: backgroundDrift 18s ease-in-out infinite alternate;
}
.hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,13,.38), rgba(8,9,13,.2) 42%, #08090d 100%),
    radial-gradient(circle at center, transparent 0, rgba(8,9,13,.35) 62%, rgba(8,9,13,.78) 100%);
}
.hero__content {
  display: flex;
  width: min(calc(100% - 40px), 820px);
  align-items: center;
  flex-direction: column;
  padding: 120px 20px 150px;
  text-align: center;
  transform: none;
}
.profile-image {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 30px;
  background: rgba(8,9,13,.56);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  backdrop-filter: blur(18px);
}
.profile-image img { width: 78px; height: 78px; object-fit: contain; }
.eyebrow {
  margin: 0 0 18px;
  color: #c3c4ca;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.hero h1, .section-title h2, .cta h2, .portfolio-heading h1, .page-hero h1 {
  margin: 0;
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
}
.hero h1 {
  max-width: 820px;
  font-size: clamp(64px, 10vw, 128px);
  line-height: .82;
  text-transform: uppercase;
}
.hero__lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: #d4d4d6;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.55;
}
.hero__actions { display: flex; gap: 10px; margin-top: 36px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button img { width: 18px; height: 18px; }
.button--light { color: #08090d; background: #fff; }
.button--light img { filter: brightness(0); }
.button--glass { border-color: rgba(255,255,255,.28); background: rgba(8,9,13,.35); backdrop-filter: blur(16px); }
.button--glass:hover { border-color: rgba(255,255,255,.52); background: rgba(8,9,13,.55); }
.button--dark { color: #fff; background: #08090d; }
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(#fff,transparent); }

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.intro, .portfolio-home, .feedback-panel { padding: 150px 0 40px; }
.section-title { max-width: 820px; margin-bottom: 58px; }
.section-title h2, .cta h2 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
}
.section-title--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.section-title--row > p {
  max-width: 300px;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.service-list article {
  position: relative;
  grid-column: span 2;
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service-list article:nth-last-child(-n + 2) { grid-column: span 3; }
.service-list article:hover {
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  transform: translateY(-5px);
}
.service-list h3 {
  margin: 0;
  font: 800 clamp(29px, 4vw, 45px)/1 "League Spartan", sans-serif;
  letter-spacing: -.03em;
}
.service-list p { max-width: 620px; margin: 16px 0 0; color: var(--muted); line-height: 1.65; }

.portfolio-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.portfolio-menu a {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, transparent, rgba(8,9,13,.92)),
    url("/assets/jasudiscord-background.jpg") center/cover;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease;
}
.portfolio-menu a:nth-child(2) { background-position: left center; }
.portfolio-menu a:nth-child(3) { background-position: right center; }
.portfolio-menu a:hover { border-color: var(--line-strong); transform: translateY(-7px); }
.portfolio-menu span { font: 800 31px/1 "League Spartan", sans-serif; }
.portfolio-menu small { margin-top: 8px; color: #b0b1b7; }

.cta {
  margin-top: 150px;
  padding: 90px;
  border-radius: 30px;
  color: #08090d;
  background: #f3f3f0;
  text-align: center;
}
.cta .eyebrow { color: #6f7077; }
.cta > p:not(.eyebrow) { max-width: 570px; margin: 22px auto 30px; color: #55565e; line-height: 1.65; }

.feedback-panel { padding-bottom: 30px; }
.feedback-list { overflow: visible; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feedback-item {
  display: grid;
  min-width: 0;
  min-height: 145px;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.feedback-avatar img, .feedback-avatar span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: #23242b;
}
.feedback-meta { display: grid; gap: 4px; }
.feedback-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedback-meta time { color: #74757e; font-size: 9px; }
.feedback-content p, .feedback-item p { margin-bottom: 0; color: #c1c2c7; font-size: 12px; line-height: 1.55; }
.feedback-controls { display: none; }
.feedback-controls button { width: 25px; height: 4px; padding: 0; border: 0; border-radius: 9px; background: #363740; }
.feedback-controls button[aria-current="true"], .feedback-controls button.is-active { background: #fff; }
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
  padding: 32px 0 130px;
  border-top: 1px solid var(--line);
  color: #85868e;
  font-size: 11px;
}
.site-footer span { margin-right: auto; }

.floating-nav {
  position: fixed;
  z-index: 100;
  top: 18px;
  bottom: auto;
  left: 50%;
  display: flex;
  width: min(calc(100% - 420px), 590px);
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 55%),
    rgba(10,11,15,.78);
  box-shadow:
    0 18px 60px rgba(0,0,0,.38),
    inset 0 1px rgba(255,255,255,.06);
  transform: translateX(-50%);
  backdrop-filter: blur(24px) saturate(135%);
}
.floating-nav > a, .portfolio-nav > label {
  display: flex;
  min-width: 0;
  min-height: 46px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 11px;
  color: #b7b8be;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.floating-nav > a:hover, .portfolio-nav > label:hover {
  color: #fff;
  background: rgba(255,255,255,.075);
  transform: translateY(-1px);
}
.floating-nav > a.is-current { color: #08090d; background: #f3f3f0; }
.floating-nav > a.is-current span { color: #73747b; }
.portfolio-nav > label.is-current { color: #08090d; background: #f3f3f0; }
.portfolio-nav > label.is-current span { color: #73747b; }
.floating-nav span { color: #656670; font-size: 8px; }
.portfolio-nav { position: relative; display: flex; flex: 1; }
.portfolio-nav > label { width: 100%; }
.portfolio-nav > input { position: absolute; opacity: 0; pointer-events: none; }
.portfolio-nav__menu {
  position: absolute;
  top: 58px;
  bottom: auto;
  left: 50%;
  display: grid;
  width: 210px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13,14,19,.95);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  opacity: 0;
  transform: translate(-50%, -8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(20px);
}
.portfolio-nav__menu a { padding: 12px; border-radius: 9px; color: #b7b8be; font-size: 11px; font-weight: 700; }
.portfolio-nav__menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
.portfolio-nav:hover .portfolio-nav__menu,
.portfolio-nav > input:checked ~ .portfolio-nav__menu { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

.page {
  width: min(calc(100% - 40px), var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 120px 0 130px;
}
.page-hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 250px);
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
  padding: 70px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(8,9,13,.96), rgba(8,9,13,.35)),
    url("/assets/jasudiscord-background.jpg") center/cover;
}
.page-hero h1 { font-size: clamp(60px, 9vw, 112px); line-height: .82; text-transform: uppercase; }
.page-hero > div > p:not(.eyebrow) { max-width: 500px; margin: 25px 0 30px; color: #c3c4ca; line-height: 1.65; }
.server-widget {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(10,11,15,.82);
  box-shadow: 0 35px 90px rgba(0,0,0,.4);
  backdrop-filter: blur(18px);
}
.server-widget > img { width: 78px; height: 78px; object-fit: contain; }
.server-widget small { color: #85868e; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.server-widget h2 { margin: 6px 0 12px; font: 800 26px/1 "League Spartan", sans-serif; }
#server-stats { color: #b8b9c0; font-size: 11px; }

.portfolio-heading { margin-bottom: 55px; padding-top: 30px; }
.portfolio-heading h1 { font-size: clamp(70px, 12vw, 150px); line-height: .78; text-transform: uppercase; }
.portfolio-heading > p:last-child { margin-top: 24px; color: var(--muted); }
.banner-showcase { display: grid; gap: 14px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.banner-card, .portfolio-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.banner-card:hover, .portfolio-card:hover { border-color: var(--line-strong); transform: translateY(-5px); }
.banner-card img { width: 100%; aspect-ratio: 1865/108; object-fit: cover; }
.banner-card__body, .banner-card > h2 { padding: 12px 14px; }
.portfolio-card__media { display: grid; aspect-ratio: 1/1; place-items: center; background: #0b0c10; overflow: hidden; }
.portfolio-card__media img { width: 92%; height: 92%; object-fit: contain; }
.portfolio-card h2, .banner-card h2 {
  margin: 0;
  padding: 12px 14px 9px;
  overflow: hidden;
  font: 800 14px/1.1 "League Spartan", sans-serif;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.portfolio-card__action {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0 12px 12px;
  border-radius: 9px;
  color: #08090d;
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.commands-toolbar { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-bottom: 24px; }
.command-search { display: grid; gap: 8px; color: #85868e; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.command-search input { min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: #fff; background: var(--surface); }
.category-tabs { display: flex; flex-wrap: wrap; align-items: end; gap: 6px; }
.category-tabs button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: #b7b8be; background: var(--surface); }
.category-tabs button.is-active { color: #08090d; background: #fff; }
.commands-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.command-card { min-height: 180px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.command-card h2 { margin: 0; font: 800 20px/1 "League Spartan", sans-serif; }
.command-card p { color: var(--muted); line-height: 1.55; }
.command-card code { padding: 4px 7px; border-radius: 6px; color: #08090d; background: #fff; }

.image-lightbox { position: fixed; z-index: 200; inset: 0; display: none; place-items: center; padding: 24px; }
.image-lightbox.is-open { display: grid; }
.image-lightbox__backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.9); backdrop-filter: blur(14px); }
.image-lightbox__panel { position: relative; max-width: min(1000px,100%); max-height: 90vh; padding: 12px; border: 1px solid var(--line-strong); border-radius: 18px; background: #08090d; }
.image-lightbox__image { max-height: calc(90vh - 24px); }
.image-lightbox__close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #08090d; background: #fff; cursor: pointer; }

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .75s ease var(--reveal-delay,0ms),
    transform .85s cubic-bezier(.18,.8,.2,1) var(--reveal-delay,0ms);
}
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes backgroundDrift {
  from { transform: scale(1.025) translate3d(0,0,0); }
  to { transform: scale(1.075) translate3d(-.8%,.6%,0); }
}

@media (max-width: 900px) {
  .site-mark { display: none; }
  .floating-nav { width: min(calc(100% - 20px), 590px); }
  .section-title--row { align-items: flex-start; flex-direction: column; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-list article,
  .service-list article:nth-last-child(-n + 2) { grid-column: span 1; }
  .portfolio-menu { grid-template-columns: 1fr; }
  .portfolio-menu a { min-height: 230px; }
  .cta { padding: 70px 30px; }
  .page-hero { grid-template-columns: 1fr; gap: 50px; padding: 55px 35px; }
  .commands-grid { grid-template-columns: repeat(2,1fr); }
  .feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .hero::before { animation: none; }
  .site-mark span { display: none; }
  .site-mark a { padding-right: 8px; }
  .hero__content { padding-inline: 20px; transform: none; }
  .profile-image { width: 88px; height: 88px; border-radius: 25px; }
  .profile-image img { width: 65px; height: 65px; }
  .hero h1 { max-width: 100%; font-size: clamp(42px, 13vw, 52px); }
  .hero__lead { max-width: 330px; font-size: 14px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .button { width: 100%; }
  .scroll-cue { bottom: 34px; }
  .intro, .portfolio-home, .feedback-panel { padding-top: 100px; }
  .section-title { margin-bottom: 40px; }
  .section-title h2, .cta h2 { font-size: 46px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list article,
  .service-list article:nth-last-child(-n + 2) {
    min-height: 0;
    grid-column: span 1;
    padding: 25px;
  }
  .cta { width: calc(100% - 24px); margin-top: 100px; padding: 58px 24px; }
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback-item { min-height: 0; padding: 17px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer span { margin-right: 0; }
  .floating-nav { top: max(10px, env(safe-area-inset-top)); width: calc(100% - 20px); justify-content: stretch; }
  .floating-nav > a, .portfolio-nav > label { min-width: 0; padding-inline: 8px; }
  .floating-nav span { display: none; }
  .page { width: calc(100% - 24px); padding-top: 95px; }
  .page-hero { min-height: calc(100vh - 210px); padding: 45px 24px; border-radius: 22px; }
  .page-hero h1 { font-size: 58px; }
  .server-widget { align-items: flex-start; flex-direction: column; }
  .portfolio-heading h1 { font-size: 68px; }
  .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .commands-toolbar, .commands-grid { grid-template-columns: 1fr; }
}

.site-mark { display: none; }

.floating-nav {
  top: 18px;
  bottom: auto;
  width: min(calc(100% - 36px), 920px);
  min-height: 68px;
  gap: 18px;
  padding: 8px 9px 8px 14px;
  border-color: rgba(255,255,255,.14);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(29,30,38,.82), rgba(10,11,15,.78));
  box-shadow: 0 18px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(24px) saturate(1.25);
}
.floating-nav::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(255,255,255,.04), transparent 28%, transparent 72%, rgba(255,255,255,.025));
}
.floating-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}
.floating-nav__brand img { width: 38px; height: 38px; object-fit: contain; }
.floating-nav__brand strong {
  font: 800 12px/1 "League Spartan", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.floating-nav__brand i { color: #5d5f69; font-style: normal; }
.floating-nav > a.floating-nav__brand.is-current {
  color: #fff;
  background: transparent;
  box-shadow: none;
}
.floating-nav__links { display: flex; align-items: center; gap: 3px; margin: 0 auto; }
.floating-nav__links > a, .portfolio-nav > label {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-radius: 12px;
  color: #a8a9b0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.floating-nav__links > a:hover, .portfolio-nav > label:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}
.floating-nav__links > a.is-current { color: #fff; background: rgba(255,255,255,.1); }
.floating-nav__cta {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 14px;
  color: #08090d;
  background: #f4f4f2;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255,255,255,.12); }
.floating-nav > a.floating-nav__cta,
.floating-nav > a.floating-nav__cta:hover { color: #08090d; }
.floating-nav__cta span { color: #08090d; font-size: 13px; }
.portfolio-nav > label > span { color: #666873; font-size: 12px; transition: transform .2s ease; }
.portfolio-nav > input:checked + label > span { transform: rotate(180deg); }
.portfolio-nav__menu {
  top: 54px;
  bottom: auto;
  width: 210px;
  padding: 8px;
  border-radius: 15px;
  background: rgba(13,14,19,.96);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transform: translate(-50%, -7px);
}
.portfolio-nav__menu a { display: flex; padding: 13px; border-radius: 10px; }

@media (max-width: 600px) {
  .floating-nav {
    top: 10px;
    bottom: auto;
    width: calc(100% - 20px);
    min-height: 62px;
    gap: 5px;
    padding: 6px;
    border-radius: 17px;
  }
  .floating-nav__brand { flex: 0 0 auto; padding: 0 7px 0 4px; border-right: 0; }
  .floating-nav__brand img { width: 32px; height: 32px; }
  .floating-nav__brand strong { display: none; }
  .floating-nav__links { flex: 1; justify-content: flex-end; gap: 1px; }
  .floating-nav__links > a, .portfolio-nav > label { min-height: 42px; padding: 0 7px; font-size: 9px; }
  .floating-nav > a.floating-nav__cta { display: none; }
  .portfolio-nav__menu { top: 50px; right: 0; left: auto; width: 180px; transform: translateY(-7px); }
  .portfolio-nav:hover .portfolio-nav__menu,
  .portfolio-nav > input:checked ~ .portfolio-nav__menu { transform: none; }
}

@media (max-width: 420px) {
  .floating-nav__brand { display: none; }
  .floating-nav__links { justify-content: center; }
  .floating-nav__links > a, .portfolio-nav > label { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
