/* ══════════════════════════════════════════════════
   ګوربت ادبي دیره — Improved Stylesheet v2
   Local fonts: janna, helvetic
   ══════════════════════════════════════════════════ */

@font-face {
  font-family: janna;
  src: url('janna/bahij-janna-regular.ttf');
  font-display: swap;
}
@font-face {
  font-family: helvetic;
  src: url('Bahij Helvetica Neue-Roman.ttf');
  font-display: swap;
}


/* ── Design Tokens ────────────────────────────────── */
:root {
  /* Colours (HSL channels only) */
  --bg:        44 38% 95%;
  --fg:        220 32% 13%;
  --ink:       224 44% 15%;
  --paper:     42 46% 98%;
  --white:     0 0% 100%;
  --card:      0   0% 100%;
  --muted:     218 14% 46%;
  --primary:   190 72% 26%;
  --primary-2: 172 68% 34%;
  --accent:    512 52% 36%;
  --rose:      347 68% 50%;
  --border:    38  26% 80%;
  --shadow:    220 38% 16%;
  --overlay:   220 40% 10%;
  /* Geometry */
  --radius:  24px;
  --radius-sm: 14px;

  /* Typography */
  --font-body:   helvetic, janna, system-ui, sans-serif;
  --font-display: janna, helvetic, system-ui, serif;

  /* Spacing scale */
  --space-xs:  6px;
  --space-sm:  12px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
}

:root[data-theme="dark"] {
  --bg:        222 28% 9%;
  --fg:        42  36% 91%;
  --ink:       42  44% 96%;
  --paper:     220 24% 12%;
  --card:      220 20% 16%;
  --muted:     214 14% 66%;
  --primary:   190 60% 46%;
  --primary-2: 176 58% 40%;
  --accent:    512 52% 36%;
  --rose:      347 70% 60%;
  --border:    216 16% 26%;
  --shadow:    220 44% 2%;
}




/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font-family: var(--font-body); }

* ::selection { background: hsl(var(--primary) / 1); color: hsl(var(--white)); }

* { scrollbar-color: hsl(var(--primary)) hsl(var(--bg)); }
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-track { background: hsl(var(--bg)); }
*::-webkit-scrollbar-thumb { background: hsl(var(--primary)); }

html { scroll-behavior: smooth; direction: rtl; font-size: 17px; }
body {
  background: hsl(var(--bg));
  color: hsl(var(--fg));
  line-height: 1.85;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout helpers ───────────────────────────────── */
.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: var(--space-xl) 0; }

/* ── Typography helpers ───────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
    padding: 5px 1.5rem;
    background-color: hsl(var(--));
    /* background-color:hsl(var(--paper) / .7); */
    /* border: 1px solid hsl(var(--border)); */
    border-radius: 5rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: hsl(var(--primary));
  border-radius: 4px;
}

/* ── Reveal animations ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .25s; }
.delay-3 { transition-delay: .38s; }

/* ── Cursor glow ─────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, hsl(var(--primary) / .08), transparent 55%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] .cursor-glow { mix-blend-mode: screen; opacity: .65; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  transition: all .28s ease;
  border: none;
  cursor: pointer;
  letter-spacing: .02em;
}
.btn-primary {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-2)));
  color: hsl(var(--paper));
  box-shadow: 0 10px 28px hsl(var(--primary) / .30), inset 0 1px 0 hsl(0 0% 100% / .15);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px hsl(var(--primary) / .40), inset 0 1px 0 hsl(0 0% 100% / .15);
}
.btn-soft {
  background: hsl(var(--card));
  color: hsl(var(--ink));
  border: 1.5px solid hsl(var(--border));
  box-shadow: 0 4px 14px hsl(var(--shadow) / .06);
}
.btn-soft:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--primary) / .4);
  box-shadow: 0 14px 32px hsl(var(--shadow) / .10);
}
.btn-danger { background: hsl(var(--rose)); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ── Site Header ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: hsl(var(--paper) / .88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid hsl(var(--border) / .6);
  box-shadow: 0 1px 28px hsl(var(--shadow) / .06);
}
.navbar {
  height: 75px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.3rem;
  color: hsl(var(--ink));
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 15px;
  /* background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent))); */
  background: hsl(var(--bg));
  color: hsl(var(--primary));
  font-size: 1.1rem;
  overflow: hidden;
  font-weight: 900;
  box-shadow: 0 8px 24px hsl(var(--primary) / .32);
  transition: transform .25s ease;
}

.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

Haruka

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-inline-start: auto;
}
.nav-links a {
  font-weight: 700;
  font-size: .95rem;
  color: hsl(var(--muted));
  padding: 8px 14px;
  border-radius: 5px;
  transition: all .22s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / .08);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  /* gap: 8px; */
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--card) / .9);
  color: hsl(var(--ink));
  border-radius: 6px;
  padding-left: 10px;
  /* padding: 9px 16px; */
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
  transition: all .25s ease;
}
.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / .4);
  box-shadow: 0 8px 24px hsl(var(--shadow) / .10);
}
.theme-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  /* background: hsl(var(--primary) / .1); */
  font-size: .95rem;
}

.nav-cta {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-2)));
  color: hsl(var(--paper));
  padding: 7px 24px;
  border-radius: 6px;
  font-weight: 800;
  font-size: .92rem;
  transition: all .25s ease;
  white-space: nowrap;
  box-shadow: 0 6px 20px hsl(var(--primary) / .28);
  letter-spacing: .01em;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px hsl(var(--primary) / .36);
}

.menu-toggle {
  display: none;
  /* flex-direction: column; */
  gap: 6px;
  padding: 10px;
  background: none;
  border: none;
 color: hsl(var(--ink));
  cursor: pointer;
  font-size: 18px;
  margin-inline-start: auto;
}

/* ── Color Switcher ─────────────────────────────────── */
.color-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 12px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid hsl(var(--border));
}

.color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid hsl(var(--border));
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.color-btn:hover {
  transform: scale(1.1);
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--paper));
}

.color-btn.active {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--paper)), 0 0 0 4px hsl(var(--primary) / 0.5);
}

@media (max-width: 768px) {
  .color-switcher {
    margin-inline-start: 0;
    padding-inline-start: 0;
    border-inline-start: none;
  }
  .color-btn {
    width: 28px;
    height: 28px;
  }


}



/* ── Color Palette Dropdown ─────────────────────────────────── */
.color-dropdown {
  position: relative;
  display: inline-flex;
  display: none;
}

.color-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: hsl(var(--card) / 0.9);
  border: 1.5px solid hsl(var(--border));
  border-radius: 999px;
  color: hsl(var(--ink));
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.color-dropdown-btn:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 8px 24px hsl(var(--shadow) / 0.1);
}

.color-dropdown-btn i:first-child {
  font-size: 1rem;
  color: hsl(var(--primary));
}

.color-dropdown-btn .fa-chevron-down {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.color-dropdown.active .color-dropdown-btn .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-label {
  display: inline-block;
}

/* Dropdown Menu */
.color-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  box-shadow: 0 12px 40px hsl(var(--shadow) / 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 100;
  overflow: hidden;
}

.color-dropdown.active .color-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.color-dropdown-header {
  padding: 12px 16px;
  background: hsl(var(--bg));
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted));
  border-bottom: 1px solid hsl(var(--border));
  text-align: right;
}

.color-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: right;
}

.color-option:hover {
  background: hsl(var(--primary) / 0.08);
}

