/* =====================================================================
   Basheer H. Torayah — CTO Portfolio
   Dark immersive tech theme
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg:           #070a12;
  --bg-2:         #0b0f19;
  --surface:      #101622;
  --surface-2:    #151d2a;
  --surface-3:    #1c2635;
  --border:       rgba(214, 226, 255, 0.10);
  --border-2:     rgba(214, 226, 255, 0.18);

  /* Text */
  --text:         #f5f7fb;
  --text-2:       #b9c1d0;
  --text-3:       #788397;
  --text-dim:     #556073;

  /* Accents */
  --accent:       #d7b56d;
  --accent-2:     #7dd3c7;
  --accent-3:     #7ea7ff;
  --accent-glow:  rgba(215, 181, 109, 0.24);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #f0d28c 0%, #9fe3dc 100%);
  --grad-text:    linear-gradient(120deg, #f3d894 0%, #f8fbff 46%, #9fe3dc 100%);
  --grad-surface: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012));

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container:    1180px;
  --radius:       8px;
  --radius-sm:    8px;
  --radius-lg:    8px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }

/* =====================================================================
   ANIMATED BACKGROUND
   ===================================================================== */
.bg-mesh {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: var(--bg);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(120px);
  opacity: 0.35; will-change: transform;
}
.blob-1 {
  width: 600px; height: 600px; background: #1e3a8a;
  top: -10%; left: -10%; animation: float1 22s var(--ease) infinite;
}
.blob-2 {
  width: 520px; height: 520px; background: #6d28d9;
  top: 30%; right: -15%; animation: float2 26s var(--ease) infinite;
}
.blob-3 {
  width: 480px; height: 480px; background: #0e7490;
  bottom: -10%; left: 30%; animation: float3 30s var(--ease) infinite;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,150,220,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,220,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%);
}
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(80px,60px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-90px,50px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-70px)} }

/* =====================================================================
   SCROLL PROGRESS
   ===================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-primary); z-index: 200;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.1s linear;
}

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: all 0.4s var(--ease);
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(6, 8, 15, 0.75);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; }
.nav__brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-primary);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.nav__brand-text { letter-spacing: 0; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 8px 14px; border-radius: 9px;
  transition: all 0.25s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link--cta {
  background: var(--surface-3); color: var(--text);
  border: 1px solid var(--border-2); margin-left: 8px;
}
.nav__link--cta:hover {
  background: var(--grad-primary); border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-glow); color: #fff;
}
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  transition: all 0.3s var(--ease); white-space: nowrap;
  cursor: pointer; border: 1px solid transparent;
}
.btn--primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--accent-glow); }
.btn--ghost {
  background: var(--surface-2); color: var(--text);
  border-color: var(--border-2);
}
.btn--ghost:hover { background: var(--surface-3); border-color: var(--accent); transform: translateY(-2px); }
.btn--large { padding: 16px 28px; font-size: 16px; }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* =====================================================================
   SHARED ELEMENTS
   ===================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  color: var(--accent-3); letter-spacing: 0.04em;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.eyebrow--center { margin: 0 auto 22px; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(34,211,238,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 56px; }
.section-head__index {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em;
}
.section-head__title {
  font-family: var(--font-display); font-size: 46px;
  font-weight: 700; letter-spacing: 0; line-height: 1;
}
.section-head__title::after {
  content: ''; display: block; width: 56px; height: 3px;
  background: var(--grad-primary); border-radius: 3px; margin-top: 18px;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: 86px; font-weight: 700;
  line-height: 0.95; letter-spacing: 0; margin: 20px 0 10px;
}
.hero__role {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 500; color: var(--text-2); letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero__tagline {
  font-size: 18px; color: var(--text-2); max-width: 540px; margin-bottom: 32px;
}
.hero__tagline strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__meta { display: flex; gap: 12px; font-size: 14px; color: var(--text-3); flex-wrap: wrap; }

/* Hero visual */
.hero__visual { display: flex; justify-content: center; }
.hero__photo-wrap {
  position: relative; width: min(420px, 90%);
  aspect-ratio: 1; border-radius: 50%;
}
.hero__photo-glow {
  position: absolute; inset: -30px; border-radius: 50%;
  background: var(--grad-primary); filter: blur(60px); opacity: 0.5;
  z-index: 0; animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:0.4; transform:scale(1)} 50%{opacity:0.6; transform:scale(1.05)} }
