/* Book worlds & growing wishes — a shared, tactile KULA illustration family. */
body.kula-clear .illustrated-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  max-width: 1160px;
  padding-block: 48px 38px;
}
.illustrated-entry .entry-copy { min-width: 0; position: relative; z-index: 1; }
body.kula-clear .illustrated-entry .eyebrow {
  margin: 0 0 22px;
  
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.7;
}
body.kula-clear .illustrated-entry h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.22;
  
}
.illustrated-entry .entry-title-intro { display: block; margin-bottom: 6px; font-size: .72em; font-weight: 500; }
.illustrated-reading .entry-title-focus { display: block; }
body.kula-clear .illustrated-entry .entry-copy > p:not(.eyebrow) {
  
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 18px;
}
.illustrated-entry .entry-illustration { margin: 0; width: 100%; min-width: 0; position: relative; }
.illustrated-entry .entry-illustration img { display: block; width: 100%; height: auto; }
body.kula-clear .illustrated-reading .shelf-overview { gap: 20px 28px; margin-top: 30px;  font-size: 12px; }
body.kula-clear .illustrated-reading .shelf-overview > span { display: flex; align-items: baseline; gap: 5px; }
body.kula-clear .illustrated-reading .shelf-overview strong { font-family: inherit; font-size: 26px; font-weight: 500; line-height: 1.2; margin-right: 0; letter-spacing: -.04em;  }
body.kula-clear.kula-illustrated-reading .reading-saved { border-top: 1px solid var(--line); padding-top: 14px; }
body.kula-clear.kula-illustrated-reading .saved-disclosure summary { font-size: 15px; }
body.kula-clear.kula-illustrated-reading .reading-controls { border-radius: 18px;  }
body.kula-clear.kula-illustrated-reading .reading-card h2 { font-size: 22px; line-height: 1.4; }
body.kula-clear.kula-illustrated-reading .reading-description {  font-size: 15px; line-height: 1.8; }

body.kula-clear .illustrated-wishes { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding-bottom: 52px; }
body.kula-clear .illustrated-wishes h1 { margin-bottom: 24px; }
body.kula-clear .illustrated-wishes h2 { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.65; font-weight: 500; letter-spacing: -.02em; margin: 0 0 18px;  }
body.kula-clear .illustrated-wishes .entry-copy > p:not(.eyebrow) { font-size: 15px; }
.illustrated-wishes .entry-copy > p br { display: none; }
body.kula-clear .illustrated-wishes .entry-copy > .wish-invitation {  font-weight: 500; font-size: 15px; margin-top: 20px; }
body.kula-clear .illustrated-wishes .actions { gap: 14px 24px; margin-top: 26px; }
body.kula-clear .illustrated-wishes .button { border-radius: 999px; padding: 13px 23px; font-size: 14px; }
body.kula-clear .illustrated-wishes .text-link { font-size: 13px;  }
body.kula-clear.kula-illustrated-wishes .wish-layout { gap: 64px; padding-top: 42px; border-top: 1px solid var(--line); }
body.kula-clear.kula-illustrated-wishes .wish-aside h2 { font-size: 28px; line-height: 1.5; letter-spacing: -.025em; }
body.kula-clear.kula-illustrated-wishes .wish-aside > p:not(.eyebrow) {  font-size: 15px; line-height: 1.85; }
body.kula-clear.kula-illustrated-wishes .wish-example {   border-radius: 0 14px 14px 0; }
body.kula-clear.kula-illustrated-wishes .wish-example > span {  font-size: 12px; }
body.kula-clear.kula-illustrated-wishes .wish-example > p {  font-size: 17px; line-height: 1.8; }
body.kula-clear.kula-illustrated-wishes .wish-form { border-radius: 22px; padding: 30px;  }
body.kula-clear.kula-illustrated-wishes .wish-form legend,
body.kula-clear.kula-illustrated-wishes .wish-form > label:not(.wish-consent) { font-size: 15px; font-weight: 600; }
body.kula-clear.kula-illustrated-wishes .wish-form textarea { font-size: 16px;   border-radius: 12px; }
body.kula-clear.kula-illustrated-wishes .wish-form textarea::placeholder {  opacity: 1; }
body.kula-clear.kula-illustrated-wishes .wish-note { font-size: 12px;  line-height: 1.8; }
body.kula-clear.kula-illustrated-wishes .wish-stages {  font-size: 13px; gap: 12px 28px; }
body.kula-clear.kula-illustrated-wishes .section-heading h2,
body.kula-clear.kula-illustrated-wishes .wish-tools > h2 { font-size: 28px; line-height: 1.4; }
body.kula-clear.kula-illustrated-wishes .wish-card h3 { font-size: 20px; line-height: 1.5; }