.color-option.active {
  background: hsl(var(--primary) / 0.12);
  border-right: 3px solid hsl(var(--primary));
}

.color-preview {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid hsl(var(--border));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.color-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--ink));
  text-align: right;
}

.color-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 768px) {
  .dropdown-label {
    display: none;
  }
  
  .color-dropdown-btn {
    padding: 10px 12px;
  }
  
  .color-dropdown-btn i:first-child {
    margin: 0;
  }
  
  .color-dropdown-menu {
    position: fixed;
    /* top: auto;
    bottom: 80px; */
    left: 16px;
    /* right: 16px; */
    width: fit-content;
    /* max-height: 400px; */
    overflow-y: auto;
  }
  
  .color-option {
    padding: 14px 16px;
  }
}

/* ── Hero ────────────────────────────────────────── */
/* .hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(155deg, hsl(var(--paper)) 45%, hsl(var(--primary) / .05) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / .18), transparent);
} */


.hero{position:relative;min-height:calc(100vh - 78px);display:flex;align-items:center;overflow:hidden;
  /* background:linear-gradient(140deg,hsl(var(--paper)),hsl(var(--primary)/.13),hsl(var(--accent)/.16)); */
}
/* .hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(hsl(var(--ink)/.045) 1px,transparent 1px),linear-gradient(90deg,hsl(var(--ink)/.045) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 88%)} */


.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* background: linear-gradient(140deg, hsl(var(--paper)), hsl(var(--primary)/.13), hsl(var(--accent)/.16)); */
}

/* Changed from rigid square grid to a softer, literary‑inspired pattern
   – Subtle diagonal lines (like ruled paper) + scattered dots (like ink drops / punctuation) */
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  
  /* 1. Fine diagonal "handwriting" lines instead of grid squares */
  background-image: 
    repeating-linear-gradient(
      45deg,
      hsl(var(--ink) / 0.04) 0px,
      hsl(var(--ink) / 0.04) 1px,
      transparent 1px,
      transparent 28px
    ),
    /* 2. Random‑looking scattered dots (like ink splatters or verse points) */
    radial-gradient(circle at 20% 35%, hsl(var(--ink) / 0.05) 1.2px, transparent 1.2px),
    radial-gradient(circle at 68% 72%, hsl(var(--ink) / 0.05) 1px, transparent 1px),
    radial-gradient(circle at 91% 12%, hsl(var(--ink) / 0.04) 1.4px, transparent 1.4px),
    radial-gradient(circle at 43% 88%, hsl(var(--ink) / 0.05) 1px, transparent 1px),
    radial-gradient(circle at 77% 44%, hsl(var(--ink) / 0.045) 1.2px, transparent 1.2px),
    radial-gradient(circle at 5% 60%, hsl(var(--ink) / 0.04) 1px, transparent 1px),
    radial-gradient(circle at 58% 19%, hsl(var(--ink) / 0.05) 1.3px, transparent 1.3px);
  
  background-size: 
    48px 48px,    /* diagonal lines repeat size */
    180px 180px,  /* dot scatter pattern size */
    240px 240px,
    320px 320px,
    260px 260px,
    200px 200px,
    300px 300px;
    
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat;
  
  /* Soft fade toward bottom, same as your original */
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
}



.hero-ink {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 15% 60%, hsl(var(--accent) / .09), transparent),
    radial-gradient(ellipse 50% 50% at 85% 15%, hsl(var(--primary) / .07), transparent),
    radial-gradient(ellipse 30% 30% at 70% 85%, hsl(var(--rose) / .05), transparent);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  font-weight: 900;
  line-height: 1.12;
  color: hsl(var(--ink));
  margin: 12px 0 22px;
  letter-spacing: -.01em;
}
.hero-text {
  font-size: 1.12rem;
  color: hsl(var(--muted));
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid hsl(var(--border) / .6);
}
.hero-stats span { font-size: .92rem; color: hsl(var(--muted)); }
.hero-stats strong {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 900;
  color: hsl(var(--ink));
  margin-inline-end: 5px;
}



.hero-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: 10px;
  padding: 48px;
  box-shadow:
    0 1px 2px hsl(var(--shadow) / 0.04),
    0 4px 12px hsl(var(--shadow) / 0.06),
    0 16px 48px hsl(var(--shadow) / 0.12),
    0 48px 96px hsl(var(--shadow) / 0.08);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 2px hsl(var(--shadow) / 0.04),
    0 6px 16px hsl(var(--shadow) / 0.08),
    0 24px 64px hsl(var(--shadow) / 0.14),
    0 64px 128px hsl(var(--shadow) / 0.12);
}

/* Refined gradient overlay with multiple stops for more depth */
.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: radial-gradient(
    circle at 0% 0%,
    hsl(var(--primary) / 0.12),
    hsl(var(--accent) / 0.06) 40%,
    transparent 80%
  );
  pointer-events: none;
}

/* Optional: subtle background texture for paper feel */
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background-image: radial-gradient(hsl(var(--ink) / 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.manuscript-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: hsl(var(--primary) / 0.7);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  position: relative;
  z-index: 1;
}

.manuscript-top span {
  font-size: 0.8rem;
  line-height: 1;
}


.hero-card h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: hsl(var(--ink));
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.hero-card p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid hsl(var(--border) / 0.5);
  position: relative;
  z-index: 1;
}

/* Enhanced avatar with subtle glow and refined gradient */
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, hsl(var(--primary)), hsl(var(--accent)));
  display: grid;
  place-items: center;
  color: hsl(var(--paper));
  font-weight: 600;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 
    0 6px 14px hsl(var(--primary) / 0.25),
    inset 0 1px 0 hsl(var(--paper) / 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card:hover .avatar {
  transform: scale(1.02);
  box-shadow: 
    0 8px 18px hsl(var(--primary) / 0.3),
    inset 0 1px 0 hsl(var(--paper) / 0.25);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-row strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(var(--ink));
  letter-spacing: -0.2px;
}

.author-row small {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  opacity: 0.8;
}

/* Optional: decorative line accent on hover for manuscript-top */
.manuscript-top::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary)));
  transition: width 0.3s ease;
}

.hero-card:hover .manuscript-top::after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-card {
    padding: 32px;
  }
  
  .hero-card h2 {
    font-size: 1.75rem;
  }
  
  .avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}



/* ── Feature strip ───────────────────────────────── */
.feature-strip { 
  background: hsl(var(--paper)); 
  display: none;
 }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mini-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all .28s ease;
  position: relative;
  overflow: hidden;
}
.mini-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / .04), transparent 60%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.mini-card:hover::after { opacity: 1; }
.mini-card:hover {
  transform: translateY(-6px);
  border-color: hsl(var(--primary) / .25);
  box-shadow: 0 20px 56px hsl(var(--shadow) / .10);
}
.mini-card > span {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.mini-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; color: hsl(var(--ink)); }
.mini-card p { font-size: .95rem; color: hsl(var(--muted)); line-height: 1.75; }

