/* ═══════════════════════════════════════════════════
   MOHAMED NASR — nasrr.net
   Solo Unreal Engine Developer
   ═══════════════════════════════════════════════════ */

:root {
  /* Palette — warm near-black with amber accent */
  --bg:       #0a0908;
  --bg-2:     #100e0c;
  --bg-3:     #15120f;
  --surface:  #1a1612;
  --surface-2:#211c17;
  --border:   #2a231c;
  --border-2: #3a3026;
  --ink:      #f4ede1;
  --ink-2:    #c7bda9;
  --ink-3:    #958a75;
  --muted:    #6a6050;
  --accent:   #e9a94b;
  --accent-2: #f3c074;
  --accent-dim: rgba(233, 169, 75, 0.12);
  --danger:   #ff6b4a;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --max:    1240px;
  --gutter: 32px;
  --radius: 4px;

  /* Motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════ RESET ═══════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ═══════ UTILITY ═══════ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.accent { color: var(--accent); }
.bullet { opacity: 0.4; margin: 0 0.35em; }

/* ═══════ GRAIN OVERLAY ═══════ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center, rgba(233, 169, 75, 0.06), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: transform;
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  body.cursor-ready .cursor-glow { opacity: 1; }
}

/* ═══════ HEADER ═══════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  background: var(--bg-2);
}
.brand-name { font-size: 17px; }

.nav-primary ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-primary a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-primary a:hover { color: var(--ink); background: var(--surface); }
.nav-primary .num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  opacity: 0.7;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), background 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(233, 169, 75, 0.5);
}
.nav-cta svg { transition: transform 0.3s var(--ease); }
.nav-cta:hover svg { transform: translate(2px, -2px); }

.nav-cta-closed {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border-2);
  padding: 9px 16px;
  gap: 10px;
}
.nav-cta-closed:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--danger);
  box-shadow: none;
}
.nav-cta-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 10px var(--danger);
  animation: blink 2.2s ease-in-out infinite;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 18px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 18px; transform: translateX(-50%) rotate(-45deg); }

/* ═══════ HERO ═══════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 1100px;
  height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(233, 169, 75, 0.14) 0%, rgba(233, 169, 75, 0.04) 30%, transparent 60%);
  filter: blur(40px);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 237, 225, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 237, 225, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.meta-left { display: flex; align-items: center; gap: 12px; }
.meta-right { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent), 0 0 32px rgba(233, 169, 75, 0.4);
  animation: blink 2.2s ease-in-out infinite;
}
.dot-closed {
  background: var(--danger);
  box-shadow: 0 0 16px var(--danger), 0 0 32px rgba(255, 107, 74, 0.4);
}
@keyframes blink {
  0%, 70%, 100% { opacity: 1; }
  80%           { opacity: 0.3; }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(78px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 72px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero-title .line-1 { animation-delay: 0.15s; }
.hero-title .line-2 { animation-delay: 0.32s; padding-left: 0.18em; }
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-feature-settings: "ss01";
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease-out) 0.55s forwards;
}
.hero-tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 540px;
  letter-spacing: -0.005em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn span { position: relative; z-index: 1; }
.btn svg { position: relative; z-index: 1; transition: transform 0.3s var(--ease); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(233, 169, 75, 0.6);
}
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-2);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-2);
  color: var(--ink-2);
  padding: 12px 20px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover svg { transform: translate(2px, -2px); }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 1px;
  height: 30px;
  background: var(--ink);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { top: -30px; }
  100% { top: 60px; }
}

/* ═══════ MARQUEE ═══════ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(to right, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg-2), transparent); }

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee-group {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-shrink: 0;
}
.marquee-group span {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-2);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.marquee-group .star {
  color: var(--accent);
  font-style: normal;
  font-size: clamp(20px, 2.5vw, 32px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════ SECTIONS ═══════ */
.section {
  padding: 140px 0;
  position: relative;
}
.section-head {
  margin-bottom: 80px;
  max-width: 920px;
}
.section-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-dim);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-3);
}

/* ═══════ ABOUT ═══════ */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-body .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.about-body p {
  color: var(--ink-2);
  margin-bottom: 20px;
  max-width: 580px;
  font-size: 16px;
}
.about-body p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 120px;
}
.stat {
  background: var(--bg-2);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  justify-content: space-between;
  transition: background 0.3s var(--ease);
}
.stat:hover { background: var(--bg-3); }
.stat-num, .stat-word {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: baseline;
}
.stat-plus {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-left: 2px;
}
.stat-word {
  font-style: italic;
  font-weight: 300;
  font-size: 54px;
  color: var(--accent);
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-top: 20px;
}

