:root {
  --color-ink: #102033;
  --color-muted: #607086;
  --color-soft: #f5f7fb;
  --color-line: #dce4ee;
  --color-blue: #0d6efd;
  --color-teal: #0f9f9a;
  --color-rose: #d94873;
  --color-amber: #d9902f;
  --color-white: #ffffff;
  --shadow-sm: 0 10px 28px rgba(16, 32, 51, 0.08);
  --shadow-md: 0 18px 42px rgba(16, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-ink);
  background: var(--color-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

::selection {
  color: #fff;
  background: var(--color-blue);
}
.text-18{
  font-size: 18px;
}

.skip-link {
  left: 1rem;
  top: -5rem;
  z-index: 2000;
  background: var(--color-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 228, 238, 0.65);
  transition: box-shadow 0.25s ease, padding 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.navbar {
  min-height: 76px;
  transition: min-height 0.25s ease;
}

.site-header.scrolled .navbar {
  min-height: 64px;
}

.navbar-brand {
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  border-radius: 8px;
}

.nav-link {
  position: relative;
  color: var(--color-muted);
  font-weight: 600;
  padding-inline: 0.75rem !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-ink);
}

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

.btn {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn-lift {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn-lift .bi-arrow-right {
  transition: transform 0.22s ease;
}

.btn-lift:hover,
.btn-lift:focus {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-lift:hover .bi-arrow-right,
.btn-lift:focus .bi-arrow-right {
  transform: translateX(5px);
}

.btn-soft {
  color: var(--color-ink);
  background: #eef6ff;
  border: 1px solid #d8eaff;
}

.btn-soft:hover {
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn-primary {
  border: 0;
  background-image: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 12px 26px rgba(13, 110, 253, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background-image: linear-gradient(135deg, #0b5ed7, #0c8f8a);
}

.btn-outline-primary {
  border-color: rgba(13, 110, 253, 0.42);
  color: var(--color-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.filter-btn.active,
.blog-filter.active,
.gallery-filter.active {
  border-color: transparent;
  color: #fff;
  background-image: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.18);
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
}

.section-padding {
  padding: 96px 0;
}

.section-soft {
  background: var(--color-soft);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--color-blue);
  background-image: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 3.35rem;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.section-text {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero {
  --hero-image: url("../images/hero/sk-hero-banner.png");
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #081525;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(8, 21, 37, 0.92), rgba(8, 21, 37, 0.68) 46%, rgba(8, 21, 37, 0.18)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 7s ease forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(8, 21, 37, 0.76), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 120px 0 96px;
}

.hero-eyebrow,
.hero-title,
.hero-copy,
.hero-actions,
.hero-metrics {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s ease forwards;
}

.hero-eyebrow {
  color: #9de8e4;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-title {
  animation-delay: 0.15s;
  margin: 1rem 0;
  font-size: 5.2rem;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  animation-delay: 0.3s;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.2rem;
  max-width: 620px;
}

.hero-actions {
  animation-delay: 0.45s;
}

.hero-metrics {
  animation-delay: 0.6s;
}

.metric {
  border-left: 2px solid rgba(157, 232, 228, 0.55);
  padding-left: 1rem;
}

.metric strong {
  display: block;
  font-size: 1.25rem;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-accent {
  position: absolute;
  z-index: 1;
  right: 6%;
  bottom: 10%;
  max-width: 280px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  animation: fadeSlideUp 1s ease 0.75s forwards;
  opacity: 0;
}

.page-hero {
  padding: 128px 0 76px;
  color: #fff;
  background-color: #081525;
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.74) 50%, rgba(8, 21, 37, 0.36)),
    linear-gradient(135deg, rgba(13, 110, 253, 0.32), rgba(15, 159, 154, 0.22));
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.page-hero .section-title {
  max-width: 860px;
}

.page-hero .section-eyebrow {
  color: #9de8e4;
  background-image: linear-gradient(135deg, var(--color-blue), var(--color-teal));
}

.page-hero .section-text {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero-about {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.74) 50%, rgba(8, 21, 37, 0.36)),
    url("../images/profile/sk-workspace-profile.png");
}

.page-hero-projects {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.7) 50%, rgba(8, 21, 37, 0.32)),
    url("../images/projects/sk-project-showcase.png");
}

.page-hero-project-detail {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.7) 50%, rgba(8, 21, 37, 0.32)),
    url("../images/hero/project-detail-hero.png");
}

.page-hero-blog {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.7) 50%, rgba(8, 21, 37, 0.34)),
    url("../images/blog/sk-writing-gallery.png");
}

.page-hero-blog-detail {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.7) 50%, rgba(8, 21, 37, 0.34)),
    url("../images/hero/blog-detail-hero.png");
}

.page-hero-gallery {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.68) 50%, rgba(8, 21, 37, 0.3)),
    url("../images/gallery/sk-gallery-visual.png");
}

.page-hero-contact {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.72) 50%, rgba(8, 21, 37, 0.34)),
    url("../images/hero/contact-hero.png");
}

.page-hero-legal {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.72) 50%, rgba(8, 21, 37, 0.32)),
    url("../images/hero/legal-hero.png");
}

.page-hero-terms {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.72) 50%, rgba(8, 21, 37, 0.32)),
    url("../images/hero/terms-hero.png");
}

.page-hero-login {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.94), rgba(8, 21, 37, 0.72) 50%, rgba(8, 21, 37, 0.32)),
    url("../images/hero/login-hero.png");
}

.page-hero-error {
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.96), rgba(8, 21, 37, 0.76) 52%, rgba(8, 21, 37, 0.28)),
    url("../images/hero/not-found-hero.png");
}

.feature-card,
.project-card,
.blog-card,
.value-card,
.skill-card,
.contact-panel,
.login-panel {
  height: 100%;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover,
.project-card:hover,
.blog-card:hover,
.value-card:hover,
.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: var(--shadow-md);
}

.feature-icon,
.value-icon,
.skill-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  color: var(--color-blue);
  background: #eef6ff;
  border-radius: 8px;
  font-size: 1.35rem;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.feature-card:hover .feature-icon,
.value-card:hover .value-icon,
.skill-card:hover .skill-icon {
  color: #fff;
  background: var(--color-blue);
  transform: rotate(-4deg) scale(1.04);
}

.image-shell {
  overflow: hidden;
  border-radius: 8px;
  background: #dce4ee;
}

.image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.image-shell:hover img,
.project-card:hover img,
.blog-card:hover img,
.gallery-item:hover img {
  transform: scale(1.04);
}

.card-image {
  height: 230px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.badge-soft {
  color: var(--color-ink);
  background: #f2f6fb;
  border: 1px solid #dde7f2;
  font-weight: 700;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--color-blue);
  background: #eef6ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.overlay-link {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(8, 21, 37, 0.58);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-card:hover .overlay-link,
.gallery-item:hover .overlay-link {
  opacity: 1;
}

.quote-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.96), rgba(16, 32, 51, 0.86)),
    url("../images/hero/developer-workspace.png") center/cover;
}

.quote-mark {
  color: #9de8e4;
  font-size: 4rem;
  line-height: 1;
}

.cta-band {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 110, 253, 0.94), rgba(15, 159, 154, 0.9)),
    url("../images/hero/developer-workspace.png") center/cover;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0b1727;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: #fff;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--color-ink);
  background: #eef6ff;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.social-link:hover,
.social-link:focus {
  color: #fff;
  background: var(--color-blue);
  transform: translateY(-3px) rotate(-2deg);
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0;
  width: 2px;
  background: var(--color-line);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.84rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border: 3px solid var(--color-blue);
  border-radius: 50%;
  background: #fff;
}

.filter-toolbar {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: var(--color-line);
  min-height: 48px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.13);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 260px;
  grid-column: span 4;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: #dce4ee;
}

.gallery-item.wide {
  grid-column: span 6;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.article-body {
  font-size: 1.08rem;
}

.article-body h2,
.article-body h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  font-weight: 850;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-blue);
  background: #f2f6fb;
  border-radius: 0 8px 8px 0;
}

.article-body code {
  color: #a1204c;
  background: #fff1f5;
  border-radius: 5px;
  padding: 0.15rem 0.35rem;
}

.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1020;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.fade-down {
  transform: translateY(-24px);
}

.reveal.fade-left {
  transform: translateX(-24px);
}

.reveal.fade-right {
  transform: translateX(24px);
}

.reveal.zoom-in {
  transform: scale(0.96);
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.hidden-by-filter {
  display: none !important;
}

.search-result-link {
  display: block;
  border-bottom: 1px solid var(--color-line);
  padding: 0.85rem 0;
}

.search-result-link:hover {
  color: var(--color-blue);
}


/* Homepage visual polish */
.site-header {
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose), var(--color-amber));
  opacity: 0.78;
  transform: scaleX(0.72);
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.site-header.scrolled::before {
  opacity: 1;
  transform: scaleX(1);
}

.navbar-brand:hover .brand-mark,
.navbar-brand:focus .brand-mark {
  transform: translateY(-2px) rotate(-6deg);
  box-shadow: 0 14px 26px rgba(13, 110, 253, 0.24);
}

.brand-mark {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.site-nav .nav-link {
  border-radius: 8px;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  background: rgba(13, 110, 253, 0.08);
  transform: translateY(-1px);
}

.btn-primary,
.header-dashboard-link {
  position: relative;
  overflow: hidden;
}

.header-dashboard-link::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: translateX(-120%);
  pointer-events: none;
  transition: transform 0.55s ease;
}

.header-dashboard-link:hover::before,
.btn-primary:hover::before {
  transform: translateX(120%);
}

.hero {
  --hero-bg-pos: center;
}

.hero::after {
  height: 44%;
  background:
    linear-gradient(0deg, rgba(8, 21, 37, 0.86), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 92px);
  opacity: 0.86;
}

.hero-content::before {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-amber), var(--color-rose));
  opacity: 0;
  transform: translateY(14px);
  animation: fadeSlideUp 0.75s ease 0.05s forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s ease 0.38s forwards;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.hero-badges span:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 232, 228, 0.7);
  background: rgba(255, 255, 255, 0.16);
}

.metric {
  min-width: 150px;
  border-left: 0;
  border-top: 2px solid rgba(157, 232, 228, 0.55);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.metric:hover {
  transform: translateY(-5px);
  border-color: var(--color-amber);
  background: rgba(255, 255, 255, 0.14);
}

.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2rem;
  width: 32px;
  height: 52px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.55rem;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.hero-scroll-cue span {
  width: 5px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  animation: scrollCue 1.45s ease-in-out infinite;
}

.hero-scroll-cue:hover {
  border-color: #fff;
  transform: translateX(-50%) translateY(-3px);
}

.home-highlights {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.feature-card,
.project-card,
.blog-card,
.value-card,
.skill-card,
.gallery-item {
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card::before,
.project-card::before,
.blog-card::before,
.value-card::before,
.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(13,110,253,0.12), transparent 42%, rgba(217,72,115,0.12));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.feature-card:hover::before,
.project-card:hover::before,
.blog-card:hover::before,
.value-card:hover::before,
.skill-card:hover::before {
  opacity: 1;
}

.feature-card:hover,
.project-card:hover,
.blog-card:hover,
.value-card:hover,
.skill-card:hover,
.gallery-item:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-7px);
}

.row .col-md-6:nth-child(2n) .feature-icon { color: var(--color-teal); background: #e9fbfa; }
.row .col-md-6:nth-child(3n) .feature-icon { color: var(--color-rose); background: #fff0f5; }
.row .col-md-6:nth-child(4n) .feature-icon { color: var(--color-amber); background: #fff7e8; }

.feature-card:hover .feature-icon,
.value-card:hover .value-icon,
.skill-card:hover .skill-icon {
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 14px 24px rgba(13, 110, 253, 0.18);
}

.image-shell,
.card-image,
.gallery-item {
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.12);
}

.image-shell:hover img,
.project-card:hover img,
.blog-card:hover img,
.gallery-item:hover img {
  transform: scale(1.075);
}

.section-soft {
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.045), rgba(15, 159, 154, 0.05)),
    var(--color-soft);
}

.quote-band,
.cta-band {
  position: relative;
  overflow: hidden;
}

.quote-band::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.quote-band .container,
.cta-band .container {
  position: relative;
  z-index: 1;
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #081525 0%, #102033 52%, #123d3b 100%);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose), var(--color-amber));
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer h2 {
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-teal);
}

