/* Ravenlore Studios — shared stylesheet
   Palette: dark charcoal + warm off-white; photos/videos carry the color.
   No external dependencies (system font stack). */

:root {
  --ink: #211d18;
  --charcoal: #2a2620;
  --charcoal-2: #35302a;
  --paper: #faf6ee;
  --paper-2: #f1e9da;
  --accent: #b07d3c;
  --accent-dark: #8f652e;
  --muted: #6f6659;
  --line: #ddd2bf;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--charcoal);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .8rem;
  padding-bottom: .8rem;
}
.brand {
  color: var(--paper);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand span { color: var(--accent); font-weight: 400; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--paper-2);
  color: var(--paper);
  border-radius: 6px;
  padding: .4rem .7rem;
  font-size: 1rem;
  cursor: pointer;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--paper-2);
  text-decoration: none;
  font-size: .98rem;
  letter-spacing: .02em;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: .6rem; padding: .6rem 0 .4rem; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Page furniture ---------- */
.page-title {
  background: var(--charcoal-2);
  color: var(--paper);
  padding: 2.6rem 0 2.2rem;
}
.page-title h1 { margin: 0 0 .4rem; font-size: 2.2rem; line-height: 1.2; }
.page-title p { margin: 0; color: var(--paper-2); max-width: 46rem; }

section.block { padding: 2.6rem 0; }
section.block.alt { background: var(--paper-2); }
section.block h2 { font-size: 1.6rem; margin: 0 0 .5rem; }
section.block .lede { color: var(--muted); max-width: 48rem; margin: 0 0 1.6rem; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: .65rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper-2);
}
.btn.ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Galleries ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery-grid figure { margin: 0; }
.gallery-grid button.thumb {
  padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
.gallery-grid figcaption {
  font-size: .9rem;
  color: var(--muted);
  padding-top: .4rem;
}
.credit-line { font-size: .9rem; color: var(--muted); font-style: italic; }

/* ---------- Video grids ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.video-card figure { margin: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card figcaption { padding-top: .55rem; }
.video-card .vtitle { font-weight: 600; display: block; }
.video-card .vrole { color: var(--muted); font-size: .92rem; }
.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, .35);
  padding: 1rem;
  font-size: .95rem;
}

/* ---------- Pricing / misc ---------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  list-style: none; margin: 0; padding: 0;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem;
}
.price-card h3 { margin: 0 0 .3rem; }
.price-card .amount { font-size: 1.5rem; font-weight: 700; color: var(--accent-dark); }
.price-card ul { margin: .6rem 0 0; padding-left: 1.1rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, .94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  flex-direction: column;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 6px; }
.lightbox .lb-caption { color: var(--paper-2); margin-top: .8rem; text-align: center; }
.lightbox button {
  background: none;
  border: 1px solid var(--paper-2);
  color: var(--paper);
  border-radius: 6px;
  padding: .45rem .9rem;
  cursor: pointer;
  font-size: 1rem;
}
.lightbox .lb-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox .lb-nav { display: flex; gap: .8rem; margin-top: .8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--paper-2);
  padding: 2.2rem 0;
  margin-top: 0;
}
.site-footer a { color: var(--paper-2); }
.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.site-footer h3 { color: var(--paper); margin: 0 0 .5rem; font-size: 1.05rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .25rem 0; }
.site-footer .fineprint { margin-top: 1.6rem; font-size: .88rem; color: #b6ab98; }

/* ---------- Home hero & cards (added with index.html) ---------- */
.hero { position: relative; background: var(--charcoal); color: var(--paper); }
.hero img { width: 100%; max-height: 540px; object-fit: cover; opacity: .9; }
.hero img.hero-logo { max-height: none; object-fit: contain; opacity: 1; }
.hero-text-static { padding: 1.4rem 0 1.8rem; }
.hero-text-static h1 { margin: 0 0 .4rem; font-size: 2.3rem; line-height: 1.15; }
.hero-text-static p { margin: 0 0 1rem; color: var(--paper-2); max-width: 44rem; }
.hero-text-static .btn { margin-right: .6rem; }
.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3.2rem 0 1.6rem;
  background: linear-gradient(transparent, rgba(20, 17, 13, .88));
}
.hero-text h1 { margin: 0 0 .4rem; font-size: 2.3rem; line-height: 1.15; }
.hero-text p { margin: 0 0 1rem; color: var(--paper-2); max-width: 44rem; }
.hero-text .btn { margin-right: .6rem; }
.division-card img, .feature-strip img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px;
}
.division-card h3 { margin: .8rem 0 .3rem; }
.division-card p { margin: 0 0 1rem; color: var(--muted); }
.feature-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem; list-style: none; margin: 0; padding: 0;
}
.feature-strip a { text-decoration: none; color: var(--ink); }
.feature-strip span { display: block; padding-top: .4rem; font-size: .92rem; color: var(--muted); }

/* ---------- About layout ---------- */
.about-layout { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; }
.about-layout figure { margin: 0; }
.about-layout img { border-radius: 8px; width: 100%; }
.about-layout figcaption { font-size: .9rem; color: var(--muted); padding-top: .4rem; }
@media (max-width: 760px) { .about-layout { grid-template-columns: 1fr; } }
