:root {
  --dw-ink: #0f1728;
  --dw-ink-soft: #20314a;
  --dw-muted: #617084;
  --dw-line: rgba(23, 41, 69, 0.1);
  --dw-line-strong: rgba(23, 41, 69, 0.16);
  --dw-surface: #f7f9fc;
  --dw-surface-2: #eef4fb;
  --dw-white: #ffffff;
  --dw-brand: #2d6bff;
  --dw-brand-2: #69b1ff;
  --dw-brand-dark: #1b46b3;
  --dw-accent: #dfe9ff;
  --dw-success: #12b981;
  --dw-radius-sm: 16px;
  --dw-radius-md: 24px;
  --dw-radius-lg: 34px;
  --dw-shadow: 0 30px 80px rgba(16, 30, 53, 0.12);
  --dw-shadow-soft: 0 14px 38px rgba(16, 30, 53, 0.08);
  --dw-container: 1240px;
  --dw-content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dw-ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 177, 255, 0.12), transparent 24%),
    radial-gradient(circle at 0% 18%, rgba(45, 107, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 26%, #f9fbfe 100%);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

svg {
  display: block;
}

a {
  color: var(--dw-brand);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--dw-brand-dark);
}

p {
  margin: 0 0 1.15rem;
}

ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.button,
.section-link,
.text-link,
.widget-title,
.entry-meta,
.hero-chip,
.metric-card__label {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: var(--dw-ink);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.5rem);
}

.container {
  width: min(calc(100% - 2rem), var(--dw-container));
  margin: 0 auto;
}

.narrow-content {
  width: min(calc(100% - 2rem), var(--dw-content));
  margin: 0 auto;
}

.site-main {
  min-height: 60vh;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(16, 30, 53, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.site-logo img {
  max-height: 46px;
  width: auto;
}

.site-title {
  display: inline-block;
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--dw-ink);
  letter-spacing: -0.04em;
}

.site-tagline {
  margin: 0;
  color: var(--dw-muted);
  font-size: 0.94rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--dw-ink-soft);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--dw-ink);
  background: rgba(45, 107, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--dw-line);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--dw-shadow-soft);
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--dw-ink);
  border-radius: 999px;
}

.hero,
.page-hero {
  position: relative;
  overflow: clip;
  padding: 5.3rem 0 4.7rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(247, 250, 255, 0.95) 100%),
    url('../img/section-orbs.svg') top center / cover no-repeat;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 16%, rgba(45, 107, 255, 0.12), transparent 18%),
    radial-gradient(circle at 16% 30%, rgba(105, 177, 255, 0.1), transparent 18%);
  pointer-events: none;
}

.page-hero--compact {
  padding: 3.5rem 0 2.5rem;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 1.6rem;
  align-items: center;
}

.hero__copy,
.hero__visual,
.page-hero__inner {
  position: relative;
  z-index: 1;
}

.hero__copy,
.hero-visual-card,
.metric-card,
.pillar-card,
.topic-cluster,
.post-card,
.widget,
.empty-state,
.entry-thumbnail,
.search-form,
.wp-block-group,
.wp-block-quote,
.page-hero__inner {
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--dw-shadow-soft);
  backdrop-filter: blur(12px);
}

.hero__copy {
  padding: clamp(1.8rem, 4vw, 3.5rem);
}

.hero__copy p {
  max-width: 40rem;
  font-size: 1.08rem;
  color: var(--dw-muted);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(45, 107, 255, 0.12);
  border-radius: 999px;
  background: rgba(45, 107, 255, 0.05);
  color: var(--dw-ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-points span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--dw-brand);
  box-shadow: 0 0 0 4px rgba(45, 107, 255, 0.12);
}

.hero__visual {
  position: relative;
  min-height: 100%;
}

.hero-visual-card {
  overflow: hidden;
}

.hero-visual-card--main {
  padding: clamp(0.9rem, 2vw, 1.15rem);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 249, 255, 0.9)),
    rgba(255, 255, 255, 0.82);
}

.hero-visual-card--main img {
  width: 100%;
  border-radius: 28px;
}

.hero-visual-card--floating {
  position: absolute;
  max-width: 250px;
  padding: 1rem 1rem 0.95rem;
}

.hero-visual-card--left {
  left: -0.8rem;
  bottom: 1.2rem;
}

.hero-visual-card--right {
  right: -0.8rem;
  top: 1.2rem;
}