.footer li a,
.footer .footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer li a::before {
  content: "";
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-amber);
  transition: width 0.22s ease;
}

.footer li a:hover,
.footer li a:focus,
.footer .footer-contact a:hover,
.footer .footer-contact a:focus {
  color: #fff;
  transform: translateX(4px);
}

.footer li a:hover::before,
.footer li a:focus::before {
  width: 14px;
}

.footer-copy {
  max-width: 360px;
}

.footer-mini-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.2rem;
  color: #fff !important;
  font-weight: 800;
  transition: transform 0.22s ease, color 0.22s ease;
}

.footer-mini-cta:hover,
.footer-mini-cta:focus {
  color: #9de8e4 !important;
  transform: translateX(4px);
}

.social-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.social-link:hover,
.social-link:focus {
  background: linear-gradient(135deg, var(--color-blue), var(--color-rose));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: 0.42; }
  50% { transform: translateY(18px); opacity: 1; }
}

@media (max-width: 991.98px) {
  .site-nav .nav-link:hover,
  .site-nav .nav-link.active {
    transform: none;
  }

  .hero-badges span {
    min-height: 36px;
  }
}

@media (max-width: 575.98px) {
  .hero-badges,
  .hero-metrics {
    gap: 0.55rem !important;
  }

  .hero-badges span,
  .metric {
    width: 100%;
  }
}


/* Premium frontend portfolio layer */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.18), rgba(15, 159, 154, 0.1) 38%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
  mix-blend-mode: multiply;
}

body.cursor-active .cursor-glow {
  opacity: 1;
}

.hero-title {
  max-width: 850px;
  text-wrap: balance;
}

.hero-title:not(.hero-title-typed)::after {
  content: "";
  display: inline-block;
  width: 0.12em;
  height: 0.78em;
  margin-left: 0.08em;
  border-radius: 999px;
  background: #9de8e4;
  animation: caretBlink 1s steps(2, start) infinite;
}

.hero-showcase {
  position: absolute;
  z-index: 2;
  right: 5.5%;
  top: 17%;
  width: min(400px, 31vw);
  min-height: 390px;
  pointer-events: none;
}

.showcase-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.showcase-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-rose);
}

.showcase-top span:nth-child(2) { background: var(--color-amber); }
.showcase-top span:nth-child(3) { background: var(--color-teal); }

.showcase-body {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.showcase-line {
  width: 66%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.showcase-line.wide { width: 92%; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.showcase-grid span {
  min-height: 86px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08)),
    linear-gradient(135deg, rgba(13,110,253,0.24), rgba(15,159,154,0.16));
}

.showcase-code {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.85rem;
  border-radius: 10px;
  color: #d9fffd;
  background: rgba(8, 21, 37, 0.7);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
}

.showcase-code strong {
  color: #fff;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 0.15rem;
  min-width: 148px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  animation: floatCard 4.8s ease-in-out infinite;
}

.floating-card i {
  color: #9de8e4;
  font-size: 1.2rem;
}

.floating-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.card-one { left: -38px; top: 58px; }
.card-two { right: -24px; top: 178px; animation-delay: 0.45s; }
.card-three { left: 32px; bottom: 0; animation-delay: 0.9s; }

.tech-ribbon {
  display: flex;
  overflow: hidden;
  gap: 1rem;
  padding: 1rem 0;
  color: #fff;
  background: #102033;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
  min-width: max-content;
  animation: techMarquee 32s linear infinite;
}

.tech-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 750;
}

.tech-track i {
  color: #9de8e4;
}

.craft-section {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff 62%, #ffffff);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.craft-card {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.craft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.15), transparent 34%),
    radial-gradient(circle at bottom left, rgba(217, 72, 115, 0.1), transparent 38%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.craft-card span,
.craft-card i,
.craft-card h3,
.craft-card p {
  position: relative;
  z-index: 1;
}

.craft-card span {
  color: rgba(16, 32, 51, 0.2);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 900;
}

.craft-card i {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 2.2rem 0 1.1rem;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 16px 28px rgba(13, 110, 253, 0.18);
  font-size: 1.35rem;
}

.craft-card h3 {
  font-size: 1.15rem;
  font-weight: 850;
}

.craft-card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.craft-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 110, 253, 0.38);
  box-shadow: 0 24px 54px rgba(16, 32, 51, 0.16);
}

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

.about-showcase .image-shell {
  position: relative;
}

.about-showcase .image-shell::after {
  content: "Frontend / WordPress / Design";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 21, 37, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.footer-contact {
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-email {
  display: inline-flex;
  margin-bottom: 0.25rem;
  color: #fff !important;
  font-weight: 800;
}

.footer-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.5rem 0 1rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: #d9fffd;
  background: rgba(15, 159, 154, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-availability i {
  color: #36d399;
  font-size: 0.55rem;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

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

@keyframes techMarquee {
  to { transform: translateX(calc(-100% - 1rem)); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.45; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1); }
}

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

@media (max-width: 767.98px) {
  .tech-ribbon {
    padding: 0.75rem 0;
  }

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

  .craft-card {
    min-height: auto;
  }
}


/* Typed hero headline and editorial gallery */
.hero-title-typed {
  display: grid;
  width: max-content;
  max-width: 100%;
  min-height: calc(2em + 0.16em);
  gap: 0.16em;
  font-size: clamp(1.25rem, 3.4vw, 3.15rem);
  line-height: 0.98;
  overflow: visible;
  text-wrap: nowrap;
}

.hero-title-line {
  position: relative;
  display: grid;
  width: max-content;
  min-width: max-content;
  min-height: 1em;
  white-space: nowrap;
}

.hero-type-ghost,
.hero-type-text {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
}

.hero-type-ghost {
  visibility: hidden;
  pointer-events: none;
}

.hero-type-text {
  min-width: 1ch;
}

.title-gradient {
  color: #9de8e4;
  background-image: linear-gradient(100deg, #9de8e4 0%, #ffffff 44%, #ffd38a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-solid {
  color: #ffffff;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.hero-title-typed::after {
  content: "";
  width: 0.12em;
  height: 0.78em;
  margin-top: -0.92em;
  margin-left: min(9.3em, 100%);
  border-radius: 999px;
  background: #9de8e4;
  animation: caretBlink 1s steps(2, start) infinite;
}

.hero-title-typed.typing-complete::after {
  opacity: 0;
}

.gallery-showcase-section {
  position: relative;
  overflow: hidden;
  color: var(--color-ink);
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(15, 159, 154, 0.05) 42%, rgba(217, 72, 115, 0.06)),
    #ffffff;
}

.gallery-showcase-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: 1.25rem;
  align-items: stretch;
}

.gallery-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 1.25rem;
  border-left: 4px solid var(--color-teal);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.58));
}

.gallery-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding: 0.48rem 0.74rem;
  border-radius: 999px;
  color: var(--color-blue);
  background: rgba(13, 110, 253, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-showcase-copy h3 {
  max-width: 360px;
  margin-bottom: 1rem;
  font-size: 2.05rem;
  line-height: 1.08;
  font-weight: 900;
}

.gallery-showcase-copy p {
  max-width: 360px;
  color: var(--color-muted);
}

.gallery-showcase-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.gallery-showcase-stats span {
  display: grid;
  min-width: 118px;
  padding: 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--color-muted);
  font-size: 0.82rem;
}

.gallery-showcase-stats strong {
  color: var(--color-ink);
  font-size: 1.45rem;
  line-height: 1;
}

.gallery-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 1rem;
}

.gallery-showcase-item {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  background: #102033;
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.16);
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-showcase-item.is-featured {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-showcase-item:nth-child(4) {
  grid-column: span 3;
}

.gallery-showcase-item:nth-child(5) {
  grid-column: span 3;
}

.gallery-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,21,37,0.02), rgba(8,21,37,0.82)),
    linear-gradient(135deg, rgba(13,110,253,0.28), transparent 48%, rgba(217,72,115,0.22));
  opacity: 0.92;
  transition: opacity 0.28s ease;
}

.gallery-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.34), transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.62s ease;
}

.gallery-number {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  color: rgba(255,255,255,0.74);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gallery-showcase-content {
  position: absolute;
  z-index: 3;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.25rem;
  text-align: left;
  transform: translateY(12px);
  transition: transform 0.28s ease;
}

.gallery-showcase-content small {
  color: #9de8e4;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-showcase-content strong {
  font-size: 1.18rem;
  line-height: 1.12;
}

.gallery-showcase-item.is-featured .gallery-showcase-content strong {
  font-size: 1.85rem;
}

.gallery-showcase-content em {
  color: rgba(255,255,255,0.74);
  font-style: normal;
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.gallery-showcase-item:hover,
.gallery-showcase-item:focus-visible {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px);
  box-shadow: 0 28px 64px rgba(16, 32, 51, 0.24);
}

.gallery-showcase-item:hover img,
.gallery-showcase-item:focus-visible img {
  transform: scale(1.1);
  filter: saturate(1.12) contrast(1.04);
}

.gallery-showcase-item:hover::after,
.gallery-showcase-item:focus-visible::after {
  opacity: 0.78;
}

.gallery-showcase-item:hover .gallery-shine,
.gallery-showcase-item:focus-visible .gallery-shine {
  transform: translateX(120%);
}

.gallery-showcase-item:hover .gallery-showcase-content,
.gallery-showcase-item:focus-visible .gallery-showcase-content {
  transform: translateY(0);
}

.gallery-showcase-item:hover .gallery-showcase-content em,
.gallery-showcase-item:focus-visible .gallery-showcase-content em {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .gallery-showcase-layout {
    grid-template-columns: 1fr;
  }

  .gallery-showcase-copy {
    min-height: auto;
  }
}


/* Premium About page */
.about-premium-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 110px 0 86px;
}

.about-premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(0deg, rgba(8, 21, 37, 0.76), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 86px);
  pointer-events: none;
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 3rem;
  align-items: center;
}

.about-hero-copy .section-title {
  max-width: 850px;
  margin-bottom: 1.2rem;
  color: #fff;
  text-wrap: balance;
}

.about-hero-copy .section-text {
  max-width: 680px;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.about-hero-panel {
  position: relative;
  min-height: 390px;
}

.about-browser-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.about-profile-mini {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.1rem;
  padding: 1rem;
  border-radius: 12px;
  color: #fff;
  background: rgba(8, 21, 37, 0.5);
}

.about-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  font-weight: 900;
}

.about-profile-mini small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.about-code-lines {
  display: grid;
  gap: 0.7rem;
  padding: 0 1.1rem 1rem;
}

.about-code-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0 1.1rem 1.1rem;
}

.about-mini-grid span {
  min-height: 80px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08)),
    linear-gradient(135deg, rgba(13,110,253,0.24), rgba(217,72,115,0.16));
}

.about-floating-note {
  position: absolute;
  right: -14px;
  bottom: 12px;
  display: grid;
  gap: 0.15rem;
  min-width: 188px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  animation: floatCard 4.8s ease-in-out infinite;
}

.about-floating-note i {
  color: #ffd38a;
}

.about-floating-note span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.about-intro-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.about-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #dce4ee;
  box-shadow: 0 28px 70px rgba(16, 32, 51, 0.16);
}

.about-photo-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.about-photo-wrap:hover img {
  transform: scale(1.06);
}

.about-photo-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: #fff;
  background: rgba(8, 21, 37, 0.74);
  backdrop-filter: blur(14px);
  font-weight: 850;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.about-detail-grid div {
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about-detail-grid span {
  display: block;
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-detail-grid strong {
  display: block;
  margin-top: 0.25rem;
  line-height: 1.25;
}

.about-capability-grid,
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.about-card,
.about-value-item,
.about-skill-tile,
.about-journey-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-card {
  min-height: 270px;
  padding: 1.25rem;
}

.about-card::before,
.about-value-item::before,
.about-skill-tile::before,
.about-journey-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.15), transparent 34%),
    radial-gradient(circle at bottom left, rgba(217, 72, 115, 0.1), transparent 38%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.about-card:hover,
.about-value-item:hover,
.about-skill-tile:hover,
.about-journey-item:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-7px);
  border-color: rgba(13, 110, 253, 0.38);
  box-shadow: 0 24px 54px rgba(16, 32, 51, 0.16);
}

.about-card:hover::before,
.about-value-item:hover::before,
.about-skill-tile:hover::before,
.about-journey-item:hover::before {
  opacity: 1;
}

