:root {
  --premium-bg: #090b10;
  --premium-bg-2: #11141c;
  --premium-panel: #171b25;
  --premium-panel-2: #202635;
  --premium-text: #f6efe5;
  --premium-muted: #b5ab9d;
  --premium-soft: #82786b;
  --premium-line: rgba(255, 255, 255, 0.12);
  --premium-accent: #d8ff38;
  --premium-warm: #f0b65a;
  --premium-paper: #f5efe4;
  --premium-paper-text: #17130e;
  --premium-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

html {
  background: var(--premium-bg);
}

body {
  color: var(--premium-text);
  background:
    linear-gradient(180deg, #090b10 0%, #11141c 42%, #090b10 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

.site-header {
  min-height: 82px;
  color: var(--premium-text);
  padding-inline: clamp(18px, 5vw, 74px);
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--premium-text);
  background: rgba(9, 11, 16, 0.9);
  border-bottom: 1px solid var(--premium-line);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--premium-text);
  font-weight: 950;
}

.brand span:last-child::after {
  content: ".";
  color: var(--premium-accent);
}

.brand-mark {
  width: 46px;
  height: 46px;
  color: #111;
  background: var(--premium-accent);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(216, 255, 56, 0.1);
}

.site-nav {
  gap: 24px;
  color: var(--premium-muted);
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--premium-accent);
}

.nav-toggle {
  color: var(--premium-text);
  border-color: var(--premium-line);
  border-radius: 50%;
}

.hero {
  min-height: 100vh;
  align-items: center;
  padding: 132px clamp(20px, 6vw, 78px) 78px;
  background: transparent;
}

.hero-bg {
  inset: 22vh clamp(20px, 5vw, 74px) auto auto;
  width: min(43vw, 640px);
  height: min(58vh, 620px);
  background-image:
    linear-gradient(180deg, rgba(9, 11, 16, 0.12), rgba(9, 11, 16, 0.82)),
    url("../img/trackforge-pro.png");
  background-size: cover;
  background-position: center top;
  border: 1px solid var(--premium-line);
  border-radius: 38px;
  box-shadow: var(--premium-shadow);
  transform: rotate(-2deg);
}

.hero-bg::after {
  content: "AA";
  position: absolute;
  left: -46px;
  bottom: 34px;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  color: #111;
  background: var(--premium-accent);
  border-radius: 50%;
  font-size: 2.1rem;
  font-weight: 950;
  box-shadow: 0 0 0 14px rgba(216, 255, 56, 0.12);
}

.hero-overlay {
  display: none;
}

.hero-content {
  width: min(760px, 100%);
  z-index: 2;
}

.eyebrow {
  color: var(--premium-accent);
  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 880px;
  margin-bottom: 24px;
  color: var(--premium-text);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.92;
}

.hero-lede {
  max-width: 660px;
  color: var(--premium-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.button {
  min-height: 52px;
  padding: 13px 23px;
  border-radius: 999px;
}

.button.primary {
  color: #111;
  background: var(--premium-accent);
}

.button.secondary,
.contact-section .button.secondary {
  color: var(--premium-text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--premium-line);
}

.proof-strip {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--premium-line);
  border-block: 1px solid var(--premium-line);
}

.proof-strip div {
  background: var(--premium-bg-2);
  padding: 28px clamp(18px, 3vw, 34px);
}

.proof-strip strong {
  color: var(--premium-accent);
  font-size: 1.18rem;
}

.proof-strip span,
.about-copy,
.skill-card p,
.project-body p,
.timeline-item p {
  color: var(--premium-muted);
}

.section {
  padding: 104px clamp(20px, 6vw, 78px);
}

.section-heading {
  max-width: 960px;
}

.section-heading h2,
.contact-section h2 {
  color: var(--premium-text);
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 1.02;
}

.about-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 7vw, 96px);
}

.about-panel,
.skill-card,
.project-card,
.proof-links a {
  background: var(--premium-panel);
  border: 1px solid var(--premium-line);
  border-radius: 28px;
  box-shadow: none;
}

.about-panel {
  padding: 30px;
}

.about-panel h3,
.skill-card h3,
.project-body h3,
.timeline-item h3 {
  color: var(--premium-text);
}