/* ── Section head ────────────────────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: hsl(var(--ink));
  letter-spacing: -.01em;
}
.section-head a {
  font-size: .9rem;
  font-weight: 800;
  color: hsl(var(--primary));
  transition: all .2s ease;
      padding: 5px 1.5rem;
    background-color:hsl(var(--paper) / .7);

    border: 1px solid hsl(var(--border));
    border-radius: 5rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-head a::after { content: '←'; font-size: .85rem; }
.section-head a:hover { gap: 10px; }

/* ── Article list ────────────────────────────────── */
.article-list { display: flex; flex-direction: column; gap: 10px; }
.article-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
  border-radius: 18px;
  transition: all .24s ease;
}
.article-item:hover {
  transform: translateX(-5px);
  border-color: hsl(var(--primary) / .25);
  box-shadow: 0 8px 32px hsl(var(--shadow) / .08);
}
.article-item b {
  font-size: .8rem;
  color: hsl(var(--primary));
  display: block;
  margin-bottom: 5px;
  font-weight: 800;
  letter-spacing: .04em;
}
.article-item h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: hsl(var(--ink));
  margin: 4px 0;
}
.article-item p {
  font-size: .9rem;
  color: hsl(var(--muted));
  line-height: 1.7;
}
.article-item > span {
  font-size: .85rem;
  font-weight: 800;
  color: hsl(var(--accent));
  white-space: nowrap;
  background: hsl(var(--accent) / .1);
  padding: 7px 16px;
  border-radius: 999px;
  flex-shrink: 0;
  border: 1px solid hsl(var(--accent) / .18);
}

.article-list .poem-card {
  padding: 1.5rem;
}

/* ── Archive layout ─────────────────────────────── */
.section--archive { padding-top: 40px; padding-bottom: 72px; }
.section--detail { padding-top: 40px; }
.archive-block { margin-bottom: 56px; }
.archive-page {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, hsl(var(--primary) / .05), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, hsl(var(--accent) / .04), transparent 50%);
}

.archive-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.archive-toolbar__lead {
  flex: 1 1 280px;
  font-size: .95rem;
  color: hsl(var(--muted));
  line-height: 1.75;
  margin: 0;
}
.archive-toolbar__count {
  flex-shrink: 0;
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: hsl(var(--muted));
  padding: 10px 16px;
  border-radius: 999px;
  background: hsl(var(--card) / .85);
  border: 1px solid hsl(var(--border) / .55);
  backdrop-filter: blur(8px);
}
.archive-toolbar__count strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: hsl(var(--ink));
  margin-inline-end: 6px;
}
.archive-grid { animation: archiveFade .5s ease both; }
@keyframes archiveFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.poem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

/* ── Poem cards ─────────────────────────────────── */
.poem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: hsl(var(--card) / .92);
  border: 1px solid hsl(var(--border) / .5);
  border-radius: 7px;
  overflow: hidden;
  box-shadow:
    0 1px 2px hsl(var(--shadow) / .04),
    0 8px 28px hsl(var(--shadow) / .05);
  backdrop-filter: blur(10px);
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s ease,
    border-color .35s ease;
    /* padding: 1.3rem; */
}
.poem-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.poem-card__link:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
}
.poem-card__accent {
  height: 1px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  opacity: .9;
}
.poem-card--ghazal .poem-card__accent { background: linear-gradient(90deg, hsl(164 72% 28%), hsl(164 55% 42%)); }
.poem-card--nazm .poem-card__accent { background: linear-gradient(90deg, hsl(31 90% 48%), hsl(24 88% 55%)); }
.poem-card--free .poem-card__accent { background: linear-gradient(90deg, hsl(220 58% 42%), hsl(220 50% 55%)); }
.poem-card--bit .poem-card__accent { background: linear-gradient(90deg, hsl(347 68% 48%), hsl(347 58% 58%)); }
.poem-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 22px 22px 16px;
  pointer-events: none;
}
.poem-card__foot {
  position: relative;
  z-index: 3;
  padding: 0 18px 18px;
  margin-top: auto;
}
.poem-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / .18);
  box-shadow:
    0 2px 4px hsl(var(--shadow) / .04),
    0 20px 48px hsl(var(--shadow) / .1);
}
.poem-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.poem-card__badge {
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 8px;
  letter-spacing: .02em;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
}
.poem-card--nazm .poem-card__badge { background: hsl(var(--accent) / .14); color: hsl(28 85% 38%); }
.poem-card--free .poem-card__badge { background: hsl(220 58% 45% / .12); color: hsl(220 50% 38%); }
.poem-card--bit .poem-card__badge { background: hsl(var(--rose) / .12); color: hsl(var(--rose)); }
.poem-card__serial {
  font-size: .78rem;
  font-weight: 800;
  color: hsl(var(--muted) / .85);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.poem-card__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: hsl(var(--ink));
  line-height: 1.45;
  margin: 0;
  transition: color .2s ease;
}
.poem-card:hover .poem-card__title { color: hsl(var(--primary)); }
.poem-card__excerpt {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 22px;
  border-radius: 5px;
  background: hsl(var(--bg) / .7);
  border: none;
  font-family: var(--font-display);
  font-size: .94rem;
  line-height: 2;
  color: hsl(var(--muted));
  flex: 1;
  white-space: pre-line;
}
.poem-card__quote-mark {
  position: absolute;
  inset-inline-start: 10px;
  top: 8px;
  font-size: 1.1rem;
  line-height: 1;
  color: hsl(var(--primary) / .35);
  font-family: Georgia, serif;
}
.poem-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  pointer-events: auto;
}
.poem-card__read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: .82rem;
  font-weight: 800;
  color: hsl(var(--primary));
  transition: gap .22s ease;
  display: none;
}
.poem-card:hover .poem-card__read { gap: 12px; }
.poem-card .meta-chip { pointer-events: auto; }

/* ── Meta chips ─────────────────────────────────── */
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* padding: 6px 12px; */
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  /* background: hsl(var(--bg)); */
  /* border: 1px solid hsl(var(--border)); */
  color: hsl(var(--ink));
  transition: all .2s ease;
  position: relative;
  z-index: 2;
}
.meta-chip--lg { font-size: .86rem; }
.meta-chip--muted { color: hsl(var(--muted)); }
.meta-chip:hover {
  /* border-color: hsl(var(--primary) / .3);
  background: hsl(var(--primary) / .06); */
  color: hsl(var(--primary));
}
.meta-chip i { font-size: .72rem; opacity: .85; }

/* ── Mushaira cards ─────────────────────────────── */
.mushaira-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.mushaira-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.mushaira-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  background: hsl(var(--card) / .94);
  border: 1px solid hsl(var(--border) / .5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 1px 2px hsl(var(--shadow) / .04),
    0 10px 32px hsl(var(--shadow) / .06);
  backdrop-filter: blur(10px);
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s ease,
    border-color .35s ease;
}
.mushaira-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}
.mushaira-card__link:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 3px;
}
.mushaira-card__watermark {
  position: absolute;
  inset-inline-end: -8px;
  bottom: -16px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: hsl(var(--accent) / .08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: none;
}
.mushaira-card__shine {
  position: absolute;
  inset-inline-end: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--accent) / .12), transparent 68%);
  pointer-events: none;
  z-index: 0;
  transition: opacity .35s ease;
}
.mushaira-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  padding: 22px 22px 20px;
  pointer-events: none;
}
.mushaira-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--accent) / .22);
  box-shadow:
    0 2px 4px hsl(var(--shadow) / .04),
    0 22px 52px hsl(var(--shadow) / .11);
}
.mushaira-card:hover .mushaira-card__shine { opacity: 1.4; }
.mushaira-card:hover .mushaira-card__title { color: hsl(var(--primary)); }
.mushaira-card:hover .mushaira-card__cta { gap: 10px; color: hsl(var(--primary)); }
.mushaira-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.mushaira-card__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: hsl(var(--accent));
}
.mushaira-card__label i { font-size: .7rem; opacity: .9; }
.mushaira-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  color: hsl(var(--muted));
  padding: 5px 11px;
  border-radius: 8px;
  background: hsl(var(--bg) / .8);
  border: 1px solid hsl(var(--border) / .6);
}
.mushaira-card__serial {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  color: hsl(var(--accent));
  letter-spacing: -.02em;
}
.mushaira-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: hsl(var(--ink));
  margin: 0 0 10px;
  line-height: 1.45;
  transition: color .22s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mushaira-card__desc {
  font-size: .88rem;
  color: hsl(var(--muted));
  line-height: 1.8;
  margin: 0 0 auto;
  padding-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mushaira-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid hsl(var(--border) / .45);
  margin-top: auto;
}
.mushaira-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 800;
  color: hsl(var(--muted));
  transition: gap .22s ease, color .22s ease;
}
.works-pill--mushaira {
  background: hsl(var(--accent) / .1);
  color: hsl(28 75% 38%);
  border-color: hsl(var(--accent) / .2);
}

