/* ============================================================
   TAGFilms LLC — /css/style.css
   Dark cinema theme: noir-purple + velvet-rose
   Palette: #141016 body / #F5F1F6 headings / #CBC2D0 text /
            #8E7A93 secondary / #1E1723 panels / #B54E76 hover /
            #2E2336 hairlines / #D46A8F accent
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #141016;
  color: #CBC2D0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: #F5F1F6;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

p {
  margin: 0 0 16px;
}

a {
  color: #D46A8F;
  text-decoration: none;
}

a:hover {
  color: #B54E76;
}

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

.btn {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background-color: #D46A8F;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #B54E76;
  color: #FFFFFF;
}

.btn-ghost {
  background-color: transparent;
  border-color: #F5F1F6;
  color: #F5F1F6;
}

.btn-ghost:hover {
  border-color: #D46A8F;
  color: #D46A8F;
}

/* ---------- Masthead nav (class selectors only) ---------- */

.masthead-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #141016;
  border-bottom: 1px solid #2E2336;
  transition: box-shadow 0.25s ease;
}

.masthead-nav.masthead-scrolled {
  box-shadow: 0 6px 18px #0B090D;
}

.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-size: 54px;
  font-weight: 800;
  color: #F5F1F6;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-wordmark:hover .brand-name {
  color: #F5F1F6;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #D46A8F;
  border-radius: 6px;
  flex: none;
}

.mark-clapper {
  position: relative;
  width: 24px;
  height: 20px;
  display: block;
}

.mark-clapper .clap-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 10px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transform: rotate(-6deg);
  overflow: hidden;
}

.mark-clapper .clap-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-40deg, #B54E76 0 3px, #FFFFFF 3px 6px);
}

.mark-clapper .clap-base {
  position: absolute;
  bottom: 0;
  left: 5px;
  width: 18px;
  height: 8px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transform: rotate(2deg);
}

.masthead-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.masthead-links a {
  color: #CBC2D0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  position: relative;
}

.masthead-links a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 2px;
  background-color: #D46A8F;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.masthead-links a:hover {
  color: #F5F1F6;
}

.masthead-links a:hover::after {
  transform: scaleX(1);
}

.link-hairline {
  width: 1px;
  height: 16px;
  background-color: #2E2336;
  flex: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #2E2336;
  border-radius: 4px;
  color: #F5F1F6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: #D46A8F;
  color: #D46A8F;
}

/* ---------- Word hero ---------- */

.word-hero {
  position: relative;
  background-color: #141016;
  overflow: hidden;
  padding: 96px 24px 84px;
}

.word-hero-bg {
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 230px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #1E1723;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #D46A8F;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 3px;
  margin-bottom: 28px;
}

.word-hero h1 {
  font-size: 52px;
  color: #F5F1F6;
  max-width: 760px;
  margin-bottom: 26px;
}

.word-hero h1 .accent {
  color: #D46A8F;
}

.hero-subcopy {
  max-width: 660px;
  color: #CBC2D0;
  font-size: 18px;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.film-graphics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.graphic-chip {
  background-color: #1E1723;
  border: 1px solid #2E2336;
  border-radius: 8px;
  padding: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Clapperboard */
.gfx-clapperboard {
  position: relative;
  width: 64px;
  height: 52px;
  display: block;
}

.gfx-clapperboard .clap-top {
  position: absolute;
  top: 2px;
  left: 0;
  width: 64px;
  height: 22px;
  background-color: #F5F1F6;
  border-radius: 3px;
  transform: rotate(-5deg);
  overflow: hidden;
  box-shadow: 0 2px 0 #2E2336;
}

.gfx-clapperboard .clap-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-38deg, #D46A8F 0 7px, #F5F1F6 7px 14px);
}

.gfx-clapperboard .clap-base {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 48px;
  height: 14px;
  background-color: #D46A8F;
  border-radius: 3px;
  transform: rotate(3deg);
  box-shadow: 0 2px 0 #2E2336;
}

/* Film strip */
.gfx-film-strip {
  position: relative;
  width: 128px;
  height: 46px;
  display: block;
  background-color: #1E1723;
  border: 2px solid #2E2336;
  border-radius: 4px;
}

.gfx-film-strip::before,
.gfx-film-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, #141016 9px 18px);
}

.gfx-film-strip::before {
  top: 0;
  border-bottom: 2px solid #2E2336;
}

.gfx-film-strip::after {
  bottom: 0;
  border-top: 2px solid #2E2336;
}

.gfx-film-strip .film-frame {
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 18px;
  background-color: #D46A8F;
  border-radius: 2px;
}

.gfx-film-strip .f1 { left: 8px; }
.gfx-film-strip .f2 { left: 36px; }
.gfx-film-strip .f3 { left: 64px; }
.gfx-film-strip .f4 { left: 92px; }