.about-panel li {
  color: var(--premium-muted);
}

.surface,
#projects {
  background: #0d1017;
}

#services {
  color: var(--premium-paper-text);
  background: var(--premium-paper);
}

#services .eyebrow {
  color: #708300;
}

#services .section-heading h2 {
  color: var(--premium-paper-text);
}

.services-grid {
  gap: 1px;
  margin-top: 42px;
  background: rgba(23, 19, 14, 0.16);
}

.service-card {
  min-height: 310px;
  padding: 30px;
  color: var(--premium-paper-text);
  background: var(--premium-paper);
  border: 0;
  border-radius: 0;
}

.service-card h3 {
  color: var(--premium-paper-text);
  font-size: 1.55rem;
}

.service-card p {
  color: #5f574e;
}

.service-index {
  margin-bottom: 52px;
  color: #708300;
  font-size: 0.9rem;
}

.skills-grid {
  grid-template-columns: repeat(4, 1fr);
}

.skill-card {
  min-height: 220px;
  padding: 26px;
}

.skill-card h3 {
  color: var(--premium-accent);
}

.project-grid {
  gap: 22px;
}

.project-card {
  border-radius: 30px;
  box-shadow: var(--premium-shadow);
}

.project-card.featured {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1px;
  background: var(--premium-line);
}

.project-media {
  background: #0f121a;
}

.project-card.featured .project-media {
  min-height: 440px;
}

.project-media img {
  filter: saturate(0.94) contrast(1.04);
}

.project-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--premium-panel);
  padding: clamp(24px, 4vw, 44px);
}

.project-type {
  color: var(--premium-warm);
}

.project-body h3 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.tags span {
  color: var(--premium-accent);
  background: rgba(216, 255, 56, 0.08);
  border: 1px solid rgba(216, 255, 56, 0.18);
}

.text-link {
  color: var(--premium-accent);
}

.theme-preview {
  background: #10141d;
}

.timeline {
  max-width: 1040px;
}

.timeline-item {
  padding: 28px;
  background: var(--premium-panel);
  border: 1px solid var(--premium-line);
  border-radius: 28px;
}

.timeline-date {
  color: var(--premium-accent);
}

.proof-links a {
  padding: 26px;
}

.proof-links span {
  color: var(--premium-soft);
}

.proof-links strong {
  color: var(--premium-text);
}

.contact-section {
  display: block;
  color: var(--premium-text);
  background:
    linear-gradient(135deg, rgba(216, 255, 56, 0.08), transparent 42%),
    var(--premium-bg);
}

.contact-section > div:first-child {
  max-width: 1060px;
  padding: clamp(30px, 6vw, 74px);
  background: var(--premium-panel);
  border: 1px solid var(--premium-line);
  border-radius: 38px;
  box-shadow: var(--premium-shadow);
}

.contact-section p {
  color: var(--premium-muted);
}

.site-footer {
  color: var(--premium-soft);
  background: var(--premium-bg);
  border-top: 1px solid var(--premium-line);
}

.reveal-ready .section,
.reveal-ready .project-card,
.reveal-ready .skill-card,
.reveal-ready .service-card,
.reveal-ready .timeline-item,
.reveal-ready .about-panel {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready .section.is-visible,
.reveal-ready .project-card.is-visible,
.reveal-ready .skill-card.is-visible,
.reveal-ready .service-card.is-visible,
.reveal-ready .timeline-item.is-visible,
.reveal-ready .about-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-bg {
    opacity: 0.34;
    width: 58vw;
  }

  .project-card.featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1060px) {
  .proof-strip,
  .skills-grid,
  .services-grid,
  .proof-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--premium-text);
    background: rgba(9, 11, 16, 0.98);
    border-color: var(--premium-line);
    border-radius: 24px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 70;
    background: rgba(9, 11, 16, 0.82);
    backdrop-filter: blur(12px);
  }

  .hero {
    min-height: 92vh;
    padding-top: 108px;
    align-items: center;
  }

  .hero-bg {
    inset: 16vh -18vw auto auto;
    width: 82vw;
    height: 52vh;
    opacity: 0.2;
  }

  .hero-bg::after {
    display: none;
  }

  .hero h1 {
    max-width: 7.5ch;
    font-size: clamp(3.2rem, 14vw, 4.7rem);
  }

  .hero-content {
    width: min(100%, 560px);
  }

  .hero-lede {
    max-width: 420px;
    font-size: 1.02rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    flex-direction: column;
    max-width: 320px;
  }

  .hero-lede span {
    display: inline;
  }

  .proof-strip,
  .about-grid,
  .skills-grid,
  .services-grid,
  .project-grid,
  .proof-links {
    grid-template-columns: 1fr;
  }

  .project-card.featured .project-media,
  .project-media {
    min-height: 260px;
  }

  .service-card {
    border-bottom: 1px solid rgba(23, 19, 14, 0.14);
  }

  .contact-section > div:first-child {
    padding: 26px;
  }
}

