/* ============================================================
   LEASETIME — GLOBAL MASTER STYLESHEET

   PURPOSE: CSS variables + shared utilities only.
   Header/footer styles live in → header-footer.css
   Page-specific styles live in → home.css, about.css, etc.

   TO RETHEME THE WHOLE SITE: edit the :root variables below.
   ============================================================ */

/* ============================================================
   1. FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500&display=swap');


/* ============================================================
   2. CSS VARIABLES  ← CHANGE COLORS HERE FOR THE WHOLE SITE
   ============================================================ */
:root {
    /* — Brand colour — */
    --brand:          #F9B701;   /* primary red  – buttons, accents, tags  */
    --brand-dark:     #F9B701;   /* hover/darker shade of brand            */
    --brand-pale:     #ffca001a; /* tinted backgrounds       */

    /* — Neutrals — */
    --black:          #0a0a0a;
    --white:          #ffffff;
    --offwhite:       #f7f6f3;
    --grey-bg:        #f4f4f2;
    --grey-text:      #6b6b6b;

    /* — Borders — */
    --border:         #F9B701;
    --border-subtle:  rgba(175, 37, 27, 0.15);

    /* — Dark surfaces (services section etc.) — */
    --dark-bg:        #111111;
    --dark-line:      rgba(255, 255, 255, 0.08);

    /* — Typography — */
    /*--font-head:      'Syne', sans-serif;*/
    --font-body:      'Inter', sans-serif;

    /* — Motion — */
    --transition:     all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   3. BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }


/* ============================================================
   4. SHARED KEYFRAMES
   ============================================================ */
@keyframes ltPulse        { 0%,100%{opacity:1;transform:scale(1)}  50%{opacity:.5;transform:scale(.8)} }
@keyframes ltFadeUp       { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes ltLineGrow     { from{transform:scaleX(0)} to{transform:scaleX(1)} }
@keyframes ltShimmer      { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
@keyframes ltClientScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }


/* ============================================================
   5. SCROLL REVEAL UTILITY
   ============================================================ */
.lt-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.22,1,.36,1),
                transform .65s cubic-bezier(.22,1,.36,1);
}
.lt-reveal.lt-visible { opacity: 1; transform: none; }


/* ============================================================
   6. SHARED SECTION HELPERS
   ============================================================ */

.lt-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}
.lt-section-tag::before        { content:''; display:block; width:22px; height:1px; background:var(--brand); }
.lt-section-tag.center         { justify-content: center; }
.lt-section-tag.center::before { display: none; }
.lt-section-tag.center::after  { content:''; display:block; width:22px; height:1px; background:var(--brand); }

.lt-section-h2 {
    font-family: var(--font-head);
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0 0 14px;
}
.lt-section-h2 em    { font-style: normal; color: var(--brand); }
.lt-section-h2.light { color: var(--white); }

.lt-section-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.85;
    max-width: 580px;
}
.lt-section-desc.light { color: rgba(255,255,255,.42); }

/* cp-* aliases used by clients ticker */
.cp-tag {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 10px;
}
.cp-sec-header h2     { font-size: 32px; font-weight: 700; color: var(--black); }
.cp-sec-header h2 em  { color: var(--brand); font-style: normal; }
.cp-sec-header.center { text-align: center; }
/* ============================================================
   GLOBAL REMOVE TEXT STROKE
   ============================================================ */

h1 em,
h1 span,
h2 em,
h2 span,
h6 em,
h6 span {
    -webkit-text-stroke: 0 !important;
}

/* ============================================================
   7. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .lt-reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   TEAM — white bg
   ============================================================ */
.cp-team { padding: 96px 0; background: var(--white); }

.cp-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e2e2e2;
}

.cp-team-card {
    border-right: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}

.cp-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    z-index: 2;
}

.cp-team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand);
    transition: width .35s ease;
}

.cp-team-card:hover::after { width: 100%; }

.cp-team-card:nth-child(3n) { border-right: none; }

.cp-team-card-top {
    background: var(--black);
    padding: 32px 28px 24px;
    position: relative;
    overflow: hidden;
}

.cp-team-card-top::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(175,37,27,.07);
    border-radius: 50%;
}

.cp-team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 14px;
    border: 2px solid var(--white);
}

.cp-team-name {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.cp-team-role {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand);
}

.cp-team-card-body { padding: 24px 28px; }

.cp-team-bio {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.75;
    margin-bottom: 16px;
}

.cp-team-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cp-team-tag {
    background: var(--offwhite);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    border: 1px solid #e2e2e2;
}

/* CEO */
.cp-team-card.cp-ceo {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
}

.cp-team-card.cp-ceo .cp-team-card-top {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 280px;
}

.cp-team-card.cp-ceo .cp-team-avatar {
    width: 80px;
    height: 80px;
    font-size: 26px;
}

.cp-team-card.cp-ceo .cp-team-card-body {
    padding: 40px;
}

.cp-team-card.cp-ceo .cp-team-bio {
    font-size: 15px;
    line-height: 1.9;
}

.cp-ceo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 4px 12px;
}

/* ============================================================
   MOBILE — Our Professional Team
   ============================================================ */
@media (max-width: 767px) {

  /* Stack the team grid to single column */
  .cp-team-grid {
    grid-template-columns: 1fr;
    border: none;
  }

  /* CEO card — remove side-by-side layout */
  .cp-team-card.cp-ceo {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  /* CEO left panel — auto height, not fixed min-width */
  .cp-team-card.cp-ceo .cp-team-card-top {
    min-width: auto;
    padding: 32px 24px;
  }

  .cp-team-card.cp-ceo .cp-team-card-body {
    padding: 24px;
  }

  /* Every card — remove right border, add bottom border */
  .cp-team-card {
    border-right: none !important;
    border-bottom: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
  }

  .cp-team-card:last-child {
    border-bottom: 1px solid #e2e2e2;
  }

  /* Remove 3n border-right override (not needed in 1-col) */
  .cp-team-card:nth-child(3n) {
    border-right: none;
  }

}