/* Frank Photography — static replica, original stylesheet (2026-09-24).
   Dark, photo-first portfolio look. No framework, no theme code. */

:root {
  --bg: #0e0f11;
  --panel: #16181b;
  --ink: #f2efe9;
  --ink-dim: #b8b2a6;
  --accent: #c9a86a;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Segoe UI", system-ui, -apple-system, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0.02em; }

/* ── header ─────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(14, 15, 17, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-family: Georgia, serif; font-size: 1.15rem; }
.brand img { height: 34px; width: auto; border-radius: 6px; }
.hdr nav { margin-left: auto; display: flex; gap: 1.4rem; }
.hdr nav a { color: var(--ink-dim); font-size: 0.95rem; letter-spacing: 0.04em; transition: color 0.2s; }
.hdr nav a:hover { color: var(--ink); }
#navtoggle, .burger { display: none; }

@media (max-width: 720px) {
  .burger { display: flex; flex-direction: column; gap: 4px; margin-left: auto; cursor: pointer; padding: 6px; }
  .burger span { width: 22px; height: 2px; background: var(--ink); }
  .hdr nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--panel);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hdr nav a { padding: 0.8rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
  #navtoggle:checked ~ nav { display: flex; }
}

/* ── hero slider ────────────────────────────────────── */
.hero { position: relative; height: 92vh; min-height: 520px; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide {
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease;
}
.slide.active { opacity: 1; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45) 70%, var(--bg)); }
.hero-copy {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 1.5rem;
}
.hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin: 0 0 0.6rem; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.tagline { font-size: clamp(1.05rem, 2.2vw, 1.5rem); color: var(--ink); max-width: 34em; margin: 0 0 1.8rem; text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.tagline em { color: var(--accent); font-style: normal; }
.btn {
  display: inline-block; padding: 0.75rem 2.2rem;
  border: 1px solid var(--accent); color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--accent); color: #14120c; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: rgba(0,0,0,0.35); color: var(--ink); border: 0;
  font-size: 2.2rem; line-height: 1; padding: 0.4rem 0.9rem; cursor: pointer;
  border-radius: 4px; transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(0,0,0,0.6); }
.slider-arrow.prev { left: 1rem; }
.slider-arrow.next { right: 1rem; }
.slider-ctl {
  position: absolute; bottom: 1.2rem; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; align-items: center; gap: 1rem;
}
.playpause { background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 0.8rem; opacity: 0.8; }
.dots { display: flex; gap: 0.5rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; padding: 0; cursor: pointer; }
.dot.active { background: var(--accent); border-color: var(--accent); }

/* ── shared sections ────────────────────────────────── */
section { padding: 4rem 1.5rem; }
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem; max-width: var(--maxw); margin: 0 auto;
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; cursor: zoom-in; }
.card h2 { margin: 1.1rem 0 0.4rem; color: var(--accent); }
.card p { color: var(--ink-dim); margin: 0; }

.banner {
  position: relative; text-align: center;
  background-size: cover; background-position: center; background-attachment: fixed;
  padding: 7rem 1.5rem;
}
.banner-veil { position: absolute; inset: 0; background: rgba(10, 10, 12, 0.55); }
.banner h2 { position: relative; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,0.8); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
}
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; }
.split-text h2 { color: var(--accent); margin: 0 0 0.5rem; }
.split-text p { color: var(--ink-dim); margin: 0 0 1.6rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.moments { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.moments h2, .cta h2 { font-size: 2rem; color: var(--ink); margin: 0 0 0.4rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.8rem; margin-top: 2rem; }
.grid3 figure { margin: 0; }
.grid3 img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; transition: transform 0.3s, opacity 0.3s; }
.grid3 img:hover { transform: scale(1.02); opacity: 0.92; }

.cta { text-align: center; }
.cta p { color: var(--ink-dim); max-width: 36em; margin: 0 auto 1.6rem; }

.threecol {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem; max-width: var(--maxw); margin: 0 auto;
}
.threecol h2 { color: var(--accent); font-size: 1.3rem; }
.threecol p { color: var(--ink-dim); }
.contact-cards div { background: var(--panel); padding: 1.8rem; border: 1px solid rgba(255,255,255,0.06); }
.socials a { color: var(--ink-dim); }
.socials a:hover { color: var(--accent); }

/* ── gallery pages ──────────────────────────────────── */
.page { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.page-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0.5rem 0 0.4rem; }
.page-intro { color: var(--ink-dim); margin: 0 0 1rem; }
.masonry { columns: 3 320px; column-gap: 0.9rem; margin-top: 1.6rem; }
.masonry figure { margin: 0 0 0.9rem; break-inside: avoid; }
.masonry img { width: 100%; height: auto; background: var(--panel); cursor: zoom-in; transition: opacity 0.25s; }
.masonry img:hover { opacity: 0.9; }

/* ── lightbox ───────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 6, 0.94);
  display: flex; align-items: center; justify-content: center;
}
/* author display:flex beats the hidden attribute's UA rule — restore it */
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--ink);
  font-size: 2.6rem; cursor: pointer; opacity: 0.75; padding: 0.5rem 1rem;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 0.5rem; right: 0.8rem; }
.lb-prev { left: 0.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.4rem; top: 50%; transform: translateY(-50%); }

/* ── footer ─────────────────────────────────────────── */
.ftr { border-top: 1px solid rgba(255,255,255,0.07); padding: 2rem 1.5rem; text-align: center; }
.ftr p { color: var(--ink-dim); font-size: 0.9rem; margin: 0; }
