.celestial {
  --bg: #100e17;
  --raised: #181521;
  --surface: #211b2c;
  --ink: #f7f3fa;
  --muted: #bbb2c8;
  --line: #383041;
  --accent: #d7c2ef;
  --accent-strong: #d8c0f2;
  --accent-ink: #241432;
  --glass: rgb(26 21 35 / .84);
  --display: Georgia, 'Times New Roman', serif;
  --shell: 76rem;
  background: var(--bg);
}
[lang=fa] .celestial { --display: Vazirmatn, Tahoma, Arial, sans-serif }
[data-theme=light] .celestial {
  --bg: #faf7fc;
  --raised: #fff;
  --surface: #f0e9f5;
  --ink: #241b30;
  --muted: #5e5169;
  --line: #dcd0e5;
  --accent: #653d85;
  --accent-strong: #653d85;
  --accent-ink: #fff;
  --glass: rgb(250 247 252 / .88);
}
.celestial .shell { width: min(var(--shell),calc(100% - 3.5rem)) }
.celestial .nav-wrap { position: sticky; inset-block-start: max(.75rem,env(safe-area-inset-top)); margin-block-start: .85rem; z-index: 20 }
.celestial .nav {
  height: 3.75rem;
  padding: .3rem .48rem .3rem .9rem;
  padding-inline: .95rem .45rem;
  border-color: color-mix(in srgb,var(--line),var(--accent) 15%);
  border-radius: 2rem;
  background: var(--glass);
  backdrop-filter: blur(15px) saturate(135%);
  box-shadow: inset 0 1px rgb(255 255 255 / .07), 0 6px 26px rgb(7 4 14 / .1);
}
.celestial .brand { gap: .55rem; font-size: 1.26rem; font-weight: 650; letter-spacing: -.055em }
.celestial .brand img { width: 1.95rem; height: 1.95rem }
.celestial .nav > nav { gap: clamp(1.05rem,3vw,2.55rem) }
.celestial .nav nav a { font-size: .88rem }
.celestial .nav-actions { gap: .25rem }
.celestial .language,.celestial .theme,.celestial .mobile-nav summary { border: 0; border-radius: 50%; background: transparent }
.celestial :is(.language,.theme,.mobile-nav summary):hover { background: var(--surface) }
.celestial .theme { border: 1px solid var(--line); font-size: 1.25rem }
.celestial .mobile-nav nav { display: none }
.celestial .mobile-nav[open] nav {
  display: grid;
  position: absolute;
  inset: calc(100% + .55rem) 0 auto;
  gap: .1rem;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--raised);
  box-shadow: 0 .75rem 2rem rgb(0 0 0 / .17);
}
.celestial .mobile-nav nav a { padding-inline: 1rem; border-radius: .75rem }
.celestial .mobile-nav nav a:hover { background: var(--surface) }
.celestial :is(h1,h2) { font-family: var(--display); font-weight: 500; line-height: 1.07 }
[lang=fa] .celestial :is(h1,h2) { font-weight: 800; line-height: 1.28 }
.celestial h2 { font-size: clamp(2.15rem,4.7vw,4.35rem) }
.cg-kicker,.cg-status {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 650;
}
[lang=en] :is(.cg-kicker,.cg-status) { letter-spacing: .12em; text-transform: uppercase }
.cg-kicker::before { content: ''; width: 1.6rem; height: 1px; background: currentColor; opacity: .66 }
.cg-link,.cg-button,.cg-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .68rem;
  min-height: 2.85rem;
  width: fit-content;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.cg-link,.cg-profile-link { color: var(--accent) }
