/* ============ Unclouded Within ============ */
:root {
  --ink: #2c2336;
  --ink-soft: #4f4259;
  --mist: #fbf5f0;
  --mist-2: #f3e6df;
  --slate: #6b5878;
  --night: #3b3456;
  --gold: #d98f6a;
  --gold-soft: #ffd9b8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }

/* ---------- header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 64px);
  color: #eef1f4;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; color: var(--gold-soft); }
.site-nav { display: flex; gap: 30px; }
.site-nav a { text-decoration: none; font-size: .86rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: .85; position: relative; padding: 4px 0; transition: opacity .3s; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-soft); transition: width .35s ease; }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; height: 1.5px; background: #eef1f4; margin: 7px 0; transition: transform .3s; }

/* ---------- shared bits ---------- */
.eyebrow { font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: #b8643f; margin: 0 0 14px; font-weight: 500; }
.eyebrow.light { color: var(--gold-soft); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; }
.center { text-align: center; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto; }
.ornament span { width: 70px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament i { width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); }

.button { display: inline-block; text-decoration: none; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 15px 34px; border: 1px solid var(--slate); color: var(--slate); background: transparent;
  transition: all .35s ease; font-weight: 400; }
.button:hover { background: var(--slate); color: var(--mist); }
.button.light { border-color: rgba(255,255,255,.75); color: #fff; backdrop-filter: blur(6px); background: rgba(59,52,86,.55); }
.button.light:hover { background: rgba(238,241,244,.92); color: var(--night); }
.button.ghost { border-color: var(--gold); color: var(--ink); }
.button.ghost:hover { background: var(--gold); color: #fff; }
.text-link { color: var(--slate); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; font-size: .95rem; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; background: var(--night); }
.landscape { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun { animation: breathe 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.stars circle { animation: twinkle 5s ease-in-out infinite; }
.stars circle:nth-child(2n) { animation-delay: 2s; }
.stars circle:nth-child(3n) { animation-delay: 3.5s; }
.shimmer path { animation: shimmer 6s ease-in-out infinite; }
.shimmer path:nth-child(2n) { animation-delay: 2.5s; }

.fog { position: absolute; left: -50%; width: 200%; pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,236,228,.55) 0%, rgba(255,236,228,.18) 45%, transparent 70%);
  filter: blur(14px); }
.fog-1 { height: 30%; top: 56%; animation: drift 70s linear infinite; opacity: .7; }
.fog-2 { height: 22%; top: 60%; animation: drift 95s linear infinite reverse; opacity: .55; }
.fog-3 { height: 26%; top: 48%; animation: drift 120s linear infinite; opacity: .35; }

.hero-text { position: relative; z-index: 5; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; text-align: center; padding: max(108px, 12vh) 24px 0; color: #f2f4f6; }
.hero-text::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: min(1100px, 120%); height: 100%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 42% at 50% 34%, rgba(43,36,66,.62), rgba(43,36,66,.28) 55%, transparent 80%); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 400; letter-spacing: .01em;
  text-shadow: 0 2px 6px rgba(30,24,48,.55), 0 4px 34px rgba(30,24,48,.6); animation: rise 1.8s ease both; }
.hero h1 em { color: #ffdcbc; font-style: italic; }
.hero-sub { font-size: 1.1rem; opacity: .9; margin: 16px 0 28px; text-shadow: 0 1px 4px rgba(30,24,48,.8), 0 2px 16px rgba(30,24,48,.7); font-weight: 400; animation: rise 1.8s .4s ease both; }
.hero .button { animation: rise 1.8s .8s ease both; }
.hero .eyebrow { animation: rise 1.8s ease both; text-shadow: 0 1px 8px rgba(30,24,48,.7); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 6;
  width: 24px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px;
  background: #fff; border-radius: 2px; animation: cue 2.2s ease-in-out infinite; }

/* ---------- today ---------- */
.today { max-width: 760px; margin: 0 auto; padding: 90px 24px 100px; text-align: center; }
.latest-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.latest-title a { text-decoration: none; }
.latest-summary { font-size: 1.15rem; color: var(--ink-soft); margin: 0 auto 36px; max-width: 560px; }

/* ---------- journey ---------- */
.journey { background: linear-gradient(180deg, var(--slate), var(--night)); color: #e9edf1; padding: 110px 24px; position: relative; overflow: hidden; }
.journey::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 80%;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,164,106,.18), transparent 60%); }
.journey-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; }
.journey h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 26px; color: #fff; }
.journey p { color: #c7d0d9; font-size: 1.1rem; }
.journey em { color: var(--gold-soft); }
.journey-steps { list-style: none; padding: 0; margin: 50px 0 0; display: flex; justify-content: center; gap: clamp(18px, 5vw, 60px); flex-wrap: wrap; }
.journey-steps li { font-family: var(--serif); font-size: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #dfe5ea; }
.journey-steps li span { width: 54px; height: 54px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-soft); font-size: 1.1rem; }
.journey-steps li:first-child span { background: var(--gold); color: var(--night); }

/* ---------- cards ---------- */
.recent, .listing { max-width: 1120px; margin: 0 auto; padding: 90px 24px 110px; }
.listing { text-align: center; }
.listing h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.listing .card { text-align: left; }
.section-title { text-align: center; font-size: 2.4rem; margin-bottom: 50px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 340px)); justify-content: center; gap: 30px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; padding: 38px 34px 30px;
  background: #fff; border: 1px solid #e6d6cf; box-shadow: 0 10px 30px -18px rgba(59,52,86,.35); transition: transform .4s ease, box-shadow .4s ease; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--slate), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(27,37,51,.35); }
.card:hover::before { transform: scaleX(1); }
.card-part { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #b8643f; font-weight: 500; }
.card h3 { font-size: 1.85rem; margin: 12px 0 12px; color: var(--ink); font-weight: 600; }
.card p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 22px; flex: 1; }
.card-date { font-size: .84rem; color: #6d6276; letter-spacing: .05em; }

/* ---------- quote band ---------- */
.quote-band { background: var(--mist-2); padding: 90px 24px; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 820px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.4; color: #3d2f52; font-weight: 500; }

/* ---------- follow ---------- */
.follow { text-align: center; padding: 100px 24px 110px; max-width: 700px; margin: 0 auto; }
.follow h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.follow p { color: var(--ink-soft); }
.follow-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- page banner ---------- */
.page-banner { position: relative; height: 300px; overflow: hidden; background: var(--night); }
.page-banner.small { height: 230px; }
.page-banner svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-banner .fog-1 { top: 45%; height: 50%; }

/* ---------- post ---------- */
.post { max-width: 760px; margin: 0 auto; padding: 30px 24px 100px; }
.post-header { text-align: center; padding: 30px 0 10px; }
.post-header h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.post-date { color: #6d6276; font-size: .9rem; letter-spacing: .08em; margin: 14px 0 0; }
.video-frame { position: relative; margin: 30px auto 50px; max-width: 360px; aspect-ratio: 9 / 16; background: var(--night);
  box-shadow: 0 30px 60px -25px rgba(18,28,41,.55); border: 1px solid var(--mist-2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose { font-size: 1.14rem; }
.prose p { margin: 0 0 1.4em; }
.prose > p:first-child { font-family: var(--serif); font-size: 1.65rem; line-height: 1.45; color: #3d2f52; font-weight: 600; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.prose strong { font-weight: 600; color: #3d2f52; }
.prose em { font-family: var(--serif); font-size: 1.12em; }
.prose blockquote { margin: 2em 0; padding: 10px 0 10px 28px; border-left: 2px solid var(--gold); }
.prose blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.65rem; line-height: 1.45; color: #3d2f52; font-weight: 500; margin: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.lead { font-size: 1.3rem; color: #3d2f52; font-weight: 600; }

.practice { margin: 50px 0; padding: 40px 44px; background: linear-gradient(135deg, var(--slate), var(--night)); color: #e7ecf0; position: relative; overflow: hidden; }
.practice::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,106,.3), transparent 70%); }
.practice-label { font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.practice p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.5; margin: 12px 0 0; position: relative; z-index: 1; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--mist-2); }
.post-nav a, .post-nav .soon { text-decoration: none; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.post-nav span span { display: block; }
.post-nav a span, .post-nav .soon span { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.post-nav .next { text-align: right; }
.post-nav .soon { color: #6d6276; font-style: italic; }
.post-follow { text-align: center; margin-top: 60px; color: var(--ink-soft); font-size: .95rem; }
.post-follow p { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin: 0 0 6px; }
.post-follow a { color: var(--slate); }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px; background: linear-gradient(180deg, var(--night), var(--slate) 70%, #e3a99a); color: #eef1f4; }
.lost h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.lost p { opacity: .85; margin-bottom: 34px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: #c7d0d9; text-align: center; padding: 90px 24px 40px; }
.footer-mist { position: absolute; inset: -40% -20% auto -20%; height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(125,143,160,.35), transparent 60%); pointer-events: none; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: #f2f4f6; margin: 0; position: relative; }
.footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; position: relative; }
.footer-links a { text-decoration: none; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-contact { position: relative; font-size: .95rem; margin: 22px 0 0; color: #ddd3e6; }
.footer-contact a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(255,217,184,.5); }
.footer-contact a:hover { color: #fff; }
.footer-small { font-size: .78rem; opacity: .55; margin-top: 40px; position: relative; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- animations ---------- */
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(25%); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: .95; transform: scale(1.06); } }
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .25; } }
@keyframes shimmer { 0%, 100% { opacity: .15; transform: translateX(0); } 50% { opacity: .6; transform: translateX(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 30; }
  .site-nav { position: fixed; inset: 0; z-index: 25; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: rgba(59,52,86,.97); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .site-nav a { font-size: 1rem; }
  body.menu-open .site-nav { opacity: 1; pointer-events: auto; }
  body.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .site-header { padding: 18px 20px; }
  .brand { font-size: 1.2rem; }
  .menu-toggle { display: block; z-index: 30; }
  .site-nav { position: fixed; inset: 0; z-index: 25; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: rgba(18,28,41,.97); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .site-nav a { font-size: 1rem; }
  body.menu-open .site-nav { opacity: 1; pointer-events: auto; }
  body.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .practice { padding: 32px 26px; }
  .practice p { font-size: 1.3rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
}
