:root {
  --bg: #050505;
  --bg-2: #0b0b0d;
  --card: rgba(255, 255, 255, 0.065);
  --card-2: rgba(255, 255, 255, 0.105);
  --text: #f4f1eb;
  --muted: #aaa5a0;
  --muted-2: #d5d0c7;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --gold: #d7b36a;
  --gold-2: #fff0c6;
  --blue: #8fd3ff;
  --shadow: 0 30px 90px rgba(0,0,0,.55);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 5%, rgba(215, 179, 106, .12), transparent 24%),
    radial-gradient(circle at 10% 24%, rgba(143, 211, 255, .08), transparent 22%),
    linear-gradient(180deg, #050505, #0a0a0c 48%, #050505);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  line-height: 1.85;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 42px));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  opacity: .075;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(85px);
  pointer-events: none;
  z-index: -2;
  opacity: .28;
}
.glow-gold { top: 120px; right: -160px; background: var(--gold); }
.glow-blue { bottom: 80px; left: -160px; background: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 16px 0;
  background: rgba(5,5,5,.62);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  direction: ltr;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
  direction: ltr;
  text-align: left;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: block;
  flex: 0 0 46px;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo b, .logo small { display: block; }
.logo b {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  letter-spacing: .2px;
}
.logo small {
  color: var(--muted);
  font-size: 12px;
  margin-top: -3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  direction: rtl;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 14px;
  transition: .18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.main-nav .nav-highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #090909;
  font-weight: 800;
}

.menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.menu-btn i {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
  border-radius: 999px;
  transition: .2s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 70px 0 38px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 58px;
  align-items: center;
}

.kicker,
.section-title span,
.mini-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(215,179,106,.22);
  border-radius: 999px;
  background: rgba(215,179,106,.075);
  color: var(--gold-2);
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .45px;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: .98;
  letter-spacing: -2.4px;
}

.hero h1 span {
  display: block;
  max-width: 780px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: clamp(20px, 2.35vw, 31px);
  line-height: 1.62;
  letter-spacing: 0;
  font-weight: 500;
}

.lead {
  max-width: 760px;
  color: #d9d5ce;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 30px 0;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #d6a94c, #fff0c4 54%, #bf8730);
  color: #090909;
  box-shadow: 0 20px 52px rgba(215,179,106,.24);
}

.btn-outline {
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.045);
  color: #fff;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.hero-meta div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
}

.hero-meta strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-2);
  font-family: "Manrope", sans-serif;
  font-size: 38px;
  line-height: 1;
}

.hero-meta span {
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  min-height: 680px;
}

.image-frame {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.main-frame {
  position: absolute;
  inset: 0 38px 0 0;
  border-radius: 44px;
  transform: rotate(-1.5deg);
}

.main-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(0,0,0,.42)),
    radial-gradient(circle at 70% 12%, rgba(215,179,106,.18), transparent 28%);
  pointer-events: none;
}

.main-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  filter: grayscale(1) contrast(1.08);
  transition: transform .7s ease, filter .4s ease;
}

.main-frame:hover img {
  transform: scale(1.035);
  filter: grayscale(.25) contrast(1.05);
}

.status-card {
  position: absolute;
  z-index: 2;
  width: 230px;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(8,8,10,.72);
  box-shadow: 0 22px 70px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}

.status-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.status-card b {
  color: #fff;
  font-size: 15px;
  font-family: "Manrope", "Vazirmatn", sans-serif;
}

.status-1 { right: 0; top: 38px; }
.status-2 { left: -6px; bottom: 52px; }

.strip {
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.strip-track {
  display: flex;
  gap: 26px;
  width: max-content;
  padding: 15px 22px;
  animation: moveStrip 26s linear infinite;
}

.strip-track span {
  white-space: nowrap;
  color: var(--muted-2);
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-weight: 800;
  font-size: 13px;
}

.section { padding: 110px 0; }

.two-col,
.skills-layout,
.editorial-grid,
.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.section-title h2 {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.18;
  letter-spacing: -1px;
}

.section-title.center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 44px;
}
.section-title.center h2 { margin-left: auto; margin-right: auto; }

.glass-card,
.experience-card,
.skill-board,
.editorial-copy,
.work-card,
.quote-card,
.contact-main,
.social-list a {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.about-copy {
  padding: 30px;
  border-radius: var(--radius-xl);
  color: #ddd8cf;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.identity-grid div {
  padding: 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.075);
}