/* ═══════ CAPABILITIES ═══════ */
.capabilities { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cap-card {
  background: var(--bg-2);
  padding: 44px 38px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.cap-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.cap-card:hover { background: var(--bg-3); }
.cap-card:hover::before { transform: scaleX(1); }

.cap-head { display: flex; align-items: baseline; gap: 14px; }
.cap-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.cap-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.cap-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

/* ═══════ FEATURED ═══════ */
.featured { background: var(--bg); }
.feature-video {
  position: relative;
  margin-bottom: 40px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border) inset;
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}
.feature-video:hover .video-frame::before { opacity: 0.4; }
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.feature-video figcaption {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-2);
  align-items: start;
}
.caption-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}
.caption-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  padding-top: 3px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.caption-link:hover { color: var(--accent); }
.caption-link:hover svg { transform: translate(2px, -2px); }
.caption-link svg { transition: transform 0.3s var(--ease); }

/* ─── Reel ─── */
.reel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin: 96px 0 48px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.reel-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.reel-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.reel-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-3);
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reel-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reel-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.85) brightness(0.88);
}
.reel-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 9, 8, 0.75));
  z-index: 1;
  transition: opacity 0.4s var(--ease);
}
.reel-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 40px -20px var(--accent);
}
.reel-thumb:hover img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.7);
  border: 1px solid rgba(244, 237, 225, 0.3);
  color: var(--ink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: translate(-50%, -50%) scale(0.92);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.reel-play svg { margin-left: 3px; }
.reel-thumb:hover .reel-play {
  transform: translate(-50%, -50%) scale(1);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.reel-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10, 9, 8, 0.72);
  border: 1px solid rgba(244, 237, 225, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reel-body h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.reel-body p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 380px;
}
.reel-meta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.reel-grid .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.reel-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.12s; }
.reel-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.19s; }
.reel-grid .reveal.is-visible:nth-child(4) { transition-delay: 0.26s; }
.reel-grid .reveal.is-visible:nth-child(5) { transition-delay: 0.33s; }
.reel-grid .reveal.is-visible:nth-child(6) { transition-delay: 0.40s; }

/* ─── Gigs ─── */
.gigs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin: 120px 0 48px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.gig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gig-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.gig-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 50px -25px var(--accent);
}
.gig-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.gig-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s var(--ease), transform 0.8s var(--ease);
  filter: saturate(0.85) brightness(0.85);
}
.gig-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.35) 0%, transparent 30%, transparent 65%, rgba(10,9,8,0.8));
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.gig-media:hover .gig-video {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.03);
}
.gig-media:hover::before { opacity: 0.5; }

.gig-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.75);
  border: 1px solid rgba(244, 237, 225, 0.3);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.gig-play svg { margin-left: 3px; }
.gig-media.is-playing .gig-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.gig-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border-radius: 100px;
}
.gig-platform {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 11px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: rgba(10, 9, 8, 0.7);
  border: 1px solid rgba(244, 237, 225, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gig-body {
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.gig-body h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.gig-body p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.gig-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gig-meta { color: var(--ink-3); }
.gig-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.gig-cta svg { transition: transform 0.3s var(--ease); }
.gig-card:hover .gig-cta svg { transform: translate(3px, -3px); }

.gig-grid .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.gig-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.14s; }
.gig-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.23s; }

.gig-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s var(--ease), transform 0.8s var(--ease);
  filter: saturate(0.85) brightness(0.82);
}
.gig-media:hover .gig-poster {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.04);
}

/* ─── Upwork variants ─── */
:root {
  --upwork:     #14a800;
  --upwork-2:   #1ec800;
  --upwork-dim: rgba(20, 168, 0, 0.14);
}
.upwork-head { margin-top: 120px; }
.upwork-kicker { color: var(--upwork); }
.btn.btn-upwork:hover { border-color: var(--upwork); color: var(--upwork); }
.upwork-card:hover {
  border-color: var(--upwork);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 50px -25px var(--upwork);
}
.upwork-tag {
  background: var(--upwork);
  color: #fff;
}
.upwork-platform {
  /* keep dark chip but tint text */
  color: var(--upwork-2);
}
.upwork-cta { color: var(--upwork); }

