/* ============================================================
   Mind Fox — Our Team Page CSS
   ============================================================ */

.mf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.mf-reveal.is-visible { opacity: 1; transform: translateY(0); }
.mf-reveal-delay-1 { transition-delay: 0.12s; }
.mf-reveal-delay-2 { transition-delay: 0.24s; }

.mf-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.mf-text--orange { color: var(--orange); }
.mf-section--alt { background: var(--bg-secondary); }

/* ── HERO ───────────────────────────────────────────────── */
.ot-hero {
  position: relative;
  padding: calc(var(--section-padding) + 80px) 0 var(--section-padding);
  overflow: hidden;
  background: var(--bg-primary);
}

.ot-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(255, 123, 28, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 123, 28, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Section background image — merged into bg like hardware section */
.ot-section--has-bg {
  position: relative;
  overflow: hidden;
}

.ot-section__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1);
}

.ot-section--has-bg > .container {
  position: relative;
  z-index: 1;
}

.ot-hero__content {
  position: relative;
  max-width: 700px;
}

.ot-hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.ot-hero__content p {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* ── FOUNDER ────────────────────────────────────────────── */
.ot-founder {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.ot-founder__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(255, 123, 28, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 100% 20%, rgba(255, 123, 28, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ot-founder__inner {
  position: relative;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}

/* Photo / Visual */
.ot-founder__visual {
  position: relative;
}

.ot-founder__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
}

.ot-founder__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ot-founder__frame-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,12,0.7) 0%, transparent 50%);
  pointer-events: none;
}

.ot-founder__frame-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
}

.ot-founder__frame-corner--tl {
  top: 16px; left: 16px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
  border-radius: 4px 0 0 0;
}

.ot-founder__frame-corner--br {
  bottom: 16px; right: 16px;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  border-radius: 0 0 4px 0;
}

/* Floating badge */
.ot-founder__badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--orange);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(255, 123, 28, 0.4);
}

.ot-founder__badge-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ot-founder__badge-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Content */
.ot-founder__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ot-founder__name {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.ot-founder__role {
  font-size: 1rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 28px;
}

.ot-founder__quote {
  position: relative;
  border-left: 3px solid var(--orange);
  padding: 16px 20px;
  margin: 0 0 28px;
  background: rgba(255, 123, 28, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 500;
}

.ot-founder__bio {
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.ot-founder__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ot-founder__pills span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
}

/* ── TEAM GRID ──────────────────────────────────────────── */
.ot-section {
  padding: var(--section-padding) 0;
}

.ot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── CARD ───────────────────────────────────────────────── */
.ot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.ot-card:hover {
  border-color: rgba(255, 123, 28, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Photo */
.ot-card__photo-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(160deg, #1A1A22 0%, #131318 100%);
}

.ot-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.ot-card:hover .ot-card__photo {
  transform: scale(1.04);
}

.ot-card__photo-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
  pointer-events: none;
}

/* Body */
.ot-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.ot-card__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.ot-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.ot-card__quote {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 10px 0 0;
  flex: 1;
  font-style: italic;
}

.ot-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  align-self: flex-start;
  transition: all var(--transition);
}

.ot-card__linkedin:hover {
  color: #0A66C2;
  border-color: #0A66C2;
  background: rgba(10, 102, 194, 0.08);
}

/* ── TEAM GALLERY ───────────────────────────────────────── */
.ot-gallery {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.ot-gallery__header {
  text-align: center;
  margin-bottom: 40px;
}

.ot-gallery__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ot-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ot-gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
}

.ot-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.ot-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.85);
}

.ot-gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

@media (max-width: 720px) {
  .ot-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── JOIN CTA ───────────────────────────────────────────── */
.ot-cta {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  overflow: hidden;
  text-align: center;
}

.ot-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255, 123, 28, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.ot-cta__inner {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.ot-cta__inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 14px;
}

.ot-cta__inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.mf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.mf-btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 123, 28, 0.35);
}
.mf-btn--primary:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 28px rgba(255, 123, 28, 0.5);
  transform: translateY(-1px);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .ot-founder__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .ot-founder__visual { max-width: 280px; margin: 0 auto; }
  .ot-founder__content { text-align: center; }
  .ot-founder__pills { justify-content: center; }
  .ot-founder__quote { text-align: left; }
  .ot-founder__bio { text-align: left; }
  .ot-card__linkedin { margin: 16px auto 0; }
  .ot-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ot-hero__content { text-align: center; max-width: 100%; }
  .ot-hero__content p { margin: 0 auto; }
}

@media (max-width: 768px) {
  .ot-founder__inner { gap: 28px; }
  .ot-founder__visual { max-width: 240px; }
  .ot-founder__name { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .ot-founder__quote { font-size: 0.92rem; padding: 14px 16px; }
  .ot-founder__bio { font-size: 0.88rem; }

  .ot-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ot-card__photo-wrap { height: 240px; }
  .ot-card__body { padding: 20px 24px 24px; }

  .ot-gallery__header { text-align: center; }
  .ot-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ot-gallery__item--wide { grid-column: span 2; }

  .ot-hero__content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .ot-hero { padding: calc(var(--section-padding) + 40px) 0 clamp(32px, 5vw, 56px); }
}

@media (max-width: 480px) {
  .ot-founder__badge {
    bottom: -10px;
    right: -6px;
    padding: 10px 12px;
  }
  .ot-founder__badge-num { font-size: 1.2rem; }
  .ot-founder__name { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .ot-founder__frame { aspect-ratio: 3 / 3.5; }
  .ot-founder__visual { max-width: 200px; }
  .ot-founder__pills span { font-size: 0.65rem; padding: 4px 10px; }
  .ot-founder__role { font-size: 0.85rem; }

  .ot-grid { grid-template-columns: 1fr; }
  .ot-card__photo-wrap { height: 220px; }
  .ot-card__body { padding: 18px 18px 22px; }

  .ot-hero__content h1 { font-size: clamp(1.3rem, 7vw, 1.8rem); }
  .ot-hero__content p { font-size: 0.88rem; }

  .ot-gallery__grid { grid-template-columns: 1fr 1fr; gap: 6px; }

  .ot-cta__inner h2 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .ot-cta__inner p { font-size: 0.88rem; }
}

@media (max-width: 375px) {
  .ot-founder__visual { max-width: 200px; }
  .ot-founder__badge { padding: 10px 12px; }
  .ot-founder__badge-num { font-size: 1.1rem; }
  .ot-founder__name { font-size: clamp(1.3rem, 7vw, 1.8rem); }
  .ot-hero__content h1 { font-size: clamp(1.2rem, 7vw, 1.6rem); }
  .ot-card__body { padding: 16px 14px 18px; }
  .ot-card__name { font-size: 1rem; }
  .ot-card__quote { font-size: 0.82rem; }
  .ot-gallery__grid { gap: 4px; }
}
