/* =========================================================
   AK — Wildlife & Nature Photography
   Dark cinematic gallery. Cormorant Garamond + Manrope.
   ========================================================= */

:root {
  --bg:      #0b0c0e;
  --bg-2:    #131519;
  --line:    #26282d;
  --text:    #e9e7e1;
  --muted:   #9a978f;
  --gold:    #d8a24a;   /* moonlight / fox warmth */
  --gold-dim:#b6863a;

  --maxw: 1280px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 2px; font-weight: 600; font-size: .9rem;
  letter-spacing: .04em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--solid { background: var(--gold); color: #16140e; }
.btn--solid:hover { background: #e7b760; transform: translateY(-2px); }
.btn--line { border-color: rgba(233,231,225,.4); color: var(--text); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--wide { width: 100%; padding: 1rem; }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  transition: background-color .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck { background: rgba(11,12,14,.78); backdrop-filter: blur(12px); padding-top: 1rem; padding-bottom: 1rem; border-bottom-color: var(--line); }
.wordmark { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--text); line-height: 1; }
.wordmark__dot { color: var(--gold); }
.nav__menu { list-style: none; display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; }
.nav__menu a { text-decoration: none; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text); opacity: .85; transition: opacity .2s, color .2s; }
.nav__menu a:hover { opacity: 1; color: var(--gold); }
.nav__cta { color: var(--gold) !important; }
.nav__toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(to top, var(--bg) 2%, rgba(11,12,14,.35) 40%, rgba(11,12,14,.55) 100%); }
.hero__content { position: relative; z-index: 2; padding: clamp(2rem,6vw,5rem) clamp(1.2rem,4vw,3rem) clamp(3rem,7vw,6rem); max-width: 820px; }
.hero__kicker { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; animation: rise .9s var(--ease) both .2s; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 10vw, 7rem); line-height: .98; margin: 0; letter-spacing: -.01em; animation: rise 1s var(--ease) both .35s; }
.hero__title em { color: var(--gold); }
.hero__sub { font-size: clamp(1rem,2vw,1.2rem); color: var(--muted); max-width: 46ch; margin: 1.5rem 0 2.25rem; animation: rise 1s var(--ease) both .5s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; animation: rise 1s var(--ease) both .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1px solid rgba(233,231,225,.4); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll span { width: 3px; height: 8px; background: var(--gold); border-radius: 2px; animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0%{opacity:0;transform:translateY(0);} 40%{opacity:1;} 100%{opacity:0;transform:translateY(14px);} }

/* ---------- about ---------- */
.about { max-width: 920px; margin: 0 auto; padding: clamp(4rem,11vw,9rem) clamp(1.2rem,4vw,2rem); text-align: center; }
.about__lead { font-family: var(--font-display); font-size: clamp(1.5rem,3.4vw,2.3rem); line-height: 1.35; font-weight: 400; color: var(--text); margin: 0; }
.about__lead em { color: var(--gold); font-style: italic; }
.about__note { margin-top: 1.75rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- work / gallery ---------- */
.work { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem,3vw,2rem) clamp(4rem,8vw,7rem); }
.work__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1.25rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.work__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem,4vw,2.6rem); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter { background: none; border: 1px solid var(--line); color: var(--muted); padding: .5rem 1rem; border-radius: 999px; font-family: var(--font-body); font-size: .8rem; letter-spacing: .06em; cursor: pointer; transition: all .2s var(--ease); }
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #16140e; font-weight: 700; }

