/*
Theme Name: WrightsMind Personal Hub
Theme URI: https://wrightsmind.com
Author: WrightsMind
Description: A personal portfolio, project hub, and purpose-driven blog theme built for WrightsMind.
Version: 1.6.5
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: wrightsmind-news
*/

:root {
  --wm-bg: #06111f;
  --wm-surface: #0d1b2e;
  --wm-soft: #13243a;
  --wm-ink: #f7fbff;
  --wm-muted: #aab8ca;
  --wm-line: #263a56;
  --wm-accent: #3ea7ff;
  --wm-accent-dark: #1684de;
  --wm-blue: #69c7f7;
  --wm-teal: #38d6c9;
  --wm-radius: 8px;
  --wm-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  --wm-max: 1180px;
  --wm-serif: Georgia, "Times New Roman", serif;
  --wm-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Legal and policy pages */
.wm-content .wm-legal-updated,
.wm-content .wm-legal-note,
.wm-content .wm-form-privacy-note {
  color: var(--wm-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.wm-content .wm-legal-note,
.wm-content .wm-form-privacy-note {
  padding: 14px 16px;
  border: 1px solid var(--wm-line-soft);
  border-radius: 8px;
  background: rgba(16, 31, 51, 0.72);
}

.wm-content .wm-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.wm-content .wm-legal-card {
  padding: 16px;
  border: 1px solid var(--wm-line-soft);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 31, 51, 0.9), rgba(9, 20, 35, 0.96));
}

.wm-content .wm-legal-card h3 {
  margin-top: 0;
}

.wm-content .wm-legal-card p:last-child,
.wm-content .wm-form-privacy-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .wm-content .wm-legal-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wm-bg);
  color: var(--wm-ink);
  font-family: var(--wm-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: rgba(62, 167, 255, 0.38);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--wm-accent);
  text-decoration-color: currentColor;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.wm-wrap {
  width: min(calc(100% - 32px), var(--wm-max));
  margin-inline: auto;
}

.wm-topbar {
  background: #030914;
  color: #edf7ff;
  font-size: 0.82rem;
}

.wm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}

.wm-kicker,
.wm-eyebrow {
  color: var(--wm-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wm-topbar a {
  text-decoration: none;
}

.wm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 17, 31, 0.96);
  border-bottom: 1px solid var(--wm-line);
  backdrop-filter: saturate(160%) blur(10px);
}

.wm-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.wm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wm-ink);
  text-decoration: none;
}

.wm-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--wm-accent), var(--wm-teal));
  color: #06111f;
  border-radius: 8px;
  font-weight: 900;
}

.wm-brand-text {
  display: grid;
  line-height: 1;
}

.wm-brand-name {
  font-family: var(--wm-serif);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0;
}

.wm-brand-tagline {
  margin-top: 6px;
  color: var(--wm-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wm-nav {
  justify-self: center;
}

.wm-nav ul,
.wm-footer-nav ul,
.wm-member-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wm-nav a,
.wm-member-nav a,
.wm-footer-nav a {
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.wm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wm-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--wm-accent);
  color: #06111f;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.wm-button:hover,
.wm-button:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--wm-accent-dark);
  color: #ffffff;
}

.wm-button.is-secondary,
.wm-button.secondary {
  background: transparent;
  color: var(--wm-ink);
  box-shadow: inset 0 0 0 1px var(--wm-line);
}

.wm-button.is-ghost {
  background: color-mix(in srgb, var(--wm-soft) 78%, transparent);
  color: var(--wm-ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wm-blue) 38%, var(--wm-line));
}

.wm-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--wm-line);
  border-radius: 6px;
  background: var(--wm-surface);
  color: var(--wm-ink);
}

.wm-menu-toggle span,
.wm-menu-toggle::before,
.wm-menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.wm-ad {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 18px;
  border: 1px dashed color-mix(in srgb, var(--wm-muted) 55%, transparent);
  background: color-mix(in srgb, var(--wm-surface) 82%, var(--wm-bg));
  color: var(--wm-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.wm-breaking {
  border-bottom: 1px solid var(--wm-line);
  background: var(--wm-surface);
}

.wm-breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  overflow: hidden;
}

.wm-breaking strong {
  flex: 0 0 auto;
  color: var(--wm-accent);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.wm-breaking a {
  overflow: hidden;
  color: var(--wm-muted);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-main {
  padding: 24px 0 56px;
}

.wm-home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(26px, 4vw, 52px) 0;
}

.wm-home-intro-portfolio {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px) 0 clamp(28px, 4vw, 46px);
}

.wm-home-intro-copy {
  display: grid;
  gap: 16px;
}

.wm-home-intro h1 {
  max-width: 840px;
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.wm-home-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--wm-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.wm-home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.wm-home-intro-portfolio .wm-home-intro-actions {
  justify-content: flex-start;
  margin-top: 8px;
}

.wm-hero-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 360px);
  overflow: hidden;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 28%, var(--wm-line));
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 12%, rgba(56, 214, 201, 0.16), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--wm-surface) 92%, #143d68), color-mix(in srgb, var(--wm-soft) 92%, #05101e));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), 0 0 34px rgba(62, 167, 255, 0.1);
}

.wm-hero-portrait figure {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #081421;
}

.wm-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wm-hero-portrait-copy {
  display: grid;
  gap: 5px;
  padding: 14px 4px 2px;
}

.wm-hero-portrait-copy strong {
  font-family: var(--wm-serif);
  font-size: 1.35rem;
  line-height: 1.1;
}

.wm-hero-portrait-copy p {
  max-width: none;
  color: var(--wm-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.wm-home-grid {
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.7fr);
  align-items: start;
}

.wm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.wm-card {
  overflow: hidden;
  background: color-mix(in srgb, var(--wm-surface) 94%, #f7fbff);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  box-shadow: var(--wm-shadow);
}

.wm-card-link {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.wm-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #081421;
  overflow: hidden;
}

.wm-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.wm-card-link:hover img {
  transform: scale(1.035);
}

.wm-card-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.wm-hero-main .wm-card-image {
  aspect-ratio: 16 / 10;
}

.wm-hero-main h1 {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(1.9rem, 3.3vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.wm-card h2,
.wm-card h3,
.wm-card h4 {
  margin: 0;
  font-family: var(--wm-serif);
  line-height: 1.08;
  letter-spacing: 0;
}

.wm-card h2,
.wm-card h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
}

.wm-card p {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.94rem;
}

.wm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--wm-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.wm-hero-side {
  display: grid;
  gap: 18px;
}

.wm-hero-side .wm-card-image {
  aspect-ratio: 16 / 9;
}

.wm-section {
  margin-top: 30px;
}

.wm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--wm-accent) 55%, var(--wm-line));
}

.wm-section-head h2 {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1;
  letter-spacing: 0;
}

.wm-section-head a {
  color: var(--wm-muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.wm-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wm-post-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wm-list {
  display: grid;
  gap: 14px;
}

.wm-list-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.wm-list-item img {
  width: 112px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.wm-list-item h3 {
  margin: 0 0 4px;
  font-family: var(--wm-serif);
  font-size: 1.05rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.wm-sidebar {
  display: grid;
  gap: 20px;
}

.wm-widget,
.widget {
  padding: 16px;
  background: color-mix(in srgb, var(--wm-surface) 94%, #f7fbff);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
}

.wm-widget h2,
.wm-widget h3,
.widget h2,
.widget h3 {
  margin: 0 0 12px;
  font-family: var(--wm-serif);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.wm-newsletter {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #071527;
  color: #f7fbff;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
}

.wm-newsletter h2,
.wm-newsletter h3,
.wm-newsletter p {
  margin: 0;
}

.wm-newsletter p {
  color: #c7d6e8;
}

.wm-newsletter form,
.tnp-subscription form {
  display: grid;
  gap: 10px;
}

.wm-newsletter input[type="email"],
.tnp-subscription input[type="email"],
.wpcf7 input,
.wpcf7 textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--wm-line);
  border-radius: 6px;
  background: var(--wm-surface);
  color: var(--wm-ink);
}

.wm-category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.wm-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(260px, 320px);
  gap: 28px;
  align-items: start;
}

.wm-article {
  background: color-mix(in srgb, var(--wm-surface) 94%, #f7fbff);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
}

.wm-article-header {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 42px);
}

.wm-article-title {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.wm-dek {
  margin: 0;
  color: var(--wm-muted);
  font-size: 1.15rem;
}

.wm-article-image {
  border-top: 1px solid var(--wm-line);
  border-bottom: 1px solid var(--wm-line);
}

.wm-article-image img {
  width: 100%;
}

.wm-content {
  padding: clamp(22px, 4vw, 42px);
}

.wm-content a {
  color: #7cc9ff;
}

.wm-content .wm-button,
.wm-content button,
.wm-content input[type="submit"] {
  color: #06111f;
}

.wm-content > *:first-child {
  margin-top: 0;
}

.wm-content h2,
.wm-content h3,
.wm-content h4 {
  margin-top: 1.7em;
  font-family: var(--wm-serif);
  line-height: 1.12;
  letter-spacing: 0;
}

.wm-content p,
.wm-content li {
  font-size: 1.05rem;
}

.wm-content blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 20px;
  border-left: 4px solid var(--wm-accent);
  color: var(--wm-muted);
  font-family: var(--wm-serif);
  font-size: 1.3rem;
  line-height: 1.35;
}

.wm-author-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  margin-top: 28px;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: color-mix(in srgb, var(--wm-bg) 72%, var(--wm-surface));
}

.wm-toc,
.wm-guide-downloads,
.wm-protected-download,
.wm-social-share,
.wm-guide-reviews,
.wm-community-band,
.wm-about-chris,
.wm-member-lock {
  padding: 18px;
  margin: 28px 0;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: color-mix(in srgb, var(--wm-soft) 82%, var(--wm-bg));
}

.wm-toc ol {
  margin-bottom: 0;
}

.wm-download-list,
.wm-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.wm-share-buttons a,
.wm-share-buttons button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--wm-line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--wm-bg) 60%, transparent);
  color: var(--wm-ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.wm-share-buttons a:hover,
.wm-share-buttons button:hover {
  border-color: var(--wm-accent);
  color: var(--wm-accent);
}

.wm-instagram-prompt,
.wm-donate-note {
  color: var(--wm-muted);
  font-size: 0.95rem;
}

.wm-rating-summary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wm-accent) 18%, transparent);
}

.wm-review-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.wm-review {
  padding: 14px;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: var(--wm-surface);
}

.wm-review h3,
.wm-review p {
  margin: 6px 0 0;
}

.wm-review-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.wm-review-form label {
  display: grid;
  gap: 6px;
  color: var(--wm-muted);
  font-weight: 800;
}

.wm-community-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.wm-community-band h2 {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.wm-community-band p,
.wm-about-chris p {
  color: var(--wm-muted);
}

.wm-home-projects {
  padding: 18px;
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  background: color-mix(in srgb, var(--wm-soft) 72%, var(--wm-bg));
}

.wm-support-cta {
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 34%, var(--wm-line));
  border-radius: var(--wm-radius);
  background: color-mix(in srgb, var(--wm-soft) 82%, var(--wm-bg));
}

.wm-support-cta h2,
.wm-support-cta p {
  margin: 0;
}

.wm-support-cta h2 {
  margin-top: 6px;
  font-family: var(--wm-serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
}

.wm-support-cta p {
  max-width: 820px;
  margin-top: 10px;
  color: var(--wm-muted);
}

.wm-project-page {
  width: min(calc(100% - 32px), 1080px);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.wm-project-page .wm-page-header {
  margin-bottom: 24px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--wm-surface) 92%, #102f55), color-mix(in srgb, var(--wm-soft) 84%, #06111f));
  border: 1px solid color-mix(in srgb, var(--wm-blue) 24%, var(--wm-line));
  border-radius: 16px;
}

.wm-project-page .wm-page-content {
  padding: 0;
}

.wm-project-intro {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--wm-muted);
  font-size: 1.02rem;
}

.wm-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.wm-project-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wm-project-grid.one {
  grid-template-columns: minmax(0, 1fr);
}

.wm-project-mini-grid.one {
  grid-template-columns: minmax(0, 1fr);
}

.wm-project-mini-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wm-project-card {
  position: relative;
  display: grid;
  gap: 13px;
  align-content: start;
  overflow: hidden;
  min-height: 100%;
  padding: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--wm-surface) 96%, #12385f), color-mix(in srgb, var(--wm-soft) 90%, #06111f));
  border: 1px solid color-mix(in srgb, var(--wm-blue) 24%, var(--wm-line));
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wm-project-card::before,
.wm-personal-card::before,
.wm-social-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 16% 8%, rgba(62, 167, 255, 0.15), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(56, 214, 201, 0.08), transparent 26%);
}

.wm-project-card:hover {
  border-color: color-mix(in srgb, var(--wm-accent) 48%, var(--wm-line));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(62, 167, 255, 0.08);
  transform: translateY(-1px);
}

.wm-project-preview,
.wm-project-icon {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 28%, var(--wm-line));
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(62, 167, 255, 0.12), transparent 42%),
    linear-gradient(145deg, #071426, #0e2036);
}

.wm-project-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.wm-project-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 34px rgba(0, 0, 0, 0.2);
}

.wm-project-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wm-game-card {
  grid-template-columns: minmax(176px, 250px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 238px;
}

.wm-project-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: center;
}