.hero__photo {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  border: 3px solid var(--surface-3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero__badge {
  position: absolute; z-index: 2; bottom: 6%; right: 2%;
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 16px; padding: 14px 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; line-height: 1;
}
.hero__badge-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__badge-label { font-size: 11px; color: var(--text-3); margin-top: 4px; letter-spacing: 0.08em; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text-3); letter-spacing: 0.15em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 40px; background: var(--border-2);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ''; position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
  background: var(--accent); animation: scrollDown 2s var(--ease) infinite;
}
@keyframes scrollDown { 0%{top:-40px} 100%{top:40px} }

/* =====================================================================
   IMPACT STATS
   ===================================================================== */
.impact { padding: 50px 0; }
.impact__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat {
  background: var(--grad-surface), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: all 0.4s var(--ease);
}
.stat:hover { border-color: var(--accent); transform: translateY(-4px); background: var(--surface-2); }
.stat__num {
  display: block; font-family: var(--font-display);
  font-size: 50px; font-weight: 700; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.stat__label {
  font-size: 14px; color: var(--text-2); line-height: 1.4; display: block;
}
.stat__label small { color: var(--text-3); font-size: 12px; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.about__lede {
  font-family: var(--font-display); font-size: 28px;
  font-weight: 500; line-height: 1.35; color: var(--text); margin-bottom: 26px;
  letter-spacing: 0;
}
.about__text p { color: var(--text-2); margin-bottom: 18px; max-width: 60ch; }
.about__text strong { color: var(--text); }
.about__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.chip {
  font-size: 13px; color: var(--text-2); padding: 7px 14px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--text); }

/* About card */
.about__card {
  background: var(--grad-surface), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; position: sticky; top: 100px;
}
.about__card-title {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-3);
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.about__card-title--mt { margin-top: 30px; }
.edu__item { margin-bottom: 16px; }
.edu__degree { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.edu__school { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.certs { font-size: 14px; color: var(--text-2); }
.certs li { padding: 6px 0; position: relative; padding-left: 18px; }
.certs li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-3); font-weight: 700; }

/* =====================================================================
   EXPERTISE
   ===================================================================== */
.expertise__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.skill-card {
  background: var(--grad-surface), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.skill-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-primary); opacity: 0; transition: opacity 0.4s;
}
.skill-card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); }
.skill-card:hover::before { opacity: 1; }
.skill-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface-3); display: grid; place-items: center;
  margin-bottom: 20px; color: var(--accent);
}
.skill-card__icon svg { width: 24px; height: 24px; }
.skill-card h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  margin-bottom: 16px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tags span {
  font-size: 12px; color: var(--text-2); padding: 5px 11px;
  border-radius: 7px; background: var(--bg-2); border: 1px solid var(--border);
}

/* =====================================================================
   EXPERIENCE TIMELINE
   ===================================================================== */
.timeline { position: relative; padding-left: 0; }
.timeline__item {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding-bottom: 36px; position: relative;
}
.timeline__item::before {
  content: ''; position: absolute; left: 31px; top: 56px; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--border-2), transparent);
}
.timeline__item:last-child::before { display: none; }
.timeline__marker {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  display: grid; place-items: center; z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.timeline__marker img { max-width: 60%; max-height: 60%; width: auto; height: auto; object-fit: contain; }
.timeline__card {
  background: var(--grad-surface), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; transition: all 0.35s var(--ease);
}
.timeline__card:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateX(4px); }
.timeline__card--featured {
  border-color: rgba(91, 140, 255, 0.3);
  background: linear-gradient(180deg, rgba(91,140,255,0.06), rgba(139,92,246,0.03)), var(--surface);
}
.timeline__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; gap: 12px; flex-wrap: wrap;
}
.timeline__date { font-size: 13px; color: var(--text-3); font-family: var(--font-display); }
.timeline__type {
  font-size: 11px; padding: 4px 11px; border-radius: 999px;
  background: rgba(34,211,238,0.12); color: var(--accent-3);
  border: 1px solid rgba(34,211,238,0.25); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.timeline__type--award {
  background: rgba(91,140,255,0.12); color: var(--accent);
  border-color: rgba(91,140,255,0.3);
}
.timeline__role {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  margin-bottom: 4px; line-height: 1.25;
}
.timeline__company {
  display: inline-block; font-size: 15px; color: var(--accent);
  font-weight: 500; margin-bottom: 12px; transition: color 0.25s;
}
.timeline__company:hover { color: var(--accent-3); }
.timeline__card p { color: var(--text-2); font-size: 15px; }
.timeline__card strong { color: var(--text); }

/* =====================================================================
   SELECTED WORK / PRODUCTS
   ===================================================================== */
.work__intro {
  font-size: 18px; color: var(--text-2); max-width: 60ch;
  margin-top: -32px; margin-bottom: 44px;
}
.work__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.product {
  background: var(--grad-surface), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.product__media {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--bg-2);
}
.product__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product:hover .product__media img { transform: scale(1.04); }
.product__badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 7px;
  background: rgba(6,8,15,0.8); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent-3); border: 1px solid var(--border-2);
}
.product__media--placeholder {
  display: grid; place-items: center;
  background: radial-gradient(ellipse at center, var(--surface-2), var(--bg-2));
}
.product__placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--text-dim);
}
.product__placeholder svg { width: 56px; height: 56px; opacity: 0.4; }
.product__placeholder span {
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.product__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product__logo {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface-3); padding: 6px; object-fit: contain;
  border: 1px solid var(--border); flex-shrink: 0;
}
.product__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.2; }
.product__role { font-size: 13px; color: var(--text-3); margin-top: 2px; display: block; }
.product__desc { color: var(--text-2); font-size: 14px; margin-bottom: 18px; flex: 1; }
.product__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.product__tags span {
  font-size: 11px; color: var(--text-2); padding: 5px 10px;
  border-radius: 6px; background: var(--bg-2); border: 1px solid var(--border);
}

