/* Base layout and background */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Full-screen fixed overlay that IS the background image */
.overlay {
  position: fixed;
  inset: 0;
  background-image: url("https://raw.githubusercontent.com/kyleboas/mike-boas/refs/heads/main/_assets/Bridge_Small.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right bottom;
  background-color: #0f172a;
  pointer-events: none;
  z-index: -1;
  transform-origin: right bottom;
  will-change: transform;
}

/* Page container and floating scroll content */
.page-container {
  position: relative;
  width: 100%;
}

.floating-content {
  position: fixed;
  display: flex;
  inset: 0;
  z-index: 20;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
  padding-top: 0px;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

/* Hero section */
.hero-section {
  position: absolute;
  left: 50%;
  width: 100%;
  max-width: 46rem;
  transition: all 0.7s ease;
  padding-left: 20px;
}

.hero-card {
  position: relative;
  padding: 2.5rem 1rem;
  max-width: 220px;
  bottom: 110px;
}

.hero-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.hero-text-block {
  text-align: center;
}

.hero-title {
  font-family: "Playfair Display", serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 2.24rem;
  margin: 0 0 0.5rem;
}

.hero-subtitle {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.34rem;
  letter-spacing: 0.06rem;
  color: #dbeafe;
  margin: 0 0 0.5rem;
}

.hero-blurb {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: rgba(241, 245, 249, 0.9);
  max-width: 12rem;
  margin: 0 auto;
}

.hero-blurb-break {
  display: none;
}

/* Email capture */
.email-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.email-card {
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.85);
  width: 100%;
}

.email-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-input {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  background: #e5e7eb;
  color: #111827;
}

.email-input::placeholder {
  color: #6b7280;
}

.email-input:focus {
  outline: 2px solid #60a5fa;
}

/* Buttons */
.primary-button {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 500;
  background: #1e62ff;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.primary-button:hover {
  background: #2b6fff;
}

/* Logos section */
.logos-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 64rem;
  padding: 0 1rem;
  transition: all 0.7s ease;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0.9;
}

.logo-card {
  padding: 1rem;
  border-radius: 0.75rem;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, transform 0.3s ease;
}

.logo-card:hover {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.logo-image {
  height: 2rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.invert-logo {
  filter: invert(1) grayscale(1) brightness(2);
}

.logo-card:hover .logo-image {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-4px);
}

/* Offerings section */
.offerings-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 64rem;
  padding: 0 1rem;
  transition: all 0.7s ease;
}

.offerings-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 2rem;
  color: #a5f3fc;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.6);
}

.offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.offering-card {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.offering-heading {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #e0f2fe;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.offering-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(241, 245, 249, 0.9);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .offerings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Strategy section */
.strategy-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 48rem;
  padding: 0 1rem;
  text-align: left;
  transition: all 0.7s ease;
}

.strategy-sequence {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.strategy-block {
  transition: opacity 1s ease-out;
}

.strategy-heading {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #e5e7eb;
  line-height: 1.3;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.strategy-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #a5f3fc;
  /* cyan-200 */
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.6);
}

.strategy-subheading {
  font-weight: 500;
  line-height: 1.5;
  color: rgba(241, 245, 249, 0.9);
  margin: 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.strategy-text {
  font-weight: 100;
  line-height: 1.5;
  color: rgba(241, 245, 249, 0.9);
  margin: 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.strategy-text-italic {
  font-style: italic;
}

.strategy-text-bold {
  font-weight: 100;
}

/* Timeline */
.timeline-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 64rem;
  transition: all 0.7s ease;
  height: 100%;
  top: 40px;
}

.timeline-card {
  text-align: left;
  border-radius: 1.5rem;
  padding: 2rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* bottom fade */
.timeline-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.95));
}

.timeline-heading {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
}

.timeline-subheading {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5b4fc;
  margin: 0 0 0.5rem;
}

.timeline-list {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: visible;
  padding-right: 0.75rem;
  will-change: transform;
  top: 100px;
}

/* thin rail */
.timeline-list::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.6), rgba(148, 163, 184, 0.1));
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.timeline-logo-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.timeline-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.timeline-logo-edu {
  border-radius: 999px;
}

.timeline-content {
  flex: 1;
}

.timeline-period {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #cbd5f5;
  margin: 0 0 0.25rem;
}

.timeline-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.timeline-org {
  font-size: 0.95rem;
  opacity: 0.9;
}

.timeline-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #c7d2fe;
}

.timeline-summary {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0.4rem 0 0.4rem;
}