@media (max-width: 460px) {
  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4rem);
  }

  .hero-lede {
    max-width: 100%;
  }
}

/* Premium violet upgrade requested for the client-facing portfolio. */
:root {
  --premium-bg: #05040f;
  --premium-bg-2: #0b0920;
  --premium-panel: rgba(255, 255, 255, 0.08);
  --premium-panel-2: rgba(255, 255, 255, 0.13);
  --premium-text: #f8f7ff;
  --premium-muted: #c7c2ea;
  --premium-soft: #9f99ca;
  --premium-line: rgba(255, 255, 255, 0.16);
  --premium-accent: #2404d9;
  --premium-accent-2: #6c4dff;
  --premium-cyan: #18d8ff;
  --premium-warm: #ffd36a;
  --premium-paper: rgba(255, 255, 255, 0.08);
  --premium-paper-text: #f8f7ff;
  --premium-shadow: 0 30px 90px rgba(36, 4, 217, 0.34);
  --premium-shadow-soft: 0 18px 52px rgba(3, 2, 20, 0.36);
}

html,
body {
  background: var(--premium-bg);
}

body {
  color: var(--premium-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 4, 217, 0.72), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(24, 216, 255, 0.24), transparent 28%),
    radial-gradient(circle at 50% 76%, rgba(255, 78, 216, 0.16), transparent 34%),
    linear-gradient(180deg, #05040f 0%, #0c0824 48%, #05040f 100%);
}

body::before {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.08) 44%, transparent 54%),
    radial-gradient(circle at 72% 38%, rgba(36, 4, 217, 0.2), transparent 26%);
  opacity: 0.72;
  animation: premiumAurora 12s ease-in-out infinite alternate;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 5, 18, 0.82);
  box-shadow: 0 14px 44px rgba(4, 3, 18, 0.34);
}

.brand span:last-child::after {
  color: var(--premium-cyan);
}

.brand-mark {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--premium-accent), var(--premium-accent-2) 58%, var(--premium-cyan));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  box-shadow: 0 0 0 8px rgba(36, 4, 217, 0.16), 0 14px 38px rgba(36, 4, 217, 0.38);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -60% auto auto -30%;
  width: 42px;
  height: 120px;
  background: rgba(255, 255, 255, 0.34);
  transform: rotate(28deg);
  animation: premiumShine 4.8s ease-in-out infinite;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: inherit;
  transition: color 260ms ease, opacity 260ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--premium-accent), var(--premium-cyan));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  background:
    radial-gradient(circle at 12% 22%, rgba(36, 4, 217, 0.62), transparent 36%),
    linear-gradient(135deg, rgba(36, 4, 217, 0.34), transparent 42%);
}

.hero-bg {
  background-image:
    linear-gradient(180deg, rgba(5, 4, 15, 0.08), rgba(5, 4, 15, 0.72)),
    url("../img/trackforge-pro.png");
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--premium-shadow);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(36, 4, 217, 0.85), rgba(24, 216, 255, 0.38), rgba(255, 78, 216, 0.26));
  opacity: 0.18;
  pointer-events: none;
}

.hero-bg::after {
  color: #fff;
  background: linear-gradient(135deg, var(--premium-accent), var(--premium-accent-2) 62%, var(--premium-cyan));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  box-shadow: 0 0 0 14px rgba(36, 4, 217, 0.14), 0 24px 60px rgba(36, 4, 217, 0.38);
}

