/* Entry 002 — Calendar by emotional cost (rebuilt)
   Scene art direction: a calm mint-and-peach dawn. The hero is no longer a
   phone — it's the DAY itself, drawn to scale: each block's HEIGHT is what it
   costs you. The heaviest hour towers; the cheap one is a sliver. One accent —
   a warm clay — belongs only to the recovery the calendar defends for you.
   Display: Bricolage Grotesque for the numbers; serif for the reflection. */

.day-scene {
  --clay: #c2674a;            /* the one accent — recovery */
  --clay-soft: rgba(194, 103, 74, 0.14);
  --ink: #2b2620;             /* warm ink, never pure black */
  --soft: #8c8576;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 840px;
  padding: 100px 28px;
  border-color: rgba(196, 208, 190, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.34) 0%, rgba(243, 240, 228, 0.18) 50%, rgba(214, 219, 198, 0.4) 100%),
    url("../../public/media/backgrounds/pastel-10-plufow.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* a soft warm sunrise glow, upper-right */
.dawn-light {
  position: absolute;
  z-index: 0;
  right: 4%;
  top: -6%;
  width: 70%;
  height: 60%;
  background: radial-gradient(52% 56% at 70% 30%, rgba(255, 226, 186, 0.5), transparent 72%);
  filter: blur(46px);
  pointer-events: none;
}

.day-scene .scene-grain { opacity: 0.05; }
.day-scene .scene-vignette { box-shadow: inset 0 0 150px rgba(70, 70, 50, 0.16); }

/* ------------------------------------------------------------------ */
/* THE COMPONENT — the day, to scale                                   */
/* ------------------------------------------------------------------ */

.day {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  padding: 24px 24px 22px;
  border-radius: 28px;
  font-family: var(--ui-sans);
  color: var(--ink);
  background: rgba(252, 250, 246, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 40px 100px rgba(70, 72, 50, 0.22),
    0 10px 30px rgba(70, 72, 50, 0.12);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

.day-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.day-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}

.day-load {
  margin: 0;
  font-family: "Bricolage Grotesque", var(--ui-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.day-load small {
  font-family: var(--ui-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft);
}

.protect {
  flex: none;
  border: 1px solid rgba(43, 38, 32, 0.16);
  border-radius: 999px;
  background: var(--ink);
  color: #faf7f0;
  padding: 11px 16px;
  font: 600 12.5px/1 var(--ui-sans);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 160ms ease;
}
.protect:hover { transform: translateY(-1px); }
.day.protecting .protect { background: var(--clay); border-color: var(--clay); }

/* ---- the column ---- */
.column { display: flex; gap: 14px; }

.rail {
  flex: none;
  width: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0 24px;
  border-right: 1px solid rgba(43, 38, 32, 0.12);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--soft);
  text-align: right;
}
.rail span { padding-right: 8px; }

.blocks { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.block {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 16px;
  padding: 15px 17px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}
.block:hover { transform: translateY(-3px); }

/* HEIGHT = cost. darkness = cost. heavy towers; light is a sliver. */
.block.heavy {
  min-height: 178px;
  background: linear-gradient(165deg, #342f27, #241f18);
  color: #f6efe2;
  box-shadow: 0 18px 38px rgba(36, 31, 24, 0.34);
}
.block.medium {
  min-height: 118px;
  background: rgba(43, 38, 32, 0.12);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(70, 60, 40, 0.1);
}
.block.light {
  min-height: 74px;
  background: rgba(43, 38, 32, 0.06);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(70, 60, 40, 0.07);
}

.b-head { display: flex; flex-direction: column; gap: 4px; }
.b-time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}
.b-title { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }

.b-cost {
  flex: none;
  font-family: "Bricolage Grotesque", var(--ui-sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.9;
}
.block.light .b-cost, .block.medium .b-cost { color: var(--ink); opacity: 0.42; }

/* ---- recovery: the one accent, defended for you ---- */
.recovery {
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  max-height: 0;
  padding: 0 17px;
  border-radius: 16px;
  border: 1.5px dashed rgba(194, 103, 74, 0.45);
  background: transparent;
  opacity: 0.5;
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(0.2, 0.6, 0.2, 1), padding 420ms ease, opacity 320ms ease, background 320ms ease, border-color 320ms ease;
}
.day.protecting .recovery {
  max-height: 110px;
  padding: 16px 17px;
  opacity: 1;
  border-style: solid;
  border-color: var(--clay);
  background: var(--clay-soft);
}
.r-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
}
.r-desc { font-size: 13px; color: #6b5a4a; }

/* ---- reflection (soul voice) ---- */
.day-note {
  margin: 18px 2px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: #5c5446;
  transition: color 200ms ease;
}

.scene-credit.on-light { color: rgba(70, 62, 44, 0.4); }

@media (prefers-reduced-motion: reduce) {
  .block, .recovery, .protect { transition: none; }
}

@media (max-width: 640px) {
  .day-scene { min-height: 0; padding: 56px 14px; }
  .day { padding: 18px 16px; border-radius: 22px; }
  .day-bar { flex-direction: column; }
  .block.heavy { min-height: 150px; }
}