.wm-game-art {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  padding: 12px;
  background:
    radial-gradient(circle at 50% 46%, rgba(62, 167, 255, 0.2), transparent 56%),
    linear-gradient(145deg, #07111f, #10233b);
}

.wm-game-art img {
  object-fit: contain;
  object-position: center;
  filter: saturate(1.04) contrast(1.04);
  transition: transform 180ms ease;
}

.wm-game-art.is-dash img {
  transform: scale(1.03);
}

.wm-game-art.is-word img {
  transform: scale(1);
}

.wm-project-card:hover .wm-game-art.is-dash img {
  transform: scale(1.07);
}

.wm-project-card:hover .wm-game-art.is-word img {
  transform: scale(1.04);
}

.wm-home-game-card {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 13px;
  min-height: auto;
  padding: 14px;
}

.wm-home-game-card .wm-game-art {
  max-width: 118px;
  padding: 8px;
}

.wm-project-card h2,
.wm-project-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--wm-serif);
  line-height: 1.08;
  letter-spacing: 0;
}

.wm-project-card h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.wm-project-card h3 {
  font-size: 1.25rem;
}

.wm-project-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--wm-muted);
  line-height: 1.62;
}

.wm-project-note {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--wm-teal) 34%, var(--wm-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--wm-teal) 9%, transparent);
  color: #c7fbf7;
  font-size: 0.78rem;
  font-weight: 850;
}

.wm-project-type {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--wm-accent) 36%, var(--wm-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--wm-accent) 8%, transparent);
  color: #9bd5ff;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.wm-project-card-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.wm-project-card-actions br {
  display: none;
}

.wm-project-card .wm-button {
  color: #06111f;
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.88rem;
}

.wm-project-card .wm-button:hover,
.wm-project-card .wm-button:focus {
  color: #ffffff;
}

.wm-project-card .wm-button.is-secondary {
  color: var(--wm-ink);
}

.wm-project-card .wm-button.is-secondary:hover,
.wm-project-card .wm-button.is-secondary:focus {
  color: var(--wm-accent);
}

.wm-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.wm-social-links br {
  display: none;
}

.wm-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 22%, var(--wm-line));
  border-radius: 999px;
  background: rgba(13, 27, 46, 0.72);
  color: var(--wm-ink);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.wm-social-links a span,
.wm-social-links a img {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.wm-social-links a span {
  background: color-mix(in srgb, var(--wm-accent) 24%, var(--wm-soft));
  color: #dff4ff;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.wm-social-links a img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--wm-blue) 20%, transparent);
}

.wm-social-links a:hover,
.wm-social-links a:focus {
  background: color-mix(in srgb, var(--wm-accent) 12%, var(--wm-soft));
  border-color: color-mix(in srgb, var(--wm-accent) 70%, var(--wm-line));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 0 18px rgba(62, 167, 255, 0.1);
  color: var(--wm-accent);
  transform: translateY(-1px);
}

.wm-social-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 24px);
  margin: 26px 0;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 24%, var(--wm-line));
  border-radius: 16px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--wm-surface) 94%, #102f55), color-mix(in srgb, var(--wm-soft) 88%, #06111f));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.wm-social-panel h2 {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.wm-social-panel .wm-social-links,
.wm-personal-card .wm-social-links {
  position: relative;
  z-index: 1;
}

.wm-personal-card {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid color-mix(in srgb, var(--wm-blue) 26%, var(--wm-line));
  border-radius: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--wm-surface) 94%, #12385f), color-mix(in srgb, var(--wm-soft) 88%, #06111f));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.wm-personal-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.wm-personal-card h2 {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.wm-personal-card p {
  max-width: 720px;
  margin: 0;
  color: var(--wm-muted);
}

.elementor-page .wm-main {
  padding: 0;
}

.wm-enigma-page {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 8%, rgba(62, 167, 255, 0.14), transparent 28%),
    #080c12;
  background-size: 150px 150px, 150px 150px, auto, auto;
  color: #f6f8fb;
}

.wm-enigma-page::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 24%, rgba(56, 214, 201, 0.09), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(62, 167, 255, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(6, 17, 31, 0) 0%, rgba(6, 17, 31, 0.34) 100%);
}

.wm-enigma-page > * {
  position: relative;
  z-index: 1;
}

.wm-enigma-hero {
  display: grid;
  grid-template-columns: minmax(160px, 0.78fr) minmax(320px, 1.7fr) minmax(160px, 0.78fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  width: min(calc(100% - 32px), 1280px);
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 8vw, 108px) 0 clamp(42px, 6vw, 78px);
  margin-inline: auto;
}

.wm-enigma-hero-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.wm-enigma-portrait {
  position: relative;
  width: min(48vw, 370px);
  aspect-ratio: 0.78;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(174, 224, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, #101821, #05080d);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.035), 0 26px 90px rgba(0, 0, 0, 0.55), 0 0 46px rgba(62, 167, 255, 0.12);
}

.wm-enigma-portrait img,
.wm-enigma-about-image img,
.wm-enigma-about-portrait img,
.wm-enigma-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wm-enigma-eyebrow,
.wm-enigma-section-head span,
.wm-enigma-project-copy span,
.wm-enigma-fact span {
  color: #9fb2c9;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wm-enigma-hero h1 {
  z-index: 2;
  margin: clamp(-74px, -8vw, -38px) 0 0;
  font-family: var(--wm-sans);
  font-size: clamp(4.7rem, 17vw, 12.8rem);
  font-weight: 950;
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #cbd2dc 52%, #69717d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.wm-enigma-hero-line {
  max-width: 680px;
  margin: 18px 0 0;
  color: #f5f7fb;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 850;
}

.wm-enigma-intro {
  max-width: 690px;
  margin: 10px 0 0;
  color: #a9b4c3;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.wm-enigma-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.wm-enigma-hero .wm-social-links {
  justify-content: center;
  margin-top: 24px;
}

.wm-enigma-facts {
  display: grid;
  gap: clamp(22px, 5vh, 42px);
}

.wm-enigma-facts-right {
  text-align: right;
}

.wm-enigma-fact {
  display: grid;
  gap: 4px;
}

.wm-enigma-fact strong {
  color: #f4f7fb;
  font-size: clamp(0.94rem, 1.4vw, 1.1rem);
  line-height: 1.35;
}

.wm-enigma-section {
  width: min(calc(100% - 32px), 1180px);
  padding: clamp(54px, 8vw, 94px) 0;
  margin-inline: auto;
}

.wm-enigma-section-head {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-bottom: clamp(24px, 5vw, 44px);
  text-align: center;
}

.wm-enigma-section-head h2,
.wm-enigma-page-hero h1,
.wm-enigma-about-copy h2,
.wm-enigma-metrics h2,
.wm-enigma-cta h2 {
  margin: 0;
  font-family: var(--wm-sans);
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #b5bdc9 64%, #5d6672 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wm-enigma-skill-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.wm-enigma-skill-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wm-enigma-skill-card {
  display: grid;
  align-content: center;
  min-height: 180px;
  padding: 22px 16px;
  border: 1px solid rgba(167, 175, 189, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 167, 255, 0.16), transparent 42%),
    rgba(11, 16, 24, 0.78);
  border-radius: 999px 999px 22px 22px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 38px rgba(0, 0, 0, 0.28);
}

.wm-enigma-skill-card span {
  color: #7fd8ff;
  font-size: 1.45rem;
  font-weight: 950;
}

.wm-enigma-skill-card h3 {
  margin: 10px 0 6px;
  color: #f6f8fb;
  font-size: 1rem;
  letter-spacing: 0;
}

.wm-enigma-skill-card p {
  margin: 0;
  color: #9faabc;
  font-size: 0.82rem;
  line-height: 1.45;
}

.wm-enigma-split {
  display: grid;
  grid-template-columns: 70px minmax(240px, 0.85fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  min-height: 620px;
}

.wm-enigma-vertical-label {
  justify-self: center;
  color: #eaf6ff;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  white-space: nowrap;
}

.wm-enigma-about-image {
  width: min(100%, 340px);
  aspect-ratio: 0.78;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(174, 224, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 0 0 18px rgba(62, 167, 255, 0.04), 0 28px 80px rgba(0, 0, 0, 0.44);
}

.wm-enigma-about-copy {
  display: grid;
  gap: 16px;
}

.wm-enigma-about-copy p,
.wm-enigma-page-hero p,
.wm-enigma-text-columns p,
.wm-enigma-cta p {
  margin: 0;
  color: #a9b4c3;
  font-size: 1rem;
  line-height: 1.8;
}

.wm-enigma-link {
  width: fit-content;
  color: #d8f4ff;
  font-weight: 850;
  text-decoration: none;
}

.wm-enigma-link:hover,
.wm-enigma-link:focus {
  color: var(--wm-accent);
}

.wm-enigma-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 26px);
  align-items: stretch;
}

.wm-enigma-project-grid.one {
  grid-template-columns: minmax(0, 0.78fr);
  justify-content: center;
}

.wm-enigma-project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(167, 175, 189, 0.22);
  background: rgba(9, 14, 22, 0.82);
  border-radius: 4px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wm-enigma-project-card:hover {
  border-color: rgba(62, 167, 255, 0.48);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), 0 0 34px rgba(62, 167, 255, 0.1);
  transform: translateY(-3px);
}

.wm-enigma-project-card.is-featured {
  grid-column: span 2;
}

.wm-enigma-project-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(62, 167, 255, 0.18), transparent 42%),
    #0b111a;
}

.wm-enigma-project-image img {
  transition: transform 220ms ease, opacity 220ms ease;
}

.wm-enigma-project-card:hover .wm-enigma-project-image img {
  transform: scale(1.035);
}

.wm-enigma-project-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(18px, 3vw, 24px);
}

.wm-enigma-project-copy h3 {
  margin: 0;
  color: #f5f7fb;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: 0;
}

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

.wm-enigma-project-copy p {
  margin: 0;
  color: #a9b4c3;
  font-size: 0.95rem;
  line-height: 1.7;
}

.wm-enigma-project-copy .wm-enigma-note {
  color: #ccefff;
  font-weight: 750;
}

.wm-enigma-guide-grid .wm-enigma-project-card {
  border-radius: 6px;
}

.wm-enigma-metrics {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 64px);
  align-items: center;
  border-top: 1px solid rgba(167, 175, 189, 0.18);
  border-bottom: 1px solid rgba(167, 175, 189, 0.18);
}

.wm-enigma-metrics > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.wm-enigma-metrics .wm-enigma-fact {
  padding-left: 18px;
  border-left: 1px solid rgba(167, 175, 189, 0.22);
}

.wm-enigma-cta,
.wm-enigma-social-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(167, 175, 189, 0.22);
  background: linear-gradient(145deg, rgba(14, 21, 32, 0.86), rgba(7, 11, 17, 0.9));
  border-radius: 6px;
}

.wm-enigma-cta > div {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.wm-enigma-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  width: min(calc(100% - 32px), 1180px);
  min-height: 620px;
  padding: clamp(56px, 8vw, 96px) 0;
  margin-inline: auto;
}

.wm-enigma-page-hero.compact {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-bottom: clamp(26px, 4vw, 44px);
}

.wm-enigma-page-hero > div {
  display: grid;
  gap: 16px;
}

.wm-enigma-about-portrait {
  margin: 0;
}

.wm-enigma-about-portrait img {
  aspect-ratio: 1;
  border: 1px solid rgba(174, 224, 255, 0.18);
  border-radius: 4px;
  box-shadow: 28px 28px 0 rgba(62, 167, 255, 0.08), 0 28px 80px rgba(0, 0, 0, 0.4);
}

.wm-enigma-about-portrait figcaption {
  margin-top: 14px;
  color: #f5f7fb;
  font-size: 1.3rem;
  font-weight: 850;
  text-align: center;
}

.wm-enigma-text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 58px);
}