.about-card i,
.about-value-item i,
.about-skill-tile i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 16px 28px rgba(13, 110, 253, 0.18);
  font-size: 1.35rem;
}

.about-card h3,
.about-card p,
.about-value-item h3,
.about-value-item p,
.about-skill-tile strong,
.about-skill-tile span,
.about-journey-item span,
.about-journey-item div {
  position: relative;
  z-index: 1;
}

.about-card h3,
.about-value-item h3 {
  font-size: 1.12rem;
  font-weight: 850;
}

.about-card p,
.about-value-item p,
.about-journey-item p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.about-journey-section {
  background: #fff;
}

.about-journey-list {
  display: grid;
  gap: 1rem;
}

.about-journey-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1rem;
  padding: 1.15rem;
}

.about-journey-item > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  color: var(--color-blue);
  background: #eef6ff;
  font-weight: 900;
}

.about-journey-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  font-weight: 850;
}

.about-stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.about-skill-tile {
  display: grid;
  min-height: 150px;
  padding: 1rem;
  align-content: end;
}

.about-skill-tile i {
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.about-skill-tile strong {
  font-weight: 850;
}

.about-skill-tile span {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.about-values-section {
  background:
    linear-gradient(180deg, #ffffff, #f8fbff 100%);
}

.about-values-grid {
  grid-template-columns: repeat(2, 1fr);
}

.about-value-item {
  min-height: 220px;
  padding: 1.2rem;
}

@media (max-width: 1199.98px) {
  .about-capability-grid,
  .about-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .about-premium-hero {
    min-height: auto;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-panel {
    display: none;
  }

  .about-capability-grid,
  .about-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .about-hero-actions,
  .about-hero-actions .btn {
    width: 100%;
  }

  .about-detail-grid,
  .about-capability-grid,
  .about-stack-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-journey-item {
    grid-template-columns: 1fr;
  }
}


/* Editorial About refresh */
.about-editorial-hero {
  min-height: 690px;
  background-image:
    linear-gradient(90deg, rgba(8, 21, 37, 0.96), rgba(8, 21, 37, 0.72) 54%, rgba(8, 21, 37, 0.2)),
    url("../images/profile/sk-workspace-profile.png");
}

.about-editorial-hero .section-title {
  max-width: 920px;
  font-size: clamp(3.2rem, 5.6vw, 6.6rem);
  line-height: 0.94;
}

.about-identity-glass {
  transform: rotate(-2deg);
  animation: aboutPanelDrift 5.8s ease-in-out infinite;
}

.about-signature-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, #ffffff 0%, #f8fbff 48%, #fff7f9 100%);
}

.about-signature-grid,
.about-stack-orbit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-portrait-frame {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
}

.about-portrait-frame::before {
  content: "";
  position: absolute;
  inset: 10% -9% -9% 14%;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.16), rgba(217, 72, 115, 0.14));
  transform: rotate(-5deg);
}

.about-portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px 22px 90px 22px;
  box-shadow: 0 30px 80px rgba(16, 32, 51, 0.18);
}

.portrait-ring {
  position: absolute;
  z-index: 2;
  right: -22px;
  top: 18%;
  width: 86px;
  height: 86px;
  border: 14px solid rgba(15, 159, 154, 0.2);
  border-radius: 50%;
  animation: rotateSoft 12s linear infinite;
}

.portrait-tag {
  position: absolute;
  z-index: 3;
  left: -18px;
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 21, 37, 0.82);
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.22);
  backdrop-filter: blur(14px);
  font-weight: 850;
}

.about-signature-copy .section-title {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.4vw, 5rem);
}

.about-facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.about-facts-strip span {
  display: grid;
  gap: 0.25rem;
  padding: 1.05rem 1rem;
  color: var(--color-muted);
  border-right: 1px solid var(--color-line);
  font-size: 0.82rem;
}

.about-facts-strip span:last-child {
  border-right: 0;
}

.about-facts-strip strong {
  color: var(--color-ink);
  font-size: 1.6rem;
  line-height: 1;
}

.about-flow-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.about-flow-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-line);
}

.about-flow-item {
  display: grid;
  grid-template-columns: 80px 78px minmax(0, 1fr) minmax(220px, 0.3fr);
  gap: 1.2rem;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2.3rem) 0;
  border-bottom: 1px solid var(--color-line);
  transition: transform 0.28s ease, background 0.28s ease, padding-inline 0.28s ease;
}

.about-flow-item:hover {
  padding-inline: 1rem;
  background: linear-gradient(90deg, rgba(13,110,253,0.06), transparent 68%);
  transform: translateX(8px);
}

.flow-number {
  color: rgba(16, 32, 51, 0.18);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.flow-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 18px 36px rgba(13, 110, 253, 0.18);
  transition: transform 0.28s ease;
}

.about-flow-item:hover .flow-icon {
  transform: rotate(-8deg) scale(1.06);
}

.flow-copy h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 900;
}

.flow-copy p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.flow-tags span {
  padding: 0.42rem 0.66rem;
  border-radius: 999px;
  color: var(--color-blue);
  background: rgba(13, 110, 253, 0.08);
  font-size: 0.76rem;
  font-weight: 850;
}

.about-dark-journey {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 21, 37, 0.98), rgba(16, 32, 51, 0.92)),
    url("../images/hero/developer-workspace.png") center/cover;
  overflow: hidden;
}

.about-dark-journey .section-title {
  color: #fff;
}

.about-dark-journey .section-text {
  color: rgba(255, 255, 255, 0.72);
}

.journey-spine {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 2rem;
}

.journey-spine::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 2px;
  background: linear-gradient(var(--color-teal), var(--color-rose), var(--color-amber));
}

.journey-spine article {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
}

.journey-spine article::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.45rem;
  width: 15px;
  height: 15px;
  border: 3px solid #9de8e4;
  border-radius: 50%;
  background: #081525;
  box-shadow: 0 0 0 8px rgba(157, 232, 228, 0.12);
}

.journey-spine span {
  color: rgba(255, 255, 255, 0.18);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
}

.journey-spine h3 {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 850;
}

.journey-spine p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
}

.about-stack-orbit-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.stack-orbit {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.stack-orbit::before,
.stack-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 50%;
}

.stack-orbit::before {
  width: 360px;
  height: 360px;
  animation: rotateSoft 20s linear infinite;
}

.stack-orbit::after {
  width: 250px;
  height: 250px;
  animation: rotateSoft 14s linear reverse infinite;
}

.orbit-center {
  position: relative;
  z-index: 2;
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 28px 70px rgba(13, 110, 253, 0.24);
}

.orbit-center strong {
  font-size: 2.4rem;
  line-height: 1;
}

.orbit-center span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.stack-orbit > span {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  padding: 0.52rem 0.8rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  font-weight: 850;
  transform: rotate(calc(var(--i) * 60deg)) translateX(180px) rotate(calc(var(--i) * -60deg));
  animation: orbitFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.18s);
}

.stack-copy .section-title {
  max-width: 760px;
  font-size: clamp(2.3rem, 4vw, 4.6rem);
}

.stack-line-list {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.stack-line-list p {
  display: flex;
  gap: 0.85rem;
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-muted);
}

.stack-line-list i {
  color: var(--color-blue);
  font-size: 1.2rem;
}

.stack-line-list strong {
  color: var(--color-ink);
}

.about-principles-band {
  color: #fff;
  background:
    linear-gradient(135deg, #081525, #102033 56%, #173f3d);
  overflow: hidden;
}

.about-principles-band .section-title {
  color: #fff;
}

.principles-heading {
  max-width: 860px;
  margin-bottom: 3rem;
}

.principle-statements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.principle-statements article {
  min-height: 230px;
  padding: 1.2rem;
  border-right: 1px solid rgba(255,255,255,0.16);
  transition: background 0.28s ease, transform 0.28s ease;
}

.principle-statements article:last-child {
  border-right: 0;
}

.principle-statements article:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-8px);
}

.principle-statements span {
  display: block;
  margin-bottom: 4rem;
  color: #9de8e4;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.principle-statements p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
}

.about-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
}

.about-final-cta h3 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 900;
}

@keyframes aboutPanelDrift {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes rotateSoft {
  to { transform: rotate(360deg); }
}

@keyframes orbitFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

@media (max-width: 1199.98px) {
  .about-flow-item {
    grid-template-columns: 70px 70px 1fr;
  }

  .flow-tags {
    grid-column: 3;
    justify-content: flex-start;
  }

  .principle-statements {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle-statements article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 991.98px) {
  .about-editorial-hero .section-title {
    font-size: clamp(2.7rem, 7vw, 4.4rem);
  }

  .about-signature-grid,
  .about-stack-orbit-layout {
    grid-template-columns: 1fr;
  }

  .about-facts-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-facts-strip span:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 767.98px) {
  .about-flow-item {
    grid-template-columns: 1fr;
    transform: none !important;
  }

  .flow-tags {
    grid-column: auto;
    justify-content: flex-start;
  }

  .stack-orbit {
    min-height: 320px;
    transform: scale(0.82);
  }

  .principle-statements {
    grid-template-columns: 1fr;
  }

  .principle-statements article,
  .principle-statements article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }

  .principle-statements span {
    margin-bottom: 1.4rem;
  }

  .about-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .about-facts-strip {
    grid-template-columns: 1fr;
  }

  .about-facts-strip span,
  .about-facts-strip span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .about-facts-strip span:last-child {
    border-bottom: 0;
  }

  .portrait-tag {
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

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

  .reveal,
  .hero-eyebrow,
  .hero-title,
  .hero-copy,
  .hero-actions,
  .hero-metrics,
  .hero-accent {
    opacity: 1;
    transform: none;
  }
}

/* About page designer polish layer */
.about-editorial-hero {
  isolation: isolate;
}

.about-editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.14) 39%, transparent 43%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 120px);
  mix-blend-mode: screen;
  opacity: 0.56;
  animation: aboutHeroSweep 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.about-editorial-hero .container {
  position: relative;
  z-index: 1;
}

.about-editorial-hero .section-title {
  letter-spacing: 0;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.about-editorial-hero .section-text {
  max-width: 740px;
  border-left: 4px solid var(--color-teal);
  padding-left: 1.2rem;
}

.about-identity-glass {
  border-radius: 34px 8px 34px 8px;
}

.about-signature-section::before {
  content: "DETAIL";
  position: absolute;
  right: -0.18em;
  bottom: -0.26em;
  color: rgba(13, 110, 253, 0.045);
  font-size: 9rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.about-portrait-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 24px -18px -18px 38px;
  border-right: 2px solid rgba(217, 72, 115, 0.32);
  border-bottom: 2px solid rgba(15, 159, 154, 0.32);
  border-radius: 12px 12px 78px 12px;
  transform: rotate(3deg);
  pointer-events: none;
}

.about-facts-strip {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #081525;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.16);
}

.about-facts-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: translateX(-100%);
  animation: aboutSheen 4.8s ease-in-out infinite;
}

.about-facts-strip span {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.68);
  border-right-color: rgba(255,255,255,0.14);
}

.about-facts-strip strong {
  color: #fff;
}

.about-kinetic-strip {
  overflow: hidden;
  margin-top: 1.2rem;
  transform: rotate(-1deg);
}

.about-kinetic-track {
  display: flex;
  width: max-content;
  gap: 0.7rem;
  animation: aboutMarquee 18s linear infinite;
}

.about-kinetic-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 1rem;
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 999px;
  color: var(--color-blue);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-flow-list {
  position: relative;
  border-top: 0;
}

.about-flow-list::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--color-blue), var(--color-teal), var(--color-rose));
  opacity: 0.26;
}

.about-flow-item {
  position: relative;
  border-bottom: 0;
  border-radius: 0;
}

.about-flow-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(13,110,253,0.28), transparent);
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.about-flow-item:hover::after {
  transform: scaleX(1);
}

.about-flow-item:nth-child(even) {
  margin-left: 3rem;
}

.about-flow-item:hover {
  background: linear-gradient(90deg, rgba(13,110,253,0.08), rgba(15,159,154,0.04), transparent);
}

.flow-number {
  transition: color 0.28s ease, transform 0.28s ease;
}

.about-flow-item:hover .flow-number {
  color: rgba(217, 72, 115, 0.32);
  transform: translateY(-4px);
}

.journey-spine::before {
  background-size: 100% 220%;
  animation: spineFlow 4.4s linear infinite;
}

.journey-spine article {
  transition: transform 0.28s ease;
}

.journey-spine article:hover {
  transform: translateX(10px);
}

