:root {
  color-scheme: dark;
  --page-bg: #0a0a0a;
  --panel-bg: #111827;
  --panel-strong: #1b1f2a;
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #b2bfd2;
  --shadow-cyan: rgba(0, 229, 255, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--wmd-max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(139, 92, 246, 0.14), transparent 30%), var(--page-bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: var(--sp-lg);
}

.brand img {
  max-width: 220px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a:hover,
.main-nav a:focus,
.footer-grid a:hover,
.footer-grid a:focus {
  color: var(--wmd-cyan);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--wmd-grad-accent);
  color: var(--wmd-white);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.25);
}

.button-secondary {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: rgba(255,255,255,0.12);
}

.hero {
  padding: 82px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 var(--sp-md);
  color: var(--wmd-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0 0 var(--sp-md);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  max-width: 640px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.micro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(139,92,246,0.14));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,229,255,0.12);
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(10,10,10,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--wmd-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-ring {
  position: absolute;
  inset: 18% 18% 12% 18%;
  border: 2px solid rgba(0,229,255,0.7);
  border-radius: 42% 58% 49% 51% / 54% 42% 58% 46%;
  box-shadow: inset 0 0 40px rgba(139,92,246,0.15), 0 0 30px rgba(0,229,255,0.12);
}

.pulse-block {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,229,255,0.95), rgba(139,92,246,0.75), rgba(236,72,153,0.8));
  box-shadow: 0 0 30px rgba(0,229,255,0.26);
}

.section {
  padding: 48px 0 72px;
}

.section.muted {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-heading {
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.info-card,
.project-card,
.post-card {
  background: rgba(31, 35, 46, 0.9);
  border: 1px solid var(--panel-border);
  border-radius: var(--wmd-radius);
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.info-card:hover,
.project-card:hover,
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.18), 0 0 24px rgba(0,229,255,0.12);
}

.card-kicker {
  display: inline-block;
  color: var(--wmd-cyan);
  font-family: 'Space Mono', monospace;
  margin-bottom: 12px;
  font-weight: 700;
}

.info-card p,
.project-card p,
.post-card p,
.footer-grid li,
.footer-grid a {
  color: var(--muted);
}

.project-thumb {
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}

.gradient-one { background: linear-gradient(135deg, rgba(0,229,255,0.7), rgba(139,92,246,0.6)); }
.gradient-two { background: linear-gradient(135deg, rgba(139,92,246,0.8), rgba(236,72,153,0.7)); }
.gradient-three { background: linear-gradient(135deg, rgba(0,229,255,0.9), rgba(236,72,153,0.5)); }

.meta {
  color: var(--wmd-cyan);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.cta-band {
  padding-top: 0;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 30px;
}

.portfolio-page {
  padding-top: 72px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.filter-chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
}

.filter-chip.active {
  background: var(--wmd-grad-primary);
  border-color: transparent;
  color: var(--wmd-black);
  font-weight: 700;
}

.project-card-body {
  display: grid;
  gap: 10px;
}

.project-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--ink);
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card-link:hover,
.project-card-link:focus {
  text-decoration: none;
}

.project-card-link h3,
.project-card-link p,
.project-card-link .tag-pill,
.project-card-link .meta {
  color: inherit;
}

.project-thumb img,
.work-card img,
.portfolio-card img,
.featured-work img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--ink);
  border-radius: 12px;
  display: block;
}

.project-thumb-2 {
  background: linear-gradient(135deg, rgba(139,92,246,0.28), rgba(236,72,153,0.25));
}

.project-thumb-3 {
  background: linear-gradient(135deg, rgba(0,229,255,0.22), rgba(139,92,246,0.24));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.2);
  color: var(--wmd-cyan);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.73rem;
  font-weight: 600;
}

.empty-state {
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.01);
}

.project-detail-shell {
  display: grid;
  gap: 24px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px;
}

.meta-label {
  margin: 0 0 8px;
  color: var(--wmd-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.project-panel {
  min-height: 280px;
  overflow: hidden;
}

.project-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,229,255,0.28), rgba(139,92,246,0.2));
}

