/* Everayo: calligraphic display type, with separate faces for sustained reading. */
:root{
  --script:'Allura','Cormorant Garamond',Georgia,serif;
  --arabic-display:'Aref Ruqaa','Noto Naskh Arabic',serif;
  --arabic-reading:'Noto Naskh Arabic',serif;
  --arabic-ui:'Tajawal','Manrope',sans-serif;
}
.wordmark{font-family:var(--script);font-size:44px;font-weight:400;letter-spacing:0;line-height:1.05}
.hero h1 em{font-family:var(--script);font-size:1.22em;font-style:normal;font-weight:400;letter-spacing:0;line-height:1.05}
.section-heading h2,.settings-card h2{font-family:var(--serif);font-size:33px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.quote-card .content-excerpt,.feature-quote,.quote-spotlight blockquote,.reader-body blockquote{
  font-family:var(--script);font-style:normal;font-weight:400;font-size:42px;line-height:1.27;
  letter-spacing:0;color:#332e35;overflow-wrap:break-word;
}
.quote-card .content-excerpt{margin-top:15px;margin-bottom:14px}
.feature-quote{font-size:43px;line-height:1.3}
.reader-body blockquote{font-size:46px;line-height:1.35}
.reader-takeaway p{font-family:var(--serif);font-size:26px;font-weight:600;line-height:1.45;letter-spacing:0}

/* Arabic letterforms remain unspaced and upright; UI and long prose use reading faces. */
html[lang="ar"]{
  --sans:var(--arabic-ui);--serif:var(--arabic-display);
}
html[lang="ar"] body{font-family:var(--arabic-ui);font-size:17px;line-height:1.85}
html[lang="ar"] button,html[lang="ar"] input,html[lang="ar"] textarea,html[lang="ar"] select{font-family:var(--arabic-ui)}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] h4,
html[lang="ar"] h1 em,html[lang="ar"] h2 em{
  font-family:var(--arabic-display);font-weight:700;font-style:normal;letter-spacing:0;line-height:1.65;
}
html[lang="ar"] .wordmark{font-family:var(--arabic-display);font-size:34px;font-weight:700;letter-spacing:0;line-height:1.5}
html[lang="ar"] .hero h1{font-size:51px;line-height:1.65;white-space:normal;letter-spacing:0}
html[lang="ar"] .hero h1 em{font-family:var(--arabic-display);font-size:1em;font-style:normal;font-weight:700;line-height:inherit}
html[lang="ar"] .hero-copy>p{font-size:20px;line-height:1.9}
html[lang="ar"] .hero-image-caption strong{font-family:var(--arabic-display);font-size:29px;font-weight:700;letter-spacing:0;line-height:1.65}
html[lang="ar"] .section-heading h2,html[lang="ar"] .settings-card h2{font-size:31px;line-height:1.7;letter-spacing:0}
html[lang="ar"] .page-header h1{font-size:43px;line-height:1.6;letter-spacing:0}
html[lang="ar"] .feature-title{font-family:var(--arabic-display);font-size:36px;font-weight:700;line-height:1.65;letter-spacing:0}
html[lang="ar"] .content-title{font-family:var(--arabic-display);font-size:29px;font-weight:700;line-height:1.7;letter-spacing:0}
html[lang="ar"] .quote-card .content-title{font-family:var(--arabic-ui);font-size:16px;font-weight:700;line-height:1.7;letter-spacing:0}
html[lang="ar"] .quote-card .content-excerpt,html[lang="ar"] .feature-quote,
html[lang="ar"] .quote-spotlight blockquote,html[lang="ar"] .reader-body blockquote{
  font-family:var(--arabic-display);font-style:normal;font-weight:700;font-size:33px;
  line-height:1.85;letter-spacing:0;word-spacing:0;color:#332e35;word-break:normal;
}
html[lang="ar"] .content-excerpt,html[lang="ar"] .feature-description{font-family:var(--arabic-reading);font-size:21px;line-height:1.9;letter-spacing:0}
html[lang="ar"] .reader-title{font-family:var(--arabic-display);font-size:39px;line-height:1.7;letter-spacing:0}
html[lang="ar"] .reader-deck{font-family:var(--arabic-reading);font-size:23px;line-height:1.9}
html[lang="ar"] .reader-body{font-family:var(--arabic-reading);font-size:23px;line-height:2;letter-spacing:0}
html[lang="ar"] .reader-body p{margin-bottom:1.3em}
html[lang="ar"] .reader-takeaway p{font-family:var(--arabic-display);font-size:28px;line-height:1.85;font-weight:700;letter-spacing:0}
html[lang="ar"] .reader-reflection>p:not(.eyebrow){font-family:var(--arabic-reading);font-size:22px;line-height:1.9}
html[lang="ar"] .reader-brand{font-family:var(--arabic-display);font-size:28px;font-weight:700;line-height:1.7;letter-spacing:0}
html[lang="ar"] .reader-brand span{font-family:var(--arabic-ui);font-size:14px;line-height:1.7}
html[lang="ar"] .eyebrow,html[lang="ar"] .small-label,html[lang="ar"] .tag,
html[lang="ar"] .spotlight-intro,html[lang="ar"] .reader-takeaway>span{
  font-family:var(--arabic-ui);font-size:14px;letter-spacing:0;text-transform:none;line-height:1.7;
}
html[lang="ar"] .nav-item,html[lang="ar"] .btn,html[lang="ar"] .filter-chip,
html[lang="ar"] .segmented button,html[lang="ar"] #typeFilters button{font-size:16px;line-height:1.65;letter-spacing:0}
html[lang="ar"] .mood-button>span:last-child{font-size:16px;line-height:1.5;letter-spacing:0}
html[lang="ar"] .card-kicker,html[lang="ar"] .topic-tag,html[lang="ar"] .reader-meta,
html[lang="ar"] .quote-author,html[lang="ar"] .spotlight-bottom>span{font-family:var(--arabic-ui);font-size:14px;line-height:1.7;letter-spacing:0}
html[lang="ar"] .mood-bottom p,html[lang="ar"] .optional-label,html[lang="ar"] .section-note,
html[lang="ar"] .text-link,html[lang="ar"] .text-button{font-size:15px;line-height:1.85;letter-spacing:0}
html[lang="ar"] .search-box input{font-size:17px;line-height:1.7}
html[lang="ar"] .page-header p,html[lang="ar"] .settings-card>p,html[lang="ar"] .ritual-card p{font-size:18px;line-height:1.9}
html[lang="ar"] .journal-entry p,html[lang="ar"] .reflection-card textarea{font-family:var(--arabic-reading);font-size:21px;line-height:1.9}
html[lang="ar"] .reader-sources a,html[lang="ar"] .reader-sources>p,
html[lang="ar"] .content-origin,html[lang="ar"] .helper-text{font-family:var(--arabic-ui);font-size:14px!important;line-height:1.85!important;letter-spacing:0}
html[lang="ar"] .mobile-nav button{font-family:var(--arabic-ui);font-size:14px;line-height:1.5}
html[lang="ar"] .stat-label{font-size:15px;line-height:1.7}
html[lang="ar"] .stat-value{font-family:var(--arabic-reading);font-weight:600;letter-spacing:0}