.wm-enigma-social-panel {
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.wm-enigma-social-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.wm-about-profile-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: center;
  padding: clamp(18px, 3vw, 26px);
  margin: 0 0 26px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 24%, var(--wm-line));
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 8%, rgba(62, 167, 255, 0.16), transparent 36%),
    linear-gradient(145deg, color-mix(in srgb, var(--wm-surface) 94%, #12385f), color-mix(in srgb, var(--wm-soft) 88%, #06111f));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.wm-about-headshot {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #081421;
}

.wm-about-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wm-about-profile-copy {
  display: grid;
  gap: 10px;
}

.wm-about-profile-copy .wm-guide-intro {
  margin: 0;
}

.wm-text-link {
  width: fit-content;
  color: #cfeeff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.wm-text-link:hover,
.wm-text-link:focus {
  color: var(--wm-accent);
}

.wm-category-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wm-category-list a {
  text-decoration: none;
}

.wm-community-feed {
  display: grid;
  gap: 10px;
}

.wm-member-lock {
  display: grid;
  gap: 10px;
}

.wm-member-lock h2,
.wm-member-lock p {
  margin: 0;
}

.wm-activity-item {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--wm-line);
}

.wm-activity-item h3,
.wm-activity-item p {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.wm-activity-content p {
  margin: 0 0 6px;
}

.wm-activity-item span {
  color: var(--wm-muted);
  font-size: 0.8rem;
}

.wm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.wm-tags a {
  padding: 6px 10px;
  border: 1px solid var(--wm-line);
  border-radius: 999px;
  color: var(--wm-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.wm-page {
  width: min(calc(100% - 32px), 900px);
  margin-inline: auto;
  background: var(--wm-surface);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
}

.wm-page-header,
.wm-page-content {
  padding: clamp(22px, 4vw, 42px);
}

.wm-page-header {
  border-bottom: 1px solid var(--wm-line);
}

.wm-page-title {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.wm-archive-header {
  padding: 28px 0;
}

.wm-archive-header h1 {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.wm-pagination {
  margin-top: 28px;
}

.wm-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wm-pagination a,
.wm-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--wm-line);
  border-radius: 6px;
  background: var(--wm-surface);
  text-decoration: none;
}

.wm-pagination .current {
  background: var(--wm-ink);
  color: var(--wm-surface);
}

.wm-footer {
  padding: 38px 0;
  background: #030914;
  color: #edf7ff;
}

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

.wm-footer-grid > * {
  min-width: 0;
}

.wm-footer-nav ul {
  flex-wrap: wrap;
  gap: 12px 16px;
}

.wm-footer h2,
.wm-footer h3 {
  margin-top: 0;
  font-family: var(--wm-serif);
  letter-spacing: 0;
}

.wm-footer p,
.wm-footer a {
  color: #c7d6e8;
}

.wm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(247, 251, 255, 0.14);
  color: #96a9bf;
  font-size: 0.88rem;
}

@media (max-width: 1140px) and (min-width: 981px) {
  .wm-header-main {
    gap: 14px;
  }

  .wm-brand-name {
    font-size: 1.55rem;
  }

  .wm-brand-tagline {
    display: none;
  }

  .wm-nav ul {
    gap: 12px;
  }

  .wm-nav a {
    font-size: 0.84rem;
  }

  .wm-actions {
    gap: 8px;
  }

  .wm-actions .wm-button {
    padding-inline: 12px;
  }

  .wm-enigma-skill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .wm-header-main {
    grid-template-columns: 1fr auto;
  }

  .wm-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-bottom: 16px;
  }

  .wm-nav.is-open {
    display: block;
  }

  .wm-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .wm-nav a {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--wm-line);
  }

  .wm-actions {
    display: none;
  }

  .wm-menu-toggle {
    display: inline-block;
  }

  .wm-home-grid,
  .wm-hero,
  .wm-article-shell {
    grid-template-columns: 1fr;
  }

  .wm-post-grid,
  .wm-post-grid.two,
  .wm-category-strip,
  .wm-project-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-project-page .wm-game-card {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  }

  .wm-enigma-hero,
  .wm-enigma-page-hero,
  .wm-enigma-split,
  .wm-enigma-metrics {
    grid-template-columns: 1fr;
  }

  .wm-enigma-hero {
    min-height: auto;
    padding-top: 56px;
    text-align: center;
  }

  .wm-enigma-facts,
  .wm-enigma-facts-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    text-align: center;
  }

  .wm-enigma-facts-left {
    order: 2;
  }

  .wm-enigma-hero-center {
    order: 1;
  }

  .wm-enigma-facts-right {
    order: 3;
  }

  .wm-enigma-vertical-label {
    justify-self: start;
    transform: none;
  }

  .wm-enigma-about-image {
    justify-self: center;
  }

  .wm-enigma-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wm-enigma-project-card.is-featured {
    grid-column: span 1;
  }

  .wm-enigma-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .wm-wrap {
    width: min(calc(100% - 24px), var(--wm-max));
  }

  .wm-topbar-inner,
  .wm-breaking-inner,
  .wm-section-head,
  .wm-home-intro,
  .wm-community-band,
  .wm-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .wm-home-intro,
  .wm-community-band {
    grid-template-columns: 1fr;
  }

  .wm-hero-portrait {
    justify-self: center;
    width: min(100%, 320px);
  }

  .wm-about-profile-card {
    grid-template-columns: 1fr;
  }

  .wm-about-headshot {
    width: min(100%, 260px);
  }

  .wm-home-intro-actions {
    justify-content: flex-start;
  }

  .wm-header-main {
    min-height: 66px;
    gap: 12px;
  }

  .wm-brand-mark {
    width: 36px;
    height: 36px;
  }

  .wm-brand-name {
    font-size: 1.45rem;
  }

  .wm-brand-tagline {
    display: none;
  }

  .wm-post-grid,
  .wm-post-grid.two,
  .wm-category-strip,
  .wm-project-grid,
  .wm-project-mini-grid,
  .wm-project-mini-grid.two,
  .wm-footer-grid {
    grid-template-columns: 1fr;
  }

  .wm-game-card,
  .wm-project-page .wm-game-card,
  .wm-home-game-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wm-game-art,
  .wm-home-game-card .wm-game-art {
    justify-self: center;
    width: min(100%, 220px);
    max-width: 220px;
  }

  .wm-project-copy {
    justify-items: start;
  }

  .wm-personal-card {
    padding: 20px;
  }

  .wm-social-links {
    gap: 8px;
  }

  .wm-list-item {
    grid-template-columns: 88px 1fr;
  }

  .wm-list-item img {
    width: 88px;
  }

  .wm-card-body,
  .wm-widget,
  .widget {
    padding: 14px;
  }

  .wm-enigma-page {
    background-size: 88px 88px, 88px 88px, auto, auto;
  }

  .wm-enigma-hero,
  .wm-enigma-section,
  .wm-enigma-page-hero {
    width: min(calc(100% - 24px), 1180px);
  }

  .wm-enigma-portrait {
    width: min(76vw, 290px);
  }

  .wm-enigma-hero h1 {
    margin-top: -44px;
    font-size: clamp(4rem, 24vw, 6.6rem);
  }

  .wm-enigma-facts,
  .wm-enigma-facts-right,
  .wm-enigma-skill-grid,
  .wm-enigma-skill-grid.four,
  .wm-enigma-project-grid,
  .wm-enigma-project-grid.one,
  .wm-enigma-metrics > div,
  .wm-enigma-text-columns {
    grid-template-columns: 1fr;
  }

  .wm-enigma-skill-card {
    min-height: 130px;
    border-radius: 22px;
  }

  .wm-enigma-section {
    padding: 46px 0;
  }

  .wm-enigma-page-hero {
    min-height: auto;
    padding: 44px 0;
  }

  .wm-enigma-section-head {
    justify-items: start;
    text-align: left;
  }

  .wm-enigma-cta,
  .wm-enigma-social-panel {
    padding: 22px;
  }
}

