/* ==========================================================================
   Digital Nasties Studio — stylesheet
   Direction: VHS-era video nasty / grindhouse studio.
   Palette: near-black + cream label + blood red + phosphor green accent.
   ========================================================================== */

/* Self-hosted fonts — no third-party requests (no Google Fonts, no CDN
   dependency). Place the .woff2 files listed below into /fonts/.
   Each @font-face entry below corresponds to one file. */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/oswald-v53-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/oswald-v53-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/oswald-v53-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/oswald-v53-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v18-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-v18-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-v18-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-v18-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v18-latin-italic-400.woff2') format('woff2');
}

:root {
  /* Color tokens */
  --c-bg:        #0d0c0d;   /* near-black, warm */
  --c-bg-raised: #181615;   /* card / surface */
  --c-bg-raised-2: #211e1c; /* hover / nested surface */
  --c-line:      #332f2c;   /* hairline borders */
  --c-line-soft: #242120;
  --c-cream:     #e8e3d8;   /* VHS label cream */
  --c-cream-dim: #b7afa0;   /* secondary cream text */
  --c-muted:     #847c6e;   /* tertiary / metadata text */
  --c-red:       #b8121f;   /* blood red, primary accent */
  --c-red-bright:#e21f2b;
  --c-red-dim:   #5c0d13;
  --c-green:     #3a6b4d;   /* CRT phosphor green, secondary accent */
  --c-green-bright: #5fd98a;
  --c-success:   #5fd98a;
  --c-error:     #e8636f;

  /* Type */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius: 6px;
  --radius-sm: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background-color: var(--c-bg);
  color: var(--c-cream-dim);
  line-height: 1.65;
  font-size: 16px;
  position: relative;
}

/* Ambient scanline texture — subtle, fixed, never intercepts clicks */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.012) 0px,
    rgba(255,255,255,0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.6;
}

.container {
  max-width: var(--max-w);
  margin: auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

a { color: var(--c-red-bright); }

::selection { background: var(--c-red); color: #fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--c-green-bright);
  outline-offset: 2px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
header {
  background: linear-gradient(180deg, #131110 0%, #0f0e0d 100%);
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 50;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

header .logo {
  font-family: var(--f-display);
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-cream);
  position: relative;
  padding-left: 14px;
  border-left: 3px solid var(--c-red);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

header nav ul li { display: inline; }

header nav a {
  display: inline-block;
  color: var(--c-cream-dim);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.82em;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, background-color 0.18s ease;
}

header nav a:hover,
header nav a:focus-visible {
  color: var(--c-cream);
  background-color: var(--c-bg-raised-2);
}

header nav a.nav-store {
  color: var(--c-bg);
  background-color: var(--c-red);
}

header nav a.nav-store:hover,
header nav a.nav-store:focus-visible {
  background-color: var(--c-red-bright);
  color: #fff;
}

/* ==========================================================================
   Main Content Sections
   ========================================================================== */
main section { padding: 56px 0; }

main h1, main h2, main h3 {
  font-family: var(--f-display);
  color: var(--c-cream);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

main h1 {
  font-size: 2.6em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

main h2 {
  font-size: 1.9em;
  font-weight: 600;
  position: relative;
  padding-bottom: 14px;
}

main h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--c-red);
}

#films-page h1::after,
#film-detail-page h1::after,
main h1.centered-rule::after { display: none; }

main p { margin-bottom: 15px; color: var(--c-cream-dim); }

main a { transition: color 0.15s ease; }

/* ==========================================================================
   Hero
   ========================================================================== */
#hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 18, 31, 0.14), transparent 70%),
    linear-gradient(180deg, #161413 0%, #0d0c0d 100%);
  text-align: center;
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,0.015) 40px 41px);
  pointer-events: none;
}

#hero .eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.78em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-green-bright);
  border: 1px solid var(--c-green);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
}

#hero h1 {
  font-size: 3.2em;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 18px;
  text-shadow: 0 0 30px rgba(184, 18, 31, 0.25);
}

#hero p {
  font-size: 1.2em;
  color: var(--c-cream-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Featured Content / Cards
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 30px;
}

.feature-item {
  background: var(--c-bg-raised);
  padding: 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
  border-color: var(--c-red-dim);
  transform: translateY(-3px);
}

.feature-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}

.feature-item h3 {
  color: var(--c-cream);
  font-size: 1.05em;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 0;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-item .btn { margin-top: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  background: var(--c-red);
  color: #fff;
  padding: 11px 22px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.12s ease;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.92em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 10px;
}

.btn:hover { background: var(--c-red-bright); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--c-cream-dim);
  color: var(--c-cream);
}