.journey-spine article:hover::before {
  border-color: #fff;
  box-shadow: 0 0 0 10px rgba(157, 232, 228, 0.16), 0 0 28px rgba(157, 232, 228, 0.32);
}

.stack-signal-row {
  display: grid;
  gap: 0.7rem;
  max-width: 520px;
  margin: 1.4rem 0 0.4rem;
}

.stack-signal-row span {
  position: relative;
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.1);
}

.stack-signal-row span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
  animation: signalPulse 2.8s ease-in-out infinite;
}

.stack-line-list {
  border-top: 0;
}

.stack-line-list p {
  position: relative;
  border-bottom-color: rgba(13, 110, 253, 0.12);
  transition: transform 0.24s ease, color 0.24s ease;
}

.stack-line-list p:hover {
  color: var(--color-ink);
  transform: translateX(8px);
}

.stack-line-list p::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.28s ease;
}

.stack-line-list p:hover::before {
  width: 100%;
}

.about-principles-band {
  position: relative;
}

.about-principles-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 74px);
  opacity: 0.7;
  pointer-events: none;
}

.about-principles-band .container {
  position: relative;
  z-index: 1;
}

.principle-statements {
  gap: 1rem;
  border: 0;
}

.principle-statements article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 0;
  border-top: 2px solid rgba(255,255,255,0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.principle-statements article:nth-child(2),
.principle-statements article:nth-child(4) {
  transform: translateY(2rem);
}

.principle-statements article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.principle-statements article:hover::after {
  transform: scaleX(1);
}

.about-final-cta {
  border-top: 1px solid rgba(255,255,255,0.16);
}

@keyframes aboutHeroSweep {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

@keyframes aboutSheen {
  0%, 52% { transform: translateX(-100%); }
  78%, 100% { transform: translateX(100%); }
}

@keyframes aboutMarquee {
  to { transform: translateX(-50%); }
}

@keyframes spineFlow {
  to { background-position: 0 220%; }
}

@keyframes signalPulse {
  0%, 100% { filter: saturate(1); transform: scaleX(0.92); transform-origin: left; }
  50% { filter: saturate(1.35); transform: scaleX(1); transform-origin: left; }
}

@media (max-width: 991.98px) {
  .about-flow-item:nth-child(even) {
    margin-left: 0;
  }

  .principle-statements article:nth-child(2),
  .principle-statements article:nth-child(4) {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .about-editorial-hero .section-text {
    border-left-width: 3px;
    padding-left: 0.9rem;
  }

  .about-signature-section::before {
    font-size: 4.4rem;
  }

  .about-kinetic-strip {
    transform: none;
  }

  .about-facts-strip {
    border-radius: 14px;
  }
}

/* About banner and title refinement */
.about-editorial-hero {
  min-height: 620px;
  padding: 104px 0 76px;
  background-image:
    linear-gradient(100deg, rgba(8, 21, 37, 0.98) 0%, rgba(8, 21, 37, 0.9) 48%, rgba(8, 21, 37, 0.56) 100%),
    url("../images/hero/developer-workspace.png");
  background-position: center;
  background-size: cover;
}

.about-editorial-hero::after {
  height: 34%;
  background:
    linear-gradient(0deg, rgba(8, 21, 37, 0.86), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 112px);
}

.about-editorial-hero .about-hero-grid {
  grid-template-columns: minmax(0, 0.56fr) minmax(360px, 0.44fr);
  gap: clamp(2rem, 4rem, 4rem);
}

.about-editorial-hero .section-eyebrow {
  margin-bottom: 1.15rem;
}

.about-editorial-hero .section-title {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: 4.35rem;
  line-height: 1.03;
  font-weight: 900;
}

.about-editorial-hero .section-title::after {
  content: "";
  display: block;
  width: 132px;
  height: 5px;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
  box-shadow: 0 12px 28px rgba(15, 159, 154, 0.22);
}

.about-editorial-hero .section-text {
  max-width: 660px;
  font-size: 1.08rem;
}

.about-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  font-size: 0.86rem;
  font-weight: 850;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.about-hero-points span:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 232, 228, 0.52);
  background: rgba(15, 159, 154, 0.18);
}

.about-hero-points i {
  color: #9de8e4;
}

.about-hero-panel {
  min-height: 430px;
  perspective: 900px;
}

.about-design-stage {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px 10px 32px 10px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.07));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: rotateX(4deg) rotateY(-7deg) rotateZ(1deg);
  animation: aboutStageFloat 6s ease-in-out infinite;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.about-design-stage:hover {
  transform: rotateX(0) rotateY(-3deg) rotateZ(0) translateY(-8px);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.42);
}

.about-design-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(255,255,255,0.18) 42%, transparent 48%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 38px);
  animation: aboutStageSweep 5.4s ease-in-out infinite;
  pointer-events: none;
}

.about-stage-top,
.about-stage-grid,
.about-stage-code {
  position: relative;
  z-index: 1;
}

.about-stage-top {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  padding: 0.35rem 0.25rem 0.95rem;
}

.about-stage-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffcc66;
}

.about-stage-top span:first-child {
  background: #ff6b8a;
}

.about-stage-top span:nth-child(2) {
  background: #9de8e4;
}

.about-stage-top strong {
  margin-left: auto;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 800;
}

.about-stage-grid {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1rem;
  min-height: 250px;
}

.stage-sidebar {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  padding: 1rem 0.7rem;
  border-radius: 18px;
  background: rgba(8, 21, 37, 0.56);
}

.stage-sidebar span {
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
}

.stage-sidebar span:nth-child(2) {
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
}

.stage-canvas {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: 24px 8px 24px 8px;
  background: rgba(255,255,255,0.9);
}

.stage-title-line,
.stage-text-line,
.stage-ui-row span {
  border-radius: 999px;
}

.stage-title-line {
  width: 78%;
  height: 22px;
  background: #102033;
}

.stage-text-line {
  width: 54%;
  height: 11px;
  margin-top: 0.85rem;
  background: #dce4ee;
}

.stage-ui-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.68fr;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.stage-ui-row span {
  height: 58px;
  background: linear-gradient(145deg, #eef5ff, #ffffff);
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.09);
}

.stage-wave {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  height: 70px;
  border-radius: 28px 8px 28px 8px;
  background:
    linear-gradient(135deg, rgba(13,110,253,0.16), rgba(15,159,154,0.22)),
    repeating-linear-gradient(90deg, rgba(13,110,253,0.22) 0 8px, transparent 8px 18px);
  animation: stageWave 3.5s ease-in-out infinite;
}

.about-stage-code {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.about-stage-code span {
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  color: #9de8e4;
  background: rgba(8, 21, 37, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
}

.about-floating-note {
  right: 8px;
  bottom: -12px;
  border-radius: 20px 6px 20px 6px;
}

.about-signature-copy .section-title,
.stack-copy .section-title,
.about-dark-journey .section-title,
.about-principles-band .section-title,
.about-flow-section .section-title {
  font-size: 3.15rem;
  line-height: 1.08;
  font-weight: 900;
}

.about-signature-copy .section-title,
.stack-copy .section-title {
  max-width: 650px;
}

.about-flow-section .section-title,
.about-principles-band .section-title {
  max-width: 720px;
}

@keyframes aboutStageFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-7deg) rotateZ(1deg) translateY(0); }
  50% { transform: rotateX(2deg) rotateY(-4deg) rotateZ(-1deg) translateY(-12px); }
}

@keyframes aboutStageSweep {
  0%, 46% { transform: translateX(-68%); }
  76%, 100% { transform: translateX(68%); }
}

@keyframes stageWave {
  0%, 100% { background-position: 0 0, 0 0; }
  50% { background-position: 0 0, 34px 0; }
}

@media (max-width: 1199.98px) {
  .about-editorial-hero .section-title {
    font-size: 3.75rem;
  }

  .about-signature-copy .section-title,
  .stack-copy .section-title,
  .about-dark-journey .section-title,
  .about-principles-band .section-title,
  .about-flow-section .section-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 991.98px) {
  .about-editorial-hero {
    min-height: auto;
    padding: 96px 0 70px;
  }

  .about-editorial-hero .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-panel {
    display: block;
    min-height: auto;
  }

  .about-design-stage {
    max-width: 580px;
    margin-inline: auto;
    transform: none;
  }

  .about-editorial-hero .section-title {
    font-size: 3.25rem;
  }
}

@media (max-width: 575.98px) {
  .about-editorial-hero {
    padding: 88px 0 58px;
  }

  .about-editorial-hero .section-title {
    font-size: 2.45rem;
    line-height: 1.08;
  }

  .about-signature-copy .section-title,
  .stack-copy .section-title,
  .about-dark-journey .section-title,
  .about-principles-band .section-title,
  .about-flow-section .section-title {
    font-size: 2.05rem;
    line-height: 1.13;
  }

  .about-stage-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .stage-sidebar {
    display: none;
  }

  .stage-canvas {
    min-height: 230px;
  }

  .about-stage-code span {
    font-size: 0.68rem;
  }
}

/* Premium Contact page refresh */
.contact-premium-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 108px 0 76px;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(8, 21, 37, 0.97) 0%, rgba(8, 21, 37, 0.82) 52%, rgba(8, 21, 37, 0.52) 100%),
    url("../images/hero/contact-hero.png");
  background-position: center;
  background-size: cover;
}

.contact-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,0.12) 35%, transparent 39%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 118px);
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: contactHeroSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.contact-premium-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(350px, 0.45fr);
  gap: 4rem;
  align-items: center;
}

.contact-hero-copy .section-title {
  max-width: 760px;
  color: #fff;
  font-size: 4.2rem;
  line-height: 1.03;
  font-weight: 900;
}

.contact-hero-copy .section-title::after {
  content: "";
  display: block;
  width: 126px;
  height: 5px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
}

.contact-hero-copy .section-text {
  max-width: 650px;
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-hero-visual {
  position: relative;
  min-height: 420px;
}

.contact-message-stack {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
}

.message-bubble {
  position: relative;
  width: min(390px, 100%);
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 26px 26px 8px 26px;
  color: #fff;
  background: rgba(255,255,255,0.11);
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
  backdrop-filter: blur(18px);
  animation: contactBubbleFloat 5.5s ease-in-out infinite;
  transition: transform 0.28s ease, background 0.28s ease;
}

.message-bubble:nth-child(2) {
  justify-self: end;
  animation-delay: 0.35s;
}

.message-bubble:nth-child(3) {
  margin-left: 2rem;
  animation-delay: 0.7s;
}

.message-bubble:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.16);
}

.message-bubble span,
.contact-signal-card span {
  display: block;
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.message-bubble strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.18rem;
}

.message-bubble.accent {
  color: #081525;
  background: linear-gradient(135deg, #9de8e4, #ffffff);
}

.message-bubble.accent span {
  color: rgba(8,21,37,0.56);
}

.contact-signal-card {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 320px;
  padding: 1rem;
  border-radius: 8px 24px 8px 24px;
  color: #fff;
  background: rgba(8, 21, 37, 0.72);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.contact-signal-card i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #081525;
  background: #9de8e4;
  font-size: 1.25rem;
}

.contact-studio-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbff 50%, #fff8fb 100%);
}

.contact-studio-section::before {
  content: "CONTACT";
  position: absolute;
  right: -0.16em;
  top: 0.06em;
  color: rgba(13,110,253,0.045);
  font-size: 8rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.contact-studio-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 4rem;
  align-items: start;
}

.contact-sidebar .section-title {
  max-width: 560px;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 900;
}

.contact-method-list {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--color-line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.24s ease, color 0.24s ease;
}

.contact-method:hover {
  color: var(--color-blue);
  transform: translateX(8px);
}

.contact-method i {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 16px 36px rgba(13,110,253,0.18);
  transition: transform 0.24s ease;
}

.contact-method:hover i {
  transform: rotate(-8deg) scale(1.06);
}

.contact-method strong,
.contact-method small {
  display: block;
}

.contact-method small {
  color: var(--color-muted);
  word-break: break-word;
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.contact-form-shell {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 28px 8px 28px 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 30px 90px rgba(16, 32, 51, 0.14);
  backdrop-filter: blur(18px);
}

.contact-form-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(13,110,253,0.08) 46%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(13,110,253,0.035) 0 1px, transparent 1px 44px);
  pointer-events: none;
}

.contact-form-shell > * {
  position: relative;
  z-index: 1;
}

