/* ─── DOUBLE DROP (/doubledrop) ───────────────────────────────
   What the Double Drop is, the two collections, the claim options, a claim
   check and how to claim safely. Built on style.css (tokens, .section-title,
   .eyebrow, .btn-primary/.btn-ghost, the .names-check control). */

.dd-section {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--line);
}

/* ── Hero ─────────────────────────────────────────────────── */
.dd-hero { padding: calc(64px + var(--s-16)) 0 var(--section-gap); }
.dd-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.dd-title { margin-bottom: var(--s-5); }
.dd-lede {
  font-size: var(--fs-heading); line-height: 1.7;
  color: var(--off-70); max-width: 54ch; margin: 0 0 var(--s-8);
}
.dd-aside {
  margin: var(--s-6) 0 0; max-width: 54ch;
  font-size: var(--fs-label); line-height: 1.6; color: var(--dim);
}

/* ── A Hashmask and its Derivative ─────────────────────────── */
/* The pair itself (.dd-pair) is in style.css, shared with the homepage's
   Double Drop band. Here only the hero's size and the Elementals' captions. */
.dd-pair--hero { width: min(100%, 600px); justify-self: center; }
.dd-elementals figcaption {
  margin-top: var(--s-3);
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: var(--track-tight); color: var(--dim);
}

/* ── The two collections ─────────────────────────────────── */
.dd-h2 { font-size: var(--fs-section); margin-bottom: var(--s-4); }
.dd-sub {
  font-size: var(--fs-body-sm); line-height: 1.7; color: var(--dim);
  max-width: 60ch; margin: 0 0 var(--s-8);
}
.dd-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
}
/* Both columns share four rows (title, text, pictures, links) through subgrid,
   so their pictures start and end level whatever the length of the text. */
.dd-col {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line); background: rgba(255,255,255,0.012);
}
.dd-col-title {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: var(--off); margin: 0 0 var(--s-3);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.dd-by { font-family: var(--font-ui); font-size: var(--fs-body-sm); font-weight: 500; color: var(--dim); }
.dd-text {
  font-size: var(--fs-body-sm); line-height: 1.7; color: var(--off-70);
  max-width: 60ch; margin: 0 0 var(--s-6);
}
/* Same gaps in both: a pair's row lines up with a row of Elementals */
.dd-pairs { display: grid; row-gap: var(--s-5); margin-bottom: var(--s-6); }
.dd-elementals {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5) var(--s-3); margin-bottom: var(--s-6);
}
.dd-elementals figure { margin: 0; }
.dd-elementals img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  background: var(--bg2); border: 1px solid var(--line);
}
.dd-links {
  list-style: none; margin: 0; padding: var(--s-4) 0 0; align-self: end;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6);
}
.dd-lede a, .dd-links a, .dd-safe a, .dd-check-result a, .dd-contract a {
  color: var(--gold-link); text-decoration: underline;
  text-decoration-color: rgba(207,146,36,0.35); text-underline-offset: 3px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.dd-lede a:hover, .dd-links a:hover, .dd-safe a:hover, .dd-check-result a:hover, .dd-contract a:hover {
  color: var(--gold); text-decoration-color: var(--gold);
}
.dd-links a { font-size: var(--fs-body-sm); }
.dd-note {
  margin: var(--s-6) 0 0; max-width: 60ch;
  font-size: var(--fs-body-sm); line-height: 1.6; color: var(--dim);
}

/* ── The claim: three options ─────────────────────────────── */
.dd-options {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3);
}
.dd-option {
  padding: var(--s-6); border: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
}
.dd-option h3 {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: var(--off); margin: 0 0 var(--s-2);
}
.dd-option-cost {
  margin: 0 0 var(--s-4);
  font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-default);
  text-transform: uppercase; color: var(--gold);
}
.dd-option p:last-child {
  margin: 0; font-size: var(--fs-body-sm); line-height: 1.6; color: var(--off-70);
}
.dd-option--burn { border-color: rgba(248,113,113,0.35); background: rgba(248,113,113,0.04); }
.dd-option--burn .dd-option-cost { color: var(--danger); }
.dd-section .hero-actions { margin-top: var(--s-8); }

/* ── Claim check + how to claim safely ────────────────────── */
.dd-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.dd-check-result { line-height: 1.6; }
.dd-safe {
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--gold-faint); background: var(--gold-line);
}
.dd-safe-title {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  color: var(--off); margin: 0 0 var(--s-5);
}
.dd-safe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.dd-safe li {
  position: relative; padding-left: 22px;
  font-size: var(--fs-body-sm); line-height: 1.65; color: var(--off-70);
}
/* the site's diamond, as on .eyebrow */
.dd-safe li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.dd-safe strong { color: var(--off); font-weight: 600; }
.dd-addr-inline {
  font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--off);
  overflow-wrap: anywhere;
}

/* ── Contracts ────────────────────────────────────────────── */
.dd-contracts { margin: 0; border-top: 1px solid var(--line); }
.dd-contract {
  display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: var(--s-2) var(--s-6); align-items: center;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
}
.dd-contract dt { font-weight: 600; color: var(--off); }
.dd-contract dt span { display: block; font-size: var(--fs-label); font-weight: 400; color: var(--dim); }
.dd-contract dd {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
}
.dd-contract code {
  font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--off-70);
  overflow-wrap: anywhere;
}
.dd-copy {
  border: 1px solid var(--line-strong); background: none; color: var(--off);
  font-family: var(--font-ui); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: var(--track-default); text-transform: uppercase;
  padding: 6px 12px; cursor: pointer; min-width: 84px;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.dd-copy:hover { border-color: var(--gold-dim); color: var(--gold); }
.dd-contract a { font-size: var(--fs-body-sm); }

.dd-copy:focus-visible, .dd-lede a:focus-visible, .dd-links a:focus-visible, .dd-safe a:focus-visible,
.dd-contract a:focus-visible, .dd-check-result a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ── Smaller screens ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .dd-hero-grid, .dd-split { grid-template-columns: minmax(0, 1fr); }
  .dd-pair--hero { justify-self: start; }
  .dd-options { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .dd-cols { grid-template-columns: minmax(0, 1fr); row-gap: clamp(20px, 3vw, 40px); }
  .dd-col { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 640px) {
  .dd-contract { grid-template-columns: minmax(0, 1fr); }
}
