/* Wild Moments — wildlife photography
   Tokens: charcoal + bone, gold only from the logo. */
:root {
  --ink: #1e1e1e;
  --ink-2: #262626;
  --ink-3: #303030;
  --line: rgba(255, 255, 255, 0.07);
  --bone: #f3f2ee;
  --muted: #a9a69e;
  --paper: #e4e3df;
  --paper-ink: #1b1b1b;
  --paper-muted: #55534e;
  --gold: #c9a465;
  --gold-soft: #e2c48d;
  --danger: #ff8a7a;

  --font-he: "Heebo", system-ui, sans-serif;
  --font-lat: "Archivo", "Heebo", sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max: 1440px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-he);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--bone); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* Faint vertical guide lines, like a contact sheet */
.lines {
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 8 - 1px), var(--line) calc(100% / 8 - 1px) calc(100% / 8));
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: background-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-solid { background: rgba(30, 30, 30, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.wordmark {
  font-family: var(--font-lat); font-weight: 800; font-stretch: 125%;
  font-size: 19px; line-height: 0.95; letter-spacing: -0.01em; text-decoration: none;
  direction: ltr; display: inline-flex; flex-direction: column;
}
.wordmark span { color: var(--gold); font-style: italic; font-weight: 700; padding-inline-start: 0.6em; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  text-decoration: none; font-size: 15px; padding: 10px 14px; border-radius: 999px;
  transition: background-color 0.2s;
}
.nav a:hover { background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] { background: var(--bone); color: var(--ink); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; border-radius: 999px; padding: 9px 14px; font-size: 15px;
}
.cart-btn:hover { background: rgba(255,255,255,0.08); }
.cart-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; font-size: 15px; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--ink); padding: 12px var(--gutter) 24px; gap: 2px;
    border-bottom: 1px solid var(--ink-3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0.2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 22px; font-weight: 700; padding: 12px 8px; border-radius: var(--radius-sm); }
  .nav a[aria-current="page"] { background: transparent; color: var(--gold); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 500; text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-light { background: var(--bone); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: #000; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Type ---------- */
.display {
  font-weight: 900; letter-spacing: -0.025em; line-height: 0.92; margin: 0;
  font-size: clamp(44px, 8.4vw, 132px);
}
.h2 { font-weight: 900; letter-spacing: -0.02em; line-height: 0.98; margin: 0; font-size: clamp(36px, 6vw, 92px); }
.h3 { font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 46ch; margin: 0; }
.latin { font-family: var(--font-lat); font-style: italic; font-weight: 400; direction: ltr; unicode-bidi: isolate; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 4px) 12px 12px; min-height: 100svh; display: flex; }
.hero-frame {
  position: relative; flex: 1; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: flex-end; min-height: 560px;
}
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.06); animation: hero-settle 2.4s var(--ease-out) forwards; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.25) 45%, rgba(10,10,10,0) 70%); }
.hero-content {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 32px; align-items: end;
  padding: clamp(20px, 3.5vw, 48px);
}
.hero-side { display: grid; gap: 20px; }
.hero-side p { margin: 0; color: rgba(243, 242, 238, 0.85); font-size: 16px; }
.hero-caption { position: absolute; top: 20px; inset-inline-end: 22px; z-index: 1; font-size: 13px; color: rgba(243,242,238,0.8); }
@keyframes hero-settle { to { transform: scale(1); } }
@media (max-width: 820px) {
  .hero { padding-inline: 8px; padding-bottom: 8px; }
  .hero-content { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Statement (word reveal) ---------- */
.statement { padding: clamp(96px, 16vw, 220px) 0; }
.statement p {
  margin: 0 auto; max-width: 22ch; text-align: center;
  font-weight: 800; letter-spacing: -0.015em; line-height: 1.08;
  font-size: clamp(30px, 4.6vw, 70px);
}
.statement .w { color: rgba(243, 242, 238, 0.16); transition: color 0.35s; }
.statement .w.on { color: var(--bone); }

/* ---------- Stacked words ---------- */
.stack { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.stack h2 { font-size: clamp(54px, 11vw, 170px); font-weight: 900; line-height: 0.9; letter-spacing: -0.03em; margin: 0; }
.stack h2 span { display: block; }
.stack h2 .last { color: var(--gold); filter: blur(10px); opacity: 0.3; transition: filter 1.1s var(--ease-out), opacity 1.1s var(--ease-out); }
.stack.is-in h2 .last { filter: blur(0); opacity: 1; }

/* ---------- Carousel ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.carousel-controls { display: flex; gap: 8px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.28);
  background: transparent; display: inline-grid; place-items: center; transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--bone); }
.icon-btn svg { width: 20px; height: 20px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 380px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 24px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start; position: relative; border: 0; padding: 0; background: none; text-align: start;
  display: grid; gap: 12px;
}
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--ink-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out), filter 0.5s; }
.card-img .peek {
  position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: rgba(20,20,20,0.35); opacity: 0; transition: opacity 0.3s;
}
.card:hover .card-img img, .card:focus-visible .card-img img { transform: scale(1.04); }
.card:hover .peek, .card:focus-visible .peek { opacity: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.card-meta .latin { color: var(--muted); font-size: 13px; }

/* ---------- Light section ---------- */
.light { background: var(--paper); color: var(--paper-ink); }
.light .lead { color: var(--paper-muted); }
.offer { padding: clamp(80px, 11vw, 150px) 0; }
.offer-head { text-align: center; display: grid; gap: 24px; justify-items: center; margin-bottom: 56px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer-card { background: #f1f0ec; border-radius: var(--radius-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.offer-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.offer-body { padding: 26px 24px 28px; display: grid; gap: 14px; align-content: start; }
.offer-body p { margin: 0; color: var(--paper-muted); }
.offer-body ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.offer-body li { padding-inline-start: 18px; position: relative; }
.offer-body li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.72em; width: 8px; height: 1px; background: var(--paper-ink); }
.offer-cta { text-align: center; margin-top: 48px; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding: clamp(80px, 11vw, 150px) 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-logo { border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.about-copy { display: grid; gap: 22px; }
.about-copy p { margin: 0; color: var(--muted); max-width: 52ch; }
.about-copy .sign { color: var(--bone); font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink-3); margin-top: 10px; }
.facts div { padding: 18px 0 0; }
.facts strong { display: block; font-size: 30px; font-weight: 900; line-height: 1; }
.facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0; }
.contact-head { text-align: center; margin-bottom: 40px; display: grid; gap: 18px; justify-items: center; }
.form-card { max-width: 860px; margin-inline: auto; background: var(--ink-2); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted); padding-top: 14px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #4a4a4a; color: var(--bone);
  font: inherit; padding: 8px 0 10px; border-radius: 0; min-height: 44px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold-soft); }
.field .err { color: var(--danger); font-size: 13px; min-height: 0; }
.field [aria-invalid="true"] { border-bottom-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin: 22px 0 18px; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-status { margin-top: 14px; font-size: 15px; min-height: 1.6em; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-links { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; text-decoration: none; font-size: 16px;
  transition: background-color 0.2s, border-color 0.2s;
}
.contact-links a:hover { background: rgba(255,255,255,0.08); border-color: var(--bone); }
.contact-links svg { width: 20px; height: 20px; flex: none; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(70px, 9vw, 120px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; margin: 0 0 12px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 24px; font-weight: 800; margin: 40px 0 10px; }
.legal p, .legal li { color: rgba(243, 242, 238, 0.86); line-height: 1.75; }
.legal ul { padding-inline-start: 22px; }
.legal a { color: var(--gold-soft); }
.legal .fill { background: rgba(201, 164, 101, 0.18); color: var(--gold-soft); padding: 0 6px; border-radius: 4px; }
.legal .draft-note { border: 1px solid var(--ink-3); background: var(--ink-2); border-radius: var(--radius-md); padding: 16px 20px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 9vw, 130px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.faq details { border-bottom: 1px solid #c9c7c1; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--paper-muted); max-width: 62ch; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 100px; /* room for the floating WhatsApp button */ border-top: 1px solid var(--ink-3); }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.footer-word { font-family: var(--font-lat); font-weight: 800; font-stretch: 125%; font-size: clamp(40px, 9vw, 140px); line-height: 0.86; letter-spacing: -0.02em; direction: ltr; margin: 0; }
.footer-word span { color: var(--gold); font-style: italic; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--bone); }
.footer-note { margin: 40px 0 0; font-size: 17px; color: var(--bone); }
.footer-bottom { margin-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- Lightbox / dialogs ---------- */
dialog { padding: 0; border: 0; color: var(--bone); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(8, 8, 8, 0.88); }
.lightbox { width: 100vw; height: 100dvh; }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 64px 16px 20px; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1200px; width: 100%; margin-inline: auto; }
.lightbox-close { position: absolute; top: 12px; inset-inline-end: 12px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { inset-inline-start: 12px; }
.lightbox-nav.next { inset-inline-end: 12px; }
dialog[open] { animation: fade-in 0.25s var(--ease-out); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-frame img { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .statement .w { color: var(--bone); }
  .stack h2 .last { filter: none; opacity: 1; }
}