.btn-outline:hover { background: var(--c-bg-raised-2); border-color: var(--c-cream); }

/* ==========================================================================
   Call to Action Section
   ========================================================================== */
#cta { text-align: center; }
#cta .btn { margin: 6px 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #0a0908;
  color: var(--c-muted);
  text-align: center;
  padding: 32px 0;
  margin-top: 40px;
  border-top: 1px solid var(--c-line);
}

footer p { margin-bottom: 8px; color: var(--c-muted); }

footer a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

footer a:hover { color: var(--c-cream); }

/* ==========================================================================
   Status messages
   ========================================================================== */
.success-msg, .error-msg {
  font-weight: 600;
  margin-top: 1em;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.success-msg { color: var(--c-success); border: 1px solid var(--c-green); background-color: rgba(95, 217, 138, 0.08); }
.error-msg { color: var(--c-error); border: 1px solid #6e2329; background-color: rgba(232, 99, 111, 0.08); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* ==========================================================================
   Film directory list (films.php)
   ========================================================================== */
.film-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.film-row {
  display: flex;
  align-items: stretch;
  gap: 26px;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 24px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.film-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(95,217,138,0) 0 3px, rgba(95,217,138,0.04) 3px 4px);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.film-row:hover {
  border-color: var(--c-red-dim);
  background: var(--c-bg-raised-2);
  transform: translateX(4px);
}

.film-row:hover::before { opacity: 1; }

.film-artwork {
  flex: 0 0 110px;
  width: 110px;
  aspect-ratio: 2/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: border-color 0.22s ease;
}

.film-row:hover .film-artwork { border-color: var(--c-red-dim); }

.film-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.film-title {
  font-family: var(--f-display);
  color: var(--c-cream);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.25em;
  font-weight: 600;
  margin: 0 0 4px;
  text-align: left;
  padding-bottom: 0;
  transition: color 0.18s ease;
}

.film-title::after { display: none; }

.film-row:hover .film-title { color: var(--c-red-bright); }

.film-year {
  font-family: var(--f-display);
  font-size: 0.82em;
  letter-spacing: 0.08em;
  color: var(--c-green-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.film-desc {
  color: var(--c-cream-dim);
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 720px;
}

.view-arrow {
  font-family: var(--f-display);
  font-size: 0.82em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-block;
}

.film-row:hover .view-arrow {
  color: var(--c-red-bright);
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .film-row { flex-direction: column; padding: 16px; gap: 16px; }
  .film-artwork { flex: 0 0 auto; width: 100%; max-width: 160px; aspect-ratio: 2/3; }
  .film-row:hover { transform: none; }
}

/* ==========================================================================
   Film detail page — full-bleed backdrop with glass content card
   ========================================================================== */
#film-detail-page { padding: 0; position: relative; overflow: hidden; }

.film-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.22) contrast(1.15) saturate(1.1);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  z-index: 0;
}

#film-detail-page .container,
.film-detail-card {
  position: relative;
  z-index: 1;
}

.film-detail-card {
  max-width: 1100px;
  margin: 48px auto 64px;
  background: rgba(13, 12, 11, 0.94);
  border: 1px solid rgba(184, 18, 31, 0.25);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.film-detail-card .back-link {
  text-align: left;
  margin-top: 0;
  margin-bottom: 22px;
}

.film-detail-card .back-link a.btn-link {
  display: inline-block;
  color: var(--c-cream-dim);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.06em;
  font-family: var(--f-display);
  transition: color 0.2s ease;
}
.film-detail-card .back-link a.btn-link:hover { color: var(--c-red-bright); }

.film-detail-card h1 {
  font-size: 2.8em;
  text-align: left;
  letter-spacing: 0.01em;
  color: var(--c-cream);
  text-shadow: 0 0 24px rgba(184, 18, 31, 0.35);
  margin-bottom: 6px;
  line-height: 1.1;
}

.film-tagline {
  font-size: 1.2em;
  font-style: italic;
  color: var(--c-cream-dim);
  margin-bottom: 28px;
  display: block;
}

.film-detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0;
}

@media (min-width: 768px) {
  .film-detail-content { grid-template-columns: 1.9fr 1.1fr; }
}

.film-detail-text { min-width: 0; }

.film-synopsis { margin-top: 0; line-height: 1.8; clear: none; font-size: 1.05em; }

.detail-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  clear: none;
}
.detail-section h3 {
  color: var(--c-red-bright);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  font-size: 1em;
}
.detail-section ul { list-style: none; margin-left: 0; line-height: 1.7; }
.detail-section li {
  margin-bottom: 10px;
  color: var(--c-cream-dim);
  position: relative;
  padding-left: 22px;
}
.detail-section li::before {
  content: '\1FA78';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.85em;
}
.detail-section p { color: var(--c-cream-dim); margin-bottom: 12px; }

.trailer-section h3 { color: var(--c-red-bright); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1em; margin-bottom: 16px; }
.trailer-container {
  margin-top: 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}
.trailer-container iframe, .trailer-container p {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted); font-style: italic;
}