/* ── Poet cards ─────────────────────────────────── */
.poets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.poets-grid--compact { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.poet-card {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .65);
  border-radius: 22px;
  padding: 28px 24px 22px;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
  box-shadow: 0 2px 12px hsl(var(--shadow) / .04);
}
.poet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px hsl(var(--shadow) / .09);
  border-color: hsl(var(--rose) / .2);
}
.poet-card__link-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.poet-card__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, hsl(var(--primary)), hsl(var(--accent)));
  display: grid;
  place-items: center;
  color: hsl(var(--paper));
  font-size: 1.75rem;
  font-weight: 900;
  border: 4px solid hsl(var(--card));
  box-shadow: 0 8px 24px hsl(var(--primary) / .22);
  position: relative;
  z-index: 2;
}
.poet-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: hsl(var(--ink));
  margin: 0 0 8px;
  position: relative;
  z-index: 2;
}
.poet-card__sub {
  font-size: .84rem;
  color: hsl(var(--muted));
  margin: 0 0 12px;
  position: relative;
  z-index: 2;
}
.poet-card__sub i { color: hsl(var(--primary)); margin-inline-end: 4px; }
.poet-card__dot { opacity: .4; margin-inline: 4px; }
.poet-card__bio {
  font-size: .86rem;
  color: hsl(var(--muted));
  line-height: 1.7;
  margin: 0 0 16px;
  position: relative;
  z-index: 2;
}
.poet-card__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.poet-card__cta {
  font-size: .8rem;
  font-weight: 800;
  color: hsl(var(--primary));
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ── Works pill ─────────────────────────────────── */
.works-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  background: hsl(var(--accent) / .1);
  color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent) / .18);
}
.works-pill--rose {
  background: hsl(var(--rose) / .1);
  color: hsl(var(--rose));
  border-color: hsl(var(--rose) / .18);
}

/* ── Social: likes & share ─────────────────────── */
.social-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid hsl(var(--border) / .55);
}
.poem-card .social-actions {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid hsl(var(--border) / .45);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.poem-card .social-actions,
.poem-card .btn-like,
.poem-card .btn-share {
  pointer-events: auto;
}
.btn-like,
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* padding: 8px 14px; */
  border-radius: 999px;
  /* border: 1.5px solid hsl(var(--border)); */
  /* background: hsl(var(--bg)); */
  color: hsl(var(--muted));
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s ease;
  font-family: inherit;
  border: none;
  outline: none;

  background: none;
}

.btn-share{
  font-size: .8rem;
}
.btn-like{
  font-size: 1rem;
}

.btn-like:hover,
.btn-share:hover {
  /* border-color: hsl(var(--primary) / .35); */
  color: hsl(var(--primary));
  /* background: hsl(var(--primary) / .06); */
}
.btn-like.is-liked {
  /* background: hsl(var(--rose) / .12);
  border-color: hsl(var(--rose) / .35); */
  color: hsl(var(--rose));
}
.btn-like.is-liked i { animation: likePop .35s ease; }
.btn-like.is-busy { opacity: .6; pointer-events: none; }
.like-count.bump { animation: likePop .35s ease; }
@keyframes likePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.person .social-actions {
  width: 100%;
  margin-top: 8px;
  margin-inline-start: 0;
  padding-top: 10px;
  border-top: 1px dashed hsl(var(--border) / .6);
}
.poem-detail .social-actions {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid hsl(var(--border));
}
.short-poem-item {
  scroll-margin-top: 90px;
}
.short-poem-item .social-actions {
  margin-inline-start: 58px;
  width: calc(100% - 58px);
}

/* ── Bait feed (single-column stream) ─────────── */
.bait-feed-wrap {
  max-width: 640px;
  margin-inline: auto;
}
.bait-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bait-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .65);
  border-radius: var(--radius-lg, 18px);
  padding: 22px 24px 18px;
  box-shadow: 0 8px 28px hsl(var(--ink) / .04);
}


.bait-card:first-child::before {
  content: ' انتخابي بیت ';
  display: inline-block;
  background: hsl(var(--primary));
  color: hsl(var(--paper));
  font-size: .78rem;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 5px;
}

.bait-card:first-child {
    background: linear-gradient(155deg, hsl(var(--paper)), hsl(var(--accent) / .08)), radial-gradient(ellipse 70% 50% at 0% 100%, hsl(var(--primary) / .06), transparent);
  border: 2px solid hsl(var(--primary)/ .8);
}



.bait-card__content {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 2.1;
  color: hsl(var(--ink));
  /* white-space: pre-line; */
}
.bait-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.bait-card__poet {
  font-size: .9rem;
  font-weight: 700;
  color: hsl(var(--ink));
}
.bait-card__poet a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bait-card__poet a:hover {
  color: hsl(var(--primary));
}
.bait-card .social-actions {
  margin: 0;
  padding: 0;
  border: none;
}
.bait-card--search .bait-card__foot {
  justify-content: flex-start;
  gap: 16px;
}
.section-head--bait {
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head--bait .eyebrow {
  margin-bottom: 4px;
}
.section-head--bait h2 {
  margin: 0;
}
.section-head--bait .social-actions--mushaira {
  margin: 0;
  padding: 0;
  border: none;
  flex-shrink: 0;
}
.btn-share--mushaira {
  padding: 10px 18px;
  font-size: .88rem;
}


.bait-section .bait-feed-wrap {
  max-width: 640px;
  margin-inline: auto;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
  padding: 16px;
}
.share-modal[hidden] { display: none !important; }
.share-modal.is-open { display: grid; }
.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(var(--overlay) / .5);
  backdrop-filter: blur(4px);
}
.share-modal-panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 22px 22px 18px 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 24px 80px hsl(var(--shadow) / .18);
  animation: shareSlideUp .28s cubic-bezier(.22,.61,.36,1);
}
@keyframes shareSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.share-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.share-modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
  color: hsl(var(--ink));
}
.share-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: hsl(var(--bg));
  color: hsl(var(--muted));
  cursor: pointer;
}
.share-modal-hint {
  font-size: .84rem;
  color: hsl(var(--muted));
  margin: 0 0 14px;
}
.share-preview {
  background: hsl(var(--bg));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 14px;
  font-size: .88rem;
  line-height: 1.85;
  color: hsl(var(--fg));
  white-space: pre-line;
  max-height: min(50vh, 320px);
  overflow: auto;
  margin-bottom: 16px;
  direction: rtl;
  font-family: var(--font-display);
}
.share-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.share-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--paper));
  color: hsl(var(--ink));
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
  font-family: inherit;
  text-align: right;
}
.share-action:hover {
  border-color: hsl(var(--primary) / .3);
  background: hsl(var(--primary) / .06);
  color: hsl(var(--primary));
}
.share-action i { width: 18px; text-align: center; }
.share-toast {
  min-height: 1.2em;
  margin: 12px 0 0;
  font-size: .82rem;
  font-weight: 700;
  color: hsl(var(--primary));
  text-align: center;
  opacity: 0;
  transition: opacity .2s ease;
}
.share-toast.visible { opacity: 1; }
body.share-open { overflow: hidden; }