@media (max-width: 460px) {
  .wm-social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .wm-social-links a {
    justify-content: center;
    width: 100%;
  }

  .wm-footer-nav ul {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Compact UI refinement: tighten the existing Enigma-based layout without changing content. */
:root {
  --wm-max: 1160px;
  --wm-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.wm-wrap {
  width: min(calc(100% - 40px), var(--wm-max));
}

.wm-topbar {
  font-size: 0.76rem;
}

.wm-topbar-inner {
  gap: 12px;
  min-height: 30px;
}

.wm-header-main {
  grid-template-columns: minmax(230px, 1fr) auto minmax(150px, 1fr);
  gap: 16px;
  min-height: 66px;
}

.wm-brand {
  gap: 10px;
  min-width: 0;
}

.wm-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.wm-brand-name {
  font-size: 1.58rem;
}

.wm-brand-tagline {
  max-width: 340px;
  margin-top: 4px;
  font-size: 0.63rem;
  line-height: 1.25;
}

.wm-nav ul {
  gap: 14px;
}

.wm-nav a,
.wm-member-nav a,
.wm-footer-nav a {
  font-size: 0.84rem;
}

.wm-actions {
  justify-self: end;
  gap: 8px;
}

.wm-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 0.92rem;
}

.wm-actions .wm-button {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 0.86rem;
}

@media (min-width: 981px) {
  .wm-nav #menu-item-1499 {
    display: none;
  }
}

.wm-breaking-inner {
  gap: 12px;
  min-height: 38px;
}

.wm-breaking strong {
  font-size: 0.72rem;
}

.wm-breaking a {
  font-size: 0.85rem;
}

.wm-main {
  padding-bottom: 48px;
}

.wm-grid,
.wm-hero-side {
  gap: 18px;
}

.wm-section {
  margin-top: 24px;
}

.wm-section-head {
  gap: 14px;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.wm-section-head h2 {
  font-size: clamp(1.32rem, 1.7vw, 1.7rem);
}

.wm-card {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.wm-card-body,
.wm-widget,
.widget {
  padding: 14px;
}

.wm-card h2,
.wm-card h3 {
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
}

.wm-card p {
  font-size: 0.9rem;
  line-height: 1.58;
}

.wm-post-grid {
  gap: 14px;
}

.wm-social-links {
  gap: 8px;
  margin-top: 14px;
}

.wm-social-links a {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.82rem;
}

.wm-social-links a span,
.wm-social-links a img {
  width: 22px;
  height: 22px;
}

.wm-footer {
  padding: 42px 0 24px;
}

.wm-footer-bottom {
  padding-top: 18px;
  margin-top: 22px;
  font-size: 0.82rem;
}

.wm-enigma-page {
  background-size: 120px 120px, 120px 120px, auto, auto;
}

.wm-enigma-hero,
.wm-enigma-section,
.wm-enigma-page-hero {
  width: min(calc(100% - 48px), 1140px);
}

.wm-enigma-hero {
  min-height: min(720px, calc(100vh - 104px));
  padding: clamp(34px, 5vw, 62px) 0 clamp(32px, 5vw, 58px);
  gap: clamp(18px, 3vw, 36px);
}

.wm-enigma-portrait {
  width: min(34vw, 300px);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.032), 0 22px 66px rgba(0, 0, 0, 0.48), 0 0 34px rgba(62, 167, 255, 0.1);
}

.wm-enigma-hero h1 {
  margin-top: clamp(-48px, -4.6vw, -24px);
  font-size: clamp(3.7rem, 10.4vw, 7.7rem);
  line-height: 0.88;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

.wm-enigma-hero-line {
  max-width: 600px;
  margin-top: 12px;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.35;
}

.wm-enigma-intro {
  max-width: 610px;
  margin-top: 8px;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.62;
}

.wm-enigma-actions {
  gap: 8px;
  margin-top: 16px;
}

.wm-enigma-hero .wm-social-links {
  margin-top: 16px;
}

.wm-enigma-facts {
  gap: clamp(16px, 3vh, 28px);
}

.wm-enigma-fact {
  gap: 3px;
}

.wm-enigma-fact strong {
  font-size: clamp(0.85rem, 1vw, 0.98rem);
}

.wm-enigma-section {
  padding: clamp(38px, 5.6vw, 68px) 0;
}

.wm-enigma-section-head {
  gap: 8px;
  margin-bottom: clamp(22px, 3.4vw, 32px);
}

.wm-enigma-section-head h2,
.wm-enigma-page-hero h1,
.wm-enigma-about-copy h2,
.wm-enigma-metrics h2,
.wm-enigma-cta h2 {
  font-size: clamp(1.8rem, 3.9vw, 3.2rem);
  line-height: 1.05;
}

.wm-enigma-about-copy p,
.wm-enigma-page-hero p,
.wm-enigma-text-columns p,
.wm-enigma-cta p {
  font-size: 0.96rem;
  line-height: 1.68;
}

.wm-enigma-skill-grid {
  gap: 12px;
}

.wm-enigma-skill-card {
  min-height: 138px;
  padding: 18px 14px;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.24);
}

.wm-enigma-skill-card span {
  font-size: 1.12rem;
}

.wm-enigma-skill-card h3 {
  margin: 8px 0 5px;
  font-size: 0.94rem;
}

.wm-enigma-skill-card p {
  font-size: 0.78rem;
}

.wm-enigma-split {
  grid-template-columns: 52px minmax(220px, 0.74fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 50px);
  min-height: 480px;
}

.wm-enigma-about-image {
  width: min(100%, 292px);
  box-shadow: 0 0 0 12px rgba(62, 167, 255, 0.035), 0 22px 58px rgba(0, 0, 0, 0.38);
}

.wm-enigma-about-copy {
  gap: 12px;
}

.wm-enigma-project-grid,
.wm-enigma-project-grid.one {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  justify-content: stretch;
}

.wm-enigma-project-card.is-featured {
  grid-column: auto;
}

.wm-enigma-project-card {
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.wm-enigma-project-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 26px rgba(62, 167, 255, 0.09);
  transform: translateY(-2px);
}

.wm-enigma-project-image {
  aspect-ratio: 16 / 9;
}

.wm-enigma-project-copy {
  gap: 10px;
  padding: 18px;
}

.wm-enigma-project-copy h3 {
  font-size: clamp(1.08rem, 1.55vw, 1.36rem);
  line-height: 1.14;
}

.wm-enigma-project-copy p {
  font-size: 0.9rem;
  line-height: 1.58;
}

.wm-enigma-metrics {
  gap: clamp(22px, 4.5vw, 46px);
}

.wm-enigma-metrics > div {
  gap: 18px;
}

.wm-enigma-cta,
.wm-enigma-social-panel {
  gap: 18px;
  padding: clamp(22px, 3.6vw, 34px);
  border-radius: 8px;
}

.wm-enigma-cta > div {
  gap: 9px;
  max-width: 680px;
}

.wm-enigma-page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(24px, 4vw, 54px);
  min-height: 460px;
  padding: clamp(42px, 6vw, 68px) 0;
}

.wm-enigma-page-hero.compact {
  padding-bottom: clamp(22px, 3vw, 36px);
}

.wm-enigma-page-hero > div {
  gap: 12px;
}

.wm-enigma-about-portrait img {
  border-radius: 8px;
  box-shadow: 18px 18px 0 rgba(62, 167, 255, 0.075), 0 22px 58px rgba(0, 0, 0, 0.34);
}

.wm-enigma-about-portrait figcaption {
  margin-top: 10px;
  font-size: 1.08rem;
}

.wm-enigma-text-columns {
  gap: clamp(20px, 4vw, 42px);
}

.wm-enigma-social-panel h2 {
  font-size: clamp(1.48rem, 3vw, 2.34rem);
}

@media (min-width: 981px) {
  .wm-enigma-hero {
    grid-template-columns: minmax(150px, 0.68fr) minmax(300px, 1.28fr) minmax(150px, 0.68fr);
  }
}

@media (max-width: 1140px) and (min-width: 981px) {
  .wm-header-main {
    grid-template-columns: minmax(205px, 0.88fr) auto minmax(132px, 0.7fr);
    gap: 12px;
  }

  .wm-nav ul {
    gap: 10px;
  }
}

@media (max-width: 980px) {
  .wm-wrap {
    width: min(calc(100% - 32px), var(--wm-max));
  }

  .wm-header-main {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .wm-nav #menu-item-1499 {
    display: list-item;
  }

  .wm-enigma-hero,
  .wm-enigma-page-hero,
  .wm-enigma-split,
  .wm-enigma-metrics {
    grid-template-columns: 1fr;
  }

  .wm-enigma-hero {
    min-height: auto;
    padding: 42px 0;
  }

  .wm-enigma-portrait {
    width: min(58vw, 260px);
  }

  .wm-enigma-split {
    min-height: auto;
  }

  .wm-enigma-page-hero {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .wm-wrap,
  .wm-enigma-hero,
  .wm-enigma-section,
  .wm-enigma-page-hero {
    width: min(calc(100% - 24px), var(--wm-max));
  }

  .wm-topbar-inner {
    min-height: 28px;
  }

  .wm-brand-name {
    font-size: 1.34rem;
  }

  .wm-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .wm-enigma-page {
    background-size: 84px 84px, 84px 84px, auto, auto;
  }

  .wm-enigma-hero {
    padding: 34px 0 38px;
  }

  .wm-enigma-portrait {
    width: min(68vw, 230px);
  }

  .wm-enigma-hero h1 {
    margin-top: -34px;
    font-size: clamp(3rem, 18vw, 4.75rem);
  }

  .wm-enigma-hero-line {
    font-size: 1rem;
  }

  .wm-enigma-intro {
    font-size: 0.94rem;
  }

  .wm-enigma-section {
    padding: 36px 0;
  }

  .wm-enigma-section-head h2,
  .wm-enigma-page-hero h1,
  .wm-enigma-about-copy h2,
  .wm-enigma-metrics h2,
  .wm-enigma-cta h2 {
    font-size: clamp(1.68rem, 10vw, 2.5rem);
  }

  .wm-enigma-skill-card {
    min-height: 112px;
    padding: 16px 14px;
  }

  .wm-enigma-project-copy {
    padding: 16px;
  }

  .wm-enigma-cta,
  .wm-enigma-social-panel {
    padding: 20px;
  }

  .wm-footer {
    padding-top: 34px;
  }
}

body,
body * {
  letter-spacing: 0 !important;
}

.wm-enigma-hero {
  min-height: min(620px, calc(100vh - 130px));
  padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 46px);
  gap: clamp(14px, 2.4vw, 28px);
}

.wm-enigma-portrait {
  width: min(30vw, 260px);
}

.wm-enigma-hero h1 {
  margin-top: clamp(-40px, -3.8vw, -22px);
  font-size: clamp(3.25rem, 8vw, 6.4rem);
}

.wm-enigma-hero-line {
  max-width: 560px;
  margin-top: 10px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.wm-enigma-intro {
  max-width: 560px;
  font-size: clamp(0.92rem, 1vw, 0.98rem);
  line-height: 1.58;
}

.wm-enigma-hero .wm-enigma-eyebrow {
  display: none;
}

.wm-enigma-project-copy .wm-button,
.wm-enigma-actions .wm-button:first-child {
  color: #04111f !important;
}

.wm-enigma-project-grid.one {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

@media (max-width: 680px) {
  .wm-topbar-inner {
    align-items: center;
    flex-direction: row;
    min-height: 30px;
  }

  .wm-topbar span {
    line-height: 1.35;
  }

  .wm-member-nav {
    display: none;
  }

  .wm-enigma-hero {
    padding: 28px 0 34px;
  }

  .wm-enigma-portrait {
    width: min(64vw, 220px);
  }

  .wm-enigma-hero h1 {
    margin-top: -30px;
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .wm-enigma-facts,
  .wm-enigma-facts-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .wm-enigma-fact span {
    font-size: 0.58rem;
  }

  .wm-enigma-fact strong {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .wm-enigma-hero .wm-social-links {
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }

  .wm-enigma-hero .wm-social-links a {
    width: auto;
  }
}

/* Sitewide typography and layout polish. */
:root {
  --wm-max: 1180px;
  --wm-readable: 720px;
  --wm-panel: rgba(9, 18, 31, 0.82);
  --wm-panel-border: color-mix(in srgb, var(--wm-blue) 24%, var(--wm-line));
}

body {
  font-size: 15.5px;
  line-height: 1.62;
}

body .wm-wrap {
  width: min(calc(100% - 44px), var(--wm-max));
}

body .wm-topbar {
  font-size: 0.74rem;
}

body .wm-topbar-inner {
  min-height: 28px;
}

body .wm-header-main {
  grid-template-columns: minmax(220px, 0.94fr) auto minmax(130px, 0.72fr);
  gap: 14px;
  min-height: 62px;
}

body .wm-brand-mark {
  width: 34px;
  height: 34px;
  font-size: 0.8rem;
}

body .wm-brand-name {
  font-size: 1.46rem;
}

body .wm-brand-tagline {
  max-width: 300px;
  font-size: 0.58rem;
  line-height: 1.22;
}

body .wm-nav ul {
  gap: 12px;
}

body .wm-nav a,
body .wm-member-nav a,
body .wm-footer-nav a {
  font-size: 0.8rem;
  line-height: 1.1;
}

body .wm-actions .wm-button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 0.84rem;
}

body .wm-breaking-inner {
  min-height: 34px;
}

body .wm-breaking strong {
  font-size: 0.7rem;
}

body .wm-breaking a {
  font-size: 0.82rem;
}

body .wm-button,
body .wp-block-button__link,
body input[type="submit"],
body button[type="submit"],
body .wm-share-buttons a,
body .wm-share-buttons button {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 0.88rem;
  line-height: 1.05;
}

body .wm-main {
  padding: 24px 0 46px;
}

body.elementor-page .wm-main {
  padding: 0;
}

body .wm-page {
  width: min(calc(100% - 44px), 860px);
  margin-top: 24px;
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.94), rgba(7, 14, 25, 0.96));
  border-color: var(--wm-panel-border);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

body.page-id-33 .wm-page,
body.page-id-1486 .wm-page {
  width: min(calc(100% - 44px), 820px);
}

body .wm-page-header,
body .wm-page-content,
body .wm-content {
  padding: clamp(20px, 3vw, 32px);
}

body .wm-page-header {
  display: grid;
  gap: 10px;
}

body .wm-page-title,
body .wm-archive-header h1,
body .wm-article-title {
  font-size: clamp(2.35rem, 4vw, 3.35rem) !important;
  line-height: 1.02 !important;
}

body .wm-dek,
body .wm-project-intro {
  max-width: var(--wm-readable);
  font-size: 0.98rem;
  line-height: 1.58;
}

body .wm-content h2,
body .wm-social-panel h2,
body .wm-member-lock h2,
body .wm-community-band h2,
body .wm-support-cta h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem) !important;
  line-height: 1.12 !important;
}

body .wm-content h3,
body .wm-widget h2,
body .wm-widget h3,
body .widget h2,
body .widget h3,
body .wm-footer h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem) !important;
  line-height: 1.15 !important;
}

body .wm-content p,
body .wm-content li,
body .wm-project-card p,
body .wm-card p,
body .wm-widget p,
body .widget p {
  font-size: 0.96rem;
  line-height: 1.62;
}

body .wm-content blockquote {
  margin: 22px 0;
  font-size: 1.12rem;
  line-height: 1.4;
}

body .wm-archive-header {
  padding: 24px 28px;
  margin: 24px 0 20px;
  border: 1px solid var(--wm-panel-border);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.82), rgba(7, 14, 25, 0.88));
}

body .wm-article-shell {
  grid-template-columns: minmax(0, 740px) minmax(250px, 300px);
  gap: 22px;
}

body .wm-card,
body .wm-article,
body .wm-widget,
body .widget {
  border-color: var(--wm-panel-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

body .wm-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body .wm-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

body .wm-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

body .wm-card h2,
body .wm-card h3,
body .wm-card h4 {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important;
  line-height: 1.12 !important;
}

body .wm-post-grid,
body .wm-post-grid.two {
  gap: 14px;
}

body input[type="text"],
body input[type="email"],
body input[type="password"],
body input[type="search"],
body textarea,
body select,
body .wpcf7 input,
body .wpcf7 textarea {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 0.94rem;
  line-height: 1.35;
}

body textarea,
body .wpcf7 textarea {
  min-height: 136px;
}

body label,
body .wpcf7 label {
  font-size: 0.92rem;
  line-height: 1.35;
}

body .wpcf7 form,
body form {
  max-width: 100%;
}

body .wpcf7 p {
  margin: 0 0 12px;
}

body .wm-social-panel {
  margin: 20px 0;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 10px;
}

body .wm-social-links {
  gap: 8px;
}

body .wm-social-links a {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 0.8rem;
}

body .wm-social-links a span,
body .wm-social-links a img {
  width: 21px;
  height: 21px;
}

body .wm-toc,
body .wm-guide-downloads,
body .wm-protected-download,
body .wm-social-share,
body .wm-guide-reviews,
body .wm-community-band,
body .wm-about-chris,
body .wm-member-lock,
body .wm-author-box {
  padding: 16px;
  margin: 22px 0;
}

body .wm-member-lock {
  gap: 9px;
}

body .wm-footer {
  padding: 34px 0 22px;
}

body .wm-footer h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  line-height: 1.1 !important;
}

body .wm-footer p,
body .wm-footer a {
  font-size: 0.88rem;
  line-height: 1.55;
}

body .wm-footer-grid {
  gap: 20px;
}

body .wm-footer-bottom {
  padding-top: 16px;
  margin-top: 20px;
  font-size: 0.8rem;
}

body .wm-enigma-page {
  background-size: 108px 108px, 108px 108px, auto, auto;
}

body .wm-enigma-hero,
body .wm-enigma-section,
body .wm-enigma-page-hero {
  width: min(calc(100% - 44px), 1080px);
}

body .wm-enigma-home .wm-enigma-hero {
  grid-template-columns: minmax(150px, 0.56fr) minmax(300px, 1fr) minmax(150px, 0.56fr);
  min-height: 560px;
  padding: clamp(30px, 4vw, 44px) clamp(20px, 3vw, 34px);
  margin-top: 24px;
  border: 1px solid rgba(105, 199, 247, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 18%, rgba(62, 167, 255, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(11, 24, 39, 0.86), rgba(4, 10, 18, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 24px 70px rgba(0, 0, 0, 0.28);
}

body .wm-enigma-home .wm-enigma-facts {
  justify-self: center;
  width: min(100%, 210px);
}

body .wm-enigma-portrait {
  width: min(28vw, 238px);
}

body .wm-enigma-hero h1 {
  font-size: clamp(3rem, 5.7vw, 5.1rem) !important;
  line-height: 0.9 !important;
}

body .wm-enigma-hero-line {
  max-width: 510px;
  font-size: clamp(0.96rem, 1.1vw, 1.06rem);
  line-height: 1.34;
}

body .wm-enigma-intro {
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.55;
}

body .wm-enigma-fact span,
body .wm-enigma-section-head span,
body .wm-enigma-project-copy span,
body .wm-enigma-eyebrow,
body .wm-project-type,
body .wm-eyebrow,
body .wm-kicker {
  font-size: 0.68rem;
  line-height: 1.2;
}

body .wm-enigma-fact strong {
  font-size: 0.88rem;
  line-height: 1.28;
}

body .wm-enigma-page-hero {
  min-height: 360px;
  padding: clamp(30px, 4vw, 44px);
  margin-top: 24px;
  border: 1px solid rgba(105, 199, 247, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 8%, rgba(62, 167, 255, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(11, 24, 39, 0.84), rgba(4, 10, 18, 0.9));
}

body .wm-enigma-page-hero.compact {
  min-height: 260px;
  padding-bottom: clamp(30px, 4vw, 44px);
}

body .wm-enigma-page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.3rem, 3.5vw, 3rem) !important;
  line-height: 1.04 !important;
}

body .wm-enigma-page-hero p {
  max-width: 760px;
  font-size: 0.96rem;
  line-height: 1.58;
}

body .wm-enigma-section {
  padding: clamp(30px, 4.6vw, 54px) 0;
}

body .wm-enigma-section-head {
  margin-bottom: clamp(18px, 3vw, 28px);
}

body .wm-enigma-section-head h2,
body .wm-enigma-about-copy h2,
body .wm-enigma-metrics h2,
body .wm-enigma-cta h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem) !important;
  line-height: 1.08 !important;
}

body .wm-enigma-split {
  grid-template-columns: 44px minmax(190px, 0.66fr) minmax(0, 1fr);
  gap: clamp(18px, 3.5vw, 40px);
  min-height: 420px;
}

body .wm-enigma-about-image {
  width: min(100%, 252px);
}

body .wm-enigma-about-copy {
  gap: 10px;
  max-width: 720px;
}

body .wm-enigma-about-copy p,
body .wm-enigma-text-columns p,
body .wm-enigma-cta p {
  font-size: 0.94rem;
  line-height: 1.6;
}

body .wm-enigma-project-grid,
body .wm-enigma-project-grid.one {
  gap: 16px;
}

body .wm-enigma-project-grid.one {
  grid-template-columns: minmax(0, 520px);
}

body .wm-enigma-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 9px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

body .wm-enigma-project-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
}

