/* Brightside Media — static rebuild
   Fonts: Prompt (headings/buttons), Karla (body) — matches the original site's Kadence theme setup */

:root {
  --accent: #ffa500;
  --accent-hover: #e6940a;
  --ink: #1d1d1d;
  --ink-2: #2b2b2b;
  --cream: #f7efe4;
  --cream-deep: #f1e8dd;
  --warm-gray: #645f59;
  --white: #ffffff;
  --max-width: 1170px;
  --radius: 4px;
  --font-head: 'Prompt', sans-serif;
  --font-body: 'Karla', sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }
a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: var(--accent);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--ink); }

/* Header */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-header .logo img { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.main-nav a { text-decoration: none; color: var(--white); }
.main-nav a:hover { color: var(--accent); }
.main-nav .has-sub { position: relative; }
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ink-2);
  padding: 0.75rem 0;
  min-width: 220px;
  flex-direction: column;
  gap: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
.main-nav .has-sub:hover .sub-menu,
.main-nav .has-sub:focus-within .sub-menu { display: flex; }
.main-nav .sub-menu li { padding: 0; }
.main-nav .sub-menu a { display: block; padding: 0.6rem 1.25rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav ul li { width: 100%; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .sub-menu { position: static; display: none; background: none; padding-left: 1rem; }
  .main-nav .has-sub.open .sub-menu { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  padding: 7rem 0 5rem;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20,20,20,0.75), rgba(20,20,20,0.55) 45%, rgba(20,20,20,0.85));
}
.hero .container { position: relative; z-index: 2; max-width: 760px; }
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-sub { color: var(--accent); }
.hero p.lede { font-size: 1.15rem; max-width: 620px; }

.hero-small {
  padding: 5rem 0 3.5rem;
}
.hero-small h1 { font-size: clamp(2rem, 1.7rem + 1.2vw, 2.8rem); }

/* Sections */
section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.section-header.left { margin: 0 0 3rem; text-align: left; }

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.stat {
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  padding: 2.25rem 2rem;
  min-width: 280px;
  flex: 0 1 320px;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
}
.stat .stat-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 0.75rem;
  color: var(--ink);
}

/* Grid layouts */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .card-body { padding: 1.5rem; }

.service-card { padding: 2rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 18px rgba(0,0,0,0.06); }
.service-card .eyebrow { margin-bottom: 0.4rem; font-size: 0.75rem; }

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
}
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial .who { display: flex; align-items: center; gap: 0.85rem; }
.testimonial .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial .who-name { font-weight: 700; font-family: var(--font-head); font-size: 0.95rem; }
.testimonial .who-role { font-size: 0.85rem; color: var(--warm-gray); }

/* FAQ */
.faq details {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1.25rem 0;
}
.faq summary {
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); margin-left: 1rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 0.9rem; }

/* Venue / list styling */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.6rem; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { color: var(--white); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2.5rem;
  margin-bottom: 1.5rem;
}
.site-footer .logo img { height: 30px; margin-bottom: 1rem; }
.site-footer h4 { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* Contact form embed */
.form-embed iframe { width: 100%; min-height: 900px; border: none; }

/* Client / campaign strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; align-items: center; }
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
  font-size: 1rem;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.pill {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--ink);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0.4rem 0.4rem 0;
}

.numbered-steps { counter-reset: step; display: grid; gap: 2rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .numbered-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .numbered-steps { grid-template-columns: 1fr; } }
.numbered-steps .step { position: relative; padding-top: 3.75rem; }
.project-writeup p { white-space: pre-wrap; }
/* Masonry-style columns, matching the flow of the original WP gallery:
   portrait and landscape shots sit together without ragged rows. */
.project-gallery {
  column-count: 3;
  column-gap: 1rem;
}
.project-gallery a {
  display: block;
  margin: 0 0 1rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.project-gallery img {
  width: 100%;
  border-radius: var(--radius);
  cursor: zoom-in;
}
@media (max-width: 900px) { .project-gallery { column-count: 2; } }
@media (max-width: 600px) { .project-gallery { column-count: 1; } }

.numbered-steps .step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--accent);
  border: 2px solid var(--accent);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 0; left: 0;
}

/* Nav dropdown: keep service names on one line */
.main-nav .sub-menu { min-width: 260px; }
.main-nav .sub-menu a { white-space: nowrap; }
@media (max-width: 880px) { .main-nav .sub-menu a { white-space: normal; } }

/* Video grids */
.video-grid { display: grid; gap: 2rem; }
.video-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.video-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.video-item .frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-item .frame.vertical { aspect-ratio: 9 / 16; }
.video-item iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item h3 { font-size: 1.05rem; margin: 0.9rem 0 0.15rem; }
.video-item .video-desc {
  font-size: 0.85rem;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 900px) { .video-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .video-grid.cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .video-grid.cols-4 { grid-template-columns: 1fr; } }

/* Client logo wall */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.logo-wall img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-grid img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--radius); }
.team-grid .who-name { font-family: var(--font-head); font-weight: 700; margin-top: 0.75rem; }
.team-grid .who-role { font-size: 0.85rem; color: var(--warm-gray); }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* "Hello, future favorite client" letter: photo left, oversized header right,
   soft grey callout, then the letter itself. Matches Nicole's reference layout. */
.letter {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.75fr);
  gap: 3.5rem;
  align-items: start;
}
.letter > img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 0;
}
.letter-head {
  font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4rem);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.letter-body p { color: var(--ink-2); }
.letter-sign { margin-top: 2rem; }
@media (max-width: 860px) {
  .letter { grid-template-columns: 1fr; gap: 2rem; }
  .letter > img { max-width: 340px; }
}
