/* ============================================================
   Blueprint AI with Kirk — index.css
   Homepage-specific styles.
   Load after reset.css and nav.css.
   ============================================================ */

/* ── Homepage body: light bg, dark text ── */
body { background: var(--color-off-white); color: var(--color-void); }


/* ══════════════════════════════════════════════════════════════
   DARK NAV OVERRIDES (homepage only)
   The nav is dark on the homepage to blend with the dark hero.
   ══════════════════════════════════════════════════════════════ */
.site-nav {
  background: #010101;
  border-bottom: 1px solid rgba(91, 158, 201, 0.15);
}
.site-nav.scrolled {
  background: rgba(1, 1, 1, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.nav-links-centered a {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}

.nav-links-centered a:hover,
.nav-links-centered a[aria-current="page"] {
  color: #ffffff;
  font-weight: 500;
}

.nav-toggle span { background: rgba(255, 255, 255, 0.7); }

.nav-cta-pill { background: var(--color-ice); color: #010101; }
.nav-cta-pill:hover { background: var(--color-ice-light); color: #010101; }


/* ══════════════════════════════════════════════════════════════
   1. HERO SECTION
   Dark, full viewport, headshot with mask blending.
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #010101;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height);
}

.hero-photo-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-headshot {
  display: block;
  max-height: 74vh;
  width: auto;
  max-width: 560px;
  object-fit: contain;
  object-position: bottom center;
  margin-inline: auto;
  -webkit-mask-image:
    radial-gradient(ellipse 80% 100% at 40% 50%, black 40%, transparent 75%),
    linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    radial-gradient(ellipse 80% 100% at 40% 50%, black 40%, transparent 75%),
    linear-gradient(to bottom, black 70%, transparent 100%);
  mask-composite: intersect;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  padding: var(--space-8) var(--space-8) var(--space-12);
  background-color: #010101;
}

@media (min-width: 768px) {
  .hero-bottom { padding: var(--space-10) var(--space-12) var(--space-16); }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-right: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-2);
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  max-width: 16ch;
  margin: 0;
}

.hero-proof {
  display: block !important;
  position: relative !important;
  z-index: 5 !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  color: #EAF4FB !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0.5rem 0 0 0 !important;
  max-width: 42ch !important;
}


.hero-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  justify-content: flex-end;
  padding-left: var(--space-4);
}

@media (min-width: 768px) {
  .hero-right { padding-left: var(--space-8); }
}

.hero-description {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: rgba(255, 255, 255, 0.6);
  max-width: 42ch;
  margin: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: #010101;
  background: var(--color-ice);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  width: fit-content;
  text-decoration: none;
  transition:
    background var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.hero-cta:hover {
  background: var(--color-ice-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(91, 158, 201, 0.4);
  color: #010101;
}


/* ══════════════════════════════════════════════════════════════
   2. SOCIAL PROOF BAR
   ══════════════════════════════════════════════════════════════ */
.social-proof-bar {
  background: #010101;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-6) 0;
}

.proof-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-bottom: var(--space-5);
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.proof-logo {
  height: 32px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(100%);
}

.proof-logo:hover { opacity: 0.8; }

.proof-logo--center {
  height: 36px;
}


/* ══════════════════════════════════════════════════════════════
   3. WHAT I DO
   ══════════════════════════════════════════════════════════════ */
.what-i-do {
  background: #fff;
  padding: var(--space-20) 0;
   text-align: center;
}

.section-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-ice);
  margin-bottom: var(--space-3);
  text-align: center;
}

.section-rule-center {
  width: 40px;
  height: 2px;
  background: var(--color-ice);
  margin: 0 auto var(--space-6);
}

.section-subtext {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}

.what-i-do h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--color-void);
  text-align: center;
margin-bottom: 12px; /* tighten this */
}

.service-card {
  background: var(--color-off-white);
  border: 1px solid #E0EAF2;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--color-ice);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: var(--space-4);
  display: block;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-void);
  margin-bottom: var(--space-3);
}

.service-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: #4A5E6A;
  max-width: 600px;
  margin: 0 auto;
}



/* ══════════════════════════════════════════════════════════════
   4. HOW IT WORKS
   ══════════════════════════════════════════════════════════════ */
.how-it-works {
  background: var(--color-off-white);
  padding: var(--space-20) 0;
}

.how-it-works h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--color-void);
  text-align: center;
  margin-bottom: var(--space-12);
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: var(--space-6);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #010101;
  color: var(--color-ice);
  font-family: var(--font-serif);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
  border: 1.5px solid rgba(91, 158, 201, 0.3);
}

.step-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-void);
  margin-bottom: var(--space-2);
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: var(--weight-light);
  color: #4a5e6a;
  line-height: 1.7;
  margin: 0;
  max-width: 22ch;
}

/* Connector line between steps */
.step-connector { display: none; }

@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 52px;
    right: -20%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, rgba(91, 158, 201, 0.4), transparent);
  }
}


/* ══════════════════════════════════════════════════════════════
   5. ABOUT PREVIEW
   ══════════════════════════════════════════════════════════════ */
.about-preview {
  background: #fff;
  padding: var(--space-20) 0;
}

.about-preview-img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #010101;
  margin-inline: auto;
  display: block;
}

.about-preview-img img {
  width: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.about-preview-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  padding-left: var(--space-6);
}

@media (max-width: 991px) {
  .about-preview-text { padding-left: 0; padding-top: var(--space-8); }
}

.about-preview-bio {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--color-void);
  border-left: 2px solid var(--color-ice);
  padding-left: var(--space-5);
}

.about-preview-bio em { font-style: italic; color: var(--color-ice); }

.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ice);
  background: transparent;
  border: 1.5px solid var(--color-ice);
  padding: var(--space-3) var(--space-7);
  border-radius: var(--radius-full);
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-learn:hover {
  background: var(--color-ice);
  color: #010101;
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════════════════════════
   6. FINAL CTA
   ══════════════════════════════════════════════════════════════ */
.final-cta {
  background: #010101;
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(91, 158, 201, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #fff;
  margin-bottom: var(--space-4);
  position: relative;
}

.final-cta p {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-8);
  max-width: 44ch;
  margin-inline: auto;
  line-height: var(--leading-loose);
  position: relative;
}

.btn-cta-final {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: #010101;
  background: var(--color-ice);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-full);
  text-decoration: none;
  position: relative;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-cta-final:hover {
  background: var(--color-ice-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 158, 201, 0.4);
  color: #010101;
}


/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  padding-block: var(--space-10);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-off-white);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  color: var(--color-void);
  margin: 0;
}

.footer-brand span { color: var(--color-ice); }

.footer-copy {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: #888;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.footer-social-link {
  color: rgba(0, 0, 0, 0.35);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-social-link:hover { color: var(--color-ice); }

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