body .wm-enigma-project-copy h3 {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem) !important;
  line-height: 1.14 !important;
}

body .wm-enigma-project-copy p {
  font-size: 0.88rem;
  line-height: 1.54;
}

body .wm-enigma-project-copy .wm-button,
body .wm-enigma-project-copy .wm-enigma-link {
  margin-top: auto;
}

body .wm-enigma-project-copy .wm-button {
  width: 100%;
}

body .wm-enigma-skill-grid {
  gap: 11px;
}

body .wm-enigma-skill-card {
  min-height: 118px;
  padding: 16px 12px;
}

body .wm-enigma-skill-card span {
  font-size: 1rem;
}

body .wm-enigma-skill-card h3 {
  font-size: 0.9rem !important;
  line-height: 1.12 !important;
}

body .wm-enigma-skill-card p {
  font-size: 0.76rem;
  line-height: 1.38;
}

body .wm-enigma-social-panel h2 {
  font-size: clamp(1.35rem, 2.6vw, 2rem) !important;
}

body .wm-project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
}

body .wm-game-card {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  min-height: 220px;
}

body .wm-project-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
}

body .wm-project-card-actions {
  margin-top: auto;
}

body .wm-project-card .wm-button {
  min-height: 36px;
  font-size: 0.86rem;
}

@media (max-width: 1140px) and (min-width: 981px) {
  body .wm-header-main {
    grid-template-columns: minmax(190px, 0.8fr) auto minmax(110px, 0.6fr);
  }

  body .wm-brand-tagline {
    display: none;
  }

  body .wm-nav ul {
    gap: 9px;
  }
}

@media (max-width: 980px) {
  body .wm-header-main {
    grid-template-columns: 1fr auto;
    min-height: 60px;
  }

  body .wm-article-shell,
  body .wm-enigma-home .wm-enigma-hero,
  body .wm-enigma-page-hero,
  body .wm-enigma-split,
  body .wm-enigma-metrics {
    grid-template-columns: 1fr;
  }

  body .wm-enigma-page-hero {
    min-height: auto;
  }

  body .wm-enigma-home .wm-enigma-facts {
    width: 100%;
  }
}

@media (max-width: 680px) {
  body .wm-wrap,
  body .wm-enigma-hero,
  body .wm-enigma-section,
  body .wm-enigma-page-hero,
  body .wm-page,
  body.page-id-33 .wm-page,
  body.page-id-1486 .wm-page {
    width: min(calc(100% - 24px), var(--wm-max));
  }

  body .wm-topbar-inner {
    min-height: 30px;
  }

  body .wm-brand-name {
    font-size: 1.28rem;
  }

  body .wm-page {
    margin-top: 18px;
  }

  body .wm-page-header,
  body .wm-page-content,
  body .wm-content {
    padding: 18px;
  }

  body .wm-page-title,
  body .wm-archive-header h1,
  body .wm-article-title {
    font-size: clamp(2rem, 10vw, 2.55rem) !important;
    line-height: 1.04 !important;
  }

  body .wm-content h2,
  body .wm-social-panel h2,
  body .wm-member-lock h2,
  body .wm-community-band h2,
  body .wm-support-cta h2 {
    font-size: clamp(1.35rem, 7vw, 1.75rem) !important;
  }

  body .wm-content p,
  body .wm-content li,
  body .wm-dek,
  body .wm-project-intro {
    font-size: 0.94rem;
  }

  body .wm-archive-header {
    padding: 20px;
    margin-top: 18px;
  }

  body .wm-enigma-home .wm-enigma-hero {
    padding: 24px 16px 28px;
    margin-top: 18px;
    border-radius: 12px;
  }

  body .wm-enigma-portrait {
    width: min(60vw, 205px);
  }

  body .wm-enigma-hero h1 {
    margin-top: -26px;
    font-size: clamp(2.8rem, 15vw, 4rem) !important;
  }

  body .wm-enigma-hero-line {
    font-size: 0.96rem;
  }

  body .wm-enigma-intro {
    font-size: 0.9rem;
  }

  body .wm-enigma-facts,
  body .wm-enigma-facts-right {
    gap: 9px;
  }

  body .wm-enigma-page-hero {
    padding: 24px 18px;
    margin-top: 18px;
  }

  body .wm-enigma-page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem) !important;
  }

  body .wm-enigma-section {
    padding: 30px 0;
  }

  body .wm-enigma-section-head h2,
  body .wm-enigma-about-copy h2,
  body .wm-enigma-metrics h2,
  body .wm-enigma-cta h2 {
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
  }

  body .wm-enigma-skill-card {
    min-height: auto;
  }

  body .wm-enigma-project-copy {
    padding: 15px;
  }

  body .wm-game-card,
  body .wm-project-page .wm-game-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body .wm-footer-grid {
    gap: 16px;
  }
}

body input[type="submit"],
body button[type="submit"],
body .wpcf7-submit,
body .pms-submit-button,
body .pms-form input[type="submit"] {
  min-height: 36px !important;
  padding: 8px 13px !important;
  border-radius: 7px !important;
  font-size: 0.88rem !important;
  line-height: 1.05 !important;
}

/* Community privacy and feed readability */
body .wm-community-gate {
  width: min(calc(100% - 44px), 760px);
}

body .wm-community-private {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 167, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(12, 28, 48, 0.96), rgba(7, 14, 25, 0.98));
}

body .wm-community-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

body .wm-community-feed {
  display: grid;
  gap: 12px;
}

body .wm-community-feed > p {
  margin: 0;
  color: var(--wm-muted);
}

body .wm-activity-item {
  display: grid;
  gap: 11px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 22%, var(--wm-line));
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.94), rgba(8, 18, 32, 0.97));
  color: var(--wm-ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body .wm-activity-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

body .wm-activity-avatar,
body .wm-activity-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

body .wm-activity-avatar {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(62, 167, 255, 0.24), rgba(56, 214, 201, 0.18));
  border: 1px solid color-mix(in srgb, var(--wm-blue) 28%, var(--wm-line));
}

body .wm-activity-avatar img {
  object-fit: cover;
}

body .wm-activity-item h3 {
  margin: 0;
  color: var(--wm-ink);
  font-family: var(--wm-sans);
  font-size: 0.92rem !important;
  line-height: 1.35 !important;
}

body .wm-activity-item a,
body .wm-activity-content a {
  color: var(--wm-accent);
}

body .wm-activity-time {
  display: inline-flex;
  margin-top: 2px;
  color: var(--wm-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

body .wm-activity-content {
  color: #e8f3ff;
}

body .wm-activity-content p {
  margin: 0 0 7px;
  color: inherit;
  font-size: 0.92rem;
  line-height: 1.55;
}

body #buddypress,
body .buddypress-wrap {
  color: var(--wm-ink);
}

body #buddypress a,
body .buddypress-wrap a {
  color: var(--wm-accent);
}

body #buddypress .activity-list .activity-item,
body #buddypress .bp-list li,
body .buddypress-wrap .activity-list .activity-item,
body .buddypress-wrap .bp-list li,
body .buddypress-wrap .item-body,
body .buddypress-wrap .subnav-filters,
body .buddypress-wrap #whats-new-form {
  border: 1px solid color-mix(in srgb, var(--wm-blue) 22%, var(--wm-line)) !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.94), rgba(8, 18, 32, 0.97)) !important;
  color: var(--wm-ink) !important;
}

body #buddypress .activity-content,
body #buddypress .activity-inner,
body #buddypress .activity-header,
body #buddypress .activity-meta,
body #buddypress .acomment-meta,
body .buddypress-wrap .activity-content,
body .buddypress-wrap .activity-inner,
body .buddypress-wrap .activity-header,
body .buddypress-wrap .activity-meta,
body .buddypress-wrap .acomment-meta {
  color: #e8f3ff !important;
}

body #buddypress .activity-time-since,
body .buddypress-wrap .activity-time-since,
body .buddypress-wrap .bp-secondary-action {
  color: var(--wm-muted) !important;
}

body #buddypress input[type="text"],
body #buddypress textarea,
body .buddypress-wrap input[type="text"],
body .buddypress-wrap textarea {
  border: 1px solid var(--wm-line) !important;
  background: rgba(4, 10, 20, 0.88) !important;
  color: var(--wm-ink) !important;
}

body #buddypress .button,
body .buddypress-wrap .button,
body .buddypress-wrap input[type="submit"] {
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 30%, var(--wm-line)) !important;
  border-radius: 7px !important;
  background: rgba(62, 167, 255, 0.14) !important;
  color: var(--wm-ink) !important;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
}

body #buddypress .button:hover,
body .buddypress-wrap .button:hover,
body .buddypress-wrap input[type="submit"]:hover {
  border-color: var(--wm-accent) !important;
  background: var(--wm-accent) !important;
  color: #06111f !important;
}

/* Online Security page */
body .wm-security-page {
  display: grid;
  gap: 22px;
  width: min(calc(100% - 44px), var(--wm-max));
  margin: 24px auto 0;
}

body .wm-security-hero,
body .wm-security-section {
  border: 1px solid color-mix(in srgb, var(--wm-blue) 24%, var(--wm-line));
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgba(62, 167, 255, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(12, 28, 48, 0.94), rgba(7, 14, 25, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

body .wm-security-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 390px);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  min-height: 430px;
  padding: clamp(24px, 4vw, 46px);
}

body .wm-security-hero-copy {
  display: grid;
  gap: 14px;
}

body .wm-security-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(2.3rem, 4.2vw, 4rem) !important;
  line-height: 1.02 !important;
}

body .wm-security-hero p,
body .wm-security-section p,
body .wm-security-section li {
  color: var(--wm-muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

body .wm-security-hero p {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

body .wm-security-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 26%, var(--wm-line));
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(62, 167, 255, 0.1), rgba(56, 214, 201, 0.08)),
    rgba(4, 10, 20, 0.62);
}

body .wm-security-visual img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  padding: 14px;
}

body .wm-security-video-box {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 20%, rgba(48, 188, 255, 0.2), transparent 44%),
    linear-gradient(145deg, rgba(7, 18, 34, 0.94), rgba(3, 8, 17, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), 0 0 28px rgba(62, 167, 255, 0.12);
}

body .wm-cyber-video,
body .wm-security-video-box > img,
body .wm-security-video-box noscript img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  padding: 0;
}

body .wm-cyber-video {
  display: block;
  border-radius: inherit;
  filter: saturate(0.9) contrast(1.08) brightness(0.78);
}

body .wm-cyber-video-poster {
  display: none;
  border-radius: inherit;
  filter: saturate(0.86) contrast(1.05) brightness(0.78);
}

body .wm-security-video-box::before,
body .wm-security-video-box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

body .wm-security-video-box::before {
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.16), rgba(2, 8, 18, 0.54)),
    radial-gradient(circle at 50% 35%, transparent 0 36%, rgba(2, 8, 18, 0.38) 100%);
}

body .wm-security-video-box::after {
  border: 1px solid rgba(92, 190, 255, 0.2);
  box-shadow: inset 0 0 34px rgba(3, 9, 20, 0.72);
}

body .wm-cyber-hero-video-glow {
  position: absolute;
  inset: auto 12% 8% 12%;
  height: 36px;
  border-radius: 999px;
  background: rgba(65, 196, 255, 0.18);
  filter: blur(22px);
  pointer-events: none;
  z-index: 2;
}

body .wm-cyber-inline-media {
  aspect-ratio: 1;
  min-height: 0;
}

body .wm-security-section {
  padding: clamp(22px, 3vw, 34px);
}

body .wm-security-card-grid,
body .wm-security-resource-grid,
body .wm-security-image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body .wm-security-card,
body .wm-security-image-strip article,
body .wm-security-resource-grid a,
body .wm-security-faq details {
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 20%, var(--wm-line));
  border-radius: 10px;
  background: rgba(5, 14, 27, 0.74);
}

body .wm-security-card h3 {
  margin: 0 0 7px;
  font-family: var(--wm-sans);
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

body .wm-security-card p,
body .wm-security-resource-grid span {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.52;
}

body .wm-security-image-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

body .wm-security-image-strip article {
  display: grid;
  gap: 10px;
}

body .wm-security-image-strip figure {
  display: grid;
  place-items: center;
  aspect-ratio: 1.1;
  margin: 0;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(4, 10, 20, 0.5);
}

body .wm-security-image-strip img {
  width: min(74%, 148px);
  height: auto;
  max-height: 148px;
  object-fit: contain;
  padding: 8px;
}

body .wm-security-image-strip h3 {
  margin: 0;
  font-family: var(--wm-sans);
  font-size: 1rem !important;
}

body .wm-security-image-strip p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

body .wm-security-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(18px, 4vw, 38px);
  align-items: center;
}

body .wm-security-split.reverse {
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
}

body .wm-security-split.reverse .wm-security-visual img {
  object-fit: cover;
  padding: 0;
}

body .wm-security-checklist {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

body .wm-security-checklist li {
  position: relative;
  padding-left: 24px;
}

body .wm-security-checklist li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wm-accent);
  box-shadow: 0 0 14px rgba(62, 167, 255, 0.7);
  content: "";
}

