/* ═══════════════════════════════════════════════════════════
   SHARED.CSS — Jj Photography design system
   Extracted from index.html so sub-pages (pricing/booking)
   stay visually identical without duplicating the whole file.
════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Display';
  src: url('heathergreen.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cursive';
  src: url('ravensta-fixed.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080808;
  --fg: #F5F0E8;
  --fg-dim: rgba(245,240,232,0.7);
  --fg-faint: rgba(245,240,232,0.4);
  --glow: 0 0 18px rgba(245,240,232,0.55), 0 0 40px rgba(245,240,232,0.2);
  --radius-card: 20px;
  --radius-pill: 999px;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Bebas Neue', sans-serif;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; }

/* ─── CUSTOM CURSOR ─────────────────────────────────────── */
#cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg); pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(245,240,232,0.6); pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(0.22,1,0.36,1), width 0.2s, height 0.2s, opacity 0.2s;
}
@media (max-width: 1023px) { #cursor-dot, #cursor-ring { display: none; } }
@media (hover: none) { #cursor-dot, #cursor-ring { display: none; } }
@media (hover: none) { html { cursor: auto; } }
#cursor-dot, #cursor-ring { display: none !important; }

/* ─── HEADER ────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px 14px;
  border-bottom: 1px solid rgba(245,240,232,0.12);
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(6px);
}
#site-logo {
  height: 42px; width: 42px; object-fit: contain;
  mix-blend-mode: screen;
  position: relative;
  filter:
    drop-shadow(0 0 4px rgba(245,240,232,1))
    drop-shadow(0 0 10px rgba(245,240,232,0.85))
    drop-shadow(0 0 22px rgba(245,240,232,0.6))
    drop-shadow(0 0 40px rgba(245,240,232,0.4));
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,100% {
    filter:
      drop-shadow(0 0 4px rgba(245,240,232,1))
      drop-shadow(0 0 10px rgba(245,240,232,0.85))
      drop-shadow(0 0 22px rgba(245,240,232,0.6))
      drop-shadow(0 0 40px rgba(245,240,232,0.4));
  }
  50% {
    filter:
      drop-shadow(0 0 6px rgba(245,240,232,1))
      drop-shadow(0 0 16px rgba(245,240,232,0.95))
      drop-shadow(0 0 34px rgba(245,240,232,0.75))
      drop-shadow(0 0 56px rgba(245,240,232,0.5));
  }
}
#inquire-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--fg); opacity: 0.9;
  transition: opacity 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
#inquire-btn:hover { opacity: 1; }
.arrow-icon { display: inline-block; width: 12px; height: 12px; vertical-align: middle; }
.arrow-icon svg { display: block; width: 100%; height: 100%; }

/* ─── BACK LINK (sub-pages) ────────────────────────────── */
#back-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--fg); opacity: 0.9;
  transition: opacity 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
#back-btn:hover { opacity: 1; }
#back-btn .arrow-icon svg { transform: rotate(180deg); }

/* ─── TYPE SYSTEM ───────────────────────────────────────── */
.eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 0.38em;
  color: var(--fg-dim); margin-bottom: 20px;
  text-transform: uppercase;
}
.display-heading {
  font-family: 'Display', sans-serif;
  font-weight: 700;
  line-height: 0.95; color: var(--fg);
  text-transform: none;
}
.cursive-text {
  font-family: 'Cursive', cursive;
  font-weight: 400;
  color: var(--fg);
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
}
.cursive-img { display: block; height: 1.3em; width: auto; }
.card-discipline-name {
  display: block;
  font-size: clamp(1.3rem, 6vw, 1.9rem);
}
.card-discipline-name .cursive-img { height: 1.5em; margin: 0; }

/* Tier name images on pricing pages — intentionally larger than the
   homepage discipline cards for readability on narrower tier cards.
   Locked size: F1, confirmed by Misty. Do not resize again without
   explicit request. */
.tier-name-display.tier-name-display .cursive-img {
  height: 4.8rem !important;
  max-width: 100% !important;
  margin: 0 0 6px 0 !important;
}
@media (max-width: 480px) {
  .tier-name-display.tier-name-display .cursive-img { height: 3.6rem !important; }
}
/* Boudoir's title reads narrower than the others at the same locked height
   (shorter word, same font) — scaled up slightly on request, scoped to just
   this one image so the shared locked rule above stays untouched. */
.tier-name-display .cursive-img[alt="Boudoir"] {
  transform: scale(1.13);
  transform-origin: left center;
}
.body-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 0.08em;
  color: var(--fg-dim); line-height: 1.7;
}

/* ─── PILL BUTTON ───────────────────────────────────────── */
.pill-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 0.28em;
  border: 1px solid var(--fg-faint);
  border-radius: var(--radius-pill);
  padding: 16px 40px;
  color: var(--fg); cursor: pointer;
  background: transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.pill-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill-btn.solid { background: var(--fg); color: var(--bg); }
.pill-btn.solid:hover { background: transparent; color: var(--fg); }

/* ─── FORM INPUTS (booking pages) ──────────────────────── */
.field-label {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--fg-faint); margin-bottom: 10px;
  text-transform: uppercase;
}
.field-input, .field-textarea, .field-select {
  width: 100%; background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.18);
  border-radius: 14px;
  padding: 15px 18px; color: var(--fg);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field-select {
  border-radius: 14px; cursor: pointer;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F0E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  transition: border-color 0.2s, background-color 0.2s;
}
.field-select:hover { border-color: rgba(245,240,232,0.35); background-color: rgba(245,240,232,0.09); }
select option {
  background: #0a0a0a;
  color: var(--fg);
  padding: 10px 12px;
}
.field-textarea { resize: vertical; min-height: 120px; line-height: 1.6; border-radius: 18px; }
.field-input::placeholder, .field-textarea::placeholder { color: var(--fg-faint); }
.field-input:focus, .field-textarea:focus, .field-select:focus { border-color: rgba(245,240,232,0.5); background: rgba(245,240,232,0.09); }
.field-group { margin-bottom: 22px; }

/* iOS renders type="date" inputs with their own internal layout that
   the custom font/letter-spacing above breaks, causing overlap.
   Override with normal spacing and a fixed comfortable height. */
input[type="date"].field-input {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: normal;
  min-height: 50px;
  color-scheme: dark;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.no-reveal { transition: none !important; }

/* ─── FOOTER ────────────────────────────────────────────── */
#footer {
  background: var(--bg);
  padding: 56px 32px 40px;
  text-align: center;
  border-top: 1px solid rgba(245,240,232,0.1);
}
#footer-logo {
  height: 28px; width: 28px; object-fit: contain;
  margin: 0 auto 16px;
  opacity: 0.8;
}
.footer-copy {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--fg-faint);
}

/* ─── SUB-PAGE HERO (pricing/booking pages) ────────────── */
.sub-hero {
  padding: 160px 32px 80px;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.sub-hero .cursive-img { margin: 0 auto 18px; height: 2.6em; }
.sub-hero .display-heading { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 20px; }
.sub-hero .body-text { max-width: 580px; margin: 0 auto; }

.section-wrap {
  max-width: 1100px; margin: 0 auto;
  padding: 0 32px 100px;
}