@media (max-width: 480px) {
  .share-actions-grid { grid-template-columns: 1fr; }
  .short-poem-item .social-actions {
    margin-inline-start: 0;
    width: 100%;
  }
}

/* ── Profile section ─────────────────────────────── */
.two-col { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.profile-panel {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px hsl(var(--shadow) / .06), 0 20px 64px hsl(var(--shadow) / .10);
}
.cover {
  height: 110px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--primary-2)));
  position: relative;
}
.cover::after {
  content: '🪶';
  position: absolute;
  bottom: 14px;
  inset-inline-end: 20px;
  font-size: 1.6rem;
  opacity: .3;
}
.profile-body { padding: 0 30px 36px; position: relative; }
.profile-avatar {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  display: grid;
  place-items: center;
  color: hsl(var(--paper));
  font-weight: 900;
  font-size: 2rem;
  margin-top: -39px;
  border: 4px solid hsl(var(--card));
  box-shadow: 0 4px 18px hsl(var(--primary) / .28);
}
.profile-bio {
  margin-top: 14px;
  font-size: .92rem;
  color: hsl(var(--muted));
  line-height: 1.85;
}
.profile-date {
  margin-top: 12px;
  font-size: .78rem;
  color: hsl(var(--muted) / .65);
}
.page-hero--poet {
  background:
    linear-gradient(155deg, hsl(var(--paper)), hsl(var(--rose) / .06)),
    radial-gradient(ellipse 60% 50% at 100% 0%, hsl(var(--primary) / .07), transparent);
}
.profile-body h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin: 16px 0 8px;
  color: hsl(var(--ink));
}
.profile-body p { font-size: .92rem; color: hsl(var(--muted)); line-height: 1.75; }
.profile-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.profile-actions button, .profile-actions a {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .85rem;
  cursor: pointer;
  transition: all .22s ease;
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--bg));
  color: hsl(var(--ink));
  text-decoration: none;
}
.profile-actions button:hover, .profile-actions a:hover {
  background: hsl(var(--primary));
  color: hsl(var(--paper));
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.metric-grid div {
  text-align: center;
  background: hsl(var(--bg));
  border: 1px solid hsl(var(--border) / .6);
  border-radius: 16px;
  padding: 18px 8px;
  transition: all .22s ease;
}
.metric-grid div:hover {
  background: hsl(var(--primary) / .06);
  border-color: hsl(var(--primary) / .2);
}
.metric-grid strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  color: hsl(var(--primary));
  line-height: 1;
  margin-bottom: 6px;
}
.metric-grid span { font-size: .8rem; color: hsl(var(--muted)); }

/* ── Book shelf ──────────────────────────────────── */
.books-section { background: hsl(var(--bg)); }
.book-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.book-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .28s ease;
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px hsl(var(--shadow) / .12);
  border-color: hsl(var(--primary) / .2);
}
.book-cover {
  height: 175px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(145deg, hsl(var(--primary)), hsl(var(--primary-2)));
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  letter-spacing: .02em;
}
.book-cover.alt { background: linear-gradient(145deg, hsl(var(--accent)), hsl(var(--rose))); }
.book-cover.third { background: linear-gradient(145deg, hsl(var(--rose)), hsl(220 58% 42%)); }
.book-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  padding: 20px 22px 6px;
  color: hsl(var(--ink));
}
.book-card p { font-size: .88rem; color: hsl(var(--muted)); padding: 0 22px; line-height: 1.7; }
.book-card button, .book-card a.btn-book {
  display: block;
  margin: 16px 22px 22px;
  padding: 11px;
  border-radius: 14px;
  font-weight: 800;
  font-size: .88rem;
  background: hsl(var(--primary) / .09);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / .15);
  cursor: pointer;
  transition: all .22s ease;
  text-align: center;
  text-decoration: none;
}
.book-card button:hover, .book-card a.btn-book:hover {
  background: hsl(var(--primary));
  color: hsl(var(--paper));
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}

/* ── Social / short poems ────────────────────────── */
.social-section { background: linear-gradient(160deg, hsl(var(--paper)), hsl(var(--primary) / .04)); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.people-board { display: flex; flex-direction: column; gap: 12px; }
.person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
  border-radius: 18px;
  transition: all .24s ease;
}
.person:hover {
  transform: translateX(-5px);
  border-color: hsl(var(--primary) / .22);
  box-shadow: 0 8px 28px hsl(var(--shadow) / .07);
}
.person > span {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  display: grid;
  place-items: center;
  color: hsl(var(--paper));
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px hsl(var(--primary) / .24);
}
.person b { display: block; font-size: .95rem; font-weight: 800; color: hsl(var(--ink)); }
.person small { font-size: .8rem; color: hsl(var(--muted)); }
.person button, .person a.btn-view {
  margin-inline-start: auto;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .8rem;
  border: 1.5px solid hsl(var(--border));
  background: none;
  cursor: pointer;
  color: hsl(var(--ink));
  transition: all .22s ease;
  text-decoration: none;
}
.person button:hover, .person a.btn-view:hover {
  background: hsl(var(--primary));
  color: hsl(var(--paper));
  border-color: hsl(var(--primary));
}

/* ── Publish / form ──────────────────────────────── */
.publish-section {
  background:
    linear-gradient(160deg, hsl(var(--primary) / .05), transparent 60%),
    hsl(var(--bg));
}
.publish-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
  border-radius: calc(var(--radius) * 1.4);
  box-shadow: 0 4px 16px hsl(var(--shadow) / .06), 0 32px 80px hsl(var(--shadow) / .10);
}
.publish-card h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin: 12px 0 18px;
  color: hsl(var(--ink));
  letter-spacing: -.01em;
}
.publish-form { display: flex; flex-direction: column; }
.publish-form input,
.publish-form select,
.publish-form textarea {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--bg));
  color: hsl(var(--fg));
  font-size: 1rem;
  transition: all .22s ease;
}
.publish-form input:focus,
.publish-form select:focus,
.publish-form textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  background: hsl(var(--card));
  box-shadow: 0 0 0 3px hsl(var(--primary) / .12);
}
.publish-form textarea { min-height: 150px; resize: vertical; }
.publish-form button {
  align-self: flex-start;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-2)));
  color: hsl(var(--paper));
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .28s ease;
  box-shadow: 0 8px 24px hsl(var(--primary) / .28);
}
.publish-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px hsl(var(--primary) / .36);
}

/* ── Mobile bottom bar ───────────────────────────── */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 30;
  background: hsl(var(--paper) / .94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid hsl(var(--border) / .7);
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px hsl(var(--shadow) / .08);
}
.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: .72rem;
  font-weight: 800;
  color: hsl(var(--muted));
  transition: all .22s ease;
  padding: 6px 0;
}
.mobile-bottom-bar a span { font-size: 1.35rem; line-height: 1; }
.mobile-bottom-bar a.active, .mobile-bottom-bar a:hover { color: hsl(var(--primary)); }

