/* Anima Visual · journal post pages
   Loaded after site.css (the homepage's own styles), so the menu, logo, footer, cursor, grain and music bar are identical.
   Everything here is scoped to the post itself. */

.post { position: relative; padding: clamp(7.5rem, 13vw, 10rem) 1.4rem 0; overflow-x: clip; }
.post__article { position: relative; z-index: 3; max-width: 720px; margin: 0 auto; }

/* ---------- atmosphere: turning circle, floating tarot, drifting doodles ---------- */
.post__halo { position: absolute; top: clamp(1rem, 3vw, 3rem); left: 50%; z-index: 0; width: min(1040px, 135vw); transform: translateX(-50%); pointer-events: none; opacity: .065;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); }
.post__halo img { width: 100%; height: auto; animation: ncSpin 260s linear infinite; }
.post__tarot { position: absolute !important; z-index: 2; top: clamp(9rem, 14vw, 12rem); }
.post__tarot.is-left { left: max(2%, calc(50% - 640px)); --r: -9deg; }
.post__tarot.is-right { right: max(2%, calc(50% - 640px)); top: clamp(14rem, 20vw, 19rem); --r: 8deg; animation-delay: -4s !important; }
.post__doodle { position: absolute; z-index: 1; width: 62px; height: 62px; pointer-events: none; opacity: .38; filter: url(#ink-rough); animation: postDrift 11s ease-in-out infinite alternate; }
.post__doodle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.post__doodle.d-gold { color: var(--gold-hot); } .post__doodle.d-sage { color: var(--sage-warm); } .post__doodle.d-rose { color: var(--rose); opacity: .5; }
@keyframes postDrift { from { transform: translateY(0) rotate(var(--dr, -6deg)); } to { transform: translateY(-14px) rotate(calc(var(--dr, -6deg) + 8deg)); } }
@media (max-width: 1100px) { .post__tarot, .post__doodle { display: none; } }

/* ---------- heading ---------- */
.post__head { position: relative; z-index: 3; text-align: center; margin: 0 auto clamp(2.4rem, 5vw, 3.4rem); }
.post__head .tw-heading { margin-bottom: 1.6rem; font-size: .92rem !important; }
.post__head h1 { margin: 0 auto; max-width: 20ch; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 5.2vw, 3.8rem); line-height: 1.06; letter-spacing: -.01em; color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.post__head h1 .amp { color: var(--gold-hot); }
.post__flourish { display: block; width: min(320px, 70%); height: 28px; margin: 1.1rem auto 1.2rem; overflow: visible; color: var(--gold-hot); }
.post__flourish path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: postInk 1.8s cubic-bezier(.6,0,.2,1) .4s forwards; }
.post__flourish circle { fill: currentColor; opacity: 0; animation: postFade .6s ease 1.9s forwards; }
@keyframes postInk { to { stroke-dashoffset: 0; } }
@keyframes postFade { to { opacity: 1; } }
.post__lede { margin: 0 auto; max-width: 42ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.12rem, 2vw, 1.34rem); line-height: 1.55; color: var(--sage-warm); }
.post__lede em { color: var(--gold-hot); }

