/* ─────────────────────────────────────────────
   AlbaVista — Landscape Photography
   Stylesheet
───────────────────────────────────────────── */

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

/* ── Variables ── */
:root {
  --white: #f9f6f1;
  --black: #0e0c0a;
  --stone: #c2b49a;
  --ink:   #1c1814;
  --gold:  #b8935a;
  --mist:  #e8e2d8;
  --mid:   #6b5f50;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
#cur {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .15s;
  mix-blend-mode: multiply;
}

#cur-r {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left .2s ease-out, top .2s ease-out;
  opacity: .6;
}

body:has(a:hover) #cur,
body:has(button:hover) #cur {
  transform: translate(-50%, -50%) scale(2.5);
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.8rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(249, 246, 241, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194, 180, 154, 0.3);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--black);
}

.nav-brand span {
  color: var(--gold);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: .62rem;
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color .25s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: .6rem 1.5rem;
  cursor: none;
  transition: background .25s;
}

.nav-cta:hover {
  background: var(--gold);
}

/* ── Hero ── */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, transparent 30%, rgba(14, 12, 10, .55) 100%);
}

.hero-left-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 12, 10, .7) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 680px;
}

.hero-tag {
  font-size: .58rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: up .9s .4s forwards;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.02;
  color: var(--white);
  opacity: 0;
  animation: up .9s .65s forwards;
}

.hero-h1 em {
  font-style: italic;
  color: #e8d8b8;
}

.hero-desc {
  margin-top: 1.8rem;
  font-size: .75rem;
  line-height: 2;
  color: rgba(249, 246, 241, .72);
  max-width: 400px;
  opacity: 0;
  animation: up .9s .9s forwards;
}

.hero-actions {
  margin-top: 2.8rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  animation: up .9s 1.1s forwards;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: .85rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: none;
  transition: background .25s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #9a7a46;
}

.btn-ghost {
  color: rgba(249, 246, 241, .8);
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .8rem;
  transition: color .25s;
}

.btn-ghost:hover {
  color: var(--gold);
}

.btn-ghost::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3.5rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: .52rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(249, 246, 241, .5);
  display: flex;
  align-items: center;
  gap: .9rem;
  opacity: 0;
  animation: fadeIn 1s 1.6s forwards;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, rgba(249, 246, 241, .4), transparent);
}

/* ── Shared Animations ── */
@keyframes up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s, transform .85s cubic-bezier(.22, .68, 0, 1.1);
}

.reveal.on {
  opacity: 1;
  transform: none;
}

/* ── Shared Typography ── */
.label {
  font-size: .55rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}

.display {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
}

.display em {
  font-style: italic;
  color: var(--gold);
}

/* ── Stats Bar ── */
.stats {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.stat-cell {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.stat-l {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-top: .5rem;
}

/* ── Gallery ── */
#gallery {
  padding: 7rem 3rem 8rem;
  background: var(--white);
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.gallery-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery-filters button {
  background: none;
  border: 1px solid var(--mist);
  font-family: 'Jost', sans-serif;
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--mid);
  padding: .45rem 1.1rem;
  cursor: none;
  transition: all .25s;
}

.gallery-filters a.btn-filter {
  background: none;
  border: 1px solid var(--mist);
  font-family: 'Jost', sans-serif;
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--mid);
  padding: .45rem 1.1rem;
  cursor: none;
  transition: all .25s;
}

.gallery-filters a.btn-filter:hover {
  background: var(--gold); /* Or whatever your highlight color is */
  color: #000;
  border-color: var(--gold);
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* Masonry Grid */
.gallery-grid {
  columns: 3;
  column-gap: 10px;
}

.g-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: none;
  background: var(--mist);
}

.g-item img {
  width: 100%;
  display: block;
  transition: transform .7s cubic-bezier(.25, .46, .45, .94), filter .4s;
  filter: brightness(.95) saturate(.9);
}

.g-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.05);
}

.g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 12, 10, .82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.g-item:hover .g-overlay {
  opacity: 1;
}

.g-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
}

.g-loc {
  font-size: .53rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .3rem;
}

