/* ─── Akhila Sankar · Landscape Photography ───
   Palette: sand #F0E2C3 · mint #DCECE9 · cream #F2EAE0
            peach #F6C7B3 · teal #C3DEDD · dusty blue #82B2C0 */

:root {
  --sand: #F0E2C3;
  --mint: #DCECE9;
  --cream: #F2EAE0;
  --peach: #F6C7B3;
  --teal: #C3DEDD;
  --blue: #82B2C0;
  --ink: #33535E;
  --ink-soft: #5F7A83;
  --paper: #FBF8F2;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Keep anchored sections clear of the sticky header when jumping to #albums / #about */
section, .about-band { scroll-margin-top: 7.5rem; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mint);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-nav { display: flex; gap: 1.4rem; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover, .site-nav a.active { color: var(--blue); }

/* ── Hero ── */
.hero {
  position: relative;
  height: min(88vh, 900px);
  overflow: hidden;
}
.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(51,83,94,0.10) 0%, rgba(51,83,94,0) 40%, rgba(242,234,224,0.82) 96%, var(--paper) 100%);
}
.hero-copy {
  position: absolute;
  left: 50%; bottom: 3.2rem;
  transform: translateX(-50%);
  text-align: center;
  width: 92%;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  text-shadow: 0 1px 12px rgba(251,248,242,0.65);
}
.hero-copy p {
  margin-top: 0.4rem;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── Sections ── */
section { max-width: 1200px; margin: 0 auto; padding: 4.5rem 1.5rem 1rem; }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.05em;
}
.section-head .rule {
  width: 56px; height: 4px; border-radius: 2px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, var(--peach), var(--teal), var(--blue));
}
.section-head p { color: var(--ink-soft); margin-top: 0.8rem; font-size: 0.95rem; }

/* ── Featured ── */
.feature {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.2rem;
  align-items: center;
  margin-bottom: 3.6rem;
}
.feature:nth-child(even) .feature-img { order: 2; }
.feature-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px -18px rgba(51, 83, 94, 0.35);
}
.feature-img img { width: 100%; height: auto; transition: transform 0.7s ease; }
.feature:hover .feature-img img { transform: scale(1.025); }
.feature-text h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}
.feature-text .loc {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.feature-text p { color: var(--ink-soft); font-size: 0.98rem; }

/* ── Album grid ── */
.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}
.album-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 34px -16px rgba(51, 83, 94, 0.35);
  background: var(--mint);
}
.album-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.album-card:hover img { transform: scale(1.05); }
.album-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(51,83,94,0) 42%, rgba(40,66,75,0.72) 100%);
}
.album-card .label {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.05rem;
  color: #FDFBF7;
}
.album-card .label h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.album-card .label p {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.album-card .count {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: rgba(251,248,242,0.85);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ── About ── */
.about-band {
  background: linear-gradient(135deg, var(--mint) 0%, var(--cream) 55%, var(--sand) 100%);
  margin-top: 4.5rem;
}
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}
.about-inner h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin-bottom: 1.1rem; }
.about-inner p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.about-inner .gear {
  display: inline-block;
  margin-top: 0.8rem;
  background: rgba(251,248,242,0.7);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: var(--mint);
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.footer-inner .sig { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.88rem; }
.footer-links a { color: var(--teal); }
.footer-links a:hover { color: var(--peach); }
.footer-inner .fine { width: 100%; font-size: 0.75rem; color: rgba(220,236,233,0.55); }

/* ── Album page ── */
.album-hero {
  background: linear-gradient(135deg, var(--mint), var(--cream) 70%);
  text-align: center;
  padding: 3.6rem 1.5rem 2.8rem;
}
.album-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: 0.04em; }
.album-hero p { color: var(--ink-soft); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.82rem; margin-top: 0.5rem; }
.album-hero .crumbs { margin-top: 1.1rem; font-size: 0.85rem; }

.masonry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.2rem 1.2rem 3rem;
  columns: 3 320px;
  column-gap: 1.1rem;
}
.masonry a.ph {
  display: block;
  margin-bottom: 1.1rem;
  border-radius: 10px;
  overflow: hidden;
  break-inside: avoid;
  box-shadow: 0 12px 28px -14px rgba(51, 83, 94, 0.3);
  background: var(--mint);
}
.masonry img { width: 100%; height: auto; transition: transform 0.6s ease, opacity 0.4s ease; }
.masonry a.ph:hover img { transform: scale(1.03); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(40, 62, 70, 0.94);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lb-btn {
  position: absolute;
  background: rgba(251,248,242,0.12);
  color: var(--cream);
  border: 1px solid rgba(251,248,242,0.35);
  border-radius: 999px;
  width: 46px; height: 46px;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-btn:hover { background: rgba(246,199,179,0.35); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(251,248,242,0.75);
  font-size: 0.85rem; letter-spacing: 0.15em;
}

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 1.1rem; }
  .feature:nth-child(even) .feature-img { order: 0; }
  .hero { height: 62vh; }
  .site-nav { gap: 1rem; }
  .lb-prev { left: 0.4rem; } .lb-next { right: 0.4rem; }
}