/* ---------- polaroids (cover + photos), never wider than the words ---------- */
.post__cover, .post__fig { position: relative; margin: 0 auto; width: 100%; padding: 12px 12px 14px; background: #FBF4E3; border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(20,24,18,.08); transform: rotate(var(--r, -1deg)); transition: transform .6s cubic-bezier(.2,.9,.2,1); }
.post__cover { --r: -1.2deg; margin-bottom: clamp(2.8rem, 5vw, 3.6rem); }
.post__cover:hover, .post__fig:hover { transform: rotate(0deg) scale(1.01); }
.post__cover::before, .post__fig::before { content: ""; position: absolute; top: -13px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(-3deg); z-index: 2;
  background: rgba(255, 240, 200, .55); box-shadow: 0 2px 6px rgba(0,0,0,.12); border: 1px solid rgba(20,24,18,.05); }
.post__cover img, .post__fig img { display: block; width: 100%; height: auto; cursor: zoom-in; filter: sepia(.08) saturate(.96); }
.post__fig { margin: 3rem auto 3.2rem; }
.post__fig:nth-of-type(even) { --r: 1.1deg; }
.post__fig.is-tall { width: min(460px, 100%); }
.post__fig.has-cap { padding-bottom: 12px; }
.post__fig figcaption { padding: .9rem .4rem .2rem; text-align: center; font-family: var(--hand); font-size: 1rem; line-height: 1.5; color: #3b3326; }

/* photo trios: a small spread of polaroids */
.post__gallery { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.6rem .2rem; margin: 3.4rem auto 3.6rem; padding: 0 .4rem; }
.post__gallery .g { position: relative; flex: 0 0 calc(33.333% - .2rem); margin: 0 -6px; padding: 9px 9px 26px; background: #FBF4E3; border-radius: 2px;
  box-shadow: 0 22px 40px -22px rgba(0,0,0,.95), 0 0 0 1px rgba(20,24,18,.08); transition: transform .6s cubic-bezier(.2,.9,.2,1), z-index 0s; }
.post__gallery .g:nth-child(3n+1) { transform: rotate(-3.5deg) translateY(10px); }
.post__gallery .g:nth-child(3n+2) { transform: rotate(2deg); z-index: 1; }
.post__gallery .g:nth-child(3n) { transform: rotate(-1.5deg) translateY(14px); }
.post__gallery .g:hover { transform: rotate(0) scale(1.06) translateY(-4px); z-index: 5; }
.post__gallery img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; cursor: zoom-in; filter: sepia(.08); }
.post__gallery.n2 .g { flex-basis: calc(46% - .2rem); }

/* ---------- words ---------- */
.post__body { position: relative; font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.82; color: rgba(240,231,206,.9); }
.post__body p { margin: 0 0 1.3em; }
.post__body p.has-drop::first-letter { float: left; margin: .06em .12em 0 0; font-family: var(--serif); font-style: italic; font-size: 4.1em; line-height: .78; color: var(--gold-hot);
  text-shadow: 0 0 22px rgba(217,182,121,.35); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.post__body h2 { position: relative; margin: 2.3em 0 .7em; padding-bottom: .5em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.22; color: var(--gold-hot);
  font-variation-settings: "opsz" 72, "SOFT" 80, "WONK" 1; }
.post__body h2::before { content: "✦"; margin-right: .5rem; font-style: normal; font-size: .55em; vertical-align: .3em; color: var(--sage-warm); }
.post__body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 140px; height: 8px; opacity: .55;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 8'><path d='M1 5 Q 35 1 70 4.5 T 139 3' fill='none' stroke='%23D9B679' stroke-width='1.3' stroke-linecap='round'/></svg>") left center / 100% 100% no-repeat; }
.post__body a { color: var(--gold-hot); text-decoration: underline; text-decoration-style: dotted; text-decoration-color: rgba(217,182,121,.6); text-underline-offset: 4px; transition: color .3s; }
.post__body a:hover { color: var(--cream); text-decoration-style: solid; }
.post__body strong { color: var(--cream); font-weight: 600; }
.post__body em { color: var(--paper); }
.post__body ul, .post__body ol { margin: 0 0 1.5em; padding: 0; list-style: none; counter-reset: li; }
.post__body li { position: relative; padding-left: 2rem; margin-bottom: .8em; }
.post__body ul li::before { content: "✦"; position: absolute; left: .3rem; top: .2em; font-size: .7rem; color: var(--gold-hot); }
.post__body ol li { counter-increment: li; }
.post__body ol li::before { content: counter(li, lower-roman) "."; position: absolute; left: 0; font-family: var(--serif); font-style: italic; color: var(--gold-hot); }

/* rune dividers */
.post__runes { display: flex; justify-content: center; align-items: center; gap: clamp(.9rem, 3vw, 1.6rem); margin: 2.8rem 0 3rem; color: var(--gold-hot); }
.post__runes svg { width: 15px; height: 23px; opacity: .45; filter: drop-shadow(0 0 6px rgba(217,182,121,.5)); animation: runeGlow 9s ease-in-out infinite; }
.post__runes svg:nth-child(2n) { animation-delay: -3s; } .post__runes svg:nth-child(3n) { animation-delay: -6s; }

/* sign-off */
.post__sign { display: flex; align-items: center; gap: .7rem; margin-top: 2rem !important; font-family: var(--hand); font-size: 1.35rem; line-height: 2; color: var(--gold-hot); transform: rotate(-2deg); }
.post__sign svg { width: 30px; height: 30px; flex: none; color: var(--gold-hot); opacity: .8; }

/* ---------- films: a strip of film you can play ---------- */
.post__video { position: relative; display: block; width: 100%; margin: 3rem auto 3.2rem; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: none;
  background: #000 center / cover no-repeat; box-shadow: 0 30px 60px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(217,182,121,.25); transform: rotate(.6deg); transition: transform .6s cubic-bezier(.2,.9,.2,1); }
.post__video:hover { transform: rotate(0) scale(1.01); }
.post__video::before, .post__video::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; z-index: 2; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(10,13,10,.9) 9px 14px, transparent 14px 22px); background-color: rgba(10,13,10,.55); }
.post__video::before { top: 0; } .post__video::after { bottom: 0; }
.post__video span { position: absolute; top: 50%; left: 50%; z-index: 3; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(240,231,206,.8); background: rgba(10,13,10,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .3s, transform .3s; }
.post__video span::after { content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border-left: 19px solid var(--cream); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.post__video:hover span { background: rgba(217,182,121,.85); transform: translate(-50%, -50%) scale(1.07); }
.post__video i { position: absolute; left: 0; right: 0; bottom: 1.4rem; z-index: 3; font-style: normal; text-align: center; font-family: var(--type); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 8px #000; }
.post__video .post__video-name { display: none; }

/* ---------- invitation ---------- */
.post__cta { position: relative; z-index: 3; display: grid; grid-template-columns: 150px 1fr; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center; max-width: 780px; margin: clamp(4rem, 8vw, 5.5rem) auto 0; padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: 16px; background: radial-gradient(ellipse at 20% 30%, rgba(217,182,121,.1), transparent 60%), linear-gradient(160deg, rgba(27,37,25,.78), rgba(10,13,10,.72));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 30px 70px -40px rgba(0,0,0,.9), inset 0 0 0 1px rgba(217,182,121,.26); }
.post__cta-card { width: 150px; border-radius: 8px; transform: rotate(-6deg); box-shadow: 0 24px 40px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(217,182,121,.3), 0 0 36px -6px rgba(217,182,121,.35); animation: tarotFloat 9s ease-in-out infinite alternate; --r: -6deg; }
.post__cta .tw-heading { margin-bottom: .9rem; font-size: .8rem !important; }
.post__cta h2 { margin: 0 0 .6rem; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; color: var(--cream); font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1; }
.post__cta p { margin: 0 0 1.4rem; color: rgba(240,231,206,.78); line-height: 1.6; max-width: 44ch; }
.post__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.post__ticket { position: relative; display: inline-flex; align-items: center; padding: .9rem 1.5rem; color: var(--gold-hot); font-family: var(--serif); font-style: italic; font-size: 1.15rem; text-decoration: none; transform: rotate(-1.2deg); transition: transform .35s cubic-bezier(.2,.8,.2,1), color .3s; }
.post__ticket svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.post__ticket path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post__ticket path.t2 { stroke-width: .9; opacity: .45; }
.post__ticket span { position: relative; }
.post__ticket::after { content: "✦"; position: absolute; right: -8px; top: -9px; font-size: .7rem; color: var(--gold-hot); animation: spellTwinkle 2.6s ease-in-out infinite; }
.post__ticket:hover { transform: rotate(.8deg) scale(1.05); color: var(--cream); }
.post__link { font-family: var(--type); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-warm); text-decoration: none; border-bottom: 1px solid rgba(169,175,140,.45); padding-bottom: .15rem; }
.post__link:hover { color: var(--gold-hot); border-color: var(--gold-hot); }

/* ---------- more from the journal: arched glass cards ---------- */
.post__more { position: relative; z-index: 3; max-width: 1080px; margin: clamp(4.5rem, 9vw, 6.5rem) auto 0; padding: 0 .4rem; text-align: center; }
.post__more .lbl { display: block; font-family: var(--caps); font-variant: small-caps; letter-spacing: .3em; font-size: .78rem; color: var(--sage-warm); }
.post__more h2 { margin: .5rem 0 2.2rem; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--cream); }
.post__more h2 em { color: var(--gold-hot); }
.post__more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); }
.post__more li:nth-child(2) { transform: translateY(-14px); }
.post__more a { display: block; height: 100%; padding: 12px 12px 1.3rem; border-radius: 180px 180px 12px 12px; text-decoration: none; text-align: center;
  background: linear-gradient(170deg, rgba(239,227,196,.08), rgba(239,227,196,.02)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(217,182,121,.28), 0 26px 50px -30px rgba(0,0,0,.9); transition: transform .5s cubic-bezier(.2,.9,.2,1), box-shadow .4s; }
.post__more a:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(217,182,121,.7), 0 34px 60px -30px rgba(0,0,0,.95), 0 0 34px -8px rgba(217,182,121,.35); }
.post__more img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 170px 170px 6px 6px; filter: sepia(.15); transition: filter .4s; }
.post__more a:hover img { filter: none; }
.post__more small { display: block; margin-top: 1rem; font-family: var(--type); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hot); }
.post__more b { display: block; margin: .4rem .4rem 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08rem; line-height: 1.3; color: var(--cream); }
.post__back { display: inline-block; margin: 2.6rem auto 0; }
.post-page .colophon { margin-top: clamp(5rem, 10vw, 7rem); }

/* ---------- lightbox ---------- */
.plb { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 3vh 3vw; background: rgba(6,8,6,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s; }
.plb.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.plb img { max-width: 100%; max-height: 92vh; width: auto; height: auto; padding: 10px; background: #FBF4E3; box-shadow: 0 40px 100px -30px #000; }

@media (max-width: 760px) {
  .post__gallery { gap: .9rem; }
  .post__gallery .g { flex-basis: calc(50% - .6rem); margin: 0; }
  .post__gallery .g:nth-child(n) { transform: rotate(-1.5deg); }
  .post__gallery .g:nth-child(2n) { transform: rotate(1.5deg); }
  .post__cta { grid-template-columns: 1fr; text-align: center; }
  .post__cta-card { width: 120px; margin: -3.4rem auto 0; }
  .post__cta p { margin-left: auto; margin-right: auto; }
  .post__cta-row { justify-content: center; }
  .post__more ul { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .post__more li:nth-child(2) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .post__halo img, .post__doodle, .post__cta-card { animation: none !important; } .post__flourish path { stroke-dashoffset: 0; } .post__flourish circle { opacity: 1; } }
