/* Reza Ali — professional portfolio */

:root {
  --bg-base: #0c0d10;
  --bg-surface: #12141a;
  --bg-raised: #181b23;
  --bg-overlay: #1e222c;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #f0f2f5;
  --text-secondary: #9aa3b2;
  --text-tertiary: #6b7280;
  --accent: #4f8cff;
  --accent-muted: rgba(79, 140, 255, 0.12);
  --accent-border: rgba(79, 140, 255, 0.35);
  --success: #34d399;
  --danger: #f87171;
  --sidebar-w: 300px;
  --content-max: 1080px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg-base);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Shell */

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
}

/* Sidebar */

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  z-index: 40;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem 1.5rem 1.5rem;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.sidebar__monogram {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-muted), transparent);
  border: 1px solid var(--accent-border);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.sidebar__brand-text {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sidebar__brand-text span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-top: 0.1rem;
}

.profile {
  margin-bottom: 1.75rem;
}

.profile__avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 1rem;
}

.profile__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
}

.profile__status {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid var(--bg-surface);
}

.profile__name {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.profile__role {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.sidebar__scroll {
  flex: 1;
}

.meta-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.meta-list h6 {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.meta-list span {
  color: var(--text-secondary);
  text-align: right;
}

.meta-list a {
  color: var(--text);
  text-align: right;
  transition: color 0.2s var(--ease);
}

.meta-list a:hover {
  color: var(--accent);
}

.panel-block {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.panel-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
}

.lang-row__info h6 {
  margin: 0 0 0.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lang-row__info span {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

.lang-row__level {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}

.skill-bar {
  margin-bottom: 0.65rem;
}

.skill-bar:last-child {
  margin-bottom: 0;
}

.skill-bar__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
}

.skill-bar__head h6 {
  margin: 0;
  font-weight: 500;
  color: var(--text-secondary);
}

.skill-bar__head span {
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.skill-bar__track {
  height: 4px;
  border-radius: 999px;
  background: var(--bg-overlay);
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  width: var(--pct, 50%);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.3rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-hover);
  background: transparent;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-download:hover {
  background: var(--bg-raised);
  border-color: var(--accent-border);
  color: var(--text);
}

.sidebar__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.social-link {
  display: grid;
  place-items: center;
  flex: 1;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text-secondary);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.social-link:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--bg-overlay);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Main */

.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem clamp(1rem, 3vw, 2rem);
  background: rgba(12, 13, 16, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.main-nav__cta {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.45rem 0.9rem !important;
  font-size: 0.8125rem !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.main-nav__cta:hover {
  opacity: 0.92;
  background: var(--accent) !important;
  color: #fff !important;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--text-secondary);
  background: var(--bg-raised);
}

.main-nav a.is-active {
  color: var(--text);
  background: var(--accent-muted);
}

.main__content {
  flex: 1;
  width: 100%;
  max-width: calc(var(--content-max) + 4rem);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2rem) 3rem;
}

/* Mobile bar */

.mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(18, 20, 26, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.mobile-bar__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-raised);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sidebar-overlay {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  margin-bottom: 3.5rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(79, 140, 255, 0.08), transparent),
    var(--bg-surface);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/bg.webp") center / cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero__code {
  display: block;
  margin-bottom: 2rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 100%;
  overflow-x: auto;
}

.hero__code .kw {
  color: #c792ea;
}

.hero__code .val {
  color: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 1rem 1.25rem;
  background: var(--bg-raised);
}

.stat__value {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.15rem;
}

/* Cred strip */

.cred-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 3.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.cred-strip__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.cred-strip__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.cred-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pillar {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 20, 26, 0.6);
  backdrop-filter: blur(8px);
}

.pillar__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.pillar h3 {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pillar p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Featured project */

.featured {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-border);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(79, 140, 255, 0.1), transparent 55%),
    var(--bg-surface);
  overflow: hidden;
}

.featured::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.featured__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.featured__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.featured h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.featured__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0;
}

.featured__tag {
  padding: 0.3rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.featured__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.featured__item {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(12, 13, 16, 0.5);
}

.featured__item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.featured__item span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.process-step {
  position: relative;
  padding: 1.25rem 1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.process-step__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
}

.process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* CTA banner */

.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.06), transparent 50%),
    var(--bg-surface);
}

.cta-banner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 28rem;
}

.timeline-item--featured .timeline-item__card {
  border-color: var(--accent-border);
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.04), transparent),
    var(--bg-surface);
}

.card__index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  opacity: 0.9;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn--ghost:hover {
  background: var(--bg-raised);
  border-color: var(--border-hover);
  color: var(--text);
}

/* Sections */

.section {
  margin-bottom: 4rem;
  scroll-margin-top: 4rem;
}

.section__header {
  margin-bottom: 1.75rem;
}

.section__number {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section__header h2,
.section__header h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 32rem;
}

/* Tech stack */

.tech-strip {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.tech-item {
  opacity: 0.55;
  transition: opacity 0.2s var(--ease);
}

.tech-item:hover {
  opacity: 1;
}

.tech-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Service cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-raised);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  color: var(--accent);
}

