/* Creators & press page (/creators.html). Builds on content.css. */

/* In-page jump links under the lede. */
.cr-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.cr-jump a {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--burgundy-deep);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.cr-jump a:hover {
  border-color: var(--burgundy);
}

/* The three "ways to work with us" cards are content, not links. */
.cr-ways .content-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy-deep);
}

@media (min-width: 900px) {
  .content-card-grid.cr-ways {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Share-a-bottle walkthrough: three steps side by side, stacked on phones. */
.cr-steps {
  display: grid;
  gap: 1.5rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.content-prose .cr-steps {
  padding-left: 0;
}

@media (min-width: 760px) {
  .cr-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

.content-prose .cr-step + .cr-step {
  margin-top: 0;
}

.cr-step-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.cr-step-num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.875rem;
}

.cr-step-visual {
  margin: 0 auto;
  max-width: 260px;
}

.cr-step-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* Step 2: the share sheet. */
.cr-sheet,
.cr-recipient {
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.06);
}

.cr-sheet-title {
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.cr-sheet-link {
  margin: 0 0 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--cream-alt);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  color: var(--burgundy-deep);
  overflow-wrap: anywhere;
}

.cr-step-visual .cr-sheet-qr {
  width: 160px;
  margin: 0 auto;
}

.cr-sheet-note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* Step 3: mirrors the page the API bakes for each share (share-page-html.ts). */
.cr-recipient {
  background:
    radial-gradient(ellipse 80% 40% at 50% -5%, rgba(114, 47, 55, 0.12), transparent 60%),
    var(--cream);
}

.cr-step-visual .cr-recipient-logo {
  width: 120px;
  margin: 0 auto 0.75rem;
}

.cr-step-visual .cr-recipient-photo {
  width: 150px;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
}

.cr-recipient-title {
  margin: 0 0 0.4rem;
  font-weight: 700;
  line-height: 1.25;
}

.cr-recipient-sub {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.cr-fake-btn {
  display: block;
  margin-top: 0.4rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--burgundy-deep);
  font-size: 0.8125rem;
  font-weight: 600;
}

.cr-fake-btn--primary {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: #fff;
}

.cr-facts {
  padding-left: 1.35rem;
}

.cr-facts-table th {
  width: 11rem;
}

.cr-facts-table {
  min-width: 0;
}

@media (max-width: 540px) {
  .cr-facts-table th,
  .cr-facts-table td {
    display: block;
    width: auto;
  }

  .cr-facts-table th {
    border-bottom: none;
    padding-bottom: 0.15rem;
  }

  .cr-facts-table td {
    padding-top: 0;
  }
}

.cr-assets li + li {
  margin-top: 0.35rem;
}

.cr-way-shot {
  margin: 1rem 0 0;
}

.cr-way-shot img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.cr-way-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.cr-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.cr-thumb {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 140px;
  text-decoration: none;
  color: var(--burgundy-deep);
  font-size: 0.8125rem;
  font-weight: 600;
}

.cr-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.cr-thumb:hover span {
  text-decoration: underline;
}

.cr-utm {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream-alt, #f3ebe3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre;
}
