/* Base */
:root {
  --dyf-dark-bg: #050505;
  --dyf-dark-card: #111111;
  --dyf-neon-green: var(--wp--preset--color--neon-green, #ccff00);
  --dyf-neon-pink: var(--wp--preset--color--neon-pink, #ff00ff);
  --dyf-neon-blue: var(--wp--preset--color--neon-blue, #00f0ff);
  --dyf-soft-gray: #9ca3af;
  --dyf-border: rgba(255, 255, 255, 0.08);
  --dyf-border-strong: rgba(255, 255, 255, 0.16);
  --dyf-radius: 1.25rem;
  --dyf-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --dyf-shell: min(1280px, calc(100% - 2rem));
  --dyf-content: min(840px, 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dyf-dark-bg);
  color: #fff;
  font-family: var(--wp--preset--font-family--inter, Inter, sans-serif);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.shell {
  width: var(--dyf-shell);
  margin-inline: auto;
}
.section-stack {
  padding-block: 4rem;
}
.page-shell,
.archive-shell,
.not-found-shell,
.single-post-main {
  padding-block: 3rem 5rem;
}
.reference-section + .reference-section,
.section-title + .content-grid,
.page-content-card + .reference-section {
  margin-top: 2rem;
}
.entry-card,
.page-content-card,
.content-card,
.not-found-card,
.author-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--dyf-border);
  border-radius: calc(var(--dyf-radius) + 0.25rem);
  box-shadow: var(--dyf-shadow);
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.brand-mark__text,
.post-title,
.page-title {
  font-family: var(--wp--preset--font-family--space-grotesk, "Space Grotesk", sans-serif);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.page-title,
.post-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin: 0;
}
.entry-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
}
.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}
.page-intro,
.hero-copy__lead {
  max-width: 46rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #cfd2d7;
}
.eyebrow-text {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--dyf-neon-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 700;
}
.page-shell.accent-pink .eyebrow-text,
.page-shell.accent-pink .page-title .accent-word,
.callout-box.accent-pink .section-title,
.content-card.accent-pink h3,
.placeholder-media.accent-pink span { color: var(--dyf-neon-pink); }
.page-shell.accent-white .eyebrow-text,
.content-card.accent-white h3,
.placeholder-media.accent-white span { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header.is-scrolled {
  box-shadow: 0 18px 50px rgba(0,0,0,0.42);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-mark__symbol,
.brand-mark__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--dyf-neon-green);
  color: #050505;
  box-shadow: 0 0 0 1px rgba(204,255,0,0.25), 0 0 20px rgba(204,255,0,0.22);
}
.brand-mark__symbol svg {
  width: 1.75rem;
  height: 1.75rem;
}
.brand-mark__logo .custom-logo {
  max-height: 2.1rem;
  width: auto;
}
.brand-mark__text {
  display: inline-flex;
  gap: 0.18em;
  color: var(--dyf-neon-green);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand-mark__divider { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--dyf-border);
  background: rgba(255,255,255,0.03);
  color: #fff;
}
.nav-toggle__line {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-navigation {
  margin-left: auto;
}
.site-navigation .menu,
.site-navigation .sub-menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-navigation .menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.site-navigation .menu > li {
  position: relative;
}
.site-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 0;
  text-decoration: none;
  color: #a3a7b0;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease;
}
.site-navigation li:hover > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
  color: #fff;
}
.site-navigation .menu > .current-menu-item > a::after,
.site-navigation .menu > .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--dyf-neon-pink);
  box-shadow: 0 0 12px rgba(255,0,255,0.4);
}
.site-navigation .menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.75rem;
  opacity: 0.7;
}
.site-navigation .sub-menu {
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  min-width: 15rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem;
  background: rgba(17,17,17,0.98);
  border: 1px solid var(--dyf-border);
  border-radius: 1rem;
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.site-navigation .sub-menu .sub-menu {
  top: -0.5rem;
  left: calc(100% + 0.5rem);
}
.site-navigation li:hover > .sub-menu,
.site-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-navigation .sub-menu a {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 0.8rem;
}
.site-navigation .sub-menu a:hover,
.site-navigation .sub-menu .current-menu-item > a,
.site-navigation .sub-menu .current-menu-ancestor > a {
  background: rgba(255,255,255,0.04);
  color: var(--dyf-neon-pink);
}
.menu-item__toggle {
  display: none;
}

/* Buttons */
.button,
.wp-element-button,
button,
input[type="submit"] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
  cursor: pointer;
}
.button:hover,
.wp-element-button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}
.button-primary,
.wp-element-button,
button,
input[type="submit"] {
  background: var(--dyf-neon-green);
  color: #050505;
  box-shadow: 0 0 0 1px rgba(204,255,0,0.22), 0 0 25px rgba(204,255,0,0.24);
}
.button-primary:hover,
.wp-element-button:hover,
button:hover,
input[type="submit"]:hover {
  box-shadow: 0 0 0 1px rgba(204,255,0,0.35), 0 0 35px rgba(204,255,0,0.35);
}
.button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.card-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.card-link::after {
  content: "→";
  transform: translateX(0);
  transition: transform 180ms ease;
}
.card-link:hover::after { transform: translateX(0.2rem); }

