/* Data-center series — premium magazine skin v2 */
.dc-page {
  --dc-bg: #f4f1ea;
  --dc-ink: #0f1218;
  --dc-muted: #5a5f6b;
  --dc-faint: #8a8f9a;
  --dc-line: rgba(15, 18, 24, 0.09);
  --dc-card: #ffffff;
  --dc-green: #176b4d;
  --dc-green-deep: #0e3d2c;
  --dc-green-soft: rgba(23, 107, 77, 0.1);
  --dc-amber: #c45f12;
  --dc-amber-soft: rgba(196, 95, 18, 0.1);
  --dc-red: #a12f2f;
  --dc-red-soft: rgba(161, 47, 47, 0.09);
  --dc-shadow: 0 22px 60px rgba(15, 18, 24, 0.1);
  --dc-radius: 22px;
  --dc-max: 720px;
  --dc-wide: 1140px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(23, 107, 77, 0.07), transparent 55%),
    var(--dc-bg);
  color: var(--dc-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.dc-page a { color: inherit; text-decoration: none; }
.dc-page img { max-width: 100%; height: auto; display: block; }

/* ——— Nav ——— */
.dc-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  max-width: calc(100vw - 1.5rem);
  padding: 0.4rem 0.4rem 0.4rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 12px 40px rgba(15, 18, 24, 0.08);
}

.dc-nav-brand {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.07em;
  font-size: 1.08rem;
  margin-right: 0.55rem;
  white-space: nowrap;
  color: var(--dc-ink);
}

.dc-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.1rem;
}

.dc-nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dc-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.dc-nav-links a:hover { background: rgba(0, 0, 0, 0.045); color: var(--dc-ink); }

.dc-nav-cta {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--dc-green) 0%, var(--dc-green-deep) 100%) !important;
  padding: 0.52rem 1.05rem !important;
  border-radius: 999px !important;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(23, 107, 77, 0.28);
}

/* ——— Hero ——— */
.dc-hero {
  position: relative;
  padding: 6.75rem 0 0;
  overflow: hidden;
}

.dc-hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(23, 107, 77, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

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

.dc-hero-inner {
  width: min(var(--dc-max), 100%);
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.dc-crumb {
  font-size: 0.8rem;
  color: var(--dc-faint);
  margin-bottom: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.dc-crumb a { color: var(--dc-muted); transition: color 0.15s; }
.dc-crumb a:hover { color: var(--dc-green); }

.dc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.dc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--dc-line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--dc-muted);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.dc-tag.green {
  background: var(--dc-green-soft);
  color: var(--dc-green);
  border-color: rgba(23, 107, 77, 0.2);
}

.dc-tag.amber {
  background: var(--dc-amber-soft);
  color: var(--dc-amber);
  border-color: rgba(196, 95, 18, 0.22);
}

.dc-hero h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.75rem, 7.5vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: 0.015em;
  font-weight: 400;
  margin: 0 0 1.1rem;
  color: var(--dc-ink);
  max-width: 14ch;
}

.dc-lede {
  font-size: clamp(1.08rem, 2.1vw, 1.25rem);
  color: var(--dc-muted);
  line-height: 1.65;
  margin: 0 0 1.35rem;
  max-width: 36rem;
  font-weight: 450;
}

.dc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.35rem;
  font-size: 0.86rem;
  color: var(--dc-faint);
  margin-bottom: 1.85rem;
}

.dc-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.55rem;
  opacity: 0.5;
}

/* Cinematic hero image */
.dc-hero-figure {
  position: relative;
  width: min(var(--dc-wide), 100%);
  margin: 0 auto 0;
  border-radius: calc(var(--dc-radius) + 6px);
  overflow: hidden;
  box-shadow: var(--dc-shadow), 0 0 0 1px rgba(15, 18, 24, 0.06);
  background: #1a1f18;
  aspect-ratio: 21 / 9;
  max-height: 420px;
}

.dc-hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(15, 18, 24, 0.35) 100%
  );
  pointer-events: none;
}

.dc-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