/* .mobile-publish {
  color: hsl(var(--paper)) !important;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  border-radius: 50%;
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  font-size: 1.7rem;
  flex: 0 0 auto;
  box-shadow: 0 8px 28px hsl(var(--primary) / .42);
  transition: transform .22s ease;
}
.mobile-publish:hover { transform: scale(1.08) translateY(-2px); } */

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: hsl(var(--paper));
  border-top: 1px solid hsl(var(--border) / .6);
  padding: 64px 0 40px;
  padding-bottom: 15px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; }
.footer-grid h3 {
  font-size: .95rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: hsl(var(--ink));
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-grid a {
  display: block;
  font-size: .9rem;
  color: hsl(var(--muted));
  margin-bottom: 12px;
  transition: all .2s ease;
}
.footer-grid a:hover { color: hsl(var(--primary)); transform: translateX(-4px); }
.footer-grid p {
  font-size: .9rem;
  color: hsl(var(--muted));
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.8;
}
.footer-note {
  font-size: .78rem;
  color: hsl(var(--muted) / .55);
  margin-top: 24px;
}

.website-builder{
  text-align: center;
  padding: 5px 5px;
  /* background: hsl(var(--primary) / .05); */
  /* border: 1px solid hsl(var(--primary) / .15); */
  border-radius: 10px;
  /* box-shadow: 0 4px 16px hsl(var(--primary) / .06); */
  transition: all .22s ease;
  font-size: .85rem;
      display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  width: fit-content;
  margin: 1.5rem 0;
}

.website-builder:hover {
  /* background: hsl(var(--primary) / .1); */
  border-color: hsl(var(--primary) / .3);
  /* box-shadow: 0 12px 32px hsl(var(--primary) / .12); */
}


.website-builder a {
  font-weight: 900;
  color: hsl(var(--primary));
  transition: all .22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.website-builder a:hover {
  color: hsl(var(--primary) / .8);  
}

.website-builder i {
  margin-right: 6px;
  font-size: .75rem; 
}


.website-builder{
    margin-top: 25px;
    text-align: center;
}

.website-builder a{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.5;
    padding: 7px 22px;
    /* background: hsl(var(--card)); */
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    color: hsl(var(--ink));
    /* box-shadow: 0 10px 25px hsl(var(--shadow) / .08); */
    transition: all .3s ease;
}

.website-builder a:hover{
    /* transform: translateY(-4px); */
    border-color: hsl(var(--primary));
    box-shadow: 0 18px 40px hsl(var(--primary) / .18);
}

.creator{
    color: hsl(var(--ink) / .7);
    /* font-weight: 700; */
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone{
    /* padding: 6px 0px; */
    /* background: hsl(var(--primary) / .08); */
    border-radius: 5px;
    color: hsl(var(--ink)/ .7);
    /* font-weight: 700; */
    display: flex;
    align-items: center;
    gap: 8px;
}

.arrow{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: hsl(var(--accent));
    color: hsl(var(--paper));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: arrowMove 1.5s infinite;
}

@keyframes arrowMove{
    0%,100%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(-5px);
    }
}


.whatsapp{
    width: 42px;
    height: 42px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: hsl(var(--primary) / .08);
    color: #25D366;
    font-size: 1.2rem;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

/* Shine Effect */
.whatsapp::before{
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent,
        rgba(255,255,255,.25),
        transparent
    );
    transform: rotate(25deg);
    transition: .6s;
}

.whatsapp:hover::before{
    top: 100%;
    left: 100%;
}


.whatsapp i{
    transition: transform .3s ease;
    font-size: 1.15rem !important;
}

.whatsapp:hover i{
    transform: rotate(-10deg);
}

:root[data-theme="dark"] .website-builder a{
    background: hsl(var(--card));
}

@media (max-width: 768px){


    .website-builder{
       width: 100%;
    }

    .website-builder a{
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 320px;
        margin: auto;
        border-radius: 7px;
    }

    .creator,
    .phone,
    .whatsapp{
        font-size: .9rem;
        width: 100%;
        border-radius: 5px;
    }

    .whatsapp{

    }

      .poem-card{
    padding: 0;
  }
}


/* ── Contact ─────────────────────────────────────── */
.contact-section {
  padding: var(--space-lg) 0;
  background: linear-gradient(180deg, transparent, hsl(var(--primary) / .04));
}
.contact-section--compact {
  padding: var(--space-md) 0 var(--space-lg);
}
.contact-page {
  padding-top: 0;
}
.contact-intro {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 1rem;
  color: hsl(var(--muted));
  line-height: 1.9;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .65);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 24px hsl(var(--shadow) / .04);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.contact-card:hover {
  border-color: hsl(var(--primary) / .35);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px hsl(var(--shadow) / .08);
}
.contact-card--whatsapp:hover {
  border-color: hsl(142 70% 40% / .45);
}
.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
  font-size: 1.2rem;
}
.contact-card--whatsapp .contact-card__icon {
  background: hsl(142 70% 40% / .12);
  color: hsl(142 70% 36%);
}
.contact-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card__body strong {
  font-size: .82rem;
  font-weight: 800;
  color: hsl(var(--muted));
  text-transform: uppercase;
  letter-spacing: .04em;
}
.contact-card__body span {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--ink));
  word-break: break-word;
}
.contact-card__arrow {
  flex-shrink: 0;
  font-size: .85rem;
  color: hsl(var(--muted) / .5);
  transition: transform .2s ease, color .2s ease;
}
.contact-card:hover .contact-card__arrow {
  color: hsl(var(--primary));
  transform: translateX(-4px);
}
.contact-social {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed hsl(var(--border) / .7);
}
.contact-social__label {
  font-size: .85rem;
  font-weight: 800;
  color: hsl(var(--muted));
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-social__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--card));
  font-size: .88rem;
  font-weight: 700;
  color: hsl(var(--ink));
  transition: all .22s ease;
}
.contact-social__btn i {
  font-size: 1.1rem;
  color: hsl(var(--primary));
}
.contact-social__btn:hover {
  border-color: hsl(var(--primary) / .4);
  background: hsl(var(--primary) / .08);
  transform: translateY(-1px);
}