.project-body {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px;
  color: var(--muted);
}

.project-body p {
  margin-top: 0;
}

.blog-page {
  padding-top: 72px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100%, 640px);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full-width {
  grid-column: 1 / -1;
}

.field label {
  color: var(--text);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.8);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(0, 229, 255, 0.5);
  border-color: rgba(0, 229, 255, 0.65);
}

.form-control {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.8);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}

.field-error {
  color: #fca5a5;
  font-size: 0.82rem;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.honeypot,
input[type="hidden"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

/* Insights Section (Dynamic Homepage Blog Posts) */
.insights-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.insights-view-all {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.9rem;
  min-height: 42px;
  padding: 0 18px;
}

.insights-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}

.insight-featured-link,
.insight-secondary-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.insight-featured-link:hover .insight-card,
.insight-secondary-link:hover .insight-card {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 0 28px rgba(0, 229, 255, 0.14);
}

.insight-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card.insight-card-featured {
  padding: 0;
}

.insight-card.insight-card-secondary {
  flex-direction: row;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.insight-cover {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--wmd-radius) var(--wmd-radius) 0 0;
}

.insight-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.insight-featured-link:hover .insight-cover img {
  transform: scale(1.03);
}

.insight-thumb {
  width: 96px;
  min-width: 96px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--wmd-radius) 0 0 var(--wmd-radius);
}

.insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.insight-secondary-link:hover .insight-thumb img {
  transform: scale(1.05);
}

.insight-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.insight-body h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.25;
  margin: 0;
  color: var(--text);
}

.insight-card-featured .insight-body h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.insight-excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.insight-date {
  color: var(--muted);
  font-size: 0.76rem;
  margin: 4px 0 0;
  opacity: 0.7;
}

.insights-secondary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.insights-footer-cta {
  margin-top: 32px;
  display: none;
}

/* ── IGN-Style Portfolio Carousel ── */
.portfolio-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(var(--wmd-max-width), calc(100% - 32px));
  margin: 0 auto;
}

.ign-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(31, 35, 46, 0.9);
  border: 1px solid var(--panel-border);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ign-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(0, 229, 255, 0.1);
}

.ign-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ign-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(139, 92, 246, 0.14));
}

.ign-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ign-card:hover .ign-card-media img {
  transform: scale(1.05);
}

.ign-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.28), rgba(139, 92, 246, 0.2));
}

.ign-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 40%, transparent 70%);
  pointer-events: none;
}

.ign-card-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--wmd-cyan);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
}

.ign-card-title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--wmd-white);
}

.ign-card-overlay .tag-list {
  margin-top: 4px;
}

.ign-card-overlay .tag-pill {
  font-size: 0.68rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}

/* ── Mobile carousel: peeking cards ── */
@media (max-width: 900px) {
  .portfolio-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    gap: 16px;
    width: 100%;
    padding: 0 16px 8px;
  }

  .portfolio-track::-webkit-scrollbar {
    display: none;                  /* Chrome / Safari */
  }

  .ign-card {
    flex: 0 0 84%;
    max-width: 340px;
    scroll-snap-align: start;
  }

  .ign-card:last-child {
    /* Extra right padding so the last card can scroll flush */
    margin-right: 16px;
  }

  .ign-card-media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 480px) {
  .ign-card {
    flex: 0 0 88%;
    max-width: 320px;
  }

  .ign-card-overlay {
    padding: 16px;
  }
}
/* ── End IGN carousel ── */

@media (max-width: 900px) {
  .insights-layout {
    grid-template-columns: 1fr;
  }

  .insights-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-card.insight-card-secondary {
    flex-direction: column;
  }

  .insight-thumb {
    width: 100%;
    min-width: unset;
    height: 120px;
    border-radius: var(--wmd-radius) var(--wmd-radius) 0 0;
  }

  .insights-view-all {
    display: none;
  }

  .insights-footer-cta {
    display: flex;
  }
}