.contact-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-form-heading span {
  color: var(--color-blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form-heading strong {
  color: rgba(16,32,51,0.12);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 950;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-full {
  grid-column: 1 / -1;
}

.contact-form-grid .form-control {
  border: 1px solid rgba(13,110,253,0.16);
  border-radius: 14px;
  background-color: rgba(255,255,255,0.92);
  box-shadow: none;
}

.contact-form-grid .form-floating > label {
  color: #607086;
}

.contact-form-grid textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.contact-form-grid .form-control:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 0.22rem rgba(15,159,154,0.12);
}

.contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.contact-submit-row p {
  max-width: 440px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.contact-submit-row i {
  color: var(--color-teal);
}

.contact-process-band {
  color: #fff;
  background:
    linear-gradient(135deg, #081525, #102033 58%, #173f3d),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 92px);
  overflow: hidden;
}

.contact-process-band .section-title {
  max-width: 760px;
  color: #fff;
  font-size: 3.1rem;
  line-height: 1.08;
  font-weight: 900;
}

.contact-process-band .section-text {
  color: rgba(255,255,255,0.72);
}

.contact-step-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.contact-step-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
  opacity: 0.42;
}

.contact-step {
  position: relative;
  min-height: 230px;
  padding: 0 1rem 1rem 0;
  transition: transform 0.28s ease;
}

.contact-step:hover {
  transform: translateY(-8px);
}

.contact-step span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 50%;
  color: #081525;
  background: #9de8e4;
  box-shadow: 0 0 0 12px rgba(157,232,228,0.08);
  font-weight: 950;
}

.contact-step h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 850;
}

.contact-step p {
  color: rgba(255,255,255,0.68);
}

@keyframes contactHeroSweep {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

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

@media (max-width: 991.98px) {
  .contact-hero-grid,
  .contact-studio-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy .section-title {
    font-size: 3.3rem;
  }

  .contact-sidebar .section-title,
  .contact-process-band .section-title {
    font-size: 2.6rem;
  }

  .contact-step-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-step-line::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .contact-premium-hero {
    min-height: auto;
    padding: 88px 0 56px;
  }

  .contact-hero-copy .section-title {
    font-size: 2.4rem;
    line-height: 1.08;
  }

  .contact-hero-visual {
    min-height: 330px;
  }

  .message-bubble:nth-child(3) {
    margin-left: 0;
  }

  .contact-signal-card {
    position: relative;
    margin-top: 1rem;
  }

  .contact-form-shell {
    padding: 1.25rem;
    border-radius: 20px 8px 20px 8px;
  }

  .contact-form-grid,
  .contact-step-line {
    grid-template-columns: 1fr;
  }

  .contact-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-sidebar .section-title,
  .contact-process-band .section-title {
    font-size: 2.05rem;
    line-height: 1.12;
  }
}

/* Premium Blog page refresh */
.blog-premium-hero {
  position: relative;
  min-height: 630px;
  display: flex;
  align-items: center;
  padding: 108px 0 76px;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(8, 21, 37, 0.98) 0%, rgba(8, 21, 37, 0.84) 50%, rgba(8, 21, 37, 0.44) 100%),
    url("../images/blog/sk-writing-gallery.png");
  background-position: center;
  background-size: cover;
}

.blog-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,0.12) 39%, transparent 43%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 118px);
  mix-blend-mode: screen;
  opacity: 0.66;
  animation: blogHeroSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.blog-premium-hero .container {
  position: relative;
  z-index: 1;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.57fr) minmax(340px, 0.43fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.blog-hero-copy .section-title {
  max-width: 820px;
  color: #fff;
  font-size: 4.25rem;
  line-height: 1.03;
  font-weight: 900;
}

.blog-hero-copy .section-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
}

.blog-hero-copy .section-text {
  max-width: 670px;
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
}

.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.blog-hero-board {
  position: relative;
  min-height: 420px;
}

.blog-note-card {
  position: absolute;
  width: min(320px, 88%);
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px 8px 24px 8px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 28px 72px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
  animation: blogNoteFloat 5.8s ease-in-out infinite;
  transition: transform 0.28s ease, background 0.28s ease;
}

.blog-note-card:hover {
  transform: translateY(-10px) rotate(0deg) !important;
  background: rgba(255,255,255,0.17);
}

.blog-note-card.primary {
  left: 0;
  top: 24px;
  width: min(390px, 96%);
  min-height: 190px;
  padding: 1.35rem;
  transform: rotate(-3deg);
}

.blog-note-card:not(.primary):not(.dark) {
  right: 0;
  top: 185px;
  transform: rotate(4deg);
  animation-delay: 0.35s;
}

.blog-note-card.dark {
  left: 52px;
  bottom: 10px;
  color: #081525;
  background: linear-gradient(135deg, #9de8e4, #ffffff);
  transform: rotate(2deg);
  animation-delay: 0.7s;
}

.blog-note-card span {
  display: block;
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-note-card.dark span {
  color: rgba(8,21,37,0.56);
}

.blog-note-card strong {
  display: block;
  margin-top: 0.42rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.16;
}

.blog-editorial-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbff 52%, #fff8fb 100%);
}

.blog-editorial-section::before {
  content: "JOURNAL";
  position: absolute;
  right: -0.16em;
  top: 0.04em;
  color: rgba(13,110,253,0.045);
  font-size: 8.5rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.blog-section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.blog-section-heading .section-title {
  max-width: 720px;
  font-size: 3.1rem;
  line-height: 1.08;
  font-weight: 900;
}

.blog-featured-wrap {
  margin-bottom: 2rem;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  overflow: hidden;
  padding: 1rem;
  border-radius: 32px 8px 32px 8px;
  color: #fff;
  background: #081525;
  box-shadow: 0 34px 94px rgba(16,32,51,0.2);
}

.blog-featured-media {
  position: relative;
  display: block;
  min-height: 390px;
  overflow: hidden;
  border-radius: 24px 8px 24px 8px;
}

.blog-featured-media img,
.blog-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-media img,
.blog-archive-card:hover .blog-archive-image img {
  transform: scale(1.07);
}

.blog-featured-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  color: #081525;
  background: #9de8e4;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.6rem) clamp(0.6rem, 3vw, 2.2rem);
}

.blog-featured-copy h2 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  font-weight: 900;
}

.blog-featured-copy p {
  max-width: 620px;
  color: rgba(255,255,255,0.72);
  font-size: 1.06rem;
}

.blog-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.62);
  font-size: 0.86rem;
  font-weight: 750;
}

.blog-archive-card .blog-meta-line {
  color: var(--color-muted);
}

.blog-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.35rem;
}

.blog-tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.62rem;
  border: 1px solid rgba(13,110,253,0.16);
  border-radius: 999px;
  color: var(--color-blue);
  background: rgba(255,255,255,0.78);
  font-size: 0.74rem;
  font-weight: 850;
}

.blog-control-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.15rem;
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 22px 8px 22px 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 60px rgba(16,32,51,0.08);
  backdrop-filter: blur(16px);
}

.blog-search-field {
  position: relative;
}

.blog-search-field i {
  position: absolute;
  left: 1rem;
  top: 50%;
  z-index: 2;
  color: var(--color-blue);
  transform: translateY(-50%);
}

.blog-search-field .form-control {
  padding-left: 2.8rem;
  border-radius: 999px;
  background: #fff;
}

.blog-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.blog-filter-list .blog-filter {
  border: 1px solid rgba(13,110,253,0.18);
  border-radius: 999px;
  color: var(--color-ink);
  background: #fff;
  font-weight: 850;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.blog-filter-list .blog-filter:hover,
.blog-filter-list .blog-filter.active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(13,110,253,0.16);
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.blog-archive-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.25rem;
  min-height: 260px;
  padding: 1rem;
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 24px 8px 24px 8px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 20px 60px rgba(16,32,51,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.blog-archive-card:hover {
  border-color: rgba(15,159,154,0.34);
  box-shadow: 0 30px 76px rgba(16,32,51,0.14);
  transform: translateY(-8px);
}

.blog-archive-image {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border-radius: 18px 6px 18px 6px;
  background: #dce4ee;
}

.blog-archive-image span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  color: rgba(255,255,255,0.72);
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

.blog-archive-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.2rem 0;
}

.blog-archive-copy h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  line-height: 1.18;
  font-weight: 900;
}

.blog-archive-copy h3 a,
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-archive-copy h3 a:hover,
.blog-card h3 a:hover {
  color: var(--color-blue);
}

.blog-archive-copy p {
  color: var(--color-muted);
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: max-content;
  margin-top: auto;
  color: var(--color-blue);
  font-weight: 900;
  text-decoration: none;
}

.blog-read-link i {
  transition: transform 0.22s ease;
}

.blog-read-link:hover i {
  transform: translateX(5px);
}

.blog-empty-state {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
  padding: 3rem 1rem;
  border: 1px dashed rgba(13,110,253,0.28);
  border-radius: 18px;
  color: var(--color-muted);
  background: rgba(255,255,255,0.72);
  text-align: center;
}

.blog-empty-state i {
  color: var(--color-blue);
  font-size: 2rem;
}

.blog-empty-state strong {
  color: var(--color-ink);
}

@keyframes blogHeroSweep {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

@keyframes blogNoteFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

@media (max-width: 1199.98px) {
  .blog-archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .blog-premium-hero {
    min-height: auto;
    padding: 96px 0 70px;
  }

  .blog-hero-grid,
  .blog-section-heading,
  .blog-featured-card,
  .blog-control-band {
    grid-template-columns: 1fr;
  }

  .blog-hero-copy .section-title {
    font-size: 3.25rem;
  }

  .blog-section-heading .section-title {
    font-size: 2.65rem;
  }

  .blog-hero-board {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .blog-premium-hero {
    padding: 88px 0 58px;
  }

  .blog-hero-copy .section-title {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .blog-hero-board {
    min-height: auto;
  }

  .blog-note-card,
  .blog-note-card.primary,
  .blog-note-card:not(.primary):not(.dark),
  .blog-note-card.dark {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .blog-hero-board {
    display: grid;
    gap: 0.9rem;
  }

  .blog-featured-card,
  .blog-control-band,
  .blog-archive-card {
    border-radius: 20px 8px 20px 8px;
  }

  .blog-featured-media {
    min-height: 250px;
  }

  .blog-archive-card {
    grid-template-columns: 1fr;
  }

  .blog-archive-image {
    min-height: 220px;
  }

  .blog-section-heading .section-title {
    font-size: 2.05rem;
  }
}

/* Premium Projects page refresh */
.projects-premium-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 108px 0 76px;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(8, 21, 37, 0.98) 0%, rgba(8, 21, 37, 0.86) 50%, rgba(8, 21, 37, 0.5) 100%),
    url("../images/projects/sk-project-showcase.png");
  background-position: center;
  background-size: cover;
}

.projects-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,0.12) 37%, transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 118px);
  mix-blend-mode: screen;
  opacity: 0.66;
  animation: projectsHeroSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.projects-premium-hero .container {
  position: relative;
  z-index: 1;
}

.projects-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 0.45fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.projects-hero-copy .section-title {
  max-width: 800px;
  color: #fff;
  font-size: 4.2rem;
  line-height: 1.03;
  font-weight: 900;
}

.projects-hero-copy .section-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
}

.projects-hero-copy .section-text {
  max-width: 670px;
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
}

.projects-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.projects-hero-showcase {
  position: relative;
  min-height: 430px;
  perspective: 900px;
}

.project-screen-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px 8px 32px 8px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.07));
  box-shadow: 0 34px 90px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
  transform: rotateX(4deg) rotateY(-7deg) rotateZ(1deg);
  animation: projectScreenFloat 6s ease-in-out infinite;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.project-screen-card:hover {
  transform: rotateX(0) rotateY(-3deg) rotateZ(0) translateY(-8px);
  box-shadow: 0 42px 110px rgba(0,0,0,0.42);
}

.project-screen-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,0.18) 39%, transparent 46%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 38px);
  animation: projectScreenSweep 5.4s ease-in-out infinite;
  pointer-events: none;
}

.project-screen-top,
.project-screen-body {
  position: relative;
  z-index: 1;
}

.project-screen-top {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  padding: 0.35rem 0.25rem 0.95rem;
}

.project-screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffcc66;
}

