/* Art direction: generated chibi editorial concept; scoped below the preserved hero. */
.story-journey { --paper: #f5e9d2; --ink: #343039; padding-bottom: 60px; background: transparent; isolation: isolate; }
.story-journey::before { background: url('celestial-interior.webp') center / cover fixed; opacity: 1; mask-image: linear-gradient(transparent,#000 180px); }
.story-journey::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; background-image: radial-gradient(1px 1px at 12% 8%,#efcb86 80%,transparent),radial-gradient(1px 1px at 76% 22%,#edcf97 80%,transparent),radial-gradient(1px 1px at 44% 67%,#fff1ca 80%,transparent); background-size: 170px 230px,230px 310px,270px 370px; }
.story-journey .journey-intro { padding: 45px 0 70px; }
.story-journey .journey-section { padding: 55px 0; position: relative; }
.story-journey .journey-heading h2 { font-size: clamp(28px,3.2vw,44px); font-weight: 500; }
.story-journey .journey-heading { margin-bottom: 36px; }
.story-journey .journey-about { position: relative; border-radius: 3px 24px 4px 18px; overflow: visible; background: linear-gradient(115deg,#faf0dc,#e9d9bb); border: 1px solid #ead3a5; color: var(--ink); padding: 44px; min-height: 390px; transform: rotate(-1deg); box-shadow: 0 16px 30px #02071238,inset 0 0 65px #c89c4c15; backdrop-filter: none; }
.story-journey .journey-about::after { content: ''; position: absolute; bottom: -14px; left: 30px; right: 35px; height: 22px; background: rgba(255,248,231,.22); border: 1px solid rgba(255,244,216,.5); backdrop-filter: blur(8px); transform: rotate(1.1deg); z-index: -1; box-shadow: 0 6px 18px #0002; }
.story-journey .journey-about-copy { position: relative; z-index: 1; transform: rotate(1deg); }
.story-journey .journey-about .journey-heading { margin: 0 0 25px; }
.story-journey .journey-about .journey-heading h2 { color: #302d35; font-size: 37px; }
.story-journey .journey-about .journey-heading em { color: #a87a40; }
.story-journey .journey-about .journey-eyebrow { color: #977446; }
.story-journey .journey-about .journey-heading-note { display: none; }
.story-journey .journey-about .atlas-label { display: none; }
.story-journey .journey-about h3 { color: #504439; font-size: 20px; margin: 0 0 14px; }
.story-journey .journey-about-copy > p { color: #655541; font-size: 14px; line-height: 1.95; }
.story-journey .journey-location { color: #957041; border-color: #bd96566b; }
.story-mascot { margin: 0; position: relative; min-width: 0; }
.story-mascot img { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 12px 12px #070e1c30); animation: story-float 7s ease-in-out infinite; }
.story-wave { align-self: stretch; z-index: 2; transform: rotate(1deg); }
.story-wave img { position: absolute; width: 125%; max-width: 560px; height: 520px; bottom: -38px; left: -12%; }
.story-mascot figcaption { position: relative; color: #e9c486; font: 17px/1.7 var(--atlas-font); letter-spacing: .08em; text-align: center; }
.story-wave figcaption { position: absolute; bottom: -16px; right: 15px; transform: rotate(-6deg); font-size: 14px; color: #8b693b; }
.story-wave figcaption span { margin-left: 12px; }
.story-orbit { position: absolute; inset: 8% 0; border: 1px solid #d4ac615c; border-radius: 50%; transform: rotate(-30deg) scaleY(.8); }
.story-orbit::before,.story-orbit::after { content: '✦'; position: absolute; color: #f6d49b; text-shadow: 0 0 12px #ffe1a4aa; font-size: 22px; }
.story-orbit::before { top: 8%; left: 20%; }.story-orbit::after { bottom: 10%; right: 16%; font-size: 14px; }
.story-journey #services { padding-top: 30px; }
.story-journey #services .journey-heading h2 { font-size: 25px; }
.story-journey #services .journey-heading { margin-bottom: 15px; }
.story-journey .journey-service { border: 0; border-radius: 0; border-top: 1px solid #b6935f66; background: transparent; backdrop-filter: none; box-shadow: none; padding: 22px 12px 10px 0; }
.story-journey .journey-service:nth-child(2) { margin-top: 22px; }.story-journey .journey-service:nth-child(3n) { margin-top: 44px; }
.story-journey .journey-card-no { font-size: 20px; margin-bottom: 18px; }
.story-journey .journey-service h3 { font-size: 21px; }
.story-skill-scene { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; align-items: center; }
.story-laptop { padding-bottom: 34px; }
.story-laptop img { max-height: 480px; animation-delay: -2s; }
.story-laptop figcaption { transform: rotate(-4deg); }
.story-laptop figcaption small { display: block; font: 8px/1.8 Georgia,serif; letter-spacing: .22em; margin-top: 8px; }
.story-journey .journey-skills { display: flex; flex-direction: column; gap: 0; }
.story-journey .journey-skill { border: 0; border-bottom: 1px solid #c7a76d30; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; padding: 15px 0; }
.story-journey .journey-skill:nth-child(2n) { margin-left: 24px; }
.story-journey .journey-skill-top { gap: 12px; }
.story-journey .journey-skill .skill-monogram { width: 34px; height: 34px; background: #f3e2bf0c; }
.story-journey .journey-skill .skill-logo { width: 26px; height: 26px; }
.story-journey .journey-skill h3 { font-size: 15px; }
.story-journey .journey-skill-top > span:last-child { font-size: 20px; }
.story-journey .journey-skill-track { margin-top: 10px; height: 2px; }
.story-journey #projects { padding-top: 75px; }
.story-journey .journey-projects { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 35px; align-items: start; }
.story-journey .journey-project { grid-column: span 7; border-radius: 3px; border: 1px solid #dabd8880; background: var(--paper); color: var(--ink); backdrop-filter: none; box-shadow: 0 12px 30px #0208134d; transform: rotate(-2deg); transition: transform .35s,box-shadow .35s; }
.story-journey .journey-project:nth-child(4n+2) { grid-column: span 5; margin-top: 65px; transform: rotate(2deg); }
.story-journey .journey-project:nth-child(4n+3) { grid-column: span 5; transform: rotate(-1deg); }
.story-journey .journey-project:nth-child(4n) { grid-column: span 7; margin-top: 50px; transform: rotate(1.5deg); }
.story-journey .journey-project:hover { transform: translateY(-7px) rotate(0); box-shadow: 0 16px 32px rgba(101,74,39,.18); }
.story-journey .journey-project-art { height: 260px; padding: 20px; position: relative; background: linear-gradient(110deg,#18284422,transparent),url('celestial-interior.webp') center / cover; border: 0; overflow: hidden; }
.story-journey .journey-project:nth-child(4n+2) .journey-project-art { height: 205px; background-image: linear-gradient(90deg,#14253e44,transparent),url('celestial-library.webp'); background-position: 55% 22%; }
.story-journey .journey-project:nth-child(4n+3) .journey-project-art { background-position: 0% 50%; height: 230px; }
.story-journey .journey-project:nth-child(4n) .journey-project-art { background-position: right bottom; }
.story-journey .journey-project-art > img { position: absolute; width: 250px; height: 250px; object-fit: contain; right: 4%; bottom: -12px; }
.story-journey .journey-project-art > b { display: none; }
.story-journey .journey-project-art > span { align-self: start; font-size: 9px; padding: 7px 10px; background: #16243a99; border: 1px solid #ebc88b55; }
.story-journey .journey-project-copy { padding: 22px 25px; }
.story-journey .journey-project .atlas-label { color: #a17b47; font-size: 8px; }
.story-journey .journey-project h3 { color: #3a3432; font-size: 24px; }
.story-journey .journey-project p { color: #796548; font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.story-journey .journey-project-link { color: #926c36; border-color: #b395644d; }
.story-journey #comments { padding-top: 100px; }
.story-journey .journey-guestbook { gap: 45px; grid-template-columns: 1.1fr .9fr; }
.story-journey .journey-guestbook-write { background: linear-gradient(125deg,#fbefd9,#e8d6b7); color: #3d352e; border-radius: 3px 17px 3px 8px; border: 1px solid #d4b57d; box-shadow: 8px 10px 0 #e3d1af44,0 20px 30px #0003; transform: rotate(-1.5deg); backdrop-filter: none; padding: 35px; }
.story-journey .journey-guestbook-write :is(h3,.comment-form-card h3) { color: #524536; }
.story-journey .journey-guestbook-write .atlas-label { color: #a38251; }
.story-journey .journey-note,.story-journey .comment-guest-hint p { color: #88704f; }
.story-journey .comment-guest-hint a { color: #805820; }
.story-journey .comment-form textarea { color: #4b3c2a; background: #fffbf15e; border-color: #bb986171; font-size: 14px; }
.story-journey .comment-form textarea::placeholder { color: #a28a66; }
.story-letters { padding-top: 200px; position: relative; min-width: 0; }
.story-letter { position: absolute; right: 10%; top: -135px; width: 330px; height: 360px; }
.story-letter img { height: 100%; object-fit: contain; animation-delay: -3.5s; }
.story-journey .journey-comments { position: relative; overflow: visible; max-height: none; padding: 0; gap: 17px; }
.story-journey .journey-comment { background: linear-gradient(110deg,#f8ecd5,#eddec1); border: 1px solid #ccb17f; border-radius: 2px; color: #5b4934; padding: 23px; box-shadow: 0 7px 17px #0002; }
.story-journey .journey-comment:nth-child(2n) { transform: rotate(1.5deg); margin-left: 18px; }
.story-journey .journey-comment:nth-child(3n) { transform: rotate(-1deg); margin-right: 10px; }
.story-journey .journey-comment > p { color: #69563e; }
.story-journey .journey-comment-initial { color: #93672e; background: #dfc28b55; border-color: #bea16e; }
.story-journey .journey-comment time { color: #aa8c62; }
.story-journey .journey-comment-star { color: #b58a4c; }
.story-journey .journey-contact { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; border-top: 1px solid #d2ad6c66; padding: 55px 0 20px 240px; position: relative; min-height: 310px; }
.story-sleep { width: 250px; position: absolute; bottom: 0; left: -30px; }
.story-sleep img { animation-name: story-breathe; animation-duration: 5s; }
.story-journey .journey-contact h2 { font-size: 29px; }
.story-journey .journey-contact-links strong { font-size: 14px; }
@keyframes story-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes story-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.018); } }
@media(min-width:761px) { .story-motion .story-enter { opacity: 0; transform: translateY(25px); transition: opacity .7s,transform .7s; } .story-motion .story-enter.is-in-view { opacity: 1; transform: none; } }
@media(max-width:1000px) { .story-skill-scene { gap: 25px; grid-template-columns: .8fr 1.2fr; } .story-wave img { left: -10%; height: 440px; } .story-journey .journey-about { padding: 30px; } .story-journey .journey-contact { padding-left: 175px; } .story-sleep { width: 200px; } }
@media(max-width:760px) { .story-journey .journey-section { padding: 35px 0; } .story-journey .journey-about { padding: 28px; grid-template-columns: 1fr; gap: 0; } .story-wave { height: 290px; } .story-wave img { width: 100%; height: 340px; bottom: -50px; left: 0; } .story-wave figcaption { right: 0; bottom: -32px; font-size: 12px; } .story-journey .journey-about .journey-heading h2 { font-size: 28px; } .story-journey .journey-services { grid-template-columns: 1fr; gap: 10px; } .story-journey .journey-service:nth-child(n) { margin-top: 0; padding: 20px 0; } .story-skill-scene { grid-template-columns: 1fr; gap: 15px; } .story-laptop { max-width: 350px; margin: auto; } .story-laptop img { max-height: 330px; } .story-journey .journey-skill:nth-child(2n) { margin-left: 12px; } .story-journey .journey-projects { grid-template-columns: 1fr; gap: 30px; } .story-journey .journey-project:nth-child(n) { grid-column: auto; margin-top: 0; transform: rotate(-1deg); } .story-journey .journey-project:nth-child(2n) { transform: rotate(1deg); } .story-journey .journey-project-art { height: 210px; } .story-journey .journey-guestbook { grid-template-columns: 1fr; gap: 0; } .story-journey .journey-guestbook-write { padding: 25px; position: static; } .story-letters { padding-top: 250px; } .story-letter { width: 270px; height: 290px; top: -10px; right: 0; } .story-journey .journey-contact { padding: 30px 0 190px; grid-template-columns: 1fr; gap: 10px; } .story-sleep { width: 210px; left: auto; right: 0; bottom: -10px; } }
@media(prefers-reduced-motion:reduce) { .story-journey *, .story-journey *::before, .story-journey *::after { animation: none !important; transition: none !important; } .story-motion .story-enter { opacity: 1; transform: none; } }
/* Keep the concept's illuminated architecture at the edges of the reading canvas. */
.story-journey::before { background: url('celestial-interior.webp') center / cover fixed; opacity: 1; }
.story-journey .journey-guestbook-write { min-height: 350px; }
.story-orbit { animation: story-orbit-drift 70s linear infinite; }
@keyframes story-orbit-drift { from { transform: rotate(-30deg) scaleY(.8); } to { transform: rotate(330deg) scaleY(.8); } }
@media(min-width:761px) {
  .story-journey #skills > .journey-heading { margin-left: 43%; }
  .story-journey .journey-project { --story-angle: -2deg; }
  .story-journey .journey-project:nth-child(4n+2) { --story-angle: 2deg; }
  .story-journey .journey-project:nth-child(4n+3) { --story-angle: -1deg; }
  .story-journey .journey-project:nth-child(4n) { --story-angle: 1.5deg; }
  .story-motion .journey-project.story-enter { transform: translateY(25px) rotate(var(--story-angle)); }
  .story-motion .journey-project.story-enter.is-in-view { transform: rotate(var(--story-angle)); }
  .story-motion .journey-project.story-enter.is-in-view:hover { transform: translateY(-7px) rotate(0); }
  .story-motion .journey-about.story-enter.is-in-view { transform: rotate(-1deg); }
}
@media(prefers-reduced-motion:reduce) { .story-orbit { animation: none; } }

/* Clear glass revision: preserve the composition, let the library light through. */
.story-journey {
  --story-glass: linear-gradient(120deg,rgba(255,252,243,.48),rgba(255,244,222,.22));
  --story-edge: rgba(255,244,219,.76);
  --story-ink: #393842;
  --story-muted: #615449;
  --story-accent: #805c2d;
  color: var(--story-ink);
}
.story-journey :is(.journey-about,.journey-service,.journey-skill,.journey-project,.journey-guestbook-write,.journey-comment,.journey-contact) {
  color: var(--story-ink);
  background: var(--story-glass);
  border: 1px solid var(--story-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.70),0 10px 28px rgba(108,77,39,.10);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}
.story-journey .journey-heading {
  background: linear-gradient(110deg,rgba(255,249,233,.57),rgba(255,249,233,.20));
  border: 1px solid rgba(255,245,221,.54); border-radius: 14px; padding: 18px 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.story-journey .journey-about .journey-heading { background: none; border: 0; padding: 0; backdrop-filter: none; }
.story-journey :is(.journey-heading h2,.journey-contact h2,.journey-service h3,.journey-skill h3,.journey-comment strong) { color: var(--story-ink); }
.story-journey :is(.journey-heading h2 em,.journey-contact h2 em,.journey-eyebrow,.journey-heading-note,.journey-text-link,.journey-card-no,.journey-skill-top > span:last-child,.journey-contact-links > a > span,.journey-contact-links small) { color: var(--story-accent); }
.story-journey :is(.journey-service p,.journey-project p,.journey-note,.journey-comment > p,.journey-contact > div > p:last-child,.journey-contact-location) { color: var(--story-muted); }
.story-journey :is(.journey-intro p,.journey-intro small,.journey-contact-links > a,.journey-contact-links strong) { color: var(--story-ink); }
.story-journey .journey-intro { text-shadow: 0 1px 6px rgba(255,248,226,.85); }
.story-journey .journey-service { padding: 22px; border-radius: 14px; }
.story-journey .journey-skill { padding: 15px 18px; border-radius: 12px; margin-bottom: 10px; }
.story-journey .journey-skill-track { background: rgba(130,98,51,.16); }
.story-journey .journey-skill-track > span { background: linear-gradient(90deg,#ae854a,#d7ac67); }
.story-journey .journey-contact { padding-right: 24px; padding-bottom: 35px; }
.story-journey .journey-contact-links > a { border-color: rgba(143,106,55,.28); }
.story-laptop figcaption { display: table; margin: 0 auto; color: #79592e; background: rgba(255,246,225,.52); border: 1px solid var(--story-edge); border-radius: 12px; padding: 12px 16px; backdrop-filter: blur(14px); }
.story-orbit { border-color: rgba(169,128,66,.44); }
.story-journey .journey-comment time { color: #7c6647; }
.story-journey .comment-form textarea { background: rgba(255,252,244,.38); border-color: rgba(166,131,77,.40); }
.story-journey .journey-guestbook-write { box-shadow: 7px 9px 0 rgba(255,242,212,.16),inset 0 1px rgba(255,255,255,.7),0 12px 28px rgba(102,73,34,.12); }
.celestial-site.celestial-home .site-footer { background: rgba(255,246,227,.35); color: #5d503d; }
.celestial-site.celestial-home .site-footer a { color: #735b37; }
@media(max-width:760px) {
  .story-journey .journey-heading { padding: 16px; }
  .story-journey .journey-contact { padding: 28px 22px 190px; }
  .story-journey .journey-skill { padding-inline: 12px; }
}
.story-journey { --text: var(--story-ink); --muted: var(--story-muted); --accent: var(--story-accent); --atlas-glass: var(--story-glass); }
.story-journey .atlas-empty { color: var(--story-ink); }
.story-journey .atlas-empty p { color: var(--story-muted); }