/* Spotlight cone */
.gfx-spotlight {
  position: relative;
  width: 40px;
  height: 50px;
  display: block;
}

.gfx-spotlight .spot-lamp {
  position: absolute;
  top: 0;
  left: 8px;
  width: 24px;
  height: 12px;
  background-color: #F5F1F6;
  border-radius: 4px 4px 2px 2px;
  box-shadow: 0 2px 0 #2E2336;
}

.gfx-spotlight .spot-beam {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 12px;
  height: 36px;
  background-color: #D46A8F;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* Stat line */
.hero-stat-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 36px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background-color: #D46A8F;
}

.stat-item strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #F5F1F6;
  line-height: 1.1;
}

.stat-item span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8E7A93;
  margin-top: 6px;
}

/* ---------- Shared section heading ---------- */

.eyebrow-text {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D46A8F;
  margin-bottom: 16px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-head h2 {
  font-size: 38px;
  color: #F5F1F6;
  margin-bottom: 18px;
}

.section-head p {
  color: #CBC2D0;
  font-size: 17px;
}

/* ---------- Ledger table ---------- */

.ledger-section {
  background-color: #141016;
  padding: 96px 24px 92px;
}

.ledger-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.ledger-table {
  border-top: 1px solid #2E2336;
}

.ledger-row {
  display: grid;
  grid-template-columns: 88px 1fr 180px;
  align-items: start;
  gap: 28px;
  padding: 32px 10px;
  border-bottom: 1px solid #2E2336;
  position: relative;
}

.ledger-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 44px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D46A8F;
}

.row-num {
  font-size: 26px;
  font-weight: 800;
  color: #141016;
  -webkit-text-stroke: 1px #D46A8F;
  line-height: 1.2;
}

@supports not (-webkit-text-stroke: 1px #000) {
  .row-num {
    color: #D46A8F;
  }
}

.row-body h3 {
  font-size: 20px;
  color: #F5F1F6;
  margin-bottom: 8px;
}

.row-body p {
  color: #CBC2D0;
  font-size: 16px;
  margin: 0;
}

.row-status {
  justify-self: end;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8E7A93;
  border: 1px solid #2E2336;
  border-radius: 3px;
  padding: 7px 14px;
  white-space: nowrap;
}

/* ---------- Metric band ---------- */

.metric-band {
  background-color: #D46A8F;
  padding: 68px 24px;
}

.metric-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.metric-item + .metric-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background-color: #FFFFFF;
}

.metric-value {
  display: block;
  font-size: 54px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.metric-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F7E4EC;
  margin-top: 10px;
}

/* ---------- Statement band ---------- */

.statement-band {
  background-color: #1E1723;
  padding: 92px 24px;
}

.statement-inner {
  max-width: 900px;
  margin: 0 auto;
  border-left: 4px solid #D46A8F;
  padding-left: 36px;
}

.statement-inner p {
  color: #F5F1F6;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background-color: #141016;
  padding: 96px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 740px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 38px;
  color: #F5F1F6;
  margin-bottom: 18px;
}

.cta-inner p {
  color: #CBC2D0;
  font-size: 17px;
  margin-bottom: 36px;
}

/* ---------- Link-row footer ---------- */

.link-row-footer {
  background-color: #141016;
  border-top: 1px solid #2E2336;
  padding: 46px 24px 42px;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.footer-links a {
  color: #CBC2D0;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: #F5F1F6;
  text-decoration: underline;
  text-decoration-color: #D46A8F;
  text-underline-offset: 4px;
}

.footer-slash {
  color: #D46A8F;
  padding: 0 14px;
}

.footer-legal {
  color: #8E7A93;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer-legal a {
  color: #8E7A93;
}

.footer-legal a:hover {
  color: #D46A8F;
  text-decoration: underline;
}

/* ---------- Secondary page layout (services / contact) ---------- */

.page-hero {
  background-color: #141016;
  padding: 84px 24px 60px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 44px;
  color: #F5F1F6;
  margin-bottom: 20px;
}

.page-lead {
  color: #CBC2D0;
  font-size: 18px;
  max-width: 720px;
}

.services-list {
  background-color: #141016;
  padding: 40px 24px 90px;
}

.services-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.service-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 10px;
  border-bottom: 1px solid #2E2336;
  position: relative;
}

.service-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 46px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D46A8F;
}

.service-index {
  font-size: 26px;
  font-weight: 800;
  color: #141016;
  -webkit-text-stroke: 1px #D46A8F;
  line-height: 1.2;
}

@supports not (-webkit-text-stroke: 1px #000) {
  .service-index {
    color: #D46A8F;
  }
}

.service-body h2 {
  font-size: 24px;
  color: #F5F1F6;
  margin-bottom: 10px;
}