body .wm-security-resource-grid a {
  display: grid;
  gap: 6px;
  color: var(--wm-ink);
  text-decoration: none;
}

body .wm-security-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

body .wm-security-article-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body .wm-security-article-links a {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 20%, var(--wm-line));
  border-radius: 10px;
  background: rgba(5, 14, 27, 0.74);
  color: var(--wm-ink);
  text-decoration: none;
}

body .wm-security-article-links a:hover {
  border-color: var(--wm-accent);
  transform: translateY(-1px);
}

body .wm-security-article-links strong {
  font-size: 0.96rem;
  line-height: 1.24;
}

body .wm-security-article-links span {
  color: var(--wm-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

body .wm-security-resource-grid a:hover {
  border-color: var(--wm-accent);
  transform: translateY(-1px);
}

body .wm-security-resource-grid strong {
  color: var(--wm-accent);
  font-size: 0.94rem;
}

body .wm-security-work {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body .wm-security-work > div {
  max-width: 720px;
}

body .wm-security-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem) !important;
  line-height: 1.08 !important;
}

body .wm-security-faq {
  display: grid;
  gap: 10px;
}

body .wm-security-faq details {
  color: var(--wm-ink);
}

body .wm-security-faq summary {
  cursor: pointer;
  color: var(--wm-ink);
  font-weight: 850;
}

body .wm-security-faq p {
  margin: 9px 0 0;
}

@media (max-width: 980px) {
  body .wm-security-hero,
  body .wm-security-split,
  body .wm-security-split.reverse {
    grid-template-columns: 1fr;
  }

  body .wm-security-card-grid,
  body .wm-security-resource-grid,
  body .wm-security-article-links,
  body .wm-security-image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .wm-security-work {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body .wm-security-page {
    width: min(calc(100% - 24px), var(--wm-max));
    gap: 16px;
  }

  body .wm-security-hero,
  body .wm-security-section {
    padding: 18px;
    border-radius: 10px;
  }

  body .wm-security-hero {
    min-height: auto;
  }

  body .wm-security-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
  }

  body .wm-security-card-grid,
  body .wm-security-resource-grid,
  body .wm-security-article-links,
  body .wm-security-image-strip {
    grid-template-columns: 1fr;
  }

  body .wm-security-visual img {
    max-height: 260px;
  }

  body .wm-security-video-box {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .wm-cyber-video {
    display: none;
  }

  body .wm-cyber-video-poster {
    display: block;
  }
}

/* SEO Articles section */
body .wm-articles-page {
  display: grid;
  gap: 20px;
  width: min(calc(100% - 44px), var(--wm-max));
  margin: 24px auto 0;
}

body .wm-articles-hero,
body .wm-articles-sidebar section,
body .wm-articles-filter,
body .wm-article-empty {
  border: 1px solid color-mix(in srgb, var(--wm-blue) 22%, var(--wm-line));
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.94), rgba(7, 14, 25, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body .wm-articles-hero {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
}

body .wm-articles-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(2.15rem, 3.6vw, 3.35rem) !important;
  line-height: 1.04 !important;
}

body .wm-articles-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

body .wm-articles-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  gap: 18px;
  align-items: start;
}

body .wm-articles-main {
  display: grid;
  gap: 14px;
}

body .wm-articles-filter {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 260px) auto auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
}

body .wm-articles-filter label {
  display: grid;
  gap: 5px;
  color: var(--wm-muted);
  font-size: 0.82rem;
  font-weight: 850;
}

body .wm-articles-filter input,
body .wm-articles-filter select {
  min-height: 38px;
  border: 1px solid var(--wm-line);
  border-radius: 7px;
  background: rgba(4, 10, 20, 0.78);
  color: var(--wm-ink);
}

body .wm-article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body .wm-article-tag-row a,
body .wm-article-tags a,
body .wm-article-card-meta a,
body .wm-related-resource {
  display: inline-flex;
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 24%, var(--wm-line));
  border-radius: 999px;
  background: rgba(62, 167, 255, 0.09);
  color: var(--wm-blue);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

body .wm-article-tag-row a {
  padding: 7px 10px;
}

body .wm-article-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body .wm-article-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 20%, var(--wm-line));
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.92), rgba(7, 14, 25, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body .wm-article-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(62, 167, 255, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(12, 28, 48, 0.92), rgba(4, 10, 20, 0.96));
  color: rgba(247, 251, 255, 0.28);
  font-family: var(--wm-serif);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  text-decoration: none;
}

body .wm-article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .wm-article-card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
}

body .wm-article-card-meta,
body .wm-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body .wm-article-card-meta a,
body .wm-article-tags a,
body .wm-related-resource {
  padding: 6px 8px;
}

body .wm-related-resource {
  border-radius: 7px;
  color: var(--wm-ink);
}

body .wm-article-card h2 {
  margin: 0;
  font-family: var(--wm-serif);
  font-size: clamp(1.16rem, 1.55vw, 1.42rem) !important;
  line-height: 1.12 !important;
}

body .wm-article-card h2 a {
  color: var(--wm-ink);
  text-decoration: none;
}

body .wm-article-card p {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

body .wm-article-card .wm-button {
  width: 100%;
  margin-top: auto;
}

body .wm-articles-sidebar {
  display: grid;
  gap: 14px;
}

body .wm-articles-sidebar section,
body .wm-article-empty {
  padding: 15px;
}

body .wm-articles-sidebar h2,
body .wm-article-empty h2 {
  margin: 0 0 10px;
  font-family: var(--wm-serif);
  font-size: 1.2rem !important;
}

body .wm-articles-sidebar ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body .wm-articles-sidebar-search {
  display: grid;
  gap: 8px;
}

body .wm-articles-sidebar-search input {
  min-height: 38px;
  border: 1px solid var(--wm-line);
  border-radius: 7px;
  background: rgba(4, 10, 20, 0.78);
  color: var(--wm-ink);
}

body .wm-sidebar-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body .wm-sidebar-chip-list a {
  display: inline-flex;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 22%, var(--wm-line));
  border-radius: 999px;
  background: rgba(62, 167, 255, 0.08);
  color: var(--wm-blue);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

body .wm-articles-sidebar li a {
  color: var(--wm-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

body .wm-articles-compact-list {
  display: grid;
  gap: 9px;
}

body .wm-articles-compact-list a {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(105, 199, 247, 0.16);
  border-radius: 8px;
  background: rgba(4, 10, 20, 0.4);
  text-decoration: none;
}

body .wm-articles-compact-list strong {
  color: var(--wm-ink);
  font-size: 0.9rem;
  line-height: 1.22;
}

body .wm-articles-compact-list span,
body .wm-articles-cta p {
  color: var(--wm-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

body .wm-articles-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

body .wm-articles-pagination a,
body .wm-articles-pagination span {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wm-line);
  border-radius: 7px;
  color: var(--wm-ink);
  text-decoration: none;
}

body .wm-articles-pagination .current {
  border-color: var(--wm-accent);
  background: var(--wm-accent);
  color: #06111f;
}

@media (max-width: 980px) {
  body .wm-articles-shell {
    grid-template-columns: 1fr;
  }

  body .wm-articles-filter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body .wm-articles-page {
    width: min(calc(100% - 24px), var(--wm-max));
    margin-top: 18px;
  }

  body .wm-articles-hero,
  body .wm-articles-filter,
  body .wm-articles-sidebar section,
  body .wm-article-empty {
    border-radius: 10px;
  }

  body .wm-articles-filter,
  body .wm-article-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio music and press update. */
.wm-nav li {
  position: relative;
}

.wm-nav .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.wm-nav .menu-item-has-children > a::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
}

.wm-nav .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 188px;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(62, 167, 255, 0.28);
  border-radius: 8px;
  margin: 0;
  background: #071528;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.wm-nav .menu-item-has-children:hover > .sub-menu,
.wm-nav .menu-item-has-children:focus-within > .sub-menu,
.wm-nav .menu-item-has-children.is-submenu-open > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.wm-nav .sub-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--wm-ink);
  font-size: 0.84rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.wm-nav .sub-menu a:hover,
.wm-nav .sub-menu a:focus {
  background: rgba(62, 167, 255, 0.14);
  color: #ffffff;
}

.wm-enigma-portfolio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.wm-enigma-actions .wm-button.is-secondary,
.wm-enigma-actions .wm-button.is-ghost,
.wm-enigma-portfolio-links .wm-button.is-secondary,
.wm-enigma-portfolio-links .wm-button.is-ghost {
  color: var(--wm-ink) !important;
}

.wm-enigma-actions .wm-button.is-secondary:hover,
.wm-enigma-actions .wm-button.is-secondary:focus,
.wm-enigma-actions .wm-button.is-ghost:hover,
.wm-enigma-actions .wm-button.is-ghost:focus,
.wm-enigma-portfolio-links .wm-button.is-secondary:hover,
.wm-enigma-portfolio-links .wm-button.is-secondary:focus,
.wm-enigma-portfolio-links .wm-button.is-ghost:hover,
.wm-enigma-portfolio-links .wm-button.is-ghost:focus {
  color: #ffffff !important;
}

.wm-enigma-portfolio-nav {
  padding-top: clamp(24px, 4vw, 44px);
  border-top: 1px solid rgba(167, 175, 189, 0.18);
}

.wm-enigma-platform-grid,
.wm-enigma-press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.wm-enigma-platform-card {
  min-height: 100%;
  border-color: rgba(62, 167, 255, 0.24);
  background: linear-gradient(145deg, rgba(13, 27, 46, 0.92), rgba(7, 17, 32, 0.96));
}

.wm-enigma-platform-card .wm-enigma-project-copy {
  min-height: 230px;
}

.wm-enigma-platform-card .wm-button,
.wm-enigma-press-card .wm-button {
  margin-top: auto;
}

.wm-enigma-player-section {
  padding-top: clamp(28px, 5vw, 54px);
}

.wm-enigma-spotify-embed {
  width: min(100%, 760px);
  padding: 10px;
  border: 1px solid rgba(62, 167, 255, 0.26);
  border-radius: 8px;
  margin-inline: auto;
  background: rgba(7, 17, 32, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.wm-enigma-spotify-embed iframe {
  display: block;
  border: 0;
  border-radius: 8px;
}

.wm-enigma-compact-cta h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
}

.wm-enigma-press-section .wm-enigma-section-head p {
  max-width: 640px;
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.wm-enigma-press-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wm-enigma-press-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(62, 167, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13, 27, 46, 0.94), rgba(7, 17, 32, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.wm-enigma-press-card.is-video {
  grid-column: span 2;
}

.wm-enigma-press-copy {
  display: grid;
  gap: 10px;
}

.wm-enigma-source-badge {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(105, 199, 247, 0.34);
  border-radius: 999px;
  color: #d8f4ff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.wm-enigma-press-card h3 {
  margin: 0;
  color: var(--wm-ink);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.18;
}

.wm-enigma-press-card p {
  margin: 0;
  color: var(--wm-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.wm-enigma-video-card,
.wm-enigma-video-card iframe,
.wm-enigma-video-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.wm-enigma-video-card {
  overflow: hidden;
  border: 1px solid rgba(62, 167, 255, 0.22);
  background: #06111f;
}

.wm-enigma-video-card iframe {
  display: block;
  height: 100%;
  border: 0;
}

.wm-enigma-video-preview {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #06111f;
  color: #ffffff;
  cursor: pointer;
}

.wm-enigma-video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease;
}

.wm-enigma-video-preview span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--wm-accent);
  color: #06111f;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.wm-enigma-video-preview:hover img,
.wm-enigma-video-preview:focus img {
  opacity: 1;
  transform: scale(1.025);
}

@media (max-width: 980px) {
  .wm-nav .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .wm-nav .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .wm-nav .menu-item-has-children:hover > .sub-menu,
  .wm-nav .menu-item-has-children:focus-within > .sub-menu {
    display: none;
  }

  .wm-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    display: grid;
  }

  .wm-nav .menu-item-has-children.is-submenu-open > a::after {
    transform: rotate(225deg);
  }

  .wm-nav .sub-menu a {
    padding: 10px 0 10px 12px;
    border-top: 1px solid rgba(38, 58, 86, 0.76);
    border-radius: 0;
    white-space: normal;
  }

  .wm-enigma-press-grid {
    grid-template-columns: 1fr;
  }

  .wm-enigma-press-card.is-video {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .wm-enigma-platform-card .wm-enigma-project-copy {
    min-height: 0;
  }

  .wm-enigma-press-card {
    min-height: 0;
    padding: 16px;
  }

  .wm-enigma-portfolio-links {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Global brand system refresh: calm navy, readable type, accessible contrast. */
:root {
  --wm-bg: #07111f;
  --wm-bg-alt: #0b1728;
  --wm-surface: #101f33;
  --wm-surface-hover: #142842;
  --wm-soft: #172a42;
  --wm-ink: #edf4fb;
  --wm-heading: #e6eef7;
  --wm-muted: #a9b8c8;
  --wm-subtle: #7f93aa;
  --wm-line: #446d98;
  --wm-line-soft: rgba(68, 109, 152, 0.34);
  --wm-accent: #58b6e9;
  --wm-accent-dark: #3d9bd1;
  --wm-accent-hover: #7cc8f2;
  --wm-blue: #8ed8ff;
  --wm-teal: #64d5c5;
  --wm-success: #73d39b;
  --wm-error: #ff8a8a;
  --wm-radius: 8px;
  --wm-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  --wm-serif: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wm-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wm-heading-font: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button,
input,
textarea,
select {
  font-family: var(--wm-sans);
}

body {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--wm-bg);
  background-size: 160px 160px, 160px 160px, auto;
  color: var(--wm-ink);
  font-size: 16px;
  line-height: 1.68;
}

a {
  color: var(--wm-blue);
  text-decoration-color: rgba(142, 216, 255, 0.5);
}

a:hover,
a:focus {
  color: var(--wm-accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wm-button:focus-visible {
  outline: 2px solid var(--wm-accent-hover);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wm-page-title,
.wm-card h2,
.wm-card h3,
.wm-brand-name,
.wm-section-head h2,
.wm-home-intro h1,
.wm-home-intro h2,
.wm-hero h1,
.wm-hero h2,
.wm-enigma-hero h1,
.wm-enigma-section-head h2,
.wm-enigma-page-hero h1,
.wm-enigma-about-copy h2,
.wm-enigma-metrics h2,
.wm-enigma-cta h2,
.wm-enigma-social-panel h2,
.wm-enigma-project-copy h3,
.wm-enigma-skill-card h3,
.wm-articles-hero h1,
.wm-article-card h2,
.wm-security-page h1,
.wm-security-page h2 {
  font-family: var(--wm-heading-font) !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.wm-enigma-hero h1,
.wm-enigma-section-head h2,
.wm-enigma-page-hero h1,
.wm-enigma-about-copy h2,
.wm-enigma-metrics h2,
.wm-enigma-cta h2,
.wm-enigma-social-panel h2,
.wm-page-title,
.wm-home-intro h1,
.wm-home-intro h2,
.wm-hero h1,
.wm-hero h2,
.wm-articles-hero h1,
.wm-security-page h1,
.wm-security-page h2 {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--wm-heading) !important;
  -webkit-text-fill-color: var(--wm-heading) !important;
  text-transform: none !important;
}

.wm-brand-name {
  color: var(--wm-heading);
}

.wm-brand-tagline,
.wm-topbar,
.wm-breaking,
.wm-dek,
.wm-card p,
.wm-content p,
.wm-enigma-intro,
.wm-enigma-page-hero p,
.wm-enigma-text-columns p,
.wm-enigma-about-copy p,
.wm-enigma-cta p,
.wm-enigma-project-copy p,
.wm-article-card p,
.wm-security-page p {
  color: var(--wm-muted);
}

.wm-enigma-eyebrow,
.wm-enigma-section-head span,
.wm-enigma-project-copy span,
.wm-enigma-fact span,
.wm-kicker,
.wm-project-type {
  color: var(--wm-blue);
  letter-spacing: 0.08em !important;
}

.wm-enigma-hero h1 {
  max-width: 11ch;
  margin-top: clamp(-28px, -3vw, -14px) !important;
  font-size: clamp(3.5rem, 7vw, 4.5rem) !important;
  line-height: 1 !important;
}

.wm-page-title,
.wm-enigma-page-hero h1,
.wm-articles-hero h1,
.wm-security-page h1 {
  font-size: clamp(2.5rem, 4vw, 3.25rem) !important;
  line-height: 1.08 !important;
}

.wm-section-head h2,
.wm-enigma-section-head h2,
.wm-enigma-about-copy h2,
.wm-enigma-metrics h2,
.wm-enigma-cta h2,
.wm-enigma-social-panel h2,
.wm-home-intro h2,
.wm-hero h2,
.wm-security-page h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.25rem) !important;
  line-height: 1.16 !important;
}

.wm-card h2,
.wm-card h3,
.wm-enigma-project-copy h3,
.wm-article-card h2,
.wm-project-card h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem) !important;
  line-height: 1.22 !important;
}

.wm-content,
.wm-article-content,
.wm-page-content {
  font-size: clamp(0.98rem, 1vw, 1.05rem);
  line-height: 1.75;
}

.wm-content p,
.wm-article-content p {
  max-width: 72ch;
}

.wm-header,
.wm-topbar,
.wm-breaking,
.wm-footer {
  background-color: var(--wm-bg-alt);
  border-color: var(--wm-line-soft);
}

.wm-nav .sub-menu {
  top: 100%;
  z-index: 1000;
  padding: 12px 10px 10px;
  border-color: var(--wm-line-soft);
  background: #0b192c;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  transform: translateY(0);
  transition: opacity 160ms ease 80ms, visibility 160ms ease 80ms;
}

.wm-nav .menu-item-has-children:hover > .sub-menu,
.wm-nav .menu-item-has-children:focus-within > .sub-menu,
.wm-nav .menu-item-has-children.is-submenu-open > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.wm-nav .sub-menu a {
  color: var(--wm-ink);
}

.wm-nav .sub-menu a:hover,
.wm-nav .sub-menu a:focus {
  background: rgba(88, 182, 233, 0.14);
  color: #ffffff;
}

.wm-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  min-height: 38px;
  border-radius: 7px;
  background: var(--wm-accent);
  color: #03111e;
  font-size: 0.92rem;
  box-shadow: none;
}

.wm-button:hover,
.wm-button:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--wm-accent-hover);
  color: #03111e;
}

.wm-button.is-secondary,
.wm-button.secondary,
.wm-button.is-ghost {
  border: 1px solid var(--wm-line-soft);
  background: rgba(16, 31, 51, 0.68);
  color: var(--wm-ink);
  box-shadow: none;
}

.wm-button.is-secondary:hover,
.wm-button.secondary:hover,
.wm-button.is-ghost:hover,
.wm-button.is-secondary:focus,
.wm-button.secondary:focus,
.wm-button.is-ghost:focus {
  border-color: var(--wm-accent);
  background: rgba(88, 182, 233, 0.14);
  color: #ffffff;
}

.wm-card,
.wm-widget,
.widget,
.wm-page,
.wm-enigma-project-card,
.wm-enigma-skill-card,
.wm-enigma-cta,
.wm-enigma-social-panel,
.wm-enigma-press-card,
.wm-enigma-spotify-embed,
.wm-article-card,
.wm-security-resource-card,
.wm-project-card {
  border-color: var(--wm-line-soft) !important;
  background: linear-gradient(145deg, rgba(16, 31, 51, 0.94), rgba(9, 20, 35, 0.98)) !important;
  box-shadow: var(--wm-shadow);
}

.wm-enigma-project-card:hover,
.wm-card:hover,
.wm-article-card:hover,
.wm-project-card:hover {
  border-color: rgba(88, 182, 233, 0.55) !important;
  background: linear-gradient(145deg, rgba(20, 40, 66, 0.96), rgba(10, 23, 40, 0.99)) !important;
}

input,
textarea,
select {
  border: 1px solid var(--wm-line-soft);
  background: #0b192c;
  color: var(--wm-ink);
}

input::placeholder,
textarea::placeholder {
  color: var(--wm-subtle);
}

.wm-brand-mark {
  background: linear-gradient(135deg, var(--wm-accent), var(--wm-teal));
  color: #03111e;
}

.wm-enigma-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 50% 8%, rgba(88, 182, 233, 0.08), transparent 30%),
    var(--wm-bg);
  background-size: 160px 160px, 160px 160px, auto, auto;
}

.wm-enigma-page::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(100, 213, 197, 0.045), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(88, 182, 233, 0.055), transparent 24%),
    linear-gradient(180deg, rgba(7, 17, 31, 0) 0%, rgba(7, 17, 31, 0.42) 100%);
}