.hero-visual-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.hero-visual-card p {
  margin: 0;
  color: var(--dw-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--dw-ink);
  color: var(--dw-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-chip--light {
  background: rgba(45, 107, 255, 0.1);
  color: var(--dw-brand-dark);
}

.page-hero__inner {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--dw-brand-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dw-brand), var(--dw-brand-2));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.button--primary {
  color: var(--dw-white);
  background: linear-gradient(135deg, var(--dw-brand) 0%, var(--dw-brand-dark) 100%);
  box-shadow: 0 16px 35px rgba(45, 107, 255, 0.22);
}

.button--primary:hover {
  color: var(--dw-white);
}

.button--secondary {
  color: var(--dw-ink);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--dw-line);
}

.button--secondary:hover {
  color: var(--dw-brand);
  border-color: rgba(45, 107, 255, 0.24);
}

.metric-card {
  padding: 1.2rem 1.25rem;
}

.metric-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dw-muted);
}

.metric-card__value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dw-ink-soft);
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(241, 246, 252, 0.72) 0%, rgba(255, 255, 255, 0.88) 100%);
}

.section--soft::before,
.section--clusters::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(105, 177, 255, 0.08), transparent 20%),
    radial-gradient(circle at 88% 74%, rgba(45, 107, 255, 0.06), transparent 18%);
  pointer-events: none;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-heading--stacked {
  align-items: start;
}

.section-heading p,
.archive-description,
.entry-lead {
  color: var(--dw-muted);
  max-width: 56rem;
}

.section-link,
.text-link {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pillar-grid,
.post-grid,
.topic-cluster-grid {
  display: grid;
  gap: 1.2rem;
}

.pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar-card {
  position: relative;
  min-height: 220px;
  padding: 1.5rem;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 116px;
  height: 116px;
  border-radius: 999px;
  opacity: 0.85;
}

.pillar-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 40, 0.06);
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dw-ink-soft);
}

.pillar-card--symptoms::after { background: rgba(84, 153, 255, 0.18); }
.pillar-card--maintenance::after { background: rgba(18, 185, 129, 0.14); }
.pillar-card--specs::after { background: rgba(132, 103, 255, 0.14); }
.pillar-card--tools::after { background: rgba(255, 179, 71, 0.18); }

.pillar-card p,
.topic-cluster span,
.post-card__excerpt,
.widget,
.footer-copy {
  color: var(--dw-muted);
}

.topic-cluster-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-cluster {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 156px;
  padding: 1.3rem;
  color: var(--dw-ink);
}

.topic-cluster strong {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.topic-cluster:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 107, 255, 0.2);
  box-shadow: var(--dw-shadow);
}

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

.post-card {
  overflow: hidden;
}

.post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #ecf4ff 0%, #f9fbff 100%),
    url('../img/card-placeholder.svg') center/cover no-repeat;
}

.post-card__thumb img,
.entry-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: url('../img/card-placeholder.svg') center/cover no-repeat;
}

.post-card__content {
  padding: 1.25rem;
}

.post-card__title {
  margin-bottom: 0.7rem;
}

.post-card__title a {
  color: var(--dw-ink);
}

.post-card__title a:hover {
  color: var(--dw-brand);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.84rem;
  color: var(--dw-muted);
}

.entry-meta__item a {
  color: var(--dw-muted);
}

.entry-meta__item a:hover {
  color: var(--dw-brand);
}

.layout-grid {
  display: grid;
  gap: 2rem;
}

.archive-layout,
.single-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  padding: 2rem 0 4rem;
}

.content-area {
  min-width: 0;
}

.sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.widget {
  padding: 1.3rem;
}

.widget-title {
  margin-bottom: 1rem;
  font-size: 1.04rem;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget li + li {
  margin-top: 0.65rem;
}

.search-form {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}

.search-form label {
  flex: 1;
}

.search-field,
input[type='text'],
input[type='email'],
input[type='search'],
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--dw-line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dw-ink);
  font: inherit;
}

textarea {
  min-height: 150px;
}

.search-field:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(45, 107, 255, 0.18);
  border-color: rgba(45, 107, 255, 0.45);
}

.single-entry__hero {
  padding-bottom: 2rem;
}

.entry-thumbnail {
  overflow: hidden;
  margin-top: -0.2rem;
  margin-bottom: 2rem;
}

.entry-content {
  color: var(--dw-ink-soft);
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.2rem;
}

.entry-content blockquote,
.wp-block-quote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--dw-brand);
}

.entry-content table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--dw-line);
  background: rgba(255, 255, 255, 0.9);
}

.entry-content th,
.entry-content td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--dw-line);
  text-align: left;
}

.entry-content tr:last-child td,
.wp-block-table tr:last-child td {
  border-bottom: 0;
}

