/* ============================================================
   BIG RED STRIPE — brsdefault2026.css
   Shared stylesheet for all BRS main-site pages.
   Single dark theme by design. All pages reference this file.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700;900&family=Lato:wght@300;400;700&display=swap');

/* ── TOKEN SYSTEM ── */
:root {
  --bg:       #0a0a0a;
  --surface:  #131313;
  --surface2: #1b1b1b;
  --border:   #252525;
  --red:      #d9042b;   /* structural red (stripe, dividers, logo) */
  --red-text: #ff1a3c;   /* text-use red (eyebrows, hover CTAs) — brighter for WCAG contrast */
  --red-hi:   #f0082f;   /* interactive highlight red */
  --text:     #f0f0f0;
  --muted:    #858585;
  --dim:      #686868;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── BODY ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

/* ── UTILITIES ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ── SITE HEADER ── */
.site-header {
  position: relative;
  width: 100%;
  padding: 64px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  overflow: hidden;
}

/* Screenplay line-paper texture */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #0e0e0e;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 23px,
      rgba(255,255,255,0.028) 23px,
      rgba(255,255,255,0.028) 24px
    ),
    linear-gradient(90deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 96px,
      transparent 96px,
      transparent 100%
    );
}

/* Vignette overlay */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%,
      rgba(10,10,10,0.1) 0%,
      rgba(10,10,10,0.7) 100%);
}

.header-home-link {
  position: relative;
  z-index: 1;
  display: block;
}

.header-logo {
  width: min(480px, 85vw);
  height: auto;
  display: block;
}

.header-tagline {
  position: relative;
  z-index: 1;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 2vw, 18px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* Red stripe echoing the logo */
.brand-stripe {
  width: 100%;
  height: 5px;
  background: var(--red);
  flex-shrink: 0;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px 36px;
}

.page-hero-eyebrow {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.page-hero-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 20px;
}

.page-hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

/* Narrow variant — matches content-wrap width for pages like About */
.page-hero--narrow {
  max-width: 800px;
  padding-left: 24px;
  padding-right: 24px;
}

/* About page hero — lives inside content-wrap for guaranteed alignment */
.about-hero {
  padding-top: 56px;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── SECTION GRID (2-col default, 3-col variant) ── */
.section-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border); /* gap color via bg */
}

.section-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Home page uses top padding too (no page-hero above it) */
.section-grid--padtop {
  padding-top: 56px;
}

/* ── SECTION CARD ── */
.section-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 40px 40px;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}

.section-card:hover {
  background: var(--surface2);
}

/* Red stripe accent at top of each card */
.section-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.section-card:hover::before {
  transform: scaleX(1);
}

/* ── CARD INTERNALS ── */
.card-eyebrow {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.card-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--text);
}

.card-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38ch;
  flex: 1;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.18s;
  padding-top: 4px;
}

.section-card:hover .card-cta {
  color: var(--red-text);
}

.cta-arrow {
  font-size: 14px;
  transition: transform 0.18s;
  display: inline-block;
}

.section-card:hover .cta-arrow {
  transform: translateX(4px);
}

/* ── LOGLINE EVALUATOR STRIP (home page only) ── */
.logline-strip {
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}

.logline-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logline-labs-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.logline-text {
  min-width: 200px;
  max-width: 420px;
}

.logline-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.logline-title span { color: #147EF7; }

.logline-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
  max-width: 52ch;
}

.logline-cta {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #147EF7;
  text-decoration: none;
  border: 1px solid #147EF7;
  padding: 10px 22px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.logline-cta:hover { background: #147EF7; color: #fff; }

/* ── ABOUT PAGE STYLES ── */
.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.about-section + .about-section {
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.about-heading {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 28px;
}

.about-body p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 20px;
}

.about-body p:last-child { margin-bottom: 0; }

/* Jacob photo + bio layout */
.jacob-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.jacob-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  filter: grayscale(20%);
}

.jacob-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}

/* Soft CTA block */
.soft-cta {
  border-top: 1px solid var(--border);
  padding: 48px 20px 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.soft-cta p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 56ch;
}

.soft-cta a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.soft-cta a:hover { color: var(--red-text); }

/* ── SITE FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  width: 140px;
  height: auto;
  opacity: 0.75;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--red-text); }

.footer-copy {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.1em;
  width: 100%;
  text-align: right;
  margin-top: 4px;
}

/* ── ABOUT PAGE CONTENT LAYOUT (content-wrap structure) ── */
.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.content-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 56px 0;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.content-heading {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

.content-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── SOFT CTA CALLOUT BOX ── */
.soft-cta-wrap {
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--surface);
  border-left: 3px solid var(--red);
}

.soft-cta-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 12px;
}

.soft-cta-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 52ch;
}

.soft-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.soft-cta-link:hover { color: var(--red-text); }

.soft-cta-arrow {
  font-size: 14px;
  display: inline-block;
  transition: transform 0.15s;
}

.soft-cta-link:hover .soft-cta-arrow { transform: translateX(4px); }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .section-grid,
  .section-grid--3col {
    grid-template-columns: 1fr;
    padding: 0 16px 56px;
  }

  .section-grid--padtop {
    padding-top: 32px;
  }

  .section-card { padding: 36px 28px 32px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy { text-align: left; }

  .page-hero {
    padding: 36px 16px 28px;
  }

  .about-section {
    padding: 40px 16px 56px;
  }

  .jacob-layout {
    flex-direction: column;
    gap: 24px;
  }

  .jacob-photo {
    width: 140px;
    height: 140px;
  }

  .soft-cta {
    padding: 36px 16px 48px;
  }

  .logline-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-card::before,
  .section-card,
  .card-cta,
  .cta-arrow { transition: none; }
}