.project-screen-top span:first-child { background: #ff6b8a; }
.project-screen-top span:nth-child(2) { background: #9de8e4; }

.project-screen-top strong {
  margin-left: auto;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-screen-body {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1rem;
  min-height: 275px;
}

.screen-sidebar {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  padding: 1rem 0.7rem;
  border-radius: 18px;
  background: rgba(8,21,37,0.56);
}

.screen-sidebar span {
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.14);
}

.screen-sidebar span:first-child {
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
}

.screen-preview {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
  border-radius: 24px 8px 24px 8px;
  background: rgba(255,255,255,0.92);
}

.screen-hero-line,
.screen-text-line,
.screen-tile-row span {
  border-radius: 999px;
}

.screen-hero-line {
  width: 80%;
  height: 24px;
  background: #102033;
}

.screen-text-line {
  width: 58%;
  height: 12px;
  margin-top: 0.85rem;
  background: #dce4ee;
}

.screen-tile-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.68fr;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.screen-tile-row span {
  height: 118px;
  background: linear-gradient(145deg, #eef5ff, #ffffff);
  box-shadow: 0 14px 30px rgba(16,32,51,0.09);
  animation: projectTilePulse 3.6s ease-in-out infinite;
}

.screen-tile-row span:nth-child(2) { animation-delay: 0.2s; }
.screen-tile-row span:nth-child(3) { animation-delay: 0.4s; }

.project-stat-float {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.12rem;
  min-width: 210px;
  padding: 1rem;
  border-radius: 8px 24px 8px 24px;
  color: #fff;
  background: rgba(8,21,37,0.76);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.project-stat-float strong {
  color: #9de8e4;
  font-size: 2rem;
  line-height: 1;
}

.project-stat-float span {
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}

.projects-studio-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbff 52%, #fff8fb 100%);
}

.projects-studio-section::before {
  content: "WORK";
  position: absolute;
  right: -0.14em;
  top: 0.05em;
  color: rgba(13,110,253,0.045);
  font-size: 9rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.projects-section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.projects-section-heading .section-title {
  max-width: 760px;
  font-size: 3.1rem;
  line-height: 1.08;
  font-weight: 900;
}

.project-featured-wrap {
  margin-bottom: 2rem;
}

.project-featured-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  overflow: hidden;
  padding: 1rem;
  border-radius: 32px 8px 32px 8px;
  color: #fff;
  background: #081525;
  box-shadow: 0 34px 94px rgba(16,32,51,0.2);
}

.project-featured-media {
  position: relative;
  display: block;
  min-height: 395px;
  overflow: hidden;
  border-radius: 24px 8px 24px 8px;
}

.project-featured-media img,
.project-archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-featured-card:hover .project-featured-media img,
.project-archive-card:hover .project-archive-media img {
  transform: scale(1.07);
}

.project-featured-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  color: #081525;
  background: #9de8e4;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.6rem) clamp(0.6rem, 3vw, 2.2rem);
}

.project-featured-copy h2 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  font-weight: 900;
}

.project-featured-copy p {
  max-width: 620px;
  color: rgba(255,255,255,0.72);
  font-size: 1.06rem;
}

.project-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.project-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.62);
  font-size: 0.86rem;
  font-weight: 750;
}

.project-archive-card .project-meta-line {
  color: var(--color-muted);
}

.project-tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.35rem;
}

.project-tech-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.62rem;
  border: 1px solid rgba(13,110,253,0.16);
  border-radius: 999px;
  color: var(--color-blue);
  background: rgba(255,255,255,0.78);
  font-size: 0.74rem;
  font-weight: 850;
}

.project-control-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.32fr) minmax(190px, 0.22fr) minmax(0, 0.46fr);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.15rem;
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 22px 8px 22px 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 60px rgba(16,32,51,0.08);
  backdrop-filter: blur(16px);
}

.project-search-field {
  position: relative;
}

.project-search-field i {
  position: absolute;
  left: 1rem;
  top: 50%;
  z-index: 2;
  color: var(--color-blue);
  transform: translateY(-50%);
}

.project-search-field .form-control {
  padding-left: 2.8rem;
}

.project-control-band .form-control,
.project-control-band .form-select {
  border-radius: 999px;
  background: #fff;
}

.project-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-filter-list .filter-btn {
  border: 1px solid rgba(13,110,253,0.18);
  border-radius: 999px;
  color: var(--color-ink);
  background: #fff;
  font-weight: 850;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.project-filter-list .filter-btn:hover,
.project-filter-list .filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(13,110,253,0.16);
}

.project-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.project-archive-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.25rem;
  min-height: 280px;
  padding: 1rem;
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 24px 8px 24px 8px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 20px 60px rgba(16,32,51,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-archive-card:hover {
  border-color: rgba(15,159,154,0.34);
  box-shadow: 0 30px 76px rgba(16,32,51,0.14);
  transform: translateY(-8px);
}

.project-archive-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 240px;
  border-radius: 18px 6px 18px 6px;
  background: #dce4ee;
}

.project-archive-media span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  color: rgba(255,255,255,0.72);
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

.project-archive-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.2rem 0;
}

.project-archive-copy h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  line-height: 1.18;
  font-weight: 900;
}

.project-archive-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.project-archive-copy h3 a:hover {
  color: var(--color-blue);
}

.project-archive-copy p {
  color: var(--color-muted);
}

.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.project-read-link,
.project-live-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--color-blue);
  font-weight: 900;
  text-decoration: none;
}

.project-live-link {
  color: var(--color-teal);
}

.project-read-link i,
.project-live-link i {
  transition: transform 0.22s ease;
}

.project-read-link:hover i,
.project-live-link:hover i {
  transform: translateX(5px);
}

.project-empty-state {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
  padding: 3rem 1rem;
  border: 1px dashed rgba(13,110,253,0.28);
  border-radius: 18px;
  color: var(--color-muted);
  background: rgba(255,255,255,0.72);
  text-align: center;
}

.project-empty-state i {
  color: var(--color-blue);
  font-size: 2rem;
}

.project-empty-state strong {
  color: var(--color-ink);
}

@keyframes projectsHeroSweep {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

@keyframes projectScreenFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-7deg) rotateZ(1deg) translateY(0); }
  50% { transform: rotateX(2deg) rotateY(-4deg) rotateZ(-1deg) translateY(-12px); }
}

@keyframes projectScreenSweep {
  0%, 46% { transform: translateX(-68%); }
  76%, 100% { transform: translateX(68%); }
}

@keyframes projectTilePulse {
  0%, 100% { transform: translateY(0); filter: saturate(1); }
  50% { transform: translateY(-8px); filter: saturate(1.25); }
}

@media (max-width: 1199.98px) {
  .project-archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .projects-premium-hero {
    min-height: auto;
    padding: 96px 0 70px;
  }

  .projects-hero-grid,
  .projects-section-heading,
  .project-featured-card,
  .project-control-band {
    grid-template-columns: 1fr;
  }

  .projects-hero-copy .section-title {
    font-size: 3.25rem;
  }

  .projects-section-heading .section-title {
    font-size: 2.65rem;
  }

  .projects-hero-showcase {
    min-height: 390px;
  }
}

@media (max-width: 575.98px) {
  .projects-premium-hero {
    padding: 88px 0 58px;
  }

  .projects-hero-copy .section-title {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .project-screen-body,
  .project-archive-card {
    grid-template-columns: 1fr;
  }

  .projects-hero-showcase {
    min-height: auto;
  }

  .screen-sidebar {
    display: none;
  }

  .project-stat-float {
    position: relative;
    margin-top: 1rem;
  }

  .project-featured-card,
  .project-control-band,
  .project-archive-card {
    border-radius: 20px 8px 20px 8px;
  }

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

  .project-archive-media {
    min-height: 220px;
  }

  .projects-section-heading .section-title {
    font-size: 2.05rem;
  }
}

/* Premium Gallery page refresh */
.gallery-premium-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 108px 0 76px;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(8,21,37,0.98) 0%, rgba(8,21,37,0.84) 50%, rgba(8,21,37,0.5) 100%),
    url("../images/gallery/sk-gallery-visual.png");
  background-position: center;
  background-size: cover;
}

.gallery-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,0.12) 37%, transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 118px);
  mix-blend-mode: screen;
  opacity: 0.66;
  animation: galleryHeroSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.gallery-premium-hero .container {
  position: relative;
  z-index: 1;
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 0.45fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.gallery-hero-copy .section-title {
  max-width: 820px;
  color: #fff;
  font-size: 4.2rem;
  line-height: 1.03;
  font-weight: 900;
}

.gallery-hero-copy .section-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
}

.gallery-hero-copy .section-text {
  max-width: 670px;
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
}

.gallery-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.gallery-hero-collage {
  position: relative;
  min-height: 430px;
}

.hero-photo-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 30px 84px rgba(0,0,0,0.32);
  backdrop-filter: blur(14px);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hero-photo-frame:hover {
  transform: translateY(-10px) rotate(0deg) !important;
  box-shadow: 0 42px 110px rgba(0,0,0,0.42);
}

.hero-photo-frame:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.05);
}

.frame-main {
  inset: 16px 80px 44px 0;
  border-radius: 34px 8px 34px 8px;
  transform: rotate(-3deg);
  animation: galleryFrameFloat 6s ease-in-out infinite;
}

.frame-top {
  right: 0;
  top: 0;
  width: 190px;
  height: 160px;
  border-radius: 8px 28px 8px 28px;
  transform: rotate(5deg);
  animation: galleryFrameFloat 6.4s ease-in-out infinite;
  animation-delay: 0.35s;
}

.frame-bottom {
  right: 16px;
  bottom: 22px;
  width: 235px;
  height: 170px;
  border-radius: 28px 8px 28px 8px;
  transform: rotate(3deg);
  animation: galleryFrameFloat 6.8s ease-in-out infinite;
  animation-delay: 0.7s;
}

.gallery-count-badge {
  position: absolute;
  left: 22px;
  bottom: 0;
  display: grid;
  gap: 0.12rem;
  min-width: 170px;
  padding: 1rem;
  border-radius: 8px 24px 8px 24px;
  color: #fff;
  background: rgba(8,21,37,0.76);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.gallery-count-badge strong {
  color: #9de8e4;
  font-size: 2rem;
  line-height: 1;
}

.gallery-count-badge span {
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}

.gallery-archive-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbff 52%, #fff8fb 100%);
}

.gallery-archive-section::before {
  content: "VISUALS";
  position: absolute;
  right: -0.16em;
  top: 0.04em;
  color: rgba(13,110,253,0.045);
  font-size: 8.5rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.gallery-section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.gallery-section-heading .section-title {
  max-width: 760px;
  font-size: 3.1rem;
  line-height: 1.08;
  font-weight: 900;
}

.gallery-featured-wrap {
  margin-bottom: 2rem;
}

.gallery-featured-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 0.44fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  overflow: hidden;
  padding: 1rem;
  border-radius: 32px 8px 32px 8px;
  color: #fff;
  background: #081525;
  box-shadow: 0 34px 94px rgba(16,32,51,0.2);
}

.gallery-featured-media {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 24px 8px 24px 8px;
  background: #102033;
}

.gallery-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.gallery-featured-card:hover .gallery-featured-media img {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.05);
}

.gallery-featured-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  color: #081525;
  background: #9de8e4;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.6rem) clamp(0.6rem, 3vw, 2.2rem);
}

.gallery-featured-copy h2 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  font-weight: 900;
}

.gallery-featured-copy p {
  max-width: 560px;
  color: rgba(255,255,255,0.72);
  font-size: 1.06rem;
}

.gallery-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.62);
  font-size: 0.86rem;
  font-weight: 750;
}

.gallery-featured-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.gallery-featured-stats span {
  display: grid;
  gap: 0.18rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.64);
  font-size: 0.82rem;
}

.gallery-featured-stats strong {
  color: #9de8e4;
  font-size: 1.45rem;
  line-height: 1;
}

.gallery-control-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(230px, 0.28fr);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.15rem;
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 22px 8px 22px 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 60px rgba(16,32,51,0.08);
  backdrop-filter: blur(16px);
}

.gallery-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gallery-filter-list .gallery-filter {
  border: 1px solid rgba(13,110,253,0.18);
  border-radius: 999px;
  color: var(--color-ink);
  background: #fff;
  font-weight: 850;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.gallery-filter-list .gallery-filter:hover,
.gallery-filter-list .gallery-filter.active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(13,110,253,0.16);
}

.gallery-control-note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.gallery-control-note i {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 14px 30px rgba(13,110,253,0.16);
}

.gallery-premium-grid {
  grid-auto-rows: 170px;
  gap: 1rem;
}