@media (max-width: 600px) {
  .insights-secondary {
    grid-template-columns: 1fr;
  }
}

.search-shell {
  margin: 28px 0 32px;
}

.search-shell input {
  width: min(560px, 100%);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

.search-shell input:focus {
  outline: 2px solid rgba(0,229,255,0.55);
  outline-offset: 2px;
}

.blog-grid {
  margin-top: 8px;
}

.blog-card {
  background: rgba(31, 35, 46, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
}

.blog-card-image {
  height: 180px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-copy {
  padding: 18px 20px 22px;
}

.article-shell {
  padding-top: 72px;
}

.article-container {
  max-width: 880px;
}

.article-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 24px;
}

.article-cover {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

.article-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.article-meta {
  color: var(--muted);
  margin-bottom: 20px;
}

.article-body {
  color: var(--text);
  line-height: 1.8;
}

.article-body a,
.post-body a,
.blog-content a,
.project-body a,
.article-card .article-body a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  word-break: break-word;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.article-body a:visited,
.post-body a:visited,
.blog-content a:visited,
.project-body a:visited,
.article-card .article-body a:visited {
  color: #a78bfa;
}

.article-body a:hover,
.article-body a:focus,
.post-body a:hover,
.post-body a:focus,
.blog-content a:hover,
.blog-content a:focus,
.project-body a:hover,
.project-body a:focus,
.article-card .article-body a:hover,
.article-card .article-body a:focus {
  color: #7dd3fc;
  text-decoration: underline;
}

.article-body a:focus-visible,
.post-body a:focus-visible,
.blog-content a:focus-visible,
.project-body a:focus-visible,
.article-card .article-body a:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding: 24px 0 52px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-heading {
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-grid,
  .three-up,
  .footer-grid,
  .cta-box { grid-template-columns: 1fr; display: grid; }
  .cta-box { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .nav-wrap { min-height: 72px; }
  .button { width: 100%; }
  .cta-row { flex-direction: column; }
  .hero { padding-top: 56px; }
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Social Sharing Component */
.share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.share-bar--vertical {
  flex-direction: column;
  align-items: flex-start;
}

.share-bar-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 2px;
}

.share-bar-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
  box-sizing: border-box;
  font-family: inherit;
}

.share-btn:hover,
.share-btn:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  text-decoration: none;
}

.share-btn:focus-visible {
  outline: 2px solid var(--wmd-cyan);
  outline-offset: 2px;
}

.share-btn:active {
  transform: translateY(0);
}

.share-btn-x:hover,
.share-btn-x:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.16);
}

.share-btn-linkedin:hover,
.share-btn-linkedin:focus-visible {
  color: #38bdf8;
  border-color: rgba(10, 102, 194, 0.55);
  background: rgba(10, 102, 194, 0.16);
  box-shadow: 0 0 14px rgba(10, 102, 194, 0.28);
}

.share-btn-facebook:hover,
.share-btn-facebook:focus-visible {
  color: #60a5fa;
  border-color: rgba(24, 119, 242, 0.55);
  background: rgba(24, 119, 242, 0.16);
  box-shadow: 0 0 14px rgba(24, 119, 242, 0.28);
}

.share-btn-copy:hover,
.share-btn-copy:focus-visible {
  color: var(--wmd-cyan);
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.22);
}

.share-btn-copy.copied {
  color: var(--wmd-cyan);
  border-color: var(--wmd-cyan);
  background: rgba(0, 229, 255, 0.16);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.share-btn-copy.copied .icon-link {
  display: none !important;
}

.share-btn-copy.copied .icon-check {
  display: inline-block !important;
  color: var(--wmd-cyan);
}

.share-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-meta-row .article-meta {
  margin-bottom: 0;
}

.article-meta-row .share-bar {
  margin: 0;
}

.article-share-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.share-footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

@media (max-width: 680px) {
  .article-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .share-bar {
    width: 100%;
  }

  .share-bar-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .share-btn {
    width: 100%;
  }
}