/* ─── Upwork review screenshots ─── */
.upwork-reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin: 120px 0 48px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.upwork-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 18px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--upwork);
  border-radius: var(--radius);
}
.upwork-score-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.upwork-score-stars {
  color: var(--upwork);
  font-size: 14px;
  letter-spacing: 2px;
}
.upwork-score-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.upwork-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.uw-card {
  position: relative;
  padding: 32px 32px 28px;
  background: #fbfaf7;
  color: #14141a;
  border-radius: 10px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(20, 168, 0, 0.25);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.uw-card::before {
  content: "upwork";
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--upwork);
  text-transform: lowercase;
}
.uw-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--upwork), transparent 60%);
}
.uw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--upwork), 0 0 60px -20px rgba(20, 168, 0, 0.4);
}

.uw-card-head {
  margin-top: 6px;
  margin-bottom: 8px;
  padding-right: 80px;
}
.uw-job-title {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #14141a;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 10px;
}
.uw-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.uw-stars {
  color: var(--upwork);
  font-size: 15px;
  letter-spacing: 2px;
}
.uw-rating-num {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #14141a;
}
.uw-dates {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6a6a74;
  margin: 0 0 18px;
}
.uw-feedback {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #2a2a35;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  position: relative;
}
.uw-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #e6e4de;
}
.uw-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #14141a;
  background: #f2f0e8;
  border: 1px solid #e2dfd4;
  border-radius: 100px;
}
.uw-chip:first-child {
  background: var(--upwork-dim);
  border-color: rgba(20, 168, 0, 0.3);
  color: var(--upwork);
  font-weight: 600;
}

.upwork-reviews .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.upwork-reviews .reveal.is-visible:nth-child(2) { transition-delay: 0.13s; }
.upwork-reviews .reveal.is-visible:nth-child(3) { transition-delay: 0.21s; }
.upwork-reviews .reveal.is-visible:nth-child(4) { transition-delay: 0.29s; }
.upwork-reviews .reveal.is-visible:nth-child(5) { transition-delay: 0.37s; }
.upwork-reviews .reveal.is-visible:nth-child(6) { transition-delay: 0.45s; }

/* ═══════ PRAISE / TESTIMONIALS ═══════ */
.praise {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.praise::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-dim), transparent 55%);
  pointer-events: none;
  filter: blur(40px);
}
.praise .container { position: relative; }

.hero-quote {
  max-width: 960px;
  margin: 0 auto 100px;
  text-align: center;
  position: relative;
}
.quote-mark {
  width: 56px;
  height: 42px;
  color: var(--accent);
  margin: 0 auto 36px;
  opacity: 0.85;
}
.hero-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-style: italic;
  margin: 0;
}
.hero-quote figcaption {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-quote figcaption .cite-link {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.hero-quote figcaption .cite-link:hover {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}
.stats-item {
  background: var(--bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.3s var(--ease);
}
.stats-item:hover { background: var(--bg-3); }
.stats-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stats-unit {
  font-size: 22px;
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
  margin-left: 2px;
}
.stats-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.35s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-2);
  background: var(--bg-3);
}
.review-card:hover::before { transform: scaleX(1); }

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
}
.review-platform {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  color: var(--ink-3);
}
.review-platform.fiverr   { color: #1dbf73; border-color: rgba(29, 191, 115, 0.35); }
.review-platform.upwork   { color: #6fda44; border-color: rgba(111, 218, 68, 0.35); }
.review-platform.linkedin { color: #4aa3e3; border-color: rgba(74, 163, 227, 0.35); }

.review-card blockquote {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 26px;
  flex: 1;
  letter-spacing: -0.005em;
}
.review-card blockquote::before {
  content: "“";
  font-size: 32px;
  color: var(--accent);
  line-height: 0;
  margin-right: 2px;
  vertical-align: -10px;
}
.review-card .review-foot,
.review-card footer {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--border-2);
  background: var(--bg-3);
}
.reviewer-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  background: var(--bg-3);
}
.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cite-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cite-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cite-role .flag {
  font-size: 13px;
  letter-spacing: normal;
}

.reviews-grid .reveal.is-visible:nth-child(1) { transition-delay: 0.04s; }
.reviews-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.10s; }
.reviews-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.16s; }
.reviews-grid .reveal.is-visible:nth-child(4) { transition-delay: 0.22s; }
.reviews-grid .reveal.is-visible:nth-child(5) { transition-delay: 0.28s; }
.reviews-grid .reveal.is-visible:nth-child(6) { transition-delay: 0.34s; }
.reviews-grid .reveal.is-visible:nth-child(7) { transition-delay: 0.40s; }
.reviews-grid .reveal.is-visible:nth-child(8) { transition-delay: 0.46s; }
.reviews-grid .reveal.is-visible:nth-child(9) { transition-delay: 0.52s; }

