/* Shadow Tales: a noir reading room, using the Android app's palette. */
.shadow-page { --shell: 1180px; background: #05080b; }
.shadow-page h1, .shadow-page h2, .shadow-page h3 { font-family: var(--display); font-weight: 500; }
.shadow-page h2 { margin: 0; font-size: clamp(3rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.035em; }
.shadow-page h2 em { color: var(--accent); font-weight: 500; }
.shadow-page p { text-wrap: pretty; }
.shadow-page .app-header { background: linear-gradient(#05080bba, transparent); }
.shadow-page .app-nav { min-height: 88px; border-color: #f4eee31a; }
.shadow-page .app-switcher a { min-width: 44px; min-height: 44px; }
.shadow-page .page-noise { opacity: .025; }
.st-eyebrow { margin: 0 0 25px; color: var(--accent); font: 500 .65rem/1.7 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.st-hero { position: relative; min-height: min(930px, 100svh); overflow: hidden; isolation: isolate; }
.st-hero-art, .st-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-hero-art { object-fit: cover; object-position: 65% center; z-index: -3; }
.st-hero-shade { z-index: -2; background: linear-gradient(90deg, #05080bf2, #05080b65 48%, transparent 80%), linear-gradient(0deg, #05080b, transparent 25%, #05080b33 85%); }
.st-hero-content { min-height: min(930px, 100svh); display: flex; flex-direction: column; align-items: flex-start; padding-block: 128px 28px; }
.st-wordmark { display: flex; gap: 16px; align-items: center; }
.st-wordmark img { width: 64px; height: 64px; object-fit: contain; }
.st-wordmark span { font: 500 2rem/1 var(--display); letter-spacing: -.02em; }
.st-wordmark p { margin: 8px 0 0; color: var(--muted); font-size: .75rem; }
.st-hero-copy { max-width: 670px; margin-block: auto; padding-block: 55px 72px; }
.st-hero-copy h1 { margin: 0; font-size: clamp(4.2rem, 7.8vw, 7.2rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.st-hero-copy h1 em { display: inline; color: var(--accent); font-weight: 500; }
.st-lead { max-width: 465px; margin: 28px 0 0; color: #c0c1c3; font-size: .95rem; line-height: 1.9; }
.st-hero-actions { display: flex; gap: 23px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.st-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; padding: 16px 22px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #0a0f14; font-size: .83rem; font-weight: 700; transition: background 180ms ease, transform 180ms ease; }
.st-button:hover { background: #e8b66d; transform: translateY(-2px); }
.st-button span { font-size: 1.15rem; }
.st-status { display: flex; gap: 9px; align-items: center; color: #b7babf; font-size: .7rem; }
.st-status > span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #d4a15f55; }
.st-hero-foot { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 22px; padding-top: 20px; border-top: 1px solid #f4eee31f; color: #b7babf; font: .7rem/1.7 var(--mono); letter-spacing: .03em; }
.st-hero-foot p { margin: 0; }
.st-hero-foot a { display: flex; align-items: center; gap: 25px; min-height: 44px; }
.st-hero-foot a:hover { color: var(--accent); }
.st-section { padding-block: clamp(76px, 8vw, 118px); }
.st-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; margin-bottom: 45px; }
.st-section-head > p { max-width: 350px; margin: 0 0 5px; color: var(--muted); font-size: .88rem; line-height: 1.85; }
.st-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.st-story-card { min-width: 0; overflow: hidden; border: 1px solid #2a323b; border-radius: 18px; background: #0a0f14; }
.st-story-image { position: relative; overflow: hidden; aspect-ratio: 1.65; background: #101922; }
.st-story-image::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #05080bbf); pointer-events: none; }
.st-story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms ease; }
.st-story-card:hover .st-story-image img { transform: scale(1.025); }
.st-image-note { position: absolute; z-index: 1; left: 28px; bottom: 22px; right: 20px; color: #e2d9c9; font: italic 1.2rem/1.3 var(--display); }
.st-story-copy { padding: 25px 30px 30px; }
.st-story-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 19px; color: var(--muted); font-size: .75rem; }
.st-story-meta span:first-child { color: var(--accent); }
.st-story-copy h3 { margin: 0; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.02em; }
.st-story-copy > p:not(.st-story-meta) { min-height: 3.6em; margin: 19px 0 15px; color: var(--muted); font-size: .85rem; line-height: 1.8; }
.st-text-link { display: inline-flex; gap: 30px; align-items: center; min-height: 44px; color: var(--accent); font-size: .78rem; font-weight: 600; }
.st-text-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.st-story-preview summary { display: flex; gap: 30px; align-items: center; width: fit-content; min-height: 44px; color: var(--accent); font-size: .78rem; font-weight: 600; list-style: none; cursor: pointer; }
.st-story-preview summary::-webkit-details-marker { display: none; }
.st-story-preview summary:hover { color: var(--ink); }
.st-story-preview summary span { font-size: 1.2rem; transition: transform 180ms ease; }
.st-story-preview[open] summary span { transform: rotate(45deg); }
.st-story-preview > div { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.st-story-preview > div p { color: #ded9d0; font: 500 1.2rem/1.65 var(--display); }
.st-story-preview > div > span { color: var(--muted); font-size: .65rem; }
.st-library-note { margin: 19px 0 0; color: var(--muted); font-size: .68rem; }
.st-moods { border-block: 1px solid #2a323b88; background: #0a0f14; }
.st-moods-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; }
.st-moods-intro > p:not(.st-eyebrow) { margin-top: 26px; color: var(--muted); font-size: .88rem; line-height: 1.9; }
.st-ornament { display: block; margin-top: 45px; width: 145px; color: var(--accent); text-align: center; font-size: 1rem; }
.st-ornament::before, .st-ornament::after { content: ''; display: inline-block; vertical-align: middle; width: 50px; height: 1px; margin-inline: 7px; background: var(--line); }
.st-mood-list { margin: 0; }
.st-mood-list > div { padding-block: 20px; border-bottom: 1px solid #2a323b; }
.st-mood-list > div:first-child { padding-top: 0; }
.st-mood-list > div:last-child { border: 0; padding-bottom: 0; }
.st-mood-list dt { display: flex; align-items: center; gap: 22px; font: 500 1.75rem/1.25 var(--display); }
.st-mood-list dt span { color: var(--accent); font: .6rem var(--mono); }
.st-mood-list dd { margin: 6px 0 0 37px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.st-reading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.st-reading-aside { align-self: start; }
.st-reading-aside > p:not(.st-eyebrow) { max-width: 260px; margin-top: 29px; color: var(--muted); font-size: .85rem; line-height: 1.8; }
.st-reading-aside cite { display: block; color: var(--ink); font-family: var(--display); font-size: 1.3rem; }
.st-reading-aside > p.st-reading-meta { margin-top: 15px; color: var(--accent); font-size: .68rem; }
.st-reading-time { display: block; margin-top: 50px; color: #d4a15f2b; font: 500 clamp(4rem, 7vw, 7rem)/1 var(--display); letter-spacing: -.05em; }
.st-reader { min-width: 0; padding: 0 0 0 42px; border-left: 1px solid var(--line); }
.st-reader-rule { position: relative; margin: 5px 0 34px; border-top: 1px solid var(--line); }
.st-reader-rule span { position: absolute; left: 50%; transform: translate(-50%, -55%); padding: 0 10px; color: var(--accent); background: var(--page); font-size: .9rem; }
.st-reader blockquote { margin: 0; }
.st-reader blockquote p { margin: 0 0 24px; color: #e2dccf; font: 500 clamp(1.35rem, 2vw, 1.6rem)/1.65 var(--display); }
.st-first-paragraph::first-letter { float: left; margin: 4px 9px 0 0; color: var(--accent); font-size: 4.7rem; line-height: .85; }
.st-reader-end { padding-block: 14px 20px; text-align: center; }
.st-reader-end > span { color: var(--accent); font-size: 1.5rem; letter-spacing: .4em; }
.st-reader-end p { color: var(--accent); font: italic 1.2rem var(--display); }
.st-excerpt-note { margin: 0; color: var(--muted); font-size: .66rem; line-height: 1.7; }
.st-experience { border-block: 1px solid #2a323b88; background: #0a0f14; }
.st-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; padding-top: 15px; }
.st-features article { padding-top: 25px; border-top: 1px solid var(--line); }
.st-feature-number { color: var(--accent); font: .6rem/1.7 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.st-features h3 { margin: 20px 0 13px; font-size: 1.8rem; letter-spacing: -.02em; }
.st-features p { max-width: 320px; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.85; }
.st-closing { display: flex; align-items: center; justify-content: space-between; gap: 55px; padding-block: 100px; }
.st-closing-copy > p:not(.st-eyebrow) { margin: 25px 0 10px; color: var(--muted); font-size: .85rem; line-height: 1.85; }
.st-other-app { width: min(100%, 365px); padding: 26px; border: 1px solid #2a323b; border-radius: 14px; background: #0a0f14; transition: border-color 180ms ease; }
.st-other-app:hover { border-color: var(--accent); }
.st-other-app > span { color: var(--muted); font: .6rem/1.7 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.st-other-app > div { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.st-other-app img { border-radius: 11px; }
.st-other-app strong { display: block; font-size: 1rem; }
.st-other-app small { display: block; margin-top: 6px; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.st-other-arrow { margin-left: auto; color: var(--accent); }
.shadow-page .app-footer { font-size: .7rem; }
.shadow-page .footer-row { flex-wrap: wrap; }

@media (min-width: 1600px) {
  .st-hero-art { object-position: center 56%; }
}
@media (max-width: 960px) {
  .st-hero-copy { max-width: 600px; }
  .st-hero-art { object-position: 61% center; }
  .st-hero-shade { background: linear-gradient(90deg, #05080bf5, #05080b90 55%, #05080b33), linear-gradient(0deg, #05080b, transparent 35%); }
  .st-section-head { gap: 32px; }
  .st-section-head > p { max-width: 285px; }
  .st-moods-layout, .st-reading { gap: 45px; }
  .st-reader { padding-left: 28px; }
  .st-features { gap: 25px; }
}
@media (max-width: 720px) {
  .shadow-page .app-nav { min-height: 76px; }
  .st-hero, .st-hero-content { min-height: 830px; }
  .st-hero-content { padding-top: 105px; }
  .st-wordmark span { font-size: 1.75rem; }
  .st-wordmark img { width: 52px; height: 52px; }
  .st-wordmark p { font-size: .68rem; }
  .st-hero-copy { padding-block: 66px 85px; }
  .st-hero-copy h1 { font-size: clamp(3.8rem, 11.5vw, 5.6rem); }
  .st-hero-copy .st-eyebrow { max-width: 300px; font-size: .6rem; }
  .st-hero-shade { background: linear-gradient(90deg, #05080be6, #05080b85), linear-gradient(0deg, #05080b, transparent 40%); }
  .st-hero-art { object-position: 72% center; }
  .st-lead { max-width: 390px; font-size: .88rem; }
  .st-hero-actions { gap: 18px; }
  .st-hero-foot { align-items: flex-start; flex-direction: column; gap: 2px; }
  .st-hero-foot a { gap: 16px; }
  .st-section-head { flex-direction: column; align-items: flex-start; gap: 26px; margin-bottom: 32px; }
  .st-section-head > p { max-width: 420px; }
  .st-story-grid { grid-template-columns: 1fr; gap: 24px; }
  .st-story-copy { padding: 24px; }
  .st-story-copy h3 { font-size: 2.5rem; }
  .st-image-note { left: 24px; font-size: 1.2rem; }
  .st-moods-layout, .st-reading { grid-template-columns: 1fr; gap: 40px; }
  .st-ornament, .st-reading-time { display: none; }
  .st-mood-list > div { padding-block: 17px; }
  .st-reader { padding-left: 0; border-left: 0; }
  .st-reader blockquote p { font-size: 1.5rem; }
  .st-reading-aside > p:not(.st-eyebrow) { max-width: none; }
  .st-features { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
  .st-features p { max-width: 450px; font-size: .85rem; }
  .st-features h3 { margin-top: 15px; }
  .st-closing { flex-direction: column; align-items: flex-start; gap: 40px; padding-block: 76px; }
  .st-other-app { width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shadow-page .reveal { opacity: 1; transform: none; }
  .st-story-card:hover .st-story-image img { transform: none; }
  .st-button:hover { transform: none; }
}
