/* ==========================================================================
   Camarita Films — single stylesheet
   Static site, mobile-first. No frameworks, no JS libraries.
   Palette: near-black ink background, cream text, warm amber accent.
   ========================================================================== */

:root {
  --ink: #0e0d0b;             /* near-black page background */
  --ink-soft: #171613;        /* slightly lifted surface */
  --surface: #1d1b17;         /* card surface */
  --surface-2: #26231e;       /* hover / deeper surface */
  --cream: #f3ead9;           /* main text */
  --cream-soft: #c9c0ad;      /* secondary text */
  --line: #3a362e;            /* hairline borders */
  /* Monochrome: no gold. Warm ivory is the only accent, so Paula's
     footage carries every bit of colour on the page. */
  --amber: #fdfaf4;           /* accent = warm ivory */
  --amber-bright: #ffffff;    /* hover accent */
  --amber-deep: #d8cfbf;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 12px;
  --maxw: 1100px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(217, 164, 65, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(217, 164, 65, 0.04), transparent 55%),
    var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

/* ---- Skip link ------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Focus visibility -------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Layout helpers ---------------------------------------------------- */
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4rem 0; }
.section-alt {
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-foot { margin: 2rem 0 0; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.75rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.section-lede {
  color: var(--cream-soft);
  max-width: 62ch;
  font-size: 1.05rem;
}
.section-foot { text-align: left; }

a { color: var(--amber-bright); }
a:hover { color: var(--cream); }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  background: rgba(14, 13, 11, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.2;
}
.brand .brand-accent { color: var(--amber); }
.brand:hover { color: var(--cream); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--amber); color: var(--amber-bright); }
.bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 18px;
  height: 14px;
  position: relative;
}
.bars span,
.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.bars::before { top: 0; }
.bars span { top: 6px; }
.bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}
.site-nav a:hover { color: var(--amber-bright); }
.site-nav a[aria-current="page"] {
  color: var(--amber-bright);
  border-bottom: 2px solid var(--amber);
}
.site-nav .nav-cta {
  border: 1px solid var(--amber);
  color: var(--amber-bright);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav .nav-cta:hover {
  background: var(--amber);
  color: var(--ink);
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.75rem 0 0.5rem;
  }
  .site-nav a { display: inline-block; padding: 0.5rem 0; font-size: 1.05rem; }
}
@media (min-width: 761px) {
  .nav-toggle { display: none; }
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover { background: var(--amber-bright); color: var(--ink); }
.btn-secondary {
  background: transparent;
  color: var(--amber-bright);
  border-color: var(--amber);
}
.btn-secondary:hover { background: var(--amber); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-bright); }
.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { background: #ffffff; color: var(--ink); }
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 234, 217, 0.5);
}
.btn-ghost-light:hover { border-color: var(--cream); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.hero-ctas.center { justify-content: center; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(1000px 500px at 80% 0%, rgba(253, 250, 244, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(29, 27, 23, 0.5), transparent);
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin-bottom: 0.75rem; }
.hero-lede {
  font-size: 1.2rem;
  color: var(--cream-soft);
  max-width: 58ch;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(900px 450px at 75% 0%, rgba(217, 164, 65, 0.08), transparent 60%);
  border-bottom: 1px solid var(--line);
}

/* ---- Reel / Vimeo panel ------------------------------------------------- */
.section-reel { padding-bottom: 4.5rem; }
.reel-panel {
  background: linear-gradient(145deg, var(--surface), var(--ink-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  text-align: center;
  max-width: 780px;
}
.reel-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.reel-sub { color: var(--cream-soft); margin-bottom: 1.5rem; }
.reel-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.reel-archive-note {
  margin-top: 1.25rem;
  color: var(--cream-soft);
  font-size: 0.95rem;
}

/* ---- Credits grid ------------------------------------------------------- */
.credits-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem 2rem;
}
.credits-grid ul li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream-soft);
  font-size: 1rem;
}
.credits-grid ul li::before {
  content: "—";
  color: var(--amber);
  margin-right: 0.6rem;
}
.credits-home ul li { color: var(--cream); }

.credit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.credit-card:hover { border-color: var(--amber); background: var(--surface-2); }
.credit-card h3 { margin-bottom: 0.3rem; }
.credit-role {
  color: var(--cream-soft);
  font-size: 0.92rem;
  margin: 0;
}
.credit-card.wide { grid-column: 1 / -1; }
.credit-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}
.credit-list li {
  padding: 0.3rem 0;
  color: var(--cream-soft);
  break-inside: avoid;
}
.credit-list li::before {
  content: "·";
  color: var(--amber);
  margin-right: 0.5rem;
}
@media (max-width: 700px) {
  .credit-list { columns: 1; }
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.credits-grid.two-col { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .credits-grid.two-col { grid-template-columns: repeat(2, 1fr); }
}

.credits-section h2 { margin-bottom: 0.4rem; }

/* ---- Cards / services ---------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.card-grid.three { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.card h3 { color: var(--amber-bright); font-size: 1.3rem; }
.card p { color: var(--cream-soft); margin: 0; }

/* ---- Stats band ----------------------------------------------------------- */
.stats-band {
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
  text-align: center;
}
@media (min-width: 800px) {
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
}
.stat-big {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--amber);
  margin: 0 0 0.25rem;
  line-height: 1.1;
}
.stat-label {
  color: var(--cream-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* ---- Archive note (work page) --------------------------------------------- */
.archive-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--cream-soft);
  max-width: 72ch;
}

