/* ============================================================
   UNRECOGNIZED — Seattle Films: Hidden Histories LLC
   style.css  |  cleaned & simplified
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --ink-old:  #151515;
  --muted:    #646464;
  --paper:    #f7f5ef;
  --white:    #ffffff;
  --line:     #d8d3c8;
  --accent:   #9b6a22;
  --charcoal: #202020;
  --steel:    #24678d;
  --navy: #000099;
  --ink: #1a1a2e;
  --steel: #24678d;
  --cream: #f7f4ef;
  --warm-mid: #e8e3da;
  --text: #2c2c2c;
  --muted: #666;
  --rule: #c8bfb0;
  --red: #ff0000

  --brown-border: rgba(77, 48, 14, 1.00);
}

/* ── Reset / Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main  { flex: 1; }
img   { max-width: 100%; display: block; }
a     { color: inherit; }
p     { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}

.nav-inner a{
  display:inline-block;

  text-decoration:none;

  font-weight:700;

  letter-spacing:1px;

  text-transform:uppercase;

  padding:9px 12px 3px;

  color:var(--ink);

  border-bottom:3px solid transparent;

  transition:
    color .15s,
    border-color .15s;

  font-size:clamp(.72rem, .82vw, .95rem);
}

.nav-inner a:hover {
  color: var(--steel);
  border-bottom-color: var(--steel);
}

.nav-inner a.active {
  background: var(--steel);
  color: var(--white);
  border-bottom-color: transparent;
}

/* ── Banner ────────────────────────────────────────────────── */

/* hero-wrap: positions the nav absolutely over the banner image */
.hero-wrap {
  position: relative;
}

.hero-wrap .site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(15, 15, 15, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(2rem, 3vw, 5rem);
}

.hero-wrap .nav-inner a {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: transparent;
}

.hero-wrap .nav-inner a:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.hero-wrap .nav-inner a.active {
  background: var(--steel);
  color: var(--white);
  border-bottom-color: transparent;
}

/* BANNER */
    #banner {
      background: linear-gradient(160deg, var(--ink) 0%, #0a1628 60%, var(--steel) 100%);
      padding: 60px 40px 50px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    #banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        45deg, transparent, transparent 40px,
        rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px
      );
    }
    #banner h1 {
      font-family: 'Georgia', serif;
      font-size: clamp(2rem, 5vw, 9rem);
      letter-spacing: 0.05em;
      color: #fff;
      font-weight: 400;
      font-style: italic;
      position: relative;
    }
    #banner p {
      color: rgba(255,255,255,0.65);
      font-family: 'Georgia', serif;
      font-size: clamp(.2rem, 3vw, .8rem);
      margin-top: -30px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      position: relative;
    }

/* Full-width banner image (title text baked into image) */
.page-banner img.banner-img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
  object-position: center -157px;
}

/* Text-only banner fallback (e.g. Contact page) */
.page-banner.text-banner {
  background: #444 url('images/banner.jpg') center / cover no-repeat;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 24px 32px; /* top padding clears the overlay nav */
}

.page-banner.text-banner h1 {
  color: var(--white);
  font-size: clamp(30px, 6vw, 62px);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 1px 2px 12px rgba(0, 0, 0, 0.65);
  text-align: center;
}

/* ── Page Wrappers ─────────────────────────────────────────── */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 28px;
}

.page-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 28px;
}

.page-title {
  font-size: 36px;
  text-align: center;
  margin: 0 0 48px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ── Photo border utility ──────────────────────────────────── */
.img-border {
  border: 3px solid var(--ink);
}

/* ── Cinematic image shadow ───────────────────────────── */

.img-shadow{
  box-shadow:
    0 6px 18px rgba(0,0,0,.16),
    0 2px 6px rgba(0,0,0,.10);
}

/* ── HOME ──────────────────────────────────────────────────── */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.home-tagline {
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 20px;
}

.home-photo {
  border: 3px solid var(--brown-border);
  margin-bottom: 20px;
  box-shadow:
    0 8px 24px rgba(0,0,0,.18),
    0 2px 8px rgba(0,0,0,.10);
}

.home-photo img { 
  width: 100%; 
  height: auto; 
    border:1px solid rgba(77,48,14,.35);
  padding:2px;
  background:#fff;
  box-shadow:
    0 6px 18px rgba(0,0,0,.14);
}

.about-film h2 {
  font-size: 26px;
  margin: 0 0 16px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 24px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--steel);
  color: var(--white);
}