.eyebrow,
.skill-card h3,
.timeline-date,
#services .eyebrow,
.service-index {
  color: var(--premium-cyan);
}

.hero h1 {
  text-shadow: 0 18px 52px rgba(36, 4, 217, 0.32);
}

.hero h1 span:last-child {
  color: transparent;
  background: linear-gradient(90deg, #fff, #dcd6ff 44%, var(--premium-cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.button {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease, color 240ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 32%, rgba(255, 255, 255, 0.34) 46%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 620ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(36, 4, 217, 0.38);
}

.button:hover::before {
  transform: translateX(120%);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--premium-accent), var(--premium-accent-2) 60%, var(--premium-cyan));
  border-color: rgba(255, 255, 255, 0.18);
}

.button.secondary,
.contact-section .button.secondary {
  color: var(--premium-text);
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--premium-line);
  backdrop-filter: blur(10px);
}

.button.secondary:hover,
.contact-section .button.secondary:hover {
  border-color: rgba(24, 216, 255, 0.58);
  background: rgba(36, 4, 217, 0.2);
}

.button.whatsapp {
  color: #04150a;
  background: linear-gradient(135deg, #25d366, #75f0a2);
  border-color: rgba(255, 255, 255, 0.16);
}

.proof-strip {
  background: var(--premium-line);
}

.proof-strip div {
  background: rgba(255, 255, 255, 0.055);
  transition: background 240ms ease, transform 240ms ease;
}

.proof-strip div:hover {
  background: rgba(36, 4, 217, 0.2);
  transform: translateY(-2px);
}

.proof-strip strong,
.text-link {
  color: var(--premium-cyan);
}

.about-panel,
.skill-card,
.service-card,
.project-card,
.proof-links a,
.timeline-item,
.contact-section > div:first-child {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--premium-line);
  border-radius: 28px;
  box-shadow: var(--premium-shadow-soft);
  overflow: hidden;
}

.about-panel::before,
.skill-card::before,
.service-card::before,
.project-card::before,
.proof-links a::before,
.timeline-item::before,
.contact-section > div:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(36, 4, 217, 0.24), transparent 44%),
    radial-gradient(circle at 92% 12%, rgba(24, 216, 255, 0.16), transparent 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.about-panel:hover::before,
.skill-card:hover::before,
.service-card:hover::before,
.project-card:hover::before,
.proof-links a:hover::before,
.timeline-item:hover::before,
.contact-section > div:first-child:hover::before {
  opacity: 1;
}

.about-panel,
.skill-card,
.service-card,
.project-card,
.proof-links a,
.timeline-item {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.about-panel:hover,
.skill-card:hover,
.service-card:hover,
.project-card:hover,
.proof-links a:hover,
.timeline-item:hover,
.reveal-ready .about-panel.is-visible:hover,
.reveal-ready .skill-card.is-visible:hover,
.reveal-ready .service-card.is-visible:hover,
.reveal-ready .project-card.is-visible:hover,
.reveal-ready .proof-links a:hover,
.reveal-ready .timeline-item.is-visible:hover {
  transform: translateY(-7px);
  border-color: rgba(24, 216, 255, 0.42);
  box-shadow: 0 24px 70px rgba(36, 4, 217, 0.34);
}

.surface,
#projects {
  background:
    radial-gradient(circle at 85% 0%, rgba(36, 4, 217, 0.34), transparent 35%),
    #09071a;
}

#services {
  color: var(--premium-text);
  background:
    radial-gradient(circle at 15% 20%, rgba(24, 216, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(36, 4, 217, 0.26), rgba(5, 4, 15, 0.92)),
    var(--premium-bg-2);
}

#services .section-heading h2,
#services .service-card h3,
.service-card h3 {
  color: var(--premium-text);
}

.services-grid {
  gap: 18px;
  background: transparent;
}

.service-card {
  color: var(--premium-text);
  border-radius: 28px;
}

.service-card p {
  color: var(--premium-muted);
}

.project-body {
  background: linear-gradient(145deg, rgba(13, 11, 37, 0.96), rgba(17, 14, 48, 0.92));
}

.project-type {
  color: var(--premium-warm);
}

.project-media img {
  filter: saturate(1.05) contrast(1.04);
  transition: transform 520ms ease, filter 520ms ease;
}

.project-card:hover .project-media img,
.reveal-ready .project-card.is-visible:hover .project-media img {
  transform: scale(1.065);
  filter: saturate(1.18) contrast(1.08);
}

.tags span {
  color: #fff;
  background: rgba(36, 4, 217, 0.26);
  border: 1px solid rgba(24, 216, 255, 0.2);
}

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

.theme-preview {
  background:
    radial-gradient(circle at 24% 24%, rgba(36, 4, 217, 0.38), transparent 34%),
    #101124;
}

.timeline-item {
  border-bottom: 0;
}

.proof-links a {
  text-decoration: none;
}

.proof-links strong {
  position: relative;
  z-index: 1;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(36, 4, 217, 0.58), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(24, 216, 255, 0.18), transparent 32%),
    var(--premium-bg);
}

