/* ============================================================
   SHANU RANA — photography.shanurana.com (one-page profile)
   Same look as the photography site (dark, cinematic, gold
   accent), but its own file: this site shares no code.
   ============================================================ */

:root {
  --bg: #0b0e11;
  --bg-soft: #11151a;
  --line: rgba(232, 228, 218, 0.12);
  --text: #e8e4da;
  --muted: #b3ad9f;
  --accent: #c89b5a;
  --accent-hover: #dab06c;
  --accent-ink: #14110b;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 92vw); margin: 0 auto; }

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--accent); opacity: 0.7; }

h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0.9rem 0 1rem; }

.btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  transition: background 0.25s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: rgba(11, 14, 17, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand small {
  font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent); margin-top: 0.2rem;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; padding: 8rem 0 5rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,17,0.15) 0%, rgba(11,14,17,0.35) 45%, rgba(11,14,17,0.95) 100%);
}
.hero-inner { position: relative; max-width: 760px; margin-left: max(4vw, calc((100vw - 1200px) / 2)); }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin: 1.1rem 0 1.3rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p { color: var(--text); opacity: 0.88; max-width: 58ch; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-coords {
  position: absolute; right: 4vw; bottom: 2rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Work grid ---------- */
.grid { columns: 3 300px; column-gap: 1.1rem; }
.photo { break-inside: avoid; margin-bottom: 1.1rem; position: relative; cursor: zoom-in; overflow: hidden; background: var(--bg-soft); }
.photo img { width: 100%; height: auto; transition: transform 0.6s ease, opacity 0.3s; }
.photo figcaption {
  position: absolute; inset: auto 0 0; padding: 2.4rem 1rem 0.85rem;
  font-family: var(--font-display); font-size: 1.05rem;
  background: linear-gradient(transparent, rgba(11,14,17,0.88));
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  opacity: 0; transition: opacity 0.3s;
}
.photo figcaption span {
  font-family: var(--font-body); font-size: 0.64rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}
.photo:hover figcaption, .photo:focus-visible figcaption { opacity: 1; }
.photo:hover img { transform: scale(1.03); }
@media (hover: none) { .photo figcaption { opacity: 1; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: center; }
.about-photo img { width: 100%; height: auto; }
.about-copy p { color: var(--muted); margin-bottom: 1.1rem; max-width: 62ch; }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent-hover); }
.about-copy p:last-child { color: var(--text); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }

/* ---------- Follow ---------- */
.follow { padding: 6.5rem 0; text-align: center; }
.follow .kicker { justify-content: center; }
.follow-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-top: 2.4rem; }
.follow-card {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  padding: 1.1rem 1.6rem; min-width: 260px;
  border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color 0.25s, background 0.25s;
}
.follow-card:hover { border-color: var(--accent); background: rgba(200, 155, 90, 0.08); }
.follow-card svg { width: 28px; height: 28px; fill: var(--accent); flex: none; }
.follow-card strong { display: block; font-weight: 600; letter-spacing: 0.04em; }
.follow-card small { color: var(--muted); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 1.8rem 0; font-size: 0.8rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(5, 6, 8, 0.95);
  display: flex; align-items: center; justify-content: center; padding: 3rem 4.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.lightbox img { max-height: calc(100vh - 9rem); width: auto; object-fit: contain; }
.lightbox figcaption { color: var(--muted); font-size: 0.9rem; text-align: center; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--text); cursor: pointer;
  font-size: 2.6rem; line-height: 1; padding: 0.5rem 0.8rem; opacity: 0.75;
}
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lb-close { top: 1rem; right: 1.2rem; }
.lb-prev { left: 0.8rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.8rem; top: 50%; transform: translateY(-50%); }

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; gap: 2.4rem; }
  .about-photo { max-width: 420px; }
  .hero-coords { display: none; }
}
@media (max-width: 560px) {
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.64rem; letter-spacing: 0.1em; white-space: nowrap; }
  .brand { font-size: 1.1rem; white-space: nowrap; }
  .brand small { display: none; }
  .section, .follow { padding: 4.5rem 0; }
  .hero { min-height: 80vh; padding-bottom: 3.5rem; }
  .follow-card { min-width: 0; width: 100%; }
  .lightbox { padding: 3rem 0.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 0.8rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img, .btn, .follow-card { transition: none; }
}