/* masonry via columns */
.gallery { columns: 3; column-gap: 14px; }
.tile { position: relative; break-inside: avoid; margin-bottom: 14px; overflow: hidden; border-radius: 3px; cursor: zoom-in; background: var(--bg-2);
  opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tile.is-in { opacity: 1; transform: none; }
.tile img { width: 100%; height: auto; display: block; filter: saturate(.92) brightness(.94); transition: transform .7s var(--ease), filter .5s var(--ease); }
.tile:hover img { transform: scale(1.05); filter: saturate(1.05) brightness(1.02); }
.tile::after { content: attr(data-cat); position: absolute; left: 12px; bottom: 12px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text); background: rgba(11,12,14,.55); backdrop-filter: blur(4px); padding: .3rem .6rem; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.tile:hover::after { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }

/* ---------- generic reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- cinematic interstitial band ---------- */
.band { position: relative; height: clamp(420px, 70vh, 680px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.band__img { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; filter: saturate(.9) brightness(.7); }
.band__veil { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 50%, rgba(11,12,14,.45), rgba(11,12,14,.82)); }
.band__quote { position: relative; z-index: 2; margin: 0; max-width: 880px; padding: 0 clamp(1.4rem,5vw,3rem); text-align: center; font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(1.6rem, 4.2vw, 3rem); line-height: 1.25; color: var(--text); }
.band__quote em { color: var(--gold); }

/* ---------- hire / services ---------- */
.hire { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem,9vw,7.5rem) clamp(1.2rem,3vw,2rem); }
.hire__head { max-width: 620px; margin: 0 auto clamp(2.5rem,5vw,3.5rem); text-align: center; }
.hire__kicker { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem; }
.hire__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem,6vw,3.6rem); margin: 0 0 1rem; }
.hire__sub { color: var(--muted); margin: 0 auto; max-width: 52ch; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.svc { background: var(--bg); padding: clamp(1.6rem,2.5vw,2.4rem) clamp(1.3rem,2vw,1.8rem); transition: background-color .35s var(--ease); }
.svc:hover { background: var(--bg-2); }
.svc__no { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); opacity: .85; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: .6rem 0 .6rem; }
.svc p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.hire__cta { text-align: center; margin-top: clamp(2rem,4vw,3rem); }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.contact__inner { max-width: 640px; margin: 0 auto; padding: clamp(4rem,9vw,7rem) clamp(1.2rem,4vw,2rem); text-align: center; }
.contact__kicker { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.contact__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem,6vw,3.6rem); margin: 0 0 1rem; }
.contact__sub { color: var(--muted); margin: 0 auto 2.5rem; max-width: 44ch; }
.contact__form { display: grid; gap: .8rem; text-align: left; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact__form input, .contact__form textarea {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text);
  padding: .9rem 1rem; border-radius: 3px; font-family: var(--font-body); font-size: 1rem; resize: vertical;
  transition: border-color .2s, background-color .2s;
}
.contact__form input::placeholder, .contact__form textarea::placeholder { color: #6f6c66; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.05); }
.contact__direct { margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }
.contact__direct a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 2.5rem clamp(1.2rem,4vw,3rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; }
.ftr__mark { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.ftr__social { display: flex; gap: 1.5rem; }
.ftr__social a { text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.ftr__social a:hover { color: var(--gold); }
.ftr__copy { width: 100%; margin: .5rem 0 0; font-size: .78rem; color: #6f6c66; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,9,10,.96); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s var(--ease); }
.lightbox.is-open { display: flex; opacity: 1; }
.lb__img { max-width: 92vw; max-height: 84vh; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lbin .4s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb__close { position: absolute; top: 1.2rem; right: 1.4rem; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; opacity: .8; }
.lb__close:hover { opacity: 1; color: var(--gold); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text); font-size: 3rem; cursor: pointer; opacity: .6; padding: 1rem; transition: opacity .2s, color .2s; }
.lb__nav:hover { opacity: 1; color: var(--gold); }
.lb__prev { left: clamp(.3rem,2vw,2rem); } .lb__next { right: clamp(.3rem,2vw,2rem); }
.lb__cap { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px){ .gallery { columns: 2; } .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px){
  .nav__toggle { display: flex; }
  .nav__menu { position: fixed; inset: 0 0 auto auto; top: 0; height: 100svh; width: min(78vw,300px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem; padding: 2rem 2.4rem; background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav__menu.is-open { transform: none; }
  .nav__menu a { font-size: 1rem; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2){ transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px){ .gallery { columns: 1; } .row { grid-template-columns: 1fr; } .services { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce){
  .hero__img { animation: none; transform: none; }
  .hero__kicker,.hero__title,.hero__sub,.hero__actions { animation: none; }
  .tile { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}