.g-tag-badge {
  position: absolute;
  top: .9rem;
  left: .9rem;
  background: rgba(14, 12, 10, .6);
  backdrop-filter: blur(4px);
  font-size: .5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(249, 246, 241, .7);
  padding: .25rem .6rem;
  border: 1px solid rgba(249, 246, 241, .15);
  opacity: 0;
  transition: opacity .3s;
}

.g-item:hover .g-tag-badge {
  opacity: 1;
}

/* ── Lightbox ── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 8, 6, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.lb.open {
  opacity: 1;
  pointer-events: all;
}

.lb-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(184, 147, 90, .15);
}

.lb-cap {
  margin-top: 1.2rem;
  text-align: center;
}

.lb-cap-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
}

.lb-cap-loc {
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .3rem;
}

.lb-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: none;
  border: none;
  cursor: none;
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(249, 246, 241, .5);
  transition: color .25s;
}

.lb-close:hover {
  color: var(--gold);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: none;
  font-size: 2rem;
  color: rgba(249, 246, 241, .3);
  padding: 1rem;
  transition: color .25s;
}

.lb-nav:hover {
  color: var(--gold);
}

.lb-prev { left: -5rem; }
.lb-next { right: -5rem; }

/* ── About ── */
#about {
  padding: 7rem 3.5rem;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -1.2rem;
  left: -1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  border: 1px solid var(--gold);
  opacity: .35;
  pointer-events: none;
}

.about-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: brightness(.9) saturate(.85);
}

.about-text .display {
  color: var(--white);
  margin-bottom: 2rem;
}

.about-body {
  font-size: .73rem;
  line-height: 2.2;
  color: rgba(249, 246, 241, .65);
  margin-bottom: 1.5rem;
}

blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(249, 246, 241, .8);
  line-height: 1.7;
  margin: 2rem 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap .3s;
}

.link-arrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  transition: width .3s;
}

.link-arrow:hover { gap: 1.6rem; }
.link-arrow:hover::after { width: 52px; }

/* ── Featured ── */
#featured {
  padding: 7rem 3.5rem;
  background: var(--mist);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin-top: 3.5rem;
}

.featured-big {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.featured-big img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
  filter: brightness(.9);
}

.featured-big:hover img {
  transform: scale(1.04);
}

.featured-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-sm {
  position: relative;
  overflow: hidden;
  cursor: none;
  flex: 1;
}

.featured-sm img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
  filter: brightness(.9);
}

.featured-sm:hover img {
  transform: scale(1.05);
}

.featured-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 12, 10, .75) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .35s;
}

.featured-big:hover .featured-caption,
.featured-sm:hover .featured-caption {
  opacity: 1;
}

.featured-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
}

.featured-caption span {
  font-size: .52rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .3rem;
  display: block;
}

/* ── Process ── */
#process {
  padding: 7rem 3.5rem;
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.process-item {
  border-top: 1px solid var(--mist);
  padding-top: 2rem;
}

.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--mist);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: .8rem;
}

.process-item p {
  font-size: .7rem;
  line-height: 2;
  color: var(--mid);
}

/* ── Contact ── */
#contact {
  padding: 9rem 3.5rem;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

#contact .display {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}

.contact-sub {
  font-size: .7rem;
  letter-spacing: .18em;
  color: rgba(249, 246, 241, .45);
  margin: 1.5rem 0 3.5rem;
}

.contact-email {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 147, 90, .3);
  padding-bottom: .2rem;
  transition: color .25s, border-color .25s;
}

.contact-email:hover {
  color: var(--white);
  border-color: var(--white);
}

.socials {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 4rem;
}

.socials a {
  font-size: .55rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(249, 246, 241, .3);
  text-decoration: none;
  transition: color .25s;
}

.socials a:hover {
  color: var(--gold);
}

/* ── Footer ── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(194, 180, 154, .15);
  padding: 1.8rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .52rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── Film Grain Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .3;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hero-content { padding: 0 1.5rem; }
  section, #gallery, #about, #featured, #process, #contact { padding: 4rem 1.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  #about { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .lb-prev { left: -2rem; }
  .lb-next { right: -2rem; }
}

@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
}