/* Hero */
.hero-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(6rem, 14vw, 9.5rem);
}
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(60rem, 80vw);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-section::before {
  top: -18rem;
  height: 40rem;
  background: radial-gradient(circle at 50% 50%, rgba(204,255,0,0.14), transparent 55%);
}
.hero-section::after {
  bottom: -16rem;
  height: 34rem;
  background: radial-gradient(circle at 50% 50%, rgba(255,0,255,0.12), transparent 55%);
}
.hero-section__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-section__lines::before,
.hero-section__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
}
.hero-section__lines::before {
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(204,255,0,0.55), transparent);
}
.hero-section__lines::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,0,255,0.55), transparent);
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-copy__eyebrow {
  color: var(--dyf-neon-green);
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-copy__title {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}
.hero-copy__title .accent {
  display: inline-block;
  background: linear-gradient(90deg, var(--dyf-neon-green), var(--dyf-neon-pink), var(--dyf-neon-green));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: dyf-gradient-shift 8s linear infinite;
}
.hero-copy__lead {
  margin: 1.5rem auto 0;
}
.hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

@keyframes dyf-gradient-shift {
  to { background-position: 200% center; }
}

/* Home features */
.features-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(4rem, 10vw, 6rem);
  background: var(--dyf-dark-card);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.features-section::before,
.features-section::after {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.3;
}
.features-section::before {
  top: -10rem;
  left: 8%;
  background: rgba(255,0,255,0.14);
}
.features-section::after {
  right: 8%;
  bottom: -12rem;
  background: rgba(204,255,0,0.12);
}
.section-header {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-header p { color: #b9bdc6; }
.content-grid,
.posts-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.content-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card,
.post-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
}
.content-card::before,
.post-card::before,
.not-found-card::before,
.author-box::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(130deg, rgba(255,255,255,0.06), transparent 45%);
  transition: opacity 220ms ease;
  pointer-events: none;
}
.content-card:hover::before,
.post-card:hover::before,
.not-found-card:hover::before,
.author-box:hover::before { opacity: 1; }
.content-card:hover,
.post-card:hover { transform: translateY(-6px); }
.content-card,
.post-card,
.archive-filter,
.nav-toggle,
.button,
button,
input,
textarea,
select { transition: all 200ms ease; }
.content-card.accent-green:hover,
.post-card.accent-green:hover { border-color: rgba(204,255,0,0.35); box-shadow: 0 0 0 1px rgba(204,255,0,0.1), 0 0 35px rgba(204,255,0,0.14); }
.content-card.accent-pink:hover,
.post-card.accent-pink:hover { border-color: rgba(255,0,255,0.35); box-shadow: 0 0 0 1px rgba(255,0,255,0.1), 0 0 35px rgba(255,0,255,0.14); }
.content-card.accent-white:hover,
.post-card.accent-white:hover { border-color: rgba(255,255,255,0.22); }
.content-card h3,
.post-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}
.content-card p,
.post-card p { margin: 0 0 1rem; color: #b8bcc4; }
.content-card__icon,
.feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  font-size: 1.35rem;
}
.feature-pill { color: var(--dyf-neon-green); }
.content-grid .content-card .card-link { margin-top: auto; }