/* ── About ───────────────────────────────────────── */
.about-page {
  padding-top: 0;
}
.about-layout {
  max-width: 900px;
  margin-inline: auto;
}
.about-tagline {
  display: inline-block;
  font-size: .88rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: hsl(var(--primary) / .1);
  border: 1px solid hsl(var(--primary) / .2);
}
.about-lead {
  font-size: 1.05rem;
  line-height: 2;
  color: hsl(var(--ink));
  margin-bottom: 16px;
}
.about-lead:last-child {
  margin-bottom: 0;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 36px 0 44px;
}
.about-stat {
  text-align: center;
  padding: 20px 14px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .6);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px hsl(var(--shadow) / .04);
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: hsl(var(--ink));
  line-height: 1.2;
}
.about-stat span {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: hsl(var(--muted));
  text-transform: uppercase;
  letter-spacing: .04em;
}
.about-stat--accent {
  background: linear-gradient(145deg, hsl(var(--primary) / .12), hsl(var(--accent) / .08));
  border-color: hsl(var(--primary) / .25);
}
.about-stat--accent strong {
  color: hsl(var(--primary));
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.about-pillar {
  padding: 28px 26px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .65);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px hsl(var(--shadow) / .05);
}
.about-pillar__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: hsl(var(--primary) / .12);
  color: hsl(var(--primary));
  font-size: 1.1rem;
}
.about-pillar__icon--accent {
  background: hsl(var(--accent) / .15);
  color: hsl(var(--accent));
}
.about-pillar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: hsl(var(--ink));
}
.about-pillar p {
  font-size: .95rem;
  line-height: 1.9;
  color: hsl(var(--muted));
}
.about-block {
  margin-bottom: 48px;
}
.about-block__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 22px;
  color: hsl(var(--ink));
}
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.about-feature {
  padding: 20px 18px;
  background: hsl(var(--paper));
  border: 1px solid hsl(var(--border) / .55);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, transform .2s ease;
}
.about-feature:hover {
  border-color: hsl(var(--primary) / .3);
  transform: translateY(-2px);
}
.about-feature__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
  font-size: 1rem;
}
.about-feature h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: hsl(var(--ink));
}
.about-feature p {
  font-size: .88rem;
  line-height: 1.75;
  color: hsl(var(--muted));
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .55);
  border-radius: var(--radius-sm);
}
.about-value > i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
  font-size: 1rem;
}
.about-value strong {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: hsl(var(--ink));
  margin-bottom: 4px;
}
.about-value p {
  font-size: .88rem;
  line-height: 1.7;
  color: hsl(var(--muted));
  margin: 0;
}
.about-team {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, hsl(var(--primary) / .08), hsl(var(--accent) / .06));
  border: 1px solid hsl(var(--primary) / .2);
  border-radius: var(--radius);
}
.about-team__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
}
.about-team__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 4px 0 6px;
  color: hsl(var(--ink));
}
.about-team__role {
  font-size: .9rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 8px;
}
.about-team__note {
  font-size: .88rem;
  color: hsl(var(--muted));
  line-height: 1.75;
  max-width: 480px;
}
.about-cta {
  text-align: center;
  padding: 36px 28px;
  background: hsl(var(--card));
  border: 1px dashed hsl(var(--border));
  border-radius: var(--radius);
}
.about-cta p {
  font-size: 1rem;
  color: hsl(var(--muted));
  margin-bottom: 20px;
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.about-section--teaser {
  padding: var(--space-lg) 0;
  background: linear-gradient(180deg, hsl(var(--primary) / .04), transparent);
}
.about-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .65);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px hsl(var(--shadow) / .06);
}
.about-teaser__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  margin: 8px 0 14px;
  color: hsl(var(--ink));
}
.about-teaser__copy p {
  font-size: .98rem;
  line-height: 1.9;
  color: hsl(var(--muted));
  margin-bottom: 20px;
  max-width: 520px;
}
.brand-mark--lg {
  width: 100px;
  height: 100px;
  font-size: 2.75rem;
  border-radius: 28px;
  opacity: .9;
}
@media (max-width: 768px) {
  .about-teaser {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }
  .about-teaser__copy p {
    margin-inline: auto;
  }
  .about-teaser__mark {
    order: -1;
  }
  .about-team {
    flex-direction: column;
    text-align: center;
  }
  .about-team__note {
    margin-inline: auto;
  }


}

/* ── Page hero (inner pages) ─────────────────────── */
.page-hero {
  padding: 56px 0 52px;
  background:
    linear-gradient(155deg, hsl(var(--paper)), hsl(var(--primary) / .06) 45%, hsl(var(--accent) / .08)),
    radial-gradient(ellipse 80% 60% at 100% 0%, hsl(var(--primary) / .08), transparent);
  border-bottom: 1px solid hsl(var(--border) / .5);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(hsl(var(--ink) / .03) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--ink) / .03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  
  /* 1. Fine diagonal "handwriting" lines instead of grid squares */
  background-image: 
    repeating-linear-gradient(
      45deg,
      hsl(var(--ink) / 0.04) 0px,
      hsl(var(--ink) / 0.04) 1px,
      transparent 1px,
      transparent 28px
    ),
    /* 2. Random‑looking scattered dots (like ink splatters or verse points) */
    radial-gradient(circle at 20% 35%, hsl(var(--ink) / 0.05) 1.2px, transparent 1.2px),
    radial-gradient(circle at 68% 72%, hsl(var(--ink) / 0.05) 1px, transparent 1px),
    radial-gradient(circle at 91% 12%, hsl(var(--ink) / 0.04) 1.4px, transparent 1.4px),
    radial-gradient(circle at 43% 88%, hsl(var(--ink) / 0.05) 1px, transparent 1px),
    radial-gradient(circle at 77% 44%, hsl(var(--ink) / 0.045) 1.2px, transparent 1.2px),
    radial-gradient(circle at 5% 60%, hsl(var(--ink) / 0.04) 1px, transparent 1px),
    radial-gradient(circle at 58% 19%, hsl(var(--ink) / 0.05) 1.3px, transparent 1.3px);
  
  background-size: 
    48px 48px,    /* diagonal lines repeat size */
    180px 180px,  /* dot scatter pattern size */
    240px 240px,
    320px 320px,
    260px 260px,
    200px 200px,
    300px 300px;
    
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat;
  
  /* Soft fade toward bottom, same as your original */
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
}


.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: hsl(var(--ink));
  margin: 10px 0 14px;
  letter-spacing: -.01em;
}
.page-hero__lead,
.page-hero p.page-hero__lead {
  color: hsl(var(--muted));
  font-size: 1.05rem;
  /* max-width: 560px; */
  text-align: justify;
  white-space: pre-line;
  line-height: 1.85;
}
.page-hero p:not(.eyebrow):not(.page-hero__lead) {
  color: hsl(var(--muted));
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.85;
}
.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 22px;
  background: hsl(var(--card) / .85);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border) / .7);
  border-radius: 16px;
  min-width: 110px;
  box-shadow: 0 4px 16px hsl(var(--shadow) / .05);
}
.hero-stat strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: hsl(var(--primary));
  line-height: 1.2;
}
.hero-stat span {
  font-size: .78rem;
  font-weight: 700;
  color: hsl(var(--muted));
  letter-spacing: .04em;
}
.page-hero--mushaira {
  background:
    linear-gradient(155deg, hsl(var(--paper)), hsl(var(--accent) / .08)),
    radial-gradient(ellipse 70% 50% at 0% 100%, hsl(var(--primary) / .06), transparent);
}

/* ── Search ──────────────────────────────────────── */
.search-box { position: relative; max-width: 660px; }
.search-box input {
  width: 100%;
  padding: 18px 26px;
  border-radius: 999px;
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--fg));
  font-size: 1.05rem;
  transition: all .24s ease;
  box-shadow: 0 8px 32px hsl(var(--shadow) / .07);
}
.search-box input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / .10), 0 8px 32px hsl(var(--shadow) / .07);
}
.search-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
  margin-inline-end: 6px;
  margin-bottom: 6px;
  border: 1px solid hsl(var(--primary) / .16);
}
.search-tag.tag-mushaira { background: hsl(var(--accent) / .12); color: hsl(var(--accent)); border-color: hsl(var(--accent) / .2); }
.search-tag.tag-poet { background: hsl(var(--rose) / .12); color: hsl(var(--rose)); border-color: hsl(var(--rose) / .2); }
.search-tag.tag-short { background: hsl(220 58% 45% / .12); color: hsl(220 58% 45%); border-color: hsl(220 58% 45% / .2); }