.service-body p {
  color: #CBC2D0;
  font-size: 16px;
  margin: 0;
}

/* Process */
.process-section {
  background-color: #141016;
  padding: 20px 24px 96px;
}

.process-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background-color: #1E1723;
  border: 1px solid #2E2336;
  border-radius: 8px;
  padding: 26px 24px;
}

.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #D46A8F;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 18px;
  color: #F5F1F6;
  margin-bottom: 8px;
}

.process-step p {
  color: #CBC2D0;
  font-size: 15px;
  margin: 0;
}

/* Contact */
.contact-section {
  background-color: #141016;
  padding: 30px 24px 96px;
}

.contact-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  margin-bottom: 70px;
}

.contact-form {
  background-color: #1E1723;
  border: 1px solid #2E2336;
  border-radius: 8px;
  padding: 34px;
}

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

.form-group label {
  display: block;
  color: #F5F1F6;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: #141016;
  border: 1px solid #2E2336;
  border-radius: 4px;
  color: #F5F1F6;
  font-family: inherit;
  font-size: 16px;
  padding: 13px 14px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D46A8F;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8E7A93;
}

.form-status {
  color: #CBC2D0;
  font-size: 15px;
  margin-top: 16px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block {
  background-color: #1E1723;
  border: 1px solid #2E2336;
  border-radius: 8px;
  padding: 26px;
}

.info-block h3 {
  font-size: 18px;
  color: #F5F1F6;
  margin-bottom: 12px;
}

.info-block p {
  color: #CBC2D0;
  font-size: 16px;
  margin: 0;
}

.info-block a {
  color: #D46A8F;
}

.info-block a:hover {
  color: #B54E76;
  text-decoration: underline;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid #2E2336;
  color: #CBC2D0;
  font-size: 15px;
}

.hours-row span:first-child {
  color: #8E7A93;
}

.hours-note {
  color: #8E7A93;
  font-size: 14px;
  margin-top: 14px;
}

/* FAQ accordion */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #2E2336;
  border-radius: 8px;
  background-color: #1E1723;
  margin-bottom: 14px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #F5F1F6;
  font-size: 17px;
  font-weight: 700;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover {
  color: #D46A8F;
}

.faq-icon {
  color: #D46A8F;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  flex: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  color: #CBC2D0;
  font-size: 16px;
  padding: 0 24px 22px;
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 420px;
}

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 900px) {
  .word-hero-bg {
    font-size: 140px;
    top: 40px;
  }

  .word-hero h1 {
    font-size: 42px;
  }

  .metric-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }

  .metric-item:nth-child(3)::before {
    display: none;
  }

  .ledger-row {
    grid-template-columns: 64px 1fr;
  }

  .row-status {
    justify-self: start;
    grid-column: 2;
    margin-top: 4px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .masthead-inner {
    padding: 18px 18px 14px;
  }

  .brand-name {
    font-size: 36px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .mark-clapper {
    width: 20px;
    height: 17px;
  }

  .nav-toggle {
    display: block;
    margin-top: 2px;
  }

  .masthead-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-top: 1px solid #2E2336;
    padding-top: 10px;
  }

  .masthead-links.nav-open {
    display: flex;
  }

  .masthead-links a {
    padding: 12px 6px;
    text-align: center;
  }

  .masthead-links a::after {
    display: none;
  }

  .link-hairline {
    display: none;
  }

  .word-hero {
    padding: 64px 18px 60px;
  }

  .word-hero-bg {
    font-size: 88px;
    top: 34px;
  }

  .word-hero h1 {
    font-size: 34px;
  }

  .hero-subcopy {
    font-size: 16px;
  }

  .film-graphics {
    gap: 12px;
  }

  .graphic-chip {
    padding: 14px;
  }

  .hero-stat-line {
    gap: 18px 0;
  }

  .stat-item {
    padding: 0 16px;
  }

  .stat-item strong {
    font-size: 28px;
  }

  .ledger-section,
  .cta-band {
    padding: 70px 18px;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 10px;
  }

  .ledger-row::before {
    top: 32px;
  }

  .row-num {
    margin-bottom: 4px;
  }

  .row-status {
    grid-column: 1;
  }

  .section-head h2,
  .cta-inner h2 {
    font-size: 30px;
  }

  .metric-band {
    padding: 52px 18px;
  }

  .metric-value {
    font-size: 42px;
  }

  .statement-band {
    padding: 66px 18px;
  }

  .statement-inner {
    padding-left: 22px;
  }

  .statement-inner p {
    font-size: 21px;
  }

  .page-hero {
    padding: 60px 18px 40px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 10px;
  }

  .service-block::before {
    top: 30px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-links {
    gap: 10px 0;
  }

  .footer-slash {
    padding: 0 8px;
  }
}