/* FAQ and CTA */
.faq-grid {
  display: grid;
  gap: 1rem;
}
.faq-item {
  border: 1px solid var(--dyf-border);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--dyf-neon-pink);
  font-size: 1.25rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item__body {
  padding: 0 1.25rem 1.25rem;
  color: #c0c4cb;
}
.cta-section {
  padding-block: 2rem 5rem;
}
.cta-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.cta-card__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.cta-card__copy {
  margin: 0 auto;
  max-width: 42rem;
  color: #bcc0c8;
}

/* Page and article */
.page-hero,
.post-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero {
  margin-bottom: 2rem;
}
.reference-section,
.single-post-content,
.author-box,
.entry-card {
  max-width: 100%;
}
.prose-shell,
.single-post-content {
  width: min(var(--dyf-content), 100%);
}
.prose-shell {
  color: #d6d9de;
}
.prose-shell p,
.prose-shell ul,
.prose-shell ol,
.prose-shell blockquote,
.prose-shell figure { margin-block: 1rem; }
.prose-shell h2,
.prose-shell h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.prose-shell strong { color: #fff; }
.prose-shell a { color: var(--dyf-neon-green); }
.prose-shell blockquote {
  margin-left: 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--dyf-neon-green);
  background: rgba(255,255,255,0.03);
  border-radius: 0.9rem;
}
.callout-box {
  padding: 1.5rem;
  background: rgba(204,255,0,0.08);
  border: 1px solid rgba(204,255,0,0.25);
  border-radius: calc(var(--dyf-radius) - 0.2rem);
}
.callout-box.accent-pink {
  background: rgba(255,0,255,0.08);
  border-color: rgba(255,0,255,0.22);
}
.callout-box a { color: #fff; text-decoration: underline; text-decoration-color: currentColor; }
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.info-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--dyf-border);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
}
.info-list.style-check li::before,
.info-list.style-document li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--dyf-neon-green);
  box-shadow: 0 0 16px rgba(204,255,0,0.45);
}
.info-list.style-document li::before {
  background: var(--dyf-neon-pink);
  box-shadow: 0 0 16px rgba(255,0,255,0.4);
}
.info-list.compact li { padding-block: 0.8rem; }
.glossary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.glossary-item {
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--dyf-border);
  background: rgba(255,255,255,0.02);
}
.glossary-item h3 {
  margin: 0 0 0.35rem;
  color: var(--dyf-neon-green);
}

/* Blog */
.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.archive-filter {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--dyf-border);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: #b9bec6;
  font-size: 0.95rem;
  font-weight: 600;
}
.archive-filter:hover,
.archive-filter.is-active {
  border-color: rgba(255,255,255,0.22);
  color: #050505;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,0.18);
}
.post-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.post-card__media,
.placeholder-media {
  min-height: 15rem;
  border-bottom: 1px solid var(--dyf-border);
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(204,255,0,0.18), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255,0,255,0.18), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.placeholder-media span {
  font-family: var(--wp--preset--font-family--space-grotesk, "Space Grotesk", sans-serif);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dyf-neon-green);
}
.post-card__body { padding: 1.4rem; }
.post-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dyf-neon-green);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-bottom: 0.85rem;
  color: #9ca3af;
  font-size: 0.92rem;
}
.pagination-shell {
  grid-column: 1 / -1;
  padding-top: 1rem;
}