/* ═══════ OPEN SOURCE / GITHUB ═══════ */
.opensource { background: var(--bg); }
.gh-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.gh-profile { display: flex; align-items: center; gap: 24px; }
.gh-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  background: var(--bg);
  object-fit: cover;
}
.gh-handle {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.gh-bio {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 480px;
}
.gh-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
}

.gh-contrib {
  padding: 28px 32px 34px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.gh-contrib-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.gh-contrib-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.gh-contrib-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.gh-contrib-legend .lv {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin: 0 2px;
}
.gh-contrib-legend .lv-0 { background: #1a1612; border: 1px solid var(--border); }
.gh-contrib-legend .lv-1 { background: rgba(233, 169, 75, 0.25); }
.gh-contrib-legend .lv-2 { background: rgba(233, 169, 75, 0.5); }
.gh-contrib-legend .lv-3 { background: rgba(233, 169, 75, 0.75); }
.gh-contrib-legend .lv-4 { background: var(--accent); }

.gh-contrib-img {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gh-contrib-img img {
  width: 100%;
  min-width: 720px;
  height: auto;
  filter: brightness(1.05);
}

.gh-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}
.gh-stat {
  background: var(--bg-2);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s var(--ease);
}
.gh-stat:hover { background: var(--bg-3); }
.gh-stat-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.gh-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.gh-subtitle {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.repo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px 26px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.repo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-3);
}
.repo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.repo-icon { color: var(--accent); flex-shrink: 0; }
.repo-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.repo-lang {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lang-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.lang-dot.c  { background: #f34b7d; }
.lang-dot.c2 { background: #555555; }
.lang-dot.py { background: #3572a5; }
.lang-dot.js { background: #f1e05a; }
.lang-dot.ue { background: #313131; box-shadow: 0 0 0 1px var(--accent) inset; }

.repo-desc {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 4px;
}

.repo-grid .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.repo-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.11s; }
.repo-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.17s; }
.repo-grid .reveal.is-visible:nth-child(4) { transition-delay: 0.23s; }
.repo-grid .reveal.is-visible:nth-child(5) { transition-delay: 0.29s; }
.repo-grid .reveal.is-visible:nth-child(6) { transition-delay: 0.35s; }

/* ═══════ TIMELINE ═══════ */
.timeline-section { background: var(--bg); }
.timeline {
  position: relative;
  max-width: 920px;
  padding-left: 180px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 180px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-2) 10%, var(--border-2) 90%, transparent);
}
.timeline li {
  position: relative;
  padding: 0 0 56px 56px;
}
.timeline li:last-child { padding-bottom: 0; }
.t-year {
  position: absolute;
  left: -180px;
  top: 4px;
  width: 140px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.t-marker {
  position: absolute;
  left: -7px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-2);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.timeline li:hover .t-marker {
  border-color: var(--accent);
  transform: scale(1.25);
}
.t-marker-now {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-dim), 0 0 30px var(--accent);
}
.t-content h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.t-content p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 580px;
}

/* ═══════ CONTACT ═══════ */
.contact {
  background: var(--bg);
  padding: 180px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(233, 169, 75, 0.08) 0%, transparent 50%);
  filter: blur(40px);
  pointer-events: none;
}
.contact .container { position: relative; }
.contact .section-head { margin-bottom: 48px; }
.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 48px;
}
.contact-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.contact-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 300;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.5;
  margin-bottom: 48px;
}
.contact-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius);
  max-width: 640px;
  margin: 0 0 40px;
}
.contact-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 14px var(--danger), 0 0 28px rgba(255, 107, 74, 0.45);
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.contact-status-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
}
.contact-status-title strong {
  color: var(--accent);
  font-weight: 500;
}
.contact-status-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 4px;
}
/* ─── Contact form ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
  padding: 48px 48px 40px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-2);
  padding: 14px 2px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form textarea {
  font-size: 17px;
  line-height: 1.5;
  resize: vertical;
  min-height: 140px;
  font-family: var(--serif);
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e9a94b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 30px;
  cursor: pointer;
}
.contact-form select option { background: var(--bg-2); color: var(--ink); }
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  font-style: italic;
  opacity: 0.7;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-bottom-color: var(--danger);
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.form-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.form-note svg { color: var(--accent); }
.form-note strong { color: var(--ink); font-weight: 500; letter-spacing: 0.02em; }

.form-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 14px;
  margin: 0;
  transition: color 0.3s var(--ease);
}
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: var(--danger); }

.contact-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 48px;
}
.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.contact-divider span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-links {
  border-top: 1px solid var(--border);
}
.contact-links li { border-bottom: 1px solid var(--border); }
.contact-links a {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 8px;
  transition: padding 0.4s var(--ease), background 0.3s var(--ease);
}
.contact-links a:hover {
  padding-left: 32px;
  padding-right: 32px;
  background: var(--bg-2);
}
.cl-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cl-value {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.contact-links a:hover .cl-value {
  color: var(--accent);
  font-style: italic;
}
.contact-links svg {
  color: var(--ink-3);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.contact-links a:hover svg {
  color: var(--accent);
  transform: translate(6px, -6px);
}

/* ═══════ FOOTER ═══════ */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.foot-meta a { color: var(--ink-2); transition: color 0.2s var(--ease); }
.foot-meta a:hover { color: var(--accent); }