.card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Timeline */

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-item__card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: border-color 0.2s var(--ease);
}

.timeline-item__card:hover {
  border-color: var(--border-hover);
}

.timeline-item__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.timeline-item__head h4 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.timeline-item__subtitle {
  margin: 0.2rem 0 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.timeline-item__date {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
}

.timeline-item__card > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
}

.timeline-item__card > ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.timeline-item__card li + li {
  margin-top: 0.3rem;
}

.timeline-item__stack {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.timeline-item__stack strong {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Blog */

.blog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.blog-nav {
  display: flex;
  gap: 0.35rem;
}

.blog-nav__btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.blog-nav__btn:hover:not(:disabled) {
  border-color: var(--border-hover);
  color: var(--text);
}

.blog-nav__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.blog-track-wrap {
  overflow: hidden;
}

.blog-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  transition: transform 0.4s var(--ease);
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.blog-card:hover {
  border-color: var(--border-hover);
}

.blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-overlay);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 1rem 1.125rem 1.125rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.blog-card__title a {
  color: var(--text);
  transition: color 0.2s var(--ease);
}

.blog-card__title a:hover {
  color: var(--accent);
}

.blog-card__excerpt {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-status {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.blog-status--error {
  border-color: rgba(248, 113, 113, 0.2);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.05);
}

/* Skeleton */

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.skeleton-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-surface);
}

.skeleton-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(90deg, var(--bg-raised) 25%, var(--bg-overlay) 50%, var(--bg-raised) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-card__body {
  padding: 1rem 1.125rem;
}

.skeleton-line {
  height: 12px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--bg-raised) 25%, var(--bg-overlay) 50%, var(--bg-raised) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line--short {
  width: 50%;
}

.skeleton-line--long {
  width: 85%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  align-items: start;
}

.contact-info {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.contact-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-info > p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-detail a {
  font-size: 0.875rem;
  color: var(--accent);
  transition: opacity 0.2s var(--ease);
}

.contact-detail a:hover {
  opacity: 0.8;
}

.contact-detail span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 0.15rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-base);
  color: var(--text);
  font-size: 0.875rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.35rem;
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-success.is-visible {
  display: inline-flex;
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.8125rem;
}

/* Memorial */

.memorial-trigger {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

.memorial-img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.memorial-trigger:hover .memorial-img {
  border-color: var(--border-hover);
  opacity: 0.92;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(480px, 92vw);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow-md);
  text-align: right;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-raised);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.memorial-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  margin-bottom: 0.65rem;
}

.memorial-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.memorial-text,
.memorial-sign {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.memorial-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0 0.75rem;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.site-footer a {
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
}

/* Preloader */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg-base);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
}

.preloader__logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
}

.preloader__bar {
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: var(--bg-raised);
  overflow: hidden;
  margin: 0 auto;
}

.preloader__fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: preload 1s var(--ease) forwards;
}

@keyframes preload {
  to {
    width: 100%;
  }
}

/* ── Animations ── */

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 18s ease-in-out infinite;
}

.ambient-bg__orb--1 {
  top: -10%;
  right: 10%;
  width: 420px;
  height: 420px;
  background: rgba(79, 140, 255, 0.12);
}

.ambient-bg__orb--2 {
  bottom: 15%;
  left: -5%;
  width: 320px;
  height: 320px;
  background: rgba(52, 211, 153, 0.06);
  animation-delay: -6s;
  animation-duration: 22s;
}

.ambient-bg__orb--3 {
  top: 45%;
  right: -8%;
  width: 280px;
  height: 280px;
  background: rgba(79, 140, 255, 0.08);
  animation-delay: -12s;
  animation-duration: 26s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.08);
  }

  66% {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

.pulse-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    transform: scale(1.1);
  }
}

.cred-badge__dot.pulse-dot {
  animation-name: pulseDotAccent;
}

@keyframes pulseDotAccent {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 140, 255, 0.45);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(79, 140, 255, 0);
    transform: scale(1.15);
  }
}

.hero__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.15), transparent 65%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from {
    opacity: 0.5;
    transform: translate(0, 0);
  }

  to {
    opacity: 1;
    transform: translate(-20px, 15px);
  }
}

body.is-loaded .hero__enter {
  animation: fadeUp 0.7s var(--ease) both;
}

body.is-loaded .hero__enter:nth-child(1) { animation-delay: 0.05s; }
body.is-loaded .hero__enter:nth-child(2) { animation-delay: 0.12s; }
body.is-loaded .hero__enter:nth-child(3) { animation-delay: 0.19s; }
body.is-loaded .hero__enter:nth-child(4) { animation-delay: 0.26s; }
body.is-loaded .hero__enter:nth-child(5) { animation-delay: 0.33s; }
body.is-loaded .hero__enter:nth-child(6) { animation-delay: 0.4s; }
body.is-loaded .hero__enter:nth-child(7) { animation-delay: 0.47s; }

body.is-loaded .hero__enter .reveal-item {
  animation: fadeUp 0.55s var(--ease) forwards;
  opacity: 0;
}