/* ---- CTA band -------------------------------------------------------------- */
.cta-band {
  padding: 4.5rem 0;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(217, 164, 65, 0.12), transparent 65%),
    var(--ink-soft);
  border-top: 1px solid var(--line);
}
.cta-band p { color: var(--cream-soft); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-ctas { margin-top: 1.5rem; }

/* ---- Contact page ------------------------------------------------------------ */
.contact-section { padding-bottom: 5rem; }
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
}
.contact-list {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.1rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.contact-row dt {
  font-weight: 600;
  color: var(--amber-bright);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.15rem;
}
.contact-row dd { margin: 0; }
.contact-row dd a { color: var(--cream); text-decoration-color: var(--amber); }
.contact-row dd a:hover { color: var(--amber-bright); }
.contact-row address { font-style: normal; }
.contact-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.25rem;
}
.contact-social a { font-weight: 600; }

.contact-form-wrap h2 { margin-bottom: 0.4rem; }
.contact-form {
  margin-top: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 1.15rem;
}
.form-field { display: grid; gap: 0.4rem; }
.form-field label,
.form-field legend {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}
.req { color: var(--amber); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #857d6c; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  outline: none;
}
.interests {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}
.interests legend { padding: 0 0.4rem; }
.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400 !important;
  padding: 0.25rem 0;
}
.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--amber);
}
.form-note {
  font-size: 0.88rem;
  color: var(--cream-soft);
}

/* ---- Footer ------------------------------------------------------------------- */
.site-footer {
  background: #0a0908;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 0;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
}
.footer-brand .brand { display: inline-block; margin-bottom: 0.5rem; }
.footer-brand p { color: var(--cream-soft); }
.site-footer address { font-style: normal; color: var(--cream-soft); }
.site-footer address a { color: var(--cream); }
.footer-hours { color: var(--cream-soft); font-size: 0.92rem; margin-top: 0.75rem; }
.footer-social { display: flex; gap: 1.25rem; margin-top: 0.9rem; }
.footer-social a { font-weight: 600; }
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-nav a { color: var(--cream-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--amber-bright); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem;
  text-align: center;
}
.footer-bottom p {
  color: var(--cream-soft);
  font-size: 0.85rem;
  margin: 0;
}

/* ====================================================================
   FULL-BLEED HERO REEL
   The hero now plays Paula's own footage. Video sits behind, a scrim
   keeps the type readable, copy sits on top.
   ==================================================================== */
.hero-video {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 4.5rem;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero-video .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video .hero-poster,
.hero-video .hero-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero-video .hero-poster { object-fit: cover; z-index: 0; }
.hero-video .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(14, 13, 11, 0.96) 0%, rgba(14, 13, 11, 0.88) 34%,
                    rgba(14, 13, 11, 0.46) 68%, rgba(14, 13, 11, 0.66) 100%),
    linear-gradient(180deg, rgba(14, 13, 11, 0.86) 0%, rgba(14, 13, 11, 0.34) 42%, rgba(14, 13, 11, 0.95) 100%);
}
.hero-video .hero-copy { position: relative; z-index: 2; }
.hero-video h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55); }
.hero-video .hero-lede { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.hero-credit {
  position: absolute;
  right: 1.25rem;
  bottom: 0.9rem;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-soft);
  opacity: 0.75;
  z-index: 2;
}

/* ---- Reel embed ------------------------------------------------------ */
.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Selected-work strip ---------------------------------------------- */
.work-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
}
.work-strip a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.work-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.work-strip span {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  color: var(--cream-soft);
  border-top: 1px solid var(--line);
}
.work-strip a:hover { border-color: var(--amber); }
.work-strip a:hover span { color: var(--cream); }

@media (max-width: 760px) {
  .hero-video { min-height: 74vh; }
  .hero-credit { display: none; }
  .work-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video .hero-player { display: none; }
}

/* ---- Hero play button ------------------------------------------------- */
.hero-video .btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid rgba(243, 234, 217, 0.55);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(14, 13, 11, 0.42);
  backdrop-filter: blur(6px);
  text-decoration: none;
  font-weight: 600;
}
.hero-video .btn-play:hover {
  border-color: var(--cream);
  background: rgba(14, 13, 11, 0.7);
  color: #fff;
}
.play-dot {
  width: 0;
  height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  display: inline-block;
}

/* the reel embed is a panel, not a bare frame */
.reel-frame { max-width: 100%; }

/* ---- Reel card (replaces the inline player: her videos block embedding) ---- */
.reel-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  background: #000;
}
.reel-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .3s ease;
}
.reel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,.15) 0%, rgba(14,13,11,.82) 100%);
}
.reel-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1.1rem 1.25rem;
  color: var(--cream);
}
.reel-card-title { font-weight: 600; }
.reel-card-note {
  margin-left: auto;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
}
.reel-card:hover img { transform: scale(1.03); }
.reel-card:hover { border-color: var(--cream); }
