/* Koldlife Photography — demo site
   Type: Clash Display (headings) + Satoshi (body) — Fontshare, free/self-hostable
   Palette: near-black bg + glass surfaces + flash-gold accent + WhatsApp green
   Signature move: "The Contact Sheet" — frosted-glass scroll gallery, CSS-only motion */

:root {
  --bg:        #111113;
  --bg-soft:   #1a1a1d;
  --surface:   rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.09);
  --border:    rgba(255,255,255,0.14);
  --ink:       #F5F1EA;
  --ink-mute:  rgba(245,241,234,0.68);
  --ink-faint: rgba(245,241,234,0.42);
  --accent:    #D9A94E;
  --accent-ink:#1a1409;
  --whatsapp:  #25D366;
  --whatsapp-ink: #0b141a;
  --radius:    14px;
  --radius-sm: 8px;
  --maxw:      1240px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  /* subtle film grain — prevents banding under backdrop-filter blur */
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { font-family: 'Clash Display', 'Satoshi', sans-serif; margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-mute); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ===== HERO STAGE — full-bleed 3-photo crossfade behind a Peter-Hurley-matched header
   (verified via computed styles 2026-08-23): sticky-in-flow opaque nav, huge wordmark-scale
   logo, single outline CTA + hamburger, full-screen fade menu. Concluded v2 build. ===== */
.stage {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.stage-bg { position: absolute; inset: 0; z-index: 0; }
.bg-layer {
  position: absolute; inset: 0; background-size: cover;
  opacity: 0; animation: bgCrossfade 18s infinite;
}
.bg-layer:nth-child(1) { background-image: url('img/hero-1.jpg'); background-position: center 0%; animation-delay: 0s; }
.bg-layer:nth-child(2) { background-image: url('img/hero-2.jpg'); background-position: center 40%; animation-delay: 6s; }
.bg-layer:nth-child(3) { background-image: url('img/hero-3a.jpg'); background-position: center 21%; animation-delay: 12s; }
@keyframes bgCrossfade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  29%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-layer { animation: none; opacity: 0; }
  .bg-layer:nth-child(1) { opacity: 1; }
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 28%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.35) 100%);
}
header.nav {
  position: relative; z-index: 5;
  background: #050209;
  border-bottom: 1px solid var(--border);
}
header.nav .container {
  max-width: var(--maxw); margin: 0 auto; padding: 6px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nav-logo-icon {
  width: clamp(80px, 10vw, 112px); height: clamp(80px, 10vw, 112px);
  border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block;
}
.nav-right { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.5); border-radius: 3px;
  padding: 13.6px 24px; min-height: 49px;
  font-family: 'Clash Display', sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.85); }
.nav-menu-btn {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--ink);
  width: 30px; height: 35px; cursor: pointer; padding: 0; flex-shrink: 0;
}