.timeline-bullets {
  margin: 0.15rem 0 0.3rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.timeline-bullets li + li {
  margin-top: 0.15rem;
}

/* optional featured project card */
.timeline-project {
  margin-top: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(248, 250, 252, 0.08);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%);
}

.timeline-project-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #e0f2fe;
}

.timeline-project-desc {
  font-size: 0.86rem;
  opacity: 0.9;
  margin: 0;
}

.timeline-project-media {
  margin-top: 0.6rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.timeline-project-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* mobile tweak */
@media (max-width: 560px) {
  .timeline-card {
    height: 100%;
    padding: 1.75rem 1.25rem 2rem;
  }

  .timeline-logo-wrap {
    width: 2.6rem;
    height: 2.6rem;
  }

  .timeline-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Testimonial */
.testimonial-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 56rem;
  transition: all 0.7s ease;
  text-align: center;
}

.testimonial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Viewport holds one slide width; track slides left/right */
.testimonial-viewport {
  flex: 1;
  max-width: 48rem;
  width: 100%;
  align-items: center;
}

/* track holds all slides in a row */
.testimonial-track {
  display: flex;
  align-items: stretch;
}

/* each slide centers its card */
.testimonial-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 48rem;
  text-align: left;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

/* New */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(248, 250, 252, 0.9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.testimonial-title {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.85;
}

.testimonial-company {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 600;
  opacity: 0.95;
}

/* Arrows */
.testimonial-nav {
  pointer-events: auto;
  background: transparent;
  border-color: transparent;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
  margin-left: 10px;
  margin-right: 10px;
}

.testimonial-nav:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.testimonial-nav-left {
  margin-right: 0.25rem;
}

.testimonial-nav-right {
  margin-left: 0.25rem;
}

/* Dots under carousel */
.testimonial-dots {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0.8;
}

.testimonial-dot {
  pointer-events: auto;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.testimonial-dot-active {
  background: #e5e7eb;
  opacity: 1;
  transform: scale(1.2);
}

/* CTA */
.cta-section {
  background-color: transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 40rem;
  padding: 0 1rem;
  transition: all 0.7s ease;
}

.cta-card {
  padding: 2.5rem 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.cta-card:hover {
  transform: scale(1.05);
}

.cta-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.cta-text {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 2rem;
}

.cta-button {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #1d4ed8;
}

.cta-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-icons {
  display: none;
  gap: 1.5rem;
}

.cta-icon-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-icon-link:hover {
  color: #2563eb;
}

.cta-credit {
  font-size: 0.6rem;
  color: #94a3b8;
  margin: 0;
}

.cta-credit a {
  color: inherit;
}

/* Posts */
article.post,
article.page {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.post {
  margin: 20px;
  margin-top: 0;
  padding-bottom: 200px;
}

.post-title {
  font-family: "Playfair Display", serif;
  margin-bottom: 0px;
}

.post-date {
  font-size: 0.9rem;
  font-weight: 100;
  margin-top: 5px;
}

.entry {
  line-height: 1.5rem;
  margin-bottom: 100px;
}

.post img {
  max-width: 100%;
}

.post-navigation {
  padding-top: 15px;
  padding-bottom: 25px;
  font-size: 13px;
  font-style: italic;
}
.post-navigation a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: #eaeaea;
}
.post-navigation .read-more {
  font-style: italic;
  font-size: 15px;
  margin: 10px;
}

/* Responsive tweaks */
@media (max-width: 560px) {
  .hero-header-row {
    gap: 1.5rem;
  }

  .hero-blurb {
    letter-spacing: 0.03em;
    line-height: 1.4;
  }

  .hero-blurb-break {
    display: none;
  }

  .email-inner {
    flex-direction: column;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-section {
    width: 100%;
    max-width: 100%;
  }

  .testimonial-viewport {
    max-width: 100%;
  }

  .testimonial-card {
    max-height: none;
    overflow: visible;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .testimonial-avatar {
    width: 2.75rem;
    height: 2.75rem;
  }
}
@media (min-width: 560px) {
  .overlay {
    background-image: url("https://raw.githubusercontent.com/kyleboas/mike-boas/refs/heads/main/_assets/Bridge_Large.jpeg");
  }

  .hero-header-row {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .hero-card {
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    max-width: 800px;
  }

  .hero-blurb-break {
    display: inline;
  }

  .email-inner {
    flex-direction: row;
    align-items: center;
  }

  .email-card {
    width: auto;
  }

  .email-input {
    width: 16rem;
  }

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