@media (max-width: 760px) {
  .work__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   CASE STUDY
   ===================================================================== */
.case {
  background: var(--grad-surface), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 48px; position: relative; overflow: hidden;
}
.case::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,140,255,0.12), transparent 70%);
}
.case__header { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; position: relative; }
.case__logo {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--surface-3); padding: 8px; object-fit: contain;
  flex-shrink: 0;
}
.case__logo--wide {
  width: auto; height: 60px; padding: 10px 16px;
  border-radius: 12px;
}
.case__title { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.2; }
.case__sub { color: var(--text-3); font-size: 14px; margin-top: 4px; }
.case__intro { font-size: 17px; color: var(--text-2); max-width: 70ch; margin-bottom: 36px; position: relative; }
.case__metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 36px; position: relative;
}
.case__metric {
  text-align: center; padding: 24px 12px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.case__metric-num {
  display: block; font-family: var(--font-display); font-size: 38px;
  font-weight: 700; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.case__metric-label { font-size: 13px; color: var(--text-3); }
.case__body {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-bottom: 32px; position: relative;
}
.case__block h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-3);
  margin-bottom: 10px;
}
.case__block p { font-size: 14px; color: var(--text-2); }
.case__block strong { color: var(--text); }
.case__cta { position: relative; }

/* =====================================================================
   AWARDS
   ===================================================================== */
.awards__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.award__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; border: 1px solid var(--border-2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.award__media img { width: 100%; height: 100%; object-fit: cover; }
.award__media-tag {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(6,8,15,0.85); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px; border-radius: 8px; font-size: 12px;
  font-family: var(--font-display); color: var(--accent-3);
  border: 1px solid var(--border-2); letter-spacing: 0.05em;
}
.award__kicker {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
}
.award__title {
  font-family: var(--font-display); font-size: 40px;
  font-weight: 700; letter-spacing: 0; margin: 12px 0 20px; line-height: 1.1;
}
.award__text p { color: var(--text-2); margin-bottom: 18px; font-size: 16px; }
.award__text strong { color: var(--text); }
.award__quote {
  font-family: var(--font-display); font-size: 18px; font-style: italic;
  color: var(--text-2); padding-left: 20px; border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.awards__extra {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px;
}
.award-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text-2); transition: all 0.3s var(--ease);
}
.award-pill:hover { border-color: var(--accent); transform: translateY(-3px); }
.award-pill__icon { font-size: 22px; }
.award-pill strong { color: var(--text); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding: 80px 0 120px; }
.contact__card {
  background: linear-gradient(180deg, rgba(91,140,255,0.08), rgba(139,92,246,0.04)), var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.contact__card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91,140,255,0.15), transparent 70%);
  pointer-events: none;
}
.contact__title {
  font-family: var(--font-display); font-size: 42px;
  font-weight: 700; letter-spacing: 0; line-height: 1.15;
  margin-bottom: 18px; position: relative;
}
.contact__sub {
  color: var(--text-2); font-size: 17px; max-width: 56ch; margin: 0 auto 36px;
  position: relative;
}
.contact__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  border-top: 1px solid var(--border); padding: 32px 0;
  background: var(--bg-2);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer__brand { font-family: var(--font-display); font-weight: 600; }