/* Sidebar */
.film-sidebar {
  background: rgba(0, 0, 0, 0.35);
  border-top: 3px solid var(--c-red);
  border-radius: var(--radius);
  padding: 26px;
  align-self: start;
}
@media (min-width: 768px) {
  .film-sidebar { border-top: none; border-left: 3px solid var(--c-red); }
}

.film-detail-poster img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(184, 18, 31, 0.4);
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.film-meta { margin: 0; }
.film-meta .meta-item { margin-bottom: 16px; }
.film-meta dt {
  font-weight: 700;
  color: var(--c-red-bright);
  width: auto;
  float: none;
  clear: none;
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-size: 0.78em;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.film-meta dd {
  margin-left: 0;
  margin-bottom: 0;
  color: var(--c-cream);
  font-size: 1em;
  line-height: 1.4;
}
.film-meta::after { content: none; }

.purchase-options { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.purchase-options h3 {
  color: var(--c-red-bright);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1em;
  margin-bottom: 14px;
}
.purchase-options h4 {
  margin: 16px 0 10px;
  color: var(--c-muted);
  font-family: var(--f-display);
  font-size: 0.82em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.purchase-options h4:first-of-type { margin-top: 4px; }
.purchase-links-list { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-direction: column; gap: 10px; }
.purchase-links-list li { margin-bottom: 0; }

.buy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--c-line);
  color: var(--c-cream);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-family: var(--f-display);
  font-size: 0.86em;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.buy-button:hover {
  background-color: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
  box-shadow: 0 0 18px rgba(184, 18, 31, 0.45);
}
.buy-button i { font-size: 1.05em; }

.back-link { text-align: center; margin-top: 36px; }

@media (max-width: 600px) {
  .film-detail-card { padding: 26px 22px; margin: 24px auto 40px; border-radius: 6px; }
  .film-detail-card h1 { font-size: 2.1em; }
}

/* ==========================================================================
   News listing (news.php) / News detail (news_detail_*.php)
   ========================================================================== */
.news-post {
  background: var(--c-bg-raised);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 26px;
  transition: border-color 0.2s ease;
}
.news-post:hover { border-color: var(--c-red-dim); }
.news-post h2 { text-align: left; margin-top: 0; margin-bottom: 8px; font-size: 1.5em; }
.news-post h2::after { display: none; }
.news-post h2 a { color: var(--c-cream); text-decoration: none; }
.news-post h2 a:hover { color: var(--c-red-bright); }
.post-meta { font-size: 0.85em; color: var(--c-muted); margin-bottom: 16px; font-family: var(--f-display); letter-spacing: 0.03em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.post-content p { color: var(--c-cream-dim); line-height: 1.7; margin-bottom: 1em; }
.post-content a { color: var(--c-red-bright); }
.post-content a:hover { text-decoration: underline; }
.post-content p:last-child { margin-bottom: 0; }
.read-more-link { display: inline-block; margin-top: 8px; color: var(--c-red-bright); text-decoration: none; font-weight: 600; font-family: var(--f-display); font-size: 0.88em; letter-spacing: 0.03em; text-transform: uppercase; transition: color 0.2s ease; }
.read-more-link:hover { color: var(--c-green-bright); text-decoration: underline; }

.news-post-detail {
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-line);
  padding: 30px 32px;
  margin-bottom: 30px;
  border-radius: var(--radius);
  color: var(--c-cream-dim);
}
.news-post-detail h1 { text-align: left; color: var(--c-cream); margin-top: 0; margin-bottom: 10px; font-size: 2em; line-height: 1.3; }
.news-post-detail h1::after { display: none; }
.news-post-detail h2 { text-align: left; color: var(--c-cream); margin-top: 1.5em; margin-bottom: 0.8em; border-bottom: 1px solid var(--c-line); padding-bottom: 8px; font-size: 1.3em; }
.news-post-detail h2::after { display: none; }
.news-content p { margin-bottom: 1.2em; }
.news-content ul { list-style: disc; margin-left: 25px; margin-bottom: 1.2em; }
.news-content li { margin-bottom: 0.6em; }
.news-content a { color: var(--c-red-bright); }
.news-content a:hover { text-decoration: underline; }
.news-content img { max-width: 100%; height: auto; margin-bottom: 1em; display: block; border-radius: var(--radius-sm); }
.news-content::after { content: ""; display: table; clear: both; }

/* ==========================================================================
   Generic legal / long-form content pages (about, privacy, terms)
   ========================================================================== */
.page-content-container {
  padding: 12px 0 20px;
  line-height: 1.75;
  color: var(--c-cream-dim);
  max-width: 760px;
  margin: 0 auto;
}
.page-content-container h1 {
  color: var(--c-cream);
  margin-top: 0;
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 30px;
}
.page-content-container h1::after { display: none; }
.page-content-container h2 {
  color: var(--c-cream);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 10px;
  font-size: 1.4em;
  margin-top: 1.6em;
  margin-bottom: 0.8em;
}
.page-content-container h2::after { display: none; }
.page-content-container h3 {
  font-size: 1.1em;
  color: var(--c-cream);
  margin-top: 1.4em;
  margin-bottom: 0.7em;
  text-transform: none;
  letter-spacing: normal;
}
.page-content-container p { margin-bottom: 1.2em; }
.page-content-container ul { list-style: disc; margin-left: 25px; margin-bottom: 1.2em; }
.page-content-container li { margin-bottom: 0.6em; }
.page-content-container a { color: var(--c-red-bright); }
.page-content-container a:hover { text-decoration: underline; }
.page-content-container strong { color: var(--c-cream); }

.last-updated, .effective-date {
  font-style: italic;
  color: var(--c-muted);
  margin-top: 2.5em;
  border-top: 1px solid var(--c-line);
  padding-top: 1.5em;
  text-align: center;
}

.studio-logo-about {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  opacity: 0.85;
}

/* Partners section (about.php) */
.partners-section {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--c-line);
}
.partners-section h2 { text-align: center; margin-bottom: 10px; }
.partners-section h2::after { left: 50%; transform: translateX(-50%); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.partner-box {
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-line);
  padding: 22px;
  text-align: center;
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.partner-box:hover { transform: translateY(-4px); border-color: var(--c-red-dim); }
.partner-logo-image {
  display: block;
  max-width: 220px;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 15px auto;
}
.partner-logo-placeholder {
  width: 100%;
  max-width: 100px;
  height: 100px;
  background-color: var(--c-bg-raised-2);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 0.9em;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--c-line);
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
}
.partner-name { font-weight: 600; color: var(--c-cream); font-size: 1.05em; font-family: var(--f-display); letter-spacing: 0.02em; }
.partner-description { font-size: 0.88em; color: var(--c-muted); margin-top: 8px; line-height: 1.5; }

@media (max-width: 992px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partner-logo-image, .partner-logo-placeholder { max-width: 120px; height: 120px; }
  .partner-box { padding: 16px; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-intro { margin-bottom: 30px; line-height: 1.8; color: var(--c-cream-dim); }
.contact-intro ul { list-style: disc; margin-left: 20px; margin-top: 15px; }
.contact-intro li { margin-bottom: 8px; }

#contact-form label { display: block; margin-bottom: 6px; color: var(--c-cream); font-weight: 500; font-size: 0.92em; }
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="number"],
#contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--c-line);
  background-color: var(--c-bg-raised);
  color: var(--c-cream);
  font-size: 1em;
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
}
#contact-form textarea { min-height: 150px; resize: vertical; }
#contact-form .captcha-question { font-weight: 600; color: var(--c-cream); margin-bottom: 8px; }
#contact-form .error-msg ul { list-style: disc; margin-left: 20px; margin-bottom: 0; border: none; padding: 0; background: none; }
#contact-form .error-msg ul li { margin-bottom: 5px; color: var(--c-error); }

/* ==========================================================================
   Forms (contact, etc.)
   ========================================================================== */
form label { display: block; margin-bottom: 6px; color: var(--c-cream); font-weight: 500; font-size: 0.92em; }
form input[type="text"], form input[type="email"], form textarea, form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--c-line);
  background-color: var(--c-bg-raised);
  color: var(--c-cream);
  font-size: 1em;
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  margin-bottom: 18px;
  transition: border-color 0.18s ease;
}
form input:focus, form textarea:focus, form select:focus {
  border-color: var(--c-green);
  outline: none;
}
form textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   Generic content sections (about/privacy/terms)
   ========================================================================== */
.container ul, .container ol { margin-left: 22px; margin-bottom: 15px; line-height: 1.7; }
.container li { margin-bottom: 6px; }