/* ═══════ REVEAL ANIMATIONS ═══════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cap-grid .reveal.is-visible:nth-child(1) { transition-delay: 0.04s; }
.cap-grid .reveal.is-visible:nth-child(2) { transition-delay: 0.09s; }
.cap-grid .reveal.is-visible:nth-child(3) { transition-delay: 0.14s; }
.cap-grid .reveal.is-visible:nth-child(4) { transition-delay: 0.19s; }
.cap-grid .reveal.is-visible:nth-child(5) { transition-delay: 0.24s; }
.cap-grid .reveal.is-visible:nth-child(6) { transition-delay: 0.29s; }
.cap-grid .reveal.is-visible:nth-child(7) { transition-delay: 0.34s; }
.cap-grid .reveal.is-visible:nth-child(8) { transition-delay: 0.39s; }
.timeline .reveal.is-visible:nth-child(1) { transition-delay: 0.05s; }
.timeline .reveal.is-visible:nth-child(2) { transition-delay: 0.15s; }
.timeline .reveal.is-visible:nth-child(3) { transition-delay: 0.25s; }
.timeline .reveal.is-visible:nth-child(4) { transition-delay: 0.35s; }
.timeline .reveal.is-visible:nth-child(5) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line { opacity: 1; transform: none; }
  .hero-footer { opacity: 1; transform: none; }
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1200px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav-primary { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-stats { position: static; }
  .feature-video figcaption { grid-template-columns: 1fr; gap: 16px; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .reel-head, .gigs-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .gig-grid { grid-template-columns: 1fr; gap: 28px; max-width: 720px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .repo-grid { grid-template-columns: repeat(2, 1fr); }
  .upwork-reviews-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .gh-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .gh-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --gutter: 22px; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 56px; }
  .hero { padding: 130px 0 80px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-footer { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions { width: 100%; }
  .hero-scroll { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { justify-content: center; width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .repo-grid { grid-template-columns: 1fr; }
  .upwork-reviews { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .gh-profile { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-quote { margin-bottom: 64px; }
  .reel-grid { grid-template-columns: 1fr; gap: 32px; }
  .reel-head, .gigs-head { margin-top: 64px; padding-top: 40px; }
  .gigs-head { margin-top: 80px; }
  .gig-body { padding: 24px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 140px; padding: 28px 24px; }
  .stat-num, .stat-word { font-size: 48px; }
  .stat-word { font-size: 40px; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 32px; }
  .t-year { position: static; width: auto; margin-bottom: 8px; display: block; }
  .timeline li { padding-left: 32px; padding-bottom: 44px; }
  .contact { padding: 120px 0; }
  .contact-links a { grid-template-columns: 100px 1fr auto; gap: 20px; padding: 24px 6px; }
  .contact-links a:hover { padding-left: 16px; padding-right: 16px; }
  .feature-channel { flex-direction: column; align-items: flex-start; padding: 24px; }
  .foot { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .brand-name { display: none; }
  .hero-title { margin-bottom: 52px; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .cl-label { display: none; }
  .contact-links a { grid-template-columns: 1fr auto; gap: 16px; }
}