.footer__meta { font-size: 13px; color: var(--text-3); }
.footer__copy { font-size: 13px; color: var(--text-dim); }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero__content { order: 2; }
  .hero__visual { order: 1; }
  .hero__photo-wrap { width: min(320px, 80%); }
  .hero__tagline { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero__scroll { display: none; }

  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__card { position: static; }
  .expertise__grid { grid-template-columns: repeat(2, 1fr); }
  .case__metrics { grid-template-columns: repeat(2, 1fr); }
  .case__body { grid-template-columns: 1fr; }
  .awards__grid { grid-template-columns: 1fr; gap: 36px; }
  .awards__extra { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0; width: 80%; max-width: 320px;
    background: var(--bg-2); border-left: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 90px 24px 30px; transform: translateX(100%);
    transition: transform 0.4s var(--ease); z-index: 99;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { padding: 14px 16px; font-size: 16px; }
  .nav__link--cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav__toggle { display: flex; z-index: 101; }

  .impact__grid { grid-template-columns: 1fr; }
  .expertise__grid { grid-template-columns: 1fr; }
  .case__metrics { grid-template-columns: 1fr 1fr; }
  .timeline__item { grid-template-columns: 48px 1fr; gap: 16px; }
  .timeline__marker { width: 48px; height: 48px; }
  .timeline__marker img { width: 28px; height: 28px; }
  .timeline__item::before { left: 23px; top: 48px; }
  .timeline__card { padding: 20px; }
  .timeline__role { font-size: 18px; }
  .contact__actions { flex-direction: column; }
  .contact__actions .btn { width: 100%; justify-content: center; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .container { padding: 0 20px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .blob { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   PREMIUM REFRESH
   ===================================================================== */
body {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 280px),
    radial-gradient(900px 520px at 78% 8%, rgba(126,167,255,0.14), transparent 62%),
    linear-gradient(135deg, #070a12 0%, #0a101b 44%, #090b10 100%);
}

.bg-mesh {
  background:
    linear-gradient(115deg, rgba(215,181,109,0.08), transparent 28%),
    linear-gradient(250deg, rgba(125,211,199,0.09), transparent 32%),
    var(--bg);
}

.bg-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 78%);
}

.bg-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(7,10,18,0.72) 70%, #070a12),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 18px);
  opacity: 0.55;
}

.grid-overlay,
.blob {
  display: none;
}

.container {
  max-width: 1160px;
}

.section {
  padding: 104px 0;
}

.nav {
  padding: 18px 0;
}

.nav__inner {
  min-height: 52px;
}

.nav.scrolled {
  background: rgba(7, 10, 18, 0.82);
  box-shadow: 0 16px 60px rgba(0,0,0,0.32);
}

.nav__brand-mark {
  border-radius: 8px;
  background: linear-gradient(135deg, #f1d48d, #7dd3c7);
  color: #081018;
  box-shadow: 0 12px 26px rgba(215,181,109,0.18);
}

.nav__brand-text {
  color: var(--text);
}

.nav__link {
  border-radius: 8px;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.nav__link--cta {
  background: rgba(215,181,109,0.11);
  border-color: rgba(215,181,109,0.24);
  color: #f3d894;
}

.nav__link--cta:hover {
  background: #f0d28c;
  color: #081018;
  box-shadow: 0 14px 30px rgba(215,181,109,0.16);
}

.hero {
  min-height: 94vh;
  padding-top: 132px;
}

.hero__grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
}

.hero__content {
  max-width: 660px;
}

.eyebrow {
  border-radius: 999px;
  color: #f3d894;
  background: rgba(215,181,109,0.09);
  border-color: rgba(215,181,109,0.24);
}

.pulse-dot {
  background: #9fe3dc;
  box-shadow: 0 0 0 0 rgba(159,227,220,0.48);
}

.hero__title {
  font-size: 86px;
  letter-spacing: 0;
}

.hero__role {
  font-size: 22px;
  color: #d5dbea;
}

.hero__tagline {
  font-size: 18px;
  max-width: 610px;
}

.hero__actions {
  margin-bottom: 22px;
}

.btn {
  border-radius: 8px;
  min-height: 48px;
  box-shadow: none;
}

.btn--primary {
  background: #f0d28c;
  color: #091018;
  box-shadow: 0 14px 34px rgba(215,181,109,0.18);
}

.btn--primary:hover {
  box-shadow: 0 18px 42px rgba(215,181,109,0.24);
}

.btn--ghost {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(215,181,109,0.32);
}

.hero__meta {
  color: #929bad;
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__signals span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: #c9d0dd;
  font-size: 13px;
}

.hero__photo-wrap {
  width: min(430px, 92%);
  border-radius: 8px;
  isolation: isolate;
}

.hero__photo-glow {
  inset: -1px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(215,181,109,0.72), rgba(125,211,199,0.46));
  filter: none;
  opacity: 1;
  animation: none;
}

.hero__photo {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px;
  background: rgba(255,255,255,0.035);
  box-shadow: 0 28px 70px rgba(0,0,0,0.56);
}

.hero__badge {
  right: -18px;
  bottom: 28px;
  border-radius: 8px;
  background: rgba(11,15,25,0.88);
  border-color: rgba(215,181,109,0.28);
}

.hero__badge-num {
  font-size: 30px;
}

.hero__scroll {
  color: #717b8e;
}

.impact {
  padding-top: 28px;
}

.stat,
.about__card,
.skill-card,
.timeline__card,
.product,
.case,
.award-pill,
.contact__card {
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)), rgba(13,18,29,0.82);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 60px rgba(0,0,0,0.24);
}

