/*
Theme Name: Second Lane
Theme URI: https://secondlane.co
Author: Second Lane
Author URI: https://secondlane.co
Description: Custom theme for Second Lane — growth operations, strategy, and advisory.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: secondlane
*/

/* ========================================
   VARIABLES
   ======================================== */
:root {
  --navy: #0f1a2e;
  --navy-mid: #1a2a4a;
  --navy-light: #243656;
  --purple: #7b5ea7;
  --purple-light: #9b7ec8;
  --purple-soft: rgba(123, 94, 167, 0.06);
  --cream: #faf9f7;
  --warm-white: #f5f3f0;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-body: #3d3d56;
  --text-muted: #7a7a8e;
  --border: rgba(15, 26, 46, 0.08);
  --border-purple: rgba(123, 94, 167, 0.15);
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ========================================
   NAV
   ======================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo span {
  color: var(--purple);
  font-style: italic;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--navy-mid) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 60px 120px;
  position: relative;
  background: var(--white);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 44px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.15;
  max-width: 820px;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--purple);
}

.hero-sub {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 580px;
  font-weight: 300;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 17px 38px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-cta:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 26, 46, 0.15);
}

.hero-cta svg {
  transition: transform 0.3s;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* ========================================
   LOGOS SECTION
   ======================================== */
.logos-section {
  padding: 56px 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 400;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.logo-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.logo-item:hover {
  opacity: 0.9;
}

/* ========================================
   SECTION SHARED
   ======================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
  font-weight: 500;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-intro {
  font-size: 17px;
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 72px;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 140px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 36px;
  transition: all 0.4s ease;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 0 0 2px 2px;
}

.service-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15, 26, 46, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: var(--purple);
  margin-bottom: 28px;
  font-style: italic;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  font-weight: 300;
  margin-bottom: 28px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.service-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 1px;
  background: var(--purple);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 140px 60px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 26, 46, 0.1);
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.25;
}

.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body);
  font-weight: 300;
  margin-bottom: 22px;
}

/* ========================================
   SECTORS
   ======================================== */
.sectors {
  padding: 56px 60px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sectors-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sectors-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 400;
}

.sectors-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.sector-tag {
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--text-body);
  font-weight: 400;
  background: var(--white);
  transition: all 0.3s;
}

.sector-tag:hover {
  color: var(--purple);
}

/* ========================================
   CASE STUDIES
   ======================================== */
.cases {
  padding: 140px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 72px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 44px;
  transition: all 0.4s ease;
}

.case-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(15, 26, 46, 0.05);
}

.case-type {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
  font-weight: 500;
}

.case-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.35;
}

.case-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  font-weight: 300;
  margin-bottom: 20px;
}

.case-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.case-stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--purple);
  font-weight: 500;
}

.case-stat span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  padding: 140px 60px;
  background: var(--navy);
  color: var(--white);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials .section-label {
  color: var(--purple-light);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 72px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 44px;
  position: relative;
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(123, 94, 167, 0.2);
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  color: var(--purple);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 36px;
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.testimonial-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 160px 60px;
  background: var(--cream);
  text-align: center;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 580px;
  margin: 0 auto;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 48px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 17px 38px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 26, 46, 0.12);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--navy);
  padding: 17px 38px;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 26, 46, 0.06);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 44px 60px;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.site-footer .logo {
  font-size: 20px;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

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

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .site-nav {
    padding: 20px 24px;
  }

  .site-nav.scrolled {
    padding: 14px 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .services {
    padding: 100px 24px;
  }

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

  .about {
    padding: 100px 24px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image img {
    max-width: 260px;
  }

  .cases {
    padding: 100px 24px;
  }

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

  .testimonials {
    padding: 100px 24px;
  }

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

  .contact {
    padding: 100px 24px;
  }

  .logos-section {
    padding: 40px 24px;
  }

  .logos-row {
    gap: 28px;
  }

  .sectors {
    padding: 40px 24px;
  }

  .sectors-row {
    gap: 10px;
  }

  .site-footer {
    padding: 32px 24px;
    flex-direction: column;
    gap: 12px;
  }
}