.wp-block-image,
.wp-block-embed,
.wp-block-table,
.wp-block-group,
.wp-block-cover,
.wp-block-media-text,
.wp-block-gallery {
  margin: 1.6rem 0;
}

.wp-block-group {
  padding: 1.35rem;
}

.empty-state,
.error-page {
  text-align: center;
  padding: 2rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 3.8rem;
  color: var(--dw-white);
  background:
    radial-gradient(circle at 82% 18%, rgba(105, 177, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #111b2f 0%, #0c1322 100%);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 25%, rgba(45, 107, 255, 0.18), transparent 18%),
    radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.04), transparent 22%);
  pointer-events: none;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.footer-brand {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dw-white);
}

.site-footer .widget,
.site-footer .search-form {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.site-footer .widget-title,
.site-footer a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover,
.footer-bottom a:hover {
  color: var(--dw-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-block-button__link {
  border-radius: 999px;
}

.alignwide {
  width: min(calc(100% + 180px), 100%);
  max-width: min(calc(100% + 180px), var(--dw-container));
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.post-navigation,
.navigation.pagination {
  margin-top: 2rem;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--dw-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dw-ink);
}

.navigation.pagination .current,
.navigation.pagination .page-numbers:hover {
  background: var(--dw-brand);
  border-color: var(--dw-brand);
  color: var(--dw-white);
}

@media (max-width: 1100px) {
  .pillar-grid,
  .topic-cluster-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__inner,
  .archive-layout,
  .single-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    margin-top: 0.6rem;
  }

  .hero-visual-card--left {
    left: 0.4rem;
  }

  .hero-visual-card--right {
    right: 0.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    min-height: 74px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--dw-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--dw-shadow);
    backdrop-filter: blur(18px);
  }

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

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

  .site-nav a {
    width: 100%;
  }

  .hero-visual-card--floating {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .search-form,
  .button-row,
  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 3.35rem 0;
  }

  .pillar-grid,
  .topic-cluster-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .site-tagline {
    display: none;
  }

  .container,
  .narrow-content {
    width: min(calc(100% - 1.25rem), var(--dw-container));
  }
}

/* Editorial refresh: more original typography, layered visuals, custom SVG graphics */
:root {
  --dw-ink: #101827;
  --dw-ink-soft: #23324a;
  --dw-muted: #5f6c81;
  --dw-line: rgba(16, 24, 39, 0.1);
  --dw-line-strong: rgba(16, 24, 39, 0.16);
  --dw-surface: #faf7f1;
  --dw-surface-2: #f1ece3;
  --dw-white: #ffffff;
  --dw-brand: #3155ff;
  --dw-brand-2: #8aa2ff;
  --dw-brand-dark: #17213d;
  --dw-accent: #fff0dc;
  --dw-accent-2: #ff8b67;
  --dw-accent-3: #88d6b5;
  --dw-shadow: 0 36px 90px rgba(11, 18, 32, 0.14);
  --dw-shadow-soft: 0 18px 40px rgba(11, 18, 32, 0.08);
}

body {
  color: var(--dw-ink);
  background:
    linear-gradient(180deg, rgba(250, 247, 241, 0.98), rgba(252, 250, 246, 0.97)),
    url('../img/road-grid.svg') top center / cover fixed no-repeat;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.button,
.section-link,
.text-link,
.widget-title,
.entry-meta,
.hero-chip,
.metric-card__label {
  font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.06em;
}

.site-header {
  background: rgba(250, 247, 241, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 32px rgba(15, 23, 40, 0.05);
  backdrop-filter: blur(20px) saturate(1.25);
}

.site-header__inner {
  min-height: 92px;
}

.site-branding {
  gap: 0.85rem;
  padding: 0.4rem 0.55rem 0.4rem 0.4rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.site-title {
  font-size: 1.1rem;
  letter-spacing: -0.06em;
}

.site-tagline {
  font-size: 0.88rem;
}

.site-nav a {
  padding: 0.6rem 1rem;
  color: var(--dw-ink-soft);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--dw-white);
  background: linear-gradient(135deg, var(--dw-brand-dark), #26385f);
  box-shadow: 0 14px 28px rgba(23, 33, 61, 0.18);
}

.hero,
.page-hero {
  background: transparent;
}

.hero::before,
.page-hero::before {
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 139, 103, 0.15), transparent 18%),
    radial-gradient(circle at 12% 18%, rgba(49, 85, 255, 0.12), transparent 22%),
    radial-gradient(circle at 85% 80%, rgba(136, 214, 181, 0.12), transparent 18%);
}

.hero--atlas {
  padding-top: 4.8rem;
  padding-bottom: 4.1rem;
}

.hero__inner--atlas {
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.hero__copy--atlas,
.hero-stage,
.pillar-card,
.topic-cluster,
.post-card,
.widget,
.empty-state,
.entry-thumbnail,
.search-form,
.wp-block-group,
.wp-block-quote,
.page-hero__inner,
.single-entry__hero .narrow-content {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 24, 39, 0.08);
  box-shadow: var(--dw-shadow-soft);
  backdrop-filter: blur(20px);
}

.hero__copy--atlas {
  padding: clamp(2rem, 4vw, 3.3rem);
  border-radius: 38px;
  position: relative;
  overflow: hidden;
}

.hero__copy--atlas::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 137, 0.3) 0%, rgba(255, 170, 137, 0) 68%);
  pointer-events: none;
}

