/* ============================================================
   David Rao — Portfolio
   Clean, modern, responsive. No frameworks, no build step.
   Just open index.html, or deploy the folder to Netlify/GitHub Pages.
   ============================================================ */

:root {
  --bg: #0d1117;
  --bg-alt: #131a24;
  --surface: #1a2230;
  --border: #263243;
  --text: #e6edf3;
  --muted: #9aa7b5;
  --brand: #FF7A1A;
  --brand-2: #F2541B;
  --radius: 16px;
  --max: 1120px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { font-weight: 800; letter-spacing: 0.3px; font-size: 1.15rem; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important; padding: 8px 16px; border-radius: 999px; font-weight: 600;
}

/* ---------- BRAND / LOGO ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { height: 34px; width: auto; display: block; }
.brand__wm { font-family: "Montserrat", "Inter", sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.3px; color: var(--text); }
.brand__wm .e { background: linear-gradient(135deg, #FFB23E, #FF7A1A 60%, #F2541B); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__logo { display: flex; align-items: center; gap: 26px; margin-bottom: 30px; }
.hero__logo img { height: 124px; width: auto; filter: drop-shadow(0 12px 28px rgba(242, 84, 27, 0.32)); }
.lock { display: flex; flex-direction: column; gap: 7px; }
.lock__wm { font-family: "Montserrat", "Inter", sans-serif; font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -1.2px; }
.lock__wm .e { background: linear-gradient(135deg, #FFB23E, #FF7A1A 60%, #F2541B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lock__wm .w { color: var(--text); }
.lock__studio { letter-spacing: 0.46em; font-weight: 600; font-size: 1.28rem; color: var(--text); padding-left: 0.46em; margin-top: 3px; }
.lock__tag { letter-spacing: 0.34em; font-weight: 600; font-size: 0.78rem; color: var(--muted); padding-left: 0.5em; }
@media (max-width: 560px) { .hero__logo img { height: 78px; } .lock__wm { font-size: 2.1rem; } .lock__studio { font-size: 0.95rem; } }

/* ---------- HERO ---------- */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% -10%, rgba(242, 84, 27, 0.20), transparent 70%),
              radial-gradient(600px 400px at 0% 10%, rgba(255, 178, 62, 0.14), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 820px; }