.gallery-archive-item {
  min-height: auto;
  grid-column: span 4;
  grid-row: span 2;
  padding: 0;
  border: 0;
  border-radius: 24px 8px 24px 8px;
  color: #fff;
  box-shadow: 0 22px 62px rgba(16,32,51,0.13);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-archive-item.is-wide {
  grid-column: span 6;
}

.gallery-archive-item.is-tall {
  grid-row: span 3;
}

.gallery-archive-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,21,37,0.02), rgba(8,21,37,0.84)),
    linear-gradient(135deg, rgba(13,110,253,0.24), transparent 48%, rgba(217,72,115,0.18));
  opacity: 0.92;
  transition: opacity 0.28s ease;
}

.gallery-archive-item:hover,
.gallery-archive-item:focus-visible {
  box-shadow: 0 32px 84px rgba(16,32,51,0.2);
}

.gallery-archive-number {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gallery-archive-caption {
  display: grid;
  gap: 0.25rem;
}

.gallery-archive-caption small {
  color: #9de8e4;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-archive-caption strong {
  font-size: 1.22rem;
  line-height: 1.12;
}

.gallery-archive-caption em {
  color: rgba(255,255,255,0.74);
  font-style: normal;
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.gallery-archive-item:hover::after,
.gallery-archive-item:focus-visible::after {
  opacity: 0.76;
}

.gallery-archive-item:hover .gallery-shine,
.gallery-archive-item:focus-visible .gallery-shine {
  transform: translateX(120%);
}

.gallery-archive-item:hover .gallery-archive-caption em,
.gallery-archive-item:focus-visible .gallery-archive-caption em {
  opacity: 1;
  transform: translateY(0);
}

.gallery-empty-state {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
  padding: 3rem 1rem;
  border: 1px dashed rgba(13,110,253,0.28);
  border-radius: 18px;
  color: var(--color-muted);
  background: rgba(255,255,255,0.72);
  text-align: center;
}

.gallery-empty-state i {
  color: var(--color-blue);
  font-size: 2rem;
}

.gallery-empty-state strong {
  color: var(--color-ink);
}

.gallery-modal-content {
  border: 0;
  border-radius: 24px 8px 24px 8px;
  box-shadow: 0 34px 110px rgba(8,21,37,0.34);
}

.gallery-modal-content img {
  max-height: 68vh;
  object-fit: cover;
}

@keyframes galleryHeroSweep {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

@keyframes galleryFrameFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

@media (max-width: 991.98px) {
  .gallery-premium-hero {
    min-height: auto;
    padding: 96px 0 70px;
  }

  .gallery-hero-grid,
  .gallery-section-heading,
  .gallery-featured-card,
  .gallery-control-band {
    grid-template-columns: 1fr;
  }

  .gallery-hero-copy .section-title {
    font-size: 3.25rem;
  }

  .gallery-section-heading .section-title {
    font-size: 2.65rem;
  }

  .gallery-hero-collage {
    min-height: 390px;
  }

  .gallery-archive-item,
  .gallery-archive-item.is-wide {
    grid-column: span 6;
  }
}

@media (max-width: 767.98px) {
  .gallery-archive-item,
  .gallery-archive-item.is-wide,
  .gallery-archive-item.is-tall {
    grid-column: span 12;
    grid-row: span 2;
  }
}

@media (max-width: 575.98px) {
  .gallery-premium-hero {
    padding: 88px 0 58px;
  }

  .gallery-hero-copy .section-title {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .gallery-hero-collage {
    display: grid;
    min-height: auto;
    gap: 0.9rem;
  }

  .hero-photo-frame,
  .frame-main,
  .frame-top,
  .frame-bottom {
    position: relative;
    inset: auto;
    width: 100%;
    height: 190px;
    transform: none;
  }

  .gallery-count-badge {
    position: relative;
    left: auto;
    bottom: auto;
  }

  .gallery-featured-card,
  .gallery-control-band,
  .gallery-archive-item {
    border-radius: 20px 8px 20px 8px;
  }

  .gallery-featured-media {
    min-height: 250px;
  }

  .gallery-featured-stats {
    grid-template-columns: 1fr;
  }

  .gallery-section-heading .section-title {
    font-size: 2.05rem;
  }
}

/* Premium Project Detail page refresh */
.case-study-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 108px 0 76px;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(8,21,37,0.98) 0%, rgba(8,21,37,0.84) 52%, rgba(8,21,37,0.52) 100%),
    url("../images/hero/project-detail-hero.png");
  background-position: center;
  background-size: cover;
}

.case-study-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,0.12) 37%, transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 118px);
  mix-blend-mode: screen;
  opacity: 0.66;
  animation: caseHeroSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.case-study-hero .container {
  position: relative;
  z-index: 1;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 0.45fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.case-hero-copy .section-title {
  max-width: 780px;
  color: #fff;
  font-size: 4.2rem;
  line-height: 1.03;
  font-weight: 900;
}

.case-hero-copy .section-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
}

.case-hero-copy .section-text {
  max-width: 660px;
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
}

.case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.case-hero-preview {
  position: relative;
  min-height: 430px;
  perspective: 900px;
}

.case-browser-frame {
  position: relative;
  overflow: hidden;
  padding: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px 8px 32px 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.07));
  box-shadow: 0 34px 90px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
  transform: rotateX(4deg) rotateY(-7deg) rotateZ(1deg);
  animation: caseFrameFloat 6s ease-in-out infinite;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.case-browser-frame:hover {
  transform: rotateX(0) rotateY(-3deg) rotateZ(0) translateY(-8px);
  box-shadow: 0 42px 110px rgba(0,0,0,0.42);
}

.case-browser-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,0.18) 39%, transparent 46%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 38px);
  animation: caseFrameSweep 5.4s ease-in-out infinite;
  pointer-events: none;
}

.case-browser-top,
.case-browser-screen {
  position: relative;
  z-index: 1;
}

.case-browser-top {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  padding: 0.35rem 0.25rem 0.9rem;
}

.case-browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffcc66;
}

.case-browser-top span:first-child { background: #ff6b8a; }
.case-browser-top span:nth-child(2) { background: #9de8e4; }

.case-browser-top strong {
  margin-left: auto;
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.case-browser-screen {
  overflow: hidden;
  min-height: 315px;
  border-radius: 24px 8px 24px 8px;
  background: #102033;
}

.case-browser-screen img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.case-browser-frame:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.05);
}

.case-floating-score {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.12rem;
  min-width: 220px;
  padding: 1rem;
  border-radius: 8px 24px 8px 24px;
  color: #fff;
  background: rgba(8,21,37,0.76);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.case-floating-score strong {
  color: #9de8e4;
  font-size: 1.35rem;
  line-height: 1;
}

.case-floating-score span {
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}

.case-overview-section,
.case-detail-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbff 52%, #fff8fb 100%);
}

.case-overview-section::before {
  content: "CASE";
  position: absolute;
  right: -0.14em;
  top: 0.04em;
  color: rgba(13,110,253,0.045);
  font-size: 9rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.case-overview-grid,
.case-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.case-facts-panel,
.case-side-card {
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 28px 8px 28px 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 24px 70px rgba(16,32,51,0.1);
  backdrop-filter: blur(16px);
}

.case-facts-panel {
  padding: 1.4rem;
}

.case-fact-list {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid var(--color-line);
}

.case-fact-list div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
}

.case-fact-list span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.case-fact-list strong {
  color: var(--color-ink);
  font-size: 1rem;
}

.case-tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.case-tech-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.68rem;
  border: 1px solid rgba(13,110,253,0.16);
  border-radius: 999px;
  color: var(--color-blue);
  background: #fff;
  font-size: 0.76rem;
  font-weight: 850;
}

.case-main-copy .section-title,
.case-story .section-title {
  max-width: 780px;
  font-size: 3.05rem;
  line-height: 1.08;
  font-weight: 900;
}

.case-result-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 2rem;
  border-radius: 18px;
  color: #fff;
  background: #081525;
  box-shadow: 0 24px 70px rgba(16,32,51,0.16);
}

.case-result-strip span {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
  border-right: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.68);
  font-size: 0.86rem;
}

.case-result-strip span:last-child {
  border-right: 0;
}

.case-result-strip strong {
  color: #9de8e4;
  font-size: 1.45rem;
  line-height: 1;
}

.case-dark-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8,21,37,0.98), rgba(16,32,51,0.92)),
    url("../images/hero/developer-workspace.png") center/cover;
  overflow: hidden;
}

.case-dark-section .section-title {
  color: #fff;
  font-size: 3.05rem;
  line-height: 1.08;
  font-weight: 900;
}

.case-dark-section .section-text {
  color: rgba(255,255,255,0.72);
}

.case-process-line {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 2rem;
}

.case-process-line::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 2px;
  background: linear-gradient(var(--color-blue), var(--color-teal), var(--color-rose));
  background-size: 100% 220%;
  animation: spineFlow 4.4s linear infinite;
}

.case-process-line article {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  transition: transform 0.28s ease;
}

.case-process-line article:hover {
  transform: translateX(10px);
}

.case-process-line article::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.45rem;
  width: 15px;
  height: 15px;
  border: 3px solid #9de8e4;
  border-radius: 50%;
  background: #081525;
  box-shadow: 0 0 0 8px rgba(157,232,228,0.12);
}

.case-process-line article:hover::before {
  border-color: #fff;
  box-shadow: 0 0 0 10px rgba(157,232,228,0.16), 0 0 28px rgba(157,232,228,0.32);
}

.case-process-line span {
  color: rgba(255,255,255,0.18);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
}

.case-process-line h3 {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 850;
}

.case-process-line p {
  max-width: 680px;
  color: rgba(255,255,255,0.7);
}

.case-story-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-line);
}

.case-story-block h3 {
  font-size: 1.3rem;
  font-weight: 900;
}

.case-story-block p {
  max-width: 760px;
  color: var(--color-muted);
}

.case-side-panel {
  display: grid;
  gap: 1rem;
}

.case-side-card {
  padding: 1.4rem;
}

.case-side-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.case-side-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.case-side-card.accent {
  color: #fff;
  background: #081525;
}

.case-side-card.accent h3 {
  color: #fff;
}

.case-side-card.accent a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 850;
}

.case-side-card.accent a:hover {
  color: #9de8e4;
}

.case-next-section {
  color: #fff;
  background: linear-gradient(135deg, #081525, #102033 56%, #173f3d);
}

.case-next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.case-next-card h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  font-weight: 900;
}

@keyframes caseHeroSweep {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

@keyframes caseFrameFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-7deg) rotateZ(1deg) translateY(0); }
  50% { transform: rotateX(2deg) rotateY(-4deg) rotateZ(-1deg) translateY(-12px); }
}

@keyframes caseFrameSweep {
  0%, 46% { transform: translateX(-68%); }
  76%, 100% { transform: translateX(68%); }
}

@media (max-width: 991.98px) {
  .case-study-hero {
    min-height: auto;
    padding: 96px 0 70px;
  }

  .case-hero-grid,
  .case-overview-grid,
  .case-detail-layout {
    grid-template-columns: 1fr;
  }

  .case-hero-copy .section-title {
    font-size: 3.25rem;
  }

  .case-main-copy .section-title,
  .case-story .section-title,
  .case-dark-section .section-title {
    font-size: 2.65rem;
  }

  .case-hero-preview {
    min-height: 390px;
  }
}

@media (max-width: 767.98px) {
  .case-result-strip {
    grid-template-columns: 1fr;
  }

  .case-result-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }

  .case-result-strip span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .case-study-hero {
    padding: 88px 0 58px;
  }

  .case-hero-copy .section-title {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .case-hero-preview {
    min-height: auto;
  }

  .case-floating-score {
    position: relative;
    margin-top: 1rem;
  }

  .case-main-copy .section-title,
  .case-story .section-title,
  .case-dark-section .section-title {
    font-size: 2.05rem;
    line-height: 1.12;
  }

  .case-process-line article {
    grid-template-columns: 1fr;
  }

  .case-next-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Premium Blog Detail page refresh */
.blog-detail-premium-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 108px 0 76px;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(8,21,37,0.98) 0%, rgba(8,21,37,0.84) 52%, rgba(8,21,37,0.48) 100%),
    url("../images/hero/blog-detail-hero.png");
  background-position: center;
  background-size: cover;
}