.identity-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.identity-grid b {
  font-size: 14px;
}

.experience-section {
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,.025), transparent);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.experience-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(215,179,106,.13);
  filter: blur(18px);
}

.exp-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.exp-top span {
  color: var(--gold-2);
  border: 1px solid rgba(215,179,106,.22);
  background: rgba(215,179,106,.07);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}

.exp-top b {
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 17px;
}

.experience-card h3 {
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 27px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.experience-card p {
  color: #d8d2c9;
}

.experience-card ul {
  margin: 18px 0 0;
  padding: 0 20px 0 0;
  color: var(--muted-2);
}

.experience-card li + li { margin-top: 8px; }

.skills-layout {
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
}

.skill-board {
  border-radius: var(--radius-xl);
  padding: 20px;
}

.skill-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}

.skill-row:last-child { border-bottom: 0; }

.skill-row b {
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 17px;
}

.skill-row span {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
}

.skill-row i {
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 11px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.skill-row i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: right center;
  animation: fill 1.5s ease both;
}

.editorial-grid {
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
}

.editorial-image {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.editorial-image img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(.95) contrast(1.06);
}

.editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.44));
}

.editorial-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.editorial-copy h2 {
  margin: 16px 0 16px;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.25;
}

.editorial-copy p { color: #d8d2c9; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.work-card {
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: transform .18s ease, border-color .18s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215,179,106,.28);
}

.work-card.large {
  grid-column: span 2;
  min-height: 340px;
  background:
    linear-gradient(135deg, rgba(215,179,106,.13), rgba(255,255,255,.05)),
    var(--card);
}

.work-card.compact {
  min-height: 210px;
  padding: 22px;
}

.work-card span {
  color: var(--gold-2);
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.work-card h3 {
  margin: 13px 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.work-card p { color: #d8d2c9; }
.work-card a { color: var(--gold-2); font-weight: 800; }
.work-card a:hover { text-decoration: underline; }

.quote-card {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 38px;
  padding: 42px;
  text-align: center;
}

.quote-card > span {
  display: inline-block;
  color: var(--gold-2);
  font-size: 70px;
  line-height: 1;
  margin-bottom: 8px;
}

.quote-card h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 4.5vw, 50px);
  line-height: 1.45;
}
.quote-card p { margin: 0; color: var(--muted); }

.contact-layout {
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
}

.contact-main {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.contact-main h2 {
  margin: 17px 0;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.22;
}

.contact-main p { color: #d8d2c9; }
.contact-main strong { color: var(--gold-2); }

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.social-list {
  display: grid;
  gap: 13px;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  transition: .18s ease;
}

.social-list a:hover {
  transform: translateY(-3px);
  border-color: rgba(215,179,106,.28);
  background: var(--card-2);
}

.social-list span {
  color: var(--muted);
  font-size: 14px;
}

.social-list b {
  direction: ltr;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}

.site-footer {
  padding: 28px 0 38px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner p { margin: 0; }
.footer-inner a:hover { color: var(--gold-2); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@keyframes moveStrip {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

@keyframes fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 1060px) {
  .hero-layout,
  .two-col,
  .skills-layout,
  .editorial-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 760px;
    order: -1;
  }

  .main-frame { inset: 0; }
  .status-2 { left: 16px; }
  .status-1 { right: 16px; }

  .experience-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card.large { grid-column: auto; }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 20px;
    left: 20px;
    display: grid;
    border-radius: 24px;
    padding: 14px;
    background: rgba(8,8,10,.94);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: .22s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a { width: 100%; }

  .section { padding: 86px 0; }
  .hero { padding-top: 34px; }

  .hero-media { min-height: 680px; }
  .editorial-image img { height: 620px; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 28px)); }

  .logo { min-width: auto; }
  .logo-copy small { display: none; }

  .hero h1 {
    font-size: clamp(43px, 16vw, 72px);
    letter-spacing: -1.2px;
  }

  .hero h1 span { font-size: 18px; }

  .hero-meta,
  .identity-grid {
    grid-template-columns: 1fr;
  }

  .hero-media { min-height: 590px; }
  .main-frame { border-radius: 30px; transform: none; }
  .status-card {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .status-1,
  .status-2 { inset: auto; }

  .social-list a,
  .footer-inner,
  .exp-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-main,
  .quote-card,
  .editorial-copy,
  .work-card,
  .experience-card,
  .about-copy,
  .skill-board {
    padding: 22px;
  }
}