.wm-enigma-page-hero,
.wm-enigma-compact-cta,
.wm-enigma-press-section,
.wm-enigma-player-section {
  color: var(--wm-ink);
}

.wm-enigma-compact-cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.wm-enigma-compact-cta > div {
  justify-items: center;
  max-width: 760px;
}

.wm-enigma-compact-cta h2 {
  max-width: 660px;
  font-size: clamp(1.75rem, 2.5vw, 2.2rem) !important;
}

.wm-enigma-compact-cta p {
  max-width: 680px;
  margin-inline: auto;
}

.wm-enigma-project-image img[alt="Netfiix Cloud project preview"],
.wm-project-preview img[alt="Netfiix Cloud project preview"] {
  width: 100%;
  height: 100%;
  padding: 12px;
  background: #081625;
  object-fit: contain !important;
}

.wm-brand-centered-title,
.wm-section-title-centered,
.wm-muted-subtitle {
  text-align: center;
}

.wm-section-title-centered {
  max-width: 760px;
  margin-inline: auto;
}

.wm-muted-subtitle {
  max-width: 680px;
  margin-inline: auto;
  color: var(--wm-muted);
}

.wm-accent-text {
  color: var(--wm-teal);
}

.wm-page-title-system {
  color: var(--wm-heading);
  font-family: var(--wm-heading-font);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.wm-portfolio-card,
.wm-project-card-system,
.wm-cta-box {
  border: 1px solid var(--wm-line-soft);
  border-radius: var(--wm-radius);
  background: linear-gradient(145deg, rgba(16, 31, 51, 0.94), rgba(9, 20, 35, 0.98));
}

@media (max-width: 980px) {
  .wm-nav .sub-menu {
    top: auto;
    padding: 0 0 8px 14px;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  .wm-enigma-compact-cta {
    align-items: center;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15.5px;
    line-height: 1.66;
  }

  .wm-enigma-hero h1 {
    font-size: clamp(2.4rem, 12vw, 2.9rem) !important;
    line-height: 1.05 !important;
  }

  .wm-page-title,
  .wm-enigma-page-hero h1,
  .wm-articles-hero h1,
  .wm-security-page h1 {
    font-size: clamp(2rem, 9vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  .wm-section-head h2,
  .wm-enigma-section-head h2,
  .wm-enigma-about-copy h2,
  .wm-enigma-metrics h2,
  .wm-enigma-cta h2,
  .wm-enigma-social-panel h2,
  .wm-security-page h2 {
    font-size: clamp(1.5rem, 7vw, 1.85rem) !important;
    line-height: 1.2 !important;
  }

  .wm-card h2,
  .wm-card h3,
  .wm-enigma-project-copy h3,
  .wm-article-card h2,
  .wm-project-card h3 {
    font-size: clamp(1.14rem, 5vw, 1.34rem) !important;
  }
}

/* Final brand override pass: keep legacy display rules from overpowering the calmer system. */
body .wm-enigma-home .wm-enigma-hero h1,
body .wm-enigma-hero h1,
body .wm-home-intro h1,
body .wm-home-intro h2,
body .wm-hero h1,
body .wm-hero h2 {
  max-width: 880px;
  font-family: var(--wm-heading-font) !important;
  font-size: clamp(3.25rem, 6vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--wm-heading) !important;
  -webkit-text-fill-color: var(--wm-heading) !important;
  text-shadow: 0 1px 14px rgba(4, 10, 18, 0.22) !important;
}

body .wm-page-title,
body .wm-page-title-system,
body .wm-enigma-page-hero h1,
body .wm-articles-hero h1,
body .wm-security-page h1,
body .entry-title {
  font-family: var(--wm-heading-font) !important;
  font-size: clamp(2.5rem, 4vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--wm-heading) !important;
  -webkit-text-fill-color: var(--wm-heading) !important;
  text-shadow: none !important;
}

body .wm-section-head h2,
body .wm-enigma-section-head h2,
body .wm-enigma-about-copy h2,
body .wm-enigma-metrics h2,
body .wm-enigma-cta h2,
body .wm-enigma-social-panel h2,
body .wm-security-page h2,
body .entry-content h2 {
  font-family: var(--wm-heading-font) !important;
  font-size: clamp(1.8rem, 3vw, 2.25rem) !important;
  font-weight: 750 !important;
  line-height: 1.16 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--wm-heading) !important;
  -webkit-text-fill-color: var(--wm-heading) !important;
  text-shadow: none !important;
}

body .wm-card h2,
body .wm-card h3,
body .wm-enigma-project-copy h3,
body .wm-article-card h2,
body .wm-project-card h3,
body .wm-security-resource-card h3,
body .entry-content h3 {
  font-family: var(--wm-heading-font) !important;
  font-size: clamp(1.18rem, 2vw, 1.45rem) !important;
  font-weight: 750 !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
  color: var(--wm-heading) !important;
  -webkit-text-fill-color: var(--wm-heading) !important;
  text-shadow: none !important;
}

body .wm-enigma-cta.wm-enigma-compact-cta {
  display: grid !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 18px !important;
  text-align: center !important;
}

body .wm-enigma-cta.wm-enigma-compact-cta > div {
  display: grid !important;
  justify-items: center !important;
  max-width: 760px !important;
  text-align: center !important;
}

body .wm-enigma-cta.wm-enigma-compact-cta h2,
body .wm-enigma-cta.wm-enigma-compact-cta p {
  max-width: 680px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body .wm-enigma-cta.wm-enigma-compact-cta h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.2rem) !important;
}

body .wm-enigma-project-card .wm-enigma-project-image img[alt="Netfiix Cloud project preview"],
body .wm-project-preview img[alt="Netfiix Cloud project preview"],
body img[alt="Netfiix Cloud project preview"] {
  width: 100% !important;
  height: 100% !important;
  padding: 12px !important;
  background: #081625 !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 680px) {
  body .wm-enigma-home .wm-enigma-hero h1,
  body .wm-enigma-hero h1,
  body .wm-home-intro h1,
  body .wm-home-intro h2,
  body .wm-hero h1,
  body .wm-hero h2 {
    font-size: clamp(2.4rem, 11vw, 2.9rem) !important;
    line-height: 1.08 !important;
  }

  body .wm-page-title,
  body .wm-page-title-system,
  body .wm-enigma-page-hero h1,
  body .wm-articles-hero h1,
  body .wm-security-page h1,
  body .entry-title {
    font-size: clamp(2rem, 8vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  body .wm-section-head h2,
  body .wm-enigma-section-head h2,
  body .wm-enigma-about-copy h2,
  body .wm-enigma-metrics h2,
  body .wm-enigma-cta h2,
  body .wm-enigma-social-panel h2,
  body .wm-security-page h2,
  body .entry-content h2 {
    font-size: clamp(1.5rem, 7vw, 1.85rem) !important;
    line-height: 1.2 !important;
  }
}

/* Branding image update. */
.wm-brand-logo,
.wm-footer-logo {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--wm-blue) 34%, var(--wm-line));
  border-radius: 8px;
  background: #071528;
  object-fit: contain;
}

.wm-brand:hover .wm-brand-logo,
.wm-brand:focus .wm-brand-logo {
  border-color: color-mix(in srgb, var(--wm-accent) 68%, var(--wm-line));
}

.wm-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.wm-footer-brand h2 {
  margin: 0;
}

.wm-footer-logo {
  width: 46px;
  height: 46px;
}

/* Legal and OSINT safety update. */
.wm-legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 18px 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--wm-line-soft);
  border-radius: 12px;
  background: rgba(9, 24, 43, 0.72);
  color: var(--wm-muted);
  font-size: 0.92rem;
}