.blog-detail-premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,0.12) 37%, transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 118px);
  mix-blend-mode: screen;
  opacity: 0.66;
  animation: articleHeroSweep 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.blog-detail-premium-hero .container {
  position: relative;
  z-index: 1;
}

.blog-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.blog-detail-hero-copy .section-title {
  max-width: 850px;
  color: #fff;
  font-size: 4.2rem;
  line-height: 1.03;
  font-weight: 900;
}

.blog-detail-hero-copy .section-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
}

.blog-detail-hero-copy .section-text {
  max-width: 690px;
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
}

.article-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.article-meta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  font-size: 0.86rem;
  font-weight: 850;
}

.article-meta-pills i {
  color: #9de8e4;
}

.blog-detail-note-board {
  position: relative;
  min-height: 410px;
}

.article-note-card {
  position: absolute;
  width: min(320px, 88%);
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px 8px 24px 8px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 28px 72px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
  animation: articleNoteFloat 5.8s ease-in-out infinite;
  transition: transform 0.28s ease, background 0.28s ease;
}

.article-note-card:hover {
  transform: translateY(-10px) rotate(0deg) !important;
  background: rgba(255,255,255,0.17);
}

.article-note-card.primary {
  left: 0;
  top: 24px;
  width: min(390px, 96%);
  min-height: 190px;
  padding: 1.35rem;
  transform: rotate(-3deg);
}

.article-note-card:not(.primary):not(.dark) {
  right: 0;
  top: 185px;
  transform: rotate(4deg);
  animation-delay: 0.35s;
}

.article-note-card.dark {
  left: 52px;
  bottom: 10px;
  color: #081525;
  background: linear-gradient(135deg, #9de8e4, #ffffff);
  transform: rotate(2deg);
  animation-delay: 0.7s;
}

.article-note-card span {
  display: block;
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-note-card.dark span {
  color: rgba(8,21,37,0.56);
}

.article-note-card strong {
  display: block;
  margin-top: 0.42rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.16;
}

.blog-detail-body-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #ffffff 0%, #f8fbff 52%, #fff8fb 100%);
}

.blog-detail-body-section::before {
  content: "READ";
  position: absolute;
  right: -0.14em;
  top: 0.04em;
  color: rgba(13,110,253,0.045);
  font-size: 9rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.blog-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.article-toc,
.article-author-card {
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 24px 8px 24px 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 24px 70px rgba(16,32,51,0.1);
  backdrop-filter: blur(16px);
}

.article-toc {
  padding: 1.25rem;
}

.article-toc h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 900;
}

.article-toc ol {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
}

.article-toc a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 800;
}

.article-toc a:hover {
  color: var(--color-blue);
}

.article-author-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
}

.article-author-card span {
  display: block;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.article-hero-image {
  position: relative;
  overflow: hidden;
  margin: 0 0 2.5rem;
  border-radius: 32px 8px 32px 8px;
  box-shadow: 0 30px 90px rgba(16,32,51,0.16);
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.article-hero-image:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.04);
}

.article-hero-image figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(8,21,37,0.72);
  backdrop-filter: blur(16px);
  font-size: 0.86rem;
  font-weight: 800;
}

.blog-detail-article {
  max-width: 850px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(13,110,253,0.1);
  border-radius: 30px 8px 30px 8px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 28px 80px rgba(16,32,51,0.1);
}

.blog-detail-article .article-lead {
  margin-bottom: 2rem;
  color: var(--color-ink);
  font-size: 1.35rem;
  line-height: 1.55;
  font-weight: 750;
}

.blog-detail-article h2 {
  scroll-margin-top: 110px;
  margin-top: 2.3rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.12;
  font-weight: 900;
}

.blog-detail-article h3 {
  font-size: 1.35rem;
  font-weight: 900;
}

.blog-detail-article p,
.blog-detail-article li {
  color: var(--color-muted);
  line-height: 1.78;
}

.blog-detail-article blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border: 0;
  border-left: 5px solid var(--color-teal);
  border-radius: 0 24px 24px 0;
  color: var(--color-ink);
  background: linear-gradient(135deg, rgba(13,110,253,0.08), rgba(15,159,154,0.08));
  font-size: 1.18rem;
}

.blog-detail-article pre {
  overflow-x: auto;
  padding: 1.2rem;
  border-radius: 18px 6px 18px 6px;
  color: #d9fffd;
  background: #081525;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.blog-detail-article pre code {
  color: inherit;
  background: transparent;
  padding: 0;
}

.article-process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.article-process-list span {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 18px 6px 18px 6px;
  color: var(--color-muted);
  background: #fff;
  box-shadow: 0 16px 40px rgba(16,32,51,0.07);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.article-process-list span:hover {
  border-color: rgba(15,159,154,0.34);
  transform: translateY(-5px);
}

.article-process-list strong {
  color: var(--color-blue);
  font-size: 1.3rem;
  line-height: 1;
}

.article-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: 850px;
  margin-top: 2rem;
}

.related-articles-section {
  color: #fff;
  background: linear-gradient(135deg, #081525, #102033 56%, #173f3d);
  overflow: hidden;
}

.related-articles-section .section-title {
  color: #fff;
  font-size: 3.05rem;
  line-height: 1.08;
  font-weight: 900;
}

.related-articles-section .section-text {
  color: rgba(255,255,255,0.72);
}

.related-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-article-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px 8px 24px 8px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  text-decoration: none;
  transition: transform 0.28s ease, background 0.28s ease;
}

.related-article-card:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-8px);
}

.related-article-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.related-article-card:hover::after {
  transform: scaleX(1);
}

.related-article-card span,
.related-article-card em {
  display: block;
  color: #9de8e4;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.related-article-card strong {
  display: block;
  margin: 3.5rem 0 1rem;
  font-size: 1.35rem;
  line-height: 1.16;
}

@keyframes articleHeroSweep {
  from { transform: translateX(-3%); }
  to { transform: translateX(3%); }
}

@keyframes articleNoteFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

@media (max-width: 991.98px) {
  .blog-detail-premium-hero {
    min-height: auto;
    padding: 96px 0 70px;
  }

  .blog-detail-hero-grid,
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-detail-hero-copy .section-title {
    font-size: 3.25rem;
  }

  .blog-detail-note-board {
    min-height: 360px;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .related-article-grid {
    grid-template-columns: 1fr;
  }

  .related-articles-section .section-title {
    font-size: 2.65rem;
  }
}

@media (max-width: 575.98px) {
  .blog-detail-premium-hero {
    padding: 88px 0 58px;
  }

  .blog-detail-hero-copy .section-title {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .blog-detail-note-board {
    display: grid;
    min-height: auto;
    gap: 0.9rem;
  }

  .article-note-card,
  .article-note-card.primary,
  .article-note-card:not(.primary):not(.dark),
  .article-note-card.dark {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .article-sidebar,
  .article-process-list {
    grid-template-columns: 1fr;
  }

  .article-hero-image,
  .blog-detail-article,
  .article-toc,
  .article-author-card,
  .related-article-card {
    border-radius: 20px 8px 20px 8px;
  }

  .article-hero-image figcaption {
    position: static;
    border-radius: 0;
    background: #081525;
  }

  .related-articles-section .section-title {
    font-size: 2.05rem;
  }
}

/* Blog Detail body section enhancement */
.blog-detail-body-section {
  padding-top: 116px;
  background:
    linear-gradient(90deg, rgba(13,110,253,0.055) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 38%, #fff8fb 100%);
}

.blog-detail-body-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(8,21,37,0.08), transparent);
  pointer-events: none;
}

.blog-detail-layout {
  grid-template-columns: minmax(250px, 0.3fr) minmax(0, 0.7fr);
}

.article-content-column {
  position: relative;
  isolation: isolate;
}

.article-content-column::before {
  content: "";
  position: absolute;
  inset: 80px -22px 120px 42px;
  z-index: -1;
  border: 1px solid rgba(13,110,253,0.1);
  border-radius: 42px 8px 42px 8px;
  background: rgba(255,255,255,0.54);
  box-shadow: 0 28px 90px rgba(16,32,51,0.08);
}

.article-sidebar {
  align-self: start;
}

.article-toc,
.article-author-card,
.article-reading-card {
  border-color: rgba(13,110,253,0.14);
  background: rgba(255,255,255,0.72);
}

.article-toc {
  position: relative;
  overflow: hidden;
}

.article-toc::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--color-blue), var(--color-teal), var(--color-rose));
}

.article-toc ol {
  counter-reset: articleIndex;
  list-style: none;
  padding-left: 0;
}

.article-toc li {
  counter-increment: articleIndex;
}

.article-toc a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.58rem 0;
}

.article-toc a::before {
  content: counter(articleIndex, decimal-leading-zero);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-blue);
  background: rgba(13,110,253,0.08);
  font-size: 0.7rem;
  font-weight: 950;
}

.article-reading-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem;
  border: 1px solid rgba(13,110,253,0.14);
  border-radius: 24px 8px 24px 8px;
  box-shadow: 0 24px 70px rgba(16,32,51,0.1);
  backdrop-filter: blur(16px);
}

.article-reading-card span {
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-reading-card strong {
  color: var(--color-ink);
  font-size: 1.12rem;
}

.article-reading-card small {
  color: var(--color-muted);
}

.reading-meter {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(13,110,253,0.1);
}

.reading-meter i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
  animation: signalPulse 2.8s ease-in-out infinite;
}

.article-hero-image {
  margin-bottom: 1.25rem;
  border-radius: 40px 8px 40px 8px;
}

.article-rhythm-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  max-width: 850px;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  color: #fff;
  background: #081525;
  box-shadow: 0 24px 70px rgba(16,32,51,0.15);
}

.article-rhythm-strip span {
  display: grid;
  gap: 0.28rem;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.68);
  font-size: 0.84rem;
  font-weight: 800;
}

.article-rhythm-strip span:last-child {
  border-right: 0;
}

.article-rhythm-strip strong {
  color: #9de8e4;
  font-size: 1.28rem;
  line-height: 1;
}

.blog-detail-article {
  position: relative;
  overflow: hidden;
  max-width: 850px;
  border: 0;
  border-radius: 40px 8px 40px 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88)),
    repeating-linear-gradient(0deg, rgba(13,110,253,0.035) 0 1px, transparent 1px 42px);
  box-shadow: 0 34px 100px rgba(16,32,51,0.13);
}

.blog-detail-article::before {
  content: "ARTICLE";
  position: absolute;
  right: -0.1em;
  top: -0.22em;
  color: rgba(13,110,253,0.04);
  font-size: 7rem;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.article-insight-band {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0 0 2rem;
  padding: 1.15rem;
  border-radius: 22px 8px 22px 8px;
  color: #fff;
  background: linear-gradient(135deg, #081525, #102033 58%, #173f3d);
  box-shadow: 0 20px 55px rgba(16,32,51,0.16);
}

.article-insight-band i {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #081525;
  background: #9de8e4;
  font-size: 1.25rem;
}

.article-insight-band strong,
.article-insight-band span {
  display: block;
}

.article-insight-band strong {
  color: #fff;
  font-size: 1rem;
}

.article-insight-band span {
  color: rgba(255,255,255,0.74);
}

.blog-detail-article h2 {
  position: relative;
  padding-left: 1.1rem;
}

.blog-detail-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(var(--color-blue), var(--color-teal));
}

.article-process-list span {
  position: relative;
  overflow: hidden;
  border: 0;
  background: linear-gradient(145deg, #ffffff, #f7fbff);
}

.article-process-list span::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.article-process-list span:hover::after {
  transform: scaleX(1);
}

@media (max-width: 991.98px) {
  .article-content-column::before {
    inset: 60px -12px 100px 18px;
  }
}

@media (max-width: 575.98px) {
  .blog-detail-body-section {
    padding-top: 78px;
  }

  .article-content-column::before {
    display: none;
  }

  .article-rhythm-strip {
    grid-template-columns: 1fr;
  }

  .article-rhythm-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }

  .article-rhythm-strip span:last-child {
    border-bottom: 0;
  }

  .article-insight-band {
    flex-direction: column;
  }
}

/* Blog detail sticky sidebar refinement */
.blog-detail-body-section {
  overflow: visible;
}

.blog-detail-body-section .container,
.blog-detail-layout {
  overflow: visible;
}

.article-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(13,110,253,0.28) transparent;
}

.article-sidebar::-webkit-scrollbar {
  width: 6px;
}

.article-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(13,110,253,0.28);
}

@media (max-width: 991.98px) {
  .article-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}