.contact-section > div:first-child {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
}

.contact-actions {
  margin-top: 24px;
}

.reviews-section {
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(36, 4, 217, 0.36), transparent 68%);
  pointer-events: none;
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.reviews-heading .text-link {
  flex: 0 0 auto;
}

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: grid;
  grid-auto-columns: minmax(310px, calc((100% - 44px) / 3));
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  position: relative;
  min-height: 330px;
  padding: clamp(22px, 3vw, 32px);
  color: var(--premium-text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 92% 12%, rgba(24, 216, 255, 0.14), transparent 30%);
  border: 1px solid var(--premium-line);
  border-radius: 30px;
  box-shadow: var(--premium-shadow-soft);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36, 4, 217, 0.3), transparent 46%);
  opacity: 0;
  transition: opacity 280ms ease;
}

.review-card:hover,
.reveal-ready .review-card.is-visible:hover {
  transform: translateY(-7px);
  border-color: rgba(24, 216, 255, 0.42);
  box-shadow: 0 24px 70px rgba(36, 4, 217, 0.34);
}

.review-card:hover::before {
  opacity: 1;
}

.review-title,
.review-rating,
.review-card blockquote {
  position: relative;
  z-index: 1;
}

.review-title {
  margin: 0 0 18px;
  min-height: 58px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.28;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.review-rating span {
  color: #ff8a00;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(255, 138, 0, 0.34);
}

.review-rating strong {
  color: var(--premium-text);
}

.review-card blockquote {
  margin: 0;
  color: var(--premium-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.review-control {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(135deg, var(--premium-accent), var(--premium-accent-2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(36, 4, 217, 0.34);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.review-control:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(36, 4, 217, 0.46);
}

.review-control:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.reveal-ready .section,
.reveal-ready .project-card,
.reveal-ready .skill-card,
.reveal-ready .service-card,
.reveal-ready .timeline-item,
.reveal-ready .about-panel,
.reveal-ready .review-card {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.75,.2,1);
}

.reveal-ready .section.is-visible,
.reveal-ready .project-card.is-visible,
.reveal-ready .skill-card.is-visible,
.reveal-ready .service-card.is-visible,
.reveal-ready .timeline-item.is-visible,
.reveal-ready .about-panel.is-visible,
.reveal-ready .review-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes premiumAurora {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@keyframes premiumShine {
  0%,
  58% {
    transform: translateX(-80px) rotate(28deg);
  }
  78%,
  100% {
    transform: translateX(120px) rotate(28deg);
  }
}

@media (max-width: 980px) {
  .site-nav {
    background: rgba(7, 5, 22, 0.98);
    box-shadow: var(--premium-shadow-soft);
  }

  .service-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .reviews-heading {
    display: block;
  }

  .reviews-heading .text-link {
    display: inline-flex;
    margin-top: 16px;
  }

  .reviews-carousel {
    grid-template-columns: 1fr;
  }

  .review-control {
    display: none;
  }

  .reviews-track {
    grid-auto-columns: minmax(280px, 88%);
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .brand-mark::after {
    animation: none !important;
  }
}