.cg-button {
  padding: .48rem 1.15rem;
  color: var(--ink);
  background: color-mix(in srgb,var(--accent) 11%,var(--raised));
  border: 1px solid color-mix(in srgb,var(--line),var(--accent) 20%);
  border-radius: 100vw;
  box-shadow: inset 0 1px rgb(255 255 255 / .1);
}
.cg-button:hover { background: var(--surface) }
.cg-link svg,.cg-button svg { flex: 0 0 auto; transition: translate .25s ease }
[dir=rtl] :is(.cg-link,.cg-button,.cg-post-arrow) svg { scale: -1 1 }
[dir=ltr] :is(.cg-link,.cg-button):hover svg { translate: 3px }
[dir=rtl] :is(.cg-link,.cg-button):hover svg { translate: -3px }
.cg-hero {
  --ink: #fbf8ff;
  --accent: #e2cff5;
  --raised: #1d1528;
  --line: #564762;
  --surface: #30243c;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(57rem,calc(100svh + 1.1rem));
  margin-block-start: -4.6rem;
  padding-block: 8rem 5.5rem;
  overflow: clip;
  background: #100c19;
  color: var(--ink);
}
.cg-hero-art { position: absolute; z-index: -2; inset: 0; pointer-events: none; overflow: hidden }
.cg-hero-art picture {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(84%,86rem);
  height: 100%;
  display: block;
  mask-image: radial-gradient(ellipse 68% 71% at 63% 49%, #000 47%, transparent 98%);
}
[dir=rtl] .cg-hero-art picture { inset-inline: auto 0; mask-image: radial-gradient(ellipse 68% 71% at 37% 49%, #000 47%, transparent 98%) }
.cg-hero-art picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.02) }
.cg-hero-haze {
  position: absolute;
  inset: 18% -10% -15%;
  background: radial-gradient(ellipse 46% 29% at 63% 67%, rgb(118 82 158 / .20),transparent 90%);
  mix-blend-mode: screen;
}
.cg-hero-orbits { color: #b7a5cf; position: absolute; width: clamp(30rem,61vw,62rem); aspect-ratio: 1; inset-inline-end: -4%; top: 50%; translate: 0 -49%; opacity: .30 }
.cg-hero-orbits svg,.cg-story-orbit svg,.cg-post-orbit svg,.cg-identity-visual svg { display: block; width: 100%; height: 100%; stroke: currentColor; stroke-width: .8 }
.cg-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#100c19 1%,rgb(16 12 25 / .91) 20%,rgb(16 12 25 / .11) 63%,transparent 100%),
    linear-gradient(0deg,#100c19 0%,transparent 25%,transparent 80%,rgb(16 12 25 / .42));
}
[dir=rtl] .cg-hero-art::after { scale: -1 1 }
.cg-hero-content { padding-inline-start: clamp(0rem,2vw,2rem); position: relative; z-index: 1 }
.cg-status { border: 1px solid #6b587a; border-radius: 99rem; background: rgb(27 20 38 / .86); padding: .36rem .78rem }
.cg-status i { width: .43rem; aspect-ratio: 1; border-radius: 50%; background: #c9a9f7; box-shadow: 0 0 12px #c9a9f7 }
.cg-hero h1 { width: min(43rem,66%); max-width: 13ch; margin-block: 1.25rem 1.1rem; font-size: clamp(4.5rem,7.8vw,8.5rem); letter-spacing: -.065em; text-wrap: balance }
[lang=fa] .cg-hero h1 { width: min(34rem,65%); max-width: none; font-size: clamp(3.5rem,6.6vw,7.2rem); letter-spacing: -.045em; line-height: 1.18 }
.cg-hero p { color: #d8cbde; max-width: 29rem; font-size: clamp(1rem,1.35vw,1.15rem) }
.cg-hero-actions,.cg-contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.4rem; margin-block-start: 1.6rem }
.cg-hero-edge { position: absolute; bottom: 0; inset-inline: 0; height: 4.5rem; background: linear-gradient(transparent,var(--bg)); pointer-events: none }
[data-theme=light] .cg-hero {
  --ink: #241930;
  --accent: #55306f;
  --raised: #f9f4fc;
  --surface: #efe3f6;
  --line: #cabbda;
  background: #f5eff9;
}
[data-theme=light] .cg-hero p { color: #4a3858 }
[data-theme=light] .cg-status { background: #faf4ff; border-color: #b7a4c9 }
[data-theme=light] .cg-status i { background: #8750b6 }
[data-theme=light] .cg-hero-art picture { opacity: .8 }
[data-theme=light] .cg-hero-art::after {
  background: linear-gradient(90deg,#f5eff9 0%,#f5eff9 25%,rgb(245 239 249 / .86) 42%,transparent 73%),
    linear-gradient(0deg,#f5eff9 0%,transparent 24%,transparent 80%,rgb(245 239 249 / .75));
}
[data-theme=light] .cg-hero-edge { background: linear-gradient(transparent,var(--bg)) }
.cg-home > * { scroll-margin-block-start: 1.25rem }
.cg-story { padding-block: clamp(4.5rem,11vw,9rem); display: grid; align-items: center; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem 8%; border-bottom: 1px solid var(--line) }
.cg-story h2,.cg-behind h2,.cg-contact h2 { margin-block: .6rem 1.1rem; max-width: 16ch }
[lang=fa] :is(.cg-story,.cg-behind,.cg-contact) h2 { max-width: none }
.cg-story p,.cg-behind p,.cg-contact p { color: var(--muted); max-width: 38rem; margin-block-end: .65rem }
.cg-story-orbit { justify-self: center; width: min(100%,28rem); aspect-ratio: 1; position: relative; color: color-mix(in srgb,var(--line),var(--accent) 36%) }
.cg-story-moon { width: 37%; aspect-ratio: 1; position: absolute; inset: 31.5%; border-radius: 50%; transform: rotate(12deg); background: #151121 url('/assets/celestial-moon-small.webp') center 43% / 270% auto; box-shadow: 0 0 2.5rem rgb(141 98 206 / .19) }
.cg-signal { width: .62rem; aspect-ratio: 1; position: absolute; border-radius: 50%; offset-path: ellipse(47% 20% at 50% 50%); top: 0; left: 0; background: currentColor; box-shadow: 0 0 16px 3px currentColor }
.cg-signal-violet { color: #b58bef; offset-distance: 10% }
.cg-signal-green { color: #5bbd9d; offset-distance: 62% }
.cg-home-section { padding-block: clamp(3.1rem,8vw,7rem); border-bottom: 1px solid var(--line) }
.cg-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: .65rem 1.5rem; flex-wrap: wrap; margin-block-end: clamp(1.4rem,4vw,2.65rem) }
.cg-section-heading .cg-kicker { margin-block-end: .65rem }
.cg-posts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem 1.15rem }
.cg-post { position: relative; display: grid; border: 1px solid var(--line); border-radius: 1.23rem; overflow: hidden; background: var(--raised) }
.cg-post-featured { grid-column: 1 / -1; grid-template-columns: 1.07fr 1fr; min-height: 20rem }
.cg-post-visual { position: relative; min-width: 0; min-height: 11rem; overflow: hidden }
.cg-post-visual img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .52s cubic-bezier(.22,.6,.35,1) }
.cg-post:hover .cg-post-visual img { scale: 1.035 }
.cg-post-orbit { min-height: 15rem; display: grid; place-items: center; background: #161124; color: #77628f }
.cg-post-orbit svg { position: absolute; width: min(108%,36rem); height: auto; opacity: .73; transform: rotate(-24deg) }
.cg-post-orbit i { width: 24%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 36px rgb(145 98 209 / .22); background: radial-gradient(circle at 22% 30%,#e0c8f2,#625077 30%,#191224 65%); z-index: 1 }
.cg-post-text { align-self: center; position: relative; padding: clamp(1.15rem,3.8vw,3rem) }
.celestial .cg-post :is(h2,h3) { font-family: var(--display); font-weight: 500; font-size: clamp(1.45rem,2.8vw,2.6rem); margin-block: .65rem }
[lang=fa] .celestial .cg-post :is(h2,h3) { font-weight: 800; font-size: clamp(1.35rem,2.6vw,2.35rem) }
.cg-post :is(h2,h3) a { color: var(--ink); text-decoration: none }
.cg-post :is(h2,h3) a:hover,.cg-profile-link:hover { text-decoration: underline; text-decoration-thickness: 1px }
.cg-post-text p,.cg-journal-empty p { color: var(--muted) }
.cg-post-kicker,.cg-article-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .82rem; color: var(--muted) }
.cg-post-kicker span,.cg-article-meta span:first-child { color: var(--accent); font-weight: 650 }
.cg-post-arrow { display: inline-grid; place-items: center; margin-block-start: 1.4rem; height: 2rem; width: 2rem; border: 1px solid var(--line); color: var(--accent); border-radius: 50% }
.cg-journal-empty { border: 1px solid var(--line); border-radius: 1.25rem; padding: 2.5rem 1rem; text-align: center; background: var(--raised) }
.cg-journal-empty > span { display: inline-block; font-size: 2rem; color: var(--accent); margin-block-end: .45rem }
.cg-behind,.cg-contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.03fr); gap: 2rem 7%; align-items: center }
.cg-identity {
  position: relative;
  min-width: 0;
  isolation: isolate;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(6rem,.8fr) minmax(0,1.2fr);
  align-items: stretch;
  min-height: 14rem;
  border: 1px solid color-mix(in srgb,var(--line),var(--accent) 18%);
  border-radius: 1.4rem;
  background: linear-gradient(148deg,var(--surface),var(--raised) 70%);
  box-shadow: inset 0 1px rgb(255 255 255 / .09),0 1rem 2rem rgb(8 5 13 / .12);
  transition: transform .24s ease-out;
}
.cg-identity::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(110deg,transparent 30%,rgb(215 184 255 / .1) 47%,transparent 66%); translate: -110%; transition: translate .75s ease }
.cg-identity:is(:hover,:focus-within)::after { translate: 100% }
.cg-identity-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb,var(--surface),var(--accent) 8%); color: var(--accent); min-height: 10rem }
.cg-identity-visual > span { font: 500 clamp(2.4rem,5vw,4.8rem)/1 Georgia,serif; position: relative; z-index: 1; letter-spacing: -.08em }
.cg-identity-visual svg { position: absolute; width: 175%; height: auto; opacity: .30; transform: rotate(-20deg) }
.cg-identity-visual img { width: 100%; height: 100%; object-fit: cover }
.cg-identity-text { align-self: center; padding: clamp(.85rem,3vw,2rem); overflow-wrap: anywhere }
.cg-identity-text h3 { font: 500 clamp(1.45rem,3vw,2.65rem)/1.07 Georgia,serif; margin-block: .65rem .38rem; text-align: start }
.cg-identity-text p { color: var(--muted); font-size: .86rem; margin-block-end: 0 }
.cg-identity-text > h3,.cg-identity-text > p[dir=ltr] { text-align: left }
.cg-identity-text details { margin-top: .75rem }
.cg-identity-text summary { color: var(--accent); min-height: 2.75rem; align-content: center }
.cg-identity-text details[open] > :is(p,ul,.cg-founder-links) { animation: cg-rise .35s ease both }
.cg-founder-links { display: grid; gap: .35rem }
.cg-product .bento,.celestial .inner .bento { grid-auto-rows: auto; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem }
.celestial .bento .feature { grid-column: auto; min-height: 11rem; background: var(--raised); border-color: var(--line); box-shadow: none }
.celestial .bento .feature-icon { background: var(--surface); color: var(--accent) }
.cg-contact { padding: clamp(1.7rem,6vw,4.75rem); margin-block-start: clamp(3rem,8vw,7rem); border: 1px solid var(--line); border-radius: 1.4rem; background: linear-gradient(115deg,var(--surface),var(--raised) 70%) }
.cg-contact .cg-contact-links { margin-block-start: 0; justify-content: flex-end }
.celestial .faq details { background: var(--raised) }
.celestial .footer { margin-block-start: clamp(2rem,7vw,5rem); background: var(--raised); border-top: 1px solid var(--line); padding-block-end: max(2rem,env(safe-area-inset-bottom)) }
.celestial .footer .footer-grid { gap: 1.5rem }
.celestial .footer h2 { font: 650 .95rem/1.5 system-ui,sans-serif }
[lang=fa] .celestial .footer h2 { font-family: Vazirmatn,Tahoma,sans-serif }
.celestial .inner { margin-block: clamp(1.8rem,5vw,4.5rem) 3rem }
.celestial .inner > .crumb { margin-block-end: 1.25rem; overflow-wrap: anywhere }
.cg-inner-heading { padding-block: clamp(1.2rem,4vw,3rem) clamp(1.7rem,5vw,3.4rem); border-bottom: 1px solid var(--line); margin-block-end: clamp(1.65rem,5vw,3rem) }
.cg-inner-heading h1 { font-size: clamp(2.7rem,7.4vw,7.1rem); max-width: 19ch; text-wrap: balance }
[lang=fa] .cg-inner-heading h1 { font-size: clamp(2.25rem,6.5vw,5.8rem) }
.cg-inner-heading .lead { max-width: 42rem; margin-top: 1.1rem }
.celestial .prose { width: min(100%,48rem); line-height: 1.9 }
.cg-about-founder { display: grid; gap: 1.75rem }
.cg-about-founder .cg-identity { width: min(100%,38rem) }
.cg-journal-tools { display: flex; gap: .85rem 1.5rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-block-end: 1.35rem }
.cg-journal-tools nav { display: flex; flex-wrap: wrap; gap: .35rem }
.cg-journal-tools nav a { min-height: 2.75rem; display: inline-flex; align-items: center; padding-inline: .8rem; border-radius: 99rem; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .88rem }
.cg-journal-tools nav a[aria-current] { color: var(--ink); background: var(--surface); border-color: var(--accent) }
.cg-search { width: min(100%,22rem); min-width: 0; display: flex; align-items: center; gap: .3rem; padding: .17rem; border: 1px solid var(--line); background: var(--raised); border-radius: 99rem }
.cg-search input { width: 100%; min-width: 0; padding: .45rem .68rem; border: 0; border-radius: 99rem; background: transparent }
.cg-search button { display: grid; place-items: center; flex: 0 0 2.65rem; height: 2.65rem; border-radius: 50%; background: var(--surface); border: 1px solid var(--line) }
.cg-journal-bottom { margin-block-start: 1.4rem }
.cg-article-meta { margin-block-start: 1rem }
.cg-article .article-image { width: min(100%,56rem); object-fit: cover; height: auto; border-radius: 1.35rem; margin-block-end: 1.5rem }
.cg-article-media { margin-block: 2rem; width: min(100%,56rem) }
.cg-article-media h2 { margin-block-end: 1rem; font-size: clamp(1.4rem,3vw,2.4rem) }
.cg-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 1rem }
.cg-gallery img,.cg-article-media video { width: 100%; height: auto; border-radius: .8rem; background: var(--raised) }
.cg-gallery figcaption { color: var(--muted); font-size: .84rem; margin-block-start: .4rem }
.cg-share { margin-block: 2rem; width: min(100%,48rem) }
.cg-share details { padding: .4rem 1rem; border: 1px solid var(--line); background: var(--raised); border-radius: 1rem }
.cg-share summary { min-height: 2.75rem; align-content: center; font-weight: 650 }
.cg-share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-block: .5rem .85rem }
.cg-share-actions input { max-width: 100%; flex: 1 1 14rem; min-width: 0; border: 1px solid var(--line); border-radius: .65rem; padding: .55rem; background: var(--bg) }
.cg-share-feedback { color: var(--muted); flex-basis: 100%; font-size: .84rem }
.cg-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0 }
.cg-intro { position: fixed; inset: 0; pointer-events: none; z-index: 19; display: grid; place-items: center; color: #f7f1ff; background: #0c0812; animation: cg-intro-out 1.28s ease both }
.cg-intro-mark { display: grid; justify-items: center; gap: .35rem; animation: cg-rise .72s ease both }
.cg-intro-mark::before { content: ''; position: absolute; width: 13rem; height: 8rem; border: 1px solid transparent; border-block-start-color: #816899; border-radius: 50%; rotate: -22deg; filter: drop-shadow(0 0 .45rem #a984d9); animation: cg-crescent 1.15s ease both }
.cg-intro-mark span { font: 500 2.3rem/1 Georgia,serif; letter-spacing: -.04em }
.cg-intro-mark img { border-radius: 50%; box-shadow: 0 0 1.4rem #8563b2 }
.cg-intro button { position: absolute; inset-block-end: max(1.1rem,env(safe-area-inset-bottom)); inset-inline-end: 1rem; pointer-events: auto; border: 1px solid #806698; background: #231730; border-radius: 99rem; color: #fff; padding: .55rem .9rem; min-height: 2.75rem }
.cg-revealed { animation: cg-rise .62s cubic-bezier(.2,.6,.36,1) both }
.cg-hero[data-opening] .cg-hero-content > * { animation: cg-title .65s cubic-bezier(.18,.67,.34,1) both }
.cg-hero[data-opening] .cg-hero-content > :nth-child(2) { animation-delay: .08s }
.cg-hero[data-opening] .cg-hero-content > :nth-child(3) { animation-delay: .14s }
.cg-hero[data-opening] .cg-hero-content > :nth-child(4) { animation-delay: .19s }
@keyframes cg-intro-out { 0%,35% { opacity: .98 } 100% { opacity: 0 } }
@keyframes cg-crescent { from { opacity: 0; rotate: -48deg; scale: .8 } to { opacity: .8; rotate: -22deg; scale: 1 } }
@keyframes cg-rise { from { translate: 0 .85rem; opacity: .63 } to { translate: 0; opacity: 1 } }
@keyframes cg-title { from { translate: 0 .6rem; clip-path: inset(0 0 9% 0); opacity: .72 } to { translate: 0; clip-path: inset(-8% -4% -8% -4%); opacity: 1 } }
@view-transition { navigation: auto }
::view-transition-old(root) { animation-duration: .16s }
::view-transition-new(root) { animation-duration: .24s }
@media (max-width: 760px) {
  .celestial .shell { width: min(var(--shell),calc(100% - 2rem)) }
  .celestial .nav { gap: .4rem; height: 3.45rem; padding-inline: .8rem .35rem }
  .celestial .nav > nav { display: none }
  .celestial .mobile-nav { display: block }
  .celestial .nav-wrap { margin-block-start: .65rem }
  .cg-hero { margin-block-start: -4.1rem; min-height: max(39rem, min(49rem, 96svh)); align-items: end; padding-block: 9rem 3.25rem }
  .cg-hero-art picture,[dir=rtl] .cg-hero-art picture { width: 137%; height: 74%; inset: .5rem -18.5% auto; mask-image: radial-gradient(ellipse 61% 64% at 50% 48%,#000 46%,transparent 96%) }
  .cg-hero-art picture img { object-position: 50% 38% }
  .cg-hero-orbits { width: 107%; inset-inline-end: -3.5%; top: 38%; opacity: .30 }
  .cg-hero-art::after,[dir=rtl] .cg-hero-art::after { scale: none; background: linear-gradient(0deg,#100c19 1%,rgb(16 12 25 / .91) 18%,rgb(16 12 25 / .36) 53%,transparent 74%) }
  [data-theme=light] .cg-hero-art::after,[data-theme=light][dir=rtl] .cg-hero-art::after {
    background: linear-gradient(0deg,#f5eff9 0%,#f5eff9 23%,rgb(245 239 249 / .87) 40%,transparent 72%);
  }
  .cg-hero-haze { inset: 17% -20% -6% }
  .cg-hero-content { padding-inline-start: .3rem }
  .cg-hero h1,[lang=fa] .cg-hero h1 { width: 100%; font-size: clamp(2.83rem,10vw,5rem); margin-block: .8rem .75rem }
  .cg-hero p { max-width: 28rem }
  .cg-hero-actions { margin-block-start: .9rem; gap: .35rem 1rem }
  .cg-story,.cg-behind,.cg-contact { grid-template-columns: minmax(0,1fr); gap: 1.5rem }
  .cg-story { padding-block: 3.5rem 2.55rem }
  .cg-story-orbit { width: min(80%,22rem) }
  .cg-post-featured { grid-template-columns: minmax(0,1fr) }
  .cg-post-visual { min-height: 9rem }
  .cg-post-orbit { min-height: 12rem }
  .cg-post-orbit svg { width: min(95%,24rem) }
  .cg-posts { grid-template-columns: minmax(0,1fr) }
  .cg-contact .cg-contact-links { justify-content: flex-start }
  .cg-product .bento,.celestial .inner .bento { grid-template-columns: minmax(0,1fr) }
  .celestial .bento .feature { min-height: auto }
  .celestial .inner { margin-block-start: 1.5rem }
}
@media (max-width: 360px) {
  .celestial .shell { width: calc(100% - 1.5rem) }
  .cg-hero h1,[lang=fa] .cg-hero h1 { font-size: 2.65rem }
  .cg-status { font-size: .72rem }
  .cg-hero-actions { gap: .25rem .75rem }
  .cg-hero-actions :is(.cg-button,.cg-link) { font-size: .82rem }
}
@media (prefers-reduced-motion: reduce) {
  .celestial *, .celestial *::before,.celestial *::after { animation-duration: .001ms !important; transition-duration: .001ms !important }
  ::view-transition-old(root),::view-transition-new(root) { animation: none }
}
