:root {
  color-scheme: dark;
  --bg: #090d11;
  --bg-raised: #10161b;
  --surface: rgba(255, 255, 255, .055);
  --surface-strong: rgba(255, 255, 255, .085);
  --surface-hover: rgba(255, 255, 255, .105);
  --border: rgba(225, 239, 236, .115);
  --border-soft: rgba(225, 239, 236, .075);
  --text: #edf3f1;
  --muted: #99a6a5;
  --muted-soft: #768381;
  --accent: #b8efd0;
  --accent-dark: #152f25;
  --warm: #f2b796;
  --violet: #c6b9f7;
  --blue: #a9d7f5;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --header-bg: rgba(9, 13, 17, .68);
  --mono: 'Cascadia Code', 'SFMono-Regular', Consolas, ui-monospace, monospace;
  --sans: 'Manrope', 'Vazirmatn', 'Segoe UI', system-ui, sans-serif;
  --radius: 24px;
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f3f0;
  --bg-raised: #e7ece8;
  --surface: rgba(255, 255, 255, .62);
  --surface-strong: rgba(255, 255, 255, .82);
  --surface-hover: rgba(255, 255, 255, .96);
  --border: rgba(27, 49, 42, .13);
  --border-soft: rgba(27, 49, 42, .085);
  --text: #16201d;
  --muted: #5b6964;
  --muted-soft: #79837e;
  --accent: #216f4d;
  --accent-dark: #d7efe1;
  --warm: #a65433;
  --violet: #64529c;
  --blue: #356f91;
  --shadow: 0 20px 70px rgba(31, 55, 45, .1);
  --header-bg: rgba(241, 243, 240, .76);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 77% 11%, rgba(69, 128, 101, .08), transparent 28%),
    radial-gradient(ellipse at 5% 51%, rgba(121, 101, 172, .065), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .23;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
body[data-theme="light"]::before { opacity: .4; background-image: linear-gradient(rgba(35,69,55,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(35,69,55,.035) 1px, transparent 1px); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
svg { display: block; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: 126px; }
.muted-heading { color: var(--muted); }
.accent-text { color: var(--accent); }
.glass {
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--warm), var(--accent), var(--blue)); box-shadow: 0 0 12px rgba(184,239,208,.55); }
.ambient { position: fixed; z-index: -1; width: 360px; height: 360px; border-radius: 50%; filter: blur(90px); opacity: .12; pointer-events: none; }
.ambient-one { top: 7%; inset-inline-start: -180px; background: #b8efd0; }
.ambient-two { top: 44%; inset-inline-end: -210px; background: #a79af0; opacity: .08; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -80px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #0b1711; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 14px; z-index: 50; padding-top: 14px; }
.nav-shell { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 18px; padding: 9px 14px 9px 11px; background-color: var(--header-bg); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--accent); background: rgba(184,239,208,.09); border: 1px solid rgba(184,239,208,.21); }
.brand-mark svg { width: 24px; height: 24px; stroke-width: 1.45; }
.brand-name { font-family: var(--mono); font-size: 11px; letter-spacing: .075em; color: var(--muted); }
.brand-name b { color: var(--text); font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2.8vw, 32px); margin-inline-start: auto; margin-inline-end: auto; }
.main-nav a { color: var(--muted); font-size: 12px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.icon-button:hover { color: var(--text); border-color: var(--border); background: var(--surface); transform: translateY(-1px); }
.icon-button svg { width: 17px; height: 17px; }
.language-button { font: 11px var(--mono); letter-spacing: .06em; }
.nav-cta { min-height: 40px; display: inline-flex; align-items: center; gap: 11px; padding: 0 15px; border-radius: 12px; background: var(--accent); color: #102118; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(95, 178, 129, .2); }
.nav-cta svg { width: 15px; height: 15px; }
.menu-button { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); align-items: center; gap: clamp(38px, 8vw, 110px); min-height: 690px; padding-top: 108px; padding-bottom: 102px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.status-dot, .availability-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(184,239,208,.09), 0 0 14px rgba(184,239,208,.5); }
.hero h1 { max-width: 680px; margin: 24px 0 20px; font-size: clamp(48px, 7vw, 82px); line-height: 1.12; letter-spacing: -.065em; font-weight: 600; }
.hero-description { max-width: 545px; margin: 0; color: var(--muted); font-size: 15px; line-height: 2.1; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border-radius: 14px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #101d16; background: var(--accent); box-shadow: 0 8px 28px rgba(73, 161, 111, .12); }
.button-primary:hover { box-shadow: 0 12px 32px rgba(73, 161, 111, .24); }
.button-quiet { color: var(--muted); border: 1px solid var(--border); background: var(--surface); }
.button-quiet:hover { color: var(--text); border-color: rgba(184,239,208,.34); }
.button-download { color: var(--text); border: 1px solid var(--border-soft); background: transparent; }
.button-download:hover { border-color: var(--border); background: var(--surface); }
.hero-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.fact-chip { min-height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--border-soft); border-radius: 999px; color: var(--muted); font-size: 10px; background: rgba(255,255,255,.018); }
.fact-chip svg { width: 13px; height: 13px; color: var(--accent); }
.fact-chip.availability { border-color: rgba(184,239,208,.17); color: var(--text); }
.availability-pip { width: 5px; height: 5px; }

.hero-visual { position: relative; width: 100%; max-width: 430px; justify-self: center; padding: 20px 0 15px; }
.portrait-card { position: relative; z-index: 2; overflow: hidden; padding: 12px; border-radius: 24px; transform: rotate(-1.5deg); transition: transform .5s cubic-bezier(.2,.7,.25,1); }
.portrait-card:hover { transform: rotate(0) translateY(-4px); }
.portrait-topline, .portrait-foot { display: flex; align-items: center; justify-content: space-between; padding: 3px 7px 11px; color: var(--muted-soft); font: 9px var(--mono); letter-spacing: .08em; }
.portrait-index { color: var(--muted-soft); }
.portrait-image-wrap { position: relative; aspect-ratio: .91; overflow: hidden; border-radius: 16px; background: #1c2523; }
.portrait-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 39%; filter: saturate(.78) contrast(1.04); transition: transform .8s cubic-bezier(.2,.7,.25,1), filter .4s ease; }
.portrait-card:hover .portrait-image { transform: scale(1.035); filter: saturate(.94) contrast(1.04); }
.portrait-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(6,12,11,.13) 58%, rgba(6,12,11,.9) 100%); }
.portrait-mark { position: absolute; top: 15px; inset-inline-end: 15px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; color: #e2f3e9; background: rgba(12,18,16,.32); backdrop-filter: blur(12px); }
.portrait-mark svg { width: 25px; height: 25px; }
.portrait-caption { position: absolute; inset-inline: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: #f5f7f4; }
.caption-kicker { color: rgba(245,247,244,.64); font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.portrait-caption strong { max-width: 100%; font-size: clamp(14px, 2vw, 18px); font-weight: 600; letter-spacing: -.02em; }
.caption-company { margin-top: 7px; color: rgba(245,247,244,.58); font: 9px var(--mono); letter-spacing: .14em; }
.caption-company i { display: inline-block; width: 3px; height: 3px; margin-inline: 6px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.portrait-foot { padding: 10px 8px 1px; letter-spacing: 0; }
.portrait-foot svg { width: 15px; height: 15px; color: var(--accent); }
.portrait-orbit { position: absolute; z-index: 1; border: 1px solid var(--border-soft); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 95%; aspect-ratio: 1; inset-inline-start: -12%; top: -5%; }
.orbit-b { width: 58%; aspect-ratio: 1; inset-inline-end: -21%; bottom: 2%; border-color: rgba(184,239,208,.15); }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 11px; border-radius: 14px; animation: float-note 6s ease-in-out infinite; }
.floating-note b, .floating-note small { display: block; line-height: 1.55; }
.floating-note b { font: 11px var(--mono); }
.floating-note small { color: var(--muted); font-size: 9px; }
.note-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: var(--accent); background: rgba(184,239,208,.1); }
.note-icon svg { width: 17px; height: 17px; }
.note-icon-warm { color: var(--warm); background: rgba(242,183,150,.1); }
.note-systems { inset-inline-start: -54px; top: 23%; }
.note-network { inset-inline-end: -48px; bottom: 18%; animation-delay: -2.4s; }
@keyframes float-note { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.signal-strip { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 25px; border-block: 1px solid var(--border-soft); color: var(--muted-soft); font-size: 10px; }
.signal-items { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 27px); color: var(--muted); font: 10px var(--mono); }
.signal-items span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.signal-items svg { width: 14px; height: 14px; color: var(--accent); }
.expertise-section { padding-top: 92px; }
.expertise-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .55fr); align-items: end; gap: 45px; margin-bottom: 36px; }
.expertise-heading h2 { max-width: 730px; }
.expertise-heading .section-aside { margin-bottom: 5px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.expertise-card { min-height: 248px; position: relative; overflow: hidden; border-radius: 19px; padding: 20px 19px 18px; }
.expertise-card::after { position: absolute; inset: auto 0 0; height: 2px; content: ""; opacity: .68; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.expertise-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(184,239,208,.15); border-radius: 12px; color: var(--accent); background: rgba(184,239,208,.08); }
.expertise-icon svg { width: 19px; height: 19px; }
.expertise-icon-warm { color: var(--warm); border-color: rgba(242,183,150,.16); background: rgba(242,183,150,.08); }
.expertise-icon-violet { color: var(--violet); border-color: rgba(198,185,247,.16); background: rgba(198,185,247,.08); }
.expertise-index { margin: 0 0 7px; color: var(--muted-soft); font: 8px var(--mono); letter-spacing: .12em; }
.expertise-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.expertise-card > p:not(.expertise-index) { min-height: 52px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.expertise-card .tag-row { gap: 5px; margin-top: 14px; }
.expertise-card .tag-row span { padding: 5px 7px; font-size: 8px; }
.signal-items i { display: block; width: 3px; height: 3px; border-radius: 50%; background: var(--muted-soft); opacity: .65; }

.section-heading { margin-bottom: 54px; }
.section-kicker { margin: 0 0 15px; letter-spacing: .12em; }
.section-kicker > span:first-child { color: var(--accent); }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.3; letter-spacing: -.055em; font-weight: 600; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 8vw, 110px); align-items: start; }
.large-copy { max-width: 610px; margin: 0; color: var(--text); font-size: clamp(19px, 2.3vw, 24px); line-height: 1.85; letter-spacing: -.025em; }
.body-copy { max-width: 600px; margin: 21px 0 0; color: var(--muted); font-size: 13px; line-height: 2.15; }
.about-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding-top: 21px; border-top: 1px solid var(--border-soft); }
.quote-mark { color: var(--accent); font: 48px/1 Georgia, serif; }
.about-note p { max-width: 440px; margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.focus-panel { overflow: hidden; border-radius: 20px; padding: 21px 22px 15px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--border-soft); color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.panel-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.focus-list { list-style: none; margin: 0; padding: 0; }
.focus-list li { display: grid; grid-template-columns: 31px 1fr 15px; align-items: center; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.focus-number { color: var(--muted-soft); font: 10px var(--mono); }
.focus-list strong, .focus-list small { display: block; }
.focus-list strong { font-size: 12px; font-weight: 600; }
.focus-list small { margin-top: 2px; color: var(--muted-soft); font-size: 9px; }
.focus-list li > svg { width: 14px; height: 14px; color: var(--accent); }
.panel-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; color: var(--muted-soft); font-size: 9px; }
.panel-foot svg { width: 15px; height: 15px; color: var(--accent); }

.experience-section { padding-top: 34px; }
.timeline { max-width: 930px; }
.timeline-item { display: grid; grid-template-columns: 28px minmax(145px, .36fr) 1fr; gap: 18px; min-height: 195px; }
.timeline-rail { position: relative; display: flex; justify-content: center; }
.timeline-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 8px; border: 2px solid var(--accent); border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 5px rgba(184,239,208,.08); }
.timeline-dot-muted { border-color: var(--muted-soft); box-shadow: 0 0 0 5px var(--surface); }
.timeline-line { position: absolute; top: 22px; bottom: 0; width: 1px; background: linear-gradient(var(--accent), var(--border)); }
.timeline-date { padding-top: 4px; color: var(--text); font: 10px var(--mono); white-space: nowrap; }
.timeline-date small { display: block; margin-top: 6px; color: var(--muted-soft); font: 9px var(--sans); }
.timeline-content { align-self: start; border-radius: 18px; padding: 20px 22px 18px; }
.timeline-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.timeline-company { margin: 0 0 3px; color: var(--accent); font: 9px var(--mono); letter-spacing: .14em; }
.timeline-title-row h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.timeline-icon { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 13px; color: var(--accent); background: rgba(184,239,208,.09); border: 1px solid rgba(184,239,208,.14); }
.timeline-icon svg { width: 18px; height: 18px; }
.timeline-icon-muted { color: var(--muted); background: var(--surface); border-color: var(--border-soft); }
.timeline-content > p { max-width: 680px; margin: 13px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.timeline-points { display: grid; gap: 5px; margin: -3px 0 14px; padding-inline-start: 17px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.timeline-points li::marker { color: var(--accent); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span { padding: 4px 8px; border: 1px solid var(--border-soft); border-radius: 7px; color: var(--muted); background: rgba(255,255,255,.018); font: 9px var(--mono); }

.projects-section { padding-top: 76px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.section-aside { max-width: 300px; margin: 0 0 6px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-card { position: relative; min-width: 0; overflow: hidden; border-radius: 20px; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(184,239,208,.25); background-color: var(--surface-hover); }
.project-card-featured { display: grid; grid-column: span 2; grid-template-columns: .86fr 1.14fr; min-height: 245px; }
.project-art { position: relative; min-height: 162px; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: #111a19; border-bottom: 1px solid var(--border-soft); }
.project-card-featured .project-art { min-height: 100%; border-bottom: 0; border-inline-end: 1px solid var(--border-soft); }
.project-art::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: .85; background: radial-gradient(circle at 48% 51%, rgba(184,239,208,.12), transparent 55%); }
.project-art > svg { position: relative; z-index: 1; width: 55px; height: 55px; padding: 13px; color: var(--accent); border: 1px solid rgba(184,239,208,.22); border-radius: 17px; background: rgba(7,13,11,.44); backdrop-filter: blur(10px); box-shadow: 0 10px 32px rgba(0,0,0,.18); }
.art-label { position: absolute; inset-inline-start: 15px; bottom: 13px; color: rgba(226,239,233,.47); font: 8px var(--mono); letter-spacing: .12em; }
.art-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(184,239,208,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(184,239,208,.12) 1px, transparent 1px); background-size: 27px 27px; mask-image: radial-gradient(circle at center, black, transparent 80%); }
.art-node { position: absolute; width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; background: #111a19; box-shadow: 0 0 15px var(--accent); }
.node-one { top: 26%; inset-inline-start: 25%; }.node-two { bottom: 24%; inset-inline-end: 25%; }.node-three { top: 21%; inset-inline-end: 27%; }
.art-network { background: #171713; }
.art-network::before { background: radial-gradient(circle at 52% 50%, rgba(242,183,150,.17), transparent 57%); }
.art-network > svg { color: var(--warm); border-color: rgba(242,183,150,.28); }
.network-mesh { position: absolute; inset: 18% 17%; border: 1px solid rgba(242,183,150,.18); background: linear-gradient(35deg, transparent 49.6%, rgba(242,183,150,.18) 50%, transparent 50.4%), linear-gradient(-35deg, transparent 49.6%, rgba(242,183,150,.18) 50%, transparent 50.4%), linear-gradient(90deg, transparent 49.7%, rgba(242,183,150,.13) 50%, transparent 50.3%); }
.network-mesh i { position: absolute; width: 8px; height: 8px; border: 1px solid rgba(242,183,150,.7); border-radius: 50%; background: #211a17; box-shadow: 0 0 15px rgba(242,183,150,.25); }
.network-mesh i:nth-child(1) { top: 8%; left: 9%; }
.network-mesh i:nth-child(2) { top: 12%; right: 12%; }
.network-mesh i:nth-child(3) { top: 46%; left: 47%; }
.network-mesh i:nth-child(4) { bottom: 8%; left: 12%; }
.network-mesh i:nth-child(5) { bottom: 10%; right: 9%; }
.art-map { background: #12181b; }
.art-map::before { background: radial-gradient(circle at 50% 50%, rgba(169,215,245,.15), transparent 56%); }
.art-map > svg { color: var(--blue); border-color: rgba(169,215,245,.28); }
.map-contours { position: absolute; inset: -30% -10%; opacity: .42; background: repeating-radial-gradient(ellipse at 54% 53%, transparent 0 18px, rgba(169,215,245,.17) 19px 20px, transparent 21px 33px); transform: rotate(-13deg); }
.art-redis { background: #1a1515; }
.art-redis::before { background: radial-gradient(circle at 50% 50%, rgba(242,183,150,.13), transparent 58%); }
.art-redis > svg { color: var(--warm); border-color: rgba(242,183,150,.25); }
.redis-rings { position: absolute; width: 155px; height: 100px; }
.redis-rings i { position: absolute; inset: 0 12px; border: 1px solid rgba(242,183,150,.21); border-radius: 50%; transform: rotate(-18deg); }
.redis-rings i:nth-child(2) { transform: rotate(45deg); }
.redis-rings i:nth-child(3) { transform: rotate(90deg); }
.art-property { background: #17161d; }
.art-property::before { background: radial-gradient(circle at 52% 50%, rgba(198,185,247,.14), transparent 56%); }
.art-property > svg { color: var(--violet); border-color: rgba(198,185,247,.24); }
.property-lines { position: absolute; inset: 15% 28%; border: 1px solid rgba(198,185,247,.2); transform: skewY(-18deg) rotate(9deg); box-shadow: 19px 14px 0 -1px rgba(0,0,0,0), 19px 14px 0 0 rgba(198,185,247,.16), 38px 28px 0 -1px rgba(0,0,0,0), 38px 28px 0 0 rgba(198,185,247,.11); }
.art-ai { background: #13181b; }
.art-ai::before { background: radial-gradient(circle at 50% 50%, rgba(169,215,245,.13), transparent 56%); }
.art-ai > svg { color: var(--blue); border-color: rgba(169,215,245,.24); }
.ai-path { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 27px; opacity: .5; }
.ai-path::before { position: absolute; width: 53%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.ai-path i { position: relative; width: 6px; height: 6px; border: 1px solid var(--blue); border-radius: 50%; background: #13181b; }
.ai-path i:nth-child(2), .ai-path i:nth-child(4) { transform: translateY(-19px); }
.art-embedded { background: #151a17; }
.art-embedded::before { background: radial-gradient(circle at 50% 50%, rgba(184,239,208,.13), transparent 56%); }
.board-trace { position: absolute; inset: 13% 18%; border: 1px solid rgba(184,239,208,.2); border-radius: 14px; background: linear-gradient(90deg, transparent 48%, rgba(184,239,208,.12) 49% 51%, transparent 52%), linear-gradient(transparent 48%, rgba(184,239,208,.12) 49% 51%, transparent 52%); background-size: 29px 29px; }
.project-copy { padding: 19px 21px 22px; }
.project-card-featured .project-copy { align-self: center; padding: 30px clamp(24px, 4vw, 44px); }
.project-category { margin: 0 0 7px; color: var(--accent); font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.project-card:nth-child(3) .project-category { color: var(--warm); }
.project-card:nth-child(4) .project-category { color: var(--violet); }
.project-card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.035em; }
.project-card p:not(.project-category) { min-height: 57px; margin: 10px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.95; }
.project-card-featured h3 { font-size: 23px; }
.project-card-featured p:not(.project-category) { max-width: 510px; font-size: 11px; }
.project-detail-list { display: grid; gap: 5px; margin: -2px 0 14px; padding-inline-start: 17px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.project-detail-list li::marker { color: var(--accent); }
.project-card-featured .project-detail-list { max-width: 510px; font-size: 10.5px; }
.project-index { position: absolute; top: 17px; inset-inline-end: 18px; color: var(--muted-soft); font: 8px var(--mono); letter-spacing: .08em; }
.project-disclaimer { margin: 15px 0 0; color: var(--muted-soft); font-size: 9px; }

.skills-section { padding-top: 83px; }
.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.skill-card { min-height: 205px; border-radius: 18px; padding: 19px 18px; transition: transform .25s ease, border-color .25s ease; }
.skill-card:hover { transform: translateY(-3px); border-color: rgba(184,239,208,.23); }
.skill-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 12px; color: var(--accent); background: rgba(184,239,208,.09); }
.skill-icon svg { width: 19px; height: 19px; }
.skill-icon-warm { color: var(--warm); background: rgba(242,183,150,.09); }
.skill-icon-violet { color: var(--violet); background: rgba(198,185,247,.09); }
.skill-icon-blue { color: var(--blue); background: rgba(169,215,245,.09); }
.skill-card h3 { margin: 0 0 7px; font-size: 12px; font-weight: 600; }
.skill-card p { margin: 0; color: var(--muted); font: 8px/1.85 var(--mono); overflow-wrap: anywhere; }
.skills-note { max-width: 760px; margin: 14px 0 0; color: var(--muted-soft); font-size: 9px; line-height: 1.9; }

.education-section { padding-top: 24px; padding-bottom: 54px; }
.education-card { display: flex; align-items: center; gap: 22px; border-radius: 20px; padding: 25px 28px; }
.education-icon { width: 52px; height: 52px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(198,185,247,.2); border-radius: 16px; color: var(--violet); background: rgba(198,185,247,.08); }
.education-icon svg { width: 25px; height: 25px; }
.education-copy { flex: 1; }
.education-copy .section-kicker { margin-bottom: 2px; font-size: 8px; }
.education-copy h2 { margin: 0; font-size: 17px; font-weight: 600; }
.education-copy p:last-child { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.education-date { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; color: var(--text); font: 11px var(--mono); }
.education-date span { color: var(--muted-soft); font: 9px var(--sans); }
.academic-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 12px; padding: 18px 21px; border-radius: 18px; }
.academic-icon { width: 36px; height: 36px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(169,215,245,.2); border-radius: 11px; color: var(--blue); background: rgba(169,215,245,.08); }
.academic-icon svg { width: 18px; height: 18px; }
.academic-note h3 { margin: 0; font-size: 12px; font-weight: 600; }
.academic-note p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.9; }

.contact-section { padding-top: 67px; padding-bottom: 106px; }
.contact-card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 6vw, 66px); text-align: center; }
.contact-glow { position: absolute; z-index: -1; width: 400px; height: 200px; top: -120px; inset-inline-start: calc(50% - 200px); border-radius: 50%; background: rgba(184,239,208,.12); filter: blur(65px); }
.contact-card .section-kicker { justify-content: center; }
.contact-card h2 { max-width: 790px; margin: 0 auto; font-size: clamp(35px, 6vw, 66px); line-height: 1.35; letter-spacing: -.065em; font-weight: 600; }
.contact-lede { margin: 12px auto 25px; color: var(--muted); font-size: 12px; }
.contact-email { max-width: 100%; min-height: 54px; gap: 12px; padding-inline: 20px; font-size: clamp(10px, 1.4vw, 13px); direction: ltr; }
.contact-email > svg:first-child { width: 17px; height: 17px; }
.contact-email .contact-arrow { width: 15px; height: 15px; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 27px; }
.contact-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; transition: color .2s ease; }
.contact-links a:hover { color: var(--text); }
.contact-links svg { width: 15px; height: 15px; color: var(--accent); }
.contact-links .external-arrow { width: 11px; height: 11px; color: var(--muted-soft); }

.site-footer { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 17px; border-top: 1px solid var(--border-soft); color: var(--muted-soft); font-size: 9px; }
.footer-brand .brand-mark { width: 31px; height: 31px; border-radius: 10px; }
.footer-brand .brand-mark svg { width: 20px; height: 20px; }
.footer-brand .brand-name { font-size: 9px; }
.back-top { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 11px; color: var(--muted); transition: color .2s ease, transform .2s ease; }
.back-top:hover { color: var(--accent); transform: translateY(-2px); }
.back-top svg { width: 15px; height: 15px; transform: rotate(-45deg); }

.ltr [data-i18n], .ltr [data-age], .ltr .hero h1, .ltr .timeline-date, .ltr .project-copy h3, .ltr .skill-card p, .ltr .education-copy, .ltr .education-date { direction: ltr; unicode-bidi: plaintext; }
.ltr .hero h1, .ltr .section-heading h2, .ltr .contact-card h2 { direction: ltr; text-align: left; letter-spacing: -.06em; }
.ltr .section-kicker { letter-spacing: .11em; }
.ltr .timeline-date { white-space: normal; }
.ltr .about-note { text-align: left; }
.ltr .tag-row { direction: ltr; justify-content: flex-start; }
.ltr .education-date { align-items: flex-end; }
.ltr .portrait-caption { direction: ltr; align-items: flex-start; text-align: left; }
.ltr .hero-description, .ltr .project-card p:not(.project-category), .ltr .section-aside, .ltr .body-copy, .ltr .large-copy, .ltr .contact-lede { direction: ltr; text-align: left; }
.ltr .project-detail-list { direction: ltr; text-align: left; }

html[lang="fa"] body { font-family: 'Vazirmatn', Tahoma, system-ui, sans-serif; }
html[lang="fa"] .hero h1, html[lang="fa"] .section-heading h2, html[lang="fa"] .contact-card h2 { letter-spacing: -.045em; }
html[lang="fa"] .section-kicker, html[lang="fa"] .eyebrow { letter-spacing: .04em; }
html[lang="fa"] .fact-chip { font-size: 10px; }
html[lang="fa"] .portrait-caption strong { letter-spacing: 0; }
html[lang="fa"] .timeline-date, html[lang="fa"] .tag-row span, html[lang="fa"] .skill-card p { direction: ltr; }
html[lang="fa"] .project-card p:not(.project-category) { text-align: right; }
html[lang="fa"] .project-detail-list { text-align: right; }
html[lang="fa"] .about-note { text-align: right; }

html.has-js .reveal { --reveal-offset: 18px; opacity: 0; transform: translate3d(0, var(--reveal-offset), 0); transition: opacity .72s cubic-bezier(.2,.7,.25,1), transform .72s cubic-bezier(.2,.7,.25,1); }
html.has-js .reveal[data-reveal-direction="up"][data-reveal-state="enter"],
html.has-js .reveal[data-reveal-direction="down"][data-reveal-state="exit"] { --reveal-offset: -18px; }
html.has-js .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
html.has-js .reveal-delay { transition-delay: .12s; }
html.has-js .hero-copy > * { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .55s cubic-bezier(.2,.7,.25,1), transform .55s cubic-bezier(.2,.7,.25,1); }
html.has-js .hero-copy[data-reveal-direction="up"][data-reveal-state="enter"] > *,
html.has-js .hero-copy[data-reveal-direction="down"][data-reveal-state="exit"] > * { transform: translate3d(0, -12px, 0); }
html.has-js .hero-copy.is-visible > * { opacity: 1; transform: translate3d(0, 0, 0); }
html.has-js .hero-copy > *:nth-child(2) { transition-delay: .08s; }
html.has-js .hero-copy > *:nth-child(3) { transition-delay: .15s; }
html.has-js .hero-copy > *:nth-child(4) { transition-delay: .22s; }
html.has-js .hero-copy > *:nth-child(5) { transition-delay: .3s; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 920px) {
  .container { width: min(100% - 36px, 760px); }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 10px; }
  .nav-cta { padding-inline: 12px; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(290px, .95fr); gap: 34px; min-height: 630px; }
  .hero h1 { font-size: clamp(44px, 6vw, 64px); }
  .note-systems { inset-inline-start: -23px; }
  .note-network { inset-inline-end: -19px; }
  .about-grid { gap: 34px; }
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-heading { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 30px); }
  .section-pad { padding-block: 86px; }
  .site-header { top: 7px; padding-top: 7px; }
  .nav-shell { min-height: 58px; gap: 8px; border-radius: 15px; padding: 7px 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-name { font-size: 9px; }
  .main-nav { position: absolute; inset: calc(100% + 8px) 0 auto; display: none; align-items: stretch; gap: 0; margin: 0; padding: 8px; border: 1px solid var(--border); border-radius: 15px; background: var(--header-bg); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 11px 13px; border-radius: 10px; font-size: 12px; }
  .main-nav a:hover { background: var(--surface); }
  .nav-actions { gap: 3px; }
  .icon-button { width: 34px; height: 34px; }
  .nav-cta { min-height: 35px; gap: 6px; padding: 0 10px; border-radius: 10px; font-size: 9px; }
  .nav-cta svg { width: 13px; height: 13px; }
  .menu-button { display: grid; }
  .hero { grid-template-columns: 1fr; gap: 43px; min-height: unset; padding-top: 71px; padding-bottom: 64px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; width: min(87%, 390px); }
  .hero h1 { margin-top: 19px; font-size: clamp(43px, 12vw, 65px); }
  .hero-description { font-size: 12px; line-height: 2; }
  .hero-facts { gap: 6px; margin-top: 21px; }
  .hero-actions { gap: 8px; }
  .button { min-height: 43px; gap: 8px; padding-inline: 13px; font-size: 10px; }
  .fact-chip { min-height: 29px; padding-inline: 8px; font-size: 9px; }
  .note-systems { inset-inline-start: -28px; top: 20%; }
  .note-network { inset-inline-end: -27px; bottom: 14%; }
  .floating-note { gap: 7px; padding: 8px 10px 8px 8px; }
  .note-icon { width: 29px; height: 29px; border-radius: 9px; }
  .floating-note b { font-size: 10px; }
  .floating-note small { font-size: 8px; }
  .signal-strip { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 17px; }
  .signal-items { width: 100%; justify-content: space-between; gap: 8px; font-size: 8px; }
  .signal-items span { gap: 4px; }
  .signal-items svg { width: 12px; height: 12px; }
  .signal-items i { width: 2px; height: 2px; }
  .section-heading { margin-bottom: 33px; }
  .section-heading h2 { font-size: clamp(31px, 9vw, 43px); }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-heading { margin-bottom: 26px; }
  .expertise-card { min-height: unset; padding: 17px; }
  .expertise-card > p:not(.expertise-index) { min-height: unset; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .large-copy { font-size: 18px; line-height: 1.9; }
  .body-copy { font-size: 11px; }
  .focus-panel { padding: 17px 17px 13px; }
  .experience-section { padding-top: 12px; }
  .timeline-item { grid-template-columns: 20px 1fr; gap: 11px 12px; padding-bottom: 21px; }
  .timeline-rail { grid-row: span 2; }
  .timeline-date { grid-column: 2; padding: 0; font-size: 9px; }
  .timeline-date small { display: inline; margin-inline-start: 8px; }
  .timeline-content { grid-column: 2; padding: 16px; }
  .timeline-title-row h3 { font-size: 15px; }
  .timeline-content > p { font-size: 10px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-aside { max-width: 410px; font-size: 10px; }
  .project-grid { grid-template-columns: 1fr; gap: 11px; }
  .project-card-featured { grid-column: auto; grid-template-columns: 1fr; }
  .project-card-featured .project-art { min-height: 165px; border-bottom: 1px solid var(--border-soft); border-inline-end: 0; }
  .project-card-featured .project-copy { padding: 18px; }
  .project-card h3, .project-card-featured h3 { font-size: 17px; }
  .project-card p:not(.project-category), .project-card-featured p:not(.project-category) { min-height: unset; font-size: 10px; }
  .project-art { min-height: 145px; }
  .skill-grid { grid-template-columns: 1fr; gap: 9px; }
  .skill-card { min-height: unset; padding: 15px 14px; }
  .skill-icon { width: 34px; height: 34px; margin-bottom: 15px; }
  .skill-card h3 { font-size: 11px; }
  .skill-card p { font-size: 8.5px; }
  .education-section { padding-top: 5px; padding-bottom: 32px; }
  .education-card { flex-wrap: wrap; gap: 13px; padding: 17px; }
  .education-icon { width: 43px; height: 43px; border-radius: 13px; }
  .education-copy h2 { font-size: 14px; }
  .education-date { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; margin-top: 2px; padding-top: 11px; border-top: 1px solid var(--border-soft); }
  .academic-note { gap: 10px; padding: 15px; }
  .contact-section { padding-top: 52px; padding-bottom: 67px; }
  .contact-card { border-radius: 21px; padding: 30px 17px; }
  .contact-card h2 { font-size: clamp(31px, 9.5vw, 45px); }
  .contact-lede { font-size: 10px; line-height: 1.9; }
  .contact-email { min-height: 48px; padding-inline: 10px; gap: 8px; font-size: 9px; }
  .contact-email > svg:first-child { width: 14px; height: 14px; }
  .contact-links { gap: 14px; margin-top: 20px; }
  .site-footer { min-height: 68px; gap: 9px; font-size: 8px; }
  .footer-brand { gap: 6px; }
  .footer-brand .brand-name { font-size: 8px; }
  .back-top { width: 30px; height: 30px; flex: 0 0 auto; }
  .ltr .section-aside, .ltr .body-copy, .ltr .large-copy, .ltr .project-card p:not(.project-category) { text-align: left; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  .nav-cta { display: none; }
  .hero h1 { font-size: 41px; }
  .signal-items { font-size: 7px; }
  .signal-items svg { width: 11px; height: 11px; }
  .contact-email { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.has-js .reveal { opacity: 1; transform: none; }
  html.has-js .hero-copy > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