.wm-legal-toc strong {
  color: var(--wm-heading);
}

.wm-legal-toc a,
.wm-security-safety-note a {
  color: var(--wm-accent);
  font-weight: 800;
  text-decoration: none;
}

.wm-legal-toc a:hover,
.wm-security-safety-note a:hover {
  color: var(--wm-teal);
}

.wm-security-safety-note {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px dashed color-mix(in srgb, var(--wm-accent) 34%, var(--wm-line-soft));
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(38, 169, 224, 0.08), transparent 44%),
    rgba(8, 22, 39, 0.78);
}

.wm-security-safety-note h3,
.wm-security-safety-note p {
  margin: 0;
}

.wm-security-safety-note h3 {
  color: var(--wm-heading);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.wm-security-safety-note p {
  color: var(--wm-muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

body .wm-enigma-home .wm-enigma-cta:not(.wm-enigma-compact-cta) {
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 18px !important;
  padding: clamp(24px, 4vw, 40px) !important;
  border: 1px solid var(--wm-line-soft) !important;
  border-radius: var(--wm-radius) !important;
  background:
    linear-gradient(135deg, rgba(64, 195, 217, 0.09), transparent 42%),
    linear-gradient(145deg, rgba(16, 31, 51, 0.94), rgba(9, 20, 35, 0.98)) !important;
  text-align: center !important;
}

body .wm-enigma-home .wm-enigma-cta:not(.wm-enigma-compact-cta) > div {
  display: grid !important;
  justify-items: center !important;
  max-width: 760px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body .wm-enigma-home .wm-enigma-cta:not(.wm-enigma-compact-cta) h2,
body .wm-enigma-home .wm-enigma-cta:not(.wm-enigma-compact-cta) p {
  max-width: 680px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body .wm-enigma-home .wm-enigma-cta:not(.wm-enigma-compact-cta) .wm-button {
  justify-self: center !important;
}

/* Giving Back landing page */
body .wm-giving-page {
  --wm-giving-card: rgba(9, 17, 29, 0.86);
}

body .wm-giving-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  width: min(calc(100% - 32px), 1180px);
  min-height: calc(100vh - 76px);
  padding: clamp(64px, 9vw, 118px) 0 clamp(54px, 7vw, 92px);
  margin-inline: auto;
}

body .wm-giving-hero-copy {
  display: grid;
  gap: 18px;
}

body .wm-giving-hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: var(--wm-sans);
  font-size: clamp(3rem, 8.5vw, 7.4rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #cbd5e1 62%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body .wm-giving-hero p,
body .wm-giving-intro .wm-enigma-section-head p,
body .wm-giving-contact p {
  max-width: 820px;
  margin: 0;
  color: #aebbd0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.78;
}

body .wm-giving-hero-panel {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(167, 175, 189, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 40% 0%, rgba(62, 167, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(15, 29, 48, 0.94), rgba(7, 12, 20, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body .wm-giving-pill-grid,
body .wm-giving-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body .wm-giving-pill-grid span,
body .wm-giving-check-grid p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(167, 175, 189, 0.2);
  border-radius: 8px;
  background: rgba(13, 27, 46, 0.72);
  color: #dbeafe;
  font-weight: 800;
  line-height: 1.35;
}

body .wm-giving-card-grid,
body .wm-giving-proof-grid,
body .wm-giving-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body .wm-giving-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body .wm-giving-card,
body .wm-giving-impact-card,
body .wm-giving-story-card,
body .wm-giving-contact {
  border: 1px solid rgba(167, 175, 189, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 167, 255, 0.12), transparent 42%),
    var(--wm-giving-card);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

body .wm-giving-card {
  min-height: 210px;
  padding: 20px;
}

body .wm-giving-card span,
body .wm-giving-impact-card span {
  color: #7fd8ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .wm-giving-card h3,
body .wm-giving-impact-card h3 {
  margin: 12px 0 8px;
  color: #f8fbff;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.15;
}

body .wm-giving-card p,
body .wm-giving-impact-card p,
body .wm-giving-story-card p {
  margin: 0;
  color: #aebbd0;
  font-size: 0.95rem;
  line-height: 1.68;
}

body .wm-giving-story-card {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
}

body .wm-giving-story-card h2,
body .wm-giving-contact h2 {
  max-width: 980px;
  margin: 0;
  font-family: var(--wm-sans);
  font-size: clamp(2rem, 5.2vw, 4.3rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #b8c2d0 64%, #657184 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body .wm-giving-impact-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 320px;
  padding: 22px;
}

body .wm-giving-impact-card .wm-button {
  justify-self: start;
}

body .wm-giving-note {
  color: #d8f4ff !important;
  font-weight: 800;
}

body .wm-giving-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: #aebbd0;
  font-size: 0.92rem;
}

body .wm-giving-sources a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(167, 175, 189, 0.22);
  border-radius: 8px;
  background: rgba(13, 27, 46, 0.72);
  color: #dbeafe;
  text-decoration: none;
}

body .wm-giving-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
  padding: clamp(28px, 5vw, 48px);
}

body .wm-giving-contact > div:first-child {
  display: grid;
  gap: 14px;
}

body .wm-giving-form-wrap {
  padding: 18px;
  border: 1px solid rgba(167, 175, 189, 0.18);
  border-radius: 8px;
  background: rgba(4, 9, 16, 0.34);
}

body .wm-giving-form-wrap .wpcf7 form {
  display: grid;
  gap: 14px;
  margin: 0;
}

body .wm-giving-form-wrap .wpcf7 label {
  display: grid;
  gap: 6px;
  color: #dbeafe;
  font-size: 0.92rem;
  font-weight: 800;
}

body .wm-giving-form-wrap .wpcf7 input,
body .wm-giving-form-wrap .wpcf7 textarea,
body .wm-giving-form-wrap .wpcf7 select {
  width: 100%;
}

body .wm-giving-form-wrap .wpcf7 textarea {
  min-height: 118px;
}

@media (max-width: 1020px) {
  body .wm-giving-hero,
  body .wm-giving-contact {
    grid-template-columns: 1fr;
  }

  body .wm-giving-card-grid,
  body .wm-giving-proof-grid,
  body .wm-giving-impact-grid,
  body .wm-giving-card-grid.four,
  body .wm-giving-pill-grid,
  body .wm-giving-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body .wm-giving-hero {
    min-height: auto;
    padding-top: 44px;
  }

  body .wm-giving-card-grid,
  body .wm-giving-proof-grid,
  body .wm-giving-impact-grid,
  body .wm-giving-card-grid.four,
  body .wm-giving-pill-grid,
  body .wm-giving-check-grid {
    grid-template-columns: 1fr;
  }

  body .wm-giving-card,
  body .wm-giving-impact-card {
    min-height: 0;
  }

  body .wm-giving-contact {
    padding: 22px;
  }
}

/* Giving Back visual and typography refinements */
body .wm-giving-page {
  --wm-giving-card: rgba(9, 17, 29, 0.9);
  --wm-giving-line: rgba(167, 175, 189, 0.24);
  --wm-giving-text: #aebbd0;
  --wm-giving-bright: #f8fbff;
  --wm-giving-cyan: #7dd3fc;
  --wm-giving-gold: #fde68a;
}

body .wm-giving-hero {
  min-height: auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(48px, 6vw, 84px);
}

body .wm-giving-hero h1 {
  max-width: 880px;
  font-size: clamp(2.55rem, 5.7vw, 5.35rem);
  font-weight: 880;
  line-height: 1.03;
  text-transform: none;
}

body .wm-giving-page .wm-enigma-section-head h2 {
  max-width: 900px;
  font-size: clamp(1.78rem, 3.8vw, 3.15rem);
  font-weight: 850;
  line-height: 1.08;
  text-transform: none;
}

body .wm-giving-story-card h2,
body .wm-giving-contact h2 {
  max-width: 860px;
  font-size: clamp(1.86rem, 4vw, 3.25rem);
  font-weight: 850;
  line-height: 1.08;
  text-transform: none;
}

body .wm-giving-hero p,
body .wm-giving-intro .wm-enigma-section-head p,
body .wm-giving-contact p {
  max-width: 760px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

body .wm-giving-hero-panel {
  position: relative;
  overflow: hidden;
}

body .wm-giving-hero-signal {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.16), rgba(253, 230, 138, 0.08)),
    rgba(2, 6, 23, 0.45);
}

body .wm-giving-hero-signal span {
  color: var(--wm-giving-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .wm-giving-hero-signal strong {
  color: var(--wm-giving-bright);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.1;
}

body .wm-giving-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body .wm-giving-impact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

body .wm-giving-card {
  min-height: 218px;
  padding: 18px;
}

body .wm-giving-card-top {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body .wm-giving-card-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.42);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  color: #e0f2fe;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0;
}

body .wm-giving-card-number {
  color: var(--wm-giving-cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .wm-giving-card h3,
body .wm-giving-impact-card h3,
body .wm-giving-timeline-item h3,
body .wm-giving-faq h3 {
  letter-spacing: 0;
}

body .wm-giving-impact-card {
  overflow: hidden;
  align-content: stretch;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  padding: 0;
}

body .wm-giving-impact-media {
  margin: 0;
  border-bottom: 1px solid var(--wm-giving-line);
  background: #020617;
}

body .wm-giving-impact-image {
  display: block;
  width: 100%;
  aspect-ratio: 120 / 76;
  height: auto;
  object-fit: cover;
}

body .wm-giving-impact-body {
  display: grid;
  gap: 10px;
  padding: 20px 20px 0;
}

body .wm-giving-impact-card .wm-button {
  margin: 0 20px 20px;
}

body .wm-giving-why {
  padding-left: 12px;
  border-left: 3px solid rgba(253, 230, 138, 0.72);
}

body .wm-giving-why strong {
  color: #f8fafc;
}

body .wm-giving-pullquote {
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(253, 230, 138, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(253, 230, 138, 0.12), rgba(125, 211, 252, 0.08)),
    rgba(2, 6, 23, 0.4);
}

body .wm-giving-pullquote p {
  color: #f8fafc;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.62;
}

body .wm-giving-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body .wm-giving-timeline-item {
  min-height: 270px;
  padding: 20px;
  border: 1px solid var(--wm-giving-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.1), rgba(2, 6, 23, 0)),
    var(--wm-giving-card);
}

body .wm-giving-timeline-item span {
  color: var(--wm-giving-gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

body .wm-giving-timeline-item h3 {
  margin: 14px 0 10px;
  color: var(--wm-giving-bright);
  font-size: clamp(1.08rem, 1.55vw, 1.26rem);
  line-height: 1.2;
}

body .wm-giving-timeline-item p {
  margin: 0;
  color: var(--wm-giving-text);
  font-size: 0.94rem;
  line-height: 1.68;
}

body .wm-giving-internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

body .wm-giving-internal-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(253, 230, 138, 0.24);
  border-radius: 8px;
  background: rgba(253, 230, 138, 0.08);
  color: #fef3c7;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

body .wm-giving-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body .wm-giving-faq {
  padding: 20px;
  border: 1px solid var(--wm-giving-line);
  border-radius: 8px;
  background: var(--wm-giving-card);
}

body .wm-giving-faq h3 {
  margin: 0 0 10px;
  color: var(--wm-giving-bright);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.25;
}

body .wm-giving-faq p {
  margin: 0;
  color: var(--wm-giving-text);
  font-size: 0.95rem;
  line-height: 1.68;
}

@media (max-width: 1180px) {
  body .wm-giving-card-grid,
  body .wm-giving-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body .wm-giving-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  body .wm-giving-page .wm-enigma-section-head h2,
  body .wm-giving-story-card h2,
  body .wm-giving-contact h2 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
    line-height: 1.12;
  }

  body .wm-giving-impact-grid,
  body .wm-giving-faq-grid,
  body .wm-giving-timeline,
  body .wm-giving-card-grid,
  body .wm-giving-card-grid.four,
  body .wm-giving-proof-grid,
  body .wm-giving-pill-grid,
  body .wm-giving-check-grid {
    grid-template-columns: 1fr;
  }

  body .wm-giving-timeline-item,
  body .wm-giving-card {
    min-height: 0;
  }
}