/* Stat strip under hero */
.dc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(var(--dc-wide), 100%);
  margin: -1.5rem auto 2.5rem;
  position: relative;
  z-index: 2;
  background: var(--dc-card);
  border-radius: 18px;
  border: 1px solid var(--dc-line);
  box-shadow: 0 16px 40px rgba(15, 18, 24, 0.07);
  overflow: hidden;
}

.dc-stat {
  padding: 1.15rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--dc-line);
}

.dc-stat:last-child { border-right: none; }

.dc-stat-val {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  color: var(--dc-green);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.dc-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dc-faint);
}

/* ——— Body ——— */
.dc-body {
  width: min(var(--dc-max), 100%);
  margin: 0 auto;
  padding: 0.5rem 0 4.5rem;
}

.dc-body > p {
  font-size: 1.065rem;
  color: var(--dc-ink);
  margin: 0 0 1.2rem;
}

.dc-body > p.muted { color: var(--dc-muted); }

.dc-body > p:first-of-type::first-letter {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3.4rem;
  float: left;
  line-height: 0.82;
  padding: 0.12rem 0.45rem 0 0;
  color: var(--dc-green);
}

.dc-body h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.2rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin: 2.6rem 0 0.9rem;
  color: var(--dc-ink);
}

.dc-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.dc-body ul, .dc-body ol {
  margin: 0 0 1.25rem 1.15rem;
  color: var(--dc-ink);
}

.dc-body li { margin: 0.4rem 0; }

.dc-body a:not(.dc-btn):not(.dc-btn-ghost) {
  color: var(--dc-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}

.dc-figure {
  margin: 2rem 0;
  border-radius: var(--dc-radius);
  overflow: hidden;
  border: 1px solid var(--dc-line);
  box-shadow: 0 14px 36px rgba(15, 18, 24, 0.07);
  background: #fff;
}

.dc-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dc-figure figcaption {
  font-size: 0.82rem;
  color: var(--dc-faint);
  padding: 0.8rem 1.1rem 0.95rem;
  border-top: 1px solid var(--dc-line);
  background: #faf9f6;
}

/* Hook — fear first */
.dc-hook {
  margin: 0 0 1.65rem;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(196, 95, 18, 0.2);
  background:
    linear-gradient(135deg, rgba(196, 95, 18, 0.1), rgba(255, 255, 255, 0.75));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
  line-height: 1.6;
}

.dc-hook strong { color: var(--dc-amber); }

/* Abundance flip */
.dc-flip {
  margin: 1.85rem 0;
  padding: 1.4rem 1.45rem;
  border-radius: 20px;
  border: 1px solid rgba(23, 107, 77, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 107, 77, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(23, 107, 77, 0.08), rgba(255, 255, 255, 0.9));
  box-shadow: var(--dc-shadow);
}

.dc-flip-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-green);
  margin-bottom: 0.45rem;
}