@media (max-width: 1050px) and (min-width: 701px) {
  body.kula-clear .illustrated-entry { gap: 20px; }
  body.kula-clear .illustrated-wishes { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  body.kula-clear .illustrated-reading .shelf-overview { gap: 14px; font-size: 11px; }
}
@media (max-width: 700px) {
  body.kula-clear .illustrated-entry { grid-template-columns: 1fr; gap: 8px; padding-block: 28px 20px; }
  body.kula-clear .illustrated-entry .eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 16px; }
  body.kula-clear .illustrated-entry h1 { font-size: 38px; line-height: 1.22; margin-bottom: 16px; }
  body.kula-clear .illustrated-entry .entry-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; }
  .illustrated-entry .entry-illustration { width: min(100%, 300px); justify-self: center; }
  body.kula-clear .illustrated-reading .shelf-overview { gap: 16px; font-size: 11px; margin-top: 22px; }
  body.kula-clear .illustrated-reading .shelf-overview strong { font-size: 24px; }
  body.kula-clear .illustrated-wishes { padding-bottom: 24px; }
  body.kula-clear .illustrated-wishes h1 { font-size: 38px; margin-bottom: 18px; }
  body.kula-clear .illustrated-wishes h2 { font-size: 20px; line-height: 1.65; }
  .illustrated-wishes .wish-question { display: block;  }
  body.kula-clear .illustrated-wishes .actions { margin-top: 22px; }
  body.kula-clear .illustrated-wishes .entry-illustration { margin-block: 10px 0; }
  body.kula-clear.kula-illustrated-wishes .wish-layout { gap: 24px; padding-top: 28px; }
  body.kula-clear.kula-illustrated-wishes .wish-aside h2 { font-size: 25px; }
  body.kula-clear.kula-illustrated-wishes .wish-form { padding: 23px 18px; border-radius: 18px; }
  body.kula-clear.kula-illustrated-wishes .section-heading h2,
  body.kula-clear.kula-illustrated-wishes .wish-tools > h2 { font-size: 25px; }
}
@media (max-width: 370px) {
  body.kula-clear .illustrated-entry h1 { font-size: 34px; }
  body.kula-clear .illustrated-reading .shelf-overview { gap: 11px; font-size: 10px; }
}
@media print { .entry-illustration { display: none !important; } }

/* Modest illustrations support the reading, using the original editorial palette. */
body.kula-clear .illustrated-entry {
  grid-template-columns:minmax(0,1fr) 280px;
  gap:40px;
}
body.kula-clear .illustrated-entry .entry-illustration { width:280px;max-width:100%;justify-self:end; }
body.kula-clear .illustrated-entry .eyebrow,
body.kula-clear .illustrated-entry .entry-copy>p:not(.eyebrow) { color:var(--muted); }
body.kula-clear .illustrated-entry .entry-title-focus { color:var(--orange); }
body.kula-clear.kula-illustrated-wishes .wish-example { background:var(--sage); }
body.kula-clear.kula-illustrated-wishes .wish-form { background:var(--white); }
@media(min-width:701px) and (max-width:1050px) {
  body.kula-clear .illustrated-entry { grid-template-columns:minmax(0,1fr) 220px;gap:28px; }
  body.kula-clear .illustrated-entry .entry-illustration { width:220px; }
}
@media(max-width:700px) {
  body.kula-clear .illustrated-entry { grid-template-columns:1fr;gap:4px; }
  body.kula-clear .illustrated-entry .entry-illustration { width:170px;justify-self:end;margin-top:0; }
}

/* A small, one-shot spring for the reading invitation. */
.illustrated-reading .imagination-phrase { overflow:visible;white-space:nowrap;line-height:1.45; }
.illustrated-reading .imagination-letter {
 display:inline-block;position:relative;transform-origin:50% 80%;
 transform:translateY(var(--rest-y,0px)) rotate(var(--rest-r,0deg));
}
.illustrated-reading .imagination-phrase.is-springing .imagination-letter {
 animation:reading-word-spring 850ms cubic-bezier(.2,.65,.3,1) calc(var(--i)*65ms) both;
}
@keyframes reading-word-spring {
 0%,100% { transform:translateY(var(--rest-y)) rotate(var(--rest-r)); }
 28% { transform:translateY(calc(var(--rest-y) - 8px)) rotate(calc(var(--rest-r) - 2deg)); }
 50% { transform:translateY(calc(var(--rest-y) + 2px)) rotate(calc(var(--rest-r) + 1deg)); }
 72% { transform:translateY(calc(var(--rest-y) - 2px)) rotate(var(--rest-r)); }
}
@media(prefers-reduced-motion:reduce) {
 .illustrated-reading .imagination-letter { transform:none; }
 .illustrated-reading .imagination-phrase.is-springing .imagination-letter { animation:none; }
}

/* Direct collection links keep their destination shareable and keyboard accessible. */
body.kula-clear .illustrated-reading .shelf-overview { gap:10px 22px;flex-wrap:wrap; }
.illustrated-reading .reading-entry-choice {
 display:inline-flex;align-items:center;gap:6px;min-height:44px;
 padding:7px 0;border-bottom:1px solid var(--line);color:var(--ink);
}
.illustrated-reading .reading-entry-choice .choice-arrow { margin-left:4px;color:var(--orange);font-size:16px; }
.illustrated-reading .reading-entry-choice:hover { color:var(--orange);border-color:var(--orange); }
.illustrated-reading .reading-entry-choice:focus-visible { outline:2px solid var(--orange);outline-offset:5px; }
#reading-library { scroll-margin-top:24px; }
@media(max-width:700px){
 body.kula-clear .illustrated-reading .shelf-overview { gap:6px 16px; }
}