/* ── Poem detail ─────────────────────────────────── */
.poem-detail {
  max-width: 780px;
  margin-inline: auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .65);
  border-radius: 18px;
  /* padding: 36px 40px 32px; */
  padding: 20px 30px;
  box-shadow: 0 8px 40px hsl(var(--shadow) / .07);
  position: relative;
  overflow: hidden;
}
/* .poem-detail::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, hsl(var(--primary)), hsl(var(--accent)));
} */
.poem-detail--ghazal::before { background: linear-gradient(to bottom, hsl(164 72% 26%), hsl(164 60% 40%)); }
.poem-detail--nazm::before { background: linear-gradient(to bottom, hsl(31 90% 52%), hsl(24 88% 48%)); }
.poem-detail--free::before { background: linear-gradient(to bottom, hsl(220 58% 45%), hsl(220 50% 58%)); }
.poem-detail--bit::before { background: linear-gradient(to bottom, hsl(347 68% 50%), hsl(347 60% 62%)); }
.poem-detail__header { margin-bottom: 8px; }
.poem-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.poem-detail .type-badge,
.type-badge {
  display: inline-block;
  padding: 3px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / .18);
}
.serial-badge {
  display: inline-block;
  padding: 3px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  background: hsl(var(--bg));
  color: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}
.poem-detail h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  color: hsl(var(--ink));
  font-weight: 900;
  letter-spacing: -.01em;
}
.poem-meta--chips { margin-top: 0; display: flex; flex-wrap: wrap; }
.poem-body {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.5;
  color: hsl(var(--ink));
  margin: 10px 0;
  /* padding: 36px 40px; */
  /* background: hsl(var(--card)); */
  /* border: 1px solid hsl(var(--border) / .7); */
  border-top: 1px solid hsl(var(--border) / .65);
  border-radius: 0;
  padding-top: 10px;
  white-space: pre-wrap;
  /* box-shadow: 0 4px 20px hsl(var(--shadow) / .06); */
  position: relative;
}
/* .poem-body::before {
  content: '❝';
  position: absolute;
  top: 16px;
  inset-inline-end: 24px;
  font-size: 3rem;
  color: hsl(var(--primary) / .1);
  font-family: serif;
  line-height: 1;
} */
/* .poem-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; } */
.poem-meta span { font-size: .88rem; color: hsl(var(--muted)); }
.poem-meta a { color: hsl(var(--primary)); font-weight: 800; }

/* ── Breadcrumb ──────────────────────────────────── */
.breadcrumb { font-size: .85rem; color: hsl(var(--muted)); margin-bottom: 26px; }
.breadcrumb a { color: hsl(var(--primary)); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin-inline: 8px; opacity: .5; }

/* ── Filter bar ──────────────────────────────────── */
.archive-toolbar__filters.filter-bar {
  flex: 1 1 auto;
  margin-bottom: 0;
}
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
  background: hsl(var(--card) / .88);
  border: 1px solid hsl(var(--border) / .5);
  border-radius: 16px;
  box-shadow: 0 4px 20px hsl(var(--shadow) / .04);
  backdrop-filter: blur(12px);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 800;
  border: 1px solid transparent;
  background: transparent;
  color: hsl(var(--muted));
  cursor: pointer;
  transition: all .22s ease;
  text-decoration: none;
}
.filter-btn i { font-size: .78rem; opacity: .75; }
.filter-btn:hover {
  background: hsl(var(--bg));
  color: hsl(var(--ink));
  border-color: hsl(var(--border) / .6);
}
.filter-btn.active {
  background: hsl(var(--primary));
  color: hsl(var(--paper));
  border-color: hsl(var(--primary));
  box-shadow: 0 4px 14px hsl(var(--primary) / .22);
}
.filter-btn--ghazal.active { background: hsl(164 72% 28%); border-color: hsl(164 72% 28%); box-shadow: 0 4px 14px hsl(164 72% 28% / .25); }
.filter-btn--nazm.active { background: hsl(31 90% 46%); border-color: hsl(31 90% 46%); box-shadow: 0 4px 14px hsl(31 90% 46% / .25); }
.filter-btn--free.active { background: hsl(220 58% 42%); border-color: hsl(220 58% 42%); box-shadow: 0 4px 14px hsl(220 58% 42% / .25); }
.filter-btn--bit.active { background: hsl(347 68% 48%); border-color: hsl(347 68% 48%); box-shadow: 0 4px 14px hsl(347 68% 48% / .25); }






/* ── Notices / flash ─────────────────────────────── */
.notice {
  padding: 16px 22px;
  border-radius: 16px;
  font-size: .95rem;
  margin-bottom: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-success {
  background: hsl(164 70% 28% / .1);
  color: hsl(164 72% 26%);
  border: 1.5px solid hsl(164 70% 28% / .22);
}
.notice-error {
  background: hsl(var(--rose) / .1);
  color: hsl(var(--rose));
  border: 1.5px solid hsl(var(--rose) / .22);
}

/* ── Empty state ─────────────────────────────────── */
.empty-state { text-align: center; padding: 90px 20px; color: hsl(var(--muted)); }
.empty-state span { font-size: 3.5rem; display: block; margin-bottom: 18px; opacity: .35; }
.empty-state p { font-size: 1rem; }

/* ── Divider ─────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--border)), transparent);
  margin: 0;
}



/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .publish-card { grid-template-columns: 1fr; padding: 44px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  .nav-links {
display: none;
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        /* inset-inline: 0; */
        flex-direction: column;
        background: hsl(var(--paper) / .97);
        backdrop-filter: blur(22px);
        padding: 28px 24px;
        gap: 4px;
        width: 90%;
        border-radius: .5rem;
        z-index: 19;
        border-bottom: 1px solid hsl(var(--border));
        box-shadow: 0 12px 40px hsl(var(--shadow) / .12);
  }
  .nav-links.open { 
    display: flex;

   }

   .nav-links li, .nav-links a {
    display: inline-block;
    width: 100%;
   }

  .nav-links a {
    padding: 5px 18px;
    font-size: 1.05rem;
    border-radius: 5px;
  }
  .menu-toggle { display: flex; }
  .theme-toggle{
    padding: 0;
  }
  .theme-icon { width: 35px; height: 35px; }
 

  .nav-cta { font-size: .82rem; padding: 6px 12px; }
  .strip-grid { grid-template-columns: 1fr; }
  .book-shelf { grid-template-columns: 1fr; }
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 85px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .poem-grid,
  .mushaira-grid,
  .mushaira-grid--compact { grid-template-columns: 1fr; }
  .archive-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .archive-toolbar__count { text-align: center; }
  .filter-bar { justify-content: center; }
  .hero { min-height: 80vh; }
  .poem-body {
     /* padding: 24px 22px; */
      font-size: 1.15rem; }

  .gorbat{
    font-size: 1.1rem;
  }

  .navbar{
    gap: 10px;
  }

  .theme-label{
    display: none;
  }
}

 .gorbat{
    display: none;
  }

@media (max-width: 480px) {
  html { font-size: 15.5px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .article-item { flex-direction: column; align-items: flex-start; }
  .mushaira-grid, .poets-grid { grid-template-columns: 1fr; }
  .poem-detail { padding: 26px 22px; }
  .page-hero__stats { gap: 10px; }
  .hero-stat { min-width: 0; flex: 1 1 calc(50% - 10px); }
  .publish-card { padding: 30px 20px; }
  .hero-copy h1 { font-size: 2.2rem; }

  .poem-body{
    font-size: 1rem;
  }
}
