/* ============================================================
   CLOUD PAINTS — Discover landing + article pages
   Editorial reading layout: scrim-on-photo hero, narrow prose
   column, generous whitespace, brand-tinted callouts.
   ============================================================ */

/* DISCOVER INDEX HERO ----------------------------------------- */
.dc-hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(50px, 7vw, 80px);
  background:
    radial-gradient(60% 70% at 14% 24%, color-mix(in srgb, var(--red-2) 9%, transparent), transparent 70%),
    radial-gradient(45% 60% at 90% 80%, color-mix(in srgb, var(--blue-2, #1f4088) 7%, transparent), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border-2);
}
.dc-hero-inner { max-width: 680px; }
.dc-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 16px 0 22px;
}
.dc-hero h1 em { color: var(--red-2); font-style: italic; font-weight: 400; }
.dc-hero .lede {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0;
}

/* DISCOVER CARDS GRID ----------------------------------------- */
.dc-grid-wrap {
  padding: clamp(60px, 9vw, 110px) 0;
  background: var(--bg);
}
.dc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}

.dc-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}
.dc-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c, var(--red-2)) 45%, var(--border-2));
  box-shadow: 0 22px 44px -22px rgba(0,0,0,0.5);
}
.dc-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.dc-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.dc-card:hover .dc-card-media img { transform: scale(1.05); }
.dc-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,10,16,0.10) 0%, transparent 30%, rgba(11,10,16,0.55) 100%);
  pointer-events: none;
}
.dc-card-kicker {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 13px;
  background: color-mix(in srgb, var(--c, var(--red-2)) 75%, transparent);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.dc-card-body {
  padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.dc-card-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  font-weight: 500;
  margin: 0;
  color: var(--text);
}
.dc-card-body h3 em { color: var(--c, var(--red-2)); font-style: italic; font-weight: 500; }
.dc-card-body p {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}
.dc-card-cta {
  margin-top: auto;
  padding-top: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c, var(--red-2));
  transition: letter-spacing var(--t-fast);
}
.dc-card:hover .dc-card-cta { letter-spacing: 0.06em; }

/* DISCOVER INDEX CTA ----------------------------------------- */
.dc-cta-wrap {
  background: var(--bg);
  padding: clamp(70px, 10vw, 120px) 0;
  border-top: 1px solid var(--border-2);
}
.dc-cta {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.dc-cta h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 400;
  margin: 14px 0 14px;
}
.dc-cta h2 em { color: var(--red-2); font-style: italic; font-weight: 400; }
.dc-cta p {
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 24px;
}
.dc-cta-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ARTICLE PAGES ---------------------------------------------- */
.dc-art-hero {
  position: relative;
  min-height: clamp(440px, 70vh, 640px);
  padding: clamp(80px, 11vw, 130px) 0 clamp(50px, 8vw, 90px);
  overflow: hidden;
  isolation: isolate;
  display: flex; align-items: flex-end;
}
.dc-art-hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background: #0b0a10;
  overflow: hidden;
}
.dc-art-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}
.dc-art-hero::after {
  content: ""; position: absolute; inset: 0;
  z-index: -1;
  /* Lifted scrim — only the bottom 35% really needs to darken so the
     headline reads against the photo. Above that the image breathes. */
  background:
    linear-gradient(180deg,
      rgba(11,10,16,0.30) 0%,
      rgba(11,10,16,0.20) 25%,
      rgba(11,10,16,0.42) 65%,
      rgba(11,10,16,0.72) 100%);
}
.dc-art-hero-inner { max-width: 760px; }
.dc-back {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  /* Standalone navigation, not a link inside a sentence, so it answers to
     the 24px tap-target minimum. Padding buys the height; the negative
     margin keeps it sitting where it did. */
  padding: 5px 4px;
  margin: -5px -4px 13px;
  text-decoration: none;
  transition: color var(--t-fast), transform var(--t-fast);
}
.dc-back:hover { color: #fff; transform: translateX(-4px); }
.dc-art-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--text);
  margin: 14px 0 22px;
}
.dc-art-hero h1 em { color: var(--red-2); font-style: italic; font-weight: 400; }
.dc-art-stand {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--text-2);
  max-width: 56ch;
  margin: 0;
}

/* Article body */
.dc-art-body {
  background: var(--bg);
  padding: clamp(60px, 9vw, 110px) 0;
}
.dc-art-prose {
  max-width: 720px;
}
.dc-art-prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--text);
  margin: clamp(40px, 5vw, 56px) 0 16px;
}
.dc-art-prose h3 {
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.5vw, 1.32rem);
  line-height: 1.25;
  font-weight: 500;
  color: var(--text);
  margin: 28px 0 10px;
}
.dc-art-prose h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 8px;
}
.dc-art-prose p {
  color: var(--text-2);
  font-size: 1.04rem;
  line-height: 1.78;
  margin: 0 0 16px;
}
.dc-art-prose p strong { color: var(--text); }
.dc-art-prose ul {
  list-style: none; padding: 0;
  margin: 8px 0 22px;
}
.dc-art-prose li {
  position: relative;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.65;
  padding: 4px 0 4px 22px;
}
.dc-art-prose li::before {
  content: ""; position: absolute;
  left: 6px; top: 15px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--red-2) 75%, transparent);
}
.dc-art-callout {
  margin: 22px 0;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--red-2) 10%, transparent);
  border-left: 3px solid var(--red-2);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text);
}
.dc-art-callout strong { color: var(--text); font-style: normal; }

.dc-art-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0 30px;
}
.dc-art-benefit {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
}
.dc-art-benefit p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.dc-art-rule {
  border: 0;
  height: 1px;
  background: var(--border-2);
  margin: clamp(40px, 5vw, 60px) 0;
}

.dc-art-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin: 28px 0 14px;
}
.dc-art-sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 36px !important;
  padding-top: 24px;
  border-top: 1px solid var(--border-2);
}

/* RESPONSIVE -------------------------------------------------- */
@media (max-width: 720px) {
  .dc-grid { grid-template-columns: 1fr; }
}
