/* Overtown Pictures — faithful recreation of original site */

:root {
  --orange: #e35b2a;          /* brand orange for logo + active nav */
  --orange-hover: #c84a1e;
  --teal: #16303c;            /* dark teal body background */
  --teal-2: #122833;          /* slightly darker for variation */
  --teal-border: #1f3e4b;
  --cream: #f4ead2;           /* warm cream body text on dark */
  --cream-dim: #e8dfc8;
  --gold: #b8935a;            /* laurel / accent */
  --gold-soft: #d4ad72;
  --white: #ffffff;
  --white-soft: #faf8f3;      /* header bg */
  --text-dark: #2b2b2b;
  --muted: #8ea3ad;
  --line: rgba(212, 173, 114, 0.22);
  --serif: "Playfair Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans:  "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans-bold: "Oswald", "Poppins", Impact, sans-serif; /* condensed bold headings */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--teal);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */

.site-header {
  background: var(--white-soft);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--orange);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand:hover { color: var(--orange-hover); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
@media (max-width: 820px) {
  .brand-mark { width: 34px; height: 34px; }
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links a {
  font-family: var(--serif);
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 400;
  padding: 6px 0;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text-dark);
  padding: 12px 24px;
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav .close {
  position: absolute;
  top: 22px; right: 22px;
  background: none; border: 0;
  color: var(--text-dark); cursor: pointer;
  padding: 8px;
}
.mobile-nav .close svg { width: 28px; height: 28px; }

/* ---------- Sections ---------- */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 90px 0; }

.section-heading {
  font-family: var(--sans-bold);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 64px);
  letter-spacing: 0.005em;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.1;
}

/* Generic prose block on dark */
.prose {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
  color: var(--cream);
}
.prose p { margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }

/* Divider rule */
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  max-width: 1120px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--teal-2);
  padding: 70px 24px 60px;
  text-align: center;
}
.site-footer .contact-label {
  font-family: var(--sans-bold);
  font-weight: 700;
  font-size: 20px;
  color: var(--cream);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.site-footer p, .site-footer a {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--cream-dim);
  letter-spacing: 0.15em;
  line-height: 2.1;
}
.site-footer a:hover { color: var(--gold-soft); }

/* ---------- Utilities ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.placeholder-img {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(45deg, #1a3643 0, #1a3643 10px, #213e4c 10px, #213e4c 20px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.placeholder-img span { position: relative; z-index: 2; max-width: 80%; line-height: 1.5; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .nav-wrap { padding: 16px 22px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { font-size: 18px; }
  .container { padding: 0 22px; }
  section { padding: 60px 0; }
  .section-heading { font-size: 34px; }
  .prose { font-size: 17px; }
}
