/* Read Luke in December — page styles. Sits on top of css/style.css. */

body.luke section { padding: 0; }

.luke-hero {
  min-height: 0;
  padding: 7.25rem 1.25rem 1.35rem;
}
.luke-hero h1 {
  font-weight: 900;
  font-size: clamp(2.45rem, 8vw, 4.35rem);
  max-width: 12em;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}
.luke-hero .hero-when {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  max-width: none;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.45rem;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.intro { padding: 0.35rem 0 0.25rem; }
.intro p,
.note p,
.closing-block .closing-copy p {
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 0 0 1rem;
  text-wrap: pretty;
}

.checklist { padding: 0.5rem 0 1.25rem; }
.print-sheet {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--dark-3);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}
.print-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.print-sub { display: none; }
.print-sheet h2 {
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin: 0 0 0.4rem;
  line-height: 1.15;
}
.check-lead,
.print-foot {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.print-foot { margin: 0.9rem 0 0; font-size: 0.82rem; }
.print-actions { margin: 0 0 1rem; }
.print-actions .btn-primary { min-height: 48px; line-height: 1.2; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.55rem;
  row-gap: 0.05rem;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 0.45rem 0.6rem;
  background: var(--dark-4);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  cursor: pointer;
}
.check input {
  grid-column: 1;
  grid-row: 1 / span 2;
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  background: transparent;
  display: grid;
  place-items: center;
}
.check input:checked { background: var(--gold); }
.check input:checked::after {
  content: '';
  width: 0.28rem;
  height: 0.55rem;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.check .ch {
  grid-column: 2;
  grid-row: 1;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
}
.check .dt {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-align: left;
  white-space: nowrap;
}

.day-jump {
  position: sticky;
  top: 68px;
  z-index: 40;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.55rem 1rem;
  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid var(--gold-border);
  scrollbar-width: thin;
}
.day-jump a {
  flex: 0 0 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.day-jump a.today-chip { flex-basis: auto; padding: 0 0.8rem; }
.day-jump a.is-today,
.day-jump a[aria-current="date"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.day-jump a:focus-visible,
.hero-actions a:focus-visible,
.print-actions button:focus-visible,
.app-badge:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.is-hidden { display: none !important; }

.days { padding: 0 0 1.25rem; }
.days-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1rem 0;
}
.day {
  background: var(--dark-3);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 1.2rem 1.05rem 1.25rem;
  margin: 0 0 0.9rem;
  scroll-margin-top: 9.5rem;
}
.day.is-today {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.12), var(--dark-3) 5.5rem);
}
.today-flag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin: 0 0 0.7rem;
}
.day-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}
.day h2 {
  font-size: clamp(1.55rem, 4.2vw, 2.05rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}
.day h2 .ch-label {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.what {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 0.95rem;
}
.day blockquote {
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
  margin: 0 0 1rem;
  padding: 0.95rem 1rem 0.85rem;
  border-radius: 0 4px 4px 0;
}
.day blockquote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 0 0 0.55rem;
}
.day blockquote cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.note p.label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
  margin: 0 0 0.45rem;
}
.note p:last-child { margin-bottom: 0.35rem; }
.callout {
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
  border-radius: 0 4px 4px 0;
  padding: 0.8rem 0.95rem;
  margin: 0.85rem 0 0;
}
.callout p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

.closing-block { padding: 1.75rem 0 3rem; }
.closing-block .closing-copy p:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.28rem;
  line-height: 1.55;
}
.app-invite { margin-top: 0.4rem; }
.app-badge-row { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 0.35rem; }
.app-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--dark-4);
  border: 1px solid var(--gold-border);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s;
  min-height: 48px;
}
.app-badge:hover { border-color: var(--gold); }
.app-badge-icon { font-size: 1.6rem; line-height: 1; color: var(--text); }
.app-badge small {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.app-badge strong { font-size: 0.95rem; color: var(--text); }

#checklist { scroll-margin-top: 5.5rem; }
#days { scroll-margin-top: 8rem; }

@media (min-width: 700px) {
  .luke-hero { padding-top: 8.5rem; }
  .check-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .day { padding: 1.4rem 1.35rem 1.45rem; }
  .print-sheet {
    border: 1px solid var(--gold-border);
    border-radius: 6px;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
}
@media (max-width: 520px) {
  .luke-hero .hero-when {
    letter-spacing: 0.04em;
    font-size: 0.68rem;
    line-height: 1.45;
  }
}
@media (max-width: 400px) {
  .wrap, .print-sheet { padding-left: 1rem; padding-right: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; }
  .check .dt { font-size: 0.68rem; }
}

@media print {
  @page { size: letter; margin: 0.5in; }
  html, body.luke {
    background: #fff !important;
    color: #111 !important;
  }
  body.luke nav,
  body.luke .mobile-menu,
  body.luke .luke-hero,
  body.luke .intro,
  body.luke .day-jump,
  body.luke .days,
  body.luke .closing-block,
  body.luke footer,
  body.luke .print-actions,
  body.luke .check-lead { display: none !important; }
  body.luke .checklist,
  body.luke .print-sheet {
    display: block !important;
    background: #fff !important;
    border: none !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .print-kicker { color: #111 !important; letter-spacing: 0.12em; font-size: 9pt; }
  .print-sheet h2 {
    color: #111 !important;
    font-size: 22pt;
    margin: 0 0 2pt;
  }
  .print-sub {
    display: block !important;
    color: #222 !important;
    font-size: 11pt;
    margin: 0 0 10pt;
  }
  .check-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7pt !important;
  }
  .check {
    min-height: 0;
    background: #fff !important;
    border: 1px solid #111 !important;
    border-radius: 0;
    padding: 6pt 6pt;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .check input {
    border: 1.5pt solid #111 !important;
    background: #fff !important;
    width: 12pt;
    height: 12pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .check input:checked { background: #111 !important; }
  .check input:checked::after { border-color: #fff !important; }
  .check .ch, .check .dt, .print-foot { color: #111 !important; }
  .check .ch { font-size: 10.5pt; }
  .check .dt { font-size: 8pt; }
  .print-foot { font-size: 9pt; margin-top: 10pt; }
}
