/* ══════════════════════════════════════════
   TOKENS  —  Dark mode inversion of mitchellsparrow.com
   Original light:  bg #fbfbfb · text #242525 · accent #5e8e97
   Dark version:    bg #111111 · text #f0f0f0 · accent #5e8e97
══════════════════════════════════════════ */
:root {
  --bg:          #111111;
  --bg-card:     rgba(255, 255, 255, 0.04);
  --border-card: rgba(255, 255, 255, 0.08);
  --circle:      rgba(255, 255, 255, 0.05);
  --header-bg:   rgba(17, 17, 17, 0.85);
  --text:        #f0f0f0;
  --text-m:      #888888;   /* medium gray */
  --text-l:      #555555;   /* light (less visible) */
  --accent:      #5e8e97;
  --accent-h:    #4a7580;
  --scroll-bg:   #111111;
  --scroll-th:   #333333;
  --radius:      12px;
  --tr:          0.3s;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { direction: rtl; }
html[dir="ltr"] body { direction: ltr; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: var(--scroll-bg); }
::-webkit-scrollbar-thumb { background: var(--scroll-th); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes blink {
  0%, 50%  { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.fade-in {
  opacity: 0;
  animation: fade-up 0.5s ease forwards;
  animation-delay: var(--d, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
[data-delay="0"] { transition-delay: 0ms; }
[data-delay="1"] { transition-delay: 100ms; }
[data-delay="2"] { transition-delay: 200ms; }
[data-delay="3"] { transition-delay: 300ms; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 20px 48px;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html[dir="rtl"] #header { padding: 20px 48px 20px 24px; }

.hdr-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hdr-left a {
  color: var(--text-m);
  display: flex;
  transition: color var(--tr);
}
.hdr-left a:hover { color: var(--accent); }

.hdr-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  background: transparent;
  color: var(--text-m);
  cursor: pointer;
  transition: var(--tr);
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }

.hdr-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text);
  transition: color var(--tr);
}
.hdr-contact:hover { color: var(--accent); }

/* ══════════════════════════════════════════
   HOME BUTTON
══════════════════════════════════════════ */
.home-btn {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(94,142,151,0.4);
  transition: background var(--tr), transform var(--tr);
}
.home-btn:hover { background: var(--accent-h); transform: translateX(-50%) translateY(-3px); }

/* ══════════════════════════════════════════
   SECTIONS — shared
══════════════════════════════════════════ */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 24px;
}

/* Concentric circles */
.circles {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  top: 50%;
  left: 50%;
  opacity: 0;
  animation: sonar 4s ease-out infinite;
}
.circle:nth-child(1) { animation-delay: 0s; }
.circle:nth-child(2) { animation-delay: 0.8s; }
.circle:nth-child(3) { animation-delay: 1.6s; }
.circle:nth-child(4) { animation-delay: 2.4s; }
.circle:nth-child(5) { animation-delay: 3.2s; }

@keyframes sonar {
  0%   { transform: translate(-50%, -50%) scale(0.1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}

/* Section content wrapper */
.sec-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sec-content.wide { max-width: 1000px; }
.contact-content   { text-align: center; }

/* Eyebrow label */
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.35em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 48px;
}
.eyebrow-sub {
  font-size: 0.8rem;
  color: var(--text-l);
  margin-top: -40px;
  margin-bottom: 40px;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero { padding-top: 80px; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Profile image */
.profile-wrap {
  position: relative;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* circles inside profile-wrap: fill the wrap, overflow outward */
.profile-wrap .circles {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.profile-img {
  width: 216px; height: 216px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.12);
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Hero eyebrow */
#hero .eyebrow {
  margin-bottom: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--text);
}

/* Hero name greeting */
.hero-greeting {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text-m);
  text-align: center;
  margin-bottom: 8px;
}

/* Hero typewriter headline */
.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 48px;
}
.tw-cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

/* Hero nav */
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
}
.hero-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-m);
  transition: color var(--tr);
}
.hero-nav a:hover { color: var(--accent); }

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-grid {
  display: flex;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.about-img-wrap { flex-shrink: 0; }
.about-img {
  width: 220px; height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.about-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.ul-accent {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.about-text p {
  color: var(--text-m);
  line-height: 1.85;
  font-size: 0.95rem;
  text-align: justify;
}

/* ══════════════════════════════════════════
   TECH BADGES
══════════════════════════════════════════ */
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tech-badges.sm .tb, .tech-badges .tb {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0;
}
.tb.py { background: #3776AB; }
.tb.ts { background: #3178C6; }
.tb.js { background: #F7DF1E; color: #000; }
.tb.re { background: #61DAFB; color: #000; }
.tb.nx { background: #000; border: 1px solid #333; }
.tb.fa { background: #009688; }
.tb.nd { background: #339933; }
.tb.dk { background: #2496ED; }
.tb.gt { background: #F05032; }
.tb.sq { background: #336791; }
.tb.mg { background: #47A248; }
.tb.rd { background: #DC382D; }
.tb.ai { background: #7c3aed; }
.tb.lc { background: #1C3B40; }
.tb.pl { background: #2EAD33; }
.tb.aw { background: #FF9900; color: #000; }
.tb.ht { background: #E34F26; }
.tb.cs { background: #1572B6; }
.tb.pc { background: #000; border: 1px solid #444; }
.tb.cu { background: #1a1a1a; border: 1px solid #555; }
.tb.gm { background: #4285F4; }

/* ══════════════════════════════════════════
   EXPERIENCE
══════════════════════════════════════════ */
.exp-list { display: flex; flex-direction: column; gap: 24px; width: 100%; }

.exp-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: box-shadow var(--tr);
}
.exp-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }

.exp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.exp-head h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.exp-company  { color: var(--accent); font-weight: 500; font-size: 0.9rem; margin-top: 4px; }
.exp-period   { color: var(--text-m); font-size: 0.82rem; white-space: nowrap; flex-shrink: 0; }

.exp-bullets  { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.exp-bullets li {
  color: var(--text-m);
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.exp-bullets li::before {
  content: '•';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}
html[dir="rtl"] .exp-bullets li::before { content: '•'; }

/* ══════════════════════════════════════════
   SKILLS
══════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px 16px;
  justify-items: center;
  width: 100%;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  position: relative;
}

.skill-box {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: box-shadow var(--tr), transform var(--tr);
}
.skill-item:hover .skill-box {
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.tb-lg {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.skill-label {
  font-size: 10px;
  color: var(--text-m);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.skill-tip {
  position: absolute;
  top: -36px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  font-family: 'Montserrat', sans-serif;
}
.skill-item:hover .skill-tip { opacity: 1; }

/* Color reuse for tb-lg */
.tb-lg.py { background: #3776AB; }
.tb-lg.ts { background: #3178C6; }
.tb-lg.js { background: #F7DF1E; color: #000; }
.tb-lg.re { background: #61DAFB; color: #000; }
.tb-lg.nx { background: #000; border: 1px solid #333; }
.tb-lg.fa { background: #009688; }
.tb-lg.nd { background: #339933; }
.tb-lg.dk { background: #2496ED; }
.tb-lg.gt { background: #F05032; }
.tb-lg.sq { background: #336791; }
.tb-lg.mg { background: #47A248; }
.tb-lg.rd { background: #DC382D; }
.tb-lg.ai { background: #7c3aed; }
.tb-lg.lc { background: #1C3B40; border: 1px solid #333; }
.tb-lg.pl { background: #2EAD33; }
.tb-lg.aw { background: #FF9900; color: #000; }

/* ══════════════════════════════════════════
   CERTIFICATIONS
══════════════════════════════════════════ */
.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 22px 28px;
  transition: box-shadow var(--tr), transform var(--tr);
}
.cert-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.cert-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.cert-info {
  flex: 1;
}
.cert-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.cert-issuer {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 2px;
}
.cert-year {
  font-size: 0.8rem;
  color: var(--text-m);
}
.cert-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 8px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--tr), color var(--tr);
}
.cert-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.proj-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--tr), transform var(--tr);
}
.proj-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}
.proj-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.proj-card p {
  color: var(--text-m);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   DOWNLOADS
══════════════════════════════════════════ */
.dl-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.dl-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 18px 24px;
  transition: box-shadow var(--tr), transform var(--tr), border-color var(--tr);
  cursor: pointer;
}
.dl-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-2px);
  border-color: var(--accent);
}
.dl-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.dl-icon {
  color: var(--accent);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-h {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  max-width: 520px;
  line-height: 1.3;
  margin-bottom: 48px;
}

.contact-links { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.ct-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-m);
  transition: color var(--tr);
}
a.ct-row:hover { color: var(--accent); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
  .about-grid  { flex-direction: column; align-items: center; }
  .about-img   { width: 180px; height: 230px; }
  .about-text  { text-align: center; }
  .about-text p { text-align: center; }
  .skills-grid { grid-template-columns: repeat(6, 1fr); }
  .proj-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ── Large phone (≤768px) ── */
@media (max-width: 768px) {
  section { padding: 80px 20px; }
  #header { padding: 14px 20px; }

  .profile-img { width: 180px; height: 180px; }

  .hero-nav { gap: 16px 28px; }
  .hero-nav a { font-size: 0.68rem; }

  .about-img { width: 160px; height: 200px; }

  .exp-card { padding: 22px 20px; }
  .exp-head { flex-direction: column; gap: 4px; }
  .exp-period { font-size: 0.76rem; }

  .skills-grid { grid-template-columns: repeat(5, 1fr); }

  .cert-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .cert-btn { align-self: stretch; text-align: center; }

  .proj-grid { grid-template-columns: 1fr; }

  .dl-card { padding: 14px 18px; }
  .dl-name { font-size: 0.9rem; }

  .contact-h { font-size: clamp(1.2rem, 4vw, 1.6rem); margin-bottom: 32px; }

  .ss-nav { width: 40px; height: 40px; font-size: 1.8rem; }
  .ss-nav-prev { left: 6px; }
  .ss-nav-next { right: 6px; }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
  section { padding: 64px 16px; }
  #header { padding: 12px 16px; }
  .hdr-contact span { display: none; }

  .profile-img { width: 144px; height: 144px; }

  .eyebrow { font-size: 0.78rem; letter-spacing: 0.25em; margin-bottom: 32px; }
  #hero .eyebrow { font-size: 0.65rem; letter-spacing: 0.25em; }

  .hero-greeting { font-size: clamp(1rem, 5vw, 1.4rem); }
  .hero-title    { font-size: clamp(1.4rem, 6vw, 2rem); margin-bottom: 32px; }
  .hero-nav      { gap: 14px 20px; }
  .hero-nav a    { font-size: 0.62rem; letter-spacing: 0.12em; }

  .about-grid { gap: 24px; }
  .about-img  { width: 140px; height: 180px; }
  .about-text h2 { font-size: 1.3rem; }
  .about-text p  { font-size: 0.88rem; }

  .exp-card { padding: 18px 16px; }
  .exp-head h3  { font-size: 0.95rem; }
  .exp-company  { font-size: 0.82rem; }
  .exp-bullets li { font-size: 0.82rem; }

  .skills-grid { grid-template-columns: repeat(4, 1fr); gap: 14px 10px; }
  .skill-box   { width: 48px; height: 48px; }

  .cert-card { padding: 16px; }
  .cert-info h3   { font-size: 0.9rem; }
  .cert-issuer    { font-size: 0.78rem; }
  .cert-btn       { font-size: 0.68rem; padding: 7px 12px; }

  .proj-card { padding: 20px 16px; }
  .proj-card h3 { font-size: 0.95rem; }
  .proj-card p  { font-size: 0.82rem; }

  .dl-card { padding: 12px 14px; }
  .dl-name { font-size: 0.85rem; }

  .contact-h { font-size: 1.2rem; }
  .ct-row    { font-size: 0.88rem; }

  .ss-nav { width: 36px; height: 36px; font-size: 1.5rem; }
}

/* ── Very small (≤360px) ── */
@media (max-width: 360px) {
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-img { width: 120px; height: 120px; }
  .hero-nav a  { font-size: 0.58rem; }
}

/* ══════════════════════════════════════════
   RTL
══════════════════════════════════════════ */
html[dir="rtl"] .about-grid { flex-direction: row-reverse; }
html[dir="rtl"] .exp-bullets li::before { content: '•'; }

/* ══════════════════════════════════════════
   SCREENSHOTS MODAL
══════════════════════════════════════════ */
.proj-ss-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.proj-ss-btn::before {
  content: '🖼';
  font-size: 0.9em;
}
.proj-ss-btn:hover {
  background: var(--accent);
  color: #fff;
}

.ss-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.ss-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.ss-modal {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ss-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.ss-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--tr);
  line-height: 1;
}
.ss-close:hover { opacity: 1; }
.ss-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--text);
  font-size: 2.4rem;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
  z-index: 2001;
  line-height: 1;
}
.ss-nav:hover { background: rgba(255,255,255,0.2); }
.ss-nav-prev { left: 16px; }
.ss-nav-next { right: 16px; }
.ss-counter {
  color: var(--text-m);
  font-size: 0.85rem;
}
.ss-none {
  color: var(--text-m);
  font-size: 0.95rem;
  text-align: center;
  padding: 32px;
}