body.is-loaded .hero__enter .reveal-item:nth-child(1) { animation-delay: 0.55s; }
body.is-loaded .hero__enter .reveal-item:nth-child(2) { animation-delay: 0.62s; }
body.is-loaded .hero__enter .reveal-item:nth-child(3) { animation-delay: 0.69s; }
body.is-loaded .hero__enter .reveal-item:nth-child(4) { animation-delay: 0.76s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.reveal.is-visible,
.reveal.is-visible .reveal-item,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.reveal.is-visible .reveal-item:nth-child(2) { transition-delay: 0.1s; }
.reveal.is-visible .reveal-item:nth-child(3) { transition-delay: 0.15s; }
.reveal.is-visible .reveal-item:nth-child(4) { transition-delay: 0.2s; }
.reveal.is-visible .reveal-item:nth-child(5) { transition-delay: 0.25s; }
.reveal.is-visible .reveal-item:nth-child(6) { transition-delay: 0.3s; }
.reveal.is-visible .reveal-item:nth-child(7) { transition-delay: 0.35s; }
.reveal.is-visible .reveal-item:nth-child(8) { transition-delay: 0.4s; }
.reveal.is-visible .reveal-item:nth-child(9) { transition-delay: 0.45s; }
.reveal.is-visible .reveal-item:nth-child(10) { transition-delay: 0.5s; }
.reveal.is-visible .reveal-item:nth-child(11) { transition-delay: 0.55s; }
.reveal.is-visible .reveal-item:nth-child(12) { transition-delay: 0.6s; }

.reveal-item.is-visible:nth-child(1) { transition-delay: 0.05s; }
.reveal-item.is-visible:nth-child(2) { transition-delay: 0.1s; }
.reveal-item.is-visible:nth-child(3) { transition-delay: 0.15s; }
.reveal-item.is-visible:nth-child(4) { transition-delay: 0.2s; }
.reveal-item.is-visible:nth-child(5) { transition-delay: 0.25s; }
.reveal-item.is-visible:nth-child(6) { transition-delay: 0.3s; }

.skill-bar__fill--animate {
  width: 0;
  transition: width 1.1s var(--ease);
}

.skill-bar__fill--animate.is-animated {
  width: var(--pct, 50%);
}

.pillar,
.card,
.process-step,
.featured__item,
.timeline-item__card {
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.pillar:hover,
.card:hover,
.process-step:hover,
.featured__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.tech-item {
  transition:
    opacity 0.25s var(--ease),
    transform 0.35s var(--ease);
}

.tech-item:hover {
  transform: translateY(-6px) scale(1.08);
}

.tech-item img {
  transition: filter 0.3s var(--ease);
}

.tech-item:hover img {
  filter: drop-shadow(0 4px 12px rgba(79, 140, 255, 0.35));
}

.btn {
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.35);
}

.cta-banner--glow {
  position: relative;
  overflow: hidden;
}

.cta-banner--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(79, 140, 255, 0.08) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: ctaShimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaShimmer {
  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

.card__icon {
  transition: transform 0.35s var(--ease), background 0.25s var(--ease);
}

.card:hover .card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.process-step__num {
  transition: transform 0.35s var(--ease), background 0.25s var(--ease);
}

.process-step:hover .process-step__num {
  transform: scale(1.1);
}

.sidebar__monogram {
  animation: monogramGlow 4s ease-in-out infinite alternate;
}

@keyframes monogramGlow {
  from {
    box-shadow: 0 0 0 0 rgba(79, 140, 255, 0);
  }

  to {
    box-shadow: 0 0 20px 2px rgba(79, 140, 255, 0.15);
  }
}

.profile__avatar {
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}

.profile__avatar-wrap:hover .profile__avatar {
  transform: scale(1.05);
  border-color: var(--accent-border);
}

.tag {
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tag:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  color: var(--text);
}

.social-link {
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.25s var(--ease);
}

.social-link:hover {
  transform: translateY(-3px);
}

.modal.is-open .modal__backdrop {
  animation: fadeIn 0.3s var(--ease) both;
}

.modal.is-open .modal__dialog {
  animation: modalIn 0.4s var(--ease) both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.preloader__logo {
  animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.85;
  }
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav__cta::after {
  display: none;
}

.app {
  position: relative;
  z-index: 1;
}

/* Responsive */

@media (max-width: 1100px) {
  .blog-track,
  .skeleton-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .app {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured__grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    display: none;
  }

  .mobile-bar {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(var(--sidebar-w), 85vw);
    transform: translateX(-110%);
    transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow-md);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .sidebar-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .main__content {
    padding: 1.25rem 1rem 2.5rem;
  }

  .hero__stats,
  .pillars,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .cred-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-track,
  .skeleton-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 1fr);
    grid-template-columns: unset;
  }

  .blog-nav {
    display: flex;
  }
}

@media (min-width: 641px) {
  .blog-nav {
    display: none;
  }

  .blog-track-wrap {
    overflow: visible;
  }

  .blog-track {
    transform: none !important;
  }
}
