﻿:root {
  --bg: #0a090d;
  --bg-2: #111017;
  --panel: #16141d;
  --line: #26232f;
  --text: #ece9f1;
  --mute: #9a95a6;
  --orange: #e8832f;
  --teal: #19b8c6;
  --radius: 14px;
  --head: "Rajdhani", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --title: #ece9f1;
  --foot-bg: #0a090d;
  --hs: 1;
  --bs: 1;
  --overlay: .78;
  --pattern: none;
  --pat-op: 0;
  --pat-size: 40px;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--pattern);
  background-size: var(--pat-size) var(--pat-size); opacity: var(--pat-op); }
.feature > *, .about > *, .exp > *, .gallery > *, .vids > * { min-width: 0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { background: var(--bg); color: var(--text); font: calc(16px * var(--bs))/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 9, 13, .85); backdrop-filter: blur(12px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font: 700 20px/1 var(--head); letter-spacing: 2px; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.nav nav { display: flex; gap: 28px; align-items: center; }
.nav nav a { font: 600 15px/1 var(--head); letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.nav nav .nav-cta { color: var(--bg); background: var(--orange); padding: 10px 18px; border-radius: 999px; }
.nav nav .nav-cta:hover { color: var(--bg); background: #ff9a45; }
.menu-btn { display: none; font-size: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -5%; background-size: cover; background-position: center; z-index: -3; transform: scale(1.08);
  filter: saturate(1.1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(10,9,13,.97) 0%, rgba(10,9,13,var(--overlay)) 42%, rgba(10,9,13,calc(var(--overlay) - .58)) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: linear-gradient(var(--teal) 1px, transparent 1px), linear-gradient(90deg, var(--teal) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 20% 60%, #000 0%, transparent 60%);
  animation: grid 18s linear infinite; }
@keyframes grid { to { background-position: 64px 64px; } }
.hero-inner { width: min(1180px, 100% - 32px); margin: 0 auto; padding: 120px 0 80px; }
.eyebrow, .kicker { font: 700 14px/1 var(--head); letter-spacing: 4px; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.hero h1 { color: var(--title); font: 700 calc(clamp(44px, 7.2vw, 92px) * var(--hs))/.98 var(--head); letter-spacing: -.5px; max-width: 14ch; }
.accent { color: var(--orange); text-shadow: 0 0 40px rgba(232, 131, 47, .45); }
.lede { margin-top: 24px; max-width: 54ch; font-size: clamp(16px, 1.6vw, 19px); color: #cfcad8; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px;
  font: 700 16px/1 var(--head); letter-spacing: 1.5px; text-transform: uppercase; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #120c06; box-shadow: 0 10px 30px -10px rgba(232, 131, 47, .7); }
.btn-primary:hover { background: #ff9a45; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn.full { width: 100%; margin-top: 28px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 56px; }
.hero-stats b { display: block; font: 700 30px/1 var(--head); color: var(--text); }
.hero-stats span { font-size: 13px; color: var(--mute); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; translate: -50% 0; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--orange); border-radius: 2px;
  translate: -50% 0; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section.alt { background: color-mix(in srgb, var(--bg-2) 92%, transparent); border-block: 1px solid var(--line); }
h2 { color: var(--title); font: 700 calc(clamp(34px, 4.6vw, 58px) * var(--hs))/1.02 var(--head); max-width: 20ch; }
.sub { color: var(--mute); margin-top: 14px; max-width: 60ch; }
h3 { color: var(--title); font: 700 calc(26px * var(--hs))/1.1 var(--head); margin: 6px 0 14px; }
h4 { font: 700 15px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--mute); margin: 22px 0 10px; }

/* featured */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(232, 131, 47, .45); border: 1px solid var(--line); }
.dz-logo { width: min(320px, 100%); border-radius: 8px; }
.meta { color: var(--teal); font-size: 14px; margin-top: 16px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: #d3cfdb; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--orange); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: #cfcad8; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.gallery .wide { grid-column: span 2; grid-row: span 2; }
.shot { position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--panel); }
.gallery .wide { aspect-ratio: auto; }
.gallery .span2 { grid-column: span 2; aspect-ratio: 32.5 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.9); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; text-align: left; font: 600 15px/1 var(--head);
  letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; translate: 0 8px; transition: .3s; }
.shot:hover img { transform: scale(1.06); filter: saturate(1.15); }
.shot:hover span, .shot:focus-visible span { opacity: 1; translate: 0 0; }
.shot:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* youtube */
.yt { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; cursor: pointer; }
.yt button { position: absolute; inset: 0; width: 100%; }
.yt button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; translate: -50% -50%; border-radius: 50%;
  background: rgba(232, 131, 47, .92); box-shadow: 0 0 0 10px rgba(232, 131, 47, .2); transition: transform .25s; }
.yt button::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #120c06; }
.yt:hover button::before { transform: scale(1.1); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.vids figure { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s; }
.vids figure:hover { border-color: rgba(25, 184, 198, .5); transform: translateY(-3px); }
figcaption { padding: 18px 20px 22px; color: var(--mute); font-size: 14px; }
figcaption b { display: block; color: var(--text); font: 700 20px/1.2 var(--head); margin-bottom: 4px; }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--orange); border-radius: var(--radius); z-index: -1; }
.about-body p:not(.kicker) { color: #d3cfdb; margin-top: 16px; }
.about-body h2 { margin-bottom: 8px; }

/* experience */
.exp { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); }
.timeline { list-style: none; border-left: 2px solid var(--line); margin-top: 8px; }
.timeline li { position: relative; padding: 0 0 30px 28px; color: var(--mute); font-size: 15px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--teal); }
.timeline li:first-child::before { background: var(--orange); border-color: var(--orange); }
.timeline b { display: block; color: var(--text); font: 700 20px/1.25 var(--head); margin-bottom: 4px; }
.when { font: 600 13px/1 var(--head); letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.skills { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; align-self: start; }

/* contact */
.contact { text-align: center; background:
  radial-gradient(ellipse at 50% 120%, rgba(232, 131, 47, .22), transparent 60%), var(--bg); }
.contact h2, .contact .sub { margin-inline: auto; }

footer { background: var(--foot-bg); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 34px 16px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
footer img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(5, 4, 8, .94); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 14px; right: 22px; font-size: 40px; color: var(--text); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-grid, .scroll-hint::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .feature, .about, .exp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .vids { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 420px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(10,9,13,.97);
    border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .35s; }
  .nav.open { background: rgba(10,9,13,.97); }
  .nav.open nav { max-height: 420px; }
  .nav nav a { padding: 16px; width: 100%; text-align: center; }
  .nav nav .nav-cta { border-radius: 0; }
  .brand span { font-size: 17px; }
  .shots { grid-template-columns: 1fr; }
  .vids { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide, .gallery .span2 { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
  .hero-stats { gap: 18px 32px; }
  .about-photo::before { inset: 12px -10px -12px 10px; }
}
