/* Gift guide and Gift Reveal Kit. Shared by gift-guide.html and gift-kit.html only, same pattern as links.css.
   Every color here is a token from styles.css, so the verified pairings hold in both themes. Do not add hex values. */

/* Eyebrows: small label above a card title. Body face, bold, never Cinzel for running text. */
.eyebrow { display: block; font-weight: 700; font-size: .9375rem; letter-spacing: .04em; text-transform: uppercase; color: var(--link); margin: 0 0 .5rem; }

/* Hero jump link sits on Aubergine in both themes, so it uses the on-deep link token. */
.hero-band .hero-jump { font-weight: 700; }

/* Three ways to give it */
.ways { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way {
  background: var(--panel-bg); color: var(--text); border: 1px solid var(--card-border); border-left: 8px solid var(--stripe);
  border-radius: 10px; padding: var(--space-3); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: .75rem;
}
.way h3 { font-size: 1.5rem; margin: 0; }
.way p { margin: 0; }
.way dl { margin: auto 0 0; padding-top: var(--space-2); border-top: 1px solid var(--card-border); display: grid; gap: .5rem; }
.way dt { font-weight: 700; }
.way dd { margin: 0; }

/* Six gift cards */
.gifts { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .gifts { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-3); } }
.gift {
  background: var(--panel-bg); color: var(--text); border: 1px solid var(--card-border); border-radius: 12px;
  padding: var(--space-4) var(--space-3); box-shadow: var(--shadow-1); display: flex; flex-direction: column;
}
@media (min-width: 640px) { .gift { padding: var(--space-4); } }
.gift h3 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 1.875rem); margin: 0 0 .5rem; }
.gift .gift-sub { font-weight: 700; margin-bottom: var(--space-3); }
.gift h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; margin: var(--space-3) 0 .75rem; }
.handled { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: .625rem; }
.handled li { position: relative; padding-left: 1.75rem; max-width: var(--measure); }
.handled li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; background: var(--icon);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c1.4 6.6 5.2 10.4 11 11-5.8.6-9.6 4.4-11 11-1.4-6.6-5.2-10.4-11-11 5.8-.6 9.6-4.4 11-11z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c1.4 6.6 5.2 10.4 11 11-5.8.6-9.6 4.4-11 11-1.4-6.6-5.2-10.4-11-11 5.8-.6 9.6-4.4 11-11z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.gift .btn { align-self: flex-start; margin-top: auto; }

/* Envelope and kit panels: same opaque panel as the cards, so text never sits on a gradient it was not checked against. */
.panel {
  background: var(--panel-bg); color: var(--text); border: 1px solid var(--card-border); border-radius: 12px;
  padding: var(--space-4) var(--space-3); box-shadow: var(--shadow-1); max-width: 52rem;
}
@media (min-width: 640px) { .panel { padding: var(--space-4); } }
.panel h2 { margin-bottom: var(--space-2); }
.panel .btn { margin-top: var(--space-3); }

/* Closing: two asks side by side, wrapping on small screens. */
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-top: var(--space-4); }
.closing-actions .btn { margin-top: 0; }
.closing-actions .text-link { font-weight: 700; display: inline-block; padding-block: .625rem; }
.signoff .closing-actions { justify-content: center; }

/* Gift Reveal Kit page */
.kit-contents { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
@media (min-width: 768px) { .kit-contents { grid-template-columns: repeat(3, 1fr); } }
.kit-contents a {
  display: block; height: 100%; padding: var(--space-3); border-radius: 10px; text-decoration: none; color: var(--text);
  background: var(--panel-bg); border: 1px solid var(--card-border); box-shadow: var(--shadow-1);
}
.kit-contents a:hover { border-color: var(--link); }
.kit-contents .k-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: .25rem; }
.kit-tools { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.btn-quiet {
  display: inline-block; min-height: 44px; padding: .625rem 1.25rem; font: inherit; font-weight: 700; cursor: pointer;
  color: var(--text); background: transparent; border: 2px solid var(--link); border-radius: 999px; text-decoration: none;
}
.btn-quiet:hover { background: var(--card-bg); text-decoration: none; }

.dossier-group { margin-top: var(--space-4); }
.dossier-group h3 { font-size: 1.375rem; margin-bottom: .75rem; }
.dossier-group > p { margin-bottom: .75rem; }
.prompts { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; max-width: var(--measure); }
.choices { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.choices li::before { content: "\2610"; margin-right: .625rem; font-size: 1.125em; }

.message {
  background: var(--panel-bg); border: 1px solid var(--card-border); border-left: 8px solid var(--stripe); border-radius: 10px;
  padding: var(--space-3); margin: var(--space-2) 0 0; max-width: var(--measure); box-shadow: var(--shadow-1);
}
.message p { margin: 0 0 .75rem; }
.message p:last-child { margin-bottom: 0; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.copy-status { font-weight: 700; min-height: 1.7em; }
.ask-lines { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.kit-section + .kit-section { border-top: 1px solid var(--card-border); }
.guide-steps { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: gstep; }
.guide-steps > li { counter-increment: gstep; display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--space-2); }
.guide-steps > li::before {
  content: counter(gstep); width: 3rem; height: 3rem; border-radius: 6px; background: var(--card-bg-solid); color: var(--text);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; grid-row: 1 / 3;
}
.guide-steps h3 { font-size: 1.375rem; margin: .5rem 0 .75rem; }
.guide-steps ul { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.guide-steps li > p, .guide-steps li > ul { grid-column: 2; }

/* Print: the kit and the guide print as clean black on white, with writing lines under each dossier prompt. */
@media print {
  :root, [data-theme="dark"] {
    --text: #000; --link: #000; --panel-bg: #fff; --card-border: #999; --stripe: #000; --icon: #000; --card-bg-solid: #eee;
    --bg: #fff; --page-gradient: none; --shadow-1: none;
  }
  body { background: #fff; color: #000; font-size: 12pt; }
  .site-header, .site-footer, .skip-link, .no-print, .hero-mark, .asl-band { display: none !important; }
  .hero-band { background: #fff !important; color: #000 !important; padding-block: 0 1rem; }
  .hero-band::before { display: none; }
  .hero-band h1, .hero-band p, .hero-band .subhead { color: #000 !important; }
  .section { padding-block: 1rem; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
  .kit-section { break-before: page; }
  .kit-section:first-of-type { break-before: auto; }
  .prompts li, .dossier-lines li { break-inside: avoid; }
  .prompts li::after { content: ""; display: block; height: 2.25em; border-bottom: 1px solid #000; }
  .message { break-inside: avoid; }
  .guide-steps > li { break-inside: avoid; }
}

/* Kit page extras */
h3.spaced { margin-top: var(--space-4); }
@media print {
  .write-space::after { content: ""; display: block; height: 4.5em; border-bottom: 1px solid #000; }
  .choices li::before { content: "\2610"; }
}
@media print {
  #dossier { break-before: auto; }
  .prompts { list-style: none; padding-left: 0; }
}
