*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}
html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  background: #0f0d09;
  color: #f5f0e4;
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection {
  background: #e8601c;
  color: #f5f0e4;
}

/* ════════════════════════════════════════════════════════
CUSTOM CURSOR
════════════════════════════════════════════════════════ */
.cur {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}
.cur-dot {
  width: 5px;
  height: 5px;
  background: #e8601c;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cur-ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(232, 96, 28, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s,
    background 0.3s;
}
.cur-ring.hover {
  width: 48px;
  height: 48px;
  border-color: #e8601c;
  background: rgba(232, 96, 28, 0.06);
}

/* ════════════════════════════════════════════════════════
LANGUAGE SWITCHER
════════════════════════════════════════════════════════ */
#switcher {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 1000;
  display: flex;
  background: #2e2a1f;
  border: 1px solid rgba(232, 96, 28, 0.25);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: fadeSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sw-btn {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: none;
  background: transparent;
  color: rgba(245, 240, 228, 0.4);
  transition: all 0.25s;
  position: relative;
}
.sw-btn::after {
  content: ‘’;
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(232, 96, 28, 0.2);
}
.sw-btn:last-child::after {
  display: none;
}
.sw-btn.active {
  background: #e8601c;
  color: #f5f0e4;
  letter-spacing: 0.1em;
}
.sw-btn:hover:not(.active) {
  color: rgba(245, 240, 228, 0.75);
}

/* ════════════════════════════════════════════════════════
PAGE WRAPPER
════════════════════════════════════════════════════════ */
.page {
  max-width: 1200px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════
██ HERO — asymmetric split
════════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 520px;
  border-bottom: 1px solid #2e2a1f;
  position: relative;
}

/* Left: dark bg */
.hero-left {
  background: #0f0d09;
  padding: 60px 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-right: 1px solid #2e2a1f;
}