.btn-primary:hover { background: #1a5070; color: var(--white); }

/* ── MAIN CHARACTERS ───────────────────────────────────────── */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.character-card { 
  text-align: center; 
}

.character-card img{
  border:1px solid rgba(77,48,14,.35);
  padding:2px;
  background:#fff;
  box-shadow:
    0 6px 18px rgba(0,0,0,.14);
}

.character-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 700;
}

.character-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* ── CREATIVE TEAM ─────────────────────────────────────────── */
.team-lead {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 58px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.team-lead-photo img {
  width: 100%;
  border: 3px solid var(--brown-border);
  border:1px solid rgba(77,48,14,.35);
  padding:2px;
  background:#fff;
  box-shadow:
    0 6px 18px rgba(0,0,0,.14);
}

.team-lead-caption {
  text-align: center;
  margin-top: 12px;
}

.team-lead-caption strong {
  display: block;
  font-size: 19px;
}

.team-lead-caption em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.team-lead-bio p { 
  font-size: 15px; 
  line-height: 1.6; 
}

.team-lead-bio a { 
  color: var(--steel); 
  text-decoration: underline; 
}

.team-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.team-member img {
  width: 100%;
  max-width: 320px;
  border: 3px solid var(--brown-border);
  margin-bottom: 14px;
  border:1px solid rgba(77,48,14,.35);
  padding:2px;
  background:#fff;
  box-shadow:
    0 6px 18px rgba(0,0,0,.14);
}

.team-member h3 {
  font-size: 20px;
  margin: 0 0 12px;
}

.team-member p { 
  font-size: 14px; 
  line-height: 1.6; 
}

.team-member a { 
  color: var(--steel); 
  text-decoration: underline; 
}

/* ── ADVANCE PRAISE ────────────────────────────────────────── */
.praise-entry {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.praise-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.praise-entry p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.praise-entry cite {
  display: block;
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  padding-left: 24px;
  color: var(--ink);
}

.praise-entry cite::before { content: "— "; }

/* ── RESOURCES ─────────────────────────────────────────────── */
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.resource-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}

.resource-list a {
  color: var(--steel);
  text-decoration: underline;
}

/* ── CONTACT ───────────────────────────────────────────────── */
.contact-intro {
  text-align: center;
  color: var(--muted);
  margin: 0 0 36px;
  font-size: 16px;
}

.contact-form-wrap { max-width: 700px; }

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #bbb;
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(36, 103, 141, 0.12);
}

.form-group textarea { height: 220px; resize: vertical; }

/* Confirmation overlay */
.form-area { position: relative; min-height: 200px; }

.confirm-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(247, 244, 239, 0.94);
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.confirm-overlay.show { display: flex; }

.confirm-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid #4caf50;
  padding: 40px 48px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.confirm-icon { font-size: 2.6rem; color: #4caf50; margin-bottom: 12px; }

.confirm-box h3 { font-size: 1.3rem; margin: 0 0 10px; }

.confirm-box p { font-size: 0.95rem; color: var(--muted); margin: 0 0 18px; }

/* Error banner */
.error-banner {
  display: none;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: #fdecea;
  border-left: 3px solid #e53935;
  font-size: 14px;
  color: #b71c1c;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: #d8d8d8;
  padding: 22px 28px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.footer-inner a { color: var(--white); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .home-grid,
  .team-lead,
  .team-secondary {
    grid-template-columns: 1fr;
  }

  .team-lead { 
    grid-template-columns: 1fr; 
  }

  .team-lead-photo img { 
    max-width: 380px; 
}

  .characters-grid { 
    grid-template-columns: repeat(2, 1fr); 
}

  .nav-inner a {
    font-size: clamp(.4rem, .9vw, 1.9rem);
    padding: 12px 8px;
    letter-spacing: 0.5px;
  }

  .page, .page-narrow { padding: 40px 20px; }
}

@media (max-width: 520px) {
  .characters-grid { grid-template-columns: 1fr; }
  .name-row         { grid-template-columns: 1fr; }
  .confirm-box      { padding: 28px 24px; }
}

@media (max-width: 768px){
  .nav-inner{
    justify-content:center;
    gap:4px;
    padding:0 10px;
    flex-wrap:wrap;
  }

  .nav-inner a{
    font-size:.72rem;
    padding:10px 6px 4px;
    letter-spacing:.04em;
  }

}


@media (max-width: 768px){
  .page,
  .page-narrow{
    padding:28px 16px;
  }

  .home-grid,
  .team-lead,
  .team-secondary{
    gap:28px;
  }

}