/* ========================================
   About / Land & Sea Page
   ======================================== */

/* Offset anchor scroll for fixed header */
#leadership,
#values,
#careers,
#timeline {
  scroll-margin-top: 100px;
}

/* ========================================
   Careers CTA
   ======================================== */
.careers-cta {
  background: linear-gradient(135deg, #0a1628 0%, #0f1f38 50%, #0a1628 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal accent line */
.careers-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--color-accent) 50%, transparent 90%);
  opacity: 0.6;
}

.careers-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3xl);
  align-items: center;
}

.careers-cta__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(232, 114, 42, 0.25);
  padding: 0.35rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}

.careers-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.careers-cta__heading em {
  font-style: italic;
  color: var(--color-accent);
}

.careers-cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 1rem;
}

.careers-cta__tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
}

.careers-cta__tagline strong {
  color: var(--color-accent);
  font-weight: 700;
}

.careers-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius-full, 100px);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.careers-cta__btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 114, 42, 0.3);
}

.careers-cta__btn svg {
  transition: transform 0.25s ease;
}

.careers-cta__btn:hover svg {
  transform: translate(2px, -2px);
}

/* Values pills on the right */
.careers-cta__visual {
  display: flex;
  align-items: center;
}

.careers-cta__values {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.careers-cta__values span {
  display: block;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.careers-cta__values span:hover {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(232, 114, 42, 0.2);
}

@media (max-width: 768px) {
  .careers-cta__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .careers-cta__visual {
    display: none;
  }
}

/* === Company Overview Stats === */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-stats-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-stats-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-stats-numbers {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-stats-image img {
    height: 280px;
  }
}

/* === Team Grid === */
.team-section {
  background: var(--color-surface-dark);
  color: var(--color-text-on-dark);
}

.team-header {
  margin-bottom: var(--space-3xl);
}

.team-header h2 {
  color: var(--color-text-on-dark);
}

.team-header p {
  color: var(--color-text-on-dark-muted);
  font-size: var(--font-size-lg);
  margin-top: var(--space-sm);
}

/* === Team Carousel === */
.team-carousel {
  display: flex;
  align-items: stretch;
  gap: var(--space-lg);
}

.team-carousel__track {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0;
  flex: 1;
  min-width: 0;
}

.team-carousel__track::-webkit-scrollbar {
  display: none;
}

.team-carousel__arrow {
  flex-shrink: 0;
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.team-carousel__arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.team-carousel__arrow:active {
  transform: scale(0.92);
}

.team-carousel__arrow svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.team-card {
  text-align: left;
  flex-shrink: 0;
  width: 280px;
}

.team-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  background: var(--color-surface-dark);
}

.team-card-name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-xs);
}

.team-card-title {
  font-size: var(--font-size-sm);
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--space-sm);
}

.team-card-linkedin {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-on-dark-muted);
  transition: color var(--transition-fast);
}

.team-card-linkedin:hover {
  color: var(--color-accent);
}

.team-card-linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* === Placeholder silhouette for crew without photos === */
.team-card-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: #1a2744;
}

.team-card-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* === Expand / Collapse === */
.team-grid-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.team-grid-hidden.expanded {
  max-height: 2000px;
  opacity: 1;
  margin-top: var(--gutter);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.team-expand-wrap.hidden {
  display: none;
}

/* === Bio text === */
.team-card-bio {
  font-size: var(--font-size-xs);
  color: var(--color-text-on-dark-muted);
  line-height: 1.5;
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .team-card {
    width: 240px;
  }
  .team-carousel__arrow {
    width: 36px;
    height: 36px;
  }
  .team-carousel__arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* === Values Section === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.value-card {
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

/* Orange top-bar sweep — matches "What sets us apart" cards */
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.value-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
}

.value-card-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: var(--font-size-sm);
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