.stat:hover,
.skill-card:hover,
.timeline__card:hover,
.product:hover,
.award-pill:hover {
  border-color: rgba(215,181,109,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.032)), rgba(18,25,38,0.9);
}

.stat__num,
.case__metric-num,
.hero__badge-num,
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__num {
  font-size: 50px;
}

.section-head {
  align-items: center;
  margin-bottom: 48px;
}

.section-head__index {
  color: #d7b56d;
}

.section-head__title {
  font-size: 46px;
  letter-spacing: 0;
}

.section-head__title::after {
  background: linear-gradient(90deg, #d7b56d, #7dd3c7);
}

.about__lede {
  font-size: 28px;
  letter-spacing: 0;
}

.chip,
.skill-tags span,
.product__tags span {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.09);
}

.skill-card__icon {
  border-radius: 8px;
  background: rgba(215,181,109,0.10);
  color: #f0d28c;
}

.timeline__marker {
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.timeline__type,
.product__badge,
.award__media-tag {
  border-radius: 8px;
  color: #9fe3dc;
  background: rgba(125,211,199,0.10);
  border-color: rgba(125,211,199,0.24);
}

.timeline__company {
  color: #f0d28c;
}

.timeline__company:hover {
  color: #9fe3dc;
}

.product__media {
  background: #080c14;
}

.product__media img,
.award__media img {
  filter: saturate(0.92) contrast(1.04);
}

.product__logo,
.case__logo {
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.case::before {
  display: none;
}

.case__title,
.award__title,
.contact__title {
  letter-spacing: 0;
}

.case__title {
  font-size: 30px;
}

.case__metric {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.09);
}

.award__media {
  border-radius: 8px;
}

.award__kicker,
.case__block h4,
.about__card-title {
  color: #d7b56d;
}

.award__quote {
  border-left-color: #d7b56d;
}

.award-pill__icon {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 36px;
  border-radius: 8px;
  background: rgba(215,181,109,0.12);
  border: 1px solid rgba(215,181,109,0.22);
  color: #f0d28c;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.contact__card {
  background:
    linear-gradient(120deg, rgba(215,181,109,0.11), rgba(125,211,199,0.08)),
    rgba(13,18,29,0.9);
}

.contact__card::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), transparent 38%, rgba(255,255,255,0.06)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 18px);
}

.contact__title {
  font-size: 42px;
}

@media (max-width: 960px) {
  .hero {
    padding-top: 112px;
  }

  .hero__title {
    font-size: 66px;
  }

  .hero__photo-wrap {
    width: min(330px, 86%);
  }

  .hero__signals {
    justify-content: center;
  }

  .section-head__title {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .nav__links {
    background: rgba(7,10,18,0.98);
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__role {
    font-size: 19px;
  }

  .hero__tagline {
    font-size: 16px;
  }

  .hero__badge {
    right: -8px;
    bottom: 18px;
  }

  .section-head__title,
  .contact__title {
    font-size: 34px;
  }

  .about__lede {
    font-size: 23px;
  }

  .stat__num {
    font-size: 44px;
  }
}
