/* Sisters First Productions — design system
   Brand: navy / gold / Lato (carried over from the original site) */

:root {
  --navy: #0f2346;
  --navy-deep: #0a1832;
  --navy-soft: #1b3562;
  --gold: #b59126;
  --gold-light: #d4b04a;
  --gold-dark: #7a5f13;
  --gold-pale: #f4ecd7;
  --ink: #23293a;
  --gray: #5b6472;
  --gray-light: #8a919e;
  --surface: #f7f8fa;
  --line: #e7e9ee;
  --white: #ffffff;
  --font: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(15, 35, 70, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 35, 70, 0.12);
  --section-pad: clamp(64px, 9vw, 110px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { color: var(--navy); font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  z-index: 300;
}
.skip-link:focus { left: 0; color: var(--white); }

/* Eyebrow label */
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

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

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  position: fixed;
  background: rgba(10, 24, 50, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  padding: 8px 0;
}

.site-header .container {
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo { flex-shrink: 0; }
.site-logo img { height: 48px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .site-logo img { height: 40px; }

.site-nav { display: flex; align-items: center; gap: 6px; }

.site-nav ul { list-style: none; display: flex; align-items: center; }

.site-nav li { position: relative; }

.site-nav a {
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a:hover { color: var(--gold-light); }

.site-nav li.active > a { color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); }

.site-nav .caret { font-size: 8px; margin-left: 5px; opacity: 0.6; }

.site-nav .submenu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  position: absolute;
  top: 100%; left: 8px;
  min-width: 190px;
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}

.site-nav li:hover .submenu,
.site-nav li:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav .submenu a { padding: 10px 16px; border-radius: 6px; white-space: nowrap; }
.site-nav .submenu a:hover { background: rgba(255, 255, 255, 0.06); }

.social-links { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.social-links a { padding: 9px; color: rgba(255, 255, 255, 0.75); border-radius: 6px; }
.social-links a:hover { color: var(--gold-light); }
.social-links svg { width: 17px; height: 17px; fill: currentColor; display: block; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 40px;
  }

  .site-nav.open { display: flex; }

  .site-nav ul { flex-direction: column; align-items: center; gap: 4px; }

  .site-nav a { padding: 12px 20px; font-size: 1rem; letter-spacing: 0.18em; }

  .site-nav li.active > a { box-shadow: none; color: var(--gold-light); }

  .site-nav .submenu {
    visibility: visible;
    opacity: 1;
    transform: none;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
  }

  .site-nav .submenu a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

  .social-links { margin: 24px 0 0; }
  .social-links svg { width: 22px; height: 22px; }
}

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

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 24, 50, 0.92) 0%, rgba(15, 35, 70, 0.72) 55%, rgba(15, 35, 70, 0.55) 100%);
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  max-width: 17ch;
}

.hero h1 .accent { color: var(--gold-light); }

.hero .hero-sub {
  margin-top: 20px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
}

.hero--home {
  min-height: min(88vh, 760px);
  padding: 140px 0 90px;
}

.hero--page {
  min-height: 380px;
  padding: 150px 0 70px;
  text-align: center;
}

.hero--page h1 { margin: 0 auto; }
.hero--page .hero-sub { margin-left: auto; margin-right: auto; }
.hero--page .eyebrow { color: var(--gold-light); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

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

.btn {
  display: inline-block;
  padding: 15px 32px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181, 145, 38, 0.35);
}

.btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); box-shadow: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-link::after { content: '\2192'; transition: transform 0.2s ease; }
.text-link:hover::after { transform: translateX(4px); }

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

.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--surface); }
.section--center { text-align: center; }

.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 24px; }
.section--center h2 { margin-left: auto; margin-right: auto; max-width: 24ch; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.15rem); }
.section--center .lead { max-width: 68ch; margin-left: auto; margin-right: auto; }

.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

.framed-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Dark image-backed section */

.section--dark {
  position: relative;
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.85);
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 50, 0.93), rgba(15, 35, 70, 0.88));
}

.section--dark .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .text-link { color: var(--gold-light); }
.section--dark .text-link:hover { color: var(--white); }

/* Check list */

.check-list { list-style: none; margin-top: 24px; display: grid; gap: 14px; }

.check-list li {
  position: relative;
  padding-left: 36px;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
}

.check-list--cols {
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
}

@media (max-width: 720px) {
  .check-list--cols { grid-template-columns: 1fr; }
}

/* ---------- Home video ---------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-frame img { width: 100%; height: 100%; object-fit: cover; }

.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92px; height: 92px;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  background: rgba(10, 24, 50, 0.5);
  color: var(--gold-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-button:hover { transform: translate(-50%, -50%) scale(1.07); background: rgba(10, 24, 50, 0.75); }
.play-button svg { width: 28px; height: 28px; fill: currentColor; margin-left: 5px; }

/* ---------- Projects ---------- */

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 56px;
}

.logo-grid .logo-cell {
  flex: 0 1 calc((100% - 44px) / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.logo-grid .logo-cell:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.logo-grid img {
  width: 100%;
  height: 100%;
  max-height: 88px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-grid .logo-cell:hover img { filter: none; opacity: 1; }

.logo-cell--boost img { filter: grayscale(100%) brightness(0.62) contrast(1.25); }

@media (max-width: 680px) {
  .logo-grid { gap: 14px; }
  .logo-grid .logo-cell { flex-basis: calc((100% - 14px) / 2); padding: 18px; }
  .logo-grid img { max-height: 64px; }
}

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(48px, 7vw, 72px) 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  padding-bottom: 48px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-brand img { margin: 0 auto; }
}

.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 40ch; }
@media (max-width: 780px) { .footer-brand p { margin: 0 auto; } }

.site-footer h3 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }

.site-footer a { color: rgba(255, 255, 255, 0.65); }
.site-footer a:hover { color: var(--gold-light); }

.footer-social { display: inline-flex; gap: 10px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.footer-social a:hover { border-color: var(--gold-light); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Feature rows (alternating) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.feature-row--reverse > :first-child { order: 2; }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row--reverse > :first-child { order: 0; }
}

/* ---------- Info cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
  text-align: left;
}

.card-grid--three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1000px) {
  .card-grid, .card-grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .card-grid, .card-grid--three { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.info-card .card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.info-card h3 { font-size: 1.05rem; margin-bottom: 10px; }

.info-card p { font-size: 0.93rem; line-height: 1.65; }

.section--dark .info-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: blur(2px);
}

.section--dark .info-card h3 { color: var(--white); }
.section--dark .info-card p { color: rgba(255, 255, 255, 0.75); }
.section--dark .info-card .card-num { background: rgba(181, 145, 38, 0.2); color: var(--gold-light); }

/* ---------- Numbered steps ---------- */

.step-list {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  margin-top: 52px;
  text-align: left;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.step-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  padding-top: 4px;
  letter-spacing: -0.02em;
}

.step h3 { font-size: 1.2rem; margin-bottom: 8px; }

@media (max-width: 540px) {
  .step { grid-template-columns: 48px 1fr; }
  .step-num { font-size: 1.8rem; }
}

/* ---------- Client strip ---------- */

.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  margin-top: 28px;
}

.client-strip span {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

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

.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-soft) 100%);
  text-align: center;
  padding: clamp(56px, 8vw, 92px) 0;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 16px; }

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
  margin: 0 auto 32px;
}

/* ---------- Contact info ---------- */

.contact-simple {
  max-width: 560px;
  margin: 0 auto;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-email:hover { color: var(--gold); border-color: var(--navy); }

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-socials a:hover { border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }

.contact-socials svg { width: 16px; height: 16px; fill: currentColor; }
