/* The personal calendar is set at reading size, with the same periods as the sample PDF. */
.calendar-feature {
  background: #eeedf6;
  color: #20233d;
  padding: clamp(44px, 6.3vw, 92px) 0;
}
.calendar-feature .feature-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 102px);
  padding: clamp(34px, 5.1vw, 80px);
  isolation: isolate;
  position: relative;
  background: radial-gradient(ellipse at 89% 23%, #535579 0, transparent 55%), #272b49;
  color: #fff;
  border-radius: 18px;
}
.feature-copy .eyebrow { color: #d8d5f8; margin-bottom: 18px; }
.calendar-feature .feature-copy h2 {
  font-size: clamp(32px, 3.55vw, 55px);
  line-height: 1.23;
  font-weight: 720;
  letter-spacing: -.065em;
}
.calendar-feature .feature-copy > p:not(.eyebrow) {
  max-width: 21.5em;
  color: #e0deec;
  line-height: 1.73;
  margin: 20px 0 26px;
}
.feature-copy .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  color: #22273c;
  background: #f1f0fb;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .94rem;
  font-weight: 680;
}
.feature-link:hover { background: #fff; }
.book-icon {
  position: relative;
  width: 14px;
  height: 12px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}
.book-icon::after { content: ''; position: absolute; top: 0; bottom: 0; left: 46%; border-left: 1px solid currentColor; }
.month-sheet {
  width: 100%;
  max-width: 425px;
  margin-inline: auto;
  padding: clamp(19px, 2.5vw, 35px);
  position: relative;
  background: #fff;
  border-radius: 4px;
  color: #26283c;
  box-shadow: 3px 4px 0 #dddde8, 5px 7px 0 #fafaff, 10px 19px 30px #11152c4a;
}
.month-sheet figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.month-sheet figcaption > span:first-child { display: grid; gap: 4px; }
.month-sheet figcaption small { font-size: .8rem; color: #636178; }
.month-sheet figcaption strong { font-size: clamp(1.5rem, 2.25vw, 2.25rem); line-height: 1.17; letter-spacing: -.065em; }
.month-key { white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; font-weight: 650; font-size: .79rem; color: #80485e; }
.month-key::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d07a99; }
.month-days { border-collapse: separate; border-spacing: 0 4px; width: 100%; text-align: center; table-layout: fixed; font-variant-numeric: tabular-nums; }
.month-days th { font-weight: 500; font-size: .79rem; padding: 0 0 9px; border-bottom: 1px solid #e3e2e9; color: #656477; }
.month-days td { line-height: 1; height: clamp(25px, 2.9vw, 37px); font-size: .95rem; }
.month-days .on { background: #f6dfeb; color: #6d3551; font-weight: 700; }
.month-days .start { border-radius: 18px 0 0 18px; }
.month-days .end { border-radius: 0 18px 18px 0; }
.month-days .start.end { border-radius: 18px; }
.month-note { margin-top: 17px; border-top: 1px solid #e2e1e8; padding-top: 13px; display: flex; gap: 5px 12px; flex-wrap: wrap; font-size: .82rem; line-height: 1.5; color: #515369; }
.month-note strong { color: #89445e; }

/* A browsable index of the nine pages; page artwork stays untouched. */
.reading { border: 0; padding-block: clamp(60px, 7.8vw, 116px); }
.reading .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; }
.reading h2, .order-copy h2 { color: #20233d; font-size: clamp(2rem, 3.45vw, 3.45rem); font-weight: 720; line-height: 1.25; letter-spacing: -.065em; }
.reading .section-head p { margin: 0; font-size: 1rem; line-height: 1.6; }
.reading .filters {
  display: flex;
  align-items: stretch;
  gap: clamp(15px, 2.5vw, 36px);
  border-bottom: 1px solid #d8d8e2;
  margin: clamp(23px, 3.1vw, 45px) 0 26px;
}
.reading .filters button {
  min-height: 48px;
  padding: 7px 1px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #696a7c;
  font-weight: 560;
  font-size: .95rem;
}
.reading .filters button:hover { color: #282944; }
.reading .filters button[aria-pressed="true"] { color: #282944; border-color: #333253; font-weight: 740; }
.filter-count { font-size: .77rem; color: #645c85; vertical-align: .09em; margin-left: 1px; font-variant-numeric: tabular-nums; }
.reading .gallery { gap: clamp(30px, 3.9vw, 55px) clamp(16px, 1.65vw, 26px); }
.sample-card { position: relative; min-width: 0; }
.sample-card .sample-art {
  aspect-ratio: 1.47;
  border: 1px solid #20233d0b;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(130deg, #f3f1f8, #e0deed);
  padding: 0;
}
.sample-card .sample-art img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: 79%;
  max-width: 85%;
  object-fit: contain;
  box-shadow: 1px 2px 4px #24254016, 5px 9px 18px #3432471a;
  transition: transform .2s, box-shadow .2s;
}
.sample-card[data-sample="love"] .sample-art { background: linear-gradient(130deg, #fbf3f7, #e9dae3); }
.sample-card[data-sample="career"] .sample-art { background: linear-gradient(130deg, #f0f4fa, #dae4f0); }
.sample-card[data-sample="money"] .sample-art { background: linear-gradient(135deg, #f8f4ef, #e9e0d8); }
.sample-card[data-sample="calendar"] .sample-art { background: linear-gradient(135deg, #f6f0f6, #e6e0ec); }
.sample-card .sample-art:hover, .sample-card .sample-art:focus-visible { box-shadow: inset 0 0 0 1.5px #958bb3; }
.sample-card .sample-art:hover img, .sample-card .sample-art:focus-visible img { transform: translateY(-3px); box-shadow: 2px 5px 9px #2425401a, 6px 13px 19px #3432471f; }
.sample-card .sample-art::after {
  content: '+';
  font-family: sans-serif;
  font-weight: 350;
  border: 1px solid #d5d3e1;
  width: 28px;
  height: 28px;
  line-height: 25px;
  bottom: 11px;
  right: 11px;
  color: #48495e;
  background: #ffffffeb;
}
.sample-card h3 { font-size: clamp(1.05rem, 1.5vw, 1.38rem); margin: 12px 0 4px; color: #22253f; line-height: 1.4; font-weight: 710; }
.sample-card p { font-size: 1rem; color: #5a5b71; line-height: 1.6; text-wrap: pretty; }
#lightbox { color: #20233d; border-radius: 12px; box-shadow: 0 22px 100px #15142d66; }
#lightbox .dialogbar { padding: 10px 15px; background: #f6f6fc; z-index: 1; }
#lightbox .dialog-actions { display: flex; gap: 5px; }
#lightbox .dialogbar button { min-height: 40px; color: #333253; font-size: .88rem; border-radius: 5px; }
#lightbox .dialogbar button:hover { background: #efedf7; }
#lightbox #closebox { color: #fff; border-color: #333253; background: #333253; }

/* A short explanation followed by the manual-order form. */
.form-area { background: #f5f5fa; padding: clamp(56px, 7.2vw, 106px) 0; color: #20233d; }
.form-area .form-grid { grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); align-items: start; gap: clamp(34px, 7vw, 108px); }
.order-copy .eyebrow { margin-bottom: 13px; }
.order-edition { display: flex; align-items: center; gap: 16px; margin: 24px 0 26px; padding-block: 19px; border-block: 1px solid #d4d4e0; }
.order-edition img { display: block; width: 57px; height: auto; box-shadow: 2px 3px 6px #22223921; }
.order-edition > div > strong { display: block; font-size: 1.03rem; line-height: 1.35; }
.order-edition p { color: #606177; font-size: .87rem; }
.order-edition .order-price { margin-top: 4px; gap: 8px; }
.order-edition .order-price strong { font-size: 1.15rem; color: #262844; line-height: 1.3; }
.order-copy .order-steps { margin: 0 0 22px; }
.order-steps li { border: 0; padding: 0 0 18px 31px; }
.order-steps li:last-child { padding-bottom: 0; }
.order-steps li::before { top: 3px; width: 21px; line-height: 21px; border-radius: 50%; content: counter(step); background: #e5e4f0; text-align: center; font-size: .78rem; color: #4c4b69; font-weight: 700; }
.order-steps li:not(:last-child)::after { content: ''; position: absolute; left: 10px; top: 27px; bottom: 3px; border-left: 1px solid #d6d5e3; }
.order-steps p { font-size: 1rem; line-height: 1.65; margin-top: 2px; color: #5b5c71; max-width: 25em; }
.order-faq { margin: 0; padding: 13px 0; border: 0; border-top: 1px solid #d4d4e0; }
.order-faq:last-child { border-bottom: 1px solid #d4d4e0; }
.form-area summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 650; }
.form-area summary::-webkit-details-marker { display: none; }
.form-area summary::after { content: ''; flex: 0 0 auto; width: 7px; height: 7px; border: solid #70728b; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: 0 4px 3px 0; }
.form-area details[open] > summary::after { transform: rotate(225deg); margin-bottom: -3px; }
.order-faq p { margin-top: 9px; font-size: .95rem; }
.form-area form { border-radius: 14px; padding: clamp(21px, 3.6vw, 49px); border: 1px solid #dcdce5; box-shadow: 0 3px 14px #25263c04; }
.form-area legend { font-size: 1.25rem; letter-spacing: -.045em; font-weight: 720; margin-bottom: 15px; }
.form-area .fields { gap: 14px 16px; }
.form-area fieldset + fieldset { margin-top: 27px; border: 0; padding-top: 0; }
.form-area .field input:not([type=checkbox]) { margin-top: 6px; border: 1px solid #c9cad8; border-radius: 6px; min-height: 47px; padding-inline: 12px; color: #252741; }
.form-area .field input::placeholder { color: #737387; }
.form-area .field input:not([type=checkbox]):hover { border-color: #918da8; }
.form-area .field input:not([type=checkbox]):disabled { background: #f0f0f5; }
.form-area .field input:focus-visible { outline: 2px solid #7d75a6; outline-offset: 1px; }
.form-area .field label.unknown { line-height: 1.35; align-items: center; margin-top: 9px; }
.form-area .time-note, .form-area .order-notice { border-radius: 5px; padding: 10px 13px; background: #f1eff8; }
.form-area .button { min-height: 50px; border-radius: 7px; }
.form-area .button:not(:disabled) { background: #333253; }
.form-area .button:not(:disabled):hover { background: #464167; }
.form-area .form-result.receipt { margin-top: 6px; }
footer { background: #24273f; color: #eeeef7; }
footer .wrap { padding-block: 26px; }
footer .wrap span { color: #c8c8d9; }

@media (max-width: 880px) {
  .calendar-feature .feature-grid { gap: 28px; padding: clamp(25px, 3.8vw, 36px); }
  .form-area .form-grid { gap: 28px; grid-template-columns: .85fr 1fr; }
}
@media (max-width: 720px) {
  .calendar-feature .feature-grid, .form-area .form-grid { grid-template-columns: 1fr; }
  .calendar-feature .feature-grid { gap: 26px; padding: 30px 24px; border-radius: 12px; }
  .feature-copy .eyebrow { margin-bottom: 12px; }
  .calendar-feature .feature-copy > p:not(.eyebrow) { margin: 14px 0 17px; max-width: 30em; }
  .month-sheet { max-width: 520px; }
  .month-days td { height: 29px; }
  .reading .section-head { display: block; }
  .reading .section-head p { margin-top: 12px; }
  .reading .section-head p br { display: none; }
  .reading .filters { margin-bottom: 14px; }
  .form-area .form-grid { gap: 28px; }
  .order-steps p { max-width: 40em; }
}
@media (max-width: 660px) {
  .reading .filters { gap: clamp(10px, 4vw, 26px); flex-wrap: nowrap; }
  .reading .filters button { white-space: nowrap; font-size: .9rem; }
  .reading .gallery { grid-template-columns: 1fr; gap: 0; }
  .sample-card { display: grid; column-gap: 15px; grid-template-columns: minmax(86px, 27%) 1fr; align-content: center; padding: 12px 0; border-bottom: 1px solid #e2e1ea; }
  .sample-card .sample-art { grid-area: 1 / 1 / 3 / 2; aspect-ratio: 1; border-radius: 6px; }
  .sample-card .sample-art img { height: 80%; }
  .sample-card .sample-art::after { width: 18px; height: 18px; font-size: 15px; line-height: 15px; right: 3px; bottom: 3px; }
  .sample-card h3 { grid-area: 1 / 2; align-self: end; margin: 0 0 5px; }
  .sample-card p { grid-area: 2 / 2; align-self: start; font-size: .95rem; line-height: 1.48; }
}
@media (max-width: 395px) {
  .calendar-feature .feature-grid { padding-inline: 18px; }
  .month-sheet { padding: 15px; }
  .month-sheet figcaption { gap: 5px; }
  .month-key { font-size: .75rem; gap: 4px; }
  .month-note { gap: 4px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .sample-card .sample-art img { transition: none; }
}
