/* ============================================================
   Parallax Films - Debut website by C i Marketing
   Shared stylesheet for all pages
   ============================================================ */

:root {
  --primary: #282838;
  --secondary: #F7F7EB;
  --accent: #BF8D47;
  --text: #2A2A2A;
  --text-light: #6B6B69;
  --bg: #FFFFFF;
  --bg-soft: #F7F7EB;
  --footer-bg: #1D1D2A;
  --heading-font: 'Inter', sans-serif;
  --body-font: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--primary); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: #FFFFFF;
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.1rem; font-weight: 700; margin-bottom: 1.25rem; }
h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }

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

ul, ol { margin: 0 0 1.1rem 1.3rem; }
li { margin-bottom: 0.45rem; }

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-light);
}

/* ------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--primary); }
.section-dark h2,
.section-dark h3,
.section-dark p { color: #FFFFFF; }
.section-dark .eyebrow { color: var(--accent); }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  min-height: 44px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: #A87A38;
  border-color: #A87A38;
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #FFFFFF; }

.section-dark .btn-outline {
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.section-dark .btn-outline:hover { background: #FFFFFF; color: var(--primary); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }

/* ------------------------------------------------------------
   Header and navigation
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img { height: 44px; width: auto; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #FFFFFF;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 0.5rem 1.25rem 1.5rem;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.site-nav.open { display: block; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; }

.nav-list a,
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.75rem 0.25rem;
  min-height: 44px;
  color: #FFFFFF;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.nav-list a:hover,
.dropdown-toggle:hover { color: var(--accent); }

.nav-list a.active { color: var(--accent); }
.dropdown-toggle.active { color: var(--accent); }

.chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.has-dropdown.open > .dropdown-toggle .chevron { transform: rotate(225deg) translateY(-2px); }

.dropdown {
  list-style: none;
  margin: 0;
  padding: 0 0 0.4rem 1.1rem;
  display: none;
}
.has-dropdown.open > .dropdown { display: block; }
.dropdown a { font-weight: 400; padding: 0.6rem 0.25rem; }

/* ------------------------------------------------------------
   Hero layouts
   ------------------------------------------------------------ */

.hero {
  background: var(--bg-soft);
  padding: 3rem 0 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2rem;
}

.hero-copy { padding-bottom: 2.5rem; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

/* Viewfinder corner marks: the Parallax signature detail */
.frame-mark { position: relative; }
.frame-mark::before,
.frame-mark::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.frame-mark::before {
  top: 12px;
  left: 12px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
}
.frame-mark::after {
  bottom: 12px;
  right: 12px;
  border-bottom: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
}

.page-hero {
  background: var(--bg-soft);
  padding: 3.25rem 0;
}
.page-hero .hero-copy { padding-bottom: 0; max-width: 780px; }

/* ------------------------------------------------------------
   Content patterns
   ------------------------------------------------------------ */

.split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.split-media img { width: 100%; object-fit: cover; }

.narrow { max-width: 780px; }

.two-col {
  display: grid;
  gap: 2.25rem;
}

.check-list { list-style: none; margin-left: 0; }
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Image mosaic galleries */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}
.mosaic figure { margin: 0; overflow: hidden; }
.mosaic img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic .wide { grid-column: span 2; }

/* Sector tiles on the home page */
.sector-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.sector-card {
  display: block;
  background: var(--bg);
  color: var(--text);
}
.sector-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.sector-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.sector-card h3 { color: var(--primary); }
.sector-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }
.sector-card:hover h3 { color: var(--accent); }

/* Team */
.team-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.team-member img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 1.25rem;
}
.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* Quote band */
.quote-band blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 400;
}
.quote-band cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Video embeds */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--primary);
  margin-top: 2rem;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-pair { display: grid; gap: 1.5rem; }
.video-pair .video-embed { margin-top: 0; }

/* Client logos / name list */
.client-list {
  list-style: none;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.client-list li {
  background: var(--bg);
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin: 0;
}

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */

.faq-section h2 { margin-bottom: 1.75rem; }

.faq-item {
  background: var(--bg-soft);
  margin-bottom: 0.85rem;
}
.section-soft .faq-item { background: var(--bg); }

.faq-question { margin: 0; }
.faq-question button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.25rem;
  min-height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}
.faq-question button::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-question button::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
}
.faq-item.open .faq-answer { display: block; }

/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */

.contact-form { max-width: 640px; }

.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  min-height: 44px;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 2px solid #D8D5CB;
  border-radius: 3px;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { min-height: 160px; resize: vertical; }

.form-note { font-size: 0.9rem; color: var(--text-light); margin-top: 1rem; }

.contact-details h3 { margin-top: 1.75rem; }
.contact-details h3:first-child { margin-top: 0; }
address { font-style: normal; }

/* ------------------------------------------------------------
   Terms page
   ------------------------------------------------------------ */

.legal h2 { margin-top: 2.5rem; }
.legal h3 { margin-top: 1.75rem; }
.legal ul { margin-top: 0.5rem; }
.legal ul ul { margin-top: 0.45rem; }

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

.site-footer {
  background: var(--footer-bg);
  color: #E8E8E4;
  padding: 3.25rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid { display: grid; gap: 2.25rem; }

.footer-brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: #B9B9BE; max-width: 320px; }

.site-footer h3 {
  color: #FFFFFF;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #E8E8E4; }
.footer-links a:hover { color: var(--accent); }

.site-footer address a { color: #E8E8E4; }
.site-footer address a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.25rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #33334A;
  border-radius: 50%;
  color: #FFFFFF;
}
.social-links a:hover { background: var(--accent); color: #FFFFFF; }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }

.footer-bottom {
  margin-top: 2.75rem;
  color: #9C9CA6;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-bottom a { color: #9C9CA6; }
.footer-bottom a:hover { color: var(--accent); }

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------
   Tablet: 768px and up
   ------------------------------------------------------------ */

@media (min-width: 768px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 1.95rem; }

  .section { padding: 4.5rem 0; }

  .hero-inner { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .hero-copy {
    padding: 2rem 2rem 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-media img { min-height: 420px; }

  .split { grid-template-columns: 1fr 1fr; }
  .split-reverse .split-media { order: 2; }

  .two-col { grid-template-columns: 5fr 7fr; align-items: start; }

  .sector-grid { grid-template-columns: 1fr 1fr; }

  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .mosaic .wide { grid-column: span 2; }
  .mosaic .tall img { min-height: 320px; }

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

  .video-pair { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ------------------------------------------------------------
   Desktop: 1024px and up
   ------------------------------------------------------------ */

@media (min-width: 1024px) {
  h1 { font-size: 3.1rem; }

  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    padding: 0;
    max-height: none;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .nav-list a,
  .dropdown-toggle {
    width: auto;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
  }

  .has-dropdown { position: relative; }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--primary);
    padding: 0.5rem 0;
  }
  .dropdown a { padding: 0.6rem 1.1rem; }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { display: block; }

  .nav-cta {
    background: var(--accent);
    border-radius: 3px;
    margin-left: 0.5rem;
  }
  .nav-cta:hover { background: #A87A38; color: #FFFFFF !important; }
  .nav-list a.nav-cta.active { color: #FFFFFF; background: #A87A38; }

  .hero-copy { padding-right: 3.5rem; }
  .sector-grid { grid-template-columns: repeat(4, 1fr); }
  .sector-card img { height: 190px; }
}

/* ------------------------------------------------------------
   Wide: 1280px and up
   ------------------------------------------------------------ */

@media (min-width: 1280px) {
  .hero-media img { min-height: 500px; }
  .quote-band blockquote { font-size: 1.45rem; }
}