/* Giant ghost number decoration */
.hero-left::before {
  content: ‘①’;
  position: absolute;
  bottom: -0.2em;
  left: -0.05em;
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: clamp(200px, 28vw, 380px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 96, 28, 0.05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Orange accent bar — left edge */
.hero-left::after {
  content: ‘’;
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, #e8601c, transparent);
  box-shadow: 0 0 20px rgba(232, 96, 28, 0.35);
}

.h-eyebrow {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8601c;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -15px;
  margin-bottom: 70px;
}
.h-eyebrow::before {
  content: ‘’;
  width: 24px;
  height: 1px;
  background: #e8601c;
  box-shadow: 0 0 8px rgba(232, 96, 28, 0.35);
  flex-shrink: 0;
}

.hero-name {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-style: italic;
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #f5f0e4;
  position: relative;
  z-index: 2;
}
.hero-name .accent {
  color: #e8601c;
}

body.fa .hero-name {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.hero-tagline {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245, 240, 228, 0.5);
  max-width: 400px;
  margin-top: 28px;
  border-left: 2px solid #e8601c;
  padding-left: 16px;
  position: relative;
  z-index: 2;
}
body.fa .hero-tagline {
  border-left: none;
  border-right: 2px solid #e8601c;
  padding-left: 0;
  padding-right: 16px;
}

.h-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}
.h-pill {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border: 1px solid rgba(245, 240, 228, 0.12);
  border-radius: 2px;
  color: rgba(245, 240, 228, 0.45);
  background: rgba(245, 240, 228, 0.03);
  transition: all 0.25s;
}
.h-pill.lit {
  border-color: rgba(232, 96, 28, 0.45);
  color: #e8601c;
  background: rgba(232, 96, 28, 0.08);
  box-shadow: 0 0 12px rgba(232, 96, 28, 0.1);
}
.h-pill:hover {
  border-color: rgba(245, 240, 228, 0.25);
  color: #f5f0e4;
}
body.fa .h-pill {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* Right panel: contact */
.hero-right {
  background: #1a1710;
  padding: 60px 40px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.r-title {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.3);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.r-title::after {
  content: ’’;
  flex: 1;
  height: 1px;
  background: rgba(245, 240, 228, 0.08);
}
body.fa .r-title {
  letter-spacing: 0;
  flex-direction: row;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
body.fa .r-title::after {
  display: none;
}
body.fa .r-title::before {
  content: ’’;
  flex: 1;
  height: 1px;
  background: rgba(245, 240, 228, 0.08);
}

/* Contact list */
.contacts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(245, 240, 228, 0.06);
  text-decoration: none;
  transition:
    padding-left 0.2s ease,
    background 0.2s;
  border-radius: 3px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.ct:last-child {
  border-bottom: none;
}
.ct:hover {
  padding-left: 14px;
  background: rgba(245, 240, 228, 0.03);
}
body.fa .ct:hover {
  padding-left: 8px;
  padding-right: 14px;
}

.ct-lbl {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.28);
  width: 68px;
  flex-shrink: 0;
}
body.fa .ct-lbl {
  letter-spacing: 0;
  text-align: right;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

.ct-val {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(245, 240, 228, 0.65);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.ct:hover .ct-val {
  color: rgba(245, 240, 228, 0.9);
}

/* Available */
.a-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5dde8a;
  box-shadow: 0 0 10px rgba(93, 222, 138, 0.6);
  animation: blink 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}
.a-txt {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(93, 222, 138, 0.9);
}
body.fa .a-txt {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ════════════════════════════════════════════════════════
██ STATS ROW — full width, ink bg, clean cells
════════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid #2e2a1f;
  background: #1a1710;
}

.stat {
  padding: 22px 24px;
  border-right: 1px solid #2e2a1f;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.25s;
  position: relative;
}
.stat:last-child {
  border-right: none;
}
.stat:hover {
  background: rgba(245, 240, 228, 0.02);
}

/* orange underline on hover */
.stat::after {
  content: ‘’;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e8601c;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat:hover::after {
  width: 100%;
}

.st-lbl {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.28);
  font-weight: 400;
}
body.fa .st-lbl {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

.st-val {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #f5f0e4;
  letter-spacing: -0.02em;
}
.st-val.text {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(245, 240, 228, 0.6);
}
body.fa .st-val.text {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

.stat.avail .st-val {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5dde8a;
  display: flex;
  align-items: center;
  gap: 7px;
}
body.fa .stat.avail .st-val {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ════════════════════════════════════════════════════════
██ BENTO GRID
════════════════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  background: #2e2a1f;
  border-top: 2px solid #2e2a1f;
}

.cell {
  position: relative;
  overflow: hidden;
  padding: 32px;
  opacity: 0;
  animation: rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: background 0.3s;
}

/* Shine layer */
.cell::before {
  content: ‘’;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 240, 228, 0.025) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

/* All content above shine */
.cell > * {
  position: relative;
  z-index: 1;
}

/* Grid placements */
.c-about {
  grid-column: 1/5;
  grid-row: 1;
  background: #c44e14;
}
.c-skills {
  grid-column: 5/9;
  grid-row: 1;
  background: #1a1710;
}
.c-tools {
  grid-column: 9/13;
  grid-row: 1;
  background: #0f0d09;
}
.c-port {
  grid-column: 1/13;
  grid-row: 2;
  background: #1a1710;
}
.c-mind {
  grid-column: 1/5;
  grid-row: 3;
  background: #0f0d09;
}
.c-edu {
  grid-column: 5/8;
  grid-row: 3;
  background: #1a1710;
}
.c-cert {
  grid-column: 8/13;
  grid-row: 3;
  background: #0f0d09;
}
.c-lang {
  grid-column: 11/13;
  grid-row: 3;
  background: #1a1710;
}

/* Hover states */
.c-skills:hover {
  background: #1e1c14;
}
.c-tools:hover {
  background: #1a1710;
}
.c-mind:hover {
  background: #1a1710;
}
.c-cert:hover {
  background: #1a1710;
}
.c-lang:hover {
  background: #0f0d09;
}
.c-edu:hover {
  background: #1e1c14;
}
.c-port:hover {
  background: #0f0d09;
}

/* Stagger */
.cell:nth-child(1) {
  animation-delay: 0.06s;
}
.cell:nth-child(2) {
  animation-delay: 0.12s;
}
.cell:nth-child(3) {
  animation-delay: 0.18s;
}
.cell:nth-child(4) {
  animation-delay: 0.24s;
}
.cell:nth-child(5) {
  animation-delay: 0.3s;
}
.cell:nth-child(6) {
  animation-delay: 0.36s;
}
.cell:nth-child(7) {
  animation-delay: 0.42s;
}
.cell:nth-child(8) {
  animation-delay: 0.48s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Section labels ── */
.sec-lbl {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.sec-lbl::before {
  content: ’’;
  width: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}
.c-about .sec-lbl {
  color: rgba(245, 240, 228, 0.55);
}
.c-about .sec-lbl::before {
  background: rgba(245, 240, 228, 0.55);
}
body.fa .sec-lbl {
  letter-spacing: 0;
  flex-direction: row;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
body.fa .sec-lbl::before {
  display: none;
}

.rule {
  width: 20px;
  height: 2px;
  background: #e8601c;
  border-radius: 1px;
  margin-bottom: 16px;
  box-shadow: 0 0 8px rgba(232, 96, 28, 0.35);
}

/* ── About cell (orange bg) ── */
.about-quote {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #f5f0e4;
  margin-bottom: 18px;
}
.about-quote em {
  font-style: normal;
  color: rgba(245, 240, 228, 0.7);
}
body.fa .about-quote {
  font-style: normal;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

.about-body {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(245, 240, 228, 0.7);
}
body.fa .about-body {
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ── Skills ── */
.sk-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}
.sk-group-ttl {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(245, 240, 228, 0.4);
  margin-bottom: 10px;
}
body.fa .sk-group-ttl {
  font-style: normal;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.sk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sk-list li {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  color: rgba(245, 240, 228, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(245, 240, 228, 0.05);
  transition: color 0.2s;
}
.sk-list li:last-child {
  border-bottom: none;
}
.sk-list li:hover {
  color: #e8601c;
}
body.fa .sk-list li {
  flex-direction: row;
  text-align: right;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.d-pro {
  background: #e8601c;
}
.d-mid {
  background: #d4890a;
}
.d-know {
  background: rgba(245, 240, 228, 0.2);
  border: 1px solid rgba(245, 240, 228, 0.25);
}

.sk-legend {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.sk-leg {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
}
body.fa .sk-leg {
  letter-spacing: 0;
  flex-direction: row;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ── Tools ── */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 9px;
  font-weight: 400;
  padding: 4px 10px;
  border: 1px solid rgba(245, 240, 228, 0.1);
  border-radius: 2px;
  color: rgba(245, 240, 228, 0.5);
  background: rgba(245, 240, 228, 0.03);
  transition: all 0.22s;
  letter-spacing: 0.05em;
}
.chip:hover {
  background: #e8601c;
  color: #f5f0e4;
  border-color: #e8601c;
  box-shadow: 0 0 12px rgba(232, 96, 28, 0.35);
}
.chip.dim {
  opacity: 0.35;
  font-style: italic;
}
.chip.dim::after {
  content: ’ ✦’;
  font-size: 7px;
  opacity: 0.6;
}
.tools-note {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(245, 240, 228, 0.06);
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 9px;
  font-style: italic;
  color: rgba(245, 240, 228, 0.25);
  line-height: 1.65;
}
body.fa .tools-note {
  font-style: normal;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ── Portfolio ── */
.port-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.port-title {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 700;
  font-style: italic;
  color: #f5f0e4;
  line-height: 1.1;
  margin: 18px 0;
}
body.fa .port-title {
  font-style: normal;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.port-hint {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 9px;
  color: rgba(245, 240, 228, 0.25);
  letter-spacing: 0.1em;
}
body.fa .port-hint {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.logo-slot {
  aspect-ratio: 1/1;
  background: #2e2a1f;
  border: 1px solid rgba(245, 240, 228, 0.07);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
  cursor: default;
}
.logo-slot:hover {
  border-color: #e8601c;
  box-shadow: 0 0 20px rgba(232, 96, 28, 0.15);
  transform: translateY(-2px);
}
.logo-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-slot.empty {
  flex-direction: column;
  gap: 7px;
}
.slot-icon {
  font-size: 22px;
  opacity: 0.15;
}
.slot-txt {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.22);
}
.logo-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(232, 96, 28, 0.9);
  color: #f5f0e4;
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.logo-slot:hover .logo-cap {
  transform: translateY(0);
}

/* ── Strengths ── */
.str-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.str-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(245, 240, 228, 0.06);
}
.str-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
body.fa .str-item {
  flex-direction: row;
  text-align: right;
}
.str-ico {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  flex-shrink: 0;
  background: rgba(245, 240, 228, 0.05);
  border: 1px solid rgba(245, 240, 228, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.str-name {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #f5f0e4;
  margin-bottom: 3px;
}
body.fa .str-name {
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.str-desc {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 9.5px;
  font-weight: 300;
  color: rgba(245, 240, 228, 0.45);
  line-height: 1.65;
}
body.fa .str-desc {
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ── Education ── */
.edu-big {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: rgba(245, 240, 228, 0.06);
  margin-bottom: 4px;
}
.edu-deg {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: 15px;
  font-weight: 700;
  color: #f5f0e4;
  line-height: 1.25;
  margin-bottom: 5px;
}
body.fa .edu-deg {
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.edu-uni {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.35);
  margin-bottom: 16px;
}
body.fa .edu-uni {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.edu-badge {
  display: inline-block;
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid #e8601c;
  border-radius: 2px;
  color: #e8601c;
  font-weight: 400;
  box-shadow: 0 0 10px rgba(232, 96, 28, 0.15);
}
body.fa .edu-badge {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ── Certs ── */
.cert-list {
  display: flex;
  flex-direction: column;
}
.cert-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 240, 228, 0.06);
  transition: padding-left 0.22s;
}
.cert-row:first-child {
  padding-top: 0;
}
.cert-row:last-child {
  border-bottom: none;
}
.cert-row:hover {
  padding-left: 6px;
}
body.fa .cert-row {
  flex-direction: row;
  text-align: right;
}
body.fa .cert-row:hover {
  padding-left: 0;
  padding-right: 6px;
}
.cert-num {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-style: italic;
  font-size: 12px;
  color: #e8601c;
  width: 18px;
  flex-shrink: 0;
}
.cert-name {
  font-family:
    ‘Gill Sans’,
    ‘Optima’,
    ‘Trebuchet MS’,
    sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(245, 240, 228, 0.8);
  margin-bottom: 2px;
  line-height: 1.3;
}
body.fa .cert-name {
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.cert-by {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8.5px;
  color: rgba(245, 240, 228, 0.3);
  letter-spacing: 0.06em;
}
body.fa .cert-by {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}

/* ── Languages ── */
.lang-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lang-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}
.lang-name {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: 18px;
  font-weight: 700;
  color: #f5f0e4;
}
body.fa .lang-name {
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.lang-lvl {
  font-family:
    ‘Andale Mono’,
    ‘Courier New’,
    monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 228, 0.35);
}
body.fa .lang-lvl {
  letter-spacing: 0;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.lang-track {
  height: 2px;
  background: rgba(245, 240, 228, 0.08);
  border-radius: 1px;
  overflow: hidden;
}
.lang-fill {
  height: 100%;
  border-radius: 1px;
  animation: trackGrow 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.lang-fill.l100 {
  width: 100%;
  background: linear-gradient(90deg, #e8601c, #d4890a);
  box-shadow: 0 0 8px rgba(232, 96, 28, 0.35);
}
.lang-fill.l35 {
  width: 35%;
  background: linear-gradient(90deg, #d4890a, rgba(212, 137, 10, 0.5));
}
@keyframes trackGrow {
  from {
    width: 0 !important;
  }
}

/* ════════════════════════════════════════════════════════
██ MARQUEE
════════════════════════════════════════════════════════ */
.marquee {
  background: #2e2a1f;
  border-top: 1px solid #2e2a1f;
  padding: 14px 0;
  overflow: hidden;
}
.m-track {
  display: flex;
  white-space: nowrap;
  animation: mq 28s linear infinite;
  animation-direction: reverse;
}
.m-track:hover {
  animation-play-state: paused;
}
body.fa .m-track {
  animation: mq-f 28s linear infinite;
  animation-direction: normal;
}
.m-item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 22px;
  margin: 0 22px;
  flex-shrink: 0;
}
.m-word {
  font-family:
    ‘Bodoni MT’,
    ‘Didot’,
    Georgia,
    serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(245, 240, 228, 0.28);
}
body.fa .m-word {
  font-style: normal;
  font-family: ‘IRANSans’, ‘Vazir’, Tahoma, Arial, sans-serif;
}
.m-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e8601c;
  flex-shrink: 0;
  opacity: 0.6;
}
@keyframes mq {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes mq-f {
  from {
    transform: translateX(50%);
  }
  to {
    transform: translateX(0%);
  }
}

/* ════════════════════════════════════════════════════════
LANGUAGE FADE TRANSITION
════════════════════════════════════════════════════════ */
.t-fade-out {
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.t-fade-in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.22s 0.15s,
    transform 0.22s 0.15s;
}

/* ════════════════════════════════════════════════════════
RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-right {
    border-top: 1px solid #2e2a1f;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat:nth-child(3) {
    border-right: none;
  }
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .c-about {
    grid-column: 1/7;
    grid-row: 1;
  }
  .c-skills {
    grid-column: 1/4;
    grid-row: 2;
  }
  .c-tools {
    grid-column: 4/7;
    grid-row: 2;
  }
  .c-port {
    grid-column: 1/7;
    grid-row: 3;
  }
  .c-mind {
    grid-column: 1/4;
    grid-row: 4;
  }
  .c-edu {
    grid-column: 4/7;
    grid-row: 4;
  }
  .c-cert {
    grid-column: 1/7;
    grid-row: 5;
  }
  .c-lang {
    grid-column: 4/7;
    grid-row: 5;
  }
  .sk-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #switcher {
    top: 60px;
    right: 14px;
  }
  .hero-left,
  .hero-right {
    padding: 36px 24px;
  }
  .hero-name {
    font-size: clamp(46px, 14vw, 72px);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(3) {
    border-right: 1px solid #2e2a1f;
  }
  .stat:nth-child(4) {
    border-right: none;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .c-about,
  .c-skills,
  .c-tools,
  .c-port,
  .c-mind,
  .c-edu,
  .c-cert,
  .c-lang {
    grid-column: 1/-1 !important;
    grid-row: auto !important;
  }
  .cell {
    padding: 24px 20px;
  }
  .logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}
