/* The reading-room homepage. Interior pages retain their night palette. */
.theme.reading-home {
  --paper: #f7f3ea;
  --white: #fffdf8;
  --ink: #272722;
  --muted: #5f625e;
  --green: #9b7943;
  --line: #d8cebc;
  background: var(--paper);
}
.reading-home .site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  width: min(1320px, calc(100% - 112px));
  max-width: none;
  margin: 0 auto;
  padding: 22px 0;
  border: 0;
  justify-content: flex-start;
  gap: 54px;
}
.reading-home .wordmark {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  gap: 12px;
}
.reading-home .brand-symbol img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 7px;
}
.reading-home .beta {
  display: none;
}
.reading-home .site-header nav {
  gap: 22px;
  color: #33332c;
  font-size: 12px;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.reading-home .site-header nav a + a {
  border-left: 1px solid #8f897c;
  padding-left: 22px;
}
.reading-home .site-header nav a:hover {
  color: #80612f;
}
.reading-home .home {
  max-width: none;
  margin: 0;
}
.reading-home .eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: #98713c;
}
.reading-home h1,
.reading-home h2,
.reading-home h3 {
  font-family: var(--serif);
  font-weight: 500;
}
.reading-home p {
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.035em;
}
.reading-hero {
  background:
    linear-gradient(
      90deg,
      rgba(250, 247, 239, 0.99) 0%,
      rgba(250, 247, 239, 0.94) 16%,
      rgba(250, 247, 239, 0.5) 38%,
      rgba(250, 247, 239, 0) 60%
    ),
    url('/assets/reading-window.png') center 54% / cover;
}
.reading-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 90px 0 30px;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr 450px;
  align-items: center;
  gap: 80px;
  width: calc(100% - 112px);
}
.reading-intro {
  padding: 26px 0;
}
.reading-intro > .eyebrow {
  display: none;
}
.reading-intro h1 {
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.5;
  letter-spacing: 0.045em;
  margin: 0 0 22px;
}
/* A quiet, one-time entrance for the three hero lines. */
.reading-intro .kinetic-line {
  display: inline-block;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .reading-intro .kinetic-line {
    animation: reading-title-arrive 850ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .reading-intro .kinetic-line:nth-of-type(2) {
    animation-delay: 110ms;
  }
  .reading-intro .kinetic-line:nth-of-type(3) {
    animation-delay: 220ms;
  }
}
@keyframes reading-title-arrive {
  from {
    opacity: 0;
    transform: translate3d(0, 11px, 0);
    letter-spacing: 0.13em;
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    letter-spacing: 0.045em;
  }
}
.reading-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: #b3945d;
  margin: 24px 0;
}
.reading-intro p {
  max-width: 530px;
  margin-bottom: 0;
  color: #4c514f;
}
.reading-home .formSurface {
  width: 100%;
}
.reading-home .consultation-card {
  padding: 25px 28px 21px;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid #e6ddce;
  border-radius: 9px;
  box-shadow: 0 12px 48px #211a1c24;
}
.reading-home .consultation-card label {
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: 0.025em;
  font-family: var(--serif);
  font-weight: 600;
}
.reading-home .form-help {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0 16px;
}
.reading-home .textarea-wrap textarea {
  background: #fffdf86b;
  border-color: #cbc5b9;
  border-radius: 6px;
  min-height: 135px;
  padding: 13px 15px 28px;
  font-size: 16px;
  color: #34362f;
}
.reading-home .textarea-wrap textarea::placeholder {
  font-size: 13px;
  color: #73756c;
  opacity: 1;
}
.reading-home .character-count {
  color: #74766d;
  font-size: 10px;
  right: 10px;
  bottom: 10px;
}
.reading-home .example-label {
  color: #536d5c;
  font-size: 11px;
  margin-top: 12px;
}
.reading-home .example-chips {
  gap: 8px;
  margin: 7px 0 20px;
  flex-wrap: wrap;
}
.reading-home .example-chips button {
  background: transparent;
  border: 1px solid #bda679;
  font-size: 13px;
  color: #41463c;
  padding: 5px 16px;
  min-height: 38px;
}
.reading-home .example-chips button:hover {
  background: #eee4d1;
}
.reading-home .primary-button {
  background: #a78a55;
  border-color: #a78a55;
  border-radius: 5px;
  color: #fffdf7;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.reading-home .find-button {
  min-height: 48px;
}
.reading-home .find-button > span {
  margin-left: 12px;
}
.reading-home .find-button:disabled {
  opacity: 0.9;
  cursor: not-allowed;
}
.reading-home .primary-button:hover:not(:disabled) {
  background: #8b703f;
  border-color: #8b703f;
}
.reading-home .privacy-note {
  margin-top: 13px;
  justify-content: center;
}
.reading-home .privacy-note,
.reading-home .ai-disclosure {
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
  color: #62655f;
}
.reading-home .ai-disclosure {
  margin: 2px 0 0;
}
.reading-home .error-message {
  color: #963526;
  font-size: 13px;
  margin-top: 12px;
}
.reading-stories {
  background: radial-gradient(ellipse at 50% 0, #fffdf5, #f7f3ea);
}
.reading-stories-inner {
  width: calc(100% - 112px);
  max-width: 1320px;
  margin: auto;
  padding: 34px 0 40px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 35px;
}
.reading-stories-intro h2 {
  font-size: 27px;
  line-height: 1.65;
  margin: 18px 0;
  letter-spacing: 0.04em;
}
.reading-stories-intro p {
  font-size: 12px;
}
.reading-story-list {
  padding-top: 0;
  min-width: 0;
}
.reading-all-stories {
  display: block;
  text-align: right;
  font-size: 12px;
  margin-bottom: 20px;
}
.reading-all-stories span {
  margin-left: 9px;
}
.reading-home .storyGrid {
  gap: 25px;
}
.reading-story {
  min-width: 0;
}
/* Reveal each book card as it enters the viewport. */
@media (prefers-reduced-motion: no-preference) {
  .reading-home.reading-stories-motion-ready .reading-story {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 650ms cubic-bezier(0.2, 0.65, 0.3, 1),
      transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1);
  }
  .reading-home.reading-stories-motion-ready .reading-story.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reading-home .reading-story-cover .book-cover {
    transform: rotate(-1.2deg) scale(0.98);
    transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
  }
  .reading-home .reading-story.is-visible .reading-story-cover .book-cover {
    transform: rotate(0) scale(1);
  }
  .reading-home .reading-story:nth-child(2) { transition-delay: 140ms; }
  .reading-home .reading-story:nth-child(3) { transition-delay: 280ms; }
  .reading-home .reading-story:nth-child(2) .reading-story-cover .book-cover { transition-delay: 140ms; }
  .reading-home .reading-story:nth-child(3) .reading-story-cover .book-cover { transition-delay: 280ms; }
}
.reading-story-moment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.reading-story-moment > span:last-child {
  font-size: 10px;
  color: #64645d;
  line-height: 1.7;
}
.reading-home .storyNumber {
  font:
    30px/1 Georgia,
    serif;
  color: #ad8b50;
}
.reading-story-body {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 15px;
  align-items: start;
}
.reading-story-cover {
  display: block;
  min-width: 0;
}
.reading-home .reading-story-cover .book-cover {
  width: 100%;
  height: 150px;
  min-height: 0;
  padding: 13px 9px;
  border-radius: 1px;
  box-shadow: 2px 3px 10px #2c342a15;
}
.reading-story-cover .cover-category {
  font-size: 7px;
  letter-spacing: 0.06em;
}
.reading-story-cover .cover-title {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.7;
}
.reading-story-cover .cover-line {
  margin: 8px 0;
}
.reading-story-cover .cover-english {
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.reading-story-cover .cover-credit {
  font-size: 8px;
  line-height: 1.5;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.reading-story-copy h3 {
  font-size: 16px;
  line-height: 1.7;
  margin: 14px 0 8px;
  overflow-wrap: anywhere;
}
.reading-story-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reading-media {
  display: inline-block;
  color: #5f5c50;
  background: #eae4d7;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 10px;
}
.reading-story-copy p {
  font-size: 10px;
  line-height: 1.9;
  margin-top: 12px;
}
.reading-how {
  background:
    linear-gradient(90deg, #101e2a14 0%, #101e2a40 24%, #101e2af5 43%, #101e2a 65%),
    url('/assets/reading-lamp.png') left center / cover;
  color: #f4f1e7;
  scroll-margin-top: 20px;
}
.reading-how-inner {
  width: calc(100% - 112px);
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 30px;
  /* Percentage padding follows the viewport-wide parent, not this capped box. */
  padding: 44px 0 40px min(33vw, 475px);
  min-height: 400px;
}
.reading-how .eyebrow {
  color: #e1bb78;
}
.reading-how h2 {
  font-size: 27px;
  line-height: 1.6;
  margin: 8px 0 16px;
}
.reading-how p {
  font-size: 12px;
  color: #d1d8dc;
}
.reading-example {
  border: 1px solid #52616c;
  border-radius: 9px;
  padding: 15px 17px 12px;
  margin-top: 20px;
}
.reading-example h3 {
  font-size: 15px;
  color: #e4bf80;
  margin: 0 0 10px;
}
.reading-example-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: start;
}
.reading-example-steps div > span {
  font-size: 11px;
  color: #d1d8dc;
}
.reading-example-steps p {
  margin: 5px 0 0;
  font-size: 11px;
}
.reading-example-arrow {
  padding-top: 28px;
  color: #dbc59c;
}
.reading-how .reading-example-note {
  font-size: 9px;
  color: #aebbc5;
  margin: 12px 0 0;
}
.reading-reflection {
  border-left: 1px solid #63717a;
  padding: 20px 0 0 28px;
  margin-top: 9px;
}
.reading-reflection h3 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.reading-reflection p {
  font-size: 12px;
}
.reading-thought {
  background:
    linear-gradient(90deg, #fbf2e4ed 0%, #fbf2e4c7 32%, #fbf2e430 68%, #fbf2e400),
    url('/assets/evening-city.png') center 64% / cover;
}
.reading-thought-inner {
  width: calc(100% - 112px);
  max-width: 1320px;
  margin: auto;
  padding: 32px 0 36px;
  min-height: 230px;
}
.reading-thought h2 {
  font-size: 29px;
  line-height: 1.6;
  margin: 6px 0 12px;
}
.reading-thought p {
  font-size: 12px;
  color: #464c49;
  margin: 0;
}
.reading-home .site-footer {
  width: calc(100% - 112px);
  max-width: 1320px;
  margin: auto;
  padding: 20px 0;
  border-top: 0;
  color: #56594f;
  font-size: 11px;
}
.reading-home .site-footer > div:first-child {
  font-family: var(--serif);
  font-size: 17px;
  color: #35382e;
}
@media (min-width: 1550px) {
  .reading-hero-inner {
    min-height: 710px;
  }
  .reading-stories-inner {
    padding-top: 48px;
    padding-bottom: 52px;
  }
}
@media (max-width: 1180px) {
  .reading-home .site-header {
    gap: 30px;
  }
  .reading-hero-inner {
    grid-template-columns: 1fr 410px;
    gap: 40px;
    min-height: 620px;
  }
  .reading-home .consultation-card {
    padding: 23px;
  }
  .reading-home .consultation-card label {
    font-size: 23px;
  }
  .reading-stories-inner {
    grid-template-columns: 220px 1fr;
    gap: 25px;
  }
  .reading-home .storyGrid {
    gap: 20px;
  }
  .reading-story-body {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .reading-story-cover {
    width: 90px;
  }
  .reading-story-copy h3 {
    margin-top: 10px;
  }
  .reading-how-inner {
    padding-left: 28%;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 25px;
  }
  .reading-reflection {
    padding-left: 20px;
  }
}
@media (max-width: 900px) {
  .reading-home .site-header,
  .reading-hero-inner,
  .reading-stories-inner,
  .reading-how-inner,
  .reading-thought-inner,
  .reading-home .site-footer {
    width: calc(100% - 56px);
  }
  .reading-home .site-header {
    gap: 25px;
  }
  .reading-home .wordmark {
    font-size: 25px;
  }
  .reading-home .site-header nav {
    gap: 12px;
    font-size: 11px;
  }
  .reading-home .site-header nav a + a {
    padding-left: 12px;
  }
  .reading-hero-inner {
    grid-template-columns: 1fr 365px;
    gap: 20px;
  }
  .reading-intro h1 {
    font-size: 41px;
  }
  .reading-intro p {
    font-size: 12px;
  }
  .reading-home .consultation-card {
    padding: 21px;
  }
  .reading-home .consultation-card label {
    font-size: 21px;
  }
  .reading-home .example-chips button {
    font-size: 12px;
    padding: 5px 12px;
  }
  .desktop-break {
    display: none;
  }
  .reading-stories-inner {
    grid-template-columns: 180px 1fr;
    gap: 20px;
  }
  .reading-stories-intro h2 {
    font-size: 24px;
  }
  .reading-story-moment {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .reading-how-inner {
    padding-left: 25%;
    grid-template-columns: 1fr;
  }
  .reading-reflection {
    display: none;
  }
}
@media (max-width: 700px) {
  .reading-home .site-header {
    position: relative;
    width: 100%;
    padding: 18px 20px;
    margin: 0;
    background: #f8f4eb;
    gap: 14px;
    flex-wrap: wrap;
  }
  .reading-home .wordmark {
    font-size: 25px;
    gap: 9px;
  }
  .reading-home .site-header nav {
    display: flex;
    width: 100%;
    gap: 16px;
    font-size: 11px;
  }
  .reading-home .site-header nav a:last-child {
    display: inline;
  }
  .reading-home .site-header nav a + a {
    padding-left: 16px;
  }
  .reading-hero {
    background-position: center top;
    background-size: auto 550px;
    background-repeat: no-repeat;
    background-color: #eee5d7;
  }
  .reading-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    padding: 24px 20px 32px;
    min-height: 0;
    align-items: stretch;
    background: linear-gradient(90deg, #faf7efed, #faf7ef63);
  }
  .reading-intro {
    padding: 0 3px;
  }
  .reading-intro h1 {
    font-size: 40px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .reading-intro .reading-rule {
    margin: 18px 0;
  }
  .reading-intro p {
    max-width: 440px;
    font-size: 12px;
  }
  .reading-home .formSurface {
    max-width: 500px;
    align-self: center;
  }
  .reading-home .consultation-card {
    padding: 22px 19px;
    border-radius: 9px;
  }
  .reading-home .consultation-card label {
    font-size: 22px;
  }
  .reading-home .textarea-wrap textarea {
    min-height: 132px;
  }
  .reading-home .example-chips {
    gap: 7px;
  }
  .reading-home .example-chips button {
    min-height: 40px;
    font-size: 12px;
    padding: 5px 13px;
  }
  .reading-home .find-button {
    font-size: 13px;
    min-height: 50px;
  }
  .reading-home .privacy-note {
    display: block;
    font-size: 9px;
  }
  .reading-home .ai-disclosure {
    font-size: 9px;
  }
  .reading-stories-inner {
    width: 100%;
    padding: 30px 23px;
    display: block;
  }
  .reading-stories-intro h2 {
    font-size: 27px;
    margin-top: 12px;
  }
  .reading-stories-intro p br {
    display: none;
  }
  .reading-stories-intro .reading-rule {
    margin: 18px 0;
  }
  .reading-all-stories {
    margin: 20px 0;
  }
  .reading-home .storyGrid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .reading-story {
    border-top: 1px solid #ded5c5;
    padding-top: 20px;
  }
  .reading-story-moment {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .reading-story-moment > span:last-child {
    font-size: 12px;
  }
  .reading-story-body {
    grid-template-columns: 90px 1fr;
    gap: 20px;
  }
  .reading-story-copy h3 {
    font-size: 19px;
    margin-top: 5px;
  }
  .reading-story-copy p {
    font-size: 12px;
    line-height: 1.9;
  }
  .reading-how {
    background:
      linear-gradient(180deg, #101e2a5c, #101e2a 230px),
      url('/assets/reading-lamp.png') left top / auto 330px no-repeat #101e2a;
  }
  .reading-how-inner {
    display: block;
    width: 100%;
    padding: 160px 23px 30px;
  }
  .reading-how h2 {
    font-size: 24px;
  }
  .reading-how p {
    font-size: 12px;
  }
  .reading-example {
    padding: 15px 12px;
  }
  .reading-example-steps {
    gap: 7px;
    grid-template-columns: 1fr auto 1fr;
  }
  .reading-example-steps > :nth-child(4) {
    display: none;
  }
  .reading-example-steps > :last-child {
    grid-column: 1/-1;
    border-top: 1px solid #52616c;
    padding-top: 10px;
    margin-top: 5px;
  }
  .reading-example-steps > :last-child p br {
    display: none;
  }
  .reading-reflection {
    display: block;
    margin: 26px 0 0;
    padding: 0 0 0 20px;
  }
  .reading-reflection p br {
    display: none;
  }
  .reading-reflection h3 {
    font-size: 20px;
  }
  .reading-thought {
    background-position: center bottom;
  }
  .reading-thought-inner {
    width: 100%;
    padding: 28px 23px 40px;
    background: linear-gradient(90deg, #fbf2e4dd, #fbf2e488);
    min-height: 270px;
  }
  .reading-thought h2 {
    font-size: 25px;
    line-height: 1.7;
  }
  .reading-thought p {
    font-size: 12px;
  }
  .reading-thought p br {
    display: none;
  }
  .reading-home .site-footer {
    width: 100%;
    margin: 0;
    padding: 20px 23px;
    gap: 15px;
    align-items: start;
    flex-direction: column;
  }
  .reading-home .site-footer > div {
    flex-wrap: wrap;
    gap: 16px;
  }
}