.hero__eyebrow { color: var(--brand); font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; font-size: 0.92rem; margin-bottom: 18px; }
.hero__title { font-size: clamp(1.85rem, 4.4vw, 3.1rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.5px; }
.hl { background: linear-gradient(135deg, #FFB23E, #FF7A1A 55%, #F2541B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.hero__trust strong { color: var(--text); display: block; font-size: 1.1rem; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 24px rgba(242, 84, 27, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(242, 84, 27, 0.45); }
.btn--ghost { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
/* ember glows that weave down the sides as you scroll */
.section::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 84, 27, 0.13), rgba(255, 178, 62, 0.04) 48%, transparent 72%);
}
#services::before { right: -200px; top: 6%; }
#work::before    { left:  -200px; top: 34%; }
#packages::before { right: -200px; top: 10%; }
#about::before   { left:  -200px; bottom: 8%; }
#contact::before { right: -200px; top: 18%; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- AUTO-SCROLLING HEADSHOT STRIP ---------- */
.strip { padding: 30px 0 10px; overflow: hidden; }
.strip__cap { text-align: center; color: var(--muted); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 18px; }
.strip__cap b { color: var(--brand); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: 16px; padding-right: 16px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track img { height: 230px; width: auto; border-radius: 14px; object-fit: cover; border: 1px solid var(--border); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Manual arrow scroller (home page work strip) */
.hscroll { position: relative; }
.hscroll__viewport { overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hscroll__viewport::-webkit-scrollbar { display: none; }
.hscroll__track { display: flex; gap: 16px; padding: 4px 52px; width: max-content; }
.hscroll__track img { height: 230px; width: auto; border-radius: 14px; object-fit: cover; border: 1px solid var(--border); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.hscroll__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: rgba(13, 17, 23, 0.82); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s, transform 0.12s; }
.hscroll__btn:hover { background: linear-gradient(135deg, #FF7A1A, #F2541B); border-color: var(--brand); }
.hscroll__btn:active { transform: translateY(-50%) scale(0.94); }
.hscroll__btn--prev { left: 8px; }
.hscroll__btn--next { right: 8px; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.4px; }
.section__lead { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }

/* ---------- SERVICE CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card__icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card__for { margin-top: 14px !important; color: var(--brand) !important; font-weight: 600; font-size: 0.88rem !important; }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.shot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.38); }
.shot img { width: 100%; height: 320px; object-fit: cover; display: block; }
.shot__collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px; gap: 2px; }
.shot .shot__collage img { width: 100%; height: 160px; object-fit: cover; display: block; }
.shot figcaption { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.shot figcaption strong { font-size: 1rem; }
.shot figcaption span { color: var(--muted); font-size: 0.9rem; }
.shot--placeholder .shot__ph {
  height: 320px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 600; letter-spacing: 0.5px;
  background: repeating-linear-gradient(45deg, #1a2230, #1a2230 14px, #171e2a 14px, #171e2a 28px);
}
.shot { position: relative; }
.shot--link { cursor: pointer; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.shot--link:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 16px 36px rgba(242, 84, 27, 0.24), 0 8px 20px rgba(0, 0, 0, 0.5); }
.shot__live {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(242, 84, 27, 0.4);
}

/* ---------- BEFORE / AFTER SLIDER ---------- */
.shot--ba { cursor: default; }
.ba { position: relative; aspect-ratio: 1 / 1; overflow: hidden; touch-action: none; cursor: ew-resize; user-select: none; }
.ba .ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; -webkit-user-select: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__lbl { position: absolute; bottom: 12px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: rgba(13, 17, 23, 0.72); color: #fff; pointer-events: none; }
.ba__lbl--before { left: 12px; }
.ba__lbl--after { right: 12px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: linear-gradient(180deg, #FFB23E, #FF7A1A, #F2541B); transform: translateX(-1.5px); pointer-events: none; box-shadow: 0 0 12px rgba(242, 84, 27, 0.5); }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #FFB23E, #FF7A1A, #F2541B); box-shadow: 0 4px 16px rgba(242, 84, 27, 0.55); display: flex; align-items: center; justify-content: center; }
.ba__handle span::before { content: "\2194"; color: #fff; font-size: 19px; font-weight: 800; }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.about__text p { color: var(--muted); margin-top: 16px; }
.about__list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.about__list li { padding-left: 22px; position: relative; color: var(--text); }
.about__list li::before { content: "▹"; position: absolute; left: 0; color: var(--brand); }
.about__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.about__photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); margin-bottom: 20px; }
.about__card h3 { font-size: 1.15rem; }
.about__card p { color: var(--brand); font-style: italic; margin: 12px 0 18px; }
.about__card ul { list-style: none; display: grid; gap: 10px; }
.about__card li { color: var(--muted); font-size: 0.95rem; }
.about__studio { grid-column: 1 / -1; max-width: 720px; margin: 28px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; }
.about__studio img { width: 100%; height: auto; display: block; }
.about__studio figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px 16px; font-size: 0.92rem; color: #fff; background: linear-gradient(transparent, rgba(13,17,23,0.85)); }

/* ---------- PACKAGES ---------- */
.pkg__group { font-size: 1.15rem; font-weight: 700; margin: 28px 0 4px; color: var(--text); }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; align-items: stretch; }
.pkg { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: transform 0.2s, border-color 0.2s; }
.pkg:hover { transform: translateY(-4px); border-color: var(--brand); }
.pkg--featured { border-color: var(--brand); box-shadow: var(--shadow); }
.pkg__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.pkg__name { font-size: 1.2rem; font-weight: 700; }
.pkg__price { font-size: 2.1rem; font-weight: 800; margin: 8px 0 18px; letter-spacing: -1px; }
.pkg__price span { font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-right: 4px; letter-spacing: 0; }
.pkg__list { list-style: none; display: grid; gap: 11px; margin-bottom: 24px; flex: 1; }
.pkg__list li { padding-left: 24px; position: relative; color: var(--muted); font-size: 0.94rem; }
.pkg__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.pkg__btn { text-align: center; width: 100%; }
.pkg__note { text-align: center; color: var(--muted); margin-top: 26px; font-size: 0.95rem; }
.pkg__note strong { color: var(--brand); }
.ratios { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 28px; }
.ratios__label { color: var(--muted); font-size: 0.9rem; width: 100%; text-align: center; margin-bottom: 4px; }
.ratio { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; color: var(--text); }

/* ---------- CONTACT ---------- */
.contact { text-align: center; }
.contact .section__lead { max-width: 560px; margin: 10px auto 0; }
.contact__actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer { padding: 28px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.9rem; }
.footer__inner a:hover { color: var(--text); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .pkgs { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- SUB-PAGES ---------- */
.subnav { position: sticky; top: 0; z-index: 50; background: rgba(13, 17, 23, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.subback { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.subback:hover { color: var(--text); }
.subhero { padding: 54px 0 6px; text-align: center; }
.subhero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.5px; }
.subhero h1 .hl { background: linear-gradient(135deg, #FFB23E, #FF7A1A 55%, #F2541B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subhero p { color: var(--muted); max-width: 660px; margin: 14px auto 0; font-size: 1.05rem; }
.subgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 6px; }
@media (max-width: 760px) { .subgrid { grid-template-columns: 1fr; } }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 8, 12, 0.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94%; max-height: 90%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.lightbox__close { position: absolute; top: 20px; right: 26px; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 22px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__close:hover { border-color: var(--brand); }
.zoomable { cursor: zoom-in; }

/* ---------- EDGE / COMPARISON ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }
.vs__col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.vs__col--win { border-color: var(--brand); box-shadow: 0 12px 36px rgba(242, 84, 27, 0.12); }
.vs__col h3 { font-size: 1.15rem; margin-bottom: 14px; }
.vs__col .vs__tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.vs__col--win .vs__tag { color: var(--brand); }
.vs__col ul { list-style: none; display: grid; gap: 11px; margin-top: 6px; }
.vs__col li { padding-left: 26px; position: relative; color: var(--muted); }
.vs__col--them li::before { content: "\2715"; position: absolute; left: 0; color: #ff6b6b; font-weight: 800; }
.vs__col--win li::before { content: "\2713"; position: absolute; left: 0; color: #1ec77a; font-weight: 800; }
.vs__col--win li { color: var(--text); }
.edge__line { text-align: center; font-size: 1.18rem; color: var(--text); max-width: 760px; margin: 28px auto 0; font-style: italic; }
.edge__line b { color: var(--brand); font-style: normal; }
