/* BSIMPS Productions · Phase 1 draft · clean white */
:root {
  --charcoal: #101820;
  --charcoal-soft: #1a2630;
  --red: #C8102E;
  --red-dark: #9E0C24;
  --cream: #faf9f7;
  --white: #ffffff;
  --ink: #101820;
  --muted: #5a6570;
  --line: #ebe7e0;
  --line-strong: #ddd7cd;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(16, 24, 32, 0.04);
  --max: 980px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--charcoal);
}

a:hover {
  color: var(--red);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

main {
  scroll-margin-top: var(--header-h);
}

main > :first-child {
  scroll-margin-top: var(--header-h);
}

/* Header: light */
.site-header {
  background: var(--white);
  color: var(--charcoal);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--charcoal);
  min-width: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.brand-name {
  font-family: "DM Sans", "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-trust {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--charcoal);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: "DM Sans", "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

/* Hero: light / white */
.hero {
  background: var(--white);
  color: var(--charcoal);
  padding: 3.75rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}

.hero .eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: "DM Sans", "Source Sans 3", sans-serif;
  font-size: clamp(1.75rem, 5.5vw, 2.55rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.hero .lede {
  margin: 0 0 1.15rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hero-note {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: "DM Sans", "Source Sans 3", sans-serif;
  font-weight: 700;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  box-shadow: none;
  min-height: 48px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  filter: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn-secondary.on-light {
  color: var(--charcoal);
  border-color: var(--line-strong);
}

.btn-secondary.on-light:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-title {
  font-family: "DM Sans", "Source Sans 3", sans-serif;
  font-weight: 700;
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  color: var(--charcoal);
  letter-spacing: -0.015em;
}

.section-body {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 62ch;
}

.section-body + .section-body {
  margin-top: 0.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: none;
}

/* Who it's for */
.audience {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.chip-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
}

/* Differentiate */
.differentiate {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.differentiate .section-body {
  max-width: 62ch;
}

.diff-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
}

.diff-list li {
  margin: 0.45rem 0;
}

.diff-list strong {
  color: var(--charcoal);
}

/* How it works */
.steps {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: none;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  border: 1px solid var(--line-strong);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: "DM Sans", sans-serif;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Offers */
.offers {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.offer-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.offer-card.featured {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.offer-card.featured p {
  color: var(--muted);
}

.offer-label {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.offer-card.featured .offer-label {
  color: var(--red);
}

.offer-card h3 {
  margin: 0 0 0.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 1.15rem;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.offer-price {
  margin-top: 0.75rem !important;
  font-weight: 700;
  color: var(--charcoal) !important;
  font-size: 0.92rem !important;
}

.offer-card.featured .offer-price {
  color: var(--charcoal) !important;
}

/* Case study teaser */
.case-teaser {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.case-card {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
}

.case-card h3 {
  margin: 0 0 0.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
}

.case-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.case-meta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem !important;
}

/* About teaser */
.about-teaser {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.about-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}

.about-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-inline: auto;
  border: 1px solid var(--line);
  box-shadow: none;
  flex-shrink: 0;
  display: block;
  background: var(--cream);
}

.about-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.lifestyle-figure {
  margin: 0;
  max-width: 100%;
}

.lifestyle-photo {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: none;
  border: 1px solid var(--line);
}

.lifestyle-caption {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.4;
}

.about-copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 58ch;
}

/* Form */
.form-section {
  background: var(--cream);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.35rem;
  box-shadow: none;
  margin-top: 1.25rem;
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.field .req {
  color: var(--red);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  background: var(--white);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-actions {
  margin-top: 0.25rem;
}

.form-actions .btn {
  width: 100%;
}

/* Page heroes (subpages): light */
.page-hero {
  background: var(--white);
  color: var(--charcoal);
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.page-hero .lede {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.05rem;
}

.page-body {
  padding: 2.75rem 0 3.25rem;
  background: var(--white);
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.25rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--charcoal);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.02rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--charcoal);
  text-decoration: underline;
}

/* Thanks: light */
.thanks-hero {
  background: var(--white);
  color: var(--charcoal);
  padding: 3.25rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.thanks-hero h1 {
  margin: 0 0 0.85rem;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--charcoal);
}

.thanks-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.thanks-hero a {
  color: var(--charcoal);
  text-decoration: underline;
}

.thanks-hero a:hover {
  color: var(--red);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.next-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
  margin-top: 1.5rem;
}

.next-card h2 {
  margin: 0 0 0.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 1.15rem;
}

.next-card p {
  margin: 0;
  color: var(--muted);
}

/* Footer: light */
.site-footer {
  background: var(--cream);
  color: var(--charcoal);
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.site-footer p {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer strong {
  color: var(--charcoal);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 0.85rem 0 1rem;
  font-size: 0.95rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-cookie {
  font-size: 0.85rem !important;
  color: var(--muted) !important;
  margin-top: 0.85rem !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Privacy */
.privacy-updated {
  margin-top: 1.5rem !important;
  font-size: 0.9rem;
}

/* Responsive */
@media (min-width: 640px) {
  .brand-logo {
    height: 58px;
    max-width: 260px;
  }

  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .about-layout {
    grid-template-columns: 180px 1fr;
  }

  .about-photo {
    margin-inline: 0;
    width: 180px;
    height: 180px;
  }

  .about-photo-stack {
    align-items: flex-start;
  }

  .about-layout.about-wide {
    grid-template-columns: minmax(200px, 280px) 1fr;
  }

  .form-actions .btn {
    width: auto;
    min-width: 220px;
  }

  .nav-links {
    display: flex;
  }
}

@media (min-width: 900px) {
  .case-card {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

/* Lead form: status message, spam trap, no-JS note */
.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--red);
  border-left-width: 4px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
}

.form-status a {
  color: var(--red);
  font-weight: 600;
}

.form-status:focus {
  outline: none;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-noscript {
  margin-bottom: 1rem;
}

.lead-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* CTA pattern (matched from Lessons with Jessica): header CTA hidden until the hero CTA scrolls away */
.header-cta {
  min-height: 44px;
}

.header-cta[hidden] {
  display: none !important;
}

/* Plain text links for non-booking actions (case study, about, back to home) */
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

/* Hero beats: offer definition sits above the button, nothing long under it */
.hero .hero-note {
  margin: 0 0 1.35rem;
  max-width: 58ch;
  font-size: 0.98rem;
}

.hero-actions {
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.thanks-actions {
  align-items: center;
}

/* Tap targets: footer and breadcrumb links at least 44px tall */
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.breadcrumb {
  margin-top: -0.6rem;
  margin-bottom: 0.15rem;
}

.nowrap {
  white-space: nowrap;
}