.dc-flip p {
  margin: 0;
  color: var(--dc-ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ——— Myth / Fact cards ——— */
.dc-myth {
  margin: 1.5rem 0;
  border-radius: 20px;
  border: 1px solid var(--dc-line);
  background: var(--dc-card);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 18, 24, 0.045);
  transition: box-shadow 0.25s, transform 0.25s;
}

.dc-myth:hover {
  box-shadow: 0 16px 40px rgba(15, 18, 24, 0.08);
  transform: translateY(-1px);
}

.dc-myth-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .dc-myth-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dc-myth-side {
  padding: 1.2rem 1.3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dc-myth-side.myth {
  background: linear-gradient(180deg, #fdf6f5 0%, #fff 100%);
  border-bottom: 1px solid var(--dc-line);
}

@media (min-width: 640px) {
  .dc-myth-side.myth {
    border-bottom: none;
    border-right: 1px solid var(--dc-line);
  }
}

.dc-myth-side.fact {
  background: linear-gradient(180deg, #f3faf6 0%, #fff 100%);
}

.dc-pill {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 7px;
  line-height: 1.2;
}

.dc-pill.myth {
  background: var(--dc-red-soft);
  color: var(--dc-red);
  border: 1px solid rgba(161, 47, 47, 0.15);
}

.dc-pill.fact {
  background: var(--dc-green-soft);
  color: var(--dc-green);
  border: 1px solid rgba(23, 107, 77, 0.18);
}

.dc-myth-side p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--dc-ink);
  font-weight: 500;
}

.dc-myth-side.fact p {
  font-weight: 450;
  color: var(--dc-muted);
}

.dc-myth-side.fact p strong {
  color: var(--dc-ink);
  font-weight: 700;
}

/* Legacy single-column myth (compat) */
.dc-myth-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--dc-line);
  background: linear-gradient(180deg, #fdf8f7, #fff);
}

.dc-myth-top h2,
.dc-myth-top p {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.08rem 0 0;
  letter-spacing: 0;
  text-transform: none;
}

.dc-myth-body {
  padding: 1rem 1.25rem 1.2rem;
  color: var(--dc-muted);
  font-size: 1rem;
  background: linear-gradient(180deg, #f5faf7, #fff);
}

.dc-myth-body p { margin: 0; }
.dc-myth-body strong { color: var(--dc-ink); }

/* Chips / keywords */
.dc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 1.35rem;
}

.dc-chip {
  font-size: 0.76rem;
  color: var(--dc-muted);
  border: 1px solid var(--dc-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-weight: 500;
}

/* Series grid */
.dc-series {
  margin: 2.75rem 0 1.5rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--dc-line);
  box-shadow: 0 8px 28px rgba(15, 18, 24, 0.04);
}

.dc-series h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-faint);
  margin: 0 0 1rem;
  font-weight: 800;
}

.dc-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.55rem;
}

.dc-series a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--dc-line);
  background: var(--dc-bg);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dc-ink);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.dc-series a:hover {
  border-color: rgba(23, 107, 77, 0.4);
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 107, 77, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

/* CTA */
.dc-cta {
  margin: 2.25rem 0 0;
  padding: 1.85rem 1.65rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.14), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(23, 107, 77, 0.45), transparent 45%),
    linear-gradient(145deg, #0d2e22 0%, #176b4d 52%, #1a4f3a 100%);
  color: #f4faf7;
  box-shadow: 0 24px 56px rgba(14, 61, 44, 0.32);
  position: relative;
  overflow: hidden;
}

.dc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
  pointer-events: none;
}

.dc-cta h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.6rem;
  color: #fff;
  line-height: 1.05;
  position: relative;
}

.dc-cta p {
  margin: 0 0 1.25rem;
  color: rgba(244, 250, 247, 0.88);
  font-size: 0.98rem;
  max-width: 36rem;
  position: relative;
}

.dc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  position: relative;
}

.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  background: #fff;
  color: #0d2e22 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}

.dc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.dc-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.15s;
}

.dc-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* Footer */
.dc-footer {
  border-top: 1px solid var(--dc-line);
  padding: 2.35rem 0 2.85rem;
  color: var(--dc-faint);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.35);
}

.dc-footer-inner {
  width: min(var(--dc-wide), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.dc-footer a { color: var(--dc-muted); transition: color 0.15s; }
.dc-footer a:hover { color: var(--dc-green); }

/* ——— Responsive ——— */
@media (max-width: 860px) {
  .dc-nav-links { display: none; }
  .dc-hero { padding-top: 6.25rem; }
  .dc-hero h1 { font-size: clamp(2.4rem, 11vw, 3.15rem); max-width: none; }
  .dc-hero-figure {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
  .dc-stats {
    margin-top: -1rem;
    margin-bottom: 2rem;
  }
  .dc-stat { padding: 0.95rem 0.65rem; }
  .dc-stat-val { font-size: 1.35rem; }
  .dc-stat-label { font-size: 0.62rem; letter-spacing: 0.04em; }
  .dc-body > p:first-of-type::first-letter {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .dc-stats { grid-template-columns: 1fr; }
  .dc-stat {
    border-right: none;
    border-bottom: 1px solid var(--dc-line);
  }
  .dc-stat:last-child { border-bottom: none; }
}