/* Single post */
.single-post-shell {
  display: block;
  padding-bottom: 4rem;
}
.post-hero {
  position: relative;
  min-height: 26rem;
  display: flex;
  align-items: end;
  padding-bottom: 3rem;
}
.post-hero__media {
  position: absolute;
  inset: 0;
}
.post-hero__media img,
.post-hero__media .placeholder-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.15), rgba(5,5,5,0.82) 62%, rgba(5,5,5,1));
}
.post-hero__content { width: var(--dyf-shell); margin-inline: auto; }
.back-link {
  margin-bottom: 1rem;
  color: #b4b8bf;
}
.back-link:hover { color: #fff; }
.single-post-main {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
}
.author-box {
  align-self: start;
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}
.author-box h2 {
  margin: 0 0 0.75rem;
  color: var(--dyf-neon-green);
}
.author-box p { margin: 0 0 1rem; color: #bcc0c8; }

/* Contact */
.contact-form {
  display: grid;
  gap: 1rem;
}
.form-row {
  display: grid;
  gap: 0.45rem;
}
.form-row label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #dfe3e8;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: #fff;
  padding: 0.95rem 1rem;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid rgba(204,255,0,0.35);
  border-color: rgba(204,255,0,0.35);
}
.form-note {
  margin: 0;
  color: var(--dyf-neon-green);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--dyf-dark-card);
}
.site-footer__inner,
.site-footer__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
}
.site-footer__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  font-weight: 700;
}
.footer-bolt { color: var(--dyf-neon-green); }
.site-footer__links,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}
.site-footer__links a,
.footer-menu a {
  text-decoration: none;
  color: #959aa3;
}
.site-footer__links a:hover,
.footer-menu a:hover { color: var(--dyf-neon-pink); }

/* Utility */
.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;
}

/* Responsive */
@media (max-width: 1100px) {
  .single-post-main {
    grid-template-columns: 1fr;
  }
  .author-box {
    position: static;
  }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-navigation {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    padding: 0.75rem;
    border-radius: 1.25rem;
    border: 1px solid var(--dyf-border-strong);
    background: rgba(17,17,17,0.98);
    box-shadow: 0 26px 70px rgba(0,0,0,0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.4rem);
  }
  .site-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-navigation .menu,
  .site-navigation .sub-menu {
    display: grid;
    gap: 0.25rem;
  }
  .site-navigation .menu > li { border-radius: 1rem; }
  .site-navigation a {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 0.85rem;
  }
  .site-navigation .menu > .current-menu-item > a::after,
  .site-navigation .menu > .current-menu-ancestor > a::after,
  .site-navigation .menu-item-has-children > a::after { display: none; }
  .site-navigation .menu-item-has-children {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .site-navigation .menu-item-has-children > a { grid-column: 1 / 2; }
  .menu-item__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    margin-top: 0.35rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.85rem;
    background: rgba(255,255,255,0.03);
    color: #fff;
  }
  .menu-item__toggle::before { content: "+"; font-size: 1.1rem; line-height: 1; }
  .menu-item__toggle.is-open::before { content: "–"; }
  .site-navigation .sub-menu {
    position: static;
    min-width: 0;
    padding: 0.35rem 0 0.35rem 0.6rem;
    margin-top: 0.15rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    grid-column: 1 / -1;
  }
  .site-navigation .sub-menu.is-open { display: grid; }
  .site-navigation .sub-menu .sub-menu { padding-left: 0.7rem; }
  .content-grid,
  .posts-grid,
  .content-grid--2,
  .glossary-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__inner,
  .site-footer__menu { flex-direction: column; }
}

@media (max-width: 720px) {
  .content-grid,
  .posts-grid,
  .content-grid--2,
  .glossary-grid,
  .single-post-main { grid-template-columns: 1fr; }
  .hero-copy__title { font-size: clamp(2.8rem, 15vw, 4.8rem); }
  .button-row,
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button,
  .wp-element-button,
  button,
  input[type="submit"] { width: 100%; }
  .page-shell,
  .archive-shell,
  .not-found-shell,
  .single-post-main { padding-block: 2rem 4rem; }
  .post-hero { min-height: 22rem; }
}