.hero-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: -0.1rem 0 1.1rem;
}

.hero-ribbon span,
.hero-lane,
.post-card__eyebrow,
.topic-cluster span,
.section-link {
  border: 1px solid rgba(16, 24, 39, 0.08);
}

.hero-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--dw-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero__copy--atlas h1 {
  max-width: 10ch;
}

.hero__copy--atlas p {
  max-width: 38rem;
  color: var(--dw-muted);
  font-size: 1.08rem;
}

.hero-points {
  gap: 0.75rem;
}

.hero-points span {
  background: rgba(250, 243, 232, 0.9);
  border-color: rgba(16, 24, 39, 0.06);
}

.hero-points span::before {
  background: linear-gradient(180deg, var(--dw-brand), #506dff);
  box-shadow: 0 0 0 4px rgba(49, 85, 255, 0.12);
}

.hero-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.hero-lane {
  display: block;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(249, 245, 237, 0.92));
  color: var(--dw-ink);
  position: relative;
  overflow: hidden;
}

.hero-lane::before {
  content: '';
  position: absolute;
  inset: auto -22px -22px auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  opacity: 0.35;
  background: radial-gradient(circle, rgba(49, 85, 255, 0.26), rgba(49, 85, 255, 0));
}

.hero-lane::after {
  content: '↗';
  position: absolute;
  right: 0.95rem;
  top: 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dw-brand-dark);
}

.hero-lane strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.04em;
}

.hero-lane span {
  display: block;
  color: var(--dw-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-lane:hover {
  color: var(--dw-brand-dark);
  transform: translateY(-2px);
}

.hero__visual--atlas {
  min-height: 100%;
}

.hero-stage {
  position: relative;
  padding: 1rem;
  border-radius: 42px;
  overflow: visible;
  border: 1px solid rgba(16, 24, 39, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 245, 237, 0.8)),
    radial-gradient(circle at 16% 16%, rgba(49, 85, 255, 0.14), transparent 22%),
    radial-gradient(circle at 84% 20%, rgba(255, 139, 103, 0.14), transparent 20%);
}

.hero-stage::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border-radius: 32px;
  border: 1px dashed rgba(16, 24, 39, 0.08);
  pointer-events: none;
}

.hero-stage__frame {
  border-radius: 32px;
  overflow: hidden;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.84);
}

.hero-stage__frame img {
  width: 100%;
  border-radius: 26px;
}

.hero-note {
  position: absolute;
  z-index: 3;
  max-width: 285px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.1);
}

.hero-note--left {
  left: -0.8rem;
  bottom: 1.15rem;
}

.hero-note--right {
  right: -0.7rem;
  top: 1.2rem;
}

.hero-note strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.hero-note p {
  margin: 0;
  color: var(--dw-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.hero-chip {
  min-height: 34px;
  margin-bottom: 0.7rem;
  background: var(--dw-brand-dark);
}

.hero-chip--light {
  background: rgba(255, 139, 103, 0.12);
  color: #b44827;
}

.button--primary {
  background: linear-gradient(135deg, var(--dw-brand-dark) 0%, var(--dw-brand) 100%);
  box-shadow: 0 18px 34px rgba(49, 85, 255, 0.22);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.84);
}

.section--pillars,
.section--clusters,
.section--alt {
  position: relative;
}

.section--pillars::after,
.section--clusters::after,
.section--alt::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(248, 243, 235, 0.58));
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading p {
  max-width: 52rem;
  color: var(--dw-muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--dw-ink);
  font-weight: 700;
}

.section-link:hover {
  color: var(--dw-brand-dark);
  transform: translateY(-1px);
}

.pillar-grid {
  gap: 1rem;
}

.pillar-card {
  padding: 1.35rem;
  border-radius: 30px;
  overflow: hidden;
}