@media(max-width:800px){
  .wordmark{font-size:41px}.quote-card .content-excerpt,.feature-quote,.quote-spotlight blockquote{font-size:40px}
  .section-heading h2,.settings-card h2{font-size:31px}
  html[lang="ar"] .hero h1{font-size:42px}
  html[lang="ar"] .quote-card .content-excerpt,html[lang="ar"] .feature-quote,html[lang="ar"] .quote-spotlight blockquote{font-size:32px}
}
@media(max-width:680px){
  .wordmark{font-size:40px}.hero h1 em{font-size:1.2em}
  .section-heading h2,.settings-card h2{font-size:30px}
  .quote-card .content-excerpt,.feature-quote,.quote-spotlight blockquote{font-size:39px;line-height:1.3}
  .reader-body blockquote{font-size:41px;line-height:1.35}
  html[lang="ar"] .wordmark{font-size:31px}
  html[lang="ar"] .hero h1{font-size:42px;line-height:1.65}
  html[lang="ar"] .hero-copy>p{font-size:19px}
  html[lang="ar"] .section-heading h2,html[lang="ar"] .settings-card h2{font-size:29px;line-height:1.7}
  html[lang="ar"] .page-header h1{font-size:37px;line-height:1.7}
  html[lang="ar"] .quote-card .content-excerpt,html[lang="ar"] .feature-quote,
  html[lang="ar"] .quote-spotlight blockquote,html[lang="ar"] .reader-body blockquote{font-size:32px;line-height:1.85}
  html[lang="ar"] .reader-title{font-size:33px;line-height:1.7}
  html[lang="ar"] .reader-body{font-size:22px;line-height:1.95}
  html[lang="ar"] .reader-deck{font-size:21px;line-height:1.9}
  html[lang="ar"] .feature-title{font-size:32px;line-height:1.7}
  html[lang="ar"] .content-title{font-size:28px;line-height:1.7}
  html[lang="ar"] .quote-card .content-title{font-size:16px}
  html[lang="ar"] .mood-button>span:last-child{font-size:15px;line-height:1.6}
  html[lang="ar"] .segmented button,html[lang="ar"] #typeFilters button,html[lang="ar"] .filter-chip{font-size:15px}
}
@media(max-width:450px){
  .wordmark{font-size:38px}.section-heading h2,.settings-card h2{font-size:29px}
  .quote-card .content-excerpt,.feature-quote,.quote-spotlight blockquote{font-size:37px;line-height:1.3}
  .reader-body blockquote{font-size:39px}
  html[lang="ar"] .wordmark{font-size:30px}
  html[lang="ar"] .hero h1{font-size:38px}
  html[lang="ar"] .quote-card .content-excerpt,html[lang="ar"] .feature-quote,
  html[lang="ar"] .quote-spotlight blockquote,html[lang="ar"] .reader-body blockquote{font-size:32px;line-height:1.85}
  html[lang="ar"] .section-heading h2{font-size:27px}
  html[lang="ar"] .reader-title{font-size:31px}
}
@media(max-width:360px){
  .wordmark{font-size:36px}.quote-card .content-excerpt,.feature-quote,.quote-spotlight blockquote{font-size:35px}
  .reader-body blockquote{font-size:37px}.section-heading h2{font-size:28px}
  html[lang="ar"] .wordmark{font-size:28px}
  html[lang="ar"] .hero h1{font-size:35px}
  html[lang="ar"] .quote-card .content-excerpt,html[lang="ar"] .feature-quote,
  html[lang="ar"] .quote-spotlight blockquote,html[lang="ar"] .reader-body blockquote{font-size:32px;line-height:1.85}
  html[lang="ar"] .mood-button>span:last-child{font-size:14px}
  html[lang="ar"] .reader-body{font-size:21px}
}
