@font-face{font-family:AudioSans;src:url('/assets/audio-sans.woff2') format('woff2');font-display:swap;font-weight:100 900}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--ink);font:14px AudioSans,Tahoma,sans-serif;line-height:1.8}
body{--bg:#f8f8f3;--surface:#fff;--ink:#193c35;--muted:#596b60;--line:#e2e7df;--soft:#eff2e9;--gold:#806024;--green:#173f35}
html[data-nahj-theme=night] body{--bg:#0d1d19;--surface:#152b24;--ink:#e0e9dc;--muted:#a2b2a7;--line:#2a4135;--soft:#21382e;--gold:#d8be89}
a{color:inherit;text-decoration:none}
button,
input,
select{font:inherit}
button,
a,
input,
select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.4}
input,
select{min-width:0}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible{outline:3px solid #ba9555;outline-offset:4px}
button{color:inherit}
svg{vertical-align:middle;flex-shrink:0}
.a-icon{display:inline-block}
.audio-container{width:min(1240px,calc(100% - 80px));margin-inline:auto}
.sr-only,
.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.skip-link:focus{position:fixed;z-index:1000;top:10px;right:10px;background:var(--surface);padding:12px 20px}
.audio-footer{display:flex;align-items:center;justify-content:space-between;width:min(1240px,calc(100% - 80px));margin:0 auto;padding:30px 0;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.audio-footer>a:first-child{font-weight:700;color:var(--ink)}
.audio-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 25px;border:0;border-radius:9px;font-size:12px;font-weight:700;transition:transform .2s,background .2s}
.audio-button:hover{transform:translateY(-3px)}
.audio-button.gold{background:#d5b577;color:#203d32}
.audio-button.dark{background:var(--green);color:#fff}
.section-kicker{font-size:11px;color:var(--gold);letter-spacing:.3px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}
.section-heading h2{margin:7px 0 0;font-size:27px;letter-spacing:-1px}
.heading-note{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:11px}
.eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;color:#d8be89}
.eyebrow>span{width:6px;height:6px;background:#d4b477;border-radius:100%;box-shadow:0 0 0 5px #d4b47715}
.audio-breadcrumb{display:flex;gap:13px;align-items:center;font-size:11px;color:#a6b7a9;padding-block:25px}
.audio-breadcrumb a:hover{color:#e9ce99}
.audio-empty{grid-column:1/-1;text-align:center;padding:80px 20px;color:var(--muted)}
.audio-empty svg{color:var(--gold)}
.audio-empty h3{font-size:18px;color:var(--ink)}
.audio-empty a{color:var(--gold);text-decoration:underline}
.result-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 20px}
.result-heading h2{font-size:20px;margin:0}
.result-heading>span{font-size:11px;color:var(--muted)}
.result-heading i{font-style:normal;padding:0 8px;color:var(--gold)}
.audio-pagination{display:flex;align-items:center;justify-content:center;gap:8px;padding:36px 0}
.audio-pagination a,
.audio-pagination>span{display:grid;place-items:center;min-width:36px;height:36px;padding-inline:12px;border:1px solid var(--line);border-radius:7px;font-size:12px}
.audio-pagination [aria-current=page]{background:var(--green);color:#fff;border-color:var(--green)}
.audio-pagination [aria-disabled]{opacity:.4}
@media(max-width:900px){
.audio-container{width:calc(100% - 40px)}
.audio-footer{width:calc(100% - 40px);gap:15px}
.heading-note{display:none}
.result-heading{align-items:start}
.result-heading>span{text-align:left}
.section-heading h2{font-size:23px}
}
@media(max-width:560px){
.audio-footer{flex-wrap:wrap;justify-content:center;text-align:center}
.audio-footer>span{width:100%;order:3}
.audio-container{width:calc(100% - 32px)}
.result-heading{flex-direction:column;gap:5px}
.audio-breadcrumb{font-size:10px;gap:9px}
.audio-pagination{gap:5px}
.audio-pagination a,
.audio-pagination>span{padding-inline:9px;min-width:30px}
.section-heading h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*,
*:before,
*:after{animation:none!important;transition:none!important}
}
.audio-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 17% 50%,#31594a88,transparent 48%),#153f34;color:#fff}
.hero-grain{position:absolute;inset:0;opacity:.18;background-image:radial-gradient(#e5d7b6 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,#000,transparent 80%)}
.hero-layout{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;min-height:500px;position:relative}
.hero-copy{padding:48px 0 60px;animation:hero-in .8s both}
.hero-copy h1{font-size:clamp(40px,4.4vw,63px);line-height:1.65;margin:16px 0 12px;font-weight:800;letter-spacing:-2.5px}
.hero-copy h1 em{font-style:normal;color:#e0c38a}
.hero-subtitle{font-size:13px;color:#becdc2;margin:8px 0 28px}
.hero-subtitle strong{color:#f3f0de;font-weight:500}
.hero-facts{display:flex;gap:20px;align-items:center;margin-top:36px;font-size:10px;color:#a5bdac}
.hero-facts b{font-size:19px;font-weight:500;color:#f6efd9;margin-inline-end:4px}
.hero-facts i{width:1px;height:20px;background:#ffffff20}
.sound-art{width:430px;height:410px;position:relative;justify-self:center;animation:hero-in 1s .1s both}
.record{position:absolute;width:260px;height:260px;inset:69px auto auto 85px;border-radius:50%;background:repeating-radial-gradient(circle at center,#0e2923 0px,#0e2923 2px,#355347 3px,#0e2923 4px);box-shadow:10px 20px 50px #061b1966,inset 0 0 0 2px #9da68344;display:grid;place-items:center;transform:rotate(-12deg)}
.record:before{content:'';position:absolute;inset:4px;border-radius:50%;background:conic-gradient(transparent 8%,#b1bca324 13%,transparent 22%,transparent 57%,#c2b99520 66%,transparent 75%)}
.record-center{width:115px;height:115px;background:#d5b67b;border:5px double #173e3560;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:27px;color:#234b3b;line-height:1.35;font-weight:800;z-index:1;box-shadow:0 0 0 8px #b9b38b12}
.record-center span{font-size:21px}
.orbit{position:absolute;border:1px solid #cdd3ac20;inset:25px 36px;border-radius:50%}
.orbit-two{inset:4px 16px;transform:rotate(30deg);border-style:dashed;border-color:#cdd3ac14}
.orbit-three{inset:45px 56px}
.orbit-one:after{content:'';position:absolute;width:7px;height:7px;background:#d4b579;top:34px;right:49px;border-radius:50%;box-shadow:0 0 0 7px #d4b5790c}
.art-tag{position:absolute;z-index:3;background:#295143cc;border:1px solid #a5b19550;border-radius:8px;padding:9px 17px;font-size:11px;color:#ead8b1;backdrop-filter:blur(8px);transform:rotate(7deg)}
.tag-top{top:35px;left:24px}
.art-tag span{margin-right:17px;color:#d8ba7a}
.floating-note{position:absolute;color:#bca373;font-size:35px;animation:note-float 5s ease-in-out infinite}
.note-one{top:85px;right:11px}
.note-two{bottom:100px;left:17px;font-size:23px;animation-delay:-2s}
.art-caption{position:absolute;bottom:40px;left:54px;display:flex;align-items:center;gap:9px;background:#254c3ed9;border:1px solid #c0c8a035;box-shadow:0 8px 24px #102e2670;backdrop-filter:blur(10px);padding:12px 20px;border-radius:10px;font-size:10px;color:#e6e6d3;transform:rotate(-5deg)}
.live-dot{width:6px;height:6px;border-radius:50%;background:#d6b478}
.sound-wave{position:absolute;bottom:0;right:85px;display:flex;gap:4px;align-items:center;height:35px;opacity:.65}
.sound-wave i{display:block;width:3px;border-radius:3px;height:var(--bar);max-height:34px;background:#c9b781;animation:wave 1.3s var(--delay) ease-in-out infinite alternate}
.biography{display:flex;align-items:center;gap:28px;padding:38px 38px;margin-top:34px;background:var(--surface);border:1px solid var(--line);border-radius:15px;position:relative;box-shadow:0 7px 25px #243e2903}
.bio-symbol{color:var(--gold);font-size:85px;font-family:Georgia,serif;line-height:1;align-self:flex-start;opacity:.6}
.biography>div:nth-child(2){max-width:850px}
.biography h2{font-size:19px;margin:4px 0 8px}
.biography p{font-size:12px;line-height:2.3;margin:0;color:var(--muted)}
.bio-signature{flex-shrink:0;color:var(--gold);font-size:17px;line-height:2.2;margin-inline-start:auto;transform:rotate(-9deg);text-align:center;opacity:.6}
.collections{padding:49px 0 58px}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:27px}
.collection-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:25px 27px 23px;position:relative;overflow:hidden;transition:transform .35s,box-shadow .35s,border-color .35s;animation:hero-in .8s both}
.collection-card:nth-child(2){animation-delay:.12s}
.collection-card:nth-child(3){animation-delay:.24s}
.collection-card:hover{transform:translateY(-8px);box-shadow:0 20px 35px #1b473313;border-color:#b5c2ad}
.collection-index{position:absolute;left:25px;top:19px;font-size:11px;color:var(--muted);opacity:.6}
.folder-art{width:155px;height:123px;position:relative;margin:20px auto 25px;perspective:400px}
.folder-back{position:absolute;inset:20px 4px 3px;border-radius:8px;background:#a3b6a0}
.folder-back:before{content:'';position:absolute;right:0;top:-13px;width:65px;height:20px;background:inherit;border-radius:8px 8px 0 0}
.folder-paper{position:absolute;width:117px;height:80px;right:18px;top:10px;transform:rotate(8deg);background:var(--bg);border:1px solid var(--line);border-radius:5px;transition:transform .3s}
.folder-paper:after{content:'';position:absolute;inset:16px;background:repeating-linear-gradient(to bottom,transparent 0 9px,#aeb8a455 10px 11px)}
.folder-front{position:absolute;inset:33px 0 0;background:linear-gradient(130deg,#dde5d1,#b5c6ab);border-radius:7px 7px 10px 10px;box-shadow:0 10px 15px #3d624b12,inset 0 1px 1px #ffffff77;display:grid;place-items:center;color:#527553;transform:rotateX(-10deg);transform-origin:bottom;transition:transform .35s}
.collection-letter .folder-back{background:#bea57f}
.collection-letter .folder-front{background:linear-gradient(130deg,#f1e7d1,#d6c094);color:#94743e}
.collection-wisdom .folder-back{background:#8faeaf}
.collection-wisdom .folder-front{background:linear-gradient(130deg,#dbe6e4,#b2cdca);color:#4c7a79}
.collection-card:hover .folder-front{transform:rotateX(-24deg)}
.collection-card:hover .folder-paper{transform:rotate(2deg) translateY(-9px)}
.collection-title{display:flex;align-items:center;justify-content:space-between}
.collection-title h3{font-size:24px;margin:0;letter-spacing:-.7px}
.card-arrow{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;color:var(--muted);transition:background .2s,color .2s}
.collection-card:hover .card-arrow{background:var(--green);color:#fff}
.collection-card>p{color:var(--muted);font-size:11px;margin:7px 0 21px}
.collection-meta{display:flex;justify-content:space-between;gap:5px;border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:10px}
.collection-meta>span:first-child{display:flex;gap:6px;align-items:center;color:var(--ink)}
.collection-meta b{font-size:14px;font-weight:500}
.listening-note{display:flex;align-items:center;gap:17px;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:21px 26px;margin-top:23px;color:var(--gold)}
.listening-note>div{display:flex;align-items:center;gap:18px}
.listening-note strong{font-size:12px;color:var(--ink)}
.listening-note div>span{font-size:11px;color:var(--muted)}
.note-stars{margin-right:auto;letter-spacing:6px;font-size:24px;opacity:.6}
@keyframes hero-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes wave{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@keyframes note-float{50%{transform:translateY(-12px) rotate(8deg)}}
@media(max-width:1100px){
.sound-art{transform:scale(.85);width:380px}
.bio-signature{display:none}
.collection-card{padding:20px}
.hero-facts{gap:12px}
}
@media(max-width:900px){
.hero-layout{grid-template-columns:1.1fr 1fr;min-height:430px;gap:0}
.sound-art{width:350px;scale:.8;transform-origin:center;justify-self:end;margin-left:-25px}
.hero-copy{padding-block:40px}
.hero-copy h1{font-size:42px}
.hero-subtitle{font-size:11px;max-width:280px;line-height:2}
.hero-facts{flex-wrap:wrap;gap:10px;font-size:9px}
.hero-facts>span:last-child,
.hero-facts i:last-of-type{display:none}
.biography{padding:25px;gap:15px}
.collection-grid{gap:14px}
.collection-card{padding:19px}
.collection-title h3{font-size:21px}
.collection-meta{flex-wrap:wrap}
.listening-note>div{flex-direction:column;align-items:start;gap:3px}
}
@media(max-width:650px){
.hero-layout{grid-template-columns:1fr;gap:0}
.hero-copy{text-align:center;padding:35px 0 16px}
.hero-copy .eyebrow{justify-content:center}
.hero-copy h1{font-size:43px;letter-spacing:-1.5px;line-height:1.55;margin-block:17px}
.hero-subtitle{max-width:none;margin-top:14px}
.hero-facts{justify-content:center;margin-top:23px;font-size:10px}
.sound-art{justify-self:center;width:100%;max-width:360px;height:110px;scale:1;margin:0 0 16px}
.orbit{inset:5px 65px}
.orbit-two{inset:0 45px}
.orbit-three{inset:15px 85px}
.record{display:none}
.art-caption{bottom:8px;left:8px}
.sound-wave{bottom:10px;right:30px}
.tag-top{top:2px;left:14px}
.note-one{top:0;right:10px}
.note-two{bottom:15px;left:48%}
.biography{margin-top:23px;align-items:start;gap:13px;padding:23px 20px}
.bio-symbol{font-size:50px}
.biography p{font-size:11px}
.biography h2{font-size:18px}
.collections{padding-top:35px}
.collection-grid{grid-template-columns:1fr;gap:18px}
.collection-card{padding:20px 24px;display:grid;grid-template-columns:95px minmax(0,1fr);column-gap:20px;align-items:center}
.folder-art{width:95px;height:91px;margin:12px 0;grid-row:1/4}
.folder-paper{width:70px;height:60px;right:12px}
.folder-back{inset:23px 3px 0}
.folder-back:before{width:43px}
.folder-front{inset:34px 0 0}
.folder-front svg{width:28px;height:28px}
.collection-title{padding-top:12px}
.collection-title h3{font-size:25px}
.collection-index{top:8px;left:18px;font-size:9px}
.collection-card>p{margin:3px 0 12px}
.collection-meta{padding-top:11px;font-size:9px}
.collection-meta>span:first-child{gap:4px}
.collection-meta svg{width:13px}
.listening-note{padding:18px;gap:12px}
.note-stars{display:none}
.listening-note div>span{font-size:10px}
}
/* Header matches the Nahj page; kept inside this page stylesheet. */
@font-face{font-family:IRANSans;src:url("/assets/audio-sans.woff2") format("woff2");font-weight:100 900;font-display:swap}
@media (prefers-reduced-motion: no-preference){
.topbar,
.top-action-icon{
    transition:
      background-color 180ms ease,
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      color 180ms ease;
  }
}
.topbar{
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    linear-gradient(180deg, rgba(3, 21, 39, 0.99), rgba(5, 33, 60, 0.99));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.topbar-inner{
  width: min(1450px, calc(100% - 52px));
  min-height: 66px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}
.brand{
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 218px;
}
.brand strong{
  font-size: 19px;
  font-weight: 900;
  white-space: nowrap;
}
.main-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.main-nav a{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 66px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.main-nav a.active{
  color: var(--gold);
}
.main-nav a.active::after{
  content: "";
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 0;
  height: 3px;
  background: var(--gold);
}
.top-actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}
.circle-btn,
.login-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(244, 184, 70, 0.74);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.circle-btn{
  width: 38px;
  border-radius: 50%;
  font-size: 19px;
}
.top-action-icon{
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}
.top-action-icon{
  width: 20px;
  height: 20px;
}
.top-action-icon-day{
  --icon: url("/assets/images/audio-day-mode-icon.svg");
}
.top-action-icon-search{
  --icon: url("/assets/images/audio-search-icon.svg");
}
.top-action-icon-login{
  --icon: url("/assets/images/audio-login-icon.svg");
}
.login-btn{
  gap: 8px;
  padding: 0 18px;
}
:root[data-nahj-theme="night"] .topbar{
  background:
    linear-gradient(180deg, rgba(4, 14, 25, 0.99), rgba(8, 24, 38, 0.99));
  box-shadow: 0 1px 0 rgba(242, 210, 138, 0.14);
}
:root[data-nahj-theme="night"] .circle-btn,
:root[data-nahj-theme="night"] .login-btn{
  border-color: rgba(242, 210, 138, 0.48);
  color: #f7e5b4;
}
:root[data-nahj-theme="night"] .top-action-icon-day{
  --icon: url("/assets/images/audio-night-mode-icon.svg");
}
:root[data-nahj-theme="night"] .main-nav a{
  color: rgba(233, 242, 245, 0.78);
}
:root[data-nahj-theme="night"] .main-nav a.active{
  color: var(--gold);
}
.circle-btn{
  position: relative;
  overflow: hidden;
  color: #f8fbff;
  background:
    radial-gradient(circle at 66% 32%, rgba(255, 255, 255, 0.18) 0 10%, transparent 11%),
    linear-gradient(145deg, #172334, #07111d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    color 0.34s ease,
    background 0.34s ease,
    border-color 0.34s ease,
    box-shadow 0.34s ease,
    transform 0.34s ease;
}
.circle-btn::before{
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.22s ease;
}
.circle-btn:hover{
  transform: translateY(-1px);
}
.circle-btn.is-switching::before{
  transform: scale(1.9);
  opacity: 1;
}
.top-action-icon{
  position: relative;
  z-index: 1;
  transition:
    transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.22s ease;
}
.circle-btn.is-switching .top-action-icon{
  transform: rotate(180deg) scale(0.82);
  opacity: 0.86;
}
:root[data-nahj-theme="night"] .circle-btn{
  color: #102c49;
  border-color: rgba(255, 255, 255, 0.56);
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.94) 0 24%, rgba(255, 220, 117, 0.94) 25% 44%, transparent 45%),
    linear-gradient(145deg, #fff9df, #f4b846);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(244, 184, 70, 0.22);
}
:root[data-nahj-theme="night"] .circle-btn::before{
  background: rgba(255, 255, 255, 0.54);
}
@media (prefers-reduced-motion: reduce){
.circle-btn,
.circle-btn::before,
.top-action-icon{
    transition: none !important;
  }
}
@media (max-width: 1180px){
.topbar-inner{
    grid-template-columns: auto auto;
  }
.main-nav{
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }
}
@media (max-width: 760px){
.topbar-inner{
    width: min(100% - 28px, 1356px);
  }
.topbar-inner{
    gap: 14px;
  }
.brand strong{
    display: none;
  }
.top-actions{
    gap: 6px;
  }
.login-btn{
    padding: 0 10px;
  }
}
.global-search-link{
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #c89b3c;
  color: #102c49;
  text-decoration: none;
}
.global-search-link > span{
  display: block;
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #102c49;
  border-radius: 50%;
}
.global-search-link > span::after{
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -7px;
  bottom: -1px;
  background: #102c49;
  transform: rotate(45deg);
  transform-origin: left center;
}
:root[data-nahj-theme="night"] .global-search-link{ background: #f2d28a; }
.global-search-link:hover{ filter: brightness(1.08); }
.global-search-link:focus-visible{ outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 760px){
.topbar .topbar-inner{ grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
.topbar .brand{ min-width: 0; grid-column: 1; grid-row: 1; }
.topbar .top-actions{ grid-column: 2; grid-row: 1; }
.topbar .main-nav{ grid-column: 1 / -1; grid-row: 2; }
}
.topbar{--gold:#f4b846;font-family:IRANSans,Tahoma,Arial,sans-serif;line-height:normal}
:root[data-nahj-theme="night"] .topbar{--gold:#f2d28a}
/* The same restrained gold signature accompanies the theme on every page. */
:root[data-nahj-theme-transition] :where(body, body *) {
  transition-property: background-color, border-color, box-shadow, fill, stroke;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

:root[data-nahj-theme-transition] #nahj-theme-toggle {
  animation: nahj-theme-halo 940ms cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes nahj-theme-halo {
  0%, 100% { outline: 1px solid transparent; outline-offset: 0; }
  32% { outline: 1px solid rgba(222, 181, 100, .7); outline-offset: 5px; }
  68% { outline: 1px solid rgba(222, 181, 100, .22); outline-offset: 9px; }
}

@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  :root[data-nahj-theme-transition] *,
  :root[data-nahj-theme-transition] *::before,
  :root[data-nahj-theme-transition] *::after {
    animation: none !important;
    transition: none !important;
  }
}