.pillar-card::after {
  width: 110px;
  height: 110px;
  right: -10px;
  bottom: -10px;
  opacity: 1;
}

.pillar-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pillar-card__icon {
  display: inline-flex;
  width: 74px;
  height: 74px;
}

.pillar-card__icon img {
  width: 100%;
  height: 100%;
}

.pillar-card__index {
  min-width: 56px;
  min-height: 36px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.06);
  color: var(--dw-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pillar-card h3 {
  margin-bottom: 0.65rem;
}

.pillar-card p {
  position: relative;
  z-index: 1;
}

.post-grid {
  gap: 1rem;
}

.post-card {
  overflow: hidden;
  border-radius: 28px;
}

.post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(24, 33, 61, 0.96), rgba(49, 85, 255, 0.88));
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    url('../img/hero-atlas.svg') center / cover no-repeat;
}

.post-card__content {
  padding: 1.2rem 1.2rem 1.3rem;
}

.post-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 240, 220, 0.86);
  color: #8a4f23;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.post-card__meta {
  margin-bottom: 0.55rem;
  gap: 0.8rem;
}

.post-card__title {
  margin-bottom: 0.65rem;
}

.post-card__excerpt {
  color: var(--dw-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--dw-brand-dark);
}

.text-link::after {
  content: '→';
  font-size: 1rem;
}

.topic-cluster-grid {
  gap: 1rem;
}

.topic-cluster {
  position: relative;
  padding: 1.3rem 1.35rem 1.45rem;
  border-radius: 28px;
  overflow: hidden;
  color: var(--dw-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 246, 238, 0.9));
}

.topic-cluster::before {
  content: '';
  position: absolute;
  right: -26px;
  top: -26px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 85, 255, 0.18), rgba(49, 85, 255, 0));
}

.topic-cluster::after {
  content: 'Browse';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--dw-brand-dark);
  font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.topic-cluster:nth-child(2)::before {
  background: radial-gradient(circle, rgba(136, 214, 181, 0.28), rgba(136, 214, 181, 0));
}

.topic-cluster:nth-child(3)::before {
  background: radial-gradient(circle, rgba(138, 162, 255, 0.28), rgba(138, 162, 255, 0));
}

.topic-cluster:nth-child(4)::before {
  background: radial-gradient(circle, rgba(255, 139, 103, 0.24), rgba(255, 139, 103, 0));
}

.topic-cluster strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.55rem;
}

.topic-cluster span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--dw-muted);
}

.topic-cluster:hover {
  transform: translateY(-2px);
  color: var(--dw-brand-dark);
}

.page-hero__inner,
.single-entry__hero .narrow-content {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-radius: 34px;
}

.entry-content,
.page-content {
  color: var(--dw-ink-soft);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  max-width: 18ch;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(11, 19, 36, 0.98), rgba(11, 19, 36, 1)),
    url('../img/road-grid.svg') center / cover no-repeat;
}

.site-footer::before {
  background: linear-gradient(90deg, rgba(49, 85, 255, 0.22), rgba(255, 139, 103, 0.18), rgba(136, 214, 181, 0.18));
}

@media (max-width: 1100px) {
  .hero__inner--atlas {
    grid-template-columns: 1fr;
  }

  .hero-note--left {
    left: 1rem;
    bottom: 1rem;
  }

  .hero-note--right {
    right: 1rem;
  }

  .hero-lanes,
  .pillar-grid,
  .topic-cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-branding {
    background: transparent;
    border-color: transparent;
    padding: 0;
  }

  .hero--atlas {
    padding-top: 3.6rem;
  }

  .hero__copy--atlas {
    padding: 1.55rem;
    border-radius: 30px;
  }

  .hero-lanes,
  .pillar-grid,
  .topic-cluster-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    padding: 0.85rem;
    border-radius: 30px;
  }

  .hero-stage__frame {
    border-radius: 24px;
  }

  .hero-stage__frame img {
    border-radius: 20px;
  }

  .hero-note {
    position: static;
    max-width: none;
    margin-top: 0.85rem;
  }

  .section-heading h2,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4,
  .hero__copy--atlas h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 82px;
  }

  .hero-ribbon {
    margin-bottom: 0.9rem;
  }

  .hero-ribbon span,
  .hero-points span,
  .hero-lane,
  .topic-cluster span,
  .post-card__eyebrow,
  .section-link {
    font-size: 0.78rem;
  }

  .post-card__content,
  .pillar-card,
  .topic-cluster {
    padding: 1rem;
  }

  .pillar-card__icon {
    width: 64px;
    height: 64px;
  }
}