.hero-copy {
  position: relative; z-index: 5; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 28px 64px; margin-top: auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.hero-copy h1 {
  font-family: 'Clash Display', sans-serif; font-weight: 700;
  font-size: clamp(32px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -0.01em;
  margin: 0; width: 100%; text-align: left;
  /* thin dark outline so light text still reads if the backdrop photo/colour changes */
  -webkit-text-stroke: 1px rgba(0,0,0,0.55); paint-order: stroke fill;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.hero-copy h1 .white { color: #fff; }
.hero-copy h1 .gold { color: var(--accent); }
.hero-copy p { margin: 0; text-align: left; color: rgba(255,255,255,0.82); font-size: clamp(15px, 1.6vw, 18px); max-width: 56ch; }

/* ===== FULL-SCREEN MENU — ref: peterhurley.com's real menu overlay: fixed, full-viewport,
   opacity+visibility fade (not a slide-in drawer), solid dark fill, centered stacked links,
   close X top-right ===== */
.full-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgb(17,17,17);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), visibility 0.4s cubic-bezier(0.16,1,0.3,1);
}
.full-menu.open { opacity: 1; visibility: visible; }
.full-menu-close {
  position: absolute; top: 44px; right: 40px;
  background: none; border: none; color: #fff; width: 30px; height: 44px; cursor: pointer; padding: 0;
}
.full-menu-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.full-menu-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.full-menu-links a {
  font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: clamp(32px, 4.8vw, 58px); line-height: 1.15; letter-spacing: -0.02em;
  color: #fff; text-decoration: none; transition: color 0.2s ease;
}
.full-menu-links a:hover, .full-menu-links a:focus-visible { color: var(--accent); }
.full-menu-sub {
  margin-top: 18px; font-family: 'Clash Display', sans-serif; font-weight: 500;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
@media (prefers-reduced-motion: reduce) {
  .full-menu { transition: none; }
}

/* CSS Scroll-Driven Animation — native entrance reveal, zero JS.
   Guarded so unsupported browsers simply show content already-visible (no broken state). */
@supports (animation-timeline: view()) {
  .sheet-card, .about-grid > *, .booking-glass, .faq-item, .footer-col {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet-card, .about-grid > *, .booking-glass, .faq-item, .footer-col { animation: none !important; }
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; min-height: 44px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--whatsapp); color: var(--whatsapp-ink); }
.btn-primary:hover { background: #2be374; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }

/* ===== SECTION SHELL ===== */
section { padding: 100px 0; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }

/* ===== THE CONTACT SHEET — signature gallery ===== */
.sheet-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; perspective: 1400px;
}
.sheet-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; cursor: pointer;
  transform-style: preserve-3d; transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.sheet-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.sheet-glass {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  height: 60px; display: flex; align-items: center;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 18px;
}
.sheet-glass .dlabel { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.sheet-glass .dtitle {
  font-family: 'Clash Display', sans-serif; font-weight: 600; color: var(--ink);
  font-size: 17px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (hover: hover) {
  .sheet-card:hover { transform: rotateX(var(--ry, -4deg)) rotateY(var(--rx, 4deg)) scale(1.02); }
}
@media (hover: none) {
  .sheet-card { transition: transform 0.4s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet-card, .hero-bg { transition: none; animation: none; }
}

/* ===== LIGHTBOX — full gallery per Contact Sheet category ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(10,10,11,0.7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-glass {
  width: 100%; max-width: 1080px; max-height: 88vh;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  background: rgba(255,255,255,0.08); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; flex-shrink: 0; }
.lightbox-title { font-family: 'Clash Display', sans-serif; font-size: 24px; font-weight: 600; color: var(--ink); }
.lightbox-close {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lightbox-close:hover { background: var(--surface); }
.lightbox-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; overflow-y: auto; padding-right: 4px;
}
.lightbox-grid img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-sm);
  cursor: zoom-in;
}
@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lightbox-glass { padding: 18px; max-height: 92vh; }
  .lightbox-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
}

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-glass {
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.about-names { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.about-name-pill {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; color: var(--ink);
}
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

/* ===== BOOKING ===== */
.booking { text-align: center; }
.booking-glass {
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 56px 40px; max-width: 640px; margin: 0 auto;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.faq-item summary {
  cursor: pointer; font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 17px;
  color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; margin-left: 16px; flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--ink-mute); font-size: 15px; line-height: 1.6; }

/* ===== FOOTER (absorbs Find Us contact info) ===== */
footer { padding: 56px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { border-radius: 50%; }
.footer-brand p { font-size: 14px; color: var(--ink-mute); margin: 0; max-width: 26ch; }
.footer-col .k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.footer-col .v { font-size: 15px; color: var(--ink); }
.footer-col .v a { color: var(--ink); text-decoration: none; }
.footer-col .v a:hover { color: var(--accent); }
.foot-fine { font-size: 13px; color: var(--ink-faint); text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.foot-fine a { color: var(--ink-mute); text-decoration: underline; }

/* ===== STICKY MOBILE CTA BAR ===== */
.sticky-bar { display: none; }
@media (max-width: 760px) {
  .sticky-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(17,17,19,0.92); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border); padding: 10px 16px; gap: 10px;
  }
  .sticky-bar .btn { flex: 1; justify-content: center; }
  section { padding: 72px 0; }
  body { padding-bottom: 74px; }
}
