/* ==========================================================================
   I-Vintage Solutions — Data Center inner page
   Layout follows the client design (source/ivintage-data-center-solutions-website.html),
   restyled with the shared site tokens. All page classes use the dc- prefix.
   ========================================================================== */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
.dc { --dc-dark: #0b0b0d; --dc-dark-2: #141416; --dc-dark-line: rgba(255,255,255,.12); --dc-soft: #f4f4f5; background: var(--dc-soft); color: var(--text); }
.dc h2, .dc h3 { font-family: var(--font-head); color: inherit; }

/* ---------- Shared bits ---------- */
.dc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.dc-section { padding: 112px 0; }
.dc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: end; margin-bottom: 48px; }
.dc-eyebrow { margin: 0 0 15px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.dc-section h2 { margin: 0; font-size: clamp(39px, 6vw, 74px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; color: var(--heading); }
.dc-lead { margin: 0; max-width: 650px; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; color: var(--muted); }
.dc-dark { background: var(--dc-dark); color: #f3f3f4; }
.dc-dark h2, .dc-dark h3 { color: #fff; }
.dc-dark .dc-lead, .dc-dark .dc-card p { color: #a9a9b0; }
.dc-dark .dc-card { background: var(--dc-dark-2); border-color: var(--dc-dark-line); }
.dc-dark .dc-card h3 { color: #fff; }
.dc-card .dc-eyebrow { color: var(--green); }
.dc-dark .dc-card .dc-eyebrow { color: var(--green-500); }
.dc-reveal.is-visible { animation: dc-in .65s ease both; }
@keyframes dc-in { from { opacity: .72; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.dc-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 100svh; padding-top: var(--header-h); overflow: hidden; background: #030405; }
.dc-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,4,6,.92) 0%, rgba(4,4,6,.5) 54%, rgba(4,4,6,.15) 100%), url("../img/data-center/hero.webp") center / cover no-repeat; }
.dc-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 38%; background: linear-gradient(transparent, var(--dc-soft)); }
.dc-hero-copy { width: min(1240px, 100%); margin: 0 auto; padding: 90px 28px 96px; color: #fff; }
.dc-hero h1 { margin: 0; max-width: 900px; font-family: var(--font-head); font-size: clamp(40px, 5.8vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #fff; }
.dc-hero h1 span { display: block; color: var(--green-500); }
.dc-hero-text { max-width: 760px; margin: 30px 0 0; font-size: clamp(18px, 2vw, 26px); line-height: 1.4; color: #d6d6da; }
.dc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Platform: stats + journey ---------- */
.dc-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dc-stat { padding: 34px 20px; border-right: 1px solid var(--line); }
.dc-stat:last-child { border-right: 0; }
.dc-stat strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--heading); }
.dc-stat span { display: block; margin-top: 9px; font-size: 14px; color: var(--muted); }
.dc-journey-wrap { margin-top: 64px; }
.dc-journey { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; margin: 0; padding: 0; list-style: none; counter-reset: dc-steps; }
.dc-journey li { counter-increment: dc-steps; min-height: 132px; padding: 20px 14px; border-top: 2px solid var(--line); font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--heading); transition: border-color .3s; }
.dc-journey li:hover { border-color: var(--green); }
.dc-journey li::before { content: "0" counter(dc-steps); display: block; margin-bottom: 23px; font: 700 12px var(--font-head); letter-spacing: .1em; color: var(--green); }

/* ---------- Model stack: power flow ---------- */
.dc-flow-shell { margin-top: 42px; padding: 28px; border: 1px solid var(--dc-dark-line); border-radius: 28px; background: #121214; overflow: hidden; }
.dc-flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; }
.dc-flow::before { content: ""; position: absolute; top: 29px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--green), #ff8a5c, #ffffff); transform-origin: left; animation: dc-energize 3.4s ease-in-out infinite; }
.dc-node { position: relative; z-index: 1; text-align: center; }
.dc-dot { width: 16px; height: 16px; margin: 22px auto 18px; border: 4px solid #121214; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--green), 0 0 22px var(--green-glow); }
.dc-node b { display: block; font-size: 13px; line-height: 1.35; color: #fff; }
.dc-node small { display: block; margin-top: 5px; color: #8a8a92; }
@keyframes dc-energize { 0% { transform: scaleX(0); opacity: .25; } 55%, 90% { transform: scaleX(1); opacity: 1; } 100% { opacity: .25; } }

/* ---------- Cards ---------- */
.dc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.dc-card { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.dc-card h3 { margin: 0 0 14px; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--heading); }
.dc-card p { margin: 0; color: var(--muted); }
.dc-span5 { grid-column: span 5; }
.dc-span7 { grid-column: span 7; }
.dc-image-card { position: relative; min-height: 470px; padding: 0; overflow: hidden; }
.dc-image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dc-image-card:hover img { transform: scale(1.04); }
.dc-scrim { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 30px; background: linear-gradient(transparent 40%, rgba(0,0,0,.9)); }
.dc-scrim h3 { margin: 0; color: #fff; }
.dc-scrim p { margin-top: 8px; color: #d0d0d6; }
.dc-feature { padding: 42px; }
.dc-feature ul { margin: 26px 0 0; padding: 0; list-style: none; }
.dc-feature li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.dc-feature li b { color: var(--heading); }
.dc-feature li span { color: var(--muted); text-align: right; }
.dc-taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.dc-tag { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }

/* ---------- Transformer portfolio table ---------- */
.dc-portfolio { margin-top: 38px; border-top: 1px solid var(--line); }
.dc-spec { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 20px; align-items: center; padding: 23px 8px; border-bottom: 1px solid var(--line); }
.dc-spec.-head { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dc-spec strong { font-family: var(--font-head); color: var(--heading); }
.dc-spec small { grid-column: 1 / -1; margin-top: -8px; color: var(--muted); }
.dc-chip { width: max-content; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.dc-source { margin-top: 15px; font-size: 12px; color: var(--muted); }
.dc-source a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Liquid cooling showcase ---------- */
.dc-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.dc-photo { position: relative; min-height: 630px; border-radius: 28px; overflow: hidden; }
.dc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dc-photo-caption { position: absolute; inset: auto 0 0; padding: 34px; background: linear-gradient(transparent, rgba(0,0,0,.9)); color: #fff; }
.dc-photo-caption h3 { margin: 0; font-size: 35px; font-weight: 700; letter-spacing: -.02em; }
.dc-photo-caption p { margin: 8px 0 0; color: #d0d0d6; }
.dc-stack { display: grid; gap: 18px; }
.dc-stack .dc-card { min-height: 0; }

/* ---------- Services grid ---------- */
.dc-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--dc-dark-line); background: var(--dc-dark-line); }
.dc-service { min-height: 270px; padding: 40px; background: var(--dc-dark); transition: background .4s; }
.dc-service:hover { background: var(--dc-dark-2); }
.dc-glyph { margin-bottom: 58px; font: 800 15px var(--font-head); color: var(--green-500); }
.dc-service h3 { margin: 0 0 14px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.dc-service p { max-width: 500px; margin: 0; color: #a9a9b0; }

/* ---------- Operations & readiness ---------- */
.dc-ops { position: relative; overflow: hidden; background: linear-gradient(145deg, #0a0a0c, #18181b); color: #fff; }
.dc-ops::before { content: ""; position: absolute; top: -250px; right: -160px; width: 520px; height: 520px; border: 1px solid rgba(236,43,58,.35); border-radius: 50%; box-shadow: 0 0 0 70px rgba(236,43,58,.03), 0 0 0 140px rgba(236,43,58,.02); }
.dc-ops h2 { color: #fff; }
.dc-ops .dc-lead { color: #a9a9b0; }
.dc-ops-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.dc-ops-list { margin: 30px 0 0; padding: 0; list-style: none; }
.dc-ops-item { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.14); }
.dc-ops-item b { font-family: var(--font-head); }
.dc-ops-item p { margin: 5px 0 0; color: #a9a9b0; }
.dc-ops-index { font-weight: 800; color: var(--green-500); }
.dc-ops-panel { align-self: center; padding: 36px; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(255,255,255,.04); }
.dc-signal { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; color: #a9a9b0; }
.dc-signal i { width: 9px; height: 9px; border-radius: 50%; background: #51e1a6; box-shadow: 0 0 16px #51e1a6; }
.dc-ops-panel h3 { margin: 26px 0 0; font-size: 34px; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.dc-readiness { display: grid; gap: 12px; margin: 40px 0 0; }
.dc-readiness div { padding: 13px 16px; border-radius: 12px; background: #1c1c20; }
.dc-readiness b { display: block; }
.dc-readiness small { color: #8f8f98; }

/* ---------- Equipment supply ---------- */
.dc-supply { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dc-supply article { padding: 25px 0; border-top: 1px solid var(--line); transition: border-color .3s; }
.dc-supply article:hover { border-color: var(--green); }
.dc-supply h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; color: var(--heading); }
.dc-supply p { margin: 0; color: var(--muted); }

/* ---------- Project Thor ---------- */
.dc-thor { position: relative; overflow: hidden; background: var(--green-600); color: #fff; }
.dc-thor .dc-eyebrow { color: #fff; }
.dc-thor h2 { color: #fff; }
.dc-thor .dc-lead { color: #ffdfe2; }
.dc-thor-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.dc-thor-mark { font: 800 clamp(120px, 22vw, 290px) / .72 var(--font-head); letter-spacing: -.1em; color: rgba(255,255,255,.11); white-space: nowrap; }
.dc-thor ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.dc-thor li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.3); }

/* ---------- Insights + literature ---------- */
.dc-insights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dc-insight { padding: 28px 4px 32px; border-top: 1px solid var(--line); }
.dc-meta { font-size: 13px; font-weight: 700; color: var(--green); }
.dc-insight h3 { margin: 14px 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--heading); }
.dc-insight p { margin: 0 0 22px; color: var(--muted); }
.dc-text-btn { padding: 0; border: 0; background: none; font: 700 14px var(--font-body); color: var(--heading); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.dc-text-btn:hover { color: var(--green); }
.dc-library-wrap { margin-top: 96px; }
.dc-library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dc-brief { display: flex; flex-direction: column; min-height: 280px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.dc-brief:hover { border-color: var(--green); box-shadow: var(--shadow); }
.dc-format { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.dc-brief h3 { margin: 40px 0 12px; font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--heading); }
.dc-brief p { margin: 0; color: var(--muted); }
.dc-brief .dc-text-btn { margin-top: auto; padding-top: 22px; align-self: flex-start; }

/* ---------- Why I-Vintage ---------- */
.dc-why { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.dc-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.dc-why-list div { padding: 24px 0; border-top: 1px solid var(--dc-dark-line); }
.dc-why-list b { display: block; margin-bottom: 6px; font-family: var(--font-head); color: #fff; }
.dc-why-list span { font-size: 14px; color: #a9a9b0; }

/* ---------- Contact panel ---------- */
.dc-contact { padding: 110px 0; }
.dc-contact-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; padding: clamp(38px, 7vw, 82px); border-radius: 34px; background: var(--navy-800); color: #fff; }
.dc-contact-panel h2 { font-size: clamp(44px, 7vw, 86px); color: #fff; }
.dc-contact-panel p { margin-top: 20px; font-size: 19px; color: #b3b3ba; }
.dc-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dc-contact-actions small { color: #8f8f98; }

/* ---------- Article dialogs ---------- */
.dc-dialog { width: min(820px, calc(100% - 28px)); max-height: 84vh; padding: 0; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--text); box-shadow: var(--shadow); }
.dc-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.dc-article { padding: clamp(26px, 6vw, 58px); }
.dc-article h2 { margin: 10px 0 20px; font-size: clamp(34px, 5vw, 57px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--heading); }
.dc-article h3 { margin-top: 30px; font-size: 22px; font-weight: 700; color: var(--heading); }
.dc-article p { color: var(--muted); }
.dc-dialog-close { position: sticky; top: 14px; float: right; z-index: 2; width: 40px; height: 40px; margin: 14px 14px 0 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-2); font-size: 21px; color: var(--heading); cursor: pointer; }
.dc-dialog-close:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .dc-head, .dc-split, .dc-ops-grid, .dc-thor-grid, .dc-why, .dc-contact-panel { grid-template-columns: 1fr; }
  .dc-stats { grid-template-columns: 1fr 1fr; }
  .dc-stat:nth-child(2) { border-right: 0; }
  .dc-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dc-journey { grid-template-columns: repeat(2, 1fr); }
  .dc-journey li:last-child { grid-column: span 2; }
  .dc-flow { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .dc-flow::before { display: none; }
  .dc-span5, .dc-span7 { grid-column: span 12; }
  .dc-supply, .dc-library { grid-template-columns: 1fr 1fr; }
  .dc-thor-mark { display: none; }
}
@media (max-width: 640px) {
  .dc-wrap, .dc-hero-copy { padding-left: 20px; padding-right: 20px; }
  .dc-hero { min-height: 760px; }
  .dc-hero::before { background-position: 62% center; }
  .dc-section { padding: 82px 0; }
  .dc-head { gap: 22px; }
  .dc-stat { padding: 25px 10px; }
  .dc-journey { grid-template-columns: 1fr; }
  .dc-journey li:last-child { grid-column: auto; }
  .dc-journey li { min-height: 0; }
  .dc-flow-shell { padding: 20px 8px; }
  .dc-flow { grid-template-columns: 1fr 1fr; }
  .dc-node b { font-size: 12px; }
  .dc-image-card, .dc-photo { min-height: 480px; }
  .dc-feature { padding: 28px; }
  .dc-spec { grid-template-columns: 1fr 1fr; }
  .dc-spec.-head { display: none; }
  .dc-spec strong { grid-column: 1 / -1; }
  .dc-services, .dc-insights, .dc-library, .dc-supply, .dc-why-list { grid-template-columns: 1fr; }
  .dc-service { min-height: 230px; padding: 30px; }
  .dc-ops-panel { padding: 24px; }
  .dc-thor ul { grid-template-columns: 1fr; }
  .dc-photo-caption { padding: 24px; }
  .dc-contact-panel { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-reveal.is-visible { animation: none; }
  .dc-flow::before { animation: none; transform: scaleX(1); }
}

/* ---------- Page-level overrides ---------- */
.dc-contact-panel .dc-eyebrow { margin: 0 0 15px; font-size: 13px; color: var(--green-500); }
.dc-hero .btn.-primary, .dc-contact .btn.-primary { background: var(--green); }
.dc-hero .btn.-primary .btn-ic, .dc-contact .btn.-primary .btn-ic { border-left-color: rgba(255,255,255,.3); }
.dc-hero .btn.-primary::before, .dc-contact .btn.-primary::before { background: var(--green-600); }
