/* ============================================
   PRINTS CHARMING PHOTOS
   Design system derived from the logo:
   royal purple script · gold crown · pothos vines
   ============================================ */

:root {
  --ink: #221533;        /* deep royal purple — page ground */
  --plum: #32204B;       /* elevated surfaces */
  --plum-soft: #3D2A59;  /* hover surfaces */
  --gold: #C9A227;       /* crown gold */
  --gold-bright: #E6C766;/* gold highlight */
  --pothos: #8FAF6A;     /* vine green */
  --parchment: #F3EEE4;  /* primary text */
  --parchment-dim: #C9C2B4; /* secondary text */
  --frame: 1px solid rgba(201, 162, 39, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-bright); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--parchment);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: rgba(34, 21, 51, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: var(--frame);
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.nav-brand img { height: 44px; width: 44px; object-fit: contain; }
.nav-brand span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: var(--parchment);
}
.nav-links { display: flex; gap: 1.4rem; list-style: none; }
.nav-links a {
  color: var(--parchment-dim);
  font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.14em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-toggle { display: none; background: none; border: none; color: var(--gold-bright); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--plum);
    border-bottom: var(--frame);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 500px; }
  .nav-links li { border-top: 1px solid rgba(201,162,39,0.15); }
  .nav-links a { display: block; padding: 0.9rem 1.25rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.55) saturate(1.1);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(34,21,51,0.25), rgba(34,21,51,0.85) 92%);
}
.hero-content { position: relative; z-index: 1; padding: 2rem 1.25rem; }
.hero-content img.hero-logo {
  width: min(320px, 70vw); margin: 0 auto 1.2rem;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.55));
}
.hero-motto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-style: italic; font-weight: 500;
  color: var(--gold-bright);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-sub {
  margin-top: 0.8rem; color: var(--parchment-dim);
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-cta {
  display: inline-block; margin-top: 1.8rem;
  padding: 0.8rem 2.2rem;
  border: var(--frame); color: var(--gold-bright);
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem;
  transition: background 0.25s, color 0.25s;
}
.hero-cta:hover { background: var(--gold); color: var(--ink); }

/* ---------- Vine divider (signature) ---------- */
.vine-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 0.9rem; margin: 0 auto; padding: 2.6rem 0 1rem;
  color: var(--pothos);
}
.vine-divider::before, .vine-divider::after {
  content: ''; height: 1px; width: min(120px, 24vw);
  background: linear-gradient(to right, transparent, var(--gold));
}
.vine-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}
.vine-divider svg { width: 26px; height: 26px; }

/* ---------- Sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 1.2rem 1.25rem 3.4rem; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-align: center; }
.section-kicker {
  text-align: center; color: var(--pothos);
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem;
  margin-bottom: 0.4rem;
}
.section-intro {
  text-align: center; color: var(--parchment-dim);
  max-width: 640px; margin: 0.8rem auto 2.2rem;
}

/* ---------- Gallery cards ---------- */
.card-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.g-card {
  position: relative; display: block; overflow: hidden;
  border: var(--frame); background: var(--plum);
  aspect-ratio: 4 / 3;
}
.g-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.g-card:hover img { transform: scale(1.05); filter: brightness(0.8); }
.g-card .g-label {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(34,21,51,0.92), transparent);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; color: var(--parchment);
}
.g-card .g-count {
  display: block; font-family: 'Jost', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-bright); margin-top: 0.15rem;
}
.g-card.soon .g-count { color: var(--pothos); }
.g-card.soon img { filter: brightness(0.45) saturate(0.7); }
.g-card.soon:hover img { transform: none; }
.g-card.soon .soon-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.25rem; color: var(--gold-bright);
  border: var(--frame); padding: 0.5rem 1.2rem;
  background: rgba(34,21,51,0.75); white-space: nowrap;
}
.g-card.soon.no-img { display:flex; align-items:center; justify-content:center; }

/* ---------- Photo grid (gallery pages) ---------- */
.photo-grid {
  columns: 3 300px; column-gap: 1.1rem;
}
.photo-grid a {
  display: block; margin-bottom: 1.1rem;
  border: var(--frame); padding: 6px; background: var(--plum);
  break-inside: avoid;
  transition: border-color 0.25s;
}
.photo-grid a:hover { border-color: var(--gold-bright); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 12, 32, 0.95);
  display: none; align-items: center; justify-content: center;
  padding: 2.5rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; border: var(--frame); }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.4rem;
  background: none; border: none; color: var(--gold-bright);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* ---------- Store CTA ---------- */
.store-cta {
  text-align: center; margin-top: 2.6rem;
}
.store-cta a {
  display: inline-block; padding: 0.85rem 2rem;
  border: var(--frame); color: var(--gold-bright);
  letter-spacing: 0.1em; font-size: 0.92rem;
  transition: background 0.25s, color 0.25s;
}
.store-cta a:hover { background: var(--gold); color: var(--ink); }
.store-cta p { margin-top: 0.7rem; color: var(--parchment-dim); font-size: 0.85rem; }

/* ---------- About ---------- */
.about-wrap {
  display: grid; gap: 2.2rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .about-wrap { grid-template-columns: 5fr 7fr; } }
.about-wrap img { border: var(--frame); padding: 8px; background: var(--plum); }
.about-copy p { margin-bottom: 1rem; color: var(--parchment-dim); }
.about-copy p strong { color: var(--parchment); font-weight: 500; }
.about-copy .signature-line {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.3rem; color: var(--gold-bright); margin-top: 1.4rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.contact-form label {
  display: block; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pothos); margin: 1rem 0 0.3rem;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--plum); border: var(--frame);
  color: var(--parchment); font-family: 'Jost', sans-serif; font-size: 0.95rem;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold-bright); outline-offset: 1px;
}
.contact-form button {
  margin-top: 1.4rem; padding: 0.85rem 2.4rem;
  background: none; border: var(--frame); color: var(--gold-bright);
  font-family: 'Jost', sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.85rem; cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.contact-form button:hover { background: var(--gold); color: var(--ink); }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.contact-info ul { list-style: none; }
.contact-info li { margin-bottom: 0.75rem; color: var(--parchment-dim); }
.contact-info li span { color: var(--pothos); display: block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.footer {
  border-top: var(--frame);
  padding: 2.2rem 1.25rem; text-align: center;
  color: var(--parchment-dim); font-size: 0.85rem;
}
.footer .footer-motto {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--gold-bright); font-size: 1.05rem; margin-bottom: 0.5rem;
}
.footer-social { margin: 0.6rem 0; display: flex; gap: 1.2rem; justify-content: center; }
.footer-social a { letter-spacing: 0.1em; font-size: 0.8rem; text-transform: uppercase; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { text-align: center; padding: 3rem 1.25rem 0.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: var(--parchment-dim); max-width: 620px; margin: 0.7rem auto 0; }

/* ---------- Working Some Magic ---------- */
.magic-placeholder {
  text-align: center; padding: 4.5rem 1.25rem;
  border: var(--frame); background: var(--plum);
  max-width: 640px; margin: 2rem auto;
}
.magic-placeholder .wand { font-size: 2rem; }
.magic-placeholder h2 {
  font-style: italic; font-size: 1.9rem; color: var(--gold-bright);
  margin: 0.6rem 0 0.4rem;
}
.magic-placeholder p { color: var(--parchment-dim); }